1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by Autoconf 2.50 for OOPSE 2.0. |
3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8 |
< |
# Free Software Foundation, Inc. |
7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
8 |
|
# This configure script is free software; the Free Software Foundation |
9 |
|
# gives unlimited permission to copy, distribute and modify it. |
10 |
+ |
## --------------------- ## |
11 |
+ |
## M4sh Initialization. ## |
12 |
+ |
## --------------------- ## |
13 |
|
|
14 |
|
# Be Bourne compatible |
15 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16 |
|
emulate sh |
17 |
|
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+"$@"}'='"$@"' |
21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22 |
|
set -o posix |
23 |
|
fi |
24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
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 |
+ |
|
67 |
|
# Name of the executable. |
68 |
< |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
68 |
> |
as_me=`$as_basename "$0" || |
69 |
> |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 |
> |
X"$0" : 'X\(//\)$' \| \ |
71 |
> |
X"$0" : 'X\(/\)$' \| \ |
72 |
> |
. : '\(.\)' 2>/dev/null || |
73 |
> |
echo X/"$0" | |
74 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
75 |
> |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
76 |
> |
/^X\/\(\/\).*/{ s//\1/; q; } |
77 |
> |
s/.*/./; q'` |
78 |
|
|
79 |
+ |
|
80 |
+ |
# PATH needs CR, and LINENO needs CR and PATH. |
81 |
+ |
# Avoid depending upon Character Ranges. |
82 |
+ |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 |
+ |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 |
+ |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 |
+ |
as_cr_digits='0123456789' |
86 |
+ |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
87 |
+ |
|
88 |
+ |
# The user is always right. |
89 |
+ |
if test "${PATH_SEPARATOR+set}" != set; then |
90 |
+ |
echo "#! /bin/sh" >conf$$.sh |
91 |
+ |
echo "exit 0" >>conf$$.sh |
92 |
+ |
chmod +x conf$$.sh |
93 |
+ |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
94 |
+ |
PATH_SEPARATOR=';' |
95 |
+ |
else |
96 |
+ |
PATH_SEPARATOR=: |
97 |
+ |
fi |
98 |
+ |
rm -f conf$$.sh |
99 |
+ |
fi |
100 |
+ |
|
101 |
+ |
|
102 |
+ |
as_lineno_1=$LINENO |
103 |
+ |
as_lineno_2=$LINENO |
104 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
105 |
+ |
test "x$as_lineno_1" != "x$as_lineno_2" && |
106 |
+ |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
107 |
+ |
# Find who we are. Look in the path if we contain no path at all |
108 |
+ |
# relative or not. |
109 |
+ |
case $0 in |
110 |
+ |
*[\\/]* ) as_myself=$0 ;; |
111 |
+ |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 |
+ |
for as_dir in $PATH |
113 |
+ |
do |
114 |
+ |
IFS=$as_save_IFS |
115 |
+ |
test -z "$as_dir" && as_dir=. |
116 |
+ |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 |
+ |
done |
118 |
+ |
|
119 |
+ |
;; |
120 |
+ |
esac |
121 |
+ |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
122 |
+ |
# in which case we are not to be found in the path. |
123 |
+ |
if test "x$as_myself" = x; then |
124 |
+ |
as_myself=$0 |
125 |
+ |
fi |
126 |
+ |
if test ! -f "$as_myself"; then |
127 |
+ |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
128 |
+ |
{ (exit 1); exit 1; }; } |
129 |
+ |
fi |
130 |
+ |
case $CONFIG_SHELL in |
131 |
+ |
'') |
132 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 |
+ |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 |
+ |
do |
135 |
+ |
IFS=$as_save_IFS |
136 |
+ |
test -z "$as_dir" && as_dir=. |
137 |
+ |
for as_base in sh bash ksh sh5; do |
138 |
+ |
case $as_dir in |
139 |
+ |
/*) |
140 |
+ |
if ("$as_dir/$as_base" -c ' |
141 |
+ |
as_lineno_1=$LINENO |
142 |
+ |
as_lineno_2=$LINENO |
143 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
144 |
+ |
test "x$as_lineno_1" != "x$as_lineno_2" && |
145 |
+ |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
146 |
+ |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
147 |
+ |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
148 |
+ |
CONFIG_SHELL=$as_dir/$as_base |
149 |
+ |
export CONFIG_SHELL |
150 |
+ |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
151 |
+ |
fi;; |
152 |
+ |
esac |
153 |
+ |
done |
154 |
+ |
done |
155 |
+ |
;; |
156 |
+ |
esac |
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 |
+ |
|
196 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
197 |
|
as_expr=expr |
198 |
|
else |
217 |
|
fi |
218 |
|
rm -f conf$$ conf$$.exe conf$$.file |
219 |
|
|
220 |
< |
as_executable_p="test -f" |
221 |
< |
|
49 |
< |
# Support unset when possible. |
50 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
51 |
< |
as_unset=unset |
220 |
> |
if mkdir -p . 2>/dev/null; then |
221 |
> |
as_mkdir_p=: |
222 |
|
else |
223 |
< |
as_unset=false |
223 |
> |
test -d ./-p && rmdir ./-p |
224 |
> |
as_mkdir_p=false |
225 |
|
fi |
226 |
|
|
227 |
< |
# 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; } |
227 |
> |
as_executable_p="test -f" |
228 |
|
|
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 |
+ |
|
236 |
|
# IFS |
237 |
|
# We need space, tab and new line, in precisely that order. |
238 |
|
as_nl=' |
240 |
|
IFS=" $as_nl" |
241 |
|
|
242 |
|
# CDPATH. |
243 |
< |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
243 |
> |
$as_unset CDPATH |
244 |
|
|
245 |
+ |
|
246 |
|
# Name of the host. |
247 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
248 |
|
# so uname gets run too. |
254 |
|
# Initializations. |
255 |
|
# |
256 |
|
ac_default_prefix=/usr/local |
257 |
+ |
ac_config_libobj_dir=. |
258 |
|
cross_compiling=no |
259 |
|
subdirs= |
260 |
< |
MFLAGS= MAKEFLAGS= |
260 |
> |
MFLAGS= |
261 |
> |
MAKEFLAGS= |
262 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
263 |
|
|
264 |
|
# Maximum number of lines to put in a shell here document. |
266 |
|
# only ac_max_sed_lines should be used. |
267 |
|
: ${ac_max_here_lines=38} |
268 |
|
|
269 |
< |
# Avoid depending upon Character Ranges. |
270 |
< |
ac_cr_az='abcdefghijklmnopqrstuvwxyz' |
271 |
< |
ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
272 |
< |
ac_cr_09='0123456789' |
273 |
< |
ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 |
269 |
> |
# Identity of this package. |
270 |
> |
PACKAGE_NAME='OOPSE' |
271 |
> |
PACKAGE_TARNAME='oopse' |
272 |
> |
PACKAGE_VERSION='2.0' |
273 |
> |
PACKAGE_STRING='OOPSE 2.0' |
274 |
> |
PACKAGE_BUGREPORT='gezelter@nd.edu' |
275 |
|
|
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 |
– |
|
276 |
|
ac_unique_file="src/applications/oopse/oopse.cpp" |
277 |
|
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" |
314 |
|
|
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 F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
316 |
+ |
ac_subst_files='' |
317 |
+ |
|
318 |
|
# Initialize some variables set by options. |
319 |
|
ac_init_help= |
320 |
|
ac_init_version=false |
353 |
|
infodir='${prefix}/info' |
354 |
|
mandir='${prefix}/man' |
355 |
|
|
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 |
– |
|
356 |
|
ac_prev= |
357 |
|
for ac_option |
358 |
|
do |
398 |
|
-disable-* | --disable-*) |
399 |
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
400 |
|
# Reject names that are not valid shell variable names. |
401 |
< |
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
401 |
> |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
402 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
403 |
|
{ (exit 1); exit 1; }; } |
404 |
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
407 |
|
-enable-* | --enable-*) |
408 |
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
409 |
|
# Reject names that are not valid shell variable names. |
410 |
< |
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
410 |
> |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
411 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
412 |
|
{ (exit 1); exit 1; }; } |
413 |
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
485 |
|
with_fp=no ;; |
486 |
|
|
487 |
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
488 |
< |
| --no-cr | --no-c) |
488 |
> |
| --no-cr | --no-c | -n) |
489 |
|
no_create=yes ;; |
490 |
|
|
491 |
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
589 |
|
-with-* | --with-*) |
590 |
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
591 |
|
# Reject names that are not valid shell variable names. |
592 |
< |
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
592 |
> |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
593 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
594 |
|
{ (exit 1); exit 1; }; } |
595 |
|
ac_package=`echo $ac_package| sed 's/-/_/g'` |
602 |
|
-without-* | --without-*) |
603 |
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
604 |
|
# Reject names that are not valid shell variable names. |
605 |
< |
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
605 |
> |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
606 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
607 |
|
{ (exit 1); exit 1; }; } |
608 |
|
ac_package=`echo $ac_package | sed 's/-/_/g'` |
634 |
|
*=*) |
635 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
636 |
|
# Reject names that are not valid shell variable names. |
637 |
< |
expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && |
637 |
> |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
638 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
639 |
|
{ (exit 1); exit 1; }; } |
640 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
644 |
|
*) |
645 |
|
# FIXME: should be removed in autoconf 3.0. |
646 |
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
647 |
< |
expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && |
647 |
> |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
648 |
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
649 |
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
650 |
|
;; |
659 |
|
fi |
660 |
|
|
661 |
|
# 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. |
673 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
674 |
< |
localstatedir libdir includedir oldincludedir infodir mandir \ |
462 |
< |
exec_prefix prefix |
674 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
675 |
|
do |
676 |
|
eval ac_val=$`echo $ac_var` |
677 |
|
case $ac_val in |
678 |
|
[\\/$]* | ?:[\\/]* ) ;; |
679 |
< |
NONE ) ;; |
468 |
< |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
679 |
> |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
680 |
|
{ (exit 1); exit 1; }; };; |
681 |
|
esac |
682 |
|
done |
683 |
|
|
684 |
|
# There might be people who depend on the old broken behavior: `$host' |
685 |
|
# used to hold the argument of --host etc. |
686 |
+ |
# FIXME: To remove some day. |
687 |
|
build=$build_alias |
688 |
|
host=$host_alias |
689 |
|
target=$target_alias |
690 |
|
|
691 |
< |
# FIXME: should be removed in autoconf 3.0. |
691 |
> |
# FIXME: To remove some day. |
692 |
|
if test "x$host_alias" != x; then |
693 |
|
if test "x$build_alias" = x; then |
694 |
|
cross_compiling=maybe |
704 |
|
|
705 |
|
test "$silent" = yes && exec 6>/dev/null |
706 |
|
|
707 |
+ |
|
708 |
|
# Find the source files, if location was not specified. |
709 |
|
if test -z "$srcdir"; then |
710 |
|
ac_srcdir_defaulted=yes |
711 |
|
# Try the directory containing this script, then its parent. |
712 |
< |
ac_prog=$0 |
713 |
< |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
714 |
< |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
712 |
> |
ac_confdir=`(dirname "$0") 2>/dev/null || |
713 |
> |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
714 |
> |
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'` |
724 |
|
srcdir=$ac_confdir |
725 |
|
if test ! -r $srcdir/$ac_unique_file; then |
726 |
|
srcdir=.. |
730 |
|
fi |
731 |
|
if test ! -r $srcdir/$ac_unique_file; then |
732 |
|
if test "$ac_srcdir_defaulted" = yes; then |
733 |
< |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
733 |
> |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
734 |
|
{ (exit 1); exit 1; }; } |
735 |
|
else |
736 |
< |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2 |
736 |
> |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
737 |
|
{ (exit 1); exit 1; }; } |
738 |
|
fi |
739 |
|
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; }; } |
743 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
744 |
|
ac_env_build_alias_set=${build_alias+set} |
745 |
|
ac_env_build_alias_value=$build_alias |
789 |
|
ac_env_CPP_value=$CPP |
790 |
|
ac_cv_env_CPP_set=${CPP+set} |
791 |
|
ac_cv_env_CPP_value=$CPP |
792 |
+ |
ac_env_CXXCPP_set=${CXXCPP+set} |
793 |
+ |
ac_env_CXXCPP_value=$CXXCPP |
794 |
+ |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
795 |
+ |
ac_cv_env_CXXCPP_value=$CXXCPP |
796 |
|
|
797 |
|
# |
798 |
|
# Report the --help message. |
800 |
|
if test "$ac_init_help" = "long"; then |
801 |
|
# Omit some internal or obsolete options to make the list less imposing. |
802 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
803 |
< |
cat <<EOF |
803 |
> |
cat <<_ACEOF |
804 |
|
\`configure' configures OOPSE 2.0 to adapt to many kinds of systems. |
805 |
|
|
806 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
821 |
|
-n, --no-create do not create output files |
822 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
823 |
|
|
824 |
< |
EOF |
824 |
> |
_ACEOF |
825 |
|
|
826 |
< |
cat <<EOF |
826 |
> |
cat <<_ACEOF |
827 |
|
Installation directories: |
828 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
829 |
< |
[$ac_default_prefix] |
829 |
> |
[$ac_default_prefix] |
830 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
831 |
< |
[PREFIX] |
831 |
> |
[PREFIX] |
832 |
|
|
833 |
|
By default, \`make install' will install all the files in |
834 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
850 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
851 |
|
--infodir=DIR info documentation [PREFIX/info] |
852 |
|
--mandir=DIR man documentation [PREFIX/man] |
853 |
< |
EOF |
853 |
> |
_ACEOF |
854 |
|
|
855 |
< |
cat <<\EOF |
855 |
> |
cat <<\_ACEOF |
856 |
|
|
857 |
|
System types: |
858 |
|
--build=BUILD configure for building on BUILD [guessed] |
859 |
< |
--host=HOST build programs to run on HOST [BUILD] |
860 |
< |
EOF |
859 |
> |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
860 |
> |
_ACEOF |
861 |
|
fi |
862 |
|
|
863 |
|
if test -n "$ac_init_help"; then |
864 |
|
case $ac_init_help in |
865 |
|
short | recursive ) echo "Configuration of OOPSE 2.0:";; |
866 |
|
esac |
867 |
< |
cat <<\EOF |
867 |
> |
cat <<\_ACEOF |
868 |
|
|
869 |
|
Optional Features: |
870 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
879 |
|
Optional Packages: |
880 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
881 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
882 |
+ |
--with-perl-shebang override what perl thinks is the way for the kernel |
883 |
+ |
to start it (seldom needed) |
884 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
885 |
< |
--with-sprng=<prefix> compile with SPRNG installed in <prefix> |
655 |
< |
[default=/usr/local] |
656 |
< |
--with-mkl Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61 |
885 |
> |
--with-cgal-makefile=FILE CGAL makefile that should be used |
886 |
|
|
887 |
|
Some influential environment variables: |
888 |
|
CC C compiler command |
896 |
|
F90 Fortran 90 compiler command |
897 |
|
F90FLAGS Fortran 90 compiler flags |
898 |
|
CPP C preprocessor |
899 |
+ |
CXXCPP C++ preprocessor |
900 |
|
|
901 |
|
Use these variables to override the choices made by `configure' or to help |
902 |
|
it to find libraries and programs with nonstandard names/locations. |
903 |
|
|
904 |
|
Report bugs to <gezelter@nd.edu>. |
905 |
< |
EOF |
905 |
> |
_ACEOF |
906 |
|
fi |
907 |
|
|
908 |
|
if test "$ac_init_help" = "recursive"; then |
909 |
|
# If there are subdirs, report their specific --help. |
910 |
|
ac_popdir=`pwd` |
911 |
< |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
912 |
< |
cd $ac_subdir |
913 |
< |
# A "../" for each directory in /$ac_subdir. |
684 |
< |
ac_dots=`echo $ac_subdir | |
685 |
< |
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
911 |
> |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
912 |
> |
test -d $ac_dir || continue |
913 |
> |
ac_builddir=. |
914 |
|
|
915 |
< |
case $srcdir in |
916 |
< |
.) # No --srcdir option. We are building in place. |
917 |
< |
ac_sub_srcdir=$srcdir ;; |
918 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
919 |
< |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
920 |
< |
*) # Relative path. |
921 |
< |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
694 |
< |
esac |
915 |
> |
if test "$ac_dir" != .; then |
916 |
> |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
917 |
> |
# A "../" for each directory in $ac_dir_suffix. |
918 |
> |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
919 |
> |
else |
920 |
> |
ac_dir_suffix= ac_top_builddir= |
921 |
> |
fi |
922 |
|
|
923 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
924 |
< |
if test -f $ac_sub_srcdir/configure.gnu; then |
925 |
< |
echo |
926 |
< |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
927 |
< |
elif test -f $ac_sub_srcdir/configure; then |
923 |
> |
case $srcdir in |
924 |
> |
.) # No --srcdir option. We are building in place. |
925 |
> |
ac_srcdir=. |
926 |
> |
if test -z "$ac_top_builddir"; then |
927 |
> |
ac_top_srcdir=. |
928 |
> |
else |
929 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
930 |
> |
fi ;; |
931 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
932 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
933 |
> |
ac_top_srcdir=$srcdir ;; |
934 |
> |
*) # Relative path. |
935 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
936 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
937 |
> |
esac |
938 |
> |
|
939 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
940 |
> |
# the directories may not exist. |
941 |
> |
case `pwd` in |
942 |
> |
.) ac_abs_builddir="$ac_dir";; |
943 |
> |
*) |
944 |
> |
case "$ac_dir" in |
945 |
> |
.) ac_abs_builddir=`pwd`;; |
946 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
947 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
948 |
> |
esac;; |
949 |
> |
esac |
950 |
> |
case $ac_abs_builddir in |
951 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
952 |
> |
*) |
953 |
> |
case ${ac_top_builddir}. in |
954 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
955 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
956 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
957 |
> |
esac;; |
958 |
> |
esac |
959 |
> |
case $ac_abs_builddir in |
960 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
961 |
> |
*) |
962 |
> |
case $ac_srcdir in |
963 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
964 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
965 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
966 |
> |
esac;; |
967 |
> |
esac |
968 |
> |
case $ac_abs_builddir in |
969 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
970 |
> |
*) |
971 |
> |
case $ac_top_srcdir in |
972 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
973 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
974 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
975 |
> |
esac;; |
976 |
> |
esac |
977 |
> |
|
978 |
> |
cd $ac_dir |
979 |
> |
# Check for guested configure; otherwise get Cygnus style configure. |
980 |
> |
if test -f $ac_srcdir/configure.gnu; then |
981 |
|
echo |
982 |
< |
$SHELL $ac_sub_srcdir/configure --help=recursive |
983 |
< |
elif test -f $ac_sub_srcdir/configure.ac || |
704 |
< |
test -f $ac_sub_srcdir/configure.in; then |
982 |
> |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
983 |
> |
elif test -f $ac_srcdir/configure; then |
984 |
|
echo |
985 |
+ |
$SHELL $ac_srcdir/configure --help=recursive |
986 |
+ |
elif test -f $ac_srcdir/configure.ac || |
987 |
+ |
test -f $ac_srcdir/configure.in; then |
988 |
+ |
echo |
989 |
|
$ac_configure --help |
990 |
|
else |
991 |
< |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
991 |
> |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
992 |
|
fi |
993 |
|
cd $ac_popdir |
994 |
|
done |
996 |
|
|
997 |
|
test -n "$ac_init_help" && exit 0 |
998 |
|
if $ac_init_version; then |
999 |
< |
cat <<\EOF |
999 |
> |
cat <<\_ACEOF |
1000 |
|
OOPSE configure 2.0 |
1001 |
< |
generated by GNU Autoconf 2.50 |
1001 |
> |
generated by GNU Autoconf 2.59 |
1002 |
|
|
1003 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
721 |
< |
Free Software Foundation, Inc. |
1003 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
1004 |
|
This configure script is free software; the Free Software Foundation |
1005 |
|
gives unlimited permission to copy, distribute and modify it. |
1006 |
< |
EOF |
1006 |
> |
_ACEOF |
1007 |
|
exit 0 |
1008 |
|
fi |
1009 |
|
exec 5>config.log |
1010 |
< |
cat >&5 <<EOF |
1010 |
> |
cat >&5 <<_ACEOF |
1011 |
|
This file contains any messages produced by compilers while |
1012 |
|
running configure, to aid debugging if configure makes a mistake. |
1013 |
|
|
1014 |
|
It was created by OOPSE $as_me 2.0, which was |
1015 |
< |
generated by GNU Autoconf 2.50. Invocation command line was |
1015 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1016 |
|
|
1017 |
|
$ $0 $@ |
1018 |
|
|
1019 |
< |
EOF |
1019 |
> |
_ACEOF |
1020 |
|
{ |
1021 |
|
cat <<_ASUNAME |
1022 |
< |
## ---------- ## |
1023 |
< |
## Platform. ## |
1024 |
< |
## ---------- ## |
1022 |
> |
## --------- ## |
1023 |
> |
## Platform. ## |
1024 |
> |
## --------- ## |
1025 |
|
|
1026 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1027 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1040 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1041 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1042 |
|
|
761 |
– |
PATH = $PATH |
762 |
– |
|
1043 |
|
_ASUNAME |
1044 |
+ |
|
1045 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1046 |
+ |
for as_dir in $PATH |
1047 |
+ |
do |
1048 |
+ |
IFS=$as_save_IFS |
1049 |
+ |
test -z "$as_dir" && as_dir=. |
1050 |
+ |
echo "PATH: $as_dir" |
1051 |
+ |
done |
1052 |
+ |
|
1053 |
|
} >&5 |
1054 |
|
|
1055 |
< |
cat >&5 <<EOF |
767 |
< |
## ------------ ## |
768 |
< |
## Core tests. ## |
769 |
< |
## ------------ ## |
1055 |
> |
cat >&5 <<_ACEOF |
1056 |
|
|
771 |
– |
EOF |
1057 |
|
|
1058 |
+ |
## ----------- ## |
1059 |
+ |
## Core tests. ## |
1060 |
+ |
## ----------- ## |
1061 |
+ |
|
1062 |
+ |
_ACEOF |
1063 |
+ |
|
1064 |
+ |
|
1065 |
|
# Keep a trace of the command line. |
1066 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1067 |
+ |
# Strip out --silent because we don't want to record it for future runs. |
1068 |
|
# Also quote any args containing shell meta-characters. |
1069 |
+ |
# Make two passes to allow for proper duplicate-argument suppression. |
1070 |
|
ac_configure_args= |
1071 |
+ |
ac_configure_args0= |
1072 |
+ |
ac_configure_args1= |
1073 |
|
ac_sep= |
1074 |
< |
for ac_arg |
1074 |
> |
ac_must_keep_next=false |
1075 |
> |
for ac_pass in 1 2 |
1076 |
|
do |
1077 |
< |
case $ac_arg in |
1078 |
< |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1079 |
< |
| --no-cr | --no-c) ;; |
1080 |
< |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1081 |
< |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
1082 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1083 |
< |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
1084 |
< |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1085 |
< |
ac_sep=" " ;; |
1086 |
< |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
1087 |
< |
ac_sep=" " ;; |
1088 |
< |
esac |
1089 |
< |
# Get rid of the leading space. |
1077 |
> |
for ac_arg |
1078 |
> |
do |
1079 |
> |
case $ac_arg in |
1080 |
> |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1081 |
> |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1082 |
> |
| -silent | --silent | --silen | --sile | --sil) |
1083 |
> |
continue ;; |
1084 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1085 |
> |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1086 |
> |
esac |
1087 |
> |
case $ac_pass in |
1088 |
> |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1089 |
> |
2) |
1090 |
> |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1091 |
> |
if test $ac_must_keep_next = true; then |
1092 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1093 |
> |
else |
1094 |
> |
case $ac_arg in |
1095 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1096 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1097 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1098 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1099 |
> |
case "$ac_configure_args0 " in |
1100 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1101 |
> |
esac |
1102 |
> |
;; |
1103 |
> |
-* ) ac_must_keep_next=true ;; |
1104 |
> |
esac |
1105 |
> |
fi |
1106 |
> |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1107 |
> |
# Get rid of the leading space. |
1108 |
> |
ac_sep=" " |
1109 |
> |
;; |
1110 |
> |
esac |
1111 |
> |
done |
1112 |
|
done |
1113 |
+ |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1114 |
+ |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1115 |
|
|
1116 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1117 |
|
# config.log. We remove comments because anyway the quotes in there |
1118 |
|
# would cause problems or look ugly. |
1119 |
+ |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1120 |
+ |
# such as our DU 5.0 friend, will then `close' the trap. |
1121 |
|
trap 'exit_status=$? |
1122 |
|
# Save into config.log some information that might help in debugging. |
1123 |
< |
echo >&5 |
1124 |
< |
echo "## ----------------- ##" >&5 |
1125 |
< |
echo "## Cache variables. ##" >&5 |
1126 |
< |
echo "## ----------------- ##" >&5 |
1127 |
< |
echo >&5 |
1128 |
< |
# The following way of writing the cache mishandles newlines in values, |
1123 |
> |
{ |
1124 |
> |
echo |
1125 |
> |
|
1126 |
> |
cat <<\_ASBOX |
1127 |
> |
## ---------------- ## |
1128 |
> |
## Cache variables. ## |
1129 |
> |
## ---------------- ## |
1130 |
> |
_ASBOX |
1131 |
> |
echo |
1132 |
> |
# The following way of writing the cache mishandles newlines in values, |
1133 |
|
{ |
1134 |
|
(set) 2>&1 | |
1135 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1136 |
|
*ac_space=\ *) |
1137 |
|
sed -n \ |
1138 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1139 |
< |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1138 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1139 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1140 |
|
;; |
1141 |
|
*) |
1142 |
|
sed -n \ |
1143 |
< |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1143 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1144 |
|
;; |
1145 |
|
esac; |
1146 |
< |
} >&5 |
1147 |
< |
sed "/^$/d" confdefs.h >conftest.log |
1148 |
< |
if test -s conftest.log; then |
1149 |
< |
echo >&5 |
1150 |
< |
echo "## ------------ ##" >&5 |
1151 |
< |
echo "## confdefs.h. ##" >&5 |
1152 |
< |
echo "## ------------ ##" >&5 |
1153 |
< |
echo >&5 |
1154 |
< |
cat conftest.log >&5 |
1155 |
< |
fi |
1156 |
< |
(echo; echo) >&5 |
1157 |
< |
test "$ac_signal" != 0 && |
1158 |
< |
echo "$as_me: caught signal $ac_signal" >&5 |
1159 |
< |
echo "$as_me: exit $exit_status" >&5 |
1160 |
< |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
1146 |
> |
} |
1147 |
> |
echo |
1148 |
> |
|
1149 |
> |
cat <<\_ASBOX |
1150 |
> |
## ----------------- ## |
1151 |
> |
## Output variables. ## |
1152 |
> |
## ----------------- ## |
1153 |
> |
_ASBOX |
1154 |
> |
echo |
1155 |
> |
for ac_var in $ac_subst_vars |
1156 |
> |
do |
1157 |
> |
eval ac_val=$`echo $ac_var` |
1158 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1159 |
> |
done | sort |
1160 |
> |
echo |
1161 |
> |
|
1162 |
> |
if test -n "$ac_subst_files"; then |
1163 |
> |
cat <<\_ASBOX |
1164 |
> |
## ------------- ## |
1165 |
> |
## Output files. ## |
1166 |
> |
## ------------- ## |
1167 |
> |
_ASBOX |
1168 |
> |
echo |
1169 |
> |
for ac_var in $ac_subst_files |
1170 |
> |
do |
1171 |
> |
eval ac_val=$`echo $ac_var` |
1172 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1173 |
> |
done | sort |
1174 |
> |
echo |
1175 |
> |
fi |
1176 |
> |
|
1177 |
> |
if test -s confdefs.h; then |
1178 |
> |
cat <<\_ASBOX |
1179 |
> |
## ----------- ## |
1180 |
> |
## confdefs.h. ## |
1181 |
> |
## ----------- ## |
1182 |
> |
_ASBOX |
1183 |
> |
echo |
1184 |
> |
sed "/^$/d" confdefs.h | sort |
1185 |
> |
echo |
1186 |
> |
fi |
1187 |
> |
test "$ac_signal" != 0 && |
1188 |
> |
echo "$as_me: caught signal $ac_signal" |
1189 |
> |
echo "$as_me: exit $exit_status" |
1190 |
> |
} >&5 |
1191 |
> |
rm -f core *.core && |
1192 |
> |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1193 |
|
exit $exit_status |
1194 |
|
' 0 |
1195 |
|
for ac_signal in 1 2 13 15; do |
1196 |
< |
trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal |
1196 |
> |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1197 |
|
done |
1198 |
|
ac_signal=0 |
1199 |
|
|
1202 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1203 |
|
echo >confdefs.h |
1204 |
|
|
1205 |
+ |
# Predefined preprocessor variables. |
1206 |
+ |
|
1207 |
+ |
cat >>confdefs.h <<_ACEOF |
1208 |
+ |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1209 |
+ |
_ACEOF |
1210 |
+ |
|
1211 |
+ |
|
1212 |
+ |
cat >>confdefs.h <<_ACEOF |
1213 |
+ |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1214 |
+ |
_ACEOF |
1215 |
+ |
|
1216 |
+ |
|
1217 |
+ |
cat >>confdefs.h <<_ACEOF |
1218 |
+ |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1219 |
+ |
_ACEOF |
1220 |
+ |
|
1221 |
+ |
|
1222 |
+ |
cat >>confdefs.h <<_ACEOF |
1223 |
+ |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1224 |
+ |
_ACEOF |
1225 |
+ |
|
1226 |
+ |
|
1227 |
+ |
cat >>confdefs.h <<_ACEOF |
1228 |
+ |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1229 |
+ |
_ACEOF |
1230 |
+ |
|
1231 |
+ |
|
1232 |
|
# Let the site file select an alternate cache file if it wants to. |
1233 |
|
# Prefer explicitly selected file to automatically selected ones. |
1234 |
|
if test -z "$CONFIG_SITE"; then |
1240 |
|
fi |
1241 |
|
for ac_site_file in $CONFIG_SITE; do |
1242 |
|
if test -r "$ac_site_file"; then |
1243 |
< |
{ echo "$as_me:857: loading site script $ac_site_file" >&5 |
1243 |
> |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1244 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1245 |
< |
cat "$ac_site_file" >&5 |
1245 |
> |
sed 's/^/| /' "$ac_site_file" >&5 |
1246 |
|
. "$ac_site_file" |
1247 |
|
fi |
1248 |
|
done |
1251 |
|
# Some versions of bash will fail to source /dev/null (special |
1252 |
|
# files actually), so we avoid doing that. |
1253 |
|
if test -f "$cache_file"; then |
1254 |
< |
{ echo "$as_me:868: loading cache $cache_file" >&5 |
1254 |
> |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1255 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
1256 |
|
case $cache_file in |
1257 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1259 |
|
esac |
1260 |
|
fi |
1261 |
|
else |
1262 |
< |
{ echo "$as_me:876: creating cache $cache_file" >&5 |
1262 |
> |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1263 |
|
echo "$as_me: creating cache $cache_file" >&6;} |
1264 |
|
>$cache_file |
1265 |
|
fi |
1266 |
|
|
1267 |
|
# Check that the precious variables saved in the cache have kept the same |
1268 |
|
# value. |
1269 |
< |
ac_suggest_removing_cache=false |
1269 |
> |
ac_cache_corrupted=false |
1270 |
|
for ac_var in `(set) 2>&1 | |
1271 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1271 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1272 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1273 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1274 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1275 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1276 |
|
case $ac_old_set,$ac_new_set in |
1277 |
|
set,) |
1278 |
< |
{ echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1279 |
< |
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1280 |
< |
ac_suggest_removing_cache=: ;; |
1278 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1279 |
> |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1280 |
> |
ac_cache_corrupted=: ;; |
1281 |
|
,set) |
1282 |
< |
{ echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5 |
1283 |
< |
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} |
1284 |
< |
ac_suggest_removing_cache=: ;; |
1282 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1283 |
> |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1284 |
> |
ac_cache_corrupted=: ;; |
1285 |
|
,);; |
1286 |
|
*) |
1287 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1288 |
< |
{ echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5 |
1289 |
< |
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} |
1290 |
< |
{ echo "$as_me:904: WARNING: former value: $ac_old_val" >&5 |
1291 |
< |
echo "$as_me: WARNING: former value: $ac_old_val" >&2;} |
1292 |
< |
{ echo "$as_me:906: WARNING: current value: $ac_new_val" >&5 |
1293 |
< |
echo "$as_me: WARNING: current value: $ac_new_val" >&2;} |
1294 |
< |
ac_suggest_removing_cache=: |
1288 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1289 |
> |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1290 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1291 |
> |
echo "$as_me: former value: $ac_old_val" >&2;} |
1292 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1293 |
> |
echo "$as_me: current value: $ac_new_val" >&2;} |
1294 |
> |
ac_cache_corrupted=: |
1295 |
|
fi;; |
1296 |
|
esac |
1297 |
+ |
# Pass precious variables to config.status. |
1298 |
+ |
if test "$ac_new_set" = set; then |
1299 |
+ |
case $ac_new_val in |
1300 |
+ |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1301 |
+ |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1302 |
+ |
*) ac_arg=$ac_var=$ac_new_val ;; |
1303 |
+ |
esac |
1304 |
+ |
case " $ac_configure_args " in |
1305 |
+ |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1306 |
+ |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1307 |
+ |
esac |
1308 |
+ |
fi |
1309 |
|
done |
1310 |
< |
if $ac_suggest_removing_cache; then |
1311 |
< |
{ echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5 |
1312 |
< |
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} |
1313 |
< |
{ echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5 |
1314 |
< |
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} |
1310 |
> |
if $ac_cache_corrupted; then |
1311 |
> |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1312 |
> |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1313 |
> |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1314 |
> |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1315 |
> |
{ (exit 1); exit 1; }; } |
1316 |
|
fi |
1317 |
|
|
1318 |
|
ac_ext=c |
1321 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1322 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1323 |
|
|
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 |
1324 |
|
|
1325 |
+ |
|
1326 |
+ |
|
1327 |
+ |
|
1328 |
+ |
|
1329 |
+ |
|
1330 |
+ |
|
1331 |
+ |
|
1332 |
+ |
|
1333 |
+ |
|
1334 |
+ |
|
1335 |
+ |
|
1336 |
+ |
|
1337 |
+ |
|
1338 |
+ |
|
1339 |
+ |
|
1340 |
+ |
|
1341 |
+ |
|
1342 |
+ |
|
1343 |
+ |
|
1344 |
+ |
|
1345 |
+ |
|
1346 |
+ |
|
1347 |
+ |
|
1348 |
+ |
|
1349 |
+ |
|
1350 |
|
ac_aux_dir= |
1351 |
|
for ac_dir in ac-tools $srcdir/ac-tools; do |
1352 |
|
if test -f $ac_dir/install-sh; then |
1364 |
|
fi |
1365 |
|
done |
1366 |
|
if test -z "$ac_aux_dir"; then |
1367 |
< |
{ { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
1367 |
> |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
1368 |
|
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} |
1369 |
|
{ (exit 1); exit 1; }; } |
1370 |
|
fi |
1372 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1373 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1374 |
|
|
1375 |
+ |
|
1376 |
|
# This file is part of Autoconf. -*- Autoconf -*- |
1377 |
|
# Programming languages support. |
1378 |
|
# Copyright 2000, 2001 |
1423 |
|
# Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably |
1424 |
|
# many others). |
1425 |
|
|
1426 |
+ |
|
1427 |
|
# Table of Contents: |
1428 |
|
# |
1429 |
|
# 1. Language selection |
1459 |
|
# ACTION-IF-NOT-FOUND. |
1460 |
|
# _AC_LIST_MEMBER_IF |
1461 |
|
|
1462 |
+ |
|
1463 |
+ |
|
1464 |
|
# _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) |
1465 |
|
# ------------------------------------------------- |
1466 |
|
# |
1491 |
|
# FIXME: Get rid of this macro. |
1492 |
|
# _AC_LINKER_OPTION |
1493 |
|
|
1494 |
+ |
|
1495 |
+ |
|
1496 |
|
## ----------------------- ## |
1497 |
|
## 1. Language selection. ## |
1498 |
|
## ----------------------- ## |
1504 |
|
# AC_LANG(Fortran 90) |
1505 |
|
# ------------------- |
1506 |
|
|
1507 |
+ |
|
1508 |
+ |
|
1509 |
|
# _AC_LANG_ABBREV(Fortran 90) |
1510 |
|
# --------------------------- |
1511 |
|
|
1512 |
+ |
|
1513 |
+ |
|
1514 |
|
# ----------------------------- # |
1515 |
|
# 1c. The Fortran 95 language. # |
1516 |
|
# ----------------------------- # |
1518 |
|
# AC_LANG(Fortran 95) |
1519 |
|
# ------------------- |
1520 |
|
|
1521 |
+ |
|
1522 |
+ |
|
1523 |
|
# _AC_LANG_ABBREV(Fortran 95) |
1524 |
|
# --------------------------- |
1525 |
|
|
1526 |
+ |
|
1527 |
+ |
|
1528 |
|
## ---------------------- ## |
1529 |
|
## 2.Producing programs. ## |
1530 |
|
## ---------------------- ## |
1536 |
|
# AC_LANG_SOURCE(Fortran 90)(BODY) |
1537 |
|
# -------------------------------- |
1538 |
|
|
1539 |
+ |
|
1540 |
+ |
|
1541 |
|
# AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) |
1542 |
|
# ----------------------------------------------- |
1543 |
|
|
1544 |
+ |
|
1545 |
|
# AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) |
1546 |
|
# -------------------------------------------- |
1547 |
|
|
1548 |
+ |
|
1549 |
+ |
|
1550 |
|
# ------------------------ # |
1551 |
|
# 2c. Fortran 95 sources. # |
1552 |
|
# ------------------------ # |
1554 |
|
# AC_LANG_SOURCE(Fortran 95)(BODY) |
1555 |
|
# -------------------------------- |
1556 |
|
|
1557 |
+ |
|
1558 |
|
# AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) |
1559 |
|
# ----------------------------------------------- |
1560 |
|
|
1561 |
+ |
|
1562 |
|
# AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) |
1563 |
|
# -------------------------------------------- |
1564 |
|
|
1565 |
+ |
|
1566 |
+ |
|
1567 |
|
## -------------------------------------------- ## |
1568 |
|
## 3. Looking for Compilers and Preprocessors. ## |
1569 |
|
## -------------------------------------------- ## |
1572 |
|
# 3b. The Fortran 90 compiler. # |
1573 |
|
# ----------------------------- # |
1574 |
|
|
1575 |
+ |
|
1576 |
|
# AC_LANG_PREPROC(Fortran 90) |
1577 |
|
# --------------------------- |
1578 |
|
# Find the Fortran 90 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1579 |
|
|
1580 |
+ |
|
1581 |
+ |
|
1582 |
|
# AC_LANG_COMPILER(Fortran 90) |
1583 |
|
# ---------------------------- |
1584 |
|
# Find the Fortran 90 compiler. Must be AC_DEFUN'd to be |
1585 |
|
# AC_REQUIRE'able. |
1586 |
+ |
|
1587 |
+ |
|
1588 |
|
|
1589 |
|
# AC_PROG_F90([COMPILERS...]) |
1590 |
|
# --------------------------- |
1602 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1603 |
|
# AC_PROG_F90 |
1604 |
|
|
1605 |
+ |
|
1606 |
|
# ----------------------------- # |
1607 |
|
# 3c. The Fortran 95 compiler. # |
1608 |
|
# ----------------------------- # |
1609 |
|
|
1610 |
+ |
|
1611 |
|
# AC_LANG_PREPROC(Fortran 95) |
1612 |
|
# --------------------------- |
1613 |
|
# Find the Fortran 95 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1614 |
|
|
1615 |
+ |
|
1616 |
+ |
|
1617 |
|
# AC_LANG_COMPILER(Fortran 95) |
1618 |
|
# ---------------------------- |
1619 |
|
# Find the Fortran 95 compiler. Must be AC_DEFUN'd to be |
1620 |
|
# AC_REQUIRE'able. |
1621 |
|
|
1622 |
+ |
|
1623 |
+ |
|
1624 |
|
# AC_PROG_F95([COMPILERS...]) |
1625 |
|
# --------------------------- |
1626 |
|
# COMPILERS is a space separated list of Fortran 95 compilers to search |
1634 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1635 |
|
# AC_PROG_F95 |
1636 |
|
|
1637 |
+ |
|
1638 |
|
## ------------------------------- ## |
1639 |
|
## 4. Compilers' characteristics. ## |
1640 |
|
## ------------------------------- ## |
1641 |
|
|
1642 |
+ |
|
1643 |
|
# ---------------------------------------- # |
1644 |
|
# 4b. Fortan 90 compiler characteristics. # |
1645 |
|
# ---------------------------------------- # |
1646 |
|
|
1647 |
+ |
|
1648 |
|
# _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) |
1649 |
|
# ------------------------------------------------- |
1650 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1655 |
|
# space-separated items. |
1656 |
|
# _AC_PROG_F90_V_OUTPUT |
1657 |
|
|
1658 |
+ |
|
1659 |
|
# _AC_PROG_F90_V |
1660 |
|
# -------------- |
1661 |
|
# |
1665 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1666 |
|
# _AC_PROG_F90_V |
1667 |
|
|
1668 |
+ |
|
1669 |
|
# AC_F90_LIBRARY_LDFLAGS |
1670 |
|
# ---------------------- |
1671 |
|
# |
1693 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1694 |
|
# AC_F90_LIBRARY_LDFLAGS |
1695 |
|
|
1696 |
+ |
|
1697 |
|
# _AC_F90_NAME_MANGLING |
1698 |
|
# --------------------- |
1699 |
|
# Test for the name mangling scheme used by the Fortran 90 compiler. |
1713 |
|
|
1714 |
|
# The replacement is empty. |
1715 |
|
|
1716 |
+ |
|
1717 |
+ |
|
1718 |
|
# AC_F90_WRAPPERS |
1719 |
|
# --------------- |
1720 |
|
# Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to |
1723 |
|
# scheme used by the Fortran 90 compiler. |
1724 |
|
# AC_F90_WRAPPERS |
1725 |
|
|
1726 |
+ |
|
1727 |
|
# AC_F90_FUNC(NAME, [SHELLVAR = NAME]) |
1728 |
|
# ------------------------------------ |
1729 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1731 |
|
# argument is not supplied, it defaults to NAME. |
1732 |
|
# AC_F90_FUNC |
1733 |
|
|
1734 |
+ |
|
1735 |
|
# ---------------------------------------- # |
1736 |
|
# 4c. Fortan 95 compiler characteristics. # |
1737 |
|
# ---------------------------------------- # |
1738 |
|
|
1739 |
+ |
|
1740 |
|
# _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) |
1741 |
|
# ------------------------------------------------- |
1742 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1747 |
|
# space-separated items. |
1748 |
|
# _AC_PROG_F95_V_OUTPUT |
1749 |
|
|
1750 |
+ |
|
1751 |
|
# _AC_PROG_F95_V |
1752 |
|
# -------------- |
1753 |
|
# |
1757 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1758 |
|
# _AC_PROG_F95_V |
1759 |
|
|
1760 |
+ |
|
1761 |
|
# AC_F95_LIBRARY_LDFLAGS |
1762 |
|
# ---------------------- |
1763 |
|
# |
1785 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1786 |
|
# AC_F95_LIBRARY_LDFLAGS |
1787 |
|
|
1788 |
+ |
|
1789 |
|
# _AC_F95_NAME_MANGLING |
1790 |
|
# --------------------- |
1791 |
|
# Test for the name mangling scheme used by the Fortran 95 compiler. |
1805 |
|
|
1806 |
|
# The replacement is empty. |
1807 |
|
|
1808 |
+ |
|
1809 |
+ |
|
1810 |
|
# AC_F95_WRAPPERS |
1811 |
|
# --------------- |
1812 |
|
# Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to |
1815 |
|
# scheme used by the Fortran 95 compiler. |
1816 |
|
# AC_F95_WRAPPERS |
1817 |
|
|
1818 |
+ |
|
1819 |
|
# AC_F95_FUNC(NAME, [SHELLVAR = NAME]) |
1820 |
|
# ------------------------------------ |
1821 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1830 |
|
# |
1831 |
|
# AC_F90_MODULE_NAMES |
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 |
+ |
|
1871 |
+ |
|
1872 |
+ |
|
1873 |
+ |
|
1874 |
+ |
|
1875 |
+ |
|
1876 |
+ |
|
1877 |
+ |
|
1878 |
+ |
|
1879 |
+ |
|
1880 |
+ |
|
1881 |
+ |
|
1882 |
+ |
|
1883 |
+ |
|
1884 |
+ |
|
1885 |
+ |
# |
1886 |
+ |
# |
1887 |
+ |
# |
1888 |
+ |
|
1889 |
+ |
|
1890 |
+ |
|
1891 |
+ |
|
1892 |
+ |
|
1893 |
+ |
|
1894 |
|
# set program name |
1895 |
|
PROGNAME="oopse" |
1896 |
|
|
1897 |
+ |
|
1898 |
|
# there are two ways to do debugging. One with the --enable-debug flag |
1899 |
|
# and one using the DEBUG environment variable |
1900 |
|
|
1906 |
|
fi; |
1907 |
|
if test "${DEBUG}"; then |
1908 |
|
|
1909 |
< |
cat >>confdefs.h <<\EOF |
1909 |
> |
cat >>confdefs.h <<\_ACEOF |
1910 |
|
#define debug 1 |
1911 |
< |
EOF |
1911 |
> |
_ACEOF |
1912 |
|
|
1913 |
|
msg="$msg, debug mode" |
1914 |
|
fi |
1915 |
|
|
1916 |
+ |
|
1917 |
|
# who am i |
1918 |
|
# Make sure we can run config.sub. |
1919 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
1920 |
< |
{ { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5 |
1920 |
> |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1921 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1922 |
|
{ (exit 1); exit 1; }; } |
1923 |
|
|
1924 |
< |
echo "$as_me:1406: checking build system type" >&5 |
1924 |
> |
echo "$as_me:$LINENO: checking build system type" >&5 |
1925 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1926 |
|
if test "${ac_cv_build+set}" = set; then |
1927 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1930 |
|
test -z "$ac_cv_build_alias" && |
1931 |
|
ac_cv_build_alias=`$ac_config_guess` |
1932 |
|
test -z "$ac_cv_build_alias" && |
1933 |
< |
{ { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5 |
1933 |
> |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1934 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1935 |
|
{ (exit 1); exit 1; }; } |
1936 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1937 |
< |
{ { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1938 |
< |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1937 |
> |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1938 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1939 |
|
{ (exit 1); exit 1; }; } |
1940 |
|
|
1941 |
|
fi |
1942 |
< |
echo "$as_me:1424: result: $ac_cv_build" >&5 |
1942 |
> |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1943 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1944 |
|
build=$ac_cv_build |
1945 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1946 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1947 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1948 |
|
|
1949 |
< |
echo "$as_me:1431: checking host system type" >&5 |
1949 |
> |
|
1950 |
> |
echo "$as_me:$LINENO: checking host system type" >&5 |
1951 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1952 |
|
if test "${ac_cv_host+set}" = set; then |
1953 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1956 |
|
test -z "$ac_cv_host_alias" && |
1957 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1958 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1959 |
< |
{ { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1959 |
> |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1960 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1961 |
|
{ (exit 1); exit 1; }; } |
1962 |
|
|
1963 |
|
fi |
1964 |
< |
echo "$as_me:1445: result: $ac_cv_host" >&5 |
1964 |
> |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1965 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1966 |
|
host=$ac_cv_host |
1967 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1968 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1969 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1970 |
|
|
1971 |
+ |
|
1972 |
+ |
|
1973 |
+ |
|
1974 |
+ |
|
1975 |
|
ac_ext=c |
1976 |
|
ac_cpp='$CPP $CPPFLAGS' |
1977 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1982 |
|
do |
1983 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1984 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1985 |
< |
echo "$as_me:1462: checking for $ac_word" >&5 |
1985 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1986 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1987 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1988 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1990 |
|
if test -n "$CC"; then |
1991 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1992 |
|
else |
1993 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1994 |
< |
ac_dummy="$PATH" |
1995 |
< |
for ac_dir in $ac_dummy; do |
1996 |
< |
IFS=$ac_save_IFS |
1997 |
< |
test -z "$ac_dir" && ac_dir=. |
1998 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
1999 |
< |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2000 |
< |
echo "$as_me:1477: found $ac_dir/$ac_word" >&5 |
2001 |
< |
break |
1993 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1994 |
> |
for as_dir in $PATH |
1995 |
> |
do |
1996 |
> |
IFS=$as_save_IFS |
1997 |
> |
test -z "$as_dir" && as_dir=. |
1998 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
1999 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2000 |
> |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2001 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2002 |
> |
break 2 |
2003 |
> |
fi |
2004 |
|
done |
2005 |
+ |
done |
2006 |
|
|
2007 |
|
fi |
2008 |
|
fi |
2009 |
|
CC=$ac_cv_prog_CC |
2010 |
|
if test -n "$CC"; then |
2011 |
< |
echo "$as_me:1485: result: $CC" >&5 |
2011 |
> |
echo "$as_me:$LINENO: result: $CC" >&5 |
2012 |
|
echo "${ECHO_T}$CC" >&6 |
2013 |
|
else |
2014 |
< |
echo "$as_me:1488: result: no" >&5 |
2014 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
2015 |
|
echo "${ECHO_T}no" >&6 |
2016 |
|
fi |
2017 |
|
|
2024 |
|
do |
2025 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2026 |
|
set dummy $ac_prog; ac_word=$2 |
2027 |
< |
echo "$as_me:1501: checking for $ac_word" >&5 |
2027 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2028 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2029 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2030 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2032 |
|
if test -n "$ac_ct_CC"; then |
2033 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2034 |
|
else |
2035 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2036 |
< |
ac_dummy="$PATH" |
2037 |
< |
for ac_dir in $ac_dummy; do |
2038 |
< |
IFS=$ac_save_IFS |
2039 |
< |
test -z "$ac_dir" && ac_dir=. |
2040 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
2041 |
< |
ac_cv_prog_ac_ct_CC="$ac_prog" |
2042 |
< |
echo "$as_me:1516: found $ac_dir/$ac_word" >&5 |
2043 |
< |
break |
2035 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2036 |
> |
for as_dir in $PATH |
2037 |
> |
do |
2038 |
> |
IFS=$as_save_IFS |
2039 |
> |
test -z "$as_dir" && as_dir=. |
2040 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
2041 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2042 |
> |
ac_cv_prog_ac_ct_CC="$ac_prog" |
2043 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2044 |
> |
break 2 |
2045 |
> |
fi |
2046 |
|
done |
2047 |
+ |
done |
2048 |
|
|
2049 |
|
fi |
2050 |
|
fi |
2051 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2052 |
|
if test -n "$ac_ct_CC"; then |
2053 |
< |
echo "$as_me:1524: result: $ac_ct_CC" >&5 |
2053 |
> |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2054 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2055 |
|
else |
2056 |
< |
echo "$as_me:1527: result: no" >&5 |
2056 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
2057 |
|
echo "${ECHO_T}no" >&6 |
2058 |
|
fi |
2059 |
|
|
2063 |
|
CC=$ac_ct_CC |
2064 |
|
fi |
2065 |
|
|
2066 |
< |
test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5 |
2067 |
< |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
2066 |
> |
|
2067 |
> |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2068 |
> |
See \`config.log' for more details." >&5 |
2069 |
> |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2070 |
> |
See \`config.log' for more details." >&2;} |
2071 |
|
{ (exit 1); exit 1; }; } |
2072 |
|
|
2073 |
+ |
# Provide some information about the compiler. |
2074 |
+ |
echo "$as_me:$LINENO:" \ |
2075 |
+ |
"checking for C compiler version" >&5 |
2076 |
+ |
ac_compiler=`set X $ac_compile; echo $2` |
2077 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2078 |
+ |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2079 |
+ |
ac_status=$? |
2080 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2081 |
+ |
(exit $ac_status); } |
2082 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2083 |
+ |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2084 |
+ |
ac_status=$? |
2085 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2086 |
+ |
(exit $ac_status); } |
2087 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2088 |
+ |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2089 |
+ |
ac_status=$? |
2090 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2091 |
+ |
(exit $ac_status); } |
2092 |
+ |
|
2093 |
|
cat >conftest.$ac_ext <<_ACEOF |
2094 |
< |
#line 1542 "configure" |
2095 |
< |
#include "confdefs.h" |
2094 |
> |
/* confdefs.h. */ |
2095 |
> |
_ACEOF |
2096 |
> |
cat confdefs.h >>conftest.$ac_ext |
2097 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2098 |
> |
/* end confdefs.h. */ |
2099 |
|
|
2100 |
|
int |
2101 |
|
main () |
2106 |
|
} |
2107 |
|
_ACEOF |
2108 |
|
ac_clean_files_save=$ac_clean_files |
2109 |
< |
ac_clean_files="$ac_clean_files a.out a.exe" |
2109 |
> |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2110 |
|
# Try to create an executable without -o first, disregard a.out. |
2111 |
< |
# It will help us diagnose broken compiler, and finding out an intuition |
2111 |
> |
# It will help us diagnose broken compilers, and finding out an intuition |
2112 |
|
# of exeext. |
2113 |
< |
echo "$as_me:1558: checking for C compiler default output" >&5 |
2114 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2113 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2114 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2115 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2116 |
< |
if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5 |
2116 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2117 |
|
(eval $ac_link_default) 2>&5 |
2118 |
|
ac_status=$? |
2119 |
< |
echo "$as_me:1564: \$? = $ac_status" >&5 |
2119 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2120 |
|
(exit $ac_status); }; then |
2121 |
< |
for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do |
2121 |
> |
# Find the output, starting from the most likely. This scheme is |
2122 |
> |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2123 |
> |
# resort. |
2124 |
> |
|
2125 |
> |
# Be careful to initialize this variable, since it used to be cached. |
2126 |
> |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2127 |
> |
ac_cv_exeext= |
2128 |
> |
# b.out is created by i960 compilers. |
2129 |
> |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2130 |
> |
do |
2131 |
> |
test -f "$ac_file" || continue |
2132 |
|
case $ac_file in |
2133 |
< |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2134 |
< |
a.out ) # We found the default executable, but exeext='' is most |
2135 |
< |
# certainly right. |
2136 |
< |
break;; |
2137 |
< |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2138 |
< |
export ac_cv_exeext |
2139 |
< |
break;; |
2140 |
< |
* ) break;; |
2133 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2134 |
> |
;; |
2135 |
> |
conftest.$ac_ext ) |
2136 |
> |
# This is the source file. |
2137 |
> |
;; |
2138 |
> |
[ab].out ) |
2139 |
> |
# We found the default executable, but exeext='' is most |
2140 |
> |
# certainly right. |
2141 |
> |
break;; |
2142 |
> |
*.* ) |
2143 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2144 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2145 |
> |
# but it would be cool to find out if it's true. Does anybody |
2146 |
> |
# maintain Libtool? --akim. |
2147 |
> |
export ac_cv_exeext |
2148 |
> |
break;; |
2149 |
> |
* ) |
2150 |
> |
break;; |
2151 |
|
esac |
2152 |
|
done |
2153 |
|
else |
2154 |
|
echo "$as_me: failed program was:" >&5 |
2155 |
< |
cat conftest.$ac_ext >&5 |
2156 |
< |
{ { echo "$as_me:1581: error: C compiler cannot create executables" >&5 |
2157 |
< |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
2155 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2156 |
> |
|
2157 |
> |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2158 |
> |
See \`config.log' for more details." >&5 |
2159 |
> |
echo "$as_me: error: C compiler cannot create executables |
2160 |
> |
See \`config.log' for more details." >&2;} |
2161 |
|
{ (exit 77); exit 77; }; } |
2162 |
|
fi |
2163 |
|
|
2164 |
|
ac_exeext=$ac_cv_exeext |
2165 |
< |
echo "$as_me:1587: result: $ac_file" >&5 |
2165 |
> |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2166 |
|
echo "${ECHO_T}$ac_file" >&6 |
2167 |
|
|
2168 |
|
# Check the compiler produces executables we can run. If not, either |
2169 |
|
# the compiler is broken, or we cross compile. |
2170 |
< |
echo "$as_me:1592: checking whether the C compiler works" >&5 |
2170 |
> |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2171 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2172 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2173 |
|
# If not cross compiling, check that we can run a simple program. |
2174 |
|
if test "$cross_compiling" != yes; then |
2175 |
|
if { ac_try='./$ac_file' |
2176 |
< |
{ (eval echo "$as_me:1598: \"$ac_try\"") >&5 |
2176 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2177 |
|
(eval $ac_try) 2>&5 |
2178 |
|
ac_status=$? |
2179 |
< |
echo "$as_me:1601: \$? = $ac_status" >&5 |
2179 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2180 |
|
(exit $ac_status); }; }; then |
2181 |
|
cross_compiling=no |
2182 |
|
else |
2183 |
|
if test "$cross_compiling" = maybe; then |
2184 |
|
cross_compiling=yes |
2185 |
|
else |
2186 |
< |
{ { echo "$as_me:1608: error: cannot run C compiled programs. |
2187 |
< |
If you meant to cross compile, use \`--host'." >&5 |
2186 |
> |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2187 |
> |
If you meant to cross compile, use \`--host'. |
2188 |
> |
See \`config.log' for more details." >&5 |
2189 |
|
echo "$as_me: error: cannot run C compiled programs. |
2190 |
< |
If you meant to cross compile, use \`--host'." >&2;} |
2190 |
> |
If you meant to cross compile, use \`--host'. |
2191 |
> |
See \`config.log' for more details." >&2;} |
2192 |
|
{ (exit 1); exit 1; }; } |
2193 |
|
fi |
2194 |
|
fi |
2195 |
|
fi |
2196 |
< |
echo "$as_me:1616: result: yes" >&5 |
2196 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
2197 |
|
echo "${ECHO_T}yes" >&6 |
2198 |
|
|
2199 |
< |
rm -f a.out a.exe conftest$ac_cv_exeext |
2199 |
> |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2200 |
|
ac_clean_files=$ac_clean_files_save |
2201 |
|
# Check the compiler produces executables we can run. If not, either |
2202 |
|
# the compiler is broken, or we cross compile. |
2203 |
< |
echo "$as_me:1623: checking whether we are cross compiling" >&5 |
2203 |
> |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2204 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2205 |
< |
echo "$as_me:1625: result: $cross_compiling" >&5 |
2205 |
> |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2206 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
2207 |
|
|
2208 |
< |
echo "$as_me:1628: checking for executable suffix" >&5 |
2209 |
< |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
2210 |
< |
if { (eval echo "$as_me:1630: \"$ac_link\"") >&5 |
2208 |
> |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2209 |
> |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2210 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2211 |
|
(eval $ac_link) 2>&5 |
2212 |
|
ac_status=$? |
2213 |
< |
echo "$as_me:1633: \$? = $ac_status" >&5 |
2213 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 |
|
(exit $ac_status); }; then |
2215 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2216 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2217 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2218 |
|
# `rm'. |
2219 |
< |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
2219 |
> |
for ac_file in conftest.exe conftest conftest.*; do |
2220 |
> |
test -f "$ac_file" || continue |
2221 |
|
case $ac_file in |
2222 |
< |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2222 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2223 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2224 |
< |
export ac_cv_exeext |
2225 |
< |
break;; |
2224 |
> |
export ac_cv_exeext |
2225 |
> |
break;; |
2226 |
|
* ) break;; |
2227 |
|
esac |
2228 |
|
done |
2229 |
|
else |
2230 |
< |
{ { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5 |
2231 |
< |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
2230 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2231 |
> |
See \`config.log' for more details." >&5 |
2232 |
> |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2233 |
> |
See \`config.log' for more details." >&2;} |
2234 |
|
{ (exit 1); exit 1; }; } |
2235 |
|
fi |
2236 |
|
|
2237 |
|
rm -f conftest$ac_cv_exeext |
2238 |
< |
echo "$as_me:1655: result: $ac_cv_exeext" >&5 |
2238 |
> |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2239 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2240 |
|
|
2241 |
|
rm -f conftest.$ac_ext |
2242 |
|
EXEEXT=$ac_cv_exeext |
2243 |
|
ac_exeext=$EXEEXT |
2244 |
< |
echo "$as_me:1661: checking for object suffix" >&5 |
2245 |
< |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
2244 |
> |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2245 |
> |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2246 |
|
if test "${ac_cv_objext+set}" = set; then |
2247 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2248 |
|
else |
2249 |
|
cat >conftest.$ac_ext <<_ACEOF |
2250 |
< |
#line 1667 "configure" |
2251 |
< |
#include "confdefs.h" |
2250 |
> |
/* confdefs.h. */ |
2251 |
> |
_ACEOF |
2252 |
> |
cat confdefs.h >>conftest.$ac_ext |
2253 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2254 |
> |
/* end confdefs.h. */ |
2255 |
|
|
2256 |
|
int |
2257 |
|
main () |
2262 |
|
} |
2263 |
|
_ACEOF |
2264 |
|
rm -f conftest.o conftest.obj |
2265 |
< |
if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5 |
2265 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2266 |
|
(eval $ac_compile) 2>&5 |
2267 |
|
ac_status=$? |
2268 |
< |
echo "$as_me:1682: \$? = $ac_status" >&5 |
2268 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2269 |
|
(exit $ac_status); }; then |
2270 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2271 |
|
case $ac_file in |
2272 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2272 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2273 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2274 |
|
break;; |
2275 |
|
esac |
2276 |
|
done |
2277 |
|
else |
2278 |
|
echo "$as_me: failed program was:" >&5 |
2279 |
< |
cat conftest.$ac_ext >&5 |
2280 |
< |
{ { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5 |
2281 |
< |
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
2279 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2280 |
> |
|
2281 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2282 |
> |
See \`config.log' for more details." >&5 |
2283 |
> |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2284 |
> |
See \`config.log' for more details." >&2;} |
2285 |
|
{ (exit 1); exit 1; }; } |
2286 |
|
fi |
2287 |
|
|
2288 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2289 |
|
fi |
2290 |
< |
echo "$as_me:1701: result: $ac_cv_objext" >&5 |
2290 |
> |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2291 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
2292 |
|
OBJEXT=$ac_cv_objext |
2293 |
|
ac_objext=$OBJEXT |
2294 |
< |
echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5 |
2294 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2295 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2296 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2297 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2298 |
|
else |
2299 |
|
cat >conftest.$ac_ext <<_ACEOF |
2300 |
< |
#line 1711 "configure" |
2301 |
< |
#include "confdefs.h" |
2300 |
> |
/* confdefs.h. */ |
2301 |
> |
_ACEOF |
2302 |
> |
cat confdefs.h >>conftest.$ac_ext |
2303 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2304 |
> |
/* end confdefs.h. */ |
2305 |
|
|
2306 |
|
int |
2307 |
|
main () |
2315 |
|
} |
2316 |
|
_ACEOF |
2317 |
|
rm -f conftest.$ac_objext |
2318 |
< |
if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5 |
2319 |
< |
(eval $ac_compile) 2>&5 |
2318 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2319 |
> |
(eval $ac_compile) 2>conftest.er1 |
2320 |
|
ac_status=$? |
2321 |
< |
echo "$as_me:1729: \$? = $ac_status" >&5 |
2321 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2322 |
> |
rm -f conftest.er1 |
2323 |
> |
cat conftest.err >&5 |
2324 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2325 |
|
(exit $ac_status); } && |
2326 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2327 |
< |
{ (eval echo "$as_me:1732: \"$ac_try\"") >&5 |
2326 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2327 |
> |
|| test ! -s conftest.err' |
2328 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2329 |
|
(eval $ac_try) 2>&5 |
2330 |
|
ac_status=$? |
2331 |
< |
echo "$as_me:1735: \$? = $ac_status" >&5 |
2331 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2332 |
> |
(exit $ac_status); }; } && |
2333 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2334 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2335 |
> |
(eval $ac_try) 2>&5 |
2336 |
> |
ac_status=$? |
2337 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2338 |
|
(exit $ac_status); }; }; then |
2339 |
|
ac_compiler_gnu=yes |
2340 |
|
else |
2341 |
|
echo "$as_me: failed program was:" >&5 |
2342 |
< |
cat conftest.$ac_ext >&5 |
2342 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2343 |
> |
|
2344 |
|
ac_compiler_gnu=no |
2345 |
|
fi |
2346 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2346 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2347 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2348 |
|
|
2349 |
|
fi |
2350 |
< |
echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5 |
2350 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2351 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2352 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2353 |
|
ac_test_CFLAGS=${CFLAGS+set} |
2354 |
|
ac_save_CFLAGS=$CFLAGS |
2355 |
|
CFLAGS="-g" |
2356 |
< |
echo "$as_me:1753: checking whether $CC accepts -g" >&5 |
2356 |
> |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2357 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2358 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
2359 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2360 |
|
else |
2361 |
|
cat >conftest.$ac_ext <<_ACEOF |
2362 |
< |
#line 1759 "configure" |
2363 |
< |
#include "confdefs.h" |
2362 |
> |
/* confdefs.h. */ |
2363 |
> |
_ACEOF |
2364 |
> |
cat confdefs.h >>conftest.$ac_ext |
2365 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2366 |
> |
/* end confdefs.h. */ |
2367 |
|
|
2368 |
|
int |
2369 |
|
main () |
2374 |
|
} |
2375 |
|
_ACEOF |
2376 |
|
rm -f conftest.$ac_objext |
2377 |
< |
if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5 |
2378 |
< |
(eval $ac_compile) 2>&5 |
2377 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2378 |
> |
(eval $ac_compile) 2>conftest.er1 |
2379 |
|
ac_status=$? |
2380 |
< |
echo "$as_me:1774: \$? = $ac_status" >&5 |
2380 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2381 |
> |
rm -f conftest.er1 |
2382 |
> |
cat conftest.err >&5 |
2383 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2384 |
|
(exit $ac_status); } && |
2385 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2386 |
< |
{ (eval echo "$as_me:1777: \"$ac_try\"") >&5 |
2385 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2386 |
> |
|| test ! -s conftest.err' |
2387 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2388 |
|
(eval $ac_try) 2>&5 |
2389 |
|
ac_status=$? |
2390 |
< |
echo "$as_me:1780: \$? = $ac_status" >&5 |
2390 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2391 |
> |
(exit $ac_status); }; } && |
2392 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2393 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2394 |
> |
(eval $ac_try) 2>&5 |
2395 |
> |
ac_status=$? |
2396 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2397 |
|
(exit $ac_status); }; }; then |
2398 |
|
ac_cv_prog_cc_g=yes |
2399 |
|
else |
2400 |
|
echo "$as_me: failed program was:" >&5 |
2401 |
< |
cat conftest.$ac_ext >&5 |
2401 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2402 |
> |
|
2403 |
|
ac_cv_prog_cc_g=no |
2404 |
|
fi |
2405 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2405 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2406 |
|
fi |
2407 |
< |
echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5 |
2407 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2408 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2409 |
|
if test "$ac_test_CFLAGS" = set; then |
2410 |
|
CFLAGS=$ac_save_CFLAGS |
2420 |
|
else |
2421 |
|
CFLAGS= |
2422 |
|
fi |
2423 |
+ |
fi |
2424 |
+ |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2425 |
+ |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2426 |
+ |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2427 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2428 |
+ |
else |
2429 |
+ |
ac_cv_prog_cc_stdc=no |
2430 |
+ |
ac_save_CC=$CC |
2431 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
2432 |
+ |
/* confdefs.h. */ |
2433 |
+ |
_ACEOF |
2434 |
+ |
cat confdefs.h >>conftest.$ac_ext |
2435 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
2436 |
+ |
/* end confdefs.h. */ |
2437 |
+ |
#include <stdarg.h> |
2438 |
+ |
#include <stdio.h> |
2439 |
+ |
#include <sys/types.h> |
2440 |
+ |
#include <sys/stat.h> |
2441 |
+ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2442 |
+ |
struct buf { int x; }; |
2443 |
+ |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2444 |
+ |
static char *e (p, i) |
2445 |
+ |
char **p; |
2446 |
+ |
int i; |
2447 |
+ |
{ |
2448 |
+ |
return p[i]; |
2449 |
+ |
} |
2450 |
+ |
static char *f (char * (*g) (char **, int), char **p, ...) |
2451 |
+ |
{ |
2452 |
+ |
char *s; |
2453 |
+ |
va_list v; |
2454 |
+ |
va_start (v,p); |
2455 |
+ |
s = g (p, va_arg (v,int)); |
2456 |
+ |
va_end (v); |
2457 |
+ |
return s; |
2458 |
+ |
} |
2459 |
+ |
|
2460 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2461 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
2462 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
2463 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
2464 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2465 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
2466 |
+ |
that's true only with -std1. */ |
2467 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2468 |
+ |
|
2469 |
+ |
int test (int i, double x); |
2470 |
+ |
struct s1 {int (*f) (int a);}; |
2471 |
+ |
struct s2 {int (*f) (double a);}; |
2472 |
+ |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2473 |
+ |
int argc; |
2474 |
+ |
char **argv; |
2475 |
+ |
int |
2476 |
+ |
main () |
2477 |
+ |
{ |
2478 |
+ |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2479 |
+ |
; |
2480 |
+ |
return 0; |
2481 |
+ |
} |
2482 |
+ |
_ACEOF |
2483 |
+ |
# Don't try gcc -ansi; that turns off useful extensions and |
2484 |
+ |
# breaks some systems' header files. |
2485 |
+ |
# AIX -qlanglvl=ansi |
2486 |
+ |
# Ultrix and OSF/1 -std1 |
2487 |
+ |
# HP-UX 10.20 and later -Ae |
2488 |
+ |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2489 |
+ |
# SVR4 -Xc -D__EXTENSIONS__ |
2490 |
+ |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2491 |
+ |
do |
2492 |
+ |
CC="$ac_save_CC $ac_arg" |
2493 |
+ |
rm -f conftest.$ac_objext |
2494 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2495 |
+ |
(eval $ac_compile) 2>conftest.er1 |
2496 |
+ |
ac_status=$? |
2497 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2498 |
+ |
rm -f conftest.er1 |
2499 |
+ |
cat conftest.err >&5 |
2500 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2501 |
+ |
(exit $ac_status); } && |
2502 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
2503 |
+ |
|| test ! -s conftest.err' |
2504 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2505 |
+ |
(eval $ac_try) 2>&5 |
2506 |
+ |
ac_status=$? |
2507 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2508 |
+ |
(exit $ac_status); }; } && |
2509 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2510 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2511 |
+ |
(eval $ac_try) 2>&5 |
2512 |
+ |
ac_status=$? |
2513 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2514 |
+ |
(exit $ac_status); }; }; then |
2515 |
+ |
ac_cv_prog_cc_stdc=$ac_arg |
2516 |
+ |
break |
2517 |
+ |
else |
2518 |
+ |
echo "$as_me: failed program was:" >&5 |
2519 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
2520 |
+ |
|
2521 |
|
fi |
2522 |
+ |
rm -f conftest.err conftest.$ac_objext |
2523 |
+ |
done |
2524 |
+ |
rm -f conftest.$ac_ext conftest.$ac_objext |
2525 |
+ |
CC=$ac_save_CC |
2526 |
+ |
|
2527 |
+ |
fi |
2528 |
+ |
|
2529 |
+ |
case "x$ac_cv_prog_cc_stdc" in |
2530 |
+ |
x|xno) |
2531 |
+ |
echo "$as_me:$LINENO: result: none needed" >&5 |
2532 |
+ |
echo "${ECHO_T}none needed" >&6 ;; |
2533 |
+ |
*) |
2534 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2535 |
+ |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2536 |
+ |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2537 |
+ |
esac |
2538 |
+ |
|
2539 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2540 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2541 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2546 |
|
#endif |
2547 |
|
_ACEOF |
2548 |
|
rm -f conftest.$ac_objext |
2549 |
< |
if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5 |
2550 |
< |
(eval $ac_compile) 2>&5 |
2549 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2550 |
> |
(eval $ac_compile) 2>conftest.er1 |
2551 |
|
ac_status=$? |
2552 |
< |
echo "$as_me:1820: \$? = $ac_status" >&5 |
2552 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2553 |
> |
rm -f conftest.er1 |
2554 |
> |
cat conftest.err >&5 |
2555 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2556 |
|
(exit $ac_status); } && |
2557 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2558 |
< |
{ (eval echo "$as_me:1823: \"$ac_try\"") >&5 |
2557 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2558 |
> |
|| test ! -s conftest.err' |
2559 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2560 |
|
(eval $ac_try) 2>&5 |
2561 |
|
ac_status=$? |
2562 |
< |
echo "$as_me:1826: \$? = $ac_status" >&5 |
2562 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2563 |
> |
(exit $ac_status); }; } && |
2564 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2565 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2566 |
> |
(eval $ac_try) 2>&5 |
2567 |
> |
ac_status=$? |
2568 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2569 |
|
(exit $ac_status); }; }; then |
2570 |
|
for ac_declaration in \ |
2571 |
< |
''\ |
1830 |
< |
'#include <stdlib.h>' \ |
2571 |
> |
'' \ |
2572 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2573 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2574 |
|
'extern "C" void exit (int) throw ();' \ |
2576 |
|
'void exit (int);' |
2577 |
|
do |
2578 |
|
cat >conftest.$ac_ext <<_ACEOF |
2579 |
< |
#line 1838 "configure" |
2580 |
< |
#include "confdefs.h" |
2581 |
< |
#include <stdlib.h> |
2579 |
> |
/* confdefs.h. */ |
2580 |
> |
_ACEOF |
2581 |
> |
cat confdefs.h >>conftest.$ac_ext |
2582 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2583 |
> |
/* end confdefs.h. */ |
2584 |
|
$ac_declaration |
2585 |
+ |
#include <stdlib.h> |
2586 |
|
int |
2587 |
|
main () |
2588 |
|
{ |
2592 |
|
} |
2593 |
|
_ACEOF |
2594 |
|
rm -f conftest.$ac_objext |
2595 |
< |
if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5 |
2596 |
< |
(eval $ac_compile) 2>&5 |
2595 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2596 |
> |
(eval $ac_compile) 2>conftest.er1 |
2597 |
|
ac_status=$? |
2598 |
< |
echo "$as_me:1854: \$? = $ac_status" >&5 |
2598 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2599 |
> |
rm -f conftest.er1 |
2600 |
> |
cat conftest.err >&5 |
2601 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2602 |
|
(exit $ac_status); } && |
2603 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2604 |
< |
{ (eval echo "$as_me:1857: \"$ac_try\"") >&5 |
2603 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2604 |
> |
|| test ! -s conftest.err' |
2605 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2606 |
|
(eval $ac_try) 2>&5 |
2607 |
|
ac_status=$? |
2608 |
< |
echo "$as_me:1860: \$? = $ac_status" >&5 |
2608 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2609 |
> |
(exit $ac_status); }; } && |
2610 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2611 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2612 |
> |
(eval $ac_try) 2>&5 |
2613 |
> |
ac_status=$? |
2614 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2615 |
|
(exit $ac_status); }; }; then |
2616 |
|
: |
2617 |
|
else |
2618 |
|
echo "$as_me: failed program was:" >&5 |
2619 |
< |
cat conftest.$ac_ext >&5 |
2619 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2620 |
> |
|
2621 |
|
continue |
2622 |
|
fi |
2623 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2623 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2624 |
|
cat >conftest.$ac_ext <<_ACEOF |
2625 |
< |
#line 1870 "configure" |
2626 |
< |
#include "confdefs.h" |
2625 |
> |
/* confdefs.h. */ |
2626 |
> |
_ACEOF |
2627 |
> |
cat confdefs.h >>conftest.$ac_ext |
2628 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2629 |
> |
/* end confdefs.h. */ |
2630 |
|
$ac_declaration |
2631 |
|
int |
2632 |
|
main () |
2637 |
|
} |
2638 |
|
_ACEOF |
2639 |
|
rm -f conftest.$ac_objext |
2640 |
< |
if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5 |
2641 |
< |
(eval $ac_compile) 2>&5 |
2640 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2641 |
> |
(eval $ac_compile) 2>conftest.er1 |
2642 |
|
ac_status=$? |
2643 |
< |
echo "$as_me:1885: \$? = $ac_status" >&5 |
2643 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2644 |
> |
rm -f conftest.er1 |
2645 |
> |
cat conftest.err >&5 |
2646 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2647 |
|
(exit $ac_status); } && |
2648 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2649 |
< |
{ (eval echo "$as_me:1888: \"$ac_try\"") >&5 |
2648 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2649 |
> |
|| test ! -s conftest.err' |
2650 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2651 |
|
(eval $ac_try) 2>&5 |
2652 |
|
ac_status=$? |
2653 |
< |
echo "$as_me:1891: \$? = $ac_status" >&5 |
2653 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2654 |
> |
(exit $ac_status); }; } && |
2655 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2656 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2657 |
> |
(eval $ac_try) 2>&5 |
2658 |
> |
ac_status=$? |
2659 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2660 |
|
(exit $ac_status); }; }; then |
2661 |
|
break |
2662 |
|
else |
2663 |
|
echo "$as_me: failed program was:" >&5 |
2664 |
< |
cat conftest.$ac_ext >&5 |
2664 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2665 |
> |
|
2666 |
|
fi |
2667 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2667 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2668 |
|
done |
2669 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
2670 |
< |
echo $ac_declaration >>confdefs.h |
2671 |
< |
echo '#endif' >>confdefs.h |
2669 |
> |
rm -f conftest* |
2670 |
> |
if test -n "$ac_declaration"; then |
2671 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
2672 |
> |
echo $ac_declaration >>confdefs.h |
2673 |
> |
echo '#endif' >>confdefs.h |
2674 |
> |
fi |
2675 |
|
|
2676 |
|
else |
2677 |
|
echo "$as_me: failed program was:" >&5 |
2678 |
< |
cat conftest.$ac_ext >&5 |
2678 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2679 |
> |
|
2680 |
|
fi |
2681 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2681 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2682 |
|
ac_ext=c |
2683 |
|
ac_cpp='$CPP $CPPFLAGS' |
2684 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2685 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2686 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2687 |
|
|
2688 |
+ |
|
2689 |
|
ac_ext=cc |
2690 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
2691 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2696 |
|
do |
2697 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2698 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2699 |
< |
echo "$as_me:1925: checking for $ac_word" >&5 |
2699 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2700 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2701 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
2702 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2704 |
|
if test -n "$CXX"; then |
2705 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2706 |
|
else |
2707 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2708 |
< |
ac_dummy="$PATH" |
2709 |
< |
for ac_dir in $ac_dummy; do |
2710 |
< |
IFS=$ac_save_IFS |
2711 |
< |
test -z "$ac_dir" && ac_dir=. |
2712 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
2713 |
< |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2714 |
< |
echo "$as_me:1940: found $ac_dir/$ac_word" >&5 |
2715 |
< |
break |
2707 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2708 |
> |
for as_dir in $PATH |
2709 |
> |
do |
2710 |
> |
IFS=$as_save_IFS |
2711 |
> |
test -z "$as_dir" && as_dir=. |
2712 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
2713 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2714 |
> |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2715 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2716 |
> |
break 2 |
2717 |
> |
fi |
2718 |
|
done |
2719 |
+ |
done |
2720 |
|
|
2721 |
|
fi |
2722 |
|
fi |
2723 |
|
CXX=$ac_cv_prog_CXX |
2724 |
|
if test -n "$CXX"; then |
2725 |
< |
echo "$as_me:1948: result: $CXX" >&5 |
2725 |
> |
echo "$as_me:$LINENO: result: $CXX" >&5 |
2726 |
|
echo "${ECHO_T}$CXX" >&6 |
2727 |
|
else |
2728 |
< |
echo "$as_me:1951: result: no" >&5 |
2728 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
2729 |
|
echo "${ECHO_T}no" >&6 |
2730 |
|
fi |
2731 |
|
|
2738 |
|
do |
2739 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2740 |
|
set dummy $ac_prog; ac_word=$2 |
2741 |
< |
echo "$as_me:1964: checking for $ac_word" >&5 |
2741 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2742 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2743 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
2744 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2746 |
|
if test -n "$ac_ct_CXX"; then |
2747 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2748 |
|
else |
2749 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2750 |
< |
ac_dummy="$PATH" |
2751 |
< |
for ac_dir in $ac_dummy; do |
2752 |
< |
IFS=$ac_save_IFS |
2753 |
< |
test -z "$ac_dir" && ac_dir=. |
2754 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
2755 |
< |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2756 |
< |
echo "$as_me:1979: found $ac_dir/$ac_word" >&5 |
2757 |
< |
break |
2749 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2750 |
> |
for as_dir in $PATH |
2751 |
> |
do |
2752 |
> |
IFS=$as_save_IFS |
2753 |
> |
test -z "$as_dir" && as_dir=. |
2754 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
2755 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2756 |
> |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2757 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2758 |
> |
break 2 |
2759 |
> |
fi |
2760 |
|
done |
2761 |
+ |
done |
2762 |
|
|
2763 |
|
fi |
2764 |
|
fi |
2765 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2766 |
|
if test -n "$ac_ct_CXX"; then |
2767 |
< |
echo "$as_me:1987: result: $ac_ct_CXX" >&5 |
2767 |
> |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
2768 |
|
echo "${ECHO_T}$ac_ct_CXX" >&6 |
2769 |
|
else |
2770 |
< |
echo "$as_me:1990: result: no" >&5 |
2770 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
2771 |
|
echo "${ECHO_T}no" >&6 |
2772 |
|
fi |
2773 |
|
|
2778 |
|
CXX=$ac_ct_CXX |
2779 |
|
fi |
2780 |
|
|
2781 |
< |
echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5 |
2781 |
> |
|
2782 |
> |
# Provide some information about the compiler. |
2783 |
> |
echo "$as_me:$LINENO:" \ |
2784 |
> |
"checking for C++ compiler version" >&5 |
2785 |
> |
ac_compiler=`set X $ac_compile; echo $2` |
2786 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2787 |
> |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2788 |
> |
ac_status=$? |
2789 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2790 |
> |
(exit $ac_status); } |
2791 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2792 |
> |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2793 |
> |
ac_status=$? |
2794 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2795 |
> |
(exit $ac_status); } |
2796 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2797 |
> |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2798 |
> |
ac_status=$? |
2799 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2800 |
> |
(exit $ac_status); } |
2801 |
> |
|
2802 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2803 |
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
2804 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2805 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2806 |
|
else |
2807 |
|
cat >conftest.$ac_ext <<_ACEOF |
2808 |
< |
#line 2007 "configure" |
2809 |
< |
#include "confdefs.h" |
2808 |
> |
/* confdefs.h. */ |
2809 |
> |
_ACEOF |
2810 |
> |
cat confdefs.h >>conftest.$ac_ext |
2811 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2812 |
> |
/* end confdefs.h. */ |
2813 |
|
|
2814 |
|
int |
2815 |
|
main () |
2823 |
|
} |
2824 |
|
_ACEOF |
2825 |
|
rm -f conftest.$ac_objext |
2826 |
< |
if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5 |
2827 |
< |
(eval $ac_compile) 2>&5 |
2826 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2827 |
> |
(eval $ac_compile) 2>conftest.er1 |
2828 |
|
ac_status=$? |
2829 |
< |
echo "$as_me:2025: \$? = $ac_status" >&5 |
2829 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2830 |
> |
rm -f conftest.er1 |
2831 |
> |
cat conftest.err >&5 |
2832 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2833 |
|
(exit $ac_status); } && |
2834 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2835 |
< |
{ (eval echo "$as_me:2028: \"$ac_try\"") >&5 |
2834 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2835 |
> |
|| test ! -s conftest.err' |
2836 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2837 |
|
(eval $ac_try) 2>&5 |
2838 |
|
ac_status=$? |
2839 |
< |
echo "$as_me:2031: \$? = $ac_status" >&5 |
2839 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2840 |
> |
(exit $ac_status); }; } && |
2841 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2842 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2843 |
> |
(eval $ac_try) 2>&5 |
2844 |
> |
ac_status=$? |
2845 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2846 |
|
(exit $ac_status); }; }; then |
2847 |
|
ac_compiler_gnu=yes |
2848 |
|
else |
2849 |
|
echo "$as_me: failed program was:" >&5 |
2850 |
< |
cat conftest.$ac_ext >&5 |
2850 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2851 |
> |
|
2852 |
|
ac_compiler_gnu=no |
2853 |
|
fi |
2854 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2854 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2855 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2856 |
|
|
2857 |
|
fi |
2858 |
< |
echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5 |
2858 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2859 |
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
2860 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2861 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2862 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
2863 |
|
CXXFLAGS="-g" |
2864 |
< |
echo "$as_me:2049: checking whether $CXX accepts -g" >&5 |
2864 |
> |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2865 |
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
2866 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2867 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2868 |
|
else |
2869 |
|
cat >conftest.$ac_ext <<_ACEOF |
2870 |
< |
#line 2055 "configure" |
2871 |
< |
#include "confdefs.h" |
2870 |
> |
/* confdefs.h. */ |
2871 |
> |
_ACEOF |
2872 |
> |
cat confdefs.h >>conftest.$ac_ext |
2873 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2874 |
> |
/* end confdefs.h. */ |
2875 |
|
|
2876 |
|
int |
2877 |
|
main () |
2882 |
|
} |
2883 |
|
_ACEOF |
2884 |
|
rm -f conftest.$ac_objext |
2885 |
< |
if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5 |
2886 |
< |
(eval $ac_compile) 2>&5 |
2885 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2886 |
> |
(eval $ac_compile) 2>conftest.er1 |
2887 |
|
ac_status=$? |
2888 |
< |
echo "$as_me:2070: \$? = $ac_status" >&5 |
2888 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2889 |
> |
rm -f conftest.er1 |
2890 |
> |
cat conftest.err >&5 |
2891 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2892 |
|
(exit $ac_status); } && |
2893 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2894 |
< |
{ (eval echo "$as_me:2073: \"$ac_try\"") >&5 |
2893 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2894 |
> |
|| test ! -s conftest.err' |
2895 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2896 |
|
(eval $ac_try) 2>&5 |
2897 |
|
ac_status=$? |
2898 |
< |
echo "$as_me:2076: \$? = $ac_status" >&5 |
2898 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2899 |
> |
(exit $ac_status); }; } && |
2900 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2901 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2902 |
> |
(eval $ac_try) 2>&5 |
2903 |
> |
ac_status=$? |
2904 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2905 |
|
(exit $ac_status); }; }; then |
2906 |
|
ac_cv_prog_cxx_g=yes |
2907 |
|
else |
2908 |
|
echo "$as_me: failed program was:" >&5 |
2909 |
< |
cat conftest.$ac_ext >&5 |
2909 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2910 |
> |
|
2911 |
|
ac_cv_prog_cxx_g=no |
2912 |
|
fi |
2913 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2913 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2914 |
|
fi |
2915 |
< |
echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5 |
2915 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2916 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2917 |
|
if test "$ac_test_CXXFLAGS" = set; then |
2918 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
2930 |
|
fi |
2931 |
|
fi |
2932 |
|
for ac_declaration in \ |
2933 |
< |
''\ |
2105 |
< |
'#include <stdlib.h>' \ |
2933 |
> |
'' \ |
2934 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2935 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2936 |
|
'extern "C" void exit (int) throw ();' \ |
2938 |
|
'void exit (int);' |
2939 |
|
do |
2940 |
|
cat >conftest.$ac_ext <<_ACEOF |
2941 |
< |
#line 2113 "configure" |
2942 |
< |
#include "confdefs.h" |
2943 |
< |
#include <stdlib.h> |
2941 |
> |
/* confdefs.h. */ |
2942 |
> |
_ACEOF |
2943 |
> |
cat confdefs.h >>conftest.$ac_ext |
2944 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2945 |
> |
/* end confdefs.h. */ |
2946 |
|
$ac_declaration |
2947 |
+ |
#include <stdlib.h> |
2948 |
|
int |
2949 |
|
main () |
2950 |
|
{ |
2954 |
|
} |
2955 |
|
_ACEOF |
2956 |
|
rm -f conftest.$ac_objext |
2957 |
< |
if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5 |
2958 |
< |
(eval $ac_compile) 2>&5 |
2957 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2958 |
> |
(eval $ac_compile) 2>conftest.er1 |
2959 |
|
ac_status=$? |
2960 |
< |
echo "$as_me:2129: \$? = $ac_status" >&5 |
2960 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
2961 |
> |
rm -f conftest.er1 |
2962 |
> |
cat conftest.err >&5 |
2963 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2964 |
|
(exit $ac_status); } && |
2965 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2966 |
< |
{ (eval echo "$as_me:2132: \"$ac_try\"") >&5 |
2965 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2966 |
> |
|| test ! -s conftest.err' |
2967 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2968 |
|
(eval $ac_try) 2>&5 |
2969 |
|
ac_status=$? |
2970 |
< |
echo "$as_me:2135: \$? = $ac_status" >&5 |
2970 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2971 |
> |
(exit $ac_status); }; } && |
2972 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2973 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2974 |
> |
(eval $ac_try) 2>&5 |
2975 |
> |
ac_status=$? |
2976 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2977 |
|
(exit $ac_status); }; }; then |
2978 |
|
: |
2979 |
|
else |
2980 |
|
echo "$as_me: failed program was:" >&5 |
2981 |
< |
cat conftest.$ac_ext >&5 |
2981 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
2982 |
> |
|
2983 |
|
continue |
2984 |
|
fi |
2985 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2985 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2986 |
|
cat >conftest.$ac_ext <<_ACEOF |
2987 |
< |
#line 2145 "configure" |
2988 |
< |
#include "confdefs.h" |
2987 |
> |
/* confdefs.h. */ |
2988 |
> |
_ACEOF |
2989 |
> |
cat confdefs.h >>conftest.$ac_ext |
2990 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
2991 |
> |
/* end confdefs.h. */ |
2992 |
|
$ac_declaration |
2993 |
|
int |
2994 |
|
main () |
2999 |
|
} |
3000 |
|
_ACEOF |
3001 |
|
rm -f conftest.$ac_objext |
3002 |
< |
if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5 |
3003 |
< |
(eval $ac_compile) 2>&5 |
3002 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3003 |
> |
(eval $ac_compile) 2>conftest.er1 |
3004 |
|
ac_status=$? |
3005 |
< |
echo "$as_me:2160: \$? = $ac_status" >&5 |
3005 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3006 |
> |
rm -f conftest.er1 |
3007 |
> |
cat conftest.err >&5 |
3008 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3009 |
|
(exit $ac_status); } && |
3010 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3011 |
< |
{ (eval echo "$as_me:2163: \"$ac_try\"") >&5 |
3010 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3011 |
> |
|| test ! -s conftest.err' |
3012 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3013 |
|
(eval $ac_try) 2>&5 |
3014 |
|
ac_status=$? |
3015 |
< |
echo "$as_me:2166: \$? = $ac_status" >&5 |
3015 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3016 |
> |
(exit $ac_status); }; } && |
3017 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3018 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3019 |
> |
(eval $ac_try) 2>&5 |
3020 |
> |
ac_status=$? |
3021 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3022 |
|
(exit $ac_status); }; }; then |
3023 |
|
break |
3024 |
|
else |
3025 |
|
echo "$as_me: failed program was:" >&5 |
3026 |
< |
cat conftest.$ac_ext >&5 |
3026 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3027 |
> |
|
3028 |
|
fi |
3029 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3029 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3030 |
|
done |
3031 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
3032 |
< |
echo $ac_declaration >>confdefs.h |
3033 |
< |
echo '#endif' >>confdefs.h |
3031 |
> |
rm -f conftest* |
3032 |
> |
if test -n "$ac_declaration"; then |
3033 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
3034 |
> |
echo $ac_declaration >>confdefs.h |
3035 |
> |
echo '#endif' >>confdefs.h |
3036 |
> |
fi |
3037 |
|
|
3038 |
|
ac_ext=c |
3039 |
|
ac_cpp='$CPP $CPPFLAGS' |
3041 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3042 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3043 |
|
|
3044 |
+ |
|
3045 |
|
OOPSE_TEMPLATE_FLAGS="" |
3046 |
|
if test $ac_cv_cxx_compiler_gnu = no; then |
3047 |
< |
echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
3047 |
> |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
3048 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6 |
3049 |
|
echo 'void f(){}' > conftest.cc |
3050 |
|
if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then |
3051 |
< |
echo "$as_me:2191: result: yes" >&5 |
3051 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3052 |
|
echo "${ECHO_T}yes" >&6 |
3053 |
|
OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink" |
3054 |
|
else |
3055 |
< |
echo "$as_me:2195: result: no" >&5 |
3055 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3056 |
|
echo "${ECHO_T}no" >&6 |
3057 |
|
fi |
3058 |
|
rm -f conftest* |
3059 |
< |
echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5 |
3059 |
> |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5 |
3060 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6 |
3061 |
|
echo 'void f(){}' > conftest.cc |
3062 |
|
if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then |
3063 |
< |
echo "$as_me:2203: result: yes" >&5 |
3063 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3064 |
|
echo "${ECHO_T}yes" >&6 |
3065 |
|
OOPSE_TEMPLATE_FLAGS="-instances=static" |
3066 |
|
else |
3067 |
< |
echo "$as_me:2207: result: no" >&5 |
3067 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3068 |
|
echo "${ECHO_T}no" >&6 |
3069 |
|
fi |
3070 |
|
rm -f conftest* |
3071 |
< |
echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5 |
3071 |
> |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5 |
3072 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6 |
3073 |
|
echo 'void f(){}' > conftest.cc |
3074 |
|
if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then |
3075 |
< |
echo "$as_me:2215: result: yes" >&5 |
3075 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3076 |
|
echo "${ECHO_T}yes" >&6 |
3077 |
|
OOPSE_TEMPLATE_FLAGS="-pto" |
3078 |
|
else |
3079 |
< |
echo "$as_me:2219: result: no" >&5 |
3079 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3080 |
|
echo "${ECHO_T}no" >&6 |
3081 |
|
fi |
3082 |
|
rm -f conftest* |
3083 |
< |
echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5 |
3083 |
> |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5 |
3084 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6 |
3085 |
|
echo 'void f(){}' > conftest.cc |
3086 |
|
if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then |
3087 |
< |
echo "$as_me:2227: result: yes" >&5 |
3087 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3088 |
|
echo "${ECHO_T}yes" >&6 |
3089 |
|
|
3090 |
+ |
|
3091 |
|
EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std" |
3092 |
|
else |
3093 |
< |
echo "$as_me:2232: result: no" >&5 |
3093 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3094 |
|
echo "${ECHO_T}no" >&6 |
3095 |
|
fi |
3096 |
|
fi |
3097 |
|
|
3098 |
+ |
|
3099 |
+ |
|
3100 |
+ |
|
3101 |
|
ac_ext=f90 |
3102 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3103 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3107 |
|
do |
3108 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3109 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3110 |
< |
echo "$as_me:2246: checking for $ac_word" >&5 |
3110 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3111 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3112 |
|
if test "${ac_cv_prog_F90+set}" = set; then |
3113 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3115 |
|
if test -n "$F90"; then |
3116 |
|
ac_cv_prog_F90="$F90" # Let the user override the test. |
3117 |
|
else |
3118 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3119 |
< |
ac_dummy="$PATH" |
3120 |
< |
for ac_dir in $ac_dummy; do |
3121 |
< |
IFS=$ac_save_IFS |
3122 |
< |
test -z "$ac_dir" && ac_dir=. |
3123 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
3124 |
< |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
3125 |
< |
echo "$as_me:2261: found $ac_dir/$ac_word" >&5 |
3126 |
< |
break |
3118 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3119 |
> |
for as_dir in $PATH |
3120 |
> |
do |
3121 |
> |
IFS=$as_save_IFS |
3122 |
> |
test -z "$as_dir" && as_dir=. |
3123 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3124 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3125 |
> |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
3126 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3127 |
> |
break 2 |
3128 |
> |
fi |
3129 |
|
done |
3130 |
+ |
done |
3131 |
|
|
3132 |
|
fi |
3133 |
|
fi |
3134 |
|
F90=$ac_cv_prog_F90 |
3135 |
|
if test -n "$F90"; then |
3136 |
< |
echo "$as_me:2269: result: $F90" >&5 |
3136 |
> |
echo "$as_me:$LINENO: result: $F90" >&5 |
3137 |
|
echo "${ECHO_T}$F90" >&6 |
3138 |
|
else |
3139 |
< |
echo "$as_me:2272: result: no" >&5 |
3139 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3140 |
|
echo "${ECHO_T}no" >&6 |
3141 |
|
fi |
3142 |
|
|
3149 |
|
do |
3150 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3151 |
|
set dummy $ac_prog; ac_word=$2 |
3152 |
< |
echo "$as_me:2285: checking for $ac_word" >&5 |
3152 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3153 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3154 |
|
if test "${ac_cv_prog_ac_ct_F90+set}" = set; then |
3155 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3157 |
|
if test -n "$ac_ct_F90"; then |
3158 |
|
ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. |
3159 |
|
else |
3160 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3161 |
< |
ac_dummy="$PATH" |
3162 |
< |
for ac_dir in $ac_dummy; do |
3163 |
< |
IFS=$ac_save_IFS |
3164 |
< |
test -z "$ac_dir" && ac_dir=. |
3165 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
3166 |
< |
ac_cv_prog_ac_ct_F90="$ac_prog" |
3167 |
< |
echo "$as_me:2300: found $ac_dir/$ac_word" >&5 |
3168 |
< |
break |
3160 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3161 |
> |
for as_dir in $PATH |
3162 |
> |
do |
3163 |
> |
IFS=$as_save_IFS |
3164 |
> |
test -z "$as_dir" && as_dir=. |
3165 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3166 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3167 |
> |
ac_cv_prog_ac_ct_F90="$ac_prog" |
3168 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3169 |
> |
break 2 |
3170 |
> |
fi |
3171 |
|
done |
3172 |
+ |
done |
3173 |
|
|
3174 |
|
fi |
3175 |
|
fi |
3176 |
|
ac_ct_F90=$ac_cv_prog_ac_ct_F90 |
3177 |
|
if test -n "$ac_ct_F90"; then |
3178 |
< |
echo "$as_me:2308: result: $ac_ct_F90" >&5 |
3178 |
> |
echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 |
3179 |
|
echo "${ECHO_T}$ac_ct_F90" >&6 |
3180 |
|
else |
3181 |
< |
echo "$as_me:2311: result: no" >&5 |
3181 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3182 |
|
echo "${ECHO_T}no" >&6 |
3183 |
|
fi |
3184 |
|
|
3188 |
|
F90=$ac_ct_F90 |
3189 |
|
fi |
3190 |
|
|
3191 |
+ |
|
3192 |
|
# If we don't use `.F90' as extension, the preprocessor is not run on the |
3193 |
|
# input file. |
3194 |
|
ac_save_ext=$ac_ext |
3195 |
|
ac_ext=F90 |
3196 |
< |
echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5 |
3196 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 |
3197 |
|
echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 |
3198 |
|
if test "${ac_cv_f90_compiler_gnu+set}" = set; then |
3199 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3210 |
|
|
3211 |
|
_ACEOF |
3212 |
|
rm -f conftest.$ac_objext |
3213 |
< |
if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5 |
3214 |
< |
(eval $ac_compile) 2>&5 |
3213 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3214 |
> |
(eval $ac_compile) 2>conftest.er1 |
3215 |
|
ac_status=$? |
3216 |
< |
echo "$as_me:2345: \$? = $ac_status" >&5 |
3216 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3217 |
> |
rm -f conftest.er1 |
3218 |
> |
cat conftest.err >&5 |
3219 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3220 |
|
(exit $ac_status); } && |
3221 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3222 |
< |
{ (eval echo "$as_me:2348: \"$ac_try\"") >&5 |
3221 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3222 |
> |
|| test ! -s conftest.err' |
3223 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3224 |
|
(eval $ac_try) 2>&5 |
3225 |
|
ac_status=$? |
3226 |
< |
echo "$as_me:2351: \$? = $ac_status" >&5 |
3226 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3227 |
> |
(exit $ac_status); }; } && |
3228 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3229 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3230 |
> |
(eval $ac_try) 2>&5 |
3231 |
> |
ac_status=$? |
3232 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3233 |
|
(exit $ac_status); }; }; then |
3234 |
|
ac_compiler_gnu=yes |
3235 |
|
else |
3236 |
|
echo "$as_me: failed program was:" >&5 |
3237 |
< |
cat conftest.$ac_ext >&5 |
3237 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3238 |
> |
|
3239 |
|
ac_compiler_gnu=no |
3240 |
|
fi |
3241 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3241 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3242 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3243 |
|
|
3244 |
|
fi |
3245 |
< |
echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5 |
3245 |
> |
echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 |
3246 |
|
echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 |
3247 |
|
ac_ext=$ac_save_ext |
3248 |
|
G95=`test $ac_compiler_gnu = yes && echo yes` |
3252 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3253 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3254 |
|
|
3255 |
+ |
|
3256 |
+ |
|
3257 |
+ |
|
3258 |
+ |
|
3259 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
3260 |
|
# for preprocessed f90 source. |
3261 |
|
|
3276 |
|
esac |
3277 |
|
|
3278 |
|
if test -z "$PREPFLAG"; then |
3279 |
< |
{ echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5 |
3279 |
> |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5 |
3280 |
|
echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} |
3281 |
|
PREPFLAG="" |
3282 |
|
fi |
3283 |
|
|
3284 |
< |
echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5 |
3284 |
> |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
3285 |
|
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 |
3286 |
|
|
3287 |
+ |
|
3288 |
|
ac_ext=f90 |
3289 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3290 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3300 |
|
|
3301 |
|
cat >conftest.$ac_ext <<_ACEOF |
3302 |
|
|
3303 |
+ |
|
3304 |
|
program main |
3305 |
|
|
3306 |
|
integer :: i |
3307 |
|
i = 1 |
3308 |
|
|
3309 |
+ |
|
3310 |
|
end program main |
3311 |
|
|
3312 |
|
_ACEOF |
3313 |
|
rm -f conftest.$ac_objext |
3314 |
< |
if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5 |
3315 |
< |
(eval $ac_compile) 2>&5 |
3314 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3315 |
> |
(eval $ac_compile) 2>conftest.er1 |
3316 |
|
ac_status=$? |
3317 |
< |
echo "$as_me:2428: \$? = $ac_status" >&5 |
3317 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3318 |
> |
rm -f conftest.er1 |
3319 |
> |
cat conftest.err >&5 |
3320 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3321 |
|
(exit $ac_status); } && |
3322 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3323 |
< |
{ (eval echo "$as_me:2431: \"$ac_try\"") >&5 |
3322 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3323 |
> |
|| test ! -s conftest.err' |
3324 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3325 |
|
(eval $ac_try) 2>&5 |
3326 |
|
ac_status=$? |
3327 |
< |
echo "$as_me:2434: \$? = $ac_status" >&5 |
3327 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3328 |
> |
(exit $ac_status); }; } && |
3329 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3330 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3331 |
> |
(eval $ac_try) 2>&5 |
3332 |
> |
ac_status=$? |
3333 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3334 |
|
(exit $ac_status); }; }; then |
3335 |
|
prepflagworks=1 |
3336 |
|
else |
3337 |
|
echo "$as_me: failed program was:" >&5 |
3338 |
< |
cat conftest.$ac_ext >&5 |
3338 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3339 |
> |
|
3340 |
|
prepflagworks=0 |
3341 |
|
fi |
3342 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3342 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3343 |
|
|
3344 |
|
F90FLAGS=$ac_save_F90FLAGS |
3345 |
|
ac_ext=$ac_save_ext |
3349 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3350 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3351 |
|
|
3352 |
+ |
|
3353 |
|
if test "$prepflagworks" = 1; then |
3354 |
< |
echo "$as_me:2453: result: yes" >&5 |
3354 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3355 |
|
echo "${ECHO_T}yes" >&6 |
3356 |
|
|
3357 |
|
else |
3358 |
< |
echo "$as_me:2457: result: no" >&5 |
3358 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3359 |
|
echo "${ECHO_T}no" >&6 |
3360 |
< |
{ { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
3360 |
> |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
3361 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
3362 |
|
{ (exit 1); exit 1; }; } |
3363 |
|
fi |
3364 |
|
fi |
3365 |
|
|
3366 |
+ |
|
3367 |
+ |
|
3368 |
+ |
|
3369 |
+ |
|
3370 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
3371 |
|
# for preprocessed f90 source with -D type defines |
3372 |
|
|
3387 |
|
esac |
3388 |
|
|
3389 |
|
if test -z "$PREPDEFFLAG"; then |
3390 |
< |
{ echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
3390 |
> |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
3391 |
|
echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} |
3392 |
|
PREPDEFFLAG=" " |
3393 |
|
fi |
3394 |
|
|
3395 |
< |
echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5 |
3395 |
> |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
3396 |
|
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 |
3397 |
|
|
3398 |
+ |
|
3399 |
|
ac_ext=f90 |
3400 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3401 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3411 |
|
|
3412 |
|
cat >conftest.$ac_ext <<_ACEOF |
3413 |
|
|
3414 |
+ |
|
3415 |
|
program main |
3416 |
|
|
3417 |
|
integer :: i |
3421 |
|
choke me |
3422 |
|
#endif |
3423 |
|
|
3424 |
+ |
|
3425 |
|
end program main |
3426 |
|
|
3427 |
|
_ACEOF |
3428 |
|
rm -f conftest.$ac_objext |
3429 |
< |
if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5 |
3430 |
< |
(eval $ac_compile) 2>&5 |
3429 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3430 |
> |
(eval $ac_compile) 2>conftest.er1 |
3431 |
|
ac_status=$? |
3432 |
< |
echo "$as_me:2524: \$? = $ac_status" >&5 |
3432 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3433 |
> |
rm -f conftest.er1 |
3434 |
> |
cat conftest.err >&5 |
3435 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3436 |
|
(exit $ac_status); } && |
3437 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3438 |
< |
{ (eval echo "$as_me:2527: \"$ac_try\"") >&5 |
3437 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3438 |
> |
|| test ! -s conftest.err' |
3439 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3440 |
|
(eval $ac_try) 2>&5 |
3441 |
|
ac_status=$? |
3442 |
< |
echo "$as_me:2530: \$? = $ac_status" >&5 |
3442 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3443 |
> |
(exit $ac_status); }; } && |
3444 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3445 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3446 |
> |
(eval $ac_try) 2>&5 |
3447 |
> |
ac_status=$? |
3448 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3449 |
|
(exit $ac_status); }; }; then |
3450 |
|
prepdefflagworks=1 |
3451 |
|
else |
3452 |
|
echo "$as_me: failed program was:" >&5 |
3453 |
< |
cat conftest.$ac_ext >&5 |
3453 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3454 |
> |
|
3455 |
|
prepdefflagworks=0 |
3456 |
|
fi |
3457 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3457 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3458 |
|
|
3459 |
|
F90FLAGS=$ac_save_F90FLAGS |
3460 |
|
ac_ext=$ac_save_ext |
3464 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3465 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3466 |
|
|
3467 |
+ |
|
3468 |
+ |
|
3469 |
|
if test "$prepdefflagworks" = 1; then |
3470 |
< |
echo "$as_me:2549: result: yes" >&5 |
3470 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
3471 |
|
echo "${ECHO_T}yes" >&6 |
3472 |
|
|
3473 |
|
else |
3474 |
< |
echo "$as_me:2553: result: no" >&5 |
3474 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
3475 |
|
echo "${ECHO_T}no" >&6 |
3476 |
< |
{ { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
3476 |
> |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
3477 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
3478 |
|
{ (exit 1); exit 1; }; } |
3479 |
|
fi |
3484 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3485 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3486 |
|
|
3487 |
+ |
|
3488 |
+ |
|
3489 |
|
ac_ext=f90 |
3490 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3491 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3492 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3493 |
< |
echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5 |
3493 |
> |
echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 |
3494 |
|
echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 |
3495 |
|
if test "${ac_cv_prog_f90_v+set}" = set; then |
3496 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3500 |
|
|
3501 |
|
program main |
3502 |
|
|
3503 |
+ |
|
3504 |
|
end program main |
3505 |
|
|
3506 |
|
_ACEOF |
3507 |
|
rm -f conftest.$ac_objext |
3508 |
< |
if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5 |
3509 |
< |
(eval $ac_compile) 2>&5 |
3510 |
< |
ac_status=$? |
3511 |
< |
echo "$as_me:2587: \$? = $ac_status" >&5 |
3508 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3509 |
> |
(eval $ac_compile) 2>conftest.er1 |
3510 |
> |
ac_status=$? |
3511 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3512 |
> |
rm -f conftest.er1 |
3513 |
> |
cat conftest.err >&5 |
3514 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3515 |
|
(exit $ac_status); } && |
3516 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3517 |
< |
{ (eval echo "$as_me:2590: \"$ac_try\"") >&5 |
3516 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3517 |
> |
|| test ! -s conftest.err' |
3518 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3519 |
|
(eval $ac_try) 2>&5 |
3520 |
|
ac_status=$? |
3521 |
< |
echo "$as_me:2593: \$? = $ac_status" >&5 |
3521 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3522 |
> |
(exit $ac_status); }; } && |
3523 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3524 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3525 |
> |
(eval $ac_try) 2>&5 |
3526 |
> |
ac_status=$? |
3527 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3528 |
|
(exit $ac_status); }; }; then |
3529 |
|
ac_cv_prog_f90_v= |
3530 |
|
# Try some options frequently used verbose output |
3538 |
|
|
3539 |
|
program main |
3540 |
|
|
3541 |
+ |
|
3542 |
|
end program main |
3543 |
|
|
3544 |
|
_ACEOF |
3550 |
|
ac_save_F90FLAGS=$F90FLAGS |
3551 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3552 |
|
|
3553 |
< |
(eval echo $as_me:2618: \"$ac_link\") >&5 |
3553 |
> |
(eval echo $as_me:3553: \"$ac_link\") >&5 |
3554 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3555 |
|
echo "$ac_f90_v_output" >&5 |
3556 |
|
F90FLAGS=$ac_save_F90FLAGS |
3582 |
|
done |
3583 |
|
done |
3584 |
|
if test -z "$ac_cv_prog_f90_v"; then |
3585 |
< |
{ echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
3585 |
> |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
3586 |
|
echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} |
3587 |
|
fi |
3588 |
|
else |
3589 |
|
echo "$as_me: failed program was:" >&5 |
3590 |
< |
cat conftest.$ac_ext >&5 |
3591 |
< |
{ echo "$as_me:2656: WARNING: compilation failed" >&5 |
3590 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3591 |
> |
|
3592 |
> |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3593 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3594 |
|
fi |
3595 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3595 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3596 |
|
|
3597 |
|
fi |
3598 |
< |
echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5 |
3598 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3599 |
|
echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 |
3600 |
< |
echo "$as_me:2664: checking for Fortran 90 libraries" >&5 |
3600 |
> |
echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 |
3601 |
|
echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 |
3602 |
|
if test "${ac_cv_flibs+set}" = set; then |
3603 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3615 |
|
|
3616 |
|
program main |
3617 |
|
|
3618 |
+ |
|
3619 |
|
end program main |
3620 |
|
|
3621 |
|
_ACEOF |
3627 |
|
ac_save_F90FLAGS=$F90FLAGS |
3628 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3629 |
|
|
3630 |
< |
(eval echo $as_me:2693: \"$ac_link\") >&5 |
3630 |
> |
(eval echo $as_me:3630: \"$ac_link\") >&5 |
3631 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3632 |
|
echo "$ac_f90_v_output" >&5 |
3633 |
|
F90FLAGS=$ac_save_F90FLAGS |
3780 |
|
fi # test "x$F90LIBS" = "x" |
3781 |
|
|
3782 |
|
fi |
3783 |
< |
echo "$as_me:2846: result: $ac_cv_flibs" >&5 |
3783 |
> |
echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 |
3784 |
|
echo "${ECHO_T}$ac_cv_flibs" >&6 |
3785 |
|
F90LIBS="$ac_cv_f90libs" |
3786 |
|
|
3789 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3790 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3791 |
|
|
3792 |
< |
echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5 |
3792 |
> |
|
3793 |
> |
echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 |
3794 |
|
echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 |
3795 |
|
if test "${ac_cv_f90_mangling+set}" = set; then |
3796 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3808 |
|
end |
3809 |
|
_ACEOF |
3810 |
|
rm -f conftest.$ac_objext |
3811 |
< |
if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5 |
3812 |
< |
(eval $ac_compile) 2>&5 |
3811 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3812 |
> |
(eval $ac_compile) 2>conftest.er1 |
3813 |
|
ac_status=$? |
3814 |
< |
echo "$as_me:2876: \$? = $ac_status" >&5 |
3814 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3815 |
> |
rm -f conftest.er1 |
3816 |
> |
cat conftest.err >&5 |
3817 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3818 |
|
(exit $ac_status); } && |
3819 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3820 |
< |
{ (eval echo "$as_me:2879: \"$ac_try\"") >&5 |
3819 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3820 |
> |
|| test ! -s conftest.err' |
3821 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3822 |
|
(eval $ac_try) 2>&5 |
3823 |
|
ac_status=$? |
3824 |
< |
echo "$as_me:2882: \$? = $ac_status" >&5 |
3824 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3825 |
> |
(exit $ac_status); }; } && |
3826 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3827 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3828 |
> |
(eval $ac_try) 2>&5 |
3829 |
> |
ac_status=$? |
3830 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3831 |
|
(exit $ac_status); }; }; then |
3832 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
3833 |
|
|
3845 |
|
for ac_underscore in "" "_"; do |
3846 |
|
ac_func="$ac_foobar$ac_underscore" |
3847 |
|
cat >conftest.$ac_ext <<_ACEOF |
3848 |
< |
#line 2900 "configure" |
3849 |
< |
#include "confdefs.h" |
3848 |
> |
/* confdefs.h. */ |
3849 |
> |
_ACEOF |
3850 |
> |
cat confdefs.h >>conftest.$ac_ext |
3851 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3852 |
> |
/* end confdefs.h. */ |
3853 |
|
|
3854 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3855 |
|
#ifdef __cplusplus |
3867 |
|
} |
3868 |
|
_ACEOF |
3869 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3870 |
< |
if { (eval echo "$as_me:2919: \"$ac_link\"") >&5 |
3871 |
< |
(eval $ac_link) 2>&5 |
3870 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3871 |
> |
(eval $ac_link) 2>conftest.er1 |
3872 |
|
ac_status=$? |
3873 |
< |
echo "$as_me:2922: \$? = $ac_status" >&5 |
3873 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3874 |
> |
rm -f conftest.er1 |
3875 |
> |
cat conftest.err >&5 |
3876 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3877 |
|
(exit $ac_status); } && |
3878 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3879 |
< |
{ (eval echo "$as_me:2925: \"$ac_try\"") >&5 |
3878 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3879 |
> |
|| test ! -s conftest.err' |
3880 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3881 |
|
(eval $ac_try) 2>&5 |
3882 |
|
ac_status=$? |
3883 |
< |
echo "$as_me:2928: \$? = $ac_status" >&5 |
3883 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3884 |
> |
(exit $ac_status); }; } && |
3885 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3886 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3887 |
> |
(eval $ac_try) 2>&5 |
3888 |
> |
ac_status=$? |
3889 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3890 |
|
(exit $ac_status); }; }; then |
3891 |
|
ac_success=yes; break 2 |
3892 |
|
else |
3893 |
|
echo "$as_me: failed program was:" >&5 |
3894 |
< |
cat conftest.$ac_ext >&5 |
3894 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3895 |
> |
|
3896 |
|
fi |
3897 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3897 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3898 |
> |
conftest$ac_exeext conftest.$ac_ext |
3899 |
|
done |
3900 |
|
done |
3901 |
|
|
3916 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3917 |
|
|
3918 |
|
cat >conftest.$ac_ext <<_ACEOF |
3919 |
< |
#line 2956 "configure" |
3920 |
< |
#include "confdefs.h" |
3919 |
> |
/* confdefs.h. */ |
3920 |
> |
_ACEOF |
3921 |
> |
cat confdefs.h >>conftest.$ac_ext |
3922 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3923 |
> |
/* end confdefs.h. */ |
3924 |
|
|
3925 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3926 |
|
#ifdef __cplusplus |
3938 |
|
} |
3939 |
|
_ACEOF |
3940 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3941 |
< |
if { (eval echo "$as_me:2975: \"$ac_link\"") >&5 |
3942 |
< |
(eval $ac_link) 2>&5 |
3941 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3942 |
> |
(eval $ac_link) 2>conftest.er1 |
3943 |
|
ac_status=$? |
3944 |
< |
echo "$as_me:2978: \$? = $ac_status" >&5 |
3944 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
3945 |
> |
rm -f conftest.er1 |
3946 |
> |
cat conftest.err >&5 |
3947 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3948 |
|
(exit $ac_status); } && |
3949 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3950 |
< |
{ (eval echo "$as_me:2981: \"$ac_try\"") >&5 |
3949 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3950 |
> |
|| test ! -s conftest.err' |
3951 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3952 |
|
(eval $ac_try) 2>&5 |
3953 |
|
ac_status=$? |
3954 |
< |
echo "$as_me:2984: \$? = $ac_status" >&5 |
3954 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3955 |
> |
(exit $ac_status); }; } && |
3956 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3957 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3958 |
> |
(eval $ac_try) 2>&5 |
3959 |
> |
ac_status=$? |
3960 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3961 |
|
(exit $ac_status); }; }; then |
3962 |
|
ac_success_extra=yes; break |
3963 |
|
else |
3964 |
|
echo "$as_me: failed program was:" >&5 |
3965 |
< |
cat conftest.$ac_ext >&5 |
3965 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3966 |
> |
|
3967 |
|
fi |
3968 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3968 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3969 |
> |
conftest$ac_exeext conftest.$ac_ext |
3970 |
|
done |
3971 |
|
|
3972 |
|
if test "$ac_success_extra" = "yes"; then |
3998 |
|
rm -f cf90_test* conftest* |
3999 |
|
else |
4000 |
|
echo "$as_me: failed program was:" >&5 |
4001 |
< |
cat conftest.$ac_ext >&5 |
4001 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4002 |
> |
|
4003 |
|
fi |
4004 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4004 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4005 |
|
ac_ext=f90 |
4006 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4007 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4008 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4009 |
|
|
4010 |
|
fi |
4011 |
< |
echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5 |
4011 |
> |
echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 |
4012 |
|
echo "${ECHO_T}$ac_cv_f90_mangling" >&6 |
4013 |
|
|
4014 |
+ |
|
4015 |
+ |
|
4016 |
|
case $ac_cv_f90_mangling in |
4017 |
|
"lower case, no underscore, no extra underscore") |
4018 |
< |
cat >>confdefs.h <<\EOF |
4018 |
> |
cat >>confdefs.h <<\_ACEOF |
4019 |
|
#define F90_FUNC(name,NAME) name |
4020 |
< |
EOF |
4020 |
> |
_ACEOF |
4021 |
|
|
4022 |
< |
cat >>confdefs.h <<\EOF |
4022 |
> |
cat >>confdefs.h <<\_ACEOF |
4023 |
|
#define F90_FUNC_(name,NAME) name |
4024 |
< |
EOF |
4024 |
> |
_ACEOF |
4025 |
|
;; |
4026 |
|
"lower case, no underscore, extra underscore") |
4027 |
< |
cat >>confdefs.h <<\EOF |
4027 |
> |
cat >>confdefs.h <<\_ACEOF |
4028 |
|
#define F90_FUNC(name,NAME) name |
4029 |
< |
EOF |
4029 |
> |
_ACEOF |
4030 |
|
|
4031 |
< |
cat >>confdefs.h <<\EOF |
4031 |
> |
cat >>confdefs.h <<\_ACEOF |
4032 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4033 |
< |
EOF |
4033 |
> |
_ACEOF |
4034 |
|
;; |
4035 |
|
"lower case, underscore, no extra underscore") |
4036 |
< |
cat >>confdefs.h <<\EOF |
4036 |
> |
cat >>confdefs.h <<\_ACEOF |
4037 |
|
#define F90_FUNC(name,NAME) name ## _ |
4038 |
< |
EOF |
4038 |
> |
_ACEOF |
4039 |
|
|
4040 |
< |
cat >>confdefs.h <<\EOF |
4040 |
> |
cat >>confdefs.h <<\_ACEOF |
4041 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4042 |
< |
EOF |
4042 |
> |
_ACEOF |
4043 |
|
;; |
4044 |
|
"lower case, underscore, extra underscore") |
4045 |
< |
cat >>confdefs.h <<\EOF |
4045 |
> |
cat >>confdefs.h <<\_ACEOF |
4046 |
|
#define F90_FUNC(name,NAME) name ## _ |
4047 |
< |
EOF |
4047 |
> |
_ACEOF |
4048 |
|
|
4049 |
< |
cat >>confdefs.h <<\EOF |
4049 |
> |
cat >>confdefs.h <<\_ACEOF |
4050 |
|
#define F90_FUNC_(name,NAME) name ## __ |
4051 |
< |
EOF |
4051 |
> |
_ACEOF |
4052 |
|
;; |
4053 |
|
"upper case, no underscore, no extra underscore") |
4054 |
< |
cat >>confdefs.h <<\EOF |
4054 |
> |
cat >>confdefs.h <<\_ACEOF |
4055 |
|
#define F90_FUNC(name,NAME) NAME |
4056 |
< |
EOF |
4056 |
> |
_ACEOF |
4057 |
|
|
4058 |
< |
cat >>confdefs.h <<\EOF |
4058 |
> |
cat >>confdefs.h <<\_ACEOF |
4059 |
|
#define F90_FUNC_(name,NAME) NAME |
4060 |
< |
EOF |
4060 |
> |
_ACEOF |
4061 |
|
;; |
4062 |
|
"upper case, no underscore, extra underscore") |
4063 |
< |
cat >>confdefs.h <<\EOF |
4063 |
> |
cat >>confdefs.h <<\_ACEOF |
4064 |
|
#define F90_FUNC(name,NAME) NAME |
4065 |
< |
EOF |
4065 |
> |
_ACEOF |
4066 |
|
|
4067 |
< |
cat >>confdefs.h <<\EOF |
4067 |
> |
cat >>confdefs.h <<\_ACEOF |
4068 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4069 |
< |
EOF |
4069 |
> |
_ACEOF |
4070 |
|
;; |
4071 |
|
"upper case, underscore, no extra underscore") |
4072 |
< |
cat >>confdefs.h <<\EOF |
4072 |
> |
cat >>confdefs.h <<\_ACEOF |
4073 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4074 |
< |
EOF |
4074 |
> |
_ACEOF |
4075 |
|
|
4076 |
< |
cat >>confdefs.h <<\EOF |
4076 |
> |
cat >>confdefs.h <<\_ACEOF |
4077 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4078 |
< |
EOF |
4078 |
> |
_ACEOF |
4079 |
|
;; |
4080 |
|
"upper case, underscore, extra underscore") |
4081 |
< |
cat >>confdefs.h <<\EOF |
4081 |
> |
cat >>confdefs.h <<\_ACEOF |
4082 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4083 |
< |
EOF |
4083 |
> |
_ACEOF |
4084 |
|
|
4085 |
< |
cat >>confdefs.h <<\EOF |
4085 |
> |
cat >>confdefs.h <<\_ACEOF |
4086 |
|
#define F90_FUNC_(name,NAME) NAME ## __ |
4087 |
< |
EOF |
4087 |
> |
_ACEOF |
4088 |
|
;; |
4089 |
|
*) |
4090 |
< |
{ echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4090 |
> |
{ echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4091 |
|
echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} |
4092 |
|
;; |
4093 |
|
esac |
4094 |
|
|
4095 |
< |
echo "$as_me:3114: checking for module suffix" >&5 |
4095 |
> |
|
4096 |
> |
|
4097 |
> |
|
4098 |
> |
|
4099 |
> |
echo "$as_me:$LINENO: checking for module suffix" >&5 |
4100 |
|
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 |
4101 |
|
rm -f conftest* |
4102 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
4123 |
|
fi |
4124 |
|
fi |
4125 |
|
if test -z "$MOD" ; then |
4126 |
< |
echo "$as_me:3141: result: unknown" >&5 |
4126 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
4127 |
|
echo "${ECHO_T}unknown" >&6 |
4128 |
|
# Use mod if we can't figure it out |
4129 |
|
MOD="mod" |
4130 |
|
else |
4131 |
< |
echo "$as_me:3146: result: $MOD" >&5 |
4131 |
> |
echo "$as_me:$LINENO: result: $MOD" >&5 |
4132 |
|
echo "${ECHO_T}$MOD" >&6 |
4133 |
|
fi |
4134 |
|
if test -s work.pcl ; then |
4135 |
< |
{ echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5 |
4135 |
> |
{ echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 |
4136 |
|
echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
4137 |
|
fi |
4138 |
|
else |
4139 |
< |
echo "$as_me:3154: result: unknown" >&5 |
4139 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
4140 |
|
echo "${ECHO_T}unknown" >&6 |
4141 |
|
fi |
4142 |
|
|
4143 |
+ |
|
4144 |
+ |
|
4145 |
+ |
|
4146 |
+ |
|
4147 |
|
# Check for module include path (some use -I, some (Solaris) use -M, some |
4148 |
|
# (absoft) use -p). |
4149 |
|
# Intel compilers use a wierd system: -cl,filename.pcl . If no file is |
4150 |
|
# specified, work.pcl and work.pc are created. However, if you specify |
4151 |
|
# a file, it must contain a the name of a file ending in .pc . Ugh! |
4152 |
|
# Use the module made above |
4153 |
< |
echo "$as_me:3164: checking for module directory path flag" >&5 |
4153 |
> |
echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
4154 |
|
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 |
4155 |
|
rm -f conftest* |
4156 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
4184 |
|
if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then |
4185 |
|
MODDIRFLAG="-I" |
4186 |
|
F90MODINCSPEC="-I<dir>" |
4187 |
< |
echo "$as_me:3198: result: -I" >&5 |
4187 |
> |
echo "$as_me:$LINENO: result: -I" >&5 |
4188 |
|
echo "${ECHO_T}-I" >&6 |
4189 |
|
elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then |
4190 |
|
MODDIRFLAG="-M" |
4191 |
|
F90MODINCSPEC="-M<dir>" |
4192 |
< |
echo "$as_me:3203: result: -M" >&5 |
4192 |
> |
echo "$as_me:$LINENO: result: -M" >&5 |
4193 |
|
echo "${ECHO_T}-M" >&6 |
4194 |
|
elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then |
4195 |
|
MODDIRFLAG="-p" |
4196 |
|
F90MODINCSPEC="-p<dir>" |
4197 |
< |
echo "$as_me:3208: result: -p" >&5 |
4197 |
> |
echo "$as_me:$LINENO: result: -p" >&5 |
4198 |
|
echo "${ECHO_T}-p" >&6 |
4199 |
|
elif test -s work.pc ; then |
4200 |
|
cp work.pc conf/mpimod.pc |
4202 |
|
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl |
4203 |
|
if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then |
4204 |
|
MODDIRFLAG='-cl,mpimod.pcl' |
4205 |
< |
echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5 |
4205 |
> |
echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
4206 |
|
echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 |
4207 |
|
F90_WORK_FILES_ARG="-cl,mpimod.pcl" |
4208 |
|
F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" |
4215 |
|
fi |
4216 |
|
fi |
4217 |
|
if test -z "MODDIRFLAG" ; then |
4218 |
< |
echo "$as_me:3229: result: unknown" >&5 |
4218 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
4219 |
|
echo "${ECHO_T}unknown" >&6 |
4220 |
|
fi |
4221 |
|
|
4222 |
+ |
|
4223 |
|
rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* |
4224 |
|
if test $madedir = 1 ; then rmdir conf ; fi |
4225 |
|
fi |
4226 |
|
|
4227 |
< |
echo "$as_me:3237: checking for Fortran 90 module file names" >&5 |
4227 |
> |
|
4228 |
> |
echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
4229 |
|
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 |
4230 |
|
if test "${ac_cv_f90_module_names+set}" = set; then |
4231 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4243 |
|
END MODULE Bar |
4244 |
|
_ACEOF |
4245 |
|
rm -f conftest.$ac_objext |
4246 |
< |
if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5 |
4247 |
< |
(eval $ac_compile) 2>&5 |
4246 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4247 |
> |
(eval $ac_compile) 2>conftest.er1 |
4248 |
|
ac_status=$? |
4249 |
< |
echo "$as_me:3258: \$? = $ac_status" >&5 |
4249 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4250 |
> |
rm -f conftest.er1 |
4251 |
> |
cat conftest.err >&5 |
4252 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4253 |
|
(exit $ac_status); } && |
4254 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4255 |
< |
{ (eval echo "$as_me:3261: \"$ac_try\"") >&5 |
4254 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
4255 |
> |
|| test ! -s conftest.err' |
4256 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4257 |
|
(eval $ac_try) 2>&5 |
4258 |
|
ac_status=$? |
4259 |
< |
echo "$as_me:3264: \$? = $ac_status" >&5 |
4259 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4260 |
> |
(exit $ac_status); }; } && |
4261 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4262 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4263 |
> |
(eval $ac_try) 2>&5 |
4264 |
> |
ac_status=$? |
4265 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4266 |
|
(exit $ac_status); }; }; then |
4267 |
|
ac_cv_f90_module_names= |
4268 |
|
ac_file_list=* |
4345 |
|
;; |
4346 |
|
# Other files - we have no idea how they are generated |
4347 |
|
*) |
4348 |
< |
{ echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5 |
4348 |
> |
{ echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 |
4349 |
|
echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} |
4350 |
|
;; |
4351 |
|
esac |
4352 |
|
done |
4353 |
|
if test "x$ac_cv_f90_module_names" = "x"; then |
4354 |
< |
{ echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5 |
4354 |
> |
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4355 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4356 |
|
fi |
4357 |
|
|
4358 |
|
else |
4359 |
|
echo "$as_me: failed program was:" >&5 |
4360 |
< |
cat conftest.$ac_ext >&5 |
4360 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4361 |
> |
|
4362 |
|
ac_cv_f90_module_names= |
4363 |
< |
{ echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5 |
4363 |
> |
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4364 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4365 |
|
fi |
4366 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4366 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4367 |
|
cd .. |
4368 |
|
# cleanup |
4369 |
|
rm -rf conftest |
4373 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4374 |
|
|
4375 |
|
fi |
4376 |
< |
echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5 |
4376 |
> |
echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
4377 |
|
echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK |
4378 |
|
|
4379 |
|
# We now generate a shell script that will help us to figure out the correct |
4458 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4459 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4460 |
|
|
4461 |
+ |
|
4462 |
|
ac_ext=c |
4463 |
|
ac_cpp='$CPP $CPPFLAGS' |
4464 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4470 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4471 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4472 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4473 |
< |
echo "$as_me:3470: checking how to run the C preprocessor" >&5 |
4473 |
> |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4474 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4475 |
|
# On Suns, sometimes $CPP names a directory. |
4476 |
|
if test -n "$CPP" && test -d "$CPP"; then |
4483 |
|
# Double quotes because CPP needs to be expanded |
4484 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4485 |
|
do |
3483 |
– |
# break 2 since there is a loop in there. |
4486 |
|
ac_preproc_ok=false |
4487 |
|
for ac_c_preproc_warn_flag in '' yes |
4488 |
|
do |
4489 |
|
# Use a header file that comes with gcc, so configuring glibc |
4490 |
|
# with a fresh cross-compiler works. |
4491 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4492 |
+ |
# <limits.h> exists even on freestanding compilers. |
4493 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4494 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4495 |
|
cat >conftest.$ac_ext <<_ACEOF |
4496 |
< |
#line 3492 "configure" |
3493 |
< |
#include "confdefs.h" |
3494 |
< |
#include <assert.h> |
3495 |
< |
Syntax error |
4496 |
> |
/* confdefs.h. */ |
4497 |
|
_ACEOF |
4498 |
< |
if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4498 |
> |
cat confdefs.h >>conftest.$ac_ext |
4499 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4500 |
> |
/* end confdefs.h. */ |
4501 |
> |
#ifdef __STDC__ |
4502 |
> |
# include <limits.h> |
4503 |
> |
#else |
4504 |
> |
# include <assert.h> |
4505 |
> |
#endif |
4506 |
> |
Syntax error |
4507 |
> |
_ACEOF |
4508 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4509 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4510 |
|
ac_status=$? |
4511 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4511 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4512 |
|
rm -f conftest.er1 |
4513 |
|
cat conftest.err >&5 |
4514 |
< |
echo "$as_me:3503: \$? = $ac_status" >&5 |
4514 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4515 |
|
(exit $ac_status); } >/dev/null; then |
4516 |
|
if test -s conftest.err; then |
4517 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4518 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4519 |
|
else |
4520 |
|
ac_cpp_err= |
4521 |
|
fi |
4526 |
|
: |
4527 |
|
else |
4528 |
|
echo "$as_me: failed program was:" >&5 |
4529 |
< |
cat conftest.$ac_ext >&5 |
4529 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4530 |
> |
|
4531 |
|
# Broken: fails on valid input. |
4532 |
|
continue |
4533 |
|
fi |
4536 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4537 |
|
# can be detected and how. |
4538 |
|
cat >conftest.$ac_ext <<_ACEOF |
4539 |
< |
#line 3526 "configure" |
4540 |
< |
#include "confdefs.h" |
4539 |
> |
/* confdefs.h. */ |
4540 |
> |
_ACEOF |
4541 |
> |
cat confdefs.h >>conftest.$ac_ext |
4542 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4543 |
> |
/* end confdefs.h. */ |
4544 |
|
#include <ac_nonexistent.h> |
4545 |
|
_ACEOF |
4546 |
< |
if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4546 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4547 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4548 |
|
ac_status=$? |
4549 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4549 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4550 |
|
rm -f conftest.er1 |
4551 |
|
cat conftest.err >&5 |
4552 |
< |
echo "$as_me:3536: \$? = $ac_status" >&5 |
4552 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4553 |
|
(exit $ac_status); } >/dev/null; then |
4554 |
|
if test -s conftest.err; then |
4555 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4556 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4557 |
|
else |
4558 |
|
ac_cpp_err= |
4559 |
|
fi |
4565 |
|
continue |
4566 |
|
else |
4567 |
|
echo "$as_me: failed program was:" >&5 |
4568 |
< |
cat conftest.$ac_ext >&5 |
4568 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4569 |
> |
|
4570 |
|
# Passes both tests. |
4571 |
|
ac_preproc_ok=: |
4572 |
|
break |
4577 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4578 |
|
rm -f conftest.err conftest.$ac_ext |
4579 |
|
if $ac_preproc_ok; then |
4580 |
< |
break 2 |
4580 |
> |
break |
4581 |
|
fi |
4582 |
|
|
4583 |
|
done |
4588 |
|
else |
4589 |
|
ac_cv_prog_CPP=$CPP |
4590 |
|
fi |
4591 |
< |
echo "$as_me:3573: result: $CPP" >&5 |
4591 |
> |
echo "$as_me:$LINENO: result: $CPP" >&5 |
4592 |
|
echo "${ECHO_T}$CPP" >&6 |
4593 |
|
ac_preproc_ok=false |
4594 |
|
for ac_c_preproc_warn_flag in '' yes |
4595 |
|
do |
4596 |
|
# Use a header file that comes with gcc, so configuring glibc |
4597 |
|
# with a fresh cross-compiler works. |
4598 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4599 |
+ |
# <limits.h> exists even on freestanding compilers. |
4600 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4601 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4602 |
|
cat >conftest.$ac_ext <<_ACEOF |
4603 |
< |
#line 3583 "configure" |
3584 |
< |
#include "confdefs.h" |
3585 |
< |
#include <assert.h> |
3586 |
< |
Syntax error |
4603 |
> |
/* confdefs.h. */ |
4604 |
|
_ACEOF |
4605 |
< |
if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4605 |
> |
cat confdefs.h >>conftest.$ac_ext |
4606 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4607 |
> |
/* end confdefs.h. */ |
4608 |
> |
#ifdef __STDC__ |
4609 |
> |
# include <limits.h> |
4610 |
> |
#else |
4611 |
> |
# include <assert.h> |
4612 |
> |
#endif |
4613 |
> |
Syntax error |
4614 |
> |
_ACEOF |
4615 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4616 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4617 |
|
ac_status=$? |
4618 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4618 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4619 |
|
rm -f conftest.er1 |
4620 |
|
cat conftest.err >&5 |
4621 |
< |
echo "$as_me:3594: \$? = $ac_status" >&5 |
4621 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4622 |
|
(exit $ac_status); } >/dev/null; then |
4623 |
|
if test -s conftest.err; then |
4624 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4625 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4626 |
|
else |
4627 |
|
ac_cpp_err= |
4628 |
|
fi |
4633 |
|
: |
4634 |
|
else |
4635 |
|
echo "$as_me: failed program was:" >&5 |
4636 |
< |
cat conftest.$ac_ext >&5 |
4636 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4637 |
> |
|
4638 |
|
# Broken: fails on valid input. |
4639 |
|
continue |
4640 |
|
fi |
4643 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4644 |
|
# can be detected and how. |
4645 |
|
cat >conftest.$ac_ext <<_ACEOF |
4646 |
< |
#line 3617 "configure" |
4647 |
< |
#include "confdefs.h" |
4646 |
> |
/* confdefs.h. */ |
4647 |
> |
_ACEOF |
4648 |
> |
cat confdefs.h >>conftest.$ac_ext |
4649 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4650 |
> |
/* end confdefs.h. */ |
4651 |
|
#include <ac_nonexistent.h> |
4652 |
|
_ACEOF |
4653 |
< |
if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4653 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4654 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4655 |
|
ac_status=$? |
4656 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4656 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4657 |
|
rm -f conftest.er1 |
4658 |
|
cat conftest.err >&5 |
4659 |
< |
echo "$as_me:3627: \$? = $ac_status" >&5 |
4659 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4660 |
|
(exit $ac_status); } >/dev/null; then |
4661 |
|
if test -s conftest.err; then |
4662 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4663 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4664 |
|
else |
4665 |
|
ac_cpp_err= |
4666 |
|
fi |
4672 |
|
continue |
4673 |
|
else |
4674 |
|
echo "$as_me: failed program was:" >&5 |
4675 |
< |
cat conftest.$ac_ext >&5 |
4675 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4676 |
> |
|
4677 |
|
# Passes both tests. |
4678 |
|
ac_preproc_ok=: |
4679 |
|
break |
4686 |
|
if $ac_preproc_ok; then |
4687 |
|
: |
4688 |
|
else |
4689 |
< |
{ { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
4690 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
4689 |
> |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4690 |
> |
See \`config.log' for more details." >&5 |
4691 |
> |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4692 |
> |
See \`config.log' for more details." >&2;} |
4693 |
|
{ (exit 1); exit 1; }; } |
4694 |
|
fi |
4695 |
|
|
4699 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4700 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4701 |
|
|
4702 |
< |
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 |
4702 |
> |
|
4703 |
> |
echo "$as_me:$LINENO: checking for egrep" >&5 |
4704 |
> |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4705 |
> |
if test "${ac_cv_prog_egrep+set}" = set; then |
4706 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4707 |
> |
else |
4708 |
> |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4709 |
> |
then ac_cv_prog_egrep='grep -E' |
4710 |
> |
else ac_cv_prog_egrep='egrep' |
4711 |
> |
fi |
4712 |
> |
fi |
4713 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4714 |
> |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4715 |
> |
EGREP=$ac_cv_prog_egrep |
4716 |
> |
|
4717 |
> |
|
4718 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4719 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4720 |
> |
if test "${ac_cv_header_stdc+set}" = set; then |
4721 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4722 |
> |
else |
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 |
> |
#include <stdlib.h> |
4730 |
> |
#include <stdarg.h> |
4731 |
> |
#include <string.h> |
4732 |
> |
#include <float.h> |
4733 |
> |
|
4734 |
> |
int |
4735 |
> |
main () |
4736 |
> |
{ |
4737 |
> |
|
4738 |
> |
; |
4739 |
> |
return 0; |
4740 |
> |
} |
4741 |
> |
_ACEOF |
4742 |
> |
rm -f conftest.$ac_objext |
4743 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4744 |
> |
(eval $ac_compile) 2>conftest.er1 |
4745 |
> |
ac_status=$? |
4746 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4747 |
> |
rm -f conftest.er1 |
4748 |
> |
cat conftest.err >&5 |
4749 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4750 |
> |
(exit $ac_status); } && |
4751 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4752 |
> |
|| test ! -s conftest.err' |
4753 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4754 |
> |
(eval $ac_try) 2>&5 |
4755 |
> |
ac_status=$? |
4756 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4757 |
> |
(exit $ac_status); }; } && |
4758 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4759 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4760 |
> |
(eval $ac_try) 2>&5 |
4761 |
> |
ac_status=$? |
4762 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4763 |
> |
(exit $ac_status); }; }; then |
4764 |
> |
ac_cv_header_stdc=yes |
4765 |
> |
else |
4766 |
> |
echo "$as_me: failed program was:" >&5 |
4767 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4768 |
> |
|
4769 |
> |
ac_cv_header_stdc=no |
4770 |
> |
fi |
4771 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4772 |
> |
|
4773 |
> |
if test $ac_cv_header_stdc = yes; then |
4774 |
> |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4775 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4776 |
> |
/* confdefs.h. */ |
4777 |
> |
_ACEOF |
4778 |
> |
cat confdefs.h >>conftest.$ac_ext |
4779 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4780 |
> |
/* end confdefs.h. */ |
4781 |
> |
#include <string.h> |
4782 |
> |
|
4783 |
> |
_ACEOF |
4784 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4785 |
> |
$EGREP "memchr" >/dev/null 2>&1; then |
4786 |
> |
: |
4787 |
> |
else |
4788 |
> |
ac_cv_header_stdc=no |
4789 |
> |
fi |
4790 |
> |
rm -f conftest* |
4791 |
> |
|
4792 |
> |
fi |
4793 |
> |
|
4794 |
> |
if test $ac_cv_header_stdc = yes; then |
4795 |
> |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4796 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4797 |
> |
/* confdefs.h. */ |
4798 |
> |
_ACEOF |
4799 |
> |
cat confdefs.h >>conftest.$ac_ext |
4800 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4801 |
> |
/* end confdefs.h. */ |
4802 |
> |
#include <stdlib.h> |
4803 |
> |
|
4804 |
> |
_ACEOF |
4805 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4806 |
> |
$EGREP "free" >/dev/null 2>&1; then |
4807 |
> |
: |
4808 |
> |
else |
4809 |
> |
ac_cv_header_stdc=no |
4810 |
> |
fi |
4811 |
> |
rm -f conftest* |
4812 |
> |
|
4813 |
> |
fi |
4814 |
> |
|
4815 |
> |
if test $ac_cv_header_stdc = yes; then |
4816 |
> |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4817 |
> |
if test "$cross_compiling" = yes; then |
4818 |
> |
: |
4819 |
> |
else |
4820 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4821 |
> |
/* confdefs.h. */ |
4822 |
> |
_ACEOF |
4823 |
> |
cat confdefs.h >>conftest.$ac_ext |
4824 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4825 |
> |
/* end confdefs.h. */ |
4826 |
> |
#include <ctype.h> |
4827 |
> |
#if ((' ' & 0x0FF) == 0x020) |
4828 |
> |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4829 |
> |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4830 |
> |
#else |
4831 |
> |
# define ISLOWER(c) \ |
4832 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4833 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4834 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4835 |
> |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4836 |
> |
#endif |
4837 |
> |
|
4838 |
> |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4839 |
> |
int |
4840 |
> |
main () |
4841 |
> |
{ |
4842 |
> |
int i; |
4843 |
> |
for (i = 0; i < 256; i++) |
4844 |
> |
if (XOR (islower (i), ISLOWER (i)) |
4845 |
> |
|| toupper (i) != TOUPPER (i)) |
4846 |
> |
exit(2); |
4847 |
> |
exit (0); |
4848 |
> |
} |
4849 |
> |
_ACEOF |
4850 |
> |
rm -f conftest$ac_exeext |
4851 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4852 |
> |
(eval $ac_link) 2>&5 |
4853 |
> |
ac_status=$? |
4854 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4855 |
> |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4856 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4857 |
> |
(eval $ac_try) 2>&5 |
4858 |
> |
ac_status=$? |
4859 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4860 |
> |
(exit $ac_status); }; }; then |
4861 |
> |
: |
4862 |
> |
else |
4863 |
> |
echo "$as_me: program exited with status $ac_status" >&5 |
4864 |
> |
echo "$as_me: failed program was:" >&5 |
4865 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4866 |
> |
|
4867 |
> |
( exit $ac_status ) |
4868 |
> |
ac_cv_header_stdc=no |
4869 |
> |
fi |
4870 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4871 |
> |
fi |
4872 |
> |
fi |
4873 |
> |
fi |
4874 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4875 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4876 |
> |
if test $ac_cv_header_stdc = yes; then |
4877 |
> |
|
4878 |
> |
cat >>confdefs.h <<\_ACEOF |
4879 |
> |
#define STDC_HEADERS 1 |
4880 |
> |
_ACEOF |
4881 |
> |
|
4882 |
> |
fi |
4883 |
> |
|
4884 |
> |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4885 |
> |
|
4886 |
> |
|
4887 |
> |
|
4888 |
> |
|
4889 |
> |
|
4890 |
> |
|
4891 |
> |
|
4892 |
> |
|
4893 |
> |
|
4894 |
> |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4895 |
> |
inttypes.h stdint.h unistd.h |
4896 |
|
do |
4897 |
< |
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` |
4898 |
< |
echo "$as_me:3669: checking for $ac_header" >&5 |
4897 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4898 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4899 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4900 |
< |
if eval "test \"\${$ac_ac_Header+set}\" = set"; then |
4900 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4901 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4902 |
|
else |
4903 |
|
cat >conftest.$ac_ext <<_ACEOF |
4904 |
< |
#line 3675 "configure" |
4905 |
< |
#include "confdefs.h" |
4904 |
> |
/* confdefs.h. */ |
4905 |
> |
_ACEOF |
4906 |
> |
cat confdefs.h >>conftest.$ac_ext |
4907 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4908 |
> |
/* end confdefs.h. */ |
4909 |
> |
$ac_includes_default |
4910 |
> |
|
4911 |
|
#include <$ac_header> |
4912 |
|
_ACEOF |
4913 |
< |
if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4913 |
> |
rm -f conftest.$ac_objext |
4914 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4915 |
> |
(eval $ac_compile) 2>conftest.er1 |
4916 |
> |
ac_status=$? |
4917 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4918 |
> |
rm -f conftest.er1 |
4919 |
> |
cat conftest.err >&5 |
4920 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4921 |
> |
(exit $ac_status); } && |
4922 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4923 |
> |
|| test ! -s conftest.err' |
4924 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4925 |
> |
(eval $ac_try) 2>&5 |
4926 |
> |
ac_status=$? |
4927 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4928 |
> |
(exit $ac_status); }; } && |
4929 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4930 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4931 |
> |
(eval $ac_try) 2>&5 |
4932 |
> |
ac_status=$? |
4933 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4934 |
> |
(exit $ac_status); }; }; then |
4935 |
> |
eval "$as_ac_Header=yes" |
4936 |
> |
else |
4937 |
> |
echo "$as_me: failed program was:" >&5 |
4938 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4939 |
> |
|
4940 |
> |
eval "$as_ac_Header=no" |
4941 |
> |
fi |
4942 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4943 |
> |
fi |
4944 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4945 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4946 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4947 |
> |
cat >>confdefs.h <<_ACEOF |
4948 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4949 |
> |
_ACEOF |
4950 |
> |
|
4951 |
> |
fi |
4952 |
> |
|
4953 |
> |
done |
4954 |
> |
|
4955 |
> |
|
4956 |
> |
|
4957 |
> |
|
4958 |
> |
|
4959 |
> |
|
4960 |
> |
|
4961 |
> |
|
4962 |
> |
|
4963 |
> |
|
4964 |
> |
|
4965 |
> |
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 |
4966 |
> |
do |
4967 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4968 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4969 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4970 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4971 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4972 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4973 |
> |
fi |
4974 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4975 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4976 |
> |
else |
4977 |
> |
# Is the header compilable? |
4978 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4979 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4980 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4981 |
> |
/* confdefs.h. */ |
4982 |
> |
_ACEOF |
4983 |
> |
cat confdefs.h >>conftest.$ac_ext |
4984 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4985 |
> |
/* end confdefs.h. */ |
4986 |
> |
$ac_includes_default |
4987 |
> |
#include <$ac_header> |
4988 |
> |
_ACEOF |
4989 |
> |
rm -f conftest.$ac_objext |
4990 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4991 |
> |
(eval $ac_compile) 2>conftest.er1 |
4992 |
> |
ac_status=$? |
4993 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
4994 |
> |
rm -f conftest.er1 |
4995 |
> |
cat conftest.err >&5 |
4996 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4997 |
> |
(exit $ac_status); } && |
4998 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4999 |
> |
|| test ! -s conftest.err' |
5000 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5001 |
> |
(eval $ac_try) 2>&5 |
5002 |
> |
ac_status=$? |
5003 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5004 |
> |
(exit $ac_status); }; } && |
5005 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5006 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5007 |
> |
(eval $ac_try) 2>&5 |
5008 |
> |
ac_status=$? |
5009 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5010 |
> |
(exit $ac_status); }; }; then |
5011 |
> |
ac_header_compiler=yes |
5012 |
> |
else |
5013 |
> |
echo "$as_me: failed program was:" >&5 |
5014 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5015 |
> |
|
5016 |
> |
ac_header_compiler=no |
5017 |
> |
fi |
5018 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5019 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5020 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5021 |
> |
|
5022 |
> |
# Is the header present? |
5023 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5024 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5025 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5026 |
> |
/* confdefs.h. */ |
5027 |
> |
_ACEOF |
5028 |
> |
cat confdefs.h >>conftest.$ac_ext |
5029 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5030 |
> |
/* end confdefs.h. */ |
5031 |
> |
#include <$ac_header> |
5032 |
> |
_ACEOF |
5033 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5034 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5035 |
|
ac_status=$? |
5036 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5036 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5037 |
|
rm -f conftest.er1 |
5038 |
|
cat conftest.err >&5 |
5039 |
< |
echo "$as_me:3685: \$? = $ac_status" >&5 |
5039 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5040 |
|
(exit $ac_status); } >/dev/null; then |
5041 |
|
if test -s conftest.err; then |
5042 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5043 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5044 |
|
else |
5045 |
|
ac_cpp_err= |
5046 |
|
fi |
5048 |
|
ac_cpp_err=yes |
5049 |
|
fi |
5050 |
|
if test -z "$ac_cpp_err"; then |
5051 |
< |
eval "$ac_ac_Header=yes" |
5051 |
> |
ac_header_preproc=yes |
5052 |
|
else |
5053 |
|
echo "$as_me: failed program was:" >&5 |
5054 |
< |
cat conftest.$ac_ext >&5 |
5055 |
< |
eval "$ac_ac_Header=no" |
5054 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5055 |
> |
|
5056 |
> |
ac_header_preproc=no |
5057 |
|
fi |
5058 |
|
rm -f conftest.err conftest.$ac_ext |
5059 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5060 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5061 |
+ |
|
5062 |
+ |
# So? What about this header? |
5063 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5064 |
+ |
yes:no: ) |
5065 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5066 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5067 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5068 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5069 |
+ |
ac_header_preproc=yes |
5070 |
+ |
;; |
5071 |
+ |
no:yes:* ) |
5072 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5073 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5074 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5075 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5076 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5077 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5078 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5079 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5080 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5081 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5082 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5083 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5084 |
+ |
( |
5085 |
+ |
cat <<\_ASBOX |
5086 |
+ |
## ------------------------------ ## |
5087 |
+ |
## Report this to gezelter@nd.edu ## |
5088 |
+ |
## ------------------------------ ## |
5089 |
+ |
_ASBOX |
5090 |
+ |
) | |
5091 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
5092 |
+ |
;; |
5093 |
+ |
esac |
5094 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5095 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5096 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5097 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5098 |
+ |
else |
5099 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
5100 |
|
fi |
5101 |
< |
echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5 |
5102 |
< |
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 |
5101 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5102 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5103 |
|
|
5104 |
|
fi |
5105 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5106 |
+ |
cat >>confdefs.h <<_ACEOF |
5107 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5108 |
+ |
_ACEOF |
5109 |
+ |
|
5110 |
+ |
fi |
5111 |
+ |
|
5112 |
|
done |
5113 |
|
|
5114 |
+ |
|
5115 |
+ |
|
5116 |
+ |
|
5117 |
+ |
|
5118 |
+ |
|
5119 |
|
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
5120 |
|
do |
5121 |
< |
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` |
5122 |
< |
echo "$as_me:3717: checking for $ac_func" >&5 |
5121 |
> |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5122 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5123 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5124 |
< |
if eval "test \"\${$ac_ac_var+set}\" = set"; then |
5124 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5125 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5126 |
|
else |
5127 |
|
cat >conftest.$ac_ext <<_ACEOF |
5128 |
< |
#line 3723 "configure" |
5129 |
< |
#include "confdefs.h" |
5128 |
> |
/* confdefs.h. */ |
5129 |
> |
_ACEOF |
5130 |
> |
cat confdefs.h >>conftest.$ac_ext |
5131 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5132 |
> |
/* end confdefs.h. */ |
5133 |
> |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5134 |
> |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5135 |
> |
#define $ac_func innocuous_$ac_func |
5136 |
> |
|
5137 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5138 |
< |
which can conflict with char $ac_func (); below. */ |
5139 |
< |
#include <assert.h> |
5138 |
> |
which can conflict with char $ac_func (); below. |
5139 |
> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5140 |
> |
<limits.h> exists even on freestanding compilers. */ |
5141 |
> |
|
5142 |
> |
#ifdef __STDC__ |
5143 |
> |
# include <limits.h> |
5144 |
> |
#else |
5145 |
> |
# include <assert.h> |
5146 |
> |
#endif |
5147 |
> |
|
5148 |
> |
#undef $ac_func |
5149 |
> |
|
5150 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5151 |
|
#ifdef __cplusplus |
5152 |
|
extern "C" |
5153 |
+ |
{ |
5154 |
|
#endif |
5155 |
|
/* We use char because int might match the return type of a gcc2 |
5156 |
|
builtin and then its argument prototype would still apply. */ |
5157 |
|
char $ac_func (); |
3735 |
– |
char (*f) (); |
3736 |
– |
|
3737 |
– |
int |
3738 |
– |
main () |
3739 |
– |
{ |
5158 |
|
/* The GNU C library defines this for functions which it implements |
5159 |
|
to always fail with ENOSYS. Some functions are actually named |
5160 |
|
something starting with __ and the normal name is an alias. */ |
5161 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5162 |
|
choke me |
5163 |
|
#else |
5164 |
< |
f = $ac_func; |
5164 |
> |
char (*f) () = $ac_func; |
5165 |
|
#endif |
5166 |
+ |
#ifdef __cplusplus |
5167 |
+ |
} |
5168 |
+ |
#endif |
5169 |
|
|
5170 |
+ |
int |
5171 |
+ |
main () |
5172 |
+ |
{ |
5173 |
+ |
return f != $ac_func; |
5174 |
|
; |
5175 |
|
return 0; |
5176 |
|
} |
5177 |
|
_ACEOF |
5178 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5179 |
< |
if { (eval echo "$as_me:3754: \"$ac_link\"") >&5 |
5180 |
< |
(eval $ac_link) 2>&5 |
5179 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5180 |
> |
(eval $ac_link) 2>conftest.er1 |
5181 |
|
ac_status=$? |
5182 |
< |
echo "$as_me:3757: \$? = $ac_status" >&5 |
5182 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5183 |
> |
rm -f conftest.er1 |
5184 |
> |
cat conftest.err >&5 |
5185 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5186 |
|
(exit $ac_status); } && |
5187 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5188 |
< |
{ (eval echo "$as_me:3760: \"$ac_try\"") >&5 |
5187 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5188 |
> |
|| test ! -s conftest.err' |
5189 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5190 |
|
(eval $ac_try) 2>&5 |
5191 |
|
ac_status=$? |
5192 |
< |
echo "$as_me:3763: \$? = $ac_status" >&5 |
5192 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5193 |
> |
(exit $ac_status); }; } && |
5194 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5195 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5196 |
> |
(eval $ac_try) 2>&5 |
5197 |
> |
ac_status=$? |
5198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5199 |
|
(exit $ac_status); }; }; then |
5200 |
< |
eval "$ac_ac_var=yes" |
5200 |
> |
eval "$as_ac_var=yes" |
5201 |
|
else |
5202 |
|
echo "$as_me: failed program was:" >&5 |
5203 |
< |
cat conftest.$ac_ext >&5 |
5204 |
< |
eval "$ac_ac_var=no" |
5203 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5204 |
> |
|
5205 |
> |
eval "$as_ac_var=no" |
5206 |
|
fi |
5207 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5207 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5208 |
> |
conftest$ac_exeext conftest.$ac_ext |
5209 |
|
fi |
5210 |
< |
echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5 |
5211 |
< |
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 |
5212 |
< |
if test `eval echo '${'$ac_ac_var'}'` = yes; then |
5213 |
< |
cat >>confdefs.h <<EOF |
5214 |
< |
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 |
5215 |
< |
EOF |
5210 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5211 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5212 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5213 |
> |
cat >>confdefs.h <<_ACEOF |
5214 |
> |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5215 |
> |
_ACEOF |
5216 |
|
|
5217 |
|
fi |
5218 |
|
done |
5219 |
|
|
5220 |
|
# special check for _system_configuration because AIX <4.3.2 do not |
5221 |
|
# contain the `physmem' member. |
5222 |
< |
echo "$as_me:3785: checking for external symbol _system_configuration" >&5 |
5222 |
> |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5223 |
|
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5224 |
|
cat >conftest.$ac_ext <<_ACEOF |
5225 |
< |
#line 3788 "configure" |
5226 |
< |
#include "confdefs.h" |
5225 |
> |
/* confdefs.h. */ |
5226 |
> |
_ACEOF |
5227 |
> |
cat confdefs.h >>conftest.$ac_ext |
5228 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5229 |
> |
/* end confdefs.h. */ |
5230 |
|
#include <sys/systemcfg.h> |
5231 |
|
int |
5232 |
|
main () |
5237 |
|
} |
5238 |
|
_ACEOF |
5239 |
|
rm -f conftest.$ac_objext |
5240 |
< |
if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5 |
5241 |
< |
(eval $ac_compile) 2>&5 |
5240 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5241 |
> |
(eval $ac_compile) 2>conftest.er1 |
5242 |
|
ac_status=$? |
5243 |
< |
echo "$as_me:3803: \$? = $ac_status" >&5 |
5243 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5244 |
> |
rm -f conftest.er1 |
5245 |
> |
cat conftest.err >&5 |
5246 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 |
|
(exit $ac_status); } && |
5248 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5249 |
< |
{ (eval echo "$as_me:3806: \"$ac_try\"") >&5 |
5248 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5249 |
> |
|| test ! -s conftest.err' |
5250 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5251 |
|
(eval $ac_try) 2>&5 |
5252 |
|
ac_status=$? |
5253 |
< |
echo "$as_me:3809: \$? = $ac_status" >&5 |
5253 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5254 |
> |
(exit $ac_status); }; } && |
5255 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5256 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5257 |
> |
(eval $ac_try) 2>&5 |
5258 |
> |
ac_status=$? |
5259 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5260 |
|
(exit $ac_status); }; }; then |
5261 |
< |
echo "$as_me:3811: result: yes" >&5 |
5261 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
5262 |
|
echo "${ECHO_T}yes" >&6 |
5263 |
|
|
5264 |
< |
cat >>confdefs.h <<\EOF |
5264 |
> |
cat >>confdefs.h <<\_ACEOF |
5265 |
|
#define HAVE__SYSTEM_CONFIGURATION 1 |
5266 |
< |
EOF |
5266 |
> |
_ACEOF |
5267 |
|
|
5268 |
|
else |
5269 |
|
echo "$as_me: failed program was:" >&5 |
5270 |
< |
cat conftest.$ac_ext >&5 |
5271 |
< |
echo "$as_me:3821: result: no" >&5 |
5270 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5271 |
> |
|
5272 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
5273 |
|
echo "${ECHO_T}no" >&6 |
5274 |
|
fi |
5275 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5275 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5276 |
|
|
5277 |
|
# clean out junk possibly left behind by a previous configuration |
5278 |
|
rm -f src/getopt.h |
5280 |
|
|
5281 |
|
for ac_header in getopt.h |
5282 |
|
do |
5283 |
< |
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` |
5284 |
< |
echo "$as_me:3833: checking for $ac_header" >&5 |
5283 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5284 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5285 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5286 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5287 |
< |
if eval "test \"\${$ac_ac_Header+set}\" = set"; then |
5287 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5288 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5289 |
+ |
fi |
5290 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5291 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5292 |
|
else |
5293 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5294 |
< |
#line 3839 "configure" |
5295 |
< |
#include "confdefs.h" |
5293 |
> |
# Is the header compilable? |
5294 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5295 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5296 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5297 |
> |
/* confdefs.h. */ |
5298 |
> |
_ACEOF |
5299 |
> |
cat confdefs.h >>conftest.$ac_ext |
5300 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5301 |
> |
/* end confdefs.h. */ |
5302 |
> |
$ac_includes_default |
5303 |
|
#include <$ac_header> |
5304 |
|
_ACEOF |
5305 |
< |
if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5305 |
> |
rm -f conftest.$ac_objext |
5306 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5307 |
> |
(eval $ac_compile) 2>conftest.er1 |
5308 |
> |
ac_status=$? |
5309 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5310 |
> |
rm -f conftest.er1 |
5311 |
> |
cat conftest.err >&5 |
5312 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5313 |
> |
(exit $ac_status); } && |
5314 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5315 |
> |
|| test ! -s conftest.err' |
5316 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5317 |
> |
(eval $ac_try) 2>&5 |
5318 |
> |
ac_status=$? |
5319 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5320 |
> |
(exit $ac_status); }; } && |
5321 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5322 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5323 |
> |
(eval $ac_try) 2>&5 |
5324 |
> |
ac_status=$? |
5325 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5326 |
> |
(exit $ac_status); }; }; then |
5327 |
> |
ac_header_compiler=yes |
5328 |
> |
else |
5329 |
> |
echo "$as_me: failed program was:" >&5 |
5330 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5331 |
> |
|
5332 |
> |
ac_header_compiler=no |
5333 |
> |
fi |
5334 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5335 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5336 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5337 |
> |
|
5338 |
> |
# Is the header present? |
5339 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5340 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5341 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5342 |
> |
/* confdefs.h. */ |
5343 |
> |
_ACEOF |
5344 |
> |
cat confdefs.h >>conftest.$ac_ext |
5345 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5346 |
> |
/* end confdefs.h. */ |
5347 |
> |
#include <$ac_header> |
5348 |
> |
_ACEOF |
5349 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5350 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5351 |
|
ac_status=$? |
5352 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5352 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5353 |
|
rm -f conftest.er1 |
5354 |
|
cat conftest.err >&5 |
5355 |
< |
echo "$as_me:3849: \$? = $ac_status" >&5 |
5355 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5356 |
|
(exit $ac_status); } >/dev/null; then |
5357 |
|
if test -s conftest.err; then |
5358 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5359 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5360 |
|
else |
5361 |
|
ac_cpp_err= |
5362 |
|
fi |
5364 |
|
ac_cpp_err=yes |
5365 |
|
fi |
5366 |
|
if test -z "$ac_cpp_err"; then |
5367 |
< |
eval "$ac_ac_Header=yes" |
5367 |
> |
ac_header_preproc=yes |
5368 |
|
else |
5369 |
|
echo "$as_me: failed program was:" >&5 |
5370 |
< |
cat conftest.$ac_ext >&5 |
5371 |
< |
eval "$ac_ac_Header=no" |
5370 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5371 |
> |
|
5372 |
> |
ac_header_preproc=no |
5373 |
|
fi |
5374 |
|
rm -f conftest.err conftest.$ac_ext |
5375 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5376 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5377 |
+ |
|
5378 |
+ |
# So? What about this header? |
5379 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5380 |
+ |
yes:no: ) |
5381 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5382 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5383 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5384 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5385 |
+ |
ac_header_preproc=yes |
5386 |
+ |
;; |
5387 |
+ |
no:yes:* ) |
5388 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5389 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5390 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5391 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5392 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5393 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5394 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5395 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5396 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5397 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5398 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5399 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5400 |
+ |
( |
5401 |
+ |
cat <<\_ASBOX |
5402 |
+ |
## ------------------------------ ## |
5403 |
+ |
## Report this to gezelter@nd.edu ## |
5404 |
+ |
## ------------------------------ ## |
5405 |
+ |
_ASBOX |
5406 |
+ |
) | |
5407 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
5408 |
+ |
;; |
5409 |
+ |
esac |
5410 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5411 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5412 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5413 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5414 |
+ |
else |
5415 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
5416 |
|
fi |
5417 |
< |
echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5 |
5418 |
< |
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 |
5417 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5418 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5419 |
|
|
5420 |
|
fi |
5421 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5422 |
+ |
cat >>confdefs.h <<_ACEOF |
5423 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5424 |
+ |
_ACEOF |
5425 |
+ |
|
5426 |
+ |
fi |
5427 |
+ |
|
5428 |
|
done |
5429 |
|
|
5430 |
+ |
|
5431 |
|
for ac_func in getopt_long |
5432 |
|
do |
5433 |
< |
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` |
5434 |
< |
echo "$as_me:3881: checking for $ac_func" >&5 |
5433 |
> |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5434 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5435 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5436 |
< |
if eval "test \"\${$ac_ac_var+set}\" = set"; then |
5436 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5437 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5438 |
|
else |
5439 |
|
cat >conftest.$ac_ext <<_ACEOF |
5440 |
< |
#line 3887 "configure" |
5441 |
< |
#include "confdefs.h" |
5440 |
> |
/* confdefs.h. */ |
5441 |
> |
_ACEOF |
5442 |
> |
cat confdefs.h >>conftest.$ac_ext |
5443 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5444 |
> |
/* end confdefs.h. */ |
5445 |
> |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5446 |
> |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5447 |
> |
#define $ac_func innocuous_$ac_func |
5448 |
> |
|
5449 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5450 |
< |
which can conflict with char $ac_func (); below. */ |
5451 |
< |
#include <assert.h> |
5450 |
> |
which can conflict with char $ac_func (); below. |
5451 |
> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5452 |
> |
<limits.h> exists even on freestanding compilers. */ |
5453 |
> |
|
5454 |
> |
#ifdef __STDC__ |
5455 |
> |
# include <limits.h> |
5456 |
> |
#else |
5457 |
> |
# include <assert.h> |
5458 |
> |
#endif |
5459 |
> |
|
5460 |
> |
#undef $ac_func |
5461 |
> |
|
5462 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5463 |
|
#ifdef __cplusplus |
5464 |
|
extern "C" |
5465 |
+ |
{ |
5466 |
|
#endif |
5467 |
|
/* We use char because int might match the return type of a gcc2 |
5468 |
|
builtin and then its argument prototype would still apply. */ |
5469 |
|
char $ac_func (); |
3899 |
– |
char (*f) (); |
3900 |
– |
|
3901 |
– |
int |
3902 |
– |
main () |
3903 |
– |
{ |
5470 |
|
/* The GNU C library defines this for functions which it implements |
5471 |
|
to always fail with ENOSYS. Some functions are actually named |
5472 |
|
something starting with __ and the normal name is an alias. */ |
5473 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5474 |
|
choke me |
5475 |
|
#else |
5476 |
< |
f = $ac_func; |
5476 |
> |
char (*f) () = $ac_func; |
5477 |
|
#endif |
5478 |
+ |
#ifdef __cplusplus |
5479 |
+ |
} |
5480 |
+ |
#endif |
5481 |
|
|
5482 |
+ |
int |
5483 |
+ |
main () |
5484 |
+ |
{ |
5485 |
+ |
return f != $ac_func; |
5486 |
|
; |
5487 |
|
return 0; |
5488 |
|
} |
5489 |
|
_ACEOF |
5490 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5491 |
< |
if { (eval echo "$as_me:3918: \"$ac_link\"") >&5 |
5492 |
< |
(eval $ac_link) 2>&5 |
5491 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5492 |
> |
(eval $ac_link) 2>conftest.er1 |
5493 |
|
ac_status=$? |
5494 |
< |
echo "$as_me:3921: \$? = $ac_status" >&5 |
5494 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5495 |
> |
rm -f conftest.er1 |
5496 |
> |
cat conftest.err >&5 |
5497 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5498 |
|
(exit $ac_status); } && |
5499 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5500 |
< |
{ (eval echo "$as_me:3924: \"$ac_try\"") >&5 |
5499 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5500 |
> |
|| test ! -s conftest.err' |
5501 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5502 |
|
(eval $ac_try) 2>&5 |
5503 |
|
ac_status=$? |
5504 |
< |
echo "$as_me:3927: \$? = $ac_status" >&5 |
5504 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 |
> |
(exit $ac_status); }; } && |
5506 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5507 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5508 |
> |
(eval $ac_try) 2>&5 |
5509 |
> |
ac_status=$? |
5510 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5511 |
|
(exit $ac_status); }; }; then |
5512 |
< |
eval "$ac_ac_var=yes" |
5512 |
> |
eval "$as_ac_var=yes" |
5513 |
|
else |
5514 |
|
echo "$as_me: failed program was:" >&5 |
5515 |
< |
cat conftest.$ac_ext >&5 |
5516 |
< |
eval "$ac_ac_var=no" |
5515 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5516 |
> |
|
5517 |
> |
eval "$as_ac_var=no" |
5518 |
|
fi |
5519 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5519 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5520 |
> |
conftest$ac_exeext conftest.$ac_ext |
5521 |
|
fi |
5522 |
< |
echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5 |
5523 |
< |
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 |
5524 |
< |
if test `eval echo '${'$ac_ac_var'}'` = yes; then |
5525 |
< |
cat >>confdefs.h <<EOF |
5526 |
< |
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 |
5527 |
< |
EOF |
5522 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5523 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5524 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5525 |
> |
cat >>confdefs.h <<_ACEOF |
5526 |
> |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5527 |
> |
_ACEOF |
5528 |
|
|
5529 |
|
else |
5530 |
|
# FreeBSD has a gnugetopt library for this |
5531 |
< |
echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5 |
5531 |
> |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
5532 |
|
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
5533 |
|
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
5534 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5536 |
|
ac_check_lib_save_LIBS=$LIBS |
5537 |
|
LIBS="-lgnugetopt $LIBS" |
5538 |
|
cat >conftest.$ac_ext <<_ACEOF |
5539 |
< |
#line 3954 "configure" |
5540 |
< |
#include "confdefs.h" |
5539 |
> |
/* confdefs.h. */ |
5540 |
> |
_ACEOF |
5541 |
> |
cat confdefs.h >>conftest.$ac_ext |
5542 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5543 |
> |
/* end confdefs.h. */ |
5544 |
|
|
5545 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5546 |
|
#ifdef __cplusplus |
5558 |
|
} |
5559 |
|
_ACEOF |
5560 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5561 |
< |
if { (eval echo "$as_me:3973: \"$ac_link\"") >&5 |
5562 |
< |
(eval $ac_link) 2>&5 |
5561 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5562 |
> |
(eval $ac_link) 2>conftest.er1 |
5563 |
|
ac_status=$? |
5564 |
< |
echo "$as_me:3976: \$? = $ac_status" >&5 |
5564 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5565 |
> |
rm -f conftest.er1 |
5566 |
> |
cat conftest.err >&5 |
5567 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5568 |
|
(exit $ac_status); } && |
5569 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5570 |
< |
{ (eval echo "$as_me:3979: \"$ac_try\"") >&5 |
5569 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5570 |
> |
|| test ! -s conftest.err' |
5571 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5572 |
|
(eval $ac_try) 2>&5 |
5573 |
|
ac_status=$? |
5574 |
< |
echo "$as_me:3982: \$? = $ac_status" >&5 |
5575 |
< |
(exit $ac_status); }; }; then |
5576 |
< |
ac_cv_lib_gnugetopt_getopt_long=yes |
5577 |
< |
else |
5578 |
< |
echo "$as_me: failed program was:" >&5 |
5579 |
< |
cat conftest.$ac_ext >&5 |
5580 |
< |
ac_cv_lib_gnugetopt_getopt_long=no |
5574 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5575 |
> |
(exit $ac_status); }; } && |
5576 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5577 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5578 |
> |
(eval $ac_try) 2>&5 |
5579 |
> |
ac_status=$? |
5580 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5581 |
> |
(exit $ac_status); }; }; then |
5582 |
> |
ac_cv_lib_gnugetopt_getopt_long=yes |
5583 |
> |
else |
5584 |
> |
echo "$as_me: failed program was:" >&5 |
5585 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5586 |
> |
|
5587 |
> |
ac_cv_lib_gnugetopt_getopt_long=no |
5588 |
|
fi |
5589 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5589 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5590 |
> |
conftest$ac_exeext conftest.$ac_ext |
5591 |
|
LIBS=$ac_check_lib_save_LIBS |
5592 |
|
fi |
5593 |
< |
echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5593 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5594 |
|
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
5595 |
|
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
5596 |
< |
cat >>confdefs.h <<\EOF |
5596 |
> |
cat >>confdefs.h <<\_ACEOF |
5597 |
|
#define HAVE_GETOPT_LONG 1 |
5598 |
< |
EOF |
5598 |
> |
_ACEOF |
5599 |
|
|
5600 |
|
else |
5601 |
|
# use the GNU replacement |
5602 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5603 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5604 |
< |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5602 |
> |
case $LIBOBJS in |
5603 |
> |
"getopt.$ac_objext" | \ |
5604 |
> |
*" getopt.$ac_objext" | \ |
5605 |
> |
"getopt.$ac_objext "* | \ |
5606 |
> |
*" getopt.$ac_objext "* ) ;; |
5607 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5608 |
> |
esac |
5609 |
|
|
5610 |
+ |
case $LIBOBJS in |
5611 |
+ |
"getopt1.$ac_objext" | \ |
5612 |
+ |
*" getopt1.$ac_objext" | \ |
5613 |
+ |
"getopt1.$ac_objext "* | \ |
5614 |
+ |
*" getopt1.$ac_objext "* ) ;; |
5615 |
+ |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5616 |
+ |
esac |
5617 |
+ |
|
5618 |
+ |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5619 |
+ |
|
5620 |
|
fi |
5621 |
|
|
5622 |
|
fi |
5623 |
|
done |
5624 |
|
|
5625 |
+ |
|
5626 |
+ |
|
5627 |
|
case $debug in |
5628 |
|
1) |
5629 |
|
;; |
5630 |
|
*) |
5631 |
|
|
5632 |
< |
echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5 |
5632 |
> |
|
5633 |
> |
|
5634 |
> |
|
5635 |
> |
|
5636 |
> |
|
5637 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
5638 |
|
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
5639 |
|
if test "${ac_cv_prog_really_gcc+set}" = set; then |
5640 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5648 |
|
#endif |
5649 |
|
EOF |
5650 |
|
if { ac_try='${CC-cc} -E conftest.c' |
5651 |
< |
{ (eval echo "$as_me:4030: \"$ac_try\"") >&5 |
5651 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5652 |
|
(eval $ac_try) 2>&5 |
5653 |
|
ac_status=$? |
5654 |
< |
echo "$as_me:4033: \$? = $ac_status" >&5 |
5654 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5655 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
5656 |
|
ac_cv_prog_really_gcc=yes |
5657 |
|
else |
5659 |
|
fi |
5660 |
|
|
5661 |
|
fi |
5662 |
< |
echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5 |
5662 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
5663 |
|
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6 |
5664 |
|
if test "$ac_cv_prog_really_gcc" = yes; then |
5665 |
|
: |
5669 |
|
|
5670 |
|
fi |
5671 |
|
|
5672 |
+ |
|
5673 |
|
# Try to determine "good" native compiler flags if none specified on command |
5674 |
|
# line |
5675 |
|
if test "$ac_test_CFLAGS" != "set"; then |
5722 |
|
if test $ac_cv_prog_really_gcc = yes; then |
5723 |
|
# -malign-double for x86 systems |
5724 |
|
|
5725 |
< |
echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5 |
5725 |
> |
|
5726 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
5727 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
5728 |
|
if test "${ac_align_double+set}" = set; then |
5729 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5737 |
|
rm -f conftest* |
5738 |
|
|
5739 |
|
fi |
5740 |
< |
echo "$as_me:4117: result: $ac_align_double" >&5 |
5740 |
> |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
5741 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
5742 |
|
if test "$ac_align_double" = yes; then |
5743 |
|
: |
5749 |
|
|
5750 |
|
# -fstrict-aliasing for gcc-2.95+ |
5751 |
|
|
5752 |
< |
echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
5752 |
> |
|
5753 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
5754 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
5755 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
5756 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5764 |
|
rm -f conftest* |
5765 |
|
|
5766 |
|
fi |
5767 |
< |
echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5 |
5767 |
> |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
5768 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
5769 |
|
if test "$ac_fstrict_aliasing" = yes; then |
5770 |
|
: |
5781 |
|
case "${host_cpu}" in |
5782 |
|
i586*) |
5783 |
|
|
5784 |
< |
echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
5784 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
5785 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
5786 |
|
if test "${ac_cpu_pentium+set}" = set; then |
5787 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5795 |
|
rm -f conftest* |
5796 |
|
|
5797 |
|
fi |
5798 |
< |
echo "$as_me:4174: result: $ac_cpu_pentium" >&5 |
5798 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
5799 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
5800 |
|
if test "$ac_cpu_pentium" = yes; then |
5801 |
|
: |
5803 |
|
else |
5804 |
|
: |
5805 |
|
|
5806 |
< |
echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5 |
5806 |
> |
|
5807 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
5808 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
5809 |
|
if test "${ac_pentium+set}" = set; then |
5810 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5818 |
|
rm -f conftest* |
5819 |
|
|
5820 |
|
fi |
5821 |
< |
echo "$as_me:4196: result: $ac_pentium" >&5 |
5821 |
> |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
5822 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
5823 |
|
if test "$ac_pentium" = yes; then |
5824 |
|
: |
5833 |
|
;; |
5834 |
|
i686*) |
5835 |
|
|
5836 |
< |
echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
5836 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
5837 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
5838 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
5839 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5847 |
|
rm -f conftest* |
5848 |
|
|
5849 |
|
fi |
5850 |
< |
echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5 |
5850 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
5851 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
5852 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
5853 |
|
: |
5855 |
|
else |
5856 |
|
: |
5857 |
|
|
5858 |
< |
echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
5858 |
> |
|
5859 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
5860 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
5861 |
|
if test "${ac_pentiumpro+set}" = set; then |
5862 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5870 |
|
rm -f conftest* |
5871 |
|
|
5872 |
|
fi |
5873 |
< |
echo "$as_me:4247: result: $ac_pentiumpro" >&5 |
5873 |
> |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
5874 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
5875 |
|
if test "$ac_pentiumpro" = yes; then |
5876 |
|
: |
5888 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
5889 |
|
if test -n "$is60x"; then |
5890 |
|
|
5891 |
< |
echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
5891 |
> |
|
5892 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
5893 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
5894 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
5895 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5903 |
|
rm -f conftest* |
5904 |
|
|
5905 |
|
fi |
5906 |
< |
echo "$as_me:4279: result: $ac_m_cpu_60x" >&5 |
5906 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
5907 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
5908 |
|
if test "$ac_m_cpu_60x" = yes; then |
5909 |
|
: |
5915 |
|
|
5916 |
|
elif test "$cputype" = 750; then |
5917 |
|
|
5918 |
< |
echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5 |
5918 |
> |
|
5919 |
> |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
5920 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
5921 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
5922 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5930 |
|
#endif |
5931 |
|
EOF |
5932 |
|
if { ac_try='${CC-cc} -E conftest.c' |
5933 |
< |
{ (eval echo "$as_me:4305: \"$ac_try\"") >&5 |
5933 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5934 |
|
(eval $ac_try) 2>&5 |
5935 |
|
ac_status=$? |
5936 |
< |
echo "$as_me:4308: \$? = $ac_status" >&5 |
5936 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5937 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
5938 |
|
ac_cv_prog_gcc_2_95=yes |
5939 |
|
else |
5941 |
|
fi |
5942 |
|
|
5943 |
|
fi |
5944 |
< |
echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5 |
5944 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
5945 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
5946 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
5947 |
|
: |
5948 |
|
|
5949 |
< |
echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
5949 |
> |
|
5950 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
5951 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6 |
5952 |
|
if test "${ac_m_cpu_750+set}" = set; then |
5953 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5961 |
|
rm -f conftest* |
5962 |
|
|
5963 |
|
fi |
5964 |
< |
echo "$as_me:4335: result: $ac_m_cpu_750" >&5 |
5964 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
5965 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
5966 |
|
if test "$ac_m_cpu_750" = yes; then |
5967 |
|
: |
5979 |
|
fi |
5980 |
|
if test -z "$CPU_FLAGS"; then |
5981 |
|
|
5982 |
< |
echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
5982 |
> |
|
5983 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
5984 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6 |
5985 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
5986 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5994 |
|
rm -f conftest* |
5995 |
|
|
5996 |
|
fi |
5997 |
< |
echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5 |
5997 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
5998 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
5999 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
6000 |
|
: |
6007 |
|
fi |
6008 |
|
if test -z "$CPU_FLAGS"; then |
6009 |
|
|
6010 |
< |
echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
6010 |
> |
|
6011 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
6012 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6 |
6013 |
|
if test "${ac_m_powerpc+set}" = set; then |
6014 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6022 |
|
rm -f conftest* |
6023 |
|
|
6024 |
|
fi |
6025 |
< |
echo "$as_me:4394: result: $ac_m_powerpc" >&5 |
6025 |
> |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
6026 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
6027 |
|
if test "$ac_m_powerpc" = yes; then |
6028 |
|
: |
6051 |
|
CFLAGS="-O3" |
6052 |
|
fi |
6053 |
|
|
6054 |
< |
echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
6054 |
> |
|
6055 |
> |
|
6056 |
> |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
6057 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6 |
6058 |
|
if test "${ac_guessed_cflags+set}" = set; then |
6059 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6067 |
|
rm -f conftest* |
6068 |
|
|
6069 |
|
fi |
6070 |
< |
echo "$as_me:4437: result: $ac_guessed_cflags" >&5 |
6070 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
6071 |
|
echo "${ECHO_T}$ac_guessed_cflags" >&6 |
6072 |
|
if test "$ac_guessed_cflags" = yes; then |
6073 |
|
: |
6086 |
|
|
6087 |
|
fi |
6088 |
|
|
6089 |
+ |
|
6090 |
|
fi |
6091 |
|
|
6092 |
< |
echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5 |
6092 |
> |
|
6093 |
> |
|
6094 |
> |
|
6095 |
> |
|
6096 |
> |
|
6097 |
> |
|
6098 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
6099 |
|
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6 |
6100 |
|
if test "${ac_cv_prog_really_gxx+set}" = set; then |
6101 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6109 |
|
#endif |
6110 |
|
EOF |
6111 |
|
if { ac_try='${CXX-c++} -E conftest.cpp' |
6112 |
< |
{ (eval echo "$as_me:4472: \"$ac_try\"") >&5 |
6112 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6113 |
|
(eval $ac_try) 2>&5 |
6114 |
|
ac_status=$? |
6115 |
< |
echo "$as_me:4475: \$? = $ac_status" >&5 |
6115 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6116 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
6117 |
|
ac_cv_prog_really_gxx=yes |
6118 |
|
else |
6120 |
|
fi |
6121 |
|
|
6122 |
|
fi |
6123 |
< |
echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5 |
6123 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
6124 |
|
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6 |
6125 |
|
if test "$ac_cv_prog_really_gxx" = yes; then |
6126 |
|
: |
6130 |
|
|
6131 |
|
fi |
6132 |
|
|
6133 |
+ |
|
6134 |
|
# Try to determine "good" native compiler flags if none specified on command |
6135 |
|
# line |
6136 |
|
if test "$ac_test_CXXFLAGS" != "set"; then |
6174 |
|
if test $ac_cv_prog_really_gxx = yes; then |
6175 |
|
# -malign-double for x86 systems |
6176 |
|
|
6177 |
< |
echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5 |
6177 |
> |
|
6178 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5 |
6179 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6 |
6180 |
|
if test "${ac_align_double+set}" = set; then |
6181 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6189 |
|
rm -f conftest* |
6190 |
|
|
6191 |
|
fi |
6192 |
< |
echo "$as_me:4550: result: $ac_align_double" >&5 |
6192 |
> |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
6193 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
6194 |
|
if test "$ac_align_double" = yes; then |
6195 |
|
: |
6201 |
|
|
6202 |
|
# -fstrict-aliasing for gcc-2.95+ |
6203 |
|
|
6204 |
< |
echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
6204 |
> |
|
6205 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
6206 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6 |
6207 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
6208 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6216 |
|
rm -f conftest* |
6217 |
|
|
6218 |
|
fi |
6219 |
< |
echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5 |
6219 |
> |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
6220 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
6221 |
|
if test "$ac_fstrict_aliasing" = yes; then |
6222 |
|
: |
6233 |
|
case "${host_cpu}" in |
6234 |
|
i586*) |
6235 |
|
|
6236 |
< |
echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 |
6236 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 |
6237 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6 |
6238 |
|
if test "${ac_cpu_pentium+set}" = set; then |
6239 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6247 |
|
rm -f conftest* |
6248 |
|
|
6249 |
|
fi |
6250 |
< |
echo "$as_me:4607: result: $ac_cpu_pentium" >&5 |
6250 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
6251 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
6252 |
|
if test "$ac_cpu_pentium" = yes; then |
6253 |
|
: |
6255 |
|
else |
6256 |
|
: |
6257 |
|
|
6258 |
< |
echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5 |
6258 |
> |
|
6259 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5 |
6260 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6 |
6261 |
|
if test "${ac_pentium+set}" = set; then |
6262 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6270 |
|
rm -f conftest* |
6271 |
|
|
6272 |
|
fi |
6273 |
< |
echo "$as_me:4629: result: $ac_pentium" >&5 |
6273 |
> |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
6274 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
6275 |
|
if test "$ac_pentium" = yes; then |
6276 |
|
: |
6285 |
|
;; |
6286 |
|
i686*) |
6287 |
|
|
6288 |
< |
echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
6288 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
6289 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
6290 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
6291 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6299 |
|
rm -f conftest* |
6300 |
|
|
6301 |
|
fi |
6302 |
< |
echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5 |
6302 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
6303 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
6304 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
6305 |
|
: |
6307 |
|
else |
6308 |
|
: |
6309 |
|
|
6310 |
< |
echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
6310 |
> |
|
6311 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
6312 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6 |
6313 |
|
if test "${ac_pentiumpro+set}" = set; then |
6314 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6322 |
|
rm -f conftest* |
6323 |
|
|
6324 |
|
fi |
6325 |
< |
echo "$as_me:4680: result: $ac_pentiumpro" >&5 |
6325 |
> |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
6326 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
6327 |
|
if test "$ac_pentiumpro" = yes; then |
6328 |
|
: |
6340 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
6341 |
|
if test -n "$is60x"; then |
6342 |
|
|
6343 |
< |
echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
6343 |
> |
|
6344 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
6345 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6 |
6346 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
6347 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6355 |
|
rm -f conftest* |
6356 |
|
|
6357 |
|
fi |
6358 |
< |
echo "$as_me:4712: result: $ac_m_cpu_60x" >&5 |
6358 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
6359 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
6360 |
|
if test "$ac_m_cpu_60x" = yes; then |
6361 |
|
: |
6367 |
|
|
6368 |
|
elif test "$cputype" = 750; then |
6369 |
|
|
6370 |
< |
echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5 |
6370 |
> |
|
6371 |
> |
echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
6372 |
|
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6 |
6373 |
|
if test "${ac_cv_prog_gxx_2_95+set}" = set; then |
6374 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6382 |
|
#endif |
6383 |
|
EOF |
6384 |
|
if { ac_try='${CXX-c++} -E conftest.cpp' |
6385 |
< |
{ (eval echo "$as_me:4738: \"$ac_try\"") >&5 |
6385 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6386 |
|
(eval $ac_try) 2>&5 |
6387 |
|
ac_status=$? |
6388 |
< |
echo "$as_me:4741: \$? = $ac_status" >&5 |
6388 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6389 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
6390 |
|
ac_cv_prog_gxx_2_95=yes |
6391 |
|
else |
6393 |
|
fi |
6394 |
|
|
6395 |
|
fi |
6396 |
< |
echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5 |
6396 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
6397 |
|
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6 |
6398 |
|
if test "$ac_cv_prog_gxx_2_95" = yes; then |
6399 |
|
: |
6400 |
|
|
6401 |
< |
echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
6401 |
> |
|
6402 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
6403 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6 |
6404 |
|
if test "${ac_m_cpu_750+set}" = set; then |
6405 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6413 |
|
rm -f conftest* |
6414 |
|
|
6415 |
|
fi |
6416 |
< |
echo "$as_me:4768: result: $ac_m_cpu_750" >&5 |
6416 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
6417 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
6418 |
|
if test "$ac_m_cpu_750" = yes; then |
6419 |
|
: |
6431 |
|
fi |
6432 |
|
if test -z "$CPU_FLAGS"; then |
6433 |
|
|
6434 |
< |
echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
6434 |
> |
|
6435 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
6436 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6 |
6437 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
6438 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6446 |
|
rm -f conftest* |
6447 |
|
|
6448 |
|
fi |
6449 |
< |
echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5 |
6449 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
6450 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
6451 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
6452 |
|
: |
6459 |
|
fi |
6460 |
|
if test -z "$CPU_FLAGS"; then |
6461 |
|
|
6462 |
< |
echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
6462 |
> |
|
6463 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
6464 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6 |
6465 |
|
if test "${ac_m_powerpc+set}" = set; then |
6466 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6474 |
|
rm -f conftest* |
6475 |
|
|
6476 |
|
fi |
6477 |
< |
echo "$as_me:4827: result: $ac_m_powerpc" >&5 |
6477 |
> |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
6478 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
6479 |
|
if test "$ac_m_powerpc" = yes; then |
6480 |
|
: |
6503 |
|
CXXFLAGS="-O3" |
6504 |
|
fi |
6505 |
|
|
6506 |
< |
echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
6506 |
> |
|
6507 |
> |
|
6508 |
> |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
6509 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6 |
6510 |
|
if test "${ac_guessed_cxxflags+set}" = set; then |
6511 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6519 |
|
rm -f conftest* |
6520 |
|
|
6521 |
|
fi |
6522 |
< |
echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5 |
6522 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
6523 |
|
echo "${ECHO_T}$ac_guessed_cxxflags" >&6 |
6524 |
|
if test "$ac_guessed_cxxflags" = yes; then |
6525 |
|
: |
6538 |
|
|
6539 |
|
fi |
6540 |
|
|
6541 |
+ |
|
6542 |
|
fi |
6543 |
|
|
6544 |
+ |
|
6545 |
+ |
|
6546 |
+ |
|
6547 |
+ |
|
6548 |
|
# Try to determine "good" native compiler flags if none specified on command |
6549 |
|
# line |
6550 |
|
|
6592 |
|
F90FLAGS="-O3" |
6593 |
|
fi |
6594 |
|
|
6595 |
< |
echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
6595 |
> |
|
6596 |
> |
echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
6597 |
|
echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6 |
6598 |
|
if test "${ac_guessed_f90flags+set}" = set; then |
6599 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6600 |
|
else |
6601 |
|
|
6602 |
+ |
|
6603 |
+ |
|
6604 |
|
ac_ext=f90 |
6605 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
6606 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6609 |
|
echo 'program main' > conftest.$ac_ext |
6610 |
|
echo 'end program main' >> conftest.$ac_ext |
6611 |
|
ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5' |
6612 |
< |
if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5 |
6612 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6613 |
|
(eval $ac_compile) 2>&5 |
6614 |
|
ac_status=$? |
6615 |
< |
echo "$as_me:4955: \$? = $ac_status" >&5 |
6615 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6616 |
|
(exit $ac_status); }; then |
6617 |
|
ac_guessed_f90flags=yes |
6618 |
|
else |
6625 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6626 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6627 |
|
|
6628 |
+ |
|
6629 |
|
fi |
6630 |
< |
echo "$as_me:4969: result: $ac_guessed_f90flags" >&5 |
6630 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
6631 |
|
echo "${ECHO_T}$ac_guessed_f90flags" >&6 |
6632 |
|
if test "$ac_guessed_f90flags" = yes; then |
6633 |
|
: |
6646 |
|
|
6647 |
|
fi |
6648 |
|
|
6649 |
+ |
|
6650 |
|
fi |
6651 |
|
|
6652 |
|
;; |
6663 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6664 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6665 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6666 |
+ |
# OS/2's system install, which has a completely different semantic |
6667 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6668 |
< |
echo "$as_me:5005: checking for a BSD compatible install" >&5 |
6669 |
< |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
6668 |
> |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6669 |
> |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6670 |
|
if test -z "$INSTALL"; then |
6671 |
|
if test "${ac_cv_path_install+set}" = set; then |
6672 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6673 |
|
else |
6674 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6675 |
< |
for ac_dir in $PATH; do |
6676 |
< |
IFS=$ac_save_IFS |
6677 |
< |
# Account for people who put trailing slashes in PATH elements. |
6678 |
< |
case $ac_dir/ in |
6679 |
< |
/ | ./ | .// | /cC/* \ |
6680 |
< |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
6681 |
< |
| /usr/ucb/* ) ;; |
6682 |
< |
*) |
6683 |
< |
# OSF1 and SCO ODT 3.0 have their own names for install. |
6684 |
< |
# Don't use installbsd from OSF since it installs stuff as root |
6685 |
< |
# by default. |
6686 |
< |
for ac_prog in ginstall scoinst install; do |
6687 |
< |
if $as_executable_p "$ac_dir/$ac_prog"; then |
6674 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6675 |
> |
for as_dir in $PATH |
6676 |
> |
do |
6677 |
> |
IFS=$as_save_IFS |
6678 |
> |
test -z "$as_dir" && as_dir=. |
6679 |
> |
# Account for people who put trailing slashes in PATH elements. |
6680 |
> |
case $as_dir/ in |
6681 |
> |
./ | .// | /cC/* | \ |
6682 |
> |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6683 |
> |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6684 |
> |
/usr/ucb/* ) ;; |
6685 |
> |
*) |
6686 |
> |
# OSF1 and SCO ODT 3.0 have their own names for install. |
6687 |
> |
# Don't use installbsd from OSF since it installs stuff as root |
6688 |
> |
# by default. |
6689 |
> |
for ac_prog in ginstall scoinst install; do |
6690 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6691 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6692 |
|
if test $ac_prog = install && |
6693 |
< |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
6693 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6694 |
|
# AIX install. It has an incompatible calling convention. |
6695 |
|
: |
6696 |
|
elif test $ac_prog = install && |
6697 |
< |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
6697 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6698 |
|
# program-specific install script used by HP pwplus--don't use. |
6699 |
|
: |
6700 |
|
else |
6701 |
< |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
6702 |
< |
break 2 |
6701 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6702 |
> |
break 3 |
6703 |
|
fi |
6704 |
|
fi |
6705 |
|
done |
6706 |
< |
;; |
6707 |
< |
esac |
6708 |
< |
done |
6706 |
> |
done |
6707 |
> |
;; |
6708 |
> |
esac |
6709 |
> |
done |
6710 |
|
|
6711 |
+ |
|
6712 |
|
fi |
6713 |
|
if test "${ac_cv_path_install+set}" = set; then |
6714 |
|
INSTALL=$ac_cv_path_install |
6720 |
|
INSTALL=$ac_install_sh |
6721 |
|
fi |
6722 |
|
fi |
6723 |
< |
echo "$as_me:5054: result: $INSTALL" >&5 |
6723 |
> |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
6724 |
|
echo "${ECHO_T}$INSTALL" >&6 |
6725 |
|
|
6726 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
6731 |
|
|
6732 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
6733 |
|
|
6734 |
< |
echo "$as_me:5065: checking whether ln -s works" >&5 |
6734 |
> |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
6735 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
6736 |
|
LN_S=$as_ln_s |
6737 |
|
if test "$LN_S" = "ln -s"; then |
6738 |
< |
echo "$as_me:5069: result: yes" >&5 |
6738 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
6739 |
|
echo "${ECHO_T}yes" >&6 |
6740 |
|
else |
6741 |
< |
echo "$as_me:5072: result: no, using $LN_S" >&5 |
6741 |
> |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
6742 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
6743 |
|
fi |
6744 |
|
|
6745 |
< |
echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
6746 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
6747 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6745 |
> |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6746 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6747 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6748 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6749 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6750 |
|
else |
6751 |
< |
cat >conftest.make <<\EOF |
6751 |
> |
cat >conftest.make <<\_ACEOF |
6752 |
|
all: |
6753 |
< |
@echo 'ac_maketemp="${MAKE}"' |
6754 |
< |
EOF |
6753 |
> |
@echo 'ac_maketemp="$(MAKE)"' |
6754 |
> |
_ACEOF |
6755 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
6756 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
6757 |
|
if test -n "$ac_maketemp"; then |
6762 |
|
rm -f conftest.make |
6763 |
|
fi |
6764 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
6765 |
< |
echo "$as_me:5096: result: yes" >&5 |
6765 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
6766 |
|
echo "${ECHO_T}yes" >&6 |
6767 |
|
SET_MAKE= |
6768 |
|
else |
6769 |
< |
echo "$as_me:5100: result: no" >&5 |
6769 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
6770 |
|
echo "${ECHO_T}no" >&6 |
6771 |
|
SET_MAKE="MAKE=${MAKE-make}" |
6772 |
|
fi |
6774 |
|
if test -n "$ac_tool_prefix"; then |
6775 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6776 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6777 |
< |
echo "$as_me:5108: checking for $ac_word" >&5 |
6777 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6778 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6779 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
6780 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6782 |
|
if test -n "$RANLIB"; then |
6783 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6784 |
|
else |
6785 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6786 |
< |
ac_dummy="$PATH" |
6787 |
< |
for ac_dir in $ac_dummy; do |
6788 |
< |
IFS=$ac_save_IFS |
6789 |
< |
test -z "$ac_dir" && ac_dir=. |
6790 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
6791 |
< |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6792 |
< |
echo "$as_me:5123: found $ac_dir/$ac_word" >&5 |
6793 |
< |
break |
6785 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6786 |
> |
for as_dir in $PATH |
6787 |
> |
do |
6788 |
> |
IFS=$as_save_IFS |
6789 |
> |
test -z "$as_dir" && as_dir=. |
6790 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6791 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6792 |
> |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6793 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6794 |
> |
break 2 |
6795 |
> |
fi |
6796 |
|
done |
6797 |
+ |
done |
6798 |
|
|
6799 |
|
fi |
6800 |
|
fi |
6801 |
|
RANLIB=$ac_cv_prog_RANLIB |
6802 |
|
if test -n "$RANLIB"; then |
6803 |
< |
echo "$as_me:5131: result: $RANLIB" >&5 |
6803 |
> |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
6804 |
|
echo "${ECHO_T}$RANLIB" >&6 |
6805 |
|
else |
6806 |
< |
echo "$as_me:5134: result: no" >&5 |
6806 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
6807 |
|
echo "${ECHO_T}no" >&6 |
6808 |
|
fi |
6809 |
|
|
6812 |
|
ac_ct_RANLIB=$RANLIB |
6813 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
6814 |
|
set dummy ranlib; ac_word=$2 |
6815 |
< |
echo "$as_me:5143: checking for $ac_word" >&5 |
6815 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6816 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6817 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
6818 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6820 |
|
if test -n "$ac_ct_RANLIB"; then |
6821 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6822 |
|
else |
6823 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6824 |
< |
ac_dummy="$PATH" |
6825 |
< |
for ac_dir in $ac_dummy; do |
6826 |
< |
IFS=$ac_save_IFS |
6827 |
< |
test -z "$ac_dir" && ac_dir=. |
6828 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
6829 |
< |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6830 |
< |
echo "$as_me:5158: found $ac_dir/$ac_word" >&5 |
6831 |
< |
break |
6823 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6824 |
> |
for as_dir in $PATH |
6825 |
> |
do |
6826 |
> |
IFS=$as_save_IFS |
6827 |
> |
test -z "$as_dir" && as_dir=. |
6828 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6829 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6830 |
> |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6831 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6832 |
> |
break 2 |
6833 |
> |
fi |
6834 |
|
done |
6835 |
+ |
done |
6836 |
|
|
6837 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
6838 |
|
fi |
6839 |
|
fi |
6840 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
6841 |
|
if test -n "$ac_ct_RANLIB"; then |
6842 |
< |
echo "$as_me:5167: result: $ac_ct_RANLIB" >&5 |
6842 |
> |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
6843 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
6844 |
|
else |
6845 |
< |
echo "$as_me:5170: result: no" >&5 |
6845 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
6846 |
|
echo "${ECHO_T}no" >&6 |
6847 |
|
fi |
6848 |
|
|
6855 |
|
do |
6856 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6857 |
|
set dummy $ac_prog; ac_word=$2 |
6858 |
< |
echo "$as_me:5183: checking for $ac_word" >&5 |
6858 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6859 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6860 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
6861 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6863 |
|
if test -n "$YACC"; then |
6864 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
6865 |
|
else |
6866 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6867 |
< |
ac_dummy="$PATH" |
6868 |
< |
for ac_dir in $ac_dummy; do |
6869 |
< |
IFS=$ac_save_IFS |
6870 |
< |
test -z "$ac_dir" && ac_dir=. |
6871 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
6872 |
< |
ac_cv_prog_YACC="$ac_prog" |
6873 |
< |
echo "$as_me:5198: found $ac_dir/$ac_word" >&5 |
6874 |
< |
break |
6866 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6867 |
> |
for as_dir in $PATH |
6868 |
> |
do |
6869 |
> |
IFS=$as_save_IFS |
6870 |
> |
test -z "$as_dir" && as_dir=. |
6871 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6872 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6873 |
> |
ac_cv_prog_YACC="$ac_prog" |
6874 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6875 |
> |
break 2 |
6876 |
> |
fi |
6877 |
|
done |
6878 |
+ |
done |
6879 |
|
|
6880 |
|
fi |
6881 |
|
fi |
6882 |
|
YACC=$ac_cv_prog_YACC |
6883 |
|
if test -n "$YACC"; then |
6884 |
< |
echo "$as_me:5206: result: $YACC" >&5 |
6884 |
> |
echo "$as_me:$LINENO: result: $YACC" >&5 |
6885 |
|
echo "${ECHO_T}$YACC" >&6 |
6886 |
|
else |
6887 |
< |
echo "$as_me:5209: result: no" >&5 |
6887 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
6888 |
|
echo "${ECHO_T}no" >&6 |
6889 |
|
fi |
6890 |
|
|
6896 |
|
do |
6897 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6898 |
|
set dummy $ac_prog; ac_word=$2 |
6899 |
< |
echo "$as_me:5221: checking for $ac_word" >&5 |
6899 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6900 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6901 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
6902 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6904 |
|
if test -n "$LEX"; then |
6905 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
6906 |
|
else |
6907 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6908 |
< |
ac_dummy="$PATH" |
6909 |
< |
for ac_dir in $ac_dummy; do |
6910 |
< |
IFS=$ac_save_IFS |
6911 |
< |
test -z "$ac_dir" && ac_dir=. |
6912 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
6913 |
< |
ac_cv_prog_LEX="$ac_prog" |
6914 |
< |
echo "$as_me:5236: found $ac_dir/$ac_word" >&5 |
6915 |
< |
break |
6907 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6908 |
> |
for as_dir in $PATH |
6909 |
> |
do |
6910 |
> |
IFS=$as_save_IFS |
6911 |
> |
test -z "$as_dir" && as_dir=. |
6912 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6913 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6914 |
> |
ac_cv_prog_LEX="$ac_prog" |
6915 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6916 |
> |
break 2 |
6917 |
> |
fi |
6918 |
|
done |
6919 |
+ |
done |
6920 |
|
|
6921 |
|
fi |
6922 |
|
fi |
6923 |
|
LEX=$ac_cv_prog_LEX |
6924 |
|
if test -n "$LEX"; then |
6925 |
< |
echo "$as_me:5244: result: $LEX" >&5 |
6925 |
> |
echo "$as_me:$LINENO: result: $LEX" >&5 |
6926 |
|
echo "${ECHO_T}$LEX" >&6 |
6927 |
|
else |
6928 |
< |
echo "$as_me:5247: result: no" >&5 |
6928 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
6929 |
|
echo "${ECHO_T}no" >&6 |
6930 |
|
fi |
6931 |
|
|
6935 |
|
|
6936 |
|
if test -z "$LEXLIB" |
6937 |
|
then |
6938 |
< |
echo "$as_me:5257: checking for yywrap in -lfl" >&5 |
6938 |
> |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
6939 |
|
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
6940 |
|
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
6941 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6943 |
|
ac_check_lib_save_LIBS=$LIBS |
6944 |
|
LIBS="-lfl $LIBS" |
6945 |
|
cat >conftest.$ac_ext <<_ACEOF |
6946 |
< |
#line 5265 "configure" |
6947 |
< |
#include "confdefs.h" |
6946 |
> |
/* confdefs.h. */ |
6947 |
> |
_ACEOF |
6948 |
> |
cat confdefs.h >>conftest.$ac_ext |
6949 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6950 |
> |
/* end confdefs.h. */ |
6951 |
|
|
6952 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6953 |
|
#ifdef __cplusplus |
6965 |
|
} |
6966 |
|
_ACEOF |
6967 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6968 |
< |
if { (eval echo "$as_me:5284: \"$ac_link\"") >&5 |
6969 |
< |
(eval $ac_link) 2>&5 |
6968 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6969 |
> |
(eval $ac_link) 2>conftest.er1 |
6970 |
|
ac_status=$? |
6971 |
< |
echo "$as_me:5287: \$? = $ac_status" >&5 |
6971 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6972 |
> |
rm -f conftest.er1 |
6973 |
> |
cat conftest.err >&5 |
6974 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6975 |
|
(exit $ac_status); } && |
6976 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6977 |
< |
{ (eval echo "$as_me:5290: \"$ac_try\"") >&5 |
6976 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6977 |
> |
|| test ! -s conftest.err' |
6978 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6979 |
|
(eval $ac_try) 2>&5 |
6980 |
|
ac_status=$? |
6981 |
< |
echo "$as_me:5293: \$? = $ac_status" >&5 |
6981 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6982 |
> |
(exit $ac_status); }; } && |
6983 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6984 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6985 |
> |
(eval $ac_try) 2>&5 |
6986 |
> |
ac_status=$? |
6987 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6988 |
|
(exit $ac_status); }; }; then |
6989 |
|
ac_cv_lib_fl_yywrap=yes |
6990 |
|
else |
6991 |
|
echo "$as_me: failed program was:" >&5 |
6992 |
< |
cat conftest.$ac_ext >&5 |
6992 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6993 |
> |
|
6994 |
|
ac_cv_lib_fl_yywrap=no |
6995 |
|
fi |
6996 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6996 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6997 |
> |
conftest$ac_exeext conftest.$ac_ext |
6998 |
|
LIBS=$ac_check_lib_save_LIBS |
6999 |
|
fi |
7000 |
< |
echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5 |
7000 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
7001 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
7002 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
7003 |
|
LEXLIB="-lfl" |
7004 |
|
else |
7005 |
< |
echo "$as_me:5309: checking for yywrap in -ll" >&5 |
7005 |
> |
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
7006 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
7007 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
7008 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7010 |
|
ac_check_lib_save_LIBS=$LIBS |
7011 |
|
LIBS="-ll $LIBS" |
7012 |
|
cat >conftest.$ac_ext <<_ACEOF |
7013 |
< |
#line 5317 "configure" |
7014 |
< |
#include "confdefs.h" |
7013 |
> |
/* confdefs.h. */ |
7014 |
> |
_ACEOF |
7015 |
> |
cat confdefs.h >>conftest.$ac_ext |
7016 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7017 |
> |
/* end confdefs.h. */ |
7018 |
|
|
7019 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7020 |
|
#ifdef __cplusplus |
7032 |
|
} |
7033 |
|
_ACEOF |
7034 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7035 |
< |
if { (eval echo "$as_me:5336: \"$ac_link\"") >&5 |
7036 |
< |
(eval $ac_link) 2>&5 |
7035 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7036 |
> |
(eval $ac_link) 2>conftest.er1 |
7037 |
|
ac_status=$? |
7038 |
< |
echo "$as_me:5339: \$? = $ac_status" >&5 |
7038 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7039 |
> |
rm -f conftest.er1 |
7040 |
> |
cat conftest.err >&5 |
7041 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7042 |
|
(exit $ac_status); } && |
7043 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7044 |
< |
{ (eval echo "$as_me:5342: \"$ac_try\"") >&5 |
7043 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7044 |
> |
|| test ! -s conftest.err' |
7045 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7046 |
|
(eval $ac_try) 2>&5 |
7047 |
|
ac_status=$? |
7048 |
< |
echo "$as_me:5345: \$? = $ac_status" >&5 |
7048 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7049 |
> |
(exit $ac_status); }; } && |
7050 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7051 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7052 |
> |
(eval $ac_try) 2>&5 |
7053 |
> |
ac_status=$? |
7054 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7055 |
|
(exit $ac_status); }; }; then |
7056 |
|
ac_cv_lib_l_yywrap=yes |
7057 |
|
else |
7058 |
|
echo "$as_me: failed program was:" >&5 |
7059 |
< |
cat conftest.$ac_ext >&5 |
7059 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7060 |
> |
|
7061 |
|
ac_cv_lib_l_yywrap=no |
7062 |
|
fi |
7063 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7063 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7064 |
> |
conftest$ac_exeext conftest.$ac_ext |
7065 |
|
LIBS=$ac_check_lib_save_LIBS |
7066 |
|
fi |
7067 |
< |
echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5 |
7067 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
7068 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
7069 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
7070 |
|
LEXLIB="-ll" |
7075 |
|
fi |
7076 |
|
|
7077 |
|
if test "x$LEX" != "x:"; then |
7078 |
< |
echo "$as_me:5367: checking lex output file root" >&5 |
7078 |
> |
echo "$as_me:$LINENO: checking lex output file root" >&5 |
7079 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
7080 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
7081 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7082 |
|
else |
7083 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
7084 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
7085 |
< |
echo '%% |
7086 |
< |
%%' | $LEX |
7085 |
> |
cat >conftest.l <<_ACEOF |
7086 |
> |
%% |
7087 |
> |
%% |
7088 |
> |
_ACEOF |
7089 |
> |
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
7090 |
> |
(eval $LEX conftest.l) 2>&5 |
7091 |
> |
ac_status=$? |
7092 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7093 |
> |
(exit $ac_status); } |
7094 |
|
if test -f lex.yy.c; then |
7095 |
|
ac_cv_prog_lex_root=lex.yy |
7096 |
|
elif test -f lexyy.c; then |
7097 |
|
ac_cv_prog_lex_root=lexyy |
7098 |
|
else |
7099 |
< |
{ { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5 |
7099 |
> |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
7100 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
7101 |
|
{ (exit 1); exit 1; }; } |
7102 |
|
fi |
7103 |
|
fi |
7104 |
< |
echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5 |
7104 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
7105 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
7106 |
+ |
rm -f conftest.l |
7107 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
7108 |
|
|
7109 |
< |
echo "$as_me:5390: checking whether yytext is a pointer" >&5 |
7109 |
> |
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
7110 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
7111 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
7112 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7122 |
|
`cat $LEX_OUTPUT_ROOT.c` |
7123 |
|
_ACEOF |
7124 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7125 |
< |
if { (eval echo "$as_me:5406: \"$ac_link\"") >&5 |
7126 |
< |
(eval $ac_link) 2>&5 |
7125 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7126 |
> |
(eval $ac_link) 2>conftest.er1 |
7127 |
|
ac_status=$? |
7128 |
< |
echo "$as_me:5409: \$? = $ac_status" >&5 |
7128 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7129 |
> |
rm -f conftest.er1 |
7130 |
> |
cat conftest.err >&5 |
7131 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7132 |
|
(exit $ac_status); } && |
7133 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7134 |
< |
{ (eval echo "$as_me:5412: \"$ac_try\"") >&5 |
7133 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7134 |
> |
|| test ! -s conftest.err' |
7135 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7136 |
|
(eval $ac_try) 2>&5 |
7137 |
|
ac_status=$? |
7138 |
< |
echo "$as_me:5415: \$? = $ac_status" >&5 |
7138 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7139 |
> |
(exit $ac_status); }; } && |
7140 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7141 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7142 |
> |
(eval $ac_try) 2>&5 |
7143 |
> |
ac_status=$? |
7144 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7145 |
|
(exit $ac_status); }; }; then |
7146 |
|
ac_cv_prog_lex_yytext_pointer=yes |
7147 |
|
else |
7148 |
|
echo "$as_me: failed program was:" >&5 |
7149 |
< |
cat conftest.$ac_ext >&5 |
7149 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7150 |
> |
|
7151 |
|
fi |
7152 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7152 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7153 |
> |
conftest$ac_exeext conftest.$ac_ext |
7154 |
|
LIBS=$ac_save_LIBS |
7155 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
7156 |
|
|
7157 |
|
fi |
7158 |
< |
echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
7158 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
7159 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
7160 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
7161 |
|
|
7162 |
< |
cat >>confdefs.h <<\EOF |
7163 |
< |
#define YYTEXT_POINTER 1 |
7164 |
< |
EOF |
7162 |
> |
cat >>confdefs.h <<\_ACEOF |
7163 |
> |
#define YYTEXT_POINTER 1 |
7164 |
> |
_ACEOF |
7165 |
|
|
7166 |
|
fi |
7167 |
|
|
7168 |
|
fi |
7169 |
+ |
|
7170 |
+ |
# Extract the first word of "perl", so it can be a program name with args. |
7171 |
+ |
set dummy perl; ac_word=$2 |
7172 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7173 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7174 |
+ |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
7175 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7176 |
+ |
else |
7177 |
+ |
case $PERLINTERP in |
7178 |
+ |
[\\/]* | ?:[\\/]*) |
7179 |
+ |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
7180 |
+ |
;; |
7181 |
+ |
*) |
7182 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7183 |
+ |
for as_dir in $PATH |
7184 |
+ |
do |
7185 |
+ |
IFS=$as_save_IFS |
7186 |
+ |
test -z "$as_dir" && as_dir=. |
7187 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7188 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7189 |
+ |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
7190 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7191 |
+ |
break 2 |
7192 |
+ |
fi |
7193 |
+ |
done |
7194 |
+ |
done |
7195 |
+ |
|
7196 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
7197 |
+ |
;; |
7198 |
+ |
esac |
7199 |
+ |
fi |
7200 |
+ |
PERLINTERP=$ac_cv_path_PERLINTERP |
7201 |
+ |
|
7202 |
+ |
if test -n "$PERLINTERP"; then |
7203 |
+ |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
7204 |
+ |
echo "${ECHO_T}$PERLINTERP" >&6 |
7205 |
+ |
else |
7206 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
7207 |
+ |
echo "${ECHO_T}no" >&6 |
7208 |
+ |
fi |
7209 |
+ |
|
7210 |
+ |
ac_cv_path_perlinterp="$PERLINTERP" |
7211 |
+ |
_sHpB='#!' |
7212 |
+ |
|
7213 |
+ |
|
7214 |
+ |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
7215 |
+ |
if test "${with_perl_shebang+set}" = set; then |
7216 |
+ |
withval="$with_perl_shebang" |
7217 |
+ |
opt_perl_shebang="$withval" |
7218 |
+ |
else |
7219 |
+ |
opt_perl_shebang="not_set" |
7220 |
+ |
fi; |
7221 |
+ |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
7222 |
+ |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
7223 |
+ |
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
7224 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7225 |
+ |
else |
7226 |
+ |
case "$opt_perl_shebang" in |
7227 |
+ |
not_set ) ax_cv_opt_perl_shebang='' |
7228 |
+ |
;; |
7229 |
+ |
* ) |
7230 |
+ |
ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` |
7231 |
+ |
esac |
7232 |
+ |
|
7233 |
+ |
fi |
7234 |
+ |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
7235 |
+ |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
7236 |
+ |
if test "A$ax_cv_opt_perl_shebang" != "A" |
7237 |
+ |
then |
7238 |
+ |
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
7239 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
7240 |
+ |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
7241 |
+ |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
7242 |
+ |
|
7243 |
+ |
# Automatic detection of sharpbang formula starts here |
7244 |
+ |
else |
7245 |
+ |
_somian_shbangperl=`$PERLINTERP -V:startperl` |
7246 |
+ |
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
7247 |
+ |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
7248 |
+ |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
7249 |
+ |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
7250 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7251 |
+ |
else |
7252 |
+ |
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
7253 |
+ |
if test "x$_somian_kspb_perl" == x |
7254 |
+ |
then _somian_ksbp_warn_empty='durnit' |
7255 |
+ |
else |
7256 |
+ |
case "A$_somian_kspb_perl" in |
7257 |
+ |
A#!*perl* ) |
7258 |
+ |
ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` |
7259 |
+ |
;; |
7260 |
+ |
A* ) _somian_ksbp_warn_defau='trouble' |
7261 |
+ |
ac_cv_sys_kernshrpbang_perl="$PERLINTERP" |
7262 |
+ |
esac |
7263 |
+ |
fi |
7264 |
+ |
|
7265 |
+ |
fi |
7266 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
7267 |
+ |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
7268 |
+ |
# The above prints Checking ... result message to user. |
7269 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
7270 |
+ |
|
7271 |
+ |
if test A${_somian_ksbp_warn_empty+set} == Aset |
7272 |
+ |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
7273 |
+ |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
7274 |
+ |
fi |
7275 |
+ |
# Inform user after printing result value |
7276 |
+ |
if test A${_somian_ksbp_warn_defau+set} == Aset |
7277 |
+ |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
7278 |
+ |
echo "$as_me: Maybe Not good -" >&6;} |
7279 |
+ |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
7280 |
+ |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
7281 |
+ |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
7282 |
+ |
echo "$as_me: OK Good result - " >&6;} |
7283 |
+ |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
7284 |
+ |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
7285 |
+ |
fi |
7286 |
+ |
fi |
7287 |
+ |
|
7288 |
|
# Extract the first word of "ar", so it can be a program name with args. |
7289 |
|
set dummy ar; ac_word=$2 |
7290 |
< |
echo "$as_me:5440: checking for $ac_word" >&5 |
7290 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7291 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7292 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
7293 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7295 |
|
if test -n "$AR"; then |
7296 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
7297 |
|
else |
7298 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
7299 |
< |
ac_dummy="$PATH" |
7300 |
< |
for ac_dir in $ac_dummy; do |
7301 |
< |
IFS=$ac_save_IFS |
7302 |
< |
test -z "$ac_dir" && ac_dir=. |
7303 |
< |
$as_executable_p "$ac_dir/$ac_word" || continue |
7304 |
< |
ac_cv_prog_AR="ar" |
7305 |
< |
echo "$as_me:5455: found $ac_dir/$ac_word" >&5 |
7306 |
< |
break |
7298 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7299 |
> |
for as_dir in $PATH |
7300 |
> |
do |
7301 |
> |
IFS=$as_save_IFS |
7302 |
> |
test -z "$as_dir" && as_dir=. |
7303 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
7304 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7305 |
> |
ac_cv_prog_AR="ar" |
7306 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7307 |
> |
break 2 |
7308 |
> |
fi |
7309 |
|
done |
7310 |
+ |
done |
7311 |
|
|
7312 |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" |
7313 |
|
fi |
7314 |
|
fi |
7315 |
|
AR=$ac_cv_prog_AR |
7316 |
|
if test -n "$AR"; then |
7317 |
< |
echo "$as_me:5464: result: $AR" >&5 |
7317 |
> |
echo "$as_me:$LINENO: result: $AR" >&5 |
7318 |
|
echo "${ECHO_T}$AR" >&6 |
7319 |
|
else |
7320 |
< |
echo "$as_me:5467: result: no" >&5 |
7320 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
7321 |
|
echo "${ECHO_T}no" >&6 |
7322 |
|
fi |
7323 |
|
|
7324 |
|
if test "$AR" = "NONE"; then |
7325 |
< |
{ { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5 |
7325 |
> |
{ { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 |
7326 |
|
echo "$as_me: error: --> Can't find \`ar'!" >&2;} |
7327 |
|
{ (exit 1); exit 1; }; } |
7328 |
|
cat >confcache <<\_ACEOF |
7335 |
|
# config.status only pays attention to the cache file if you give it |
7336 |
|
# the --recheck option to rerun configure. |
7337 |
|
# |
7338 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
7338 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
7339 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
7340 |
|
# following values. |
7341 |
|
|
7353 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7354 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7355 |
|
sed -n \ |
7356 |
< |
"s/'/'\\\\''/g; |
7357 |
< |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7356 |
> |
"s/'/'\\\\''/g; |
7357 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7358 |
|
;; |
7359 |
|
*) |
7360 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7361 |
|
sed -n \ |
7362 |
< |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7362 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7363 |
|
;; |
7364 |
|
esac; |
7365 |
|
} | |
7370 |
|
t end |
7371 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7372 |
|
: end' >>confcache |
7373 |
< |
if cmp -s $cache_file confcache; then :; else |
7373 |
> |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
7374 |
|
if test -w $cache_file; then |
7375 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
7376 |
|
cat confcache >$cache_file |
7384 |
|
|
7385 |
|
# Extract the first word of "ps", so it can be a program name with args. |
7386 |
|
set dummy ps; ac_word=$2 |
7387 |
< |
echo "$as_me:5534: checking for $ac_word" >&5 |
7387 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7388 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7389 |
|
if test "${ac_cv_path_PS+set}" = set; then |
7390 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7394 |
|
ac_cv_path_PS="$PS" # Let the user override the test with a path. |
7395 |
|
;; |
7396 |
|
*) |
7397 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
7398 |
< |
ac_dummy="$PATH" |
7399 |
< |
for ac_dir in $ac_dummy; do |
7400 |
< |
IFS=$ac_save_IFS |
7401 |
< |
test -z "$ac_dir" && ac_dir=. |
7402 |
< |
if $as_executable_p "$ac_dir/$ac_word"; then |
7403 |
< |
ac_cv_path_PS="$ac_dir/$ac_word" |
7404 |
< |
echo "$as_me:5551: found $ac_dir/$ac_word" >&5 |
7405 |
< |
break |
7406 |
< |
fi |
7397 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7398 |
> |
for as_dir in $PATH |
7399 |
> |
do |
7400 |
> |
IFS=$as_save_IFS |
7401 |
> |
test -z "$as_dir" && as_dir=. |
7402 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
7403 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7404 |
> |
ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" |
7405 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7406 |
> |
break 2 |
7407 |
> |
fi |
7408 |
|
done |
7409 |
+ |
done |
7410 |
|
|
7411 |
|
;; |
7412 |
|
esac |
7414 |
|
PS=$ac_cv_path_PS |
7415 |
|
|
7416 |
|
if test -n "$PS"; then |
7417 |
< |
echo "$as_me:5562: result: $PS" >&5 |
7417 |
> |
echo "$as_me:$LINENO: result: $PS" >&5 |
7418 |
|
echo "${ECHO_T}$PS" >&6 |
7419 |
|
else |
7420 |
< |
echo "$as_me:5565: result: no" >&5 |
7420 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
7421 |
|
echo "${ECHO_T}no" >&6 |
7422 |
|
fi |
7423 |
|
|
7424 |
< |
echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5 |
7424 |
> |
echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
7425 |
|
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 |
7426 |
|
if test "${ac_cv_prog_ps_syntax+set}" = set; then |
7427 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7443 |
|
if test "$ac_cv_prog_ps_ef" = yes; then |
7444 |
|
ac_cv_prog_ps_syntax=POSIX |
7445 |
|
else |
7446 |
< |
{ { echo "$as_me:5591: error: Could not determine ps syntax" >&5 |
7446 |
> |
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
7447 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
7448 |
|
{ (exit 1); exit 1; }; } |
7449 |
|
fi |
7450 |
|
fi |
7451 |
|
|
7452 |
|
fi |
7453 |
< |
echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5 |
7453 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
7454 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
7455 |
|
|
7456 |
< |
cat >>confdefs.h <<EOF |
7456 |
> |
|
7457 |
> |
cat >>confdefs.h <<_ACEOF |
7458 |
|
#define PSCOMMAND $PS |
7459 |
< |
EOF |
7459 |
> |
_ACEOF |
7460 |
|
|
7461 |
+ |
|
7462 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
7463 |
< |
cat >>confdefs.h <<\EOF |
7463 |
> |
cat >>confdefs.h <<\_ACEOF |
7464 |
|
#define PSTYPE_IS_BSD 1 |
7465 |
< |
EOF |
7465 |
> |
_ACEOF |
7466 |
|
|
7467 |
|
else |
7468 |
|
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
7469 |
< |
cat >>confdefs.h <<\EOF |
7469 |
> |
cat >>confdefs.h <<\_ACEOF |
7470 |
|
#define PSTYPE_IS_POSIX 1 |
7471 |
< |
EOF |
7471 |
> |
_ACEOF |
7472 |
|
|
7473 |
|
else |
7474 |
< |
{ { echo "$as_me:5617: error: Unknown ps syntax type!" >&5 |
7474 |
> |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
7475 |
|
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
7476 |
|
{ (exit 1); exit 1; }; } |
7477 |
|
fi |
7478 |
|
fi |
7479 |
|
|
7480 |
+ |
|
7481 |
|
# Check whether --with-mpi or --without-mpi was given. |
7482 |
|
if test "${with_mpi+set}" = set; then |
7483 |
|
withval="$with_mpi" |
7496 |
|
fi |
7497 |
|
if test "$USE_MPI" = "yes"; then |
7498 |
|
|
7499 |
+ |
|
7500 |
|
# Set variables... |
7501 |
|
MPI_LIB_DIR="$MPI/lib" |
7502 |
|
MPI_INC_DIR="$MPI/include" |
7503 |
|
|
7504 |
< |
echo "$as_me:5645: checking for mpi.h" >&5 |
7504 |
> |
|
7505 |
> |
|
7506 |
> |
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
7507 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
7508 |
|
have_mpi_h=0 |
7509 |
|
echo '#include <mpi.h>' > conftest.cc |
7510 |
|
if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
7511 |
< |
echo "$as_me:5650: result: yes" >&5 |
7511 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
7512 |
|
echo "${ECHO_T}yes" >&6 |
7513 |
|
have_mpi_h=1 |
7514 |
|
else |
7515 |
< |
echo "$as_me:5654: result: no! Check MPI include paths" >&5 |
7515 |
> |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
7516 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
7517 |
|
USE_MPI="no" |
7518 |
|
fi |
7519 |
|
rm -f conftest* |
7520 |
|
if test "$have_mpi_h" = 1; then |
7521 |
|
|
7522 |
< |
cat >>confdefs.h <<\EOF |
7522 |
> |
cat >>confdefs.h <<\_ACEOF |
7523 |
|
#define HAVE_MPI_H 1 |
7524 |
< |
EOF |
7524 |
> |
_ACEOF |
7525 |
|
|
7526 |
|
fi |
7527 |
|
|
7528 |
< |
echo "$as_me:5667: checking whether mpif.h is usable" >&5 |
7528 |
> |
echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
7529 |
|
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 |
7530 |
|
have_mpif_h=0 |
7531 |
|
rm -f conftest* |
7535 |
|
end |
7536 |
|
EOF |
7537 |
|
if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then |
7538 |
< |
echo "$as_me:5677: result: yes" >&5 |
7538 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
7539 |
|
echo "${ECHO_T}yes" >&6 |
7540 |
|
MPI_F90_INC="$MPI_INC_DIR" |
7541 |
|
have_mpif_h=1 |
7543 |
|
if test -s conftest.out ; then |
7544 |
|
cat conftest.out >> config.log |
7545 |
|
fi |
7546 |
< |
echo "$as_me:5685: result: no! Check MPI include paths" >&5 |
7546 |
> |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
7547 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
7548 |
|
USE_MPI="no" |
7549 |
|
fi |
7551 |
|
|
7552 |
|
if test "$have_mpif_h" = 1; then |
7553 |
|
|
7554 |
< |
cat >>confdefs.h <<\EOF |
7554 |
> |
cat >>confdefs.h <<\_ACEOF |
7555 |
|
#define HAVE_MPIF_H 1 |
7556 |
< |
EOF |
7556 |
> |
_ACEOF |
7557 |
|
|
7558 |
|
fi |
7559 |
|
|
7567 |
|
LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} " |
7568 |
|
|
7569 |
|
if test x = x"$MPI_LIB"; then |
7570 |
< |
echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5 |
7570 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
7571 |
|
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
7572 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
7573 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7575 |
|
ac_check_lib_save_LIBS=$LIBS |
7576 |
|
LIBS="-lmpich $LIBS" |
7577 |
|
cat >conftest.$ac_ext <<_ACEOF |
7578 |
< |
#line 5717 "configure" |
7579 |
< |
#include "confdefs.h" |
7578 |
> |
/* confdefs.h. */ |
7579 |
> |
_ACEOF |
7580 |
> |
cat confdefs.h >>conftest.$ac_ext |
7581 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7582 |
> |
/* end confdefs.h. */ |
7583 |
|
|
7584 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7585 |
|
#ifdef __cplusplus |
7597 |
|
} |
7598 |
|
_ACEOF |
7599 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7600 |
< |
if { (eval echo "$as_me:5736: \"$ac_link\"") >&5 |
7601 |
< |
(eval $ac_link) 2>&5 |
7600 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7601 |
> |
(eval $ac_link) 2>conftest.er1 |
7602 |
|
ac_status=$? |
7603 |
< |
echo "$as_me:5739: \$? = $ac_status" >&5 |
7603 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7604 |
> |
rm -f conftest.er1 |
7605 |
> |
cat conftest.err >&5 |
7606 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7607 |
|
(exit $ac_status); } && |
7608 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7609 |
< |
{ (eval echo "$as_me:5742: \"$ac_try\"") >&5 |
7608 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7609 |
> |
|| test ! -s conftest.err' |
7610 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7611 |
|
(eval $ac_try) 2>&5 |
7612 |
|
ac_status=$? |
7613 |
< |
echo "$as_me:5745: \$? = $ac_status" >&5 |
7613 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7614 |
> |
(exit $ac_status); }; } && |
7615 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7616 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7617 |
> |
(eval $ac_try) 2>&5 |
7618 |
> |
ac_status=$? |
7619 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7620 |
|
(exit $ac_status); }; }; then |
7621 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7622 |
|
else |
7623 |
|
echo "$as_me: failed program was:" >&5 |
7624 |
< |
cat conftest.$ac_ext >&5 |
7624 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7625 |
> |
|
7626 |
|
ac_cv_lib_mpich_MPI_Init=no |
7627 |
|
fi |
7628 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7628 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7629 |
> |
conftest$ac_exeext conftest.$ac_ext |
7630 |
|
LIBS=$ac_check_lib_save_LIBS |
7631 |
|
fi |
7632 |
< |
echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7632 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7633 |
|
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
7634 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
7635 |
|
MPI_LIB="-lmpich" |
7637 |
|
|
7638 |
|
fi |
7639 |
|
if test x = x"$MPI_LIB"; then |
7640 |
< |
echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5 |
7640 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
7641 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
7642 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
7643 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7645 |
|
ac_check_lib_save_LIBS=$LIBS |
7646 |
|
LIBS="-lmpi $LIBS" |
7647 |
|
cat >conftest.$ac_ext <<_ACEOF |
7648 |
< |
#line 5772 "configure" |
7649 |
< |
#include "confdefs.h" |
7648 |
> |
/* confdefs.h. */ |
7649 |
> |
_ACEOF |
7650 |
> |
cat confdefs.h >>conftest.$ac_ext |
7651 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7652 |
> |
/* end confdefs.h. */ |
7653 |
|
|
7654 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7655 |
|
#ifdef __cplusplus |
7667 |
|
} |
7668 |
|
_ACEOF |
7669 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7670 |
< |
if { (eval echo "$as_me:5791: \"$ac_link\"") >&5 |
7671 |
< |
(eval $ac_link) 2>&5 |
7670 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7671 |
> |
(eval $ac_link) 2>conftest.er1 |
7672 |
|
ac_status=$? |
7673 |
< |
echo "$as_me:5794: \$? = $ac_status" >&5 |
7673 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7674 |
> |
rm -f conftest.er1 |
7675 |
> |
cat conftest.err >&5 |
7676 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7677 |
|
(exit $ac_status); } && |
7678 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7679 |
< |
{ (eval echo "$as_me:5797: \"$ac_try\"") >&5 |
7678 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7679 |
> |
|| test ! -s conftest.err' |
7680 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7681 |
|
(eval $ac_try) 2>&5 |
7682 |
|
ac_status=$? |
7683 |
< |
echo "$as_me:5800: \$? = $ac_status" >&5 |
7683 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7684 |
> |
(exit $ac_status); }; } && |
7685 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7686 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7687 |
> |
(eval $ac_try) 2>&5 |
7688 |
> |
ac_status=$? |
7689 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7690 |
|
(exit $ac_status); }; }; then |
7691 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7692 |
|
else |
7693 |
|
echo "$as_me: failed program was:" >&5 |
7694 |
< |
cat conftest.$ac_ext >&5 |
7694 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7695 |
> |
|
7696 |
|
ac_cv_lib_mpi_MPI_Init=no |
7697 |
|
fi |
7698 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7698 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7699 |
> |
conftest$ac_exeext conftest.$ac_ext |
7700 |
|
LIBS=$ac_check_lib_save_LIBS |
7701 |
|
fi |
7702 |
< |
echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7702 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7703 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
7704 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
7705 |
|
MPI_LIB="-lmpi" |
7708 |
|
fi |
7709 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
7710 |
|
if test x = x"$MPI_LIB"; then |
7711 |
< |
echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5 |
7711 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
7712 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
7713 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
7714 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7716 |
|
ac_check_lib_save_LIBS=$LIBS |
7717 |
|
LIBS="-lmpi "-llam" $LIBS" |
7718 |
|
cat >conftest.$ac_ext <<_ACEOF |
7719 |
< |
#line 5828 "configure" |
7720 |
< |
#include "confdefs.h" |
7719 |
> |
/* confdefs.h. */ |
7720 |
> |
_ACEOF |
7721 |
> |
cat confdefs.h >>conftest.$ac_ext |
7722 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7723 |
> |
/* end confdefs.h. */ |
7724 |
|
|
7725 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7726 |
|
#ifdef __cplusplus |
7738 |
|
} |
7739 |
|
_ACEOF |
7740 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7741 |
< |
if { (eval echo "$as_me:5847: \"$ac_link\"") >&5 |
7742 |
< |
(eval $ac_link) 2>&5 |
7741 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7742 |
> |
(eval $ac_link) 2>conftest.er1 |
7743 |
|
ac_status=$? |
7744 |
< |
echo "$as_me:5850: \$? = $ac_status" >&5 |
7744 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7745 |
> |
rm -f conftest.er1 |
7746 |
> |
cat conftest.err >&5 |
7747 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7748 |
|
(exit $ac_status); } && |
7749 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7750 |
< |
{ (eval echo "$as_me:5853: \"$ac_try\"") >&5 |
7749 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7750 |
> |
|| test ! -s conftest.err' |
7751 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7752 |
|
(eval $ac_try) 2>&5 |
7753 |
|
ac_status=$? |
7754 |
< |
echo "$as_me:5856: \$? = $ac_status" >&5 |
7754 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7755 |
> |
(exit $ac_status); }; } && |
7756 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7757 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 |
> |
(eval $ac_try) 2>&5 |
7759 |
> |
ac_status=$? |
7760 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 |
|
(exit $ac_status); }; }; then |
7762 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7763 |
|
else |
7764 |
|
echo "$as_me: failed program was:" >&5 |
7765 |
< |
cat conftest.$ac_ext >&5 |
7765 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7766 |
> |
|
7767 |
|
ac_cv_lib_mpi_MPI_Init=no |
7768 |
|
fi |
7769 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7769 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7770 |
> |
conftest$ac_exeext conftest.$ac_ext |
7771 |
|
LIBS=$ac_check_lib_save_LIBS |
7772 |
|
fi |
7773 |
< |
echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7773 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7774 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
7775 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
7776 |
|
MPI_LIB="-lmpi -llam" |
7779 |
|
fi |
7780 |
|
$as_unset ac_cv_lib_mpich_MPI_Init |
7781 |
|
if test x = x"$MPI_LIB"; then |
7782 |
< |
echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5 |
7782 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
7783 |
|
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
7784 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
7785 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7787 |
|
ac_check_lib_save_LIBS=$LIBS |
7788 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
7789 |
|
cat >conftest.$ac_ext <<_ACEOF |
7790 |
< |
#line 5884 "configure" |
7791 |
< |
#include "confdefs.h" |
7790 |
> |
/* confdefs.h. */ |
7791 |
> |
_ACEOF |
7792 |
> |
cat confdefs.h >>conftest.$ac_ext |
7793 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7794 |
> |
/* end confdefs.h. */ |
7795 |
|
|
7796 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7797 |
|
#ifdef __cplusplus |
7809 |
|
} |
7810 |
|
_ACEOF |
7811 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7812 |
< |
if { (eval echo "$as_me:5903: \"$ac_link\"") >&5 |
7813 |
< |
(eval $ac_link) 2>&5 |
7812 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7813 |
> |
(eval $ac_link) 2>conftest.er1 |
7814 |
|
ac_status=$? |
7815 |
< |
echo "$as_me:5906: \$? = $ac_status" >&5 |
7815 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7816 |
> |
rm -f conftest.er1 |
7817 |
> |
cat conftest.err >&5 |
7818 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7819 |
|
(exit $ac_status); } && |
7820 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7821 |
< |
{ (eval echo "$as_me:5909: \"$ac_try\"") >&5 |
7820 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7821 |
> |
|| test ! -s conftest.err' |
7822 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7823 |
|
(eval $ac_try) 2>&5 |
7824 |
|
ac_status=$? |
7825 |
< |
echo "$as_me:5912: \$? = $ac_status" >&5 |
7825 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7826 |
> |
(exit $ac_status); }; } && |
7827 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7828 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7829 |
> |
(eval $ac_try) 2>&5 |
7830 |
> |
ac_status=$? |
7831 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7832 |
|
(exit $ac_status); }; }; then |
7833 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7834 |
|
else |
7835 |
|
echo "$as_me: failed program was:" >&5 |
7836 |
< |
cat conftest.$ac_ext >&5 |
7836 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7837 |
> |
|
7838 |
|
ac_cv_lib_mpich_MPI_Init=no |
7839 |
|
fi |
7840 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7840 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7841 |
> |
conftest$ac_exeext conftest.$ac_ext |
7842 |
|
LIBS=$ac_check_lib_save_LIBS |
7843 |
|
fi |
7844 |
< |
echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7844 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7845 |
|
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
7846 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
7847 |
|
MPI_LIB="-lmpich -lpmpich" |
7851 |
|
|
7852 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
7853 |
|
if test x = x"$MPI_LIB"; then |
7854 |
< |
echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5 |
7854 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
7855 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
7856 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
7857 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7859 |
|
ac_check_lib_save_LIBS=$LIBS |
7860 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7861 |
|
cat >conftest.$ac_ext <<_ACEOF |
7862 |
< |
#line 5941 "configure" |
7863 |
< |
#include "confdefs.h" |
7862 |
> |
/* confdefs.h. */ |
7863 |
> |
_ACEOF |
7864 |
> |
cat confdefs.h >>conftest.$ac_ext |
7865 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7866 |
> |
/* end confdefs.h. */ |
7867 |
|
|
7868 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7869 |
|
#ifdef __cplusplus |
7881 |
|
} |
7882 |
|
_ACEOF |
7883 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7884 |
< |
if { (eval echo "$as_me:5960: \"$ac_link\"") >&5 |
7885 |
< |
(eval $ac_link) 2>&5 |
7884 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7885 |
> |
(eval $ac_link) 2>conftest.er1 |
7886 |
|
ac_status=$? |
7887 |
< |
echo "$as_me:5963: \$? = $ac_status" >&5 |
7887 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
7888 |
> |
rm -f conftest.er1 |
7889 |
> |
cat conftest.err >&5 |
7890 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7891 |
|
(exit $ac_status); } && |
7892 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7893 |
< |
{ (eval echo "$as_me:5966: \"$ac_try\"") >&5 |
7892 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7893 |
> |
|| test ! -s conftest.err' |
7894 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7895 |
|
(eval $ac_try) 2>&5 |
7896 |
|
ac_status=$? |
7897 |
< |
echo "$as_me:5969: \$? = $ac_status" >&5 |
7897 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7898 |
> |
(exit $ac_status); }; } && |
7899 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7900 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7901 |
> |
(eval $ac_try) 2>&5 |
7902 |
> |
ac_status=$? |
7903 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7904 |
|
(exit $ac_status); }; }; then |
7905 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7906 |
|
else |
7907 |
|
echo "$as_me: failed program was:" >&5 |
7908 |
< |
cat conftest.$ac_ext >&5 |
7908 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
7909 |
> |
|
7910 |
|
ac_cv_lib_mpi_MPI_Init=no |
7911 |
|
fi |
7912 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7912 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7913 |
> |
conftest$ac_exeext conftest.$ac_ext |
7914 |
|
LIBS=$ac_check_lib_save_LIBS |
7915 |
|
fi |
7916 |
< |
echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7916 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7917 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
7918 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
7919 |
|
MPI_LIB="-lmpi -llam -lpthread" |
7920 |
|
else |
7921 |
|
|
7922 |
< |
{ { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
7922 |
> |
{ { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
7923 |
|
echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;} |
7924 |
|
{ (exit 1); exit 1; }; } |
7925 |
|
USE_MPI="no" |
7928 |
|
|
7929 |
|
fi |
7930 |
|
|
7931 |
< |
echo "$as_me:5995: checking for MPI Fortran library" >&5 |
7931 |
> |
|
7932 |
> |
|
7933 |
> |
echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
7934 |
|
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6 |
7935 |
|
MPI_F90_LIB="" |
7936 |
|
if test -f "$MPI_LIB_DIR/libfmpich.a" ; then |
7940 |
|
else |
7941 |
|
MPI_F90_LIB=" " |
7942 |
|
fi |
7943 |
< |
echo "$as_me:6005: result: found $MPI_F90_LIB" >&5 |
7943 |
> |
echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
7944 |
|
echo "${ECHO_T}found $MPI_F90_LIB" >&6 |
7945 |
|
|
6008 |
– |
fi |
7946 |
|
|
6010 |
– |
# Check whether --with-sprng or --without-sprng was given. |
6011 |
– |
if test "${with_sprng+set}" = set; then |
6012 |
– |
withval="$with_sprng" |
6013 |
– |
with_sprng=$withval |
6014 |
– |
else |
6015 |
– |
with_sprng="/usr/local" |
6016 |
– |
fi; |
6017 |
– |
|
6018 |
– |
case "x$with_sprng" in |
6019 |
– |
xyes | "x") USE_SPRNG=yes;; |
6020 |
– |
xno) USE_SPRNG=no ;; |
6021 |
– |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
6022 |
– |
esac |
6023 |
– |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
6024 |
– |
SPRNG="/usr/local" |
7947 |
|
fi |
6026 |
– |
if test "$USE_SPRNG" = "yes"; then |
7948 |
|
|
6028 |
– |
# Set variables... |
6029 |
– |
SPRNG_LIB_DIR="$SPRNG/lib" |
6030 |
– |
SPRNG_INC_DIR="$SPRNG/include" |
7949 |
|
|
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:6037: result: yes" >&5 |
6038 |
– |
echo "${ECHO_T}yes" >&6 |
6039 |
– |
have_sprng_h=1 |
6040 |
– |
else |
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 |
7950 |
|
|
6048 |
– |
cat >>confdefs.h <<\EOF |
6049 |
– |
#define HAVE_SPRNG_H 1 |
6050 |
– |
EOF |
7951 |
|
|
7952 |
< |
fi |
7952 |
> |
USE_CGAL=no |
7953 |
> |
cgal_makefile=auto |
7954 |
|
|
7955 |
< |
ac_ext=c |
7956 |
< |
ac_cpp='$CPP $CPPFLAGS' |
7957 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7958 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7959 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7955 |
> |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
7956 |
> |
if test "${with_cgal_makefile+set}" = set; then |
7957 |
> |
withval="$with_cgal_makefile" |
7958 |
> |
cgal_makefile="$withval" |
7959 |
> |
fi; |
7960 |
|
|
7961 |
< |
ac_save_LDFLAGS=$LDFLAGS |
6061 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
7961 |
> |
if test "x$cgal_makefile" != xno; then |
7962 |
|
|
7963 |
< |
echo "$as_me:6063: checking for init_rng in -lsprng" >&5 |
7964 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
7965 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
7963 |
> |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
7964 |
> |
cgal_makefile="$CGAL_MAKEFILE" |
7965 |
> |
fi |
7966 |
> |
|
7967 |
> |
echo "cgal_makefile $cgal_makefile" |
7968 |
> |
|
7969 |
> |
if test -f "$cgal_makefile"; then |
7970 |
> |
|
7971 |
> |
cat >config.tmp.Makefile <<EOF |
7972 |
> |
include $cgal_makefile |
7973 |
> |
default: |
7974 |
> |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
7975 |
> |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
7976 |
> |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
7977 |
> |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7978 |
> |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7979 |
> |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
7980 |
> |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
7981 |
> |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7982 |
> |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7983 |
> |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
7984 |
> |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7985 |
> |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7986 |
> |
EOF |
7987 |
> |
|
7988 |
> |
make -s -f config.tmp.Makefile |
7989 |
> |
. config.tmp.cgalvariables |
7990 |
> |
|
7991 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
7992 |
> |
|
7993 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
7994 |
> |
CGAL_INCLDIR="" |
7995 |
> |
fi |
7996 |
> |
|
7997 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
7998 |
> |
CGAL_LIBDIR="" |
7999 |
> |
fi |
8000 |
> |
|
8001 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
8002 |
> |
CGAL_RLIBDIR="" |
8003 |
> |
fi |
8004 |
> |
|
8005 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
8006 |
> |
LEDA_INCLDIR="" |
8007 |
> |
fi |
8008 |
> |
|
8009 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
8010 |
> |
LEDA_LIBDIR="" |
8011 |
> |
fi |
8012 |
> |
|
8013 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
8014 |
> |
LEDA_RLIBDIR="" |
8015 |
> |
fi |
8016 |
> |
|
8017 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
8018 |
> |
GMP_INCLDIR="" |
8019 |
> |
fi |
8020 |
> |
|
8021 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
8022 |
> |
GMP_LIBDIR="" |
8023 |
> |
fi |
8024 |
> |
|
8025 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
8026 |
> |
GMP_RLIBDIR="" |
8027 |
> |
fi |
8028 |
> |
|
8029 |
> |
echo "CGAL_OS_COMPILER $CGAL_OS_COMPILER" |
8030 |
> |
echo "CGAL_INCLDIR $CGAL_INCLDIR" |
8031 |
> |
echo "CGAL_INCLCONFDIR $CGAL_INCLCONFDIR" |
8032 |
> |
echo "CGAL_LIBDIR $CGAL_LIBDIR" |
8033 |
> |
echo "CGAL_CXXFLAGS $CGAL_CXXFLAGS" |
8034 |
> |
echo "LEDA_INCLDIR $LEDA_INCLDIR" |
8035 |
> |
echo "LEDA_LIBDIR $LEDA_LIBDIR" |
8036 |
> |
echo "GMP_INCLDIR $GMP_INCLDIR" |
8037 |
> |
echo "GMP_LIBDIR $GMP_LIBDIR" |
8038 |
> |
|
8039 |
> |
ac_ext=cc |
8040 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
8041 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8042 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8043 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8044 |
> |
|
8045 |
> |
save_CXXFLAGS="$CXXFLAGS" |
8046 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
8047 |
> |
|
8048 |
> |
ac_ext=cc |
8049 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
8050 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8051 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8052 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8053 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
8054 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
8055 |
> |
if test -z "$CXXCPP"; then |
8056 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
8057 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8058 |
|
else |
8059 |
< |
ac_check_lib_save_LIBS=$LIBS |
8060 |
< |
LIBS="-lsprng $LIBS" |
8061 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8062 |
< |
#line 6071 "configure" |
8063 |
< |
#include "confdefs.h" |
8064 |
< |
|
8065 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
8066 |
< |
#ifdef __cplusplus |
8067 |
< |
extern "C" |
8059 |
> |
# Double quotes because CXXCPP needs to be expanded |
8060 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
8061 |
> |
do |
8062 |
> |
ac_preproc_ok=false |
8063 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
8064 |
> |
do |
8065 |
> |
# Use a header file that comes with gcc, so configuring glibc |
8066 |
> |
# with a fresh cross-compiler works. |
8067 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8068 |
> |
# <limits.h> exists even on freestanding compilers. |
8069 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8070 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
8071 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8072 |
> |
/* confdefs.h. */ |
8073 |
> |
_ACEOF |
8074 |
> |
cat confdefs.h >>conftest.$ac_ext |
8075 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8076 |
> |
/* end confdefs.h. */ |
8077 |
> |
#ifdef __STDC__ |
8078 |
> |
# include <limits.h> |
8079 |
> |
#else |
8080 |
> |
# include <assert.h> |
8081 |
|
#endif |
8082 |
< |
/* We use char because int might match the return type of a gcc2 |
6079 |
< |
builtin and then its argument prototype would still apply. */ |
6080 |
< |
char init_rng (); |
6081 |
< |
int |
6082 |
< |
main () |
6083 |
< |
{ |
6084 |
< |
init_rng (); |
6085 |
< |
; |
6086 |
< |
return 0; |
6087 |
< |
} |
8082 |
> |
Syntax error |
8083 |
|
_ACEOF |
8084 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
8085 |
< |
if { (eval echo "$as_me:6090: \"$ac_link\"") >&5 |
6091 |
< |
(eval $ac_link) 2>&5 |
8084 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8085 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8086 |
|
ac_status=$? |
8087 |
< |
echo "$as_me:6093: \$? = $ac_status" >&5 |
8088 |
< |
(exit $ac_status); } && |
8089 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8090 |
< |
{ (eval echo "$as_me:6096: \"$ac_try\"") >&5 |
8091 |
< |
(eval $ac_try) 2>&5 |
8092 |
< |
ac_status=$? |
8093 |
< |
echo "$as_me:6099: \$? = $ac_status" >&5 |
8094 |
< |
(exit $ac_status); }; }; then |
8095 |
< |
ac_cv_lib_sprng_init_rng=yes |
8087 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8088 |
> |
rm -f conftest.er1 |
8089 |
> |
cat conftest.err >&5 |
8090 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8091 |
> |
(exit $ac_status); } >/dev/null; then |
8092 |
> |
if test -s conftest.err; then |
8093 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8094 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8095 |
> |
else |
8096 |
> |
ac_cpp_err= |
8097 |
> |
fi |
8098 |
|
else |
8099 |
+ |
ac_cpp_err=yes |
8100 |
+ |
fi |
8101 |
+ |
if test -z "$ac_cpp_err"; then |
8102 |
+ |
: |
8103 |
+ |
else |
8104 |
|
echo "$as_me: failed program was:" >&5 |
8105 |
< |
cat conftest.$ac_ext >&5 |
8106 |
< |
ac_cv_lib_sprng_init_rng=no |
8105 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
8106 |
> |
|
8107 |
> |
# Broken: fails on valid input. |
8108 |
> |
continue |
8109 |
|
fi |
8110 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8111 |
< |
LIBS=$ac_check_lib_save_LIBS |
8110 |
> |
rm -f conftest.err conftest.$ac_ext |
8111 |
> |
|
8112 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
8113 |
> |
# can be detected and how. |
8114 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8115 |
> |
/* confdefs.h. */ |
8116 |
> |
_ACEOF |
8117 |
> |
cat confdefs.h >>conftest.$ac_ext |
8118 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8119 |
> |
/* end confdefs.h. */ |
8120 |
> |
#include <ac_nonexistent.h> |
8121 |
> |
_ACEOF |
8122 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8123 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8124 |
> |
ac_status=$? |
8125 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8126 |
> |
rm -f conftest.er1 |
8127 |
> |
cat conftest.err >&5 |
8128 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8129 |
> |
(exit $ac_status); } >/dev/null; then |
8130 |
> |
if test -s conftest.err; then |
8131 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8132 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8133 |
> |
else |
8134 |
> |
ac_cpp_err= |
8135 |
> |
fi |
8136 |
> |
else |
8137 |
> |
ac_cpp_err=yes |
8138 |
|
fi |
8139 |
< |
echo "$as_me:6110: result: $ac_cv_lib_sprng_init_rng" >&5 |
8140 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
8141 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
6113 |
< |
SPRNG_LIB="-lsprng" |
8139 |
> |
if test -z "$ac_cpp_err"; then |
8140 |
> |
# Broken: success on invalid input. |
8141 |
> |
continue |
8142 |
|
else |
8143 |
+ |
echo "$as_me: failed program was:" >&5 |
8144 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8145 |
|
|
8146 |
< |
{ { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
8147 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
8148 |
< |
{ (exit 1); exit 1; }; } |
8149 |
< |
USE_SPRNG="no" |
8146 |
> |
# Passes both tests. |
8147 |
> |
ac_preproc_ok=: |
8148 |
> |
break |
8149 |
> |
fi |
8150 |
> |
rm -f conftest.err conftest.$ac_ext |
8151 |
|
|
8152 |
+ |
done |
8153 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8154 |
+ |
rm -f conftest.err conftest.$ac_ext |
8155 |
+ |
if $ac_preproc_ok; then |
8156 |
+ |
break |
8157 |
|
fi |
8158 |
|
|
8159 |
< |
if test "$USE_SPRNG" = "no"; then |
8160 |
< |
{ { echo "$as_me:6124: error: No working SPRNG library found" >&5 |
8161 |
< |
echo "$as_me: error: No working SPRNG library found" >&2;} |
8162 |
< |
{ (exit 1); exit 1; }; } |
8159 |
> |
done |
8160 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
8161 |
> |
|
8162 |
> |
fi |
8163 |
> |
CXXCPP=$ac_cv_prog_CXXCPP |
8164 |
> |
else |
8165 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
8166 |
|
fi |
8167 |
+ |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
8168 |
+ |
echo "${ECHO_T}$CXXCPP" >&6 |
8169 |
+ |
ac_preproc_ok=false |
8170 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
8171 |
+ |
do |
8172 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
8173 |
+ |
# with a fresh cross-compiler works. |
8174 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8175 |
+ |
# <limits.h> exists even on freestanding compilers. |
8176 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8177 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
8178 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
8179 |
+ |
/* confdefs.h. */ |
8180 |
+ |
_ACEOF |
8181 |
+ |
cat confdefs.h >>conftest.$ac_ext |
8182 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
8183 |
+ |
/* end confdefs.h. */ |
8184 |
+ |
#ifdef __STDC__ |
8185 |
+ |
# include <limits.h> |
8186 |
+ |
#else |
8187 |
+ |
# include <assert.h> |
8188 |
+ |
#endif |
8189 |
+ |
Syntax error |
8190 |
+ |
_ACEOF |
8191 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8192 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8193 |
+ |
ac_status=$? |
8194 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8195 |
+ |
rm -f conftest.er1 |
8196 |
+ |
cat conftest.err >&5 |
8197 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8198 |
+ |
(exit $ac_status); } >/dev/null; then |
8199 |
+ |
if test -s conftest.err; then |
8200 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8201 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8202 |
+ |
else |
8203 |
+ |
ac_cpp_err= |
8204 |
+ |
fi |
8205 |
+ |
else |
8206 |
+ |
ac_cpp_err=yes |
8207 |
+ |
fi |
8208 |
+ |
if test -z "$ac_cpp_err"; then |
8209 |
+ |
: |
8210 |
+ |
else |
8211 |
+ |
echo "$as_me: failed program was:" >&5 |
8212 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8213 |
|
|
8214 |
+ |
# Broken: fails on valid input. |
8215 |
+ |
continue |
8216 |
|
fi |
8217 |
+ |
rm -f conftest.err conftest.$ac_ext |
8218 |
|
|
8219 |
< |
echo "$as_me:6131: checking if MKL is wanted" >&5 |
8220 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
8219 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
8220 |
> |
# can be detected and how. |
8221 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8222 |
> |
/* confdefs.h. */ |
8223 |
> |
_ACEOF |
8224 |
> |
cat confdefs.h >>conftest.$ac_ext |
8225 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8226 |
> |
/* end confdefs.h. */ |
8227 |
> |
#include <ac_nonexistent.h> |
8228 |
> |
_ACEOF |
8229 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8230 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8231 |
> |
ac_status=$? |
8232 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8233 |
> |
rm -f conftest.er1 |
8234 |
> |
cat conftest.err >&5 |
8235 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8236 |
> |
(exit $ac_status); } >/dev/null; then |
8237 |
> |
if test -s conftest.err; then |
8238 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8239 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8240 |
> |
else |
8241 |
> |
ac_cpp_err= |
8242 |
> |
fi |
8243 |
> |
else |
8244 |
> |
ac_cpp_err=yes |
8245 |
> |
fi |
8246 |
> |
if test -z "$ac_cpp_err"; then |
8247 |
> |
# Broken: success on invalid input. |
8248 |
> |
continue |
8249 |
> |
else |
8250 |
> |
echo "$as_me: failed program was:" >&5 |
8251 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
8252 |
|
|
8253 |
< |
# Check whether --with-mkl or --without-mkl was given. |
8254 |
< |
if test "${with_mkl+set}" = set; then |
8255 |
< |
withval="$with_mkl" |
8256 |
< |
echo "$as_me:6137: result: yes" >&5 |
8257 |
< |
echo "${ECHO_T}yes" >&6 |
8258 |
< |
for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do |
8259 |
< |
mkldir="$dir" |
8260 |
< |
if test -f "$dir/include/mkl.h"; then |
8261 |
< |
found_mkl="yes"; |
8262 |
< |
break; |
8263 |
< |
fi |
8264 |
< |
done |
8265 |
< |
if test x_$found_mkl != x_yes; then |
8266 |
< |
{ { echo "$as_me:6147: error: Cannot find MKL includes" >&5 |
8267 |
< |
echo "$as_me: error: Cannot find MKL includes" >&2;} |
8253 |
> |
# Passes both tests. |
8254 |
> |
ac_preproc_ok=: |
8255 |
> |
break |
8256 |
> |
fi |
8257 |
> |
rm -f conftest.err conftest.$ac_ext |
8258 |
> |
|
8259 |
> |
done |
8260 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8261 |
> |
rm -f conftest.err conftest.$ac_ext |
8262 |
> |
if $ac_preproc_ok; then |
8263 |
> |
: |
8264 |
> |
else |
8265 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8266 |
> |
See \`config.log' for more details." >&5 |
8267 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8268 |
> |
See \`config.log' for more details." >&2;} |
8269 |
|
{ (exit 1); exit 1; }; } |
8270 |
< |
else |
6151 |
< |
printf "MKL includes found in $mkldir/include\n"; |
6152 |
< |
fi |
8270 |
> |
fi |
8271 |
|
|
8272 |
< |
ac_ext=c |
8273 |
< |
ac_cpp='$CPP $CPPFLAGS' |
8274 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8275 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8276 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8272 |
> |
ac_ext=cc |
8273 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
8274 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8275 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8276 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8277 |
|
|
8278 |
< |
ac_save_CPPFLAGS=$CPPFLAGS |
8279 |
< |
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
8280 |
< |
ac_save_LDFLAGS=$LDFLAGS |
8281 |
< |
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
8282 |
< |
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 |
8278 |
> |
|
8279 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8280 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8281 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8282 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8283 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8284 |
+ |
fi |
8285 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8286 |
+ |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8287 |
|
else |
8288 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8289 |
< |
#line 6170 "configure" |
8290 |
< |
#include "confdefs.h" |
8291 |
< |
#include <mkl.h> |
8288 |
> |
# Is the header compilable? |
8289 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
8290 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
8291 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8292 |
> |
/* confdefs.h. */ |
8293 |
|
_ACEOF |
8294 |
< |
if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8294 |
> |
cat confdefs.h >>conftest.$ac_ext |
8295 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8296 |
> |
/* end confdefs.h. */ |
8297 |
> |
$ac_includes_default |
8298 |
> |
#include <CGAL/Cartesian.h> |
8299 |
> |
_ACEOF |
8300 |
> |
rm -f conftest.$ac_objext |
8301 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8302 |
> |
(eval $ac_compile) 2>conftest.er1 |
8303 |
> |
ac_status=$? |
8304 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8305 |
> |
rm -f conftest.er1 |
8306 |
> |
cat conftest.err >&5 |
8307 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8308 |
> |
(exit $ac_status); } && |
8309 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8310 |
> |
|| test ! -s conftest.err' |
8311 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8312 |
> |
(eval $ac_try) 2>&5 |
8313 |
> |
ac_status=$? |
8314 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8315 |
> |
(exit $ac_status); }; } && |
8316 |
> |
{ ac_try='test -s conftest.$ac_objext' |
8317 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8318 |
> |
(eval $ac_try) 2>&5 |
8319 |
> |
ac_status=$? |
8320 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8321 |
> |
(exit $ac_status); }; }; then |
8322 |
> |
ac_header_compiler=yes |
8323 |
> |
else |
8324 |
> |
echo "$as_me: failed program was:" >&5 |
8325 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
8326 |
> |
|
8327 |
> |
ac_header_compiler=no |
8328 |
> |
fi |
8329 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8330 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8331 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
8332 |
> |
|
8333 |
> |
# Is the header present? |
8334 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
8335 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
8336 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8337 |
> |
/* confdefs.h. */ |
8338 |
> |
_ACEOF |
8339 |
> |
cat confdefs.h >>conftest.$ac_ext |
8340 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8341 |
> |
/* end confdefs.h. */ |
8342 |
> |
#include <CGAL/Cartesian.h> |
8343 |
> |
_ACEOF |
8344 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8345 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8346 |
|
ac_status=$? |
8347 |
< |
egrep -v '^ *\+' conftest.er1 >conftest.err |
8347 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8348 |
|
rm -f conftest.er1 |
8349 |
|
cat conftest.err >&5 |
8350 |
< |
echo "$as_me:6180: \$? = $ac_status" >&5 |
8350 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8351 |
|
(exit $ac_status); } >/dev/null; then |
8352 |
|
if test -s conftest.err; then |
8353 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
8353 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8354 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8355 |
|
else |
8356 |
|
ac_cpp_err= |
8357 |
|
fi |
8359 |
|
ac_cpp_err=yes |
8360 |
|
fi |
8361 |
|
if test -z "$ac_cpp_err"; then |
8362 |
< |
ac_cv_header_mkl_h=yes |
8362 |
> |
ac_header_preproc=yes |
8363 |
|
else |
8364 |
|
echo "$as_me: failed program was:" >&5 |
8365 |
< |
cat conftest.$ac_ext >&5 |
8366 |
< |
ac_cv_header_mkl_h=no |
8365 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
8366 |
> |
|
8367 |
> |
ac_header_preproc=no |
8368 |
|
fi |
8369 |
|
rm -f conftest.err conftest.$ac_ext |
8370 |
< |
fi |
8371 |
< |
echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5 |
6200 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
6201 |
< |
if test $ac_cv_header_mkl_h = yes; then |
8370 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8371 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
8372 |
|
|
8373 |
< |
echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5 |
8374 |
< |
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
8375 |
< |
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
8373 |
> |
# So? What about this header? |
8374 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8375 |
> |
yes:no: ) |
8376 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8377 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8378 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
8379 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
8380 |
> |
ac_header_preproc=yes |
8381 |
> |
;; |
8382 |
> |
no:yes:* ) |
8383 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
8384 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
8385 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
8386 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
8387 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
8388 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
8389 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
8390 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8391 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
8392 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
8393 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
8394 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
8395 |
> |
( |
8396 |
> |
cat <<\_ASBOX |
8397 |
> |
## ------------------------------ ## |
8398 |
> |
## Report this to gezelter@nd.edu ## |
8399 |
> |
## ------------------------------ ## |
8400 |
> |
_ASBOX |
8401 |
> |
) | |
8402 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
8403 |
> |
;; |
8404 |
> |
esac |
8405 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8406 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8407 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8408 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8409 |
|
else |
8410 |
< |
ac_check_lib_save_LIBS=$LIBS |
8411 |
< |
LIBS="-lmkl $LIBS" |
8412 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8413 |
< |
#line 6211 "configure" |
6212 |
< |
#include "confdefs.h" |
8410 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
8411 |
> |
fi |
8412 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8413 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8414 |
|
|
8415 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
8416 |
< |
#ifdef __cplusplus |
8417 |
< |
extern "C" |
8418 |
< |
#endif |
8419 |
< |
/* We use char because int might match the return type of a gcc2 |
8420 |
< |
builtin and then its argument prototype would still apply. */ |
8421 |
< |
char vslNewStream (); |
8415 |
> |
fi |
8416 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
8417 |
> |
cgal=yes |
8418 |
> |
else |
8419 |
> |
cgal=no |
8420 |
> |
fi |
8421 |
> |
|
8422 |
> |
|
8423 |
> |
CXXFLAGS="$save_CXXFLAGS" |
8424 |
> |
|
8425 |
> |
if test "x$cgal" = xyes; then |
8426 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
8427 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
8428 |
> |
LOCATION=${CGAL_INCLDIR} |
8429 |
> |
LOCATION=${LOCATION:-/usr/include} |
8430 |
> |
if test -f $LOCATION/CGAL/version.h; then |
8431 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
8432 |
> |
else |
8433 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
8434 |
> |
fi |
8435 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
8436 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
8437 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
8438 |
> |
else |
8439 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
8440 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
8441 |
> |
cgal=no |
8442 |
> |
fi |
8443 |
> |
fi |
8444 |
> |
|
8445 |
> |
if test "x$cgal" = xyes; then |
8446 |
> |
CGAL_LIBS="-lCGAL" |
8447 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
8448 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
8449 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
8450 |
> |
CGAL_USES_LEDA=yes |
8451 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8452 |
> |
echo "${ECHO_T}yes" >&6 |
8453 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
8454 |
> |
else |
8455 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8456 |
> |
echo "${ECHO_T}no" >&6 |
8457 |
> |
CGAL_USES_LEDA=no |
8458 |
> |
fi |
8459 |
> |
|
8460 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
8461 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
8462 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
8463 |
> |
CGAL_USES_GMP=yes |
8464 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8465 |
> |
echo "${ECHO_T}yes" >&6 |
8466 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
8467 |
> |
else |
8468 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8469 |
> |
echo "${ECHO_T}no" >&6 |
8470 |
> |
CGAL_USES_GMP=no |
8471 |
> |
fi |
8472 |
> |
|
8473 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
8474 |
> |
|
8475 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
8476 |
> |
|
8477 |
> |
echo "CGAL_USES_LEDA $CGAL_USES_LEDA" |
8478 |
> |
echo "CGAL_USES_GMP $CGAL_USES_GMP" |
8479 |
> |
echo "CGAL_INCLDIR $CGAL_INCLDIR" |
8480 |
> |
echo "CGAL_LIBDIR $CGAL_LIBDIR" |
8481 |
> |
echo "CGAL_DEFINES $CGAL_DEFINES" |
8482 |
> |
echo "CGAL_CXXFLAGS $CGAL_CXXFLAGS" |
8483 |
> |
echo "CGAL_LIBS $CGAL_LIBS" |
8484 |
> |
fi |
8485 |
> |
|
8486 |
> |
if test "x$cgal" = xyes; then |
8487 |
> |
save_LIBS="$LIBS" |
8488 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
8489 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
8490 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
8491 |
> |
fi |
8492 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
8493 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
8494 |
> |
# fi |
8495 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
8496 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
8497 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
8498 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
8499 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
8500 |
> |
LIBS="-lCGAL $LIBS" |
8501 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8502 |
> |
/* confdefs.h. */ |
8503 |
> |
_ACEOF |
8504 |
> |
cat confdefs.h >>conftest.$ac_ext |
8505 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8506 |
> |
/* end confdefs.h. */ |
8507 |
> |
#include <CGAL/Cartesian.h> |
8508 |
|
int |
8509 |
|
main () |
8510 |
|
{ |
8511 |
< |
vslNewStream (); |
8511 |
> |
::CGAL::Cartesian<int>::Point_2 P |
8512 |
|
; |
8513 |
|
return 0; |
8514 |
|
} |
8515 |
|
_ACEOF |
8516 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8517 |
< |
if { (eval echo "$as_me:6230: \"$ac_link\"") >&5 |
8518 |
< |
(eval $ac_link) 2>&5 |
8517 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8518 |
> |
(eval $ac_link) 2>conftest.er1 |
8519 |
|
ac_status=$? |
8520 |
< |
echo "$as_me:6233: \$? = $ac_status" >&5 |
8520 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8521 |
> |
rm -f conftest.er1 |
8522 |
> |
cat conftest.err >&5 |
8523 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8524 |
|
(exit $ac_status); } && |
8525 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8526 |
< |
{ (eval echo "$as_me:6236: \"$ac_try\"") >&5 |
8525 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8526 |
> |
|| test ! -s conftest.err' |
8527 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8528 |
|
(eval $ac_try) 2>&5 |
8529 |
|
ac_status=$? |
8530 |
< |
echo "$as_me:6239: \$? = $ac_status" >&5 |
8530 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8531 |
> |
(exit $ac_status); }; } && |
8532 |
> |
{ ac_try='test -s conftest$ac_exeext' |
8533 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8534 |
> |
(eval $ac_try) 2>&5 |
8535 |
> |
ac_status=$? |
8536 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8537 |
|
(exit $ac_status); }; }; then |
8538 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
8538 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8539 |
> |
echo "${ECHO_T}yes" >&6 |
8540 |
> |
cgal=yes |
8541 |
|
else |
8542 |
|
echo "$as_me: failed program was:" >&5 |
8543 |
< |
cat conftest.$ac_ext >&5 |
6245 |
< |
ac_cv_lib_mkl_vslNewStream=no |
6246 |
< |
fi |
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: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", |
6254 |
< |
MKL_LIB="-lmkl -lvml -lguide", |
6255 |
< |
HAVE_MKL="yes" |
6256 |
< |
fi |
8543 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
8544 |
|
|
8545 |
< |
else |
8546 |
< |
MKL_INC="-I${mkldir}/include" |
8545 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8546 |
> |
echo "${ECHO_T}no" >&6 |
8547 |
> |
cgal=no |
8548 |
|
fi |
8549 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
8550 |
+ |
conftest$ac_exeext conftest.$ac_ext |
8551 |
+ |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
8552 |
+ |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
8553 |
+ |
LIBS="$save_LIBS" |
8554 |
+ |
fi |
8555 |
|
|
8556 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
6263 |
< |
LDFLAGS=$ac_save_LDFLAGS |
8556 |
> |
fi |
8557 |
|
ac_ext=c |
8558 |
|
ac_cpp='$CPP $CPPFLAGS' |
8559 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8560 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8561 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8562 |
|
|
6270 |
– |
if test x_$HAVE_MKL != x_yes; then |
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 |
8563 |
|
|
8564 |
+ |
fi |
8565 |
+ |
|
8566 |
+ |
if test "x$cgal" = xyes; then |
8567 |
+ |
USE_CGAL=yes |
8568 |
+ |
|
8569 |
+ |
cat >>confdefs.h <<\_ACEOF |
8570 |
+ |
#define HAVE_CGAL 1 |
8571 |
+ |
_ACEOF |
8572 |
+ |
|
8573 |
+ |
|
8574 |
+ |
cat >>confdefs.h <<_ACEOF |
8575 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
8576 |
+ |
_ACEOF |
8577 |
+ |
|
8578 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
8579 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8580 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8581 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
8582 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
8583 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
8584 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
8585 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8586 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8587 |
+ |
fi |
8588 |
|
else |
8589 |
+ |
if test "x$cgal_makefile" != xno; then |
8590 |
+ |
{ echo "$as_me:$LINENO: WARNING: *********************************************************" >&5 |
8591 |
+ |
echo "$as_me: WARNING: *********************************************************" >&2;} |
8592 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found. ***" >&5 |
8593 |
+ |
echo "$as_me: WARNING: *** Warning: CGAL was not found. ***" >&2;} |
8594 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options. ***" >&5 |
8595 |
+ |
echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options. ***" >&2;} |
8596 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled. ***" >&5 |
8597 |
+ |
echo "$as_me: WARNING: *** CGAL support will be disabled. ***" >&2;} |
8598 |
+ |
{ echo "$as_me:$LINENO: WARNING: *********************************************************" >&5 |
8599 |
+ |
echo "$as_me: WARNING: *********************************************************" >&2;} |
8600 |
+ |
fi |
8601 |
+ |
CGAL_INCLDIR= |
8602 |
+ |
CGAL_LIBDIR= |
8603 |
+ |
CGAL_RLIBDIR= |
8604 |
+ |
CGAL_DEFINES= |
8605 |
+ |
CGAL_CXXFLAGS= |
8606 |
+ |
CGAL_LIBS= |
8607 |
+ |
fi |
8608 |
|
|
6278 |
– |
echo "$as_me:6278: result: no" >&5 |
6279 |
– |
echo "${ECHO_T}no" >&6 |
8609 |
|
|
8610 |
< |
fi; |
8610 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
8611 |
|
|
8612 |
+ |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
8613 |
+ |
|
8614 |
+ |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
8615 |
+ |
|
8616 |
+ |
|
8617 |
+ |
|
8618 |
+ |
|
8619 |
+ |
|
8620 |
+ |
|
8621 |
+ |
|
8622 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
8623 |
|
if test "${enable_doxygen+set}" = set; then |
8624 |
|
enableval="$enable_doxygen" |
8648 |
|
else |
8649 |
|
# Extract the first word of "doxygen", so it can be a program name with args. |
8650 |
|
set dummy doxygen; ac_word=$2 |
8651 |
< |
echo "$as_me:6312: checking for $ac_word" >&5 |
8651 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8652 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8653 |
|
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
8654 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8658 |
|
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. |
8659 |
|
;; |
8660 |
|
*) |
8661 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
8662 |
< |
ac_dummy="$PATH" |
8663 |
< |
for ac_dir in $ac_dummy; do |
8664 |
< |
IFS=$ac_save_IFS |
8665 |
< |
test -z "$ac_dir" && ac_dir=. |
8666 |
< |
if $as_executable_p "$ac_dir/$ac_word"; then |
8667 |
< |
ac_cv_path_DOXYGEN="$ac_dir/$ac_word" |
8668 |
< |
echo "$as_me:6329: found $ac_dir/$ac_word" >&5 |
8669 |
< |
break |
8670 |
< |
fi |
8661 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8662 |
> |
for as_dir in $PATH |
8663 |
> |
do |
8664 |
> |
IFS=$as_save_IFS |
8665 |
> |
test -z "$as_dir" && as_dir=. |
8666 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
8667 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8668 |
> |
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" |
8669 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8670 |
> |
break 2 |
8671 |
> |
fi |
8672 |
|
done |
8673 |
+ |
done |
8674 |
|
|
8675 |
|
;; |
8676 |
|
esac |
8678 |
|
DOXYGEN=$ac_cv_path_DOXYGEN |
8679 |
|
|
8680 |
|
if test -n "$DOXYGEN"; then |
8681 |
< |
echo "$as_me:6340: result: $DOXYGEN" >&5 |
8681 |
> |
echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
8682 |
|
echo "${ECHO_T}$DOXYGEN" >&6 |
8683 |
|
else |
8684 |
< |
echo "$as_me:6343: result: no" >&5 |
8684 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8685 |
|
echo "${ECHO_T}no" >&6 |
8686 |
|
fi |
8687 |
|
|
8688 |
|
if test "x$DOXYGEN" = x; then |
8689 |
|
if test "x$enable_doxygen" = xyes; then |
8690 |
< |
{ { echo "$as_me:6349: error: could not find doxygen" >&5 |
8690 |
> |
{ { echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
8691 |
|
echo "$as_me: error: could not find doxygen" >&2;} |
8692 |
|
{ (exit 1); exit 1; }; } |
8693 |
|
fi |
8696 |
|
enable_doc=yes |
8697 |
|
# Extract the first word of "dot", so it can be a program name with args. |
8698 |
|
set dummy dot; ac_word=$2 |
8699 |
< |
echo "$as_me:6358: checking for $ac_word" >&5 |
8699 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8700 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8701 |
|
if test "${ac_cv_path_DOT+set}" = set; then |
8702 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8706 |
|
ac_cv_path_DOT="$DOT" # Let the user override the test with a path. |
8707 |
|
;; |
8708 |
|
*) |
8709 |
< |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
8710 |
< |
ac_dummy="$PATH" |
8711 |
< |
for ac_dir in $ac_dummy; do |
8712 |
< |
IFS=$ac_save_IFS |
8713 |
< |
test -z "$ac_dir" && ac_dir=. |
8714 |
< |
if $as_executable_p "$ac_dir/$ac_word"; then |
8715 |
< |
ac_cv_path_DOT="$ac_dir/$ac_word" |
8716 |
< |
echo "$as_me:6375: found $ac_dir/$ac_word" >&5 |
8717 |
< |
break |
8718 |
< |
fi |
8709 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8710 |
> |
for as_dir in $PATH |
8711 |
> |
do |
8712 |
> |
IFS=$as_save_IFS |
8713 |
> |
test -z "$as_dir" && as_dir=. |
8714 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
8715 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8716 |
> |
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" |
8717 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8718 |
> |
break 2 |
8719 |
> |
fi |
8720 |
|
done |
8721 |
+ |
done |
8722 |
|
|
8723 |
|
;; |
8724 |
|
esac |
8726 |
|
DOT=$ac_cv_path_DOT |
8727 |
|
|
8728 |
|
if test -n "$DOT"; then |
8729 |
< |
echo "$as_me:6386: result: $DOT" >&5 |
8729 |
> |
echo "$as_me:$LINENO: result: $DOT" >&5 |
8730 |
|
echo "${ECHO_T}$DOT" >&6 |
8731 |
|
else |
8732 |
< |
echo "$as_me:6389: result: no" >&5 |
8732 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8733 |
|
echo "${ECHO_T}no" >&6 |
8734 |
|
fi |
8735 |
|
|
8742 |
|
DOC=0 |
8743 |
|
fi |
8744 |
|
|
8745 |
+ |
|
8746 |
|
if test x$DOT = x; then |
8747 |
|
if test "x$enable_dot" = xyes; then |
8748 |
< |
{ { echo "$as_me:6404: error: could not find dot" >&5 |
8748 |
> |
{ { echo "$as_me:$LINENO: error: could not find dot" >&5 |
8749 |
|
echo "$as_me: error: could not find dot" >&2;} |
8750 |
|
{ (exit 1); exit 1; }; } |
8751 |
|
fi |
8754 |
|
enable_dot=yes |
8755 |
|
fi |
8756 |
|
|
8757 |
+ |
|
8758 |
+ |
|
8759 |
+ |
|
8760 |
+ |
|
8761 |
+ |
|
8762 |
+ |
|
8763 |
|
OBJEXT=".$OBJEXT" |
8764 |
|
|
8765 |
|
OOPSE=oopse |
8800 |
|
;; |
8801 |
|
esac |
8802 |
|
|
6453 |
– |
ac_config_headers="$ac_config_headers src/config.h" |
8803 |
|
|
8804 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
8804 |
> |
|
8805 |
> |
|
8806 |
> |
|
8807 |
> |
|
8808 |
> |
|
8809 |
|
|
8810 |
+ |
|
8811 |
+ |
|
8812 |
+ |
|
8813 |
+ |
|
8814 |
+ |
|
8815 |
+ |
|
8816 |
+ |
|
8817 |
+ |
|
8818 |
+ |
|
8819 |
+ |
|
8820 |
+ |
ac_config_headers="$ac_config_headers src/config.h" |
8821 |
+ |
|
8822 |
+ |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
8823 |
+ |
|
8824 |
+ |
|
8825 |
|
cat >confcache <<\_ACEOF |
8826 |
|
# This file is a shell script that caches the results of configure |
8827 |
|
# tests run on this system so they can be shared between configure |
8832 |
|
# config.status only pays attention to the cache file if you give it |
8833 |
|
# the --recheck option to rerun configure. |
8834 |
|
# |
8835 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
8835 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
8836 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
8837 |
|
# following values. |
8838 |
|
|
8850 |
|
# `set' does not quote correctly, so add quotes (double-quote |
8851 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
8852 |
|
sed -n \ |
8853 |
< |
"s/'/'\\\\''/g; |
8854 |
< |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8853 |
> |
"s/'/'\\\\''/g; |
8854 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8855 |
|
;; |
8856 |
|
*) |
8857 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
8858 |
|
sed -n \ |
8859 |
< |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8859 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8860 |
|
;; |
8861 |
|
esac; |
8862 |
|
} | |
8867 |
|
t end |
8868 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8869 |
|
: end' >>confcache |
8870 |
< |
if cmp -s $cache_file confcache; then :; else |
8870 |
> |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
8871 |
|
if test -w $cache_file; then |
8872 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
8873 |
|
cat confcache >$cache_file |
8886 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
8887 |
|
# (actually we leave an empty line to preserve line numbers). |
8888 |
|
if test "x$srcdir" = x.; then |
8889 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8889 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8890 |
|
s/:*\$(srcdir):*/:/; |
8891 |
|
s/:*\${srcdir}:*/:/; |
8892 |
|
s/:*@srcdir@:*/:/; |
8893 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
8893 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
8894 |
|
s/:*$//; |
8895 |
< |
s/^[^=]*=[ ]*$//; |
8895 |
> |
s/^[^=]*=[ ]*$//; |
8896 |
|
}' |
8897 |
|
fi |
8898 |
|
|
8899 |
|
DEFS=-DHAVE_CONFIG_H |
8900 |
|
|
8901 |
+ |
ac_libobjs= |
8902 |
+ |
ac_ltlibobjs= |
8903 |
+ |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8904 |
+ |
# 1. Remove the extension, and $U if already installed. |
8905 |
+ |
ac_i=`echo "$ac_i" | |
8906 |
+ |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8907 |
+ |
# 2. Add them. |
8908 |
+ |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
8909 |
+ |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
8910 |
+ |
done |
8911 |
+ |
LIBOBJS=$ac_libobjs |
8912 |
+ |
|
8913 |
+ |
LTLIBOBJS=$ac_ltlibobjs |
8914 |
+ |
|
8915 |
+ |
|
8916 |
+ |
|
8917 |
|
: ${CONFIG_STATUS=./config.status} |
8918 |
|
ac_clean_files_save=$ac_clean_files |
8919 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8920 |
< |
{ echo "$as_me:6536: creating $CONFIG_STATUS" >&5 |
8920 |
> |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
8921 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8922 |
|
cat >$CONFIG_STATUS <<_ACEOF |
8923 |
|
#! $SHELL |
8924 |
< |
# Generated automatically by configure. |
8924 |
> |
# Generated by $as_me. |
8925 |
|
# Run this file to recreate the current configuration. |
8926 |
|
# Compiler output produced by configure, useful for debugging |
8927 |
|
# configure, is in config.log if it exists. |
8928 |
|
|
8929 |
|
debug=false |
8930 |
+ |
ac_cs_recheck=false |
8931 |
+ |
ac_cs_silent=false |
8932 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
6547 |
– |
ac_cs_invocation="\$0 \$@" |
6548 |
– |
|
8933 |
|
_ACEOF |
8934 |
|
|
8935 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
8936 |
+ |
## --------------------- ## |
8937 |
+ |
## M4sh Initialization. ## |
8938 |
+ |
## --------------------- ## |
8939 |
+ |
|
8940 |
|
# Be Bourne compatible |
8941 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
8942 |
|
emulate sh |
8943 |
|
NULLCMD=: |
8944 |
+ |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
8945 |
+ |
# is contrary to our usage. Disable this feature. |
8946 |
+ |
alias -g '${1+"$@"}'='"$@"' |
8947 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
8948 |
|
set -o posix |
8949 |
|
fi |
8950 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
8951 |
|
|
8952 |
+ |
# Support unset when possible. |
8953 |
+ |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
8954 |
+ |
as_unset=unset |
8955 |
+ |
else |
8956 |
+ |
as_unset=false |
8957 |
+ |
fi |
8958 |
+ |
|
8959 |
+ |
|
8960 |
+ |
# Work around bugs in pre-3.0 UWIN ksh. |
8961 |
+ |
$as_unset ENV MAIL MAILPATH |
8962 |
+ |
PS1='$ ' |
8963 |
+ |
PS2='> ' |
8964 |
+ |
PS4='+ ' |
8965 |
+ |
|
8966 |
+ |
# NLS nuisances. |
8967 |
+ |
for as_var in \ |
8968 |
+ |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
8969 |
+ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8970 |
+ |
LC_TELEPHONE LC_TIME |
8971 |
+ |
do |
8972 |
+ |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8973 |
+ |
eval $as_var=C; export $as_var |
8974 |
+ |
else |
8975 |
+ |
$as_unset $as_var |
8976 |
+ |
fi |
8977 |
+ |
done |
8978 |
+ |
|
8979 |
+ |
# Required to use basename. |
8980 |
+ |
if expr a : '\(a\)' >/dev/null 2>&1; then |
8981 |
+ |
as_expr=expr |
8982 |
+ |
else |
8983 |
+ |
as_expr=false |
8984 |
+ |
fi |
8985 |
+ |
|
8986 |
+ |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
8987 |
+ |
as_basename=basename |
8988 |
+ |
else |
8989 |
+ |
as_basename=false |
8990 |
+ |
fi |
8991 |
+ |
|
8992 |
+ |
|
8993 |
|
# Name of the executable. |
8994 |
< |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
8994 |
> |
as_me=`$as_basename "$0" || |
8995 |
> |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
8996 |
> |
X"$0" : 'X\(//\)$' \| \ |
8997 |
> |
X"$0" : 'X\(/\)$' \| \ |
8998 |
> |
. : '\(.\)' 2>/dev/null || |
8999 |
> |
echo X/"$0" | |
9000 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
9001 |
> |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
9002 |
> |
/^X\/\(\/\).*/{ s//\1/; q; } |
9003 |
> |
s/.*/./; q'` |
9004 |
|
|
9005 |
+ |
|
9006 |
+ |
# PATH needs CR, and LINENO needs CR and PATH. |
9007 |
+ |
# Avoid depending upon Character Ranges. |
9008 |
+ |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
9009 |
+ |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
9010 |
+ |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
9011 |
+ |
as_cr_digits='0123456789' |
9012 |
+ |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
9013 |
+ |
|
9014 |
+ |
# The user is always right. |
9015 |
+ |
if test "${PATH_SEPARATOR+set}" != set; then |
9016 |
+ |
echo "#! /bin/sh" >conf$$.sh |
9017 |
+ |
echo "exit 0" >>conf$$.sh |
9018 |
+ |
chmod +x conf$$.sh |
9019 |
+ |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
9020 |
+ |
PATH_SEPARATOR=';' |
9021 |
+ |
else |
9022 |
+ |
PATH_SEPARATOR=: |
9023 |
+ |
fi |
9024 |
+ |
rm -f conf$$.sh |
9025 |
+ |
fi |
9026 |
+ |
|
9027 |
+ |
|
9028 |
+ |
as_lineno_1=$LINENO |
9029 |
+ |
as_lineno_2=$LINENO |
9030 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
9031 |
+ |
test "x$as_lineno_1" != "x$as_lineno_2" && |
9032 |
+ |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
9033 |
+ |
# Find who we are. Look in the path if we contain no path at all |
9034 |
+ |
# relative or not. |
9035 |
+ |
case $0 in |
9036 |
+ |
*[\\/]* ) as_myself=$0 ;; |
9037 |
+ |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9038 |
+ |
for as_dir in $PATH |
9039 |
+ |
do |
9040 |
+ |
IFS=$as_save_IFS |
9041 |
+ |
test -z "$as_dir" && as_dir=. |
9042 |
+ |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
9043 |
+ |
done |
9044 |
+ |
|
9045 |
+ |
;; |
9046 |
+ |
esac |
9047 |
+ |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
9048 |
+ |
# in which case we are not to be found in the path. |
9049 |
+ |
if test "x$as_myself" = x; then |
9050 |
+ |
as_myself=$0 |
9051 |
+ |
fi |
9052 |
+ |
if test ! -f "$as_myself"; then |
9053 |
+ |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
9054 |
+ |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
9055 |
+ |
{ (exit 1); exit 1; }; } |
9056 |
+ |
fi |
9057 |
+ |
case $CONFIG_SHELL in |
9058 |
+ |
'') |
9059 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9060 |
+ |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
9061 |
+ |
do |
9062 |
+ |
IFS=$as_save_IFS |
9063 |
+ |
test -z "$as_dir" && as_dir=. |
9064 |
+ |
for as_base in sh bash ksh sh5; do |
9065 |
+ |
case $as_dir in |
9066 |
+ |
/*) |
9067 |
+ |
if ("$as_dir/$as_base" -c ' |
9068 |
+ |
as_lineno_1=$LINENO |
9069 |
+ |
as_lineno_2=$LINENO |
9070 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
9071 |
+ |
test "x$as_lineno_1" != "x$as_lineno_2" && |
9072 |
+ |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
9073 |
+ |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
9074 |
+ |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
9075 |
+ |
CONFIG_SHELL=$as_dir/$as_base |
9076 |
+ |
export CONFIG_SHELL |
9077 |
+ |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
9078 |
+ |
fi;; |
9079 |
+ |
esac |
9080 |
+ |
done |
9081 |
+ |
done |
9082 |
+ |
;; |
9083 |
+ |
esac |
9084 |
+ |
|
9085 |
+ |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
9086 |
+ |
# uniformly replaced by the line number. The first 'sed' inserts a |
9087 |
+ |
# line-number line before each line; the second 'sed' does the real |
9088 |
+ |
# work. The second script uses 'N' to pair each line-number line |
9089 |
+ |
# with the numbered line, and appends trailing '-' during |
9090 |
+ |
# substitution so that $LINENO is not a special case at line end. |
9091 |
+ |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
9092 |
+ |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
9093 |
+ |
sed '=' <$as_myself | |
9094 |
+ |
sed ' |
9095 |
+ |
N |
9096 |
+ |
s,$,-, |
9097 |
+ |
: loop |
9098 |
+ |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
9099 |
+ |
t loop |
9100 |
+ |
s,-$,, |
9101 |
+ |
s,^['$as_cr_digits']*\n,, |
9102 |
+ |
' >$as_me.lineno && |
9103 |
+ |
chmod +x $as_me.lineno || |
9104 |
+ |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
9105 |
+ |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
9106 |
+ |
{ (exit 1); exit 1; }; } |
9107 |
+ |
|
9108 |
+ |
# Don't try to exec as it changes $[0], causing all sort of problems |
9109 |
+ |
# (the dirname of $[0] is not the place where we might find the |
9110 |
+ |
# original and so on. Autoconf is especially sensible to this). |
9111 |
+ |
. ./$as_me.lineno |
9112 |
+ |
# Exit status is that of the last command. |
9113 |
+ |
exit |
9114 |
+ |
} |
9115 |
+ |
|
9116 |
+ |
|
9117 |
+ |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
9118 |
+ |
*c*,-n*) ECHO_N= ECHO_C=' |
9119 |
+ |
' ECHO_T=' ' ;; |
9120 |
+ |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
9121 |
+ |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
9122 |
+ |
esac |
9123 |
+ |
|
9124 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
9125 |
|
as_expr=expr |
9126 |
|
else |
9145 |
|
fi |
9146 |
|
rm -f conf$$ conf$$.exe conf$$.file |
9147 |
|
|
9148 |
< |
as_executable_p="test -f" |
9149 |
< |
|
6589 |
< |
# Support unset when possible. |
6590 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
6591 |
< |
as_unset=unset |
9148 |
> |
if mkdir -p . 2>/dev/null; then |
9149 |
> |
as_mkdir_p=: |
9150 |
|
else |
9151 |
< |
as_unset=false |
9151 |
> |
test -d ./-p && rmdir ./-p |
9152 |
> |
as_mkdir_p=false |
9153 |
|
fi |
9154 |
|
|
9155 |
< |
# 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; } |
9155 |
> |
as_executable_p="test -f" |
9156 |
|
|
9157 |
+ |
# Sed expression to map a string onto a valid CPP name. |
9158 |
+ |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9159 |
+ |
|
9160 |
+ |
# Sed expression to map a string onto a valid variable name. |
9161 |
+ |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9162 |
+ |
|
9163 |
+ |
|
9164 |
|
# IFS |
9165 |
|
# We need space, tab and new line, in precisely that order. |
9166 |
|
as_nl=' |
9168 |
|
IFS=" $as_nl" |
9169 |
|
|
9170 |
|
# CDPATH. |
9171 |
< |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
9171 |
> |
$as_unset CDPATH |
9172 |
|
|
9173 |
|
exec 6>&1 |
9174 |
|
|
9175 |
+ |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
9176 |
+ |
# report actual input values of CONFIG_FILES etc. instead of their |
9177 |
+ |
# values after options handling. Logging --version etc. is OK. |
9178 |
+ |
exec 5>>config.log |
9179 |
+ |
{ |
9180 |
+ |
echo |
9181 |
+ |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
9182 |
+ |
## Running $as_me. ## |
9183 |
+ |
_ASBOX |
9184 |
+ |
} >&5 |
9185 |
+ |
cat >&5 <<_CSEOF |
9186 |
+ |
|
9187 |
+ |
This file was extended by OOPSE $as_me 2.0, which was |
9188 |
+ |
generated by GNU Autoconf 2.59. Invocation command line was |
9189 |
+ |
|
9190 |
+ |
CONFIG_FILES = $CONFIG_FILES |
9191 |
+ |
CONFIG_HEADERS = $CONFIG_HEADERS |
9192 |
+ |
CONFIG_LINKS = $CONFIG_LINKS |
9193 |
+ |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
9194 |
+ |
$ $0 $@ |
9195 |
+ |
|
9196 |
+ |
_CSEOF |
9197 |
+ |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
9198 |
+ |
echo >&5 |
9199 |
|
_ACEOF |
9200 |
|
|
9201 |
|
# Files that config.status was made for. |
9215 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
9216 |
|
fi |
9217 |
|
|
9218 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9218 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9219 |
|
|
9220 |
|
ac_cs_usage="\ |
9221 |
|
\`$as_me' instantiates files from templates according to the |
9225 |
|
|
9226 |
|
-h, --help print this help, then exit |
9227 |
|
-V, --version print version number, then exit |
9228 |
+ |
-q, --quiet do not print progress messages |
9229 |
|
-d, --debug don't remove temporary files |
9230 |
|
--recheck update $as_me by reconfiguring in the same conditions |
9231 |
|
--file=FILE[:TEMPLATE] |
9232 |
< |
instantiate the configuration file FILE |
9232 |
> |
instantiate the configuration file FILE |
9233 |
|
--header=FILE[:TEMPLATE] |
9234 |
< |
instantiate the configuration header FILE |
9234 |
> |
instantiate the configuration header FILE |
9235 |
|
|
9236 |
|
Configuration files: |
9237 |
|
$config_files |
9243 |
|
$config_links |
9244 |
|
|
9245 |
|
Report bugs to <bug-autoconf@gnu.org>." |
9246 |
< |
EOF |
9246 |
> |
_ACEOF |
9247 |
|
|
9248 |
< |
cat >>$CONFIG_STATUS <<EOF |
9248 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
9249 |
|
ac_cs_version="\\ |
9250 |
|
OOPSE config.status 2.0 |
9251 |
< |
configured by $0, generated by GNU Autoconf 2.50, |
9251 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
9252 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9253 |
|
|
9254 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6672 |
< |
Free Software Foundation, Inc. |
9254 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
9255 |
|
This config.status script is free software; the Free Software Foundation |
9256 |
|
gives unlimited permission to copy, distribute and modify it." |
9257 |
|
srcdir=$srcdir |
9258 |
|
INSTALL="$INSTALL" |
9259 |
< |
EOF |
9259 |
> |
_ACEOF |
9260 |
|
|
9261 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9261 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9262 |
|
# If no file are specified by the user, then we need to provide default |
9263 |
|
# value. By we need to know if files were specified by the user. |
9264 |
|
ac_need_defaults=: |
9268 |
|
--*=*) |
9269 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
9270 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
9271 |
< |
shift |
6690 |
< |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
6691 |
< |
shift |
9271 |
> |
ac_shift=: |
9272 |
|
;; |
9273 |
< |
-*);; |
9273 |
> |
-*) |
9274 |
> |
ac_option=$1 |
9275 |
> |
ac_optarg=$2 |
9276 |
> |
ac_shift=shift |
9277 |
> |
;; |
9278 |
|
*) # This is not an option, so the user has probably given explicit |
9279 |
|
# arguments. |
9280 |
+ |
ac_option=$1 |
9281 |
|
ac_need_defaults=false;; |
9282 |
|
esac |
9283 |
|
|
9284 |
< |
case $1 in |
9284 |
> |
case $ac_option in |
9285 |
|
# Handling of the options. |
9286 |
< |
EOF |
9287 |
< |
cat >>$CONFIG_STATUS <<EOF |
9286 |
> |
_ACEOF |
9287 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9288 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
9289 |
< |
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 |
9289 |
> |
ac_cs_recheck=: ;; |
9290 |
|
--version | --vers* | -V ) |
9291 |
|
echo "$ac_cs_version"; exit 0 ;; |
9292 |
|
--he | --h) |
9293 |
|
# Conflict between --help and --header |
9294 |
< |
{ { echo "$as_me:6712: error: ambiguous option: $1 |
9294 |
> |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
9295 |
|
Try \`$0 --help' for more information." >&5 |
9296 |
|
echo "$as_me: error: ambiguous option: $1 |
9297 |
|
Try \`$0 --help' for more information." >&2;} |
9301 |
|
--debug | --d* | -d ) |
9302 |
|
debug=: ;; |
9303 |
|
--file | --fil | --fi | --f ) |
9304 |
< |
shift |
9305 |
< |
CONFIG_FILES="$CONFIG_FILES $1" |
9304 |
> |
$ac_shift |
9305 |
> |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
9306 |
|
ac_need_defaults=false;; |
9307 |
|
--header | --heade | --head | --hea ) |
9308 |
< |
shift |
9309 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
9308 |
> |
$ac_shift |
9309 |
> |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
9310 |
|
ac_need_defaults=false;; |
9311 |
< |
|
9312 |
< |
# Handling of arguments. |
9313 |
< |
'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" ;; |
9311 |
> |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
9312 |
> |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
9313 |
> |
ac_cs_silent=: ;; |
9314 |
|
|
9315 |
|
# This is an error. |
9316 |
< |
-*) { { echo "$as_me:6737: error: unrecognized option: $1 |
9316 |
> |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
9317 |
|
Try \`$0 --help' for more information." >&5 |
9318 |
|
echo "$as_me: error: unrecognized option: $1 |
9319 |
|
Try \`$0 --help' for more information." >&2;} |
9320 |
|
{ (exit 1); exit 1; }; } ;; |
9321 |
< |
*) { { echo "$as_me:6742: error: invalid argument: $1" >&5 |
9322 |
< |
echo "$as_me: error: invalid argument: $1" >&2;} |
9323 |
< |
{ (exit 1); exit 1; }; };; |
9321 |
> |
|
9322 |
> |
*) ac_config_targets="$ac_config_targets $1" ;; |
9323 |
> |
|
9324 |
|
esac |
9325 |
|
shift |
9326 |
|
done |
9327 |
|
|
9328 |
< |
exec 5>>config.log |
6750 |
< |
cat >&5 << _ACEOF |
9328 |
> |
ac_configure_extra_args= |
9329 |
|
|
9330 |
< |
## ----------------------- ## |
9331 |
< |
## Running config.status. ## |
9332 |
< |
## ----------------------- ## |
9330 |
> |
if $ac_cs_silent; then |
9331 |
> |
exec 6>/dev/null |
9332 |
> |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
9333 |
> |
fi |
9334 |
|
|
9335 |
< |
This file was extended by $as_me (OOPSE 2.0) 2.50, executed with |
9336 |
< |
> $ac_cs_invocation |
9337 |
< |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
9335 |
> |
_ACEOF |
9336 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
9337 |
> |
if \$ac_cs_recheck; then |
9338 |
> |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
9339 |
> |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9340 |
> |
fi |
9341 |
|
|
9342 |
|
_ACEOF |
6761 |
– |
EOF |
9343 |
|
|
9344 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9344 |
> |
|
9345 |
> |
|
9346 |
> |
|
9347 |
> |
|
9348 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9349 |
> |
for ac_config_target in $ac_config_targets |
9350 |
> |
do |
9351 |
> |
case "$ac_config_target" in |
9352 |
> |
# Handling of arguments. |
9353 |
> |
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
9354 |
> |
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
9355 |
> |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
9356 |
> |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
9357 |
> |
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
9358 |
> |
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
9359 |
> |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
9360 |
> |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
9361 |
> |
{ (exit 1); exit 1; }; };; |
9362 |
> |
esac |
9363 |
> |
done |
9364 |
> |
|
9365 |
|
# If the user did not use the arguments to specify the items to instantiate, |
9366 |
|
# then the envvar interface is used. Set only those that are not. |
9367 |
|
# We use the long form for the default assignment because of an extremely |
9372 |
|
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links |
9373 |
|
fi |
9374 |
|
|
9375 |
+ |
# Have a temporary directory for convenience. Make it in the build tree |
9376 |
+ |
# simply because there is no reason to put it here, and in addition, |
9377 |
+ |
# creating and moving files from /tmp can sometimes cause problems. |
9378 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
9379 |
|
$debug || |
9380 |
|
{ |
9381 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
9382 |
< |
trap '{ (exit $?); exit $?; }' 1 2 13 15 |
9382 |
> |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
9383 |
|
} |
9384 |
|
|
9385 |
|
# Create a (secure) tmp directory for tmp files. |
9386 |
< |
: ${TMPDIR=/tmp} |
9386 |
> |
|
9387 |
|
{ |
9388 |
< |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
9388 |
> |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
9389 |
|
test -n "$tmp" && test -d "$tmp" |
9390 |
|
} || |
9391 |
|
{ |
9392 |
< |
tmp=$TMPDIR/cs$$-$RANDOM |
9392 |
> |
tmp=./confstat$$-$RANDOM |
9393 |
|
(umask 077 && mkdir $tmp) |
9394 |
|
} || |
9395 |
|
{ |
9396 |
< |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
9396 |
> |
echo "$me: cannot create a temporary directory in ." >&2 |
9397 |
|
{ (exit 1); exit 1; } |
9398 |
|
} |
9399 |
|
|
9400 |
< |
EOF |
9400 |
> |
_ACEOF |
9401 |
|
|
9402 |
< |
cat >>$CONFIG_STATUS <<EOF |
9402 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
9403 |
|
|
9404 |
|
# |
9405 |
|
# CONFIG_FILES section. |
9412 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
9413 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
9414 |
|
s,@SHELL@,$SHELL,;t t |
9415 |
+ |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
9416 |
+ |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
9417 |
+ |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
9418 |
+ |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
9419 |
+ |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
9420 |
+ |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
9421 |
|
s,@exec_prefix@,$exec_prefix,;t t |
9422 |
|
s,@prefix@,$prefix,;t t |
9423 |
|
s,@program_transform_name@,$program_transform_name,;t t |
9433 |
|
s,@oldincludedir@,$oldincludedir,;t t |
9434 |
|
s,@infodir@,$infodir,;t t |
9435 |
|
s,@mandir@,$mandir,;t t |
9436 |
< |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
9437 |
< |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
9438 |
< |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
9439 |
< |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
6830 |
< |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
9436 |
> |
s,@build_alias@,$build_alias,;t t |
9437 |
> |
s,@host_alias@,$host_alias,;t t |
9438 |
> |
s,@target_alias@,$target_alias,;t t |
9439 |
> |
s,@DEFS@,$DEFS,;t t |
9440 |
|
s,@ECHO_C@,$ECHO_C,;t t |
9441 |
|
s,@ECHO_N@,$ECHO_N,;t t |
9442 |
|
s,@ECHO_T@,$ECHO_T,;t t |
6834 |
– |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
6835 |
– |
s,@DEFS@,$DEFS,;t t |
9443 |
|
s,@LIBS@,$LIBS,;t t |
9444 |
|
s,@PROGNAME@,$PROGNAME,;t t |
9445 |
|
s,@debug@,$debug,;t t |
9477 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
9478 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
9479 |
|
s,@CPP@,$CPP,;t t |
9480 |
+ |
s,@EGREP@,$EGREP,;t t |
9481 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
9482 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
9483 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
9490 |
|
s,@LEX@,$LEX,;t t |
9491 |
|
s,@LEXLIB@,$LEXLIB,;t t |
9492 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
9493 |
+ |
s,@PERLINTERP@,$PERLINTERP,;t t |
9494 |
+ |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
9495 |
|
s,@AR@,$AR,;t t |
9496 |
|
s,@PS@,$PS,;t t |
9497 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
9500 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
9501 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
9502 |
|
s,@USE_MPI@,$USE_MPI,;t t |
9503 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
9504 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
9505 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
9506 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
9507 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
9508 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
9509 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
9510 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
9503 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
9504 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
9505 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
9506 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
9507 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
9508 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
9509 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
9510 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
9511 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
9512 |
|
s,@DOT@,$DOT,;t t |
9513 |
|
s,@DOC@,$DOC,;t t |
9520 |
|
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
9521 |
|
s,@SUBDIRS@,$SUBDIRS,;t t |
9522 |
|
s,@FFLAGS@,$FFLAGS,;t t |
9523 |
+ |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
9524 |
|
CEOF |
9525 |
|
|
9526 |
< |
EOF |
9526 |
> |
_ACEOF |
9527 |
|
|
9528 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9528 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9529 |
|
# Split the substitutions into bite-sized pieces for seds with |
9530 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
9531 |
|
ac_max_sed_lines=48 |
9550 |
|
(echo ':t |
9551 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
9552 |
|
if test -z "$ac_sed_cmds"; then |
9553 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9553 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9554 |
|
else |
9555 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9555 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9556 |
|
fi |
9557 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
9558 |
|
ac_beg=$ac_end |
9564 |
|
fi |
9565 |
|
fi # test -n "$CONFIG_FILES" |
9566 |
|
|
9567 |
< |
EOF |
9568 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9567 |
> |
_ACEOF |
9568 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9569 |
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
9570 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9571 |
|
case $ac_file in |
9572 |
|
- | *:- | *:-:* ) # input from stdin |
9573 |
< |
cat >$tmp/stdin |
9574 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9575 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9573 |
> |
cat >$tmp/stdin |
9574 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9575 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9576 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9577 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9577 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9578 |
|
* ) ac_file_in=$ac_file.in ;; |
9579 |
|
esac |
9580 |
|
|
9581 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
9582 |
< |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9583 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9584 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9585 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9586 |
< |
. : '\(.\)' 2>/dev/null || |
9582 |
> |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9583 |
> |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9584 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9585 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9586 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9587 |
> |
. : '\(.\)' 2>/dev/null || |
9588 |
|
echo X"$ac_file" | |
9589 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9590 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9591 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
9592 |
|
/^X\(\/\).*/{ s//\1/; q; } |
9593 |
|
s/.*/./; q'` |
9594 |
< |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
9595 |
< |
{ 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'` |
9594 |
> |
{ if $as_mkdir_p; then |
9595 |
> |
mkdir -p "$ac_dir" |
9596 |
|
else |
9597 |
< |
ac_dir_suffix= ac_dots= |
9598 |
< |
fi |
9597 |
> |
as_dir="$ac_dir" |
9598 |
> |
as_dirs= |
9599 |
> |
while test ! -d "$as_dir"; do |
9600 |
> |
as_dirs="$as_dir $as_dirs" |
9601 |
> |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9602 |
> |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9603 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9604 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9605 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9606 |
> |
. : '\(.\)' 2>/dev/null || |
9607 |
> |
echo X"$as_dir" | |
9608 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9609 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9610 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
9611 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
9612 |
> |
s/.*/./; q'` |
9613 |
> |
done |
9614 |
> |
test ! -n "$as_dirs" || mkdir $as_dirs |
9615 |
> |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
9616 |
> |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
9617 |
> |
{ (exit 1); exit 1; }; }; } |
9618 |
|
|
9619 |
< |
case $srcdir in |
9620 |
< |
.) ac_srcdir=. |
9621 |
< |
if test -z "$ac_dots"; then |
9622 |
< |
ac_top_srcdir=. |
9623 |
< |
else |
9624 |
< |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
9625 |
< |
fi ;; |
9626 |
< |
[\\/]* | ?:[\\/]* ) |
9627 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
9628 |
< |
ac_top_srcdir=$srcdir ;; |
9619 |
> |
ac_builddir=. |
9620 |
> |
|
9621 |
> |
if test "$ac_dir" != .; then |
9622 |
> |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
9623 |
> |
# A "../" for each directory in $ac_dir_suffix. |
9624 |
> |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
9625 |
> |
else |
9626 |
> |
ac_dir_suffix= ac_top_builddir= |
9627 |
> |
fi |
9628 |
> |
|
9629 |
> |
case $srcdir in |
9630 |
> |
.) # No --srcdir option. We are building in place. |
9631 |
> |
ac_srcdir=. |
9632 |
> |
if test -z "$ac_top_builddir"; then |
9633 |
> |
ac_top_srcdir=. |
9634 |
> |
else |
9635 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
9636 |
> |
fi ;; |
9637 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
9638 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
9639 |
> |
ac_top_srcdir=$srcdir ;; |
9640 |
|
*) # Relative path. |
9641 |
< |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
9642 |
< |
ac_top_srcdir=$ac_dots$srcdir ;; |
9643 |
< |
esac |
9641 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9642 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9643 |
> |
esac |
9644 |
|
|
9645 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9646 |
+ |
# the directories may not exist. |
9647 |
+ |
case `pwd` in |
9648 |
+ |
.) ac_abs_builddir="$ac_dir";; |
9649 |
+ |
*) |
9650 |
+ |
case "$ac_dir" in |
9651 |
+ |
.) ac_abs_builddir=`pwd`;; |
9652 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
9653 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
9654 |
+ |
esac;; |
9655 |
+ |
esac |
9656 |
+ |
case $ac_abs_builddir in |
9657 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9658 |
+ |
*) |
9659 |
+ |
case ${ac_top_builddir}. in |
9660 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9661 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9662 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9663 |
+ |
esac;; |
9664 |
+ |
esac |
9665 |
+ |
case $ac_abs_builddir in |
9666 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
9667 |
+ |
*) |
9668 |
+ |
case $ac_srcdir in |
9669 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9670 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9671 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9672 |
+ |
esac;; |
9673 |
+ |
esac |
9674 |
+ |
case $ac_abs_builddir in |
9675 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9676 |
+ |
*) |
9677 |
+ |
case $ac_top_srcdir in |
9678 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9679 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9680 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9681 |
+ |
esac;; |
9682 |
+ |
esac |
9683 |
+ |
|
9684 |
+ |
|
9685 |
|
case $INSTALL in |
9686 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9687 |
< |
*) ac_INSTALL=$ac_dots$INSTALL ;; |
9687 |
> |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
9688 |
|
esac |
9689 |
|
|
9690 |
|
if test x"$ac_file" != x-; then |
9691 |
< |
{ echo "$as_me:7027: creating $ac_file" >&5 |
9691 |
> |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
9692 |
|
echo "$as_me: creating $ac_file" >&6;} |
9693 |
|
rm -f "$ac_file" |
9694 |
|
fi |
9695 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
9696 |
|
# use $as_me), people would be surprised to read: |
9697 |
< |
# /* config.h. Generated automatically by config.status. */ |
9698 |
< |
configure_input="Generated automatically from `echo $ac_file_in | |
9699 |
< |
sed 's,.*/,,'` by configure." |
9697 |
> |
# /* config.h. Generated by config.status. */ |
9698 |
> |
if test x"$ac_file" = x-; then |
9699 |
> |
configure_input= |
9700 |
> |
else |
9701 |
> |
configure_input="$ac_file. " |
9702 |
> |
fi |
9703 |
> |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
9704 |
> |
sed 's,.*/,,'` by configure." |
9705 |
|
|
9706 |
|
# First look for the input files in the build tree, otherwise in the |
9707 |
|
# src tree. |
9710 |
|
case $f in |
9711 |
|
-) echo $tmp/stdin ;; |
9712 |
|
[\\/$]*) |
9713 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9714 |
< |
test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5 |
9713 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9714 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9715 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9716 |
|
{ (exit 1); exit 1; }; } |
9717 |
< |
echo $f;; |
9717 |
> |
echo "$f";; |
9718 |
|
*) # Relative |
9719 |
< |
if test -f "$f"; then |
9720 |
< |
# Build tree |
9721 |
< |
echo $f |
9722 |
< |
elif test -f "$srcdir/$f"; then |
9723 |
< |
# Source tree |
9724 |
< |
echo $srcdir/$f |
9725 |
< |
else |
9726 |
< |
# /dev/null tree |
9727 |
< |
{ { echo "$as_me:7058: error: cannot find input file: $f" >&5 |
9719 |
> |
if test -f "$f"; then |
9720 |
> |
# Build tree |
9721 |
> |
echo "$f" |
9722 |
> |
elif test -f "$srcdir/$f"; then |
9723 |
> |
# Source tree |
9724 |
> |
echo "$srcdir/$f" |
9725 |
> |
else |
9726 |
> |
# /dev/null tree |
9727 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9728 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9729 |
|
{ (exit 1); exit 1; }; } |
9730 |
< |
fi;; |
9730 |
> |
fi;; |
9731 |
|
esac |
9732 |
|
done` || { (exit 1); exit 1; } |
9733 |
< |
EOF |
9734 |
< |
cat >>$CONFIG_STATUS <<EOF |
9733 |
> |
_ACEOF |
9734 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
9735 |
|
sed "$ac_vpsub |
9736 |
|
$extrasub |
9737 |
< |
EOF |
9738 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9737 |
> |
_ACEOF |
9738 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9739 |
|
:t |
9740 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
9741 |
|
s,@configure_input@,$configure_input,;t t |
9742 |
|
s,@srcdir@,$ac_srcdir,;t t |
9743 |
+ |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
9744 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
9745 |
+ |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
9746 |
+ |
s,@builddir@,$ac_builddir,;t t |
9747 |
+ |
s,@abs_builddir@,$ac_abs_builddir,;t t |
9748 |
+ |
s,@top_builddir@,$ac_top_builddir,;t t |
9749 |
+ |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
9750 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
9751 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
9752 |
|
rm -f $tmp/stdin |
9757 |
|
rm -f $tmp/out |
9758 |
|
fi |
9759 |
|
|
9760 |
+ |
# Run the commands associated with the file. |
9761 |
+ |
case $ac_file in |
9762 |
+ |
make/Makefile ) chmod 0755 scripts/* ;; |
9763 |
+ |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
9764 |
+ |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
9765 |
+ |
scripts/filepp ) chmod 0755 scripts/* ;; |
9766 |
+ |
esac |
9767 |
|
done |
9768 |
< |
EOF |
9769 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9768 |
> |
_ACEOF |
9769 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9770 |
|
|
9771 |
|
# |
9772 |
|
# CONFIG_HEADER section. |
9776 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
9777 |
|
# |
9778 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
9779 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9780 |
< |
ac_dB='[ ].*$,\1#\2' |
9779 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9780 |
> |
ac_dB='[ ].*$,\1#\2' |
9781 |
|
ac_dC=' ' |
9782 |
|
ac_dD=',;t' |
9783 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
9784 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9784 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9785 |
|
ac_uB='$,\1#\2define\3' |
9786 |
|
ac_uC=' ' |
9787 |
|
ac_uD=',;t' |
9790 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9791 |
|
case $ac_file in |
9792 |
|
- | *:- | *:-:* ) # input from stdin |
9793 |
< |
cat >$tmp/stdin |
9794 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9795 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9793 |
> |
cat >$tmp/stdin |
9794 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9795 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9796 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9797 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9797 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9798 |
|
* ) ac_file_in=$ac_file.in ;; |
9799 |
|
esac |
9800 |
|
|
9801 |
< |
test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5 |
9801 |
> |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
9802 |
|
echo "$as_me: creating $ac_file" >&6;} |
9803 |
|
|
9804 |
|
# First look for the input files in the build tree, otherwise in the |
9808 |
|
case $f in |
9809 |
|
-) echo $tmp/stdin ;; |
9810 |
|
[\\/$]*) |
9811 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9812 |
< |
test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5 |
9811 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9812 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9813 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9814 |
|
{ (exit 1); exit 1; }; } |
9815 |
< |
echo $f;; |
9815 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
9816 |
> |
echo "$f";; |
9817 |
|
*) # Relative |
9818 |
< |
if test -f "$f"; then |
9819 |
< |
# Build tree |
9820 |
< |
echo $f |
9821 |
< |
elif test -f "$srcdir/$f"; then |
9822 |
< |
# Source tree |
9823 |
< |
echo $srcdir/$f |
9824 |
< |
else |
9825 |
< |
# /dev/null tree |
9826 |
< |
{ { echo "$as_me:7143: error: cannot find input file: $f" >&5 |
9818 |
> |
if test -f "$f"; then |
9819 |
> |
# Build tree |
9820 |
> |
echo "$f" |
9821 |
> |
elif test -f "$srcdir/$f"; then |
9822 |
> |
# Source tree |
9823 |
> |
echo "$srcdir/$f" |
9824 |
> |
else |
9825 |
> |
# /dev/null tree |
9826 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9827 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9828 |
|
{ (exit 1); exit 1; }; } |
9829 |
< |
fi;; |
9829 |
> |
fi;; |
9830 |
|
esac |
9831 |
|
done` || { (exit 1); exit 1; } |
9832 |
|
# Remove the trailing spaces. |
9833 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9833 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9834 |
|
|
9835 |
< |
EOF |
9835 |
> |
_ACEOF |
9836 |
|
|
9837 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
9838 |
|
# `conftest.undefs', that substitutes the proper values into |
9848 |
|
# `end' is used to avoid that the second main sed command (meant for |
9849 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
9850 |
|
# See the Autoconf documentation for `clear'. |
9851 |
< |
cat >confdef2sed.sed <<\EOF |
9851 |
> |
cat >confdef2sed.sed <<\_ACEOF |
9852 |
|
s/[\\&,]/\\&/g |
9853 |
|
s,[\\$`],\\&,g |
9854 |
|
t clear |
9855 |
|
: clear |
9856 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
9856 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9857 |
|
t end |
9858 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9858 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9859 |
|
: end |
9860 |
< |
EOF |
9860 |
> |
_ACEOF |
9861 |
|
# If some macros were called several times there might be several times |
9862 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
9863 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
9868 |
|
# This sed command replaces #undef with comments. This is necessary, for |
9869 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
9870 |
|
# on some systems where configure will not decide to define it. |
9871 |
< |
cat >>conftest.undefs <<\EOF |
9872 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9873 |
< |
EOF |
9871 |
> |
cat >>conftest.undefs <<\_ACEOF |
9872 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9873 |
> |
_ACEOF |
9874 |
|
|
9875 |
|
# Break up conftest.defines because some shells have a limit on the size |
9876 |
|
# of here documents, and old seds have small limits too (100 cmds). |
9877 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
9878 |
< |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9878 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9879 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
9880 |
|
echo ' :' >>$CONFIG_STATUS |
9881 |
|
rm -f conftest.tail |
9884 |
|
# Write a limited-size here document to $tmp/defines.sed. |
9885 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
9886 |
|
# Speed up: don't consider the non `#define' lines. |
9887 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9887 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9888 |
|
# Work around the forget-to-reset-the-flag bug. |
9889 |
|
echo 't clr' >>$CONFIG_STATUS |
9890 |
|
echo ': clr' >>$CONFIG_STATUS |
9899 |
|
mv conftest.tail conftest.defines |
9900 |
|
done |
9901 |
|
rm -f conftest.defines |
9902 |
< |
echo ' fi # egrep' >>$CONFIG_STATUS |
9902 |
> |
echo ' fi # grep' >>$CONFIG_STATUS |
9903 |
|
echo >>$CONFIG_STATUS |
9904 |
|
|
9905 |
|
# Break up conftest.undefs because some shells have a limit on the size |
9911 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
9912 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
9913 |
|
# Speed up: don't consider the non `#undef' |
9914 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9914 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9915 |
|
# Work around the forget-to-reset-the-flag bug. |
9916 |
|
echo 't clr' >>$CONFIG_STATUS |
9917 |
|
echo ': clr' >>$CONFIG_STATUS |
9927 |
|
done |
9928 |
|
rm -f conftest.undefs |
9929 |
|
|
9930 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9930 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9931 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
9932 |
|
# use $as_me), people would be surprised to read: |
9933 |
< |
# /* config.h. Generated automatically by config.status. */ |
9933 |
> |
# /* config.h. Generated by config.status. */ |
9934 |
|
if test x"$ac_file" = x-; then |
9935 |
< |
echo "/* Generated automatically by configure. */" >$tmp/config.h |
9935 |
> |
echo "/* Generated by configure. */" >$tmp/config.h |
9936 |
|
else |
9937 |
< |
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
9937 |
> |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
9938 |
|
fi |
9939 |
|
cat $tmp/in >>$tmp/config.h |
9940 |
|
rm -f $tmp/in |
9941 |
|
if test x"$ac_file" != x-; then |
9942 |
< |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
9943 |
< |
{ echo "$as_me:7260: $ac_file is unchanged" >&5 |
9942 |
> |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
9943 |
> |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
9944 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
9945 |
|
else |
9946 |
< |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9947 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9948 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9949 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9950 |
< |
. : '\(.\)' 2>/dev/null || |
9946 |
> |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9947 |
> |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9948 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9949 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9950 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9951 |
> |
. : '\(.\)' 2>/dev/null || |
9952 |
|
echo X"$ac_file" | |
9953 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9954 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9955 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
9956 |
|
/^X\(\/\).*/{ s//\1/; q; } |
9957 |
|
s/.*/./; q'` |
9958 |
< |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
9959 |
< |
{ case "$ac_dir" in |
9960 |
< |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
9961 |
< |
*) as_incr_dir=.;; |
9962 |
< |
esac |
9963 |
< |
as_dummy="$ac_dir" |
9964 |
< |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
9965 |
< |
case $as_mkdir_dir in |
9966 |
< |
# Skip DOS drivespec |
9967 |
< |
?:) as_incr_dir=$as_mkdir_dir ;; |
9968 |
< |
*) |
9969 |
< |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
9970 |
< |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
9971 |
< |
;; |
9972 |
< |
esac |
9973 |
< |
done; } |
9958 |
> |
{ if $as_mkdir_p; then |
9959 |
> |
mkdir -p "$ac_dir" |
9960 |
> |
else |
9961 |
> |
as_dir="$ac_dir" |
9962 |
> |
as_dirs= |
9963 |
> |
while test ! -d "$as_dir"; do |
9964 |
> |
as_dirs="$as_dir $as_dirs" |
9965 |
> |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9966 |
> |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9967 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9968 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9969 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9970 |
> |
. : '\(.\)' 2>/dev/null || |
9971 |
> |
echo X"$as_dir" | |
9972 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9973 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9974 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
9975 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
9976 |
> |
s/.*/./; q'` |
9977 |
> |
done |
9978 |
> |
test ! -n "$as_dirs" || mkdir $as_dirs |
9979 |
> |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
9980 |
> |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
9981 |
> |
{ (exit 1); exit 1; }; }; } |
9982 |
|
|
7291 |
– |
fi |
9983 |
|
rm -f $ac_file |
9984 |
|
mv $tmp/config.h $ac_file |
9985 |
|
fi |
9988 |
|
rm -f $tmp/config.h |
9989 |
|
fi |
9990 |
|
done |
9991 |
< |
EOF |
9992 |
< |
cat >>$CONFIG_STATUS <<\EOF |
9991 |
> |
_ACEOF |
9992 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
9993 |
|
|
9994 |
|
# |
9995 |
|
# CONFIG_LINKS section. |
9999 |
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
10000 |
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10001 |
|
|
10002 |
< |
{ echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5 |
10002 |
> |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 |
10003 |
|
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} |
10004 |
|
|
10005 |
|
if test ! -r $srcdir/$ac_source; then |
10006 |
< |
{ { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5 |
10007 |
< |
echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} |
10006 |
> |
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
10007 |
> |
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
10008 |
|
{ (exit 1); exit 1; }; } |
10009 |
|
fi |
10010 |
|
rm -f $ac_dest |
10011 |
|
|
10012 |
|
# Make relative symlinks. |
10013 |
< |
ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10014 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10015 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
10016 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
10017 |
< |
. : '\(.\)' 2>/dev/null || |
10013 |
> |
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
10014 |
> |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10015 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10016 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
10017 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
10018 |
> |
. : '\(.\)' 2>/dev/null || |
10019 |
|
echo X"$ac_dest" | |
10020 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10021 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10022 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
10023 |
|
/^X\(\/\).*/{ s//\1/; q; } |
10024 |
|
s/.*/./; q'` |
10025 |
< |
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then |
10026 |
< |
{ case "$ac_dest_dir" in |
10027 |
< |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
10028 |
< |
*) as_incr_dir=.;; |
10025 |
> |
{ if $as_mkdir_p; then |
10026 |
> |
mkdir -p "$ac_dest_dir" |
10027 |
> |
else |
10028 |
> |
as_dir="$ac_dest_dir" |
10029 |
> |
as_dirs= |
10030 |
> |
while test ! -d "$as_dir"; do |
10031 |
> |
as_dirs="$as_dir $as_dirs" |
10032 |
> |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
10033 |
> |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10034 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
10035 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
10036 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
10037 |
> |
. : '\(.\)' 2>/dev/null || |
10038 |
> |
echo X"$as_dir" | |
10039 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10040 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10041 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
10042 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
10043 |
> |
s/.*/./; q'` |
10044 |
> |
done |
10045 |
> |
test ! -n "$as_dirs" || mkdir $as_dirs |
10046 |
> |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 |
10047 |
> |
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} |
10048 |
> |
{ (exit 1); exit 1; }; }; } |
10049 |
> |
|
10050 |
> |
ac_builddir=. |
10051 |
> |
|
10052 |
> |
if test "$ac_dest_dir" != .; then |
10053 |
> |
ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` |
10054 |
> |
# A "../" for each directory in $ac_dir_suffix. |
10055 |
> |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
10056 |
> |
else |
10057 |
> |
ac_dir_suffix= ac_top_builddir= |
10058 |
> |
fi |
10059 |
> |
|
10060 |
> |
case $srcdir in |
10061 |
> |
.) # No --srcdir option. We are building in place. |
10062 |
> |
ac_srcdir=. |
10063 |
> |
if test -z "$ac_top_builddir"; then |
10064 |
> |
ac_top_srcdir=. |
10065 |
> |
else |
10066 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
10067 |
> |
fi ;; |
10068 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
10069 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
10070 |
> |
ac_top_srcdir=$srcdir ;; |
10071 |
> |
*) # Relative path. |
10072 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10073 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10074 |
|
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; } |
10075 |
|
|
10076 |
< |
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`" |
10077 |
< |
# A "../" for each directory in $ac_dest_dir_suffix. |
10078 |
< |
ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'` |
10079 |
< |
else |
10080 |
< |
ac_dest_dir_suffix= ac_dots= |
10081 |
< |
fi |
10076 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
10077 |
> |
# the directories may not exist. |
10078 |
> |
case `pwd` in |
10079 |
> |
.) ac_abs_builddir="$ac_dest_dir";; |
10080 |
> |
*) |
10081 |
> |
case "$ac_dest_dir" in |
10082 |
> |
.) ac_abs_builddir=`pwd`;; |
10083 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
10084 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
10085 |
> |
esac;; |
10086 |
> |
esac |
10087 |
> |
case $ac_abs_builddir in |
10088 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
10089 |
> |
*) |
10090 |
> |
case ${ac_top_builddir}. in |
10091 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
10092 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
10093 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
10094 |
> |
esac;; |
10095 |
> |
esac |
10096 |
> |
case $ac_abs_builddir in |
10097 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
10098 |
> |
*) |
10099 |
> |
case $ac_srcdir in |
10100 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
10101 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
10102 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
10103 |
> |
esac;; |
10104 |
> |
esac |
10105 |
> |
case $ac_abs_builddir in |
10106 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
10107 |
> |
*) |
10108 |
> |
case $ac_top_srcdir in |
10109 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
10110 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
10111 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
10112 |
> |
esac;; |
10113 |
> |
esac |
10114 |
|
|
10115 |
+ |
|
10116 |
|
case $srcdir in |
10117 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
10118 |
< |
*) ac_rel_source=$ac_dots$srcdir/$ac_source ;; |
10118 |
> |
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |
10119 |
|
esac |
10120 |
|
|
10121 |
< |
# Make a symlink if possible; otherwise try a hard link. |
10121 |
> |
# Try a symlink, then a hard link, then a copy. |
10122 |
|
ln -s $ac_rel_source $ac_dest 2>/dev/null || |
10123 |
< |
ln $srcdir/$ac_source $ac_dest || |
10124 |
< |
{ { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 |
10125 |
< |
echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} |
10123 |
> |
ln $srcdir/$ac_source $ac_dest 2>/dev/null || |
10124 |
> |
cp -p $srcdir/$ac_source $ac_dest || |
10125 |
> |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 |
10126 |
> |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} |
10127 |
|
{ (exit 1); exit 1; }; } |
10128 |
|
done |
10129 |
< |
EOF |
10129 |
> |
_ACEOF |
10130 |
|
|
10131 |
< |
cat >>$CONFIG_STATUS <<\EOF |
10131 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
10132 |
|
|
10133 |
|
{ (exit 0); exit 0; } |
10134 |
< |
EOF |
10134 |
> |
_ACEOF |
10135 |
|
chmod +x $CONFIG_STATUS |
10136 |
|
ac_clean_files=$ac_clean_files_save |
10137 |
|
|
10138 |
+ |
|
10139 |
|
# configure is writing to config.log, and then calls config.status. |
10140 |
|
# config.status does its own redirection, appending to config.log. |
10141 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
10146 |
|
# need to make the FD available again. |
10147 |
|
if test "$no_create" != yes; then |
10148 |
|
ac_cs_success=: |
10149 |
+ |
ac_config_status_args= |
10150 |
+ |
test "$silent" = yes && |
10151 |
+ |
ac_config_status_args="$ac_config_status_args --quiet" |
10152 |
|
exec 5>/dev/null |
10153 |
< |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
10153 |
> |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
10154 |
|
exec 5>>config.log |
10155 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
10156 |
|
# would make configure fail if this is the last instruction. |