1 |
#! /bin/sh |
#! /bin/sh |
|
|
|
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated automatically using autoconf version 2.13 |
# Generated by GNU Autoconf 2.59. |
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
4 |
# |
# |
5 |
|
# Copyright (C) 2003 Free Software Foundation, Inc. |
6 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
8 |
|
## --------------------- ## |
9 |
|
## M4sh Initialization. ## |
10 |
|
## --------------------- ## |
11 |
|
|
12 |
|
# Be Bourne compatible |
13 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14 |
|
emulate sh |
15 |
|
NULLCMD=: |
16 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
17 |
|
# is contrary to our usage. Disable this feature. |
18 |
|
alias -g '${1+"$@"}'='"$@"' |
19 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
|
set -o posix |
21 |
|
fi |
22 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
|
24 |
|
# Support unset when possible. |
25 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
|
as_unset=unset |
27 |
|
else |
28 |
|
as_unset=false |
29 |
|
fi |
30 |
|
|
31 |
|
|
32 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
33 |
|
$as_unset ENV MAIL MAILPATH |
34 |
|
PS1='$ ' |
35 |
|
PS2='> ' |
36 |
|
PS4='+ ' |
37 |
|
|
38 |
|
# NLS nuisances. |
39 |
|
for as_var in \ |
40 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
41 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
|
LC_TELEPHONE LC_TIME |
43 |
|
do |
44 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
|
eval $as_var=C; export $as_var |
46 |
|
else |
47 |
|
$as_unset $as_var |
48 |
|
fi |
49 |
|
done |
50 |
|
|
51 |
|
# Required to use basename. |
52 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
53 |
|
as_expr=expr |
54 |
|
else |
55 |
|
as_expr=false |
56 |
|
fi |
57 |
|
|
58 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
59 |
|
as_basename=basename |
60 |
|
else |
61 |
|
as_basename=false |
62 |
|
fi |
63 |
|
|
64 |
|
|
65 |
|
# Name of the executable. |
66 |
|
as_me=`$as_basename "$0" || |
67 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
68 |
|
X"$0" : 'X\(//\)$' \| \ |
69 |
|
X"$0" : 'X\(/\)$' \| \ |
70 |
|
. : '\(.\)' 2>/dev/null || |
71 |
|
echo X/"$0" | |
72 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
73 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
74 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
75 |
|
s/.*/./; q'` |
76 |
|
|
77 |
|
|
78 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
79 |
|
# Avoid depending upon Character Ranges. |
80 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
82 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
83 |
|
as_cr_digits='0123456789' |
84 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
85 |
|
|
86 |
|
# The user is always right. |
87 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
88 |
|
echo "#! /bin/sh" >conf$$.sh |
89 |
|
echo "exit 0" >>conf$$.sh |
90 |
|
chmod +x conf$$.sh |
91 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
92 |
|
PATH_SEPARATOR=';' |
93 |
|
else |
94 |
|
PATH_SEPARATOR=: |
95 |
|
fi |
96 |
|
rm -f conf$$.sh |
97 |
|
fi |
98 |
|
|
99 |
|
|
100 |
|
as_lineno_1=$LINENO |
101 |
|
as_lineno_2=$LINENO |
102 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
103 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
104 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
105 |
|
# Find who we are. Look in the path if we contain no path at all |
106 |
|
# relative or not. |
107 |
|
case $0 in |
108 |
|
*[\\/]* ) as_myself=$0 ;; |
109 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
110 |
|
for as_dir in $PATH |
111 |
|
do |
112 |
|
IFS=$as_save_IFS |
113 |
|
test -z "$as_dir" && as_dir=. |
114 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
115 |
|
done |
116 |
|
|
117 |
|
;; |
118 |
|
esac |
119 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
120 |
|
# in which case we are not to be found in the path. |
121 |
|
if test "x$as_myself" = x; then |
122 |
|
as_myself=$0 |
123 |
|
fi |
124 |
|
if test ! -f "$as_myself"; then |
125 |
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
126 |
|
{ (exit 1); exit 1; }; } |
127 |
|
fi |
128 |
|
case $CONFIG_SHELL in |
129 |
|
'') |
130 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
131 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
132 |
|
do |
133 |
|
IFS=$as_save_IFS |
134 |
|
test -z "$as_dir" && as_dir=. |
135 |
|
for as_base in sh bash ksh sh5; do |
136 |
|
case $as_dir in |
137 |
|
/*) |
138 |
|
if ("$as_dir/$as_base" -c ' |
139 |
|
as_lineno_1=$LINENO |
140 |
|
as_lineno_2=$LINENO |
141 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
142 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
143 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
144 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
145 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
146 |
|
CONFIG_SHELL=$as_dir/$as_base |
147 |
|
export CONFIG_SHELL |
148 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
149 |
|
fi;; |
150 |
|
esac |
151 |
|
done |
152 |
|
done |
153 |
|
;; |
154 |
|
esac |
155 |
|
|
156 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
157 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
158 |
|
# line-number line before each line; the second 'sed' does the real |
159 |
|
# work. The second script uses 'N' to pair each line-number line |
160 |
|
# with the numbered line, and appends trailing '-' during |
161 |
|
# substitution so that $LINENO is not a special case at line end. |
162 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
163 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
164 |
|
sed '=' <$as_myself | |
165 |
|
sed ' |
166 |
|
N |
167 |
|
s,$,-, |
168 |
|
: loop |
169 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
170 |
|
t loop |
171 |
|
s,-$,, |
172 |
|
s,^['$as_cr_digits']*\n,, |
173 |
|
' >$as_me.lineno && |
174 |
|
chmod +x $as_me.lineno || |
175 |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
176 |
|
{ (exit 1); exit 1; }; } |
177 |
|
|
178 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
179 |
|
# (the dirname of $[0] is not the place where we might find the |
180 |
|
# original and so on. Autoconf is especially sensible to this). |
181 |
|
. ./$as_me.lineno |
182 |
|
# Exit status is that of the last command. |
183 |
|
exit |
184 |
|
} |
185 |
|
|
186 |
|
|
187 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
188 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
189 |
|
' ECHO_T=' ' ;; |
190 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
191 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
192 |
|
esac |
193 |
|
|
194 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
195 |
|
as_expr=expr |
196 |
|
else |
197 |
|
as_expr=false |
198 |
|
fi |
199 |
|
|
200 |
|
rm -f conf$$ conf$$.exe conf$$.file |
201 |
|
echo >conf$$.file |
202 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
203 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
204 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
205 |
|
if test -f conf$$.exe; then |
206 |
|
# Don't use ln at all; we don't have any links |
207 |
|
as_ln_s='cp -p' |
208 |
|
else |
209 |
|
as_ln_s='ln -s' |
210 |
|
fi |
211 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
212 |
|
as_ln_s=ln |
213 |
|
else |
214 |
|
as_ln_s='cp -p' |
215 |
|
fi |
216 |
|
rm -f conf$$ conf$$.exe conf$$.file |
217 |
|
|
218 |
|
if mkdir -p . 2>/dev/null; then |
219 |
|
as_mkdir_p=: |
220 |
|
else |
221 |
|
test -d ./-p && rmdir ./-p |
222 |
|
as_mkdir_p=false |
223 |
|
fi |
224 |
|
|
225 |
|
as_executable_p="test -f" |
226 |
|
|
227 |
|
# Sed expression to map a string onto a valid CPP name. |
228 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
|
|
230 |
|
# Sed expression to map a string onto a valid variable name. |
231 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
|
|
233 |
|
|
234 |
# Defaults: |
# IFS |
235 |
ac_help= |
# We need space, tab and new line, in precisely that order. |
236 |
|
as_nl=' |
237 |
|
' |
238 |
|
IFS=" $as_nl" |
239 |
|
|
240 |
|
# CDPATH. |
241 |
|
$as_unset CDPATH |
242 |
|
|
243 |
|
|
244 |
|
# Name of the host. |
245 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
246 |
|
# so uname gets run too. |
247 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
248 |
|
|
249 |
|
exec 6>&1 |
250 |
|
|
251 |
|
# |
252 |
|
# Initializations. |
253 |
|
# |
254 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
255 |
# Any additions from configure.in: |
ac_config_libobj_dir=. |
256 |
ac_help="$ac_help |
cross_compiling=no |
257 |
|
subdirs= |
258 |
|
MFLAGS= |
259 |
|
MAKEFLAGS= |
260 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
261 |
|
|
262 |
ASCEND specific options |
# Maximum number of lines to put in a shell here document. |
263 |
|
# This variable seems obsolete. It should probably be removed, and |
264 |
|
# only ac_max_sed_lines should be used. |
265 |
|
: ${ac_max_here_lines=38} |
266 |
|
|
267 |
|
# Identity of this package. |
268 |
|
PACKAGE_NAME= |
269 |
|
PACKAGE_TARNAME= |
270 |
|
PACKAGE_VERSION= |
271 |
|
PACKAGE_STRING= |
272 |
|
PACKAGE_BUGREPORT= |
273 |
|
|
274 |
|
ac_unique_file="../generic/compiler/ascParse.y" |
275 |
|
# Factoring default headers for most tests. |
276 |
|
ac_includes_default="\ |
277 |
|
#include <stdio.h> |
278 |
|
#if HAVE_SYS_TYPES_H |
279 |
|
# include <sys/types.h> |
280 |
|
#endif |
281 |
|
#if HAVE_SYS_STAT_H |
282 |
|
# include <sys/stat.h> |
283 |
|
#endif |
284 |
|
#if STDC_HEADERS |
285 |
|
# include <stdlib.h> |
286 |
|
# include <stddef.h> |
287 |
|
#else |
288 |
|
# if HAVE_STDLIB_H |
289 |
|
# include <stdlib.h> |
290 |
|
# endif |
291 |
|
#endif |
292 |
|
#if HAVE_STRING_H |
293 |
|
# if !STDC_HEADERS && HAVE_MEMORY_H |
294 |
|
# include <memory.h> |
295 |
|
# endif |
296 |
|
# include <string.h> |
297 |
|
#endif |
298 |
|
#if HAVE_STRINGS_H |
299 |
|
# include <strings.h> |
300 |
|
#endif |
301 |
|
#if HAVE_INTTYPES_H |
302 |
|
# include <inttypes.h> |
303 |
|
#else |
304 |
|
# if HAVE_STDINT_H |
305 |
|
# include <stdint.h> |
306 |
|
# endif |
307 |
|
#endif |
308 |
|
#if HAVE_UNISTD_H |
309 |
|
# include <unistd.h> |
310 |
|
#endif" |
311 |
|
|
312 |
Compiler options: |
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 RANLIB ac_ct_RANLIB LN_S SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT asc_cc1 asc_cc2 asc_cc3 CPP DEBUG_LIBS EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT TCL_LIB TCL_HDR TK_LIB TK_HDR TKTABLE_LIB F77 BLASLIB LPAKLIB LSODLIB ascpwd fullpathsrcdir asc_include scanner_src typer_src MATH_LIBS X11_INCLUDES X11_LIBRARIES X11_RUN_PATH X11_EXTRA_LIBS DL_LIBS LD_FLAGS LD_SEARCH_FLAGS SHLIB_CFLAGS SHLIB_LD SHLIB_LD_LIBS SHLIB_SUFFIX ASC_LIB_SUFFIX ASC_TK_LIBRARY ASC_TCL_LIBRARY HAVE_TKTABLE asc_subdirs F77LIBS make_blaslib make_lpaklib make_lsodlib HAVE_LSOD tkdir_root tkdir_topbuilddir models_dir_root models_topbuilddir help_dir_root help_topbuilddir LIBOBJS LTLIBOBJS' |
313 |
--enable-gcc allow use of gcc if avaiable" |
ac_subst_files='' |
|
ac_help="$ac_help |
|
|
--enable-optimization optimize the C code while building ascend" |
|
|
ac_help="$ac_help |
|
|
--with-x use the X Window System" |
|
|
ac_help="$ac_help |
|
|
Location of Tcl, Tk, and tkTable: |
|
|
--with-tcl=LIBRARY,HEADER |
|
|
The location of the Tcl8.0 library and/or header |
|
|
For a static Tcl8.0 library, give the full path: |
|
|
--with-tcl='/usr/local/lib/libtcl8.0.a' |
|
|
For a dynamic library, give any -L options required: |
|
|
--with-tcl='-L/usr/local/lib -ltcl8.0' |
|
|
To specify only the header, leave off the library: |
|
|
--with-tcl=',/usr/local/include/tcl.h' " |
|
|
ac_help="$ac_help |
|
|
--with-tk=LIBRARY,HEADER |
|
|
The location of the Tk8.0 library and/or header |
|
|
For a static Tk8.0 library, give the full path: |
|
|
--with-tk='/usr/local/lib/libtk8.3.a' |
|
|
For a dynamic library, give any -L options required: |
|
|
--with-tk='-L/usr/local/lib -ltk8.3' |
|
|
To specify only the header, leave off the library: |
|
|
--with-tk=',/usr/local/include/tk.h' " |
|
|
ac_help="$ac_help |
|
|
--with-tktable=TKTABLE full path to a TkTable1.3 static library" |
|
|
ac_help="$ac_help |
|
|
--with-wish=/path/to/bin/wish |
|
|
The location of the wish shell executable matching |
|
|
the tcl/tk given by --with-tk and --with-tcl. |
|
|
X11 must be running during configure. " |
|
|
ac_help="$ac_help |
|
|
Fortran compiler and libraries: |
|
|
--with-fortran=F77,F77LIBS |
|
|
The location of your Fortran compiler and its |
|
|
library files. For example, under SunOS: |
|
|
--with-fortran='f77,-L/usr/lang/lib -lF77 -lM77' |
|
|
To specify only the compiler or libraries, leave off |
|
|
whatever is not needed: |
|
|
--with-fortran=',-L/usr/lang/lib -lF77 -lM77' |
|
|
Use '--without-fortran' to not link against |
|
|
any Fortran libraries" |
|
|
ac_help="$ac_help |
|
|
--with-blas=BLASLIB The full path to the blas library. |
|
|
Use '--with-blas=build' to build the blas library |
|
|
from the sources that come with the distribution." |
|
|
ac_help="$ac_help |
|
|
--with-linpack=LPAKLIB The full path to the linpack library. |
|
|
Use '--with-linpack=build' to build the library |
|
|
from the sources that come with the distribution." |
|
|
ac_help="$ac_help |
|
|
--with-lsod=LSODLIB The full path to the lsod library. |
|
|
Use '--with-lsod=build' to build the lsod library |
|
|
from the sources that come with the distribution." |
|
|
ac_help="$ac_help |
|
|
Generation of Makefiles: |
|
|
--without-tkdir do not generate Makefiles in the TK subdir" |
|
|
ac_help="$ac_help |
|
|
--without-models do not generate Makefiles in the models subdir" |
|
314 |
|
|
315 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
316 |
|
ac_init_help= |
317 |
|
ac_init_version=false |
318 |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
319 |
# dashes changed to underlines. |
# dashes changed to underlines. |
320 |
build=NONE |
cache_file=/dev/null |
|
cache_file=./config.cache |
|
321 |
exec_prefix=NONE |
exec_prefix=NONE |
|
host=NONE |
|
322 |
no_create= |
no_create= |
|
nonopt=NONE |
|
323 |
no_recursion= |
no_recursion= |
324 |
prefix=NONE |
prefix=NONE |
325 |
program_prefix=NONE |
program_prefix=NONE |
328 |
silent= |
silent= |
329 |
site= |
site= |
330 |
srcdir= |
srcdir= |
|
target=NONE |
|
331 |
verbose= |
verbose= |
332 |
x_includes=NONE |
x_includes=NONE |
333 |
x_libraries=NONE |
x_libraries=NONE |
334 |
|
|
335 |
|
# Installation directory options. |
336 |
|
# These are left unexpanded so users can "make install exec_prefix=/foo" |
337 |
|
# and all the variables that are supposed to be based on exec_prefix |
338 |
|
# by default will actually change. |
339 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
340 |
bindir='${exec_prefix}/bin' |
bindir='${exec_prefix}/bin' |
341 |
sbindir='${exec_prefix}/sbin' |
sbindir='${exec_prefix}/sbin' |
342 |
libexecdir='${exec_prefix}/libexec' |
libexecdir='${exec_prefix}/libexec' |
350 |
infodir='${prefix}/info' |
infodir='${prefix}/info' |
351 |
mandir='${prefix}/man' |
mandir='${prefix}/man' |
352 |
|
|
|
# Initialize some other variables. |
|
|
subdirs= |
|
|
MFLAGS= MAKEFLAGS= |
|
|
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
# Maximum number of lines to put in a shell here document. |
|
|
ac_max_here_lines=12 |
|
|
|
|
353 |
ac_prev= |
ac_prev= |
354 |
for ac_option |
for ac_option |
355 |
do |
do |
|
|
|
356 |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
357 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
358 |
eval "$ac_prev=\$ac_option" |
eval "$ac_prev=\$ac_option" |
360 |
continue |
continue |
361 |
fi |
fi |
362 |
|
|
363 |
case "$ac_option" in |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
*) ac_optarg= ;; |
|
|
esac |
|
364 |
|
|
365 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
366 |
|
|
367 |
case "$ac_option" in |
case $ac_option in |
368 |
|
|
369 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
370 |
ac_prev=bindir ;; |
ac_prev=bindir ;; |
371 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
372 |
bindir="$ac_optarg" ;; |
bindir=$ac_optarg ;; |
373 |
|
|
374 |
-build | --build | --buil | --bui | --bu) |
-build | --build | --buil | --bui | --bu) |
375 |
ac_prev=build ;; |
ac_prev=build_alias ;; |
376 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
377 |
build="$ac_optarg" ;; |
build_alias=$ac_optarg ;; |
378 |
|
|
379 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
380 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
381 |
ac_prev=cache_file ;; |
ac_prev=cache_file ;; |
382 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
383 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
384 |
cache_file="$ac_optarg" ;; |
cache_file=$ac_optarg ;; |
385 |
|
|
386 |
|
--config-cache | -C) |
387 |
|
cache_file=config.cache ;; |
388 |
|
|
389 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
390 |
ac_prev=datadir ;; |
ac_prev=datadir ;; |
391 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
392 |
| --da=*) |
| --da=*) |
393 |
datadir="$ac_optarg" ;; |
datadir=$ac_optarg ;; |
394 |
|
|
395 |
-disable-* | --disable-*) |
-disable-* | --disable-*) |
396 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
397 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
398 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
399 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
400 |
fi |
{ (exit 1); exit 1; }; } |
401 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
402 |
eval "enable_${ac_feature}=no" ;; |
eval "enable_$ac_feature=no" ;; |
403 |
|
|
404 |
-enable-* | --enable-*) |
-enable-* | --enable-*) |
405 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
406 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
407 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
408 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
409 |
fi |
{ (exit 1); exit 1; }; } |
410 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
411 |
case "$ac_option" in |
case $ac_option in |
412 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
413 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
414 |
esac |
esac |
415 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
eval "enable_$ac_feature='$ac_optarg'" ;; |
416 |
|
|
417 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
418 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
421 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
422 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
423 |
| --exec=* | --exe=* | --ex=*) |
| --exec=* | --exe=* | --ex=*) |
424 |
exec_prefix="$ac_optarg" ;; |
exec_prefix=$ac_optarg ;; |
425 |
|
|
426 |
-gas | --gas | --ga | --g) |
-gas | --gas | --ga | --g) |
427 |
# Obsolete; use --with-gas. |
# Obsolete; use --with-gas. |
428 |
with_gas=yes ;; |
with_gas=yes ;; |
429 |
|
|
430 |
-help | --help | --hel | --he) |
-help | --help | --hel | --he | -h) |
431 |
# Omit some internal or obsolete options to make the list less imposing. |
ac_init_help=long ;; |
432 |
# This message is too long to be a string in the A/UX 3.1 sh. |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
433 |
cat << EOF |
ac_init_help=recursive ;; |
434 |
Usage: configure [options] [host] |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
435 |
Options: [defaults in brackets after descriptions] |
ac_init_help=short ;; |
|
Configuration: |
|
|
--cache-file=FILE cache test results in FILE |
|
|
--help print this message |
|
|
--no-create do not create output files |
|
|
--quiet, --silent do not print \`checking...' messages |
|
|
--version print the version of autoconf that created configure |
|
|
Directory and file names: |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX |
|
|
[$ac_default_prefix] |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
[same as prefix] |
|
|
--bindir=DIR user executables in DIR [EPREFIX/bin] |
|
|
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
|
--libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
|
--datadir=DIR read-only architecture-independent data in DIR |
|
|
[PREFIX/share] |
|
|
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
|
--sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
|
[PREFIX/com] |
|
|
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
|
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
|
--includedir=DIR C header files in DIR [PREFIX/include] |
|
|
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
|
--infodir=DIR info documentation in DIR [PREFIX/info] |
|
|
--mandir=DIR man documentation in DIR [PREFIX/man] |
|
|
--srcdir=DIR find the sources in DIR [configure dir or ..] |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
--program-transform-name=PROGRAM |
|
|
run sed PROGRAM on installed program names |
|
|
EOF |
|
|
cat << EOF |
|
|
Host type: |
|
|
--build=BUILD configure for building on BUILD [BUILD=HOST] |
|
|
--host=HOST configure for HOST [guessed] |
|
|
--target=TARGET configure for TARGET [TARGET=HOST] |
|
|
Features and packages: |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
--x-includes=DIR X include files are in DIR |
|
|
--x-libraries=DIR X library files are in DIR |
|
|
EOF |
|
|
if test -n "$ac_help"; then |
|
|
echo "--enable and --with options recognized:$ac_help" |
|
|
fi |
|
|
exit 0 ;; |
|
436 |
|
|
437 |
-host | --host | --hos | --ho) |
-host | --host | --hos | --ho) |
438 |
ac_prev=host ;; |
ac_prev=host_alias ;; |
439 |
-host=* | --host=* | --hos=* | --ho=*) |
-host=* | --host=* | --hos=* | --ho=*) |
440 |
host="$ac_optarg" ;; |
host_alias=$ac_optarg ;; |
441 |
|
|
442 |
-includedir | --includedir | --includedi | --included | --include \ |
-includedir | --includedir | --includedi | --included | --include \ |
443 |
| --includ | --inclu | --incl | --inc) |
| --includ | --inclu | --incl | --inc) |
444 |
ac_prev=includedir ;; |
ac_prev=includedir ;; |
445 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
446 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
447 |
includedir="$ac_optarg" ;; |
includedir=$ac_optarg ;; |
448 |
|
|
449 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
450 |
ac_prev=infodir ;; |
ac_prev=infodir ;; |
451 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
452 |
infodir="$ac_optarg" ;; |
infodir=$ac_optarg ;; |
453 |
|
|
454 |
-libdir | --libdir | --libdi | --libd) |
-libdir | --libdir | --libdi | --libd) |
455 |
ac_prev=libdir ;; |
ac_prev=libdir ;; |
456 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
457 |
libdir="$ac_optarg" ;; |
libdir=$ac_optarg ;; |
458 |
|
|
459 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
460 |
| --libexe | --libex | --libe) |
| --libexe | --libex | --libe) |
461 |
ac_prev=libexecdir ;; |
ac_prev=libexecdir ;; |
462 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
463 |
| --libexe=* | --libex=* | --libe=*) |
| --libexe=* | --libex=* | --libe=*) |
464 |
libexecdir="$ac_optarg" ;; |
libexecdir=$ac_optarg ;; |
465 |
|
|
466 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
467 |
| --localstate | --localstat | --localsta | --localst \ |
| --localstate | --localstat | --localsta | --localst \ |
470 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
471 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
472 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
473 |
localstatedir="$ac_optarg" ;; |
localstatedir=$ac_optarg ;; |
474 |
|
|
475 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
476 |
ac_prev=mandir ;; |
ac_prev=mandir ;; |
477 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
478 |
mandir="$ac_optarg" ;; |
mandir=$ac_optarg ;; |
479 |
|
|
480 |
-nfp | --nfp | --nf) |
-nfp | --nfp | --nf) |
481 |
# Obsolete; use --without-fp. |
# Obsolete; use --without-fp. |
482 |
with_fp=no ;; |
with_fp=no ;; |
483 |
|
|
484 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
485 |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
486 |
no_create=yes ;; |
no_create=yes ;; |
487 |
|
|
488 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
496 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
497 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
498 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
499 |
oldincludedir="$ac_optarg" ;; |
oldincludedir=$ac_optarg ;; |
500 |
|
|
501 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
502 |
ac_prev=prefix ;; |
ac_prev=prefix ;; |
503 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
504 |
prefix="$ac_optarg" ;; |
prefix=$ac_optarg ;; |
505 |
|
|
506 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
507 |
| --program-pre | --program-pr | --program-p) |
| --program-pre | --program-pr | --program-p) |
508 |
ac_prev=program_prefix ;; |
ac_prev=program_prefix ;; |
509 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
510 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
511 |
program_prefix="$ac_optarg" ;; |
program_prefix=$ac_optarg ;; |
512 |
|
|
513 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
514 |
| --program-suf | --program-su | --program-s) |
| --program-suf | --program-su | --program-s) |
515 |
ac_prev=program_suffix ;; |
ac_prev=program_suffix ;; |
516 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
517 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
518 |
program_suffix="$ac_optarg" ;; |
program_suffix=$ac_optarg ;; |
519 |
|
|
520 |
-program-transform-name | --program-transform-name \ |
-program-transform-name | --program-transform-name \ |
521 |
| --program-transform-nam | --program-transform-na \ |
| --program-transform-nam | --program-transform-na \ |
532 |
| --program-transfo=* | --program-transf=* \ |
| --program-transfo=* | --program-transf=* \ |
533 |
| --program-trans=* | --program-tran=* \ |
| --program-trans=* | --program-tran=* \ |
534 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| --progr-tra=* | --program-tr=* | --program-t=*) |
535 |
program_transform_name="$ac_optarg" ;; |
program_transform_name=$ac_optarg ;; |
536 |
|
|
537 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
538 |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
542 |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
543 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
544 |
| --sbi=* | --sb=*) |
| --sbi=* | --sb=*) |
545 |
sbindir="$ac_optarg" ;; |
sbindir=$ac_optarg ;; |
546 |
|
|
547 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
548 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
553 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
554 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
555 |
| --sha=* | --sh=*) |
| --sha=* | --sh=*) |
556 |
sharedstatedir="$ac_optarg" ;; |
sharedstatedir=$ac_optarg ;; |
557 |
|
|
558 |
-site | --site | --sit) |
-site | --site | --sit) |
559 |
ac_prev=site ;; |
ac_prev=site ;; |
560 |
-site=* | --site=* | --sit=*) |
-site=* | --site=* | --sit=*) |
561 |
site="$ac_optarg" ;; |
site=$ac_optarg ;; |
562 |
|
|
563 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
564 |
ac_prev=srcdir ;; |
ac_prev=srcdir ;; |
565 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
566 |
srcdir="$ac_optarg" ;; |
srcdir=$ac_optarg ;; |
567 |
|
|
568 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
569 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| --syscon | --sysco | --sysc | --sys | --sy) |
570 |
ac_prev=sysconfdir ;; |
ac_prev=sysconfdir ;; |
571 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
572 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
573 |
sysconfdir="$ac_optarg" ;; |
sysconfdir=$ac_optarg ;; |
574 |
|
|
575 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
-target | --target | --targe | --targ | --tar | --ta | --t) |
576 |
ac_prev=target ;; |
ac_prev=target_alias ;; |
577 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
578 |
target="$ac_optarg" ;; |
target_alias=$ac_optarg ;; |
579 |
|
|
580 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
581 |
verbose=yes ;; |
verbose=yes ;; |
582 |
|
|
583 |
-version | --version | --versio | --versi | --vers) |
-version | --version | --versio | --versi | --vers | -V) |
584 |
echo "configure generated by autoconf version 2.13" |
ac_init_version=: ;; |
|
exit 0 ;; |
|
585 |
|
|
586 |
-with-* | --with-*) |
-with-* | --with-*) |
587 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
588 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
589 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
590 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
591 |
fi |
{ (exit 1); exit 1; }; } |
592 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
593 |
case "$ac_option" in |
case $ac_option in |
594 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
595 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
596 |
esac |
esac |
597 |
eval "with_${ac_package}='$ac_optarg'" ;; |
eval "with_$ac_package='$ac_optarg'" ;; |
598 |
|
|
599 |
-without-* | --without-*) |
-without-* | --without-*) |
600 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
601 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
602 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
603 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
604 |
fi |
{ (exit 1); exit 1; }; } |
605 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
606 |
eval "with_${ac_package}=no" ;; |
eval "with_$ac_package=no" ;; |
607 |
|
|
608 |
--x) |
--x) |
609 |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
614 |
ac_prev=x_includes ;; |
ac_prev=x_includes ;; |
615 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
616 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
617 |
x_includes="$ac_optarg" ;; |
x_includes=$ac_optarg ;; |
618 |
|
|
619 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
620 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
621 |
ac_prev=x_libraries ;; |
ac_prev=x_libraries ;; |
622 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
623 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
624 |
x_libraries="$ac_optarg" ;; |
x_libraries=$ac_optarg ;; |
625 |
|
|
626 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
627 |
|
Try \`$0 --help' for more information." >&2 |
628 |
|
{ (exit 1); exit 1; }; } |
629 |
;; |
;; |
630 |
|
|
631 |
|
*=*) |
632 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
633 |
|
# Reject names that are not valid shell variable names. |
634 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
635 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
636 |
|
{ (exit 1); exit 1; }; } |
637 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
638 |
|
eval "$ac_envvar='$ac_optarg'" |
639 |
|
export $ac_envvar ;; |
640 |
|
|
641 |
*) |
*) |
642 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
# FIXME: should be removed in autoconf 3.0. |
643 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
644 |
fi |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
645 |
if test "x$nonopt" != xNONE; then |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
646 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
fi |
|
|
nonopt="$ac_option" |
|
647 |
;; |
;; |
648 |
|
|
649 |
esac |
esac |
650 |
done |
done |
651 |
|
|
652 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
653 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
654 |
fi |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
655 |
|
{ (exit 1); exit 1; }; } |
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
|
# File descriptor usage: |
|
|
# 0 standard input |
|
|
# 1 file creation |
|
|
# 2 errors and warnings |
|
|
# 3 some systems may open it to /dev/tty |
|
|
# 4 used on the Kubota Titan |
|
|
# 6 checking for... messages and results |
|
|
# 5 compiler messages saved in config.log |
|
|
if test "$silent" = yes; then |
|
|
exec 6>/dev/null |
|
|
else |
|
|
exec 6>&1 |
|
656 |
fi |
fi |
|
exec 5>./config.log |
|
657 |
|
|
658 |
echo "\ |
# Be sure to have absolute paths. |
659 |
This file contains any messages produced by compilers while |
for ac_var in exec_prefix prefix |
660 |
running configure, to aid debugging if configure makes a mistake. |
do |
661 |
" 1>&5 |
eval ac_val=$`echo $ac_var` |
662 |
|
case $ac_val in |
663 |
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
664 |
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
665 |
|
{ (exit 1); exit 1; }; };; |
666 |
|
esac |
667 |
|
done |
668 |
|
|
669 |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Be sure to have absolute paths. |
670 |
# Also quote any args containing shell metacharacters. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
671 |
ac_configure_args= |
localstatedir libdir includedir oldincludedir infodir mandir |
|
for ac_arg |
|
672 |
do |
do |
673 |
case "$ac_arg" in |
eval ac_val=$`echo $ac_var` |
674 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
case $ac_val in |
675 |
| --no-cr | --no-c) ;; |
[\\/$]* | ?:[\\/]* ) ;; |
676 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
677 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
{ (exit 1); exit 1; }; };; |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
*) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
678 |
esac |
esac |
679 |
done |
done |
680 |
|
|
681 |
# NLS nuisances. |
# There might be people who depend on the old broken behavior: `$host' |
682 |
# Only set these to C if already set. These must not be set unconditionally |
# used to hold the argument of --host etc. |
683 |
# because not all systems understand e.g. LANG=C (notably SCO). |
# FIXME: To remove some day. |
684 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
build=$build_alias |
685 |
# Non-C LC_CTYPE values break the ctype check. |
host=$host_alias |
686 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
target=$target_alias |
687 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
688 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
# FIXME: To remove some day. |
689 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
if test "x$host_alias" != x; then |
690 |
|
if test "x$build_alias" = x; then |
691 |
|
cross_compiling=maybe |
692 |
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
693 |
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
694 |
|
elif test "x$build_alias" != "x$host_alias"; then |
695 |
|
cross_compiling=yes |
696 |
|
fi |
697 |
|
fi |
698 |
|
|
699 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
ac_tool_prefix= |
700 |
rm -rf conftest* confdefs.h |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
701 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
702 |
echo > confdefs.h |
test "$silent" = yes && exec 6>/dev/null |
703 |
|
|
|
# A filename unique to this package, relative to the directory that |
|
|
# configure is in, which we can look for to find out if srcdir is correct. |
|
|
ac_unique_file=../generic/compiler/ascParse.y |
|
704 |
|
|
705 |
# Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
706 |
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
707 |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
708 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
709 |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
710 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
711 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
712 |
|
X"$0" : 'X\(//\)$' \| \ |
713 |
|
X"$0" : 'X\(/\)' \| \ |
714 |
|
. : '\(.\)' 2>/dev/null || |
715 |
|
echo X"$0" | |
716 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
717 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
718 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
719 |
|
/^X\(\/\).*/{ s//\1/; q; } |
720 |
|
s/.*/./; q'` |
721 |
srcdir=$ac_confdir |
srcdir=$ac_confdir |
722 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
723 |
srcdir=.. |
srcdir=.. |
727 |
fi |
fi |
728 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
729 |
if test "$ac_srcdir_defaulted" = yes; then |
if test "$ac_srcdir_defaulted" = yes; then |
730 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
731 |
|
{ (exit 1); exit 1; }; } |
732 |
else |
else |
733 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
734 |
|
{ (exit 1); exit 1; }; } |
735 |
fi |
fi |
736 |
fi |
fi |
737 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
738 |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
739 |
|
{ (exit 1); exit 1; }; } |
740 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
741 |
|
ac_env_build_alias_set=${build_alias+set} |
742 |
|
ac_env_build_alias_value=$build_alias |
743 |
|
ac_cv_env_build_alias_set=${build_alias+set} |
744 |
|
ac_cv_env_build_alias_value=$build_alias |
745 |
|
ac_env_host_alias_set=${host_alias+set} |
746 |
|
ac_env_host_alias_value=$host_alias |
747 |
|
ac_cv_env_host_alias_set=${host_alias+set} |
748 |
|
ac_cv_env_host_alias_value=$host_alias |
749 |
|
ac_env_target_alias_set=${target_alias+set} |
750 |
|
ac_env_target_alias_value=$target_alias |
751 |
|
ac_cv_env_target_alias_set=${target_alias+set} |
752 |
|
ac_cv_env_target_alias_value=$target_alias |
753 |
|
ac_env_CC_set=${CC+set} |
754 |
|
ac_env_CC_value=$CC |
755 |
|
ac_cv_env_CC_set=${CC+set} |
756 |
|
ac_cv_env_CC_value=$CC |
757 |
|
ac_env_CFLAGS_set=${CFLAGS+set} |
758 |
|
ac_env_CFLAGS_value=$CFLAGS |
759 |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
760 |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
761 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
762 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
763 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
764 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
765 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
766 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
767 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
768 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
769 |
|
ac_env_CPP_set=${CPP+set} |
770 |
|
ac_env_CPP_value=$CPP |
771 |
|
ac_cv_env_CPP_set=${CPP+set} |
772 |
|
ac_cv_env_CPP_value=$CPP |
773 |
|
|
774 |
|
# |
775 |
|
# Report the --help message. |
776 |
|
# |
777 |
|
if test "$ac_init_help" = "long"; then |
778 |
|
# Omit some internal or obsolete options to make the list less imposing. |
779 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
780 |
|
cat <<_ACEOF |
781 |
|
\`configure' configures this package to adapt to many kinds of systems. |
782 |
|
|
783 |
# Prefer explicitly selected file to automatically selected ones. |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
if test -z "$CONFIG_SITE"; then |
|
|
if test "x$prefix" != xNONE; then |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
|
|
else |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
|
|
fi |
|
|
fi |
|
|
for ac_site_file in $CONFIG_SITE; do |
|
|
if test -r "$ac_site_file"; then |
|
|
echo "loading site script $ac_site_file" |
|
|
. "$ac_site_file" |
|
|
fi |
|
|
done |
|
784 |
|
|
785 |
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
786 |
|
VAR=VALUE. See below for descriptions of some of the useful variables. |
787 |
|
|
788 |
ac_ext=c |
Defaults for the options are specified in brackets. |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
ac_exeext= |
|
|
ac_objext=o |
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
|
ac_n= ac_c=' |
|
|
' ac_t=' ' |
|
|
else |
|
|
ac_n=-n ac_c= ac_t= |
|
|
fi |
|
|
else |
|
|
ac_n= ac_c='\c' ac_t= |
|
|
fi |
|
789 |
|
|
790 |
|
Configuration: |
791 |
|
-h, --help display this help and exit |
792 |
|
--help=short display options specific to this package |
793 |
|
--help=recursive display the short help of all the included packages |
794 |
|
-V, --version display version information and exit |
795 |
|
-q, --quiet, --silent do not print \`checking...' messages |
796 |
|
--cache-file=FILE cache test results in FILE [disabled] |
797 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
798 |
|
-n, --no-create do not create output files |
799 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
800 |
|
|
801 |
|
_ACEOF |
802 |
|
|
803 |
|
cat <<_ACEOF |
804 |
|
Installation directories: |
805 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
806 |
|
[$ac_default_prefix] |
807 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
808 |
|
[PREFIX] |
809 |
|
|
810 |
#-------------------------------------------------------------------- |
By default, \`make install' will install all the files in |
811 |
# CVS Most Recent Revision Data |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
812 |
# Put this data after AC_INIT since we want this information |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
813 |
# to also appear in configure and autoconf, when creating |
for instance \`--prefix=\$HOME'. |
814 |
# configure, strips all comments that appear in configure.in |
|
815 |
# before AC_INIT |
For better control, use the options below. |
816 |
# $Revision: 1.38 $ |
|
817 |
# $Date: 2003/11/23 19:36:39 $ |
Fine tuning of the installation directories: |
818 |
# $Author: ballan $ |
--bindir=DIR user executables [EPREFIX/bin] |
819 |
# $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $ |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
820 |
#-------------------------------------------------------------------- |
--libexecdir=DIR program executables [EPREFIX/libexec] |
821 |
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
822 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
823 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
824 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
825 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
826 |
|
--includedir=DIR C header files [PREFIX/include] |
827 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
828 |
|
--infodir=DIR info documentation [PREFIX/info] |
829 |
|
--mandir=DIR man documentation [PREFIX/man] |
830 |
|
_ACEOF |
831 |
|
|
832 |
|
cat <<\_ACEOF |
833 |
|
|
834 |
#-------------------------------------------------------------------- |
X features: |
835 |
# Where configure should look for files it needs. |
--x-includes=DIR X include files are in DIR |
836 |
#-------------------------------------------------------------------- |
--x-libraries=DIR X library files are in DIR |
837 |
ac_aux_dir= |
|
838 |
for ac_dir in config $srcdir/config; do |
System types: |
839 |
if test -f $ac_dir/install-sh; then |
--build=BUILD configure for building on BUILD [guessed] |
840 |
ac_aux_dir=$ac_dir |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
841 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
_ACEOF |
|
break |
|
|
elif test -f $ac_dir/install.sh; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
break |
|
|
fi |
|
|
done |
|
|
if test -z "$ac_aux_dir"; then |
|
|
{ echo "configure: error: can not find install-sh or install.sh in config $srcdir/config" 1>&2; exit 1; } |
|
842 |
fi |
fi |
|
ac_config_guess=$ac_aux_dir/config.guess |
|
|
ac_config_sub=$ac_aux_dir/config.sub |
|
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
|
843 |
|
|
844 |
|
if test -n "$ac_init_help"; then |
845 |
|
|
846 |
#-------------------------------------------------------------------- |
cat <<\_ACEOF |
|
# Set the output variables prefix and exec_prefix that |
|
|
# determine where things will be installed. |
|
|
#-------------------------------------------------------------------- |
|
|
if test "${prefix}" = "NONE"; then |
|
|
prefix=/usr/local |
|
|
fi |
|
|
if test "${exec_prefix}" = "NONE"; then |
|
|
exec_prefix=$prefix |
|
|
fi |
|
847 |
|
|
848 |
|
Optional Features: |
849 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
850 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
851 |
|
|
852 |
#-------------------------------------------------------------------- |
ASCEND specific options |
|
# For the Fortran support libraries and the TCL/TK libraries |
|
|
# and header files, we unfortunately need the full path to |
|
|
# these files. The problem with having the full path is that |
|
|
# if the user moves the source tree, things will break unless |
|
|
# the user re-runs configure. |
|
|
#-------------------------------------------------------------------- |
|
853 |
|
|
854 |
#-------------------------------------------------------------------- |
Compiler options: |
855 |
##AWW |
--enable-gcc allow use of gcc if avaiable |
856 |
##AWW We put the .o files when compiling into a tree structure |
--enable-optimization optimize the C code while building ascend |
857 |
##AWW relative to the directory in which we currently reside, |
|
858 |
##AWW while the .c and .h files are in a similar tree structure |
Optional Packages: |
859 |
##AWW relative to the configure instruction we invoke. This |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
860 |
##AWW allows one to have separate .o files in their own tree when |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
861 |
##AWW compiling for different operating systems. |
--with-x use the X Window System |
862 |
##AWW |
Location of Tcl, Tk, and tkTable: |
863 |
##AWW Example 1 (same directories) |
--with-tcl=LIBRARY,HEADER |
864 |
##AWW Current directory one is in: /home/me/trunk/base/unixAC213 |
The location of the Tcl8.0 library and/or header |
865 |
##AWW Directory containing configure: /home/me/trunk/base/unixAC213 |
For a static Tcl8.0 library, give the full path: |
866 |
##AWW Command to invoke configure: ./configure |
--with-tcl='/usr/local/lib/libtcl8.0.a' |
867 |
##AWW $ascpwd will be: /home/me/trunk/base/unixAC213 |
For a dynamic library, give any -L options required: |
868 |
##AWW $srcdir will be: . |
--with-tcl='-L/usr/local/lib -ltcl8.0' |
869 |
##AWW |
To specify only the header, leave off the library: |
870 |
##AWW Example 2 (different directories, abs path for command) |
--with-tcl=',/usr/local/include/tcl.h' |
871 |
##AWW Current directory one is in: /home/me/trunk/base/newTree |
--with-tk=LIBRARY,HEADER |
872 |
##AWW Directory containing configure: /home/me/trunk/base/unixAC213 |
The location of the Tk8.0 library and/or header |
873 |
##AWW Command to invoke configure: /home/me/trunk/base/unixAC213/configure |
For a static Tk8.0 library, give the full path: |
874 |
##AWW $ascpwd will be: /home/me/trunk/base/newTree |
--with-tk='/usr/local/lib/libtk8.3.a' |
875 |
##AWW $srcdir will be: /home/me/trunk/base/unixAC213 |
For a dynamic library, give any -L options required: |
876 |
##AWW |
--with-tk='-L/usr/local/lib -ltk8.3' |
877 |
##AWW Example 3 (different directories, rel path for command) |
To specify only the header, leave off the library: |
878 |
##AWW Same as Example 2 |
--with-tk=',/usr/local/include/tk.h' |
879 |
##AWW Command to invoke configure: ../unixAC213/configure |
--with-tktable=TKTABLE full path to a TkTable1.3 static library |
880 |
##AWW $ascpwd will be: /home/me/trunk/base/newTree (same as in Example 2) |
--with-wish=/path/to/bin/wish |
881 |
##AWW $srcdir will be: ../unixAC213 |
The location of the wish shell executable matching |
882 |
##AWW |
the tcl/tk given by --with-tk and --with-tcl. |
883 |
##AWW Key elements of the source tree are: |
X11 must be running during configure. |
884 |
##AWW code/trunk/trunk/base/unixAC213/configure |
Fortran compiler and libraries: |
885 |
##AWW code/trunk/trunk/base/generic |
--with-fortran=F77,F77LIBS |
886 |
##AWW code/trunk/tcltk98 |
The location of your Fortran compiler and its |
887 |
##AWW where $srcdir is pointing to /home/me/trunk/base/unixAC213, the folder |
library files. For example, under SunOS: |
888 |
|
--with-fortran='f77,-L/usr/lang/lib -lF77 -lM77' |
889 |
|
To specify only the compiler or libraries, leave off |
890 |
|
whatever is not needed: |
891 |
|
--with-fortran=',-L/usr/lang/lib -lF77 -lM77' |
892 |
|
Use '--without-fortran' to not link against |
893 |
|
any Fortran libraries |
894 |
|
--with-blas=BLASLIB The full path to the blas library. |
895 |
|
Use '--with-blas=build' to build the blas library |
896 |
|
from the sources that come with the distribution. |
897 |
|
--with-linpack=LPAKLIB The full path to the linpack library. |
898 |
|
Use '--with-linpack=build' to build the library |
899 |
|
from the sources that come with the distribution. |
900 |
|
--with-lsod=LSODLIB The full path to the lsod library. |
901 |
|
Use '--with-lsod=build' to build the lsod library |
902 |
|
from the sources that come with the distribution. |
903 |
|
Generation of Makefiles: |
904 |
|
--without-tkdir do not generate Makefiles in the TK subdir |
905 |
|
--without-models do not generate Makefiles in the models subdir |
906 |
|
|
907 |
|
Some influential environment variables: |
908 |
|
CC C compiler command |
909 |
|
CFLAGS C compiler flags |
910 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
911 |
|
nonstandard directory <lib dir> |
912 |
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
913 |
|
headers in a nonstandard directory <include dir> |
914 |
|
CPP C preprocessor |
915 |
|
|
916 |
|
Use these variables to override the choices made by `configure' or to help |
917 |
|
it to find libraries and programs with nonstandard names/locations. |
918 |
|
|
919 |
|
_ACEOF |
920 |
|
fi |
921 |
|
|
922 |
|
if test "$ac_init_help" = "recursive"; then |
923 |
|
# If there are subdirs, report their specific --help. |
924 |
|
ac_popdir=`pwd` |
925 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
926 |
|
test -d $ac_dir || continue |
927 |
|
ac_builddir=. |
928 |
|
|
929 |
|
if test "$ac_dir" != .; then |
930 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
931 |
|
# A "../" for each directory in $ac_dir_suffix. |
932 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
933 |
|
else |
934 |
|
ac_dir_suffix= ac_top_builddir= |
935 |
|
fi |
936 |
|
|
937 |
|
case $srcdir in |
938 |
|
.) # No --srcdir option. We are building in place. |
939 |
|
ac_srcdir=. |
940 |
|
if test -z "$ac_top_builddir"; then |
941 |
|
ac_top_srcdir=. |
942 |
|
else |
943 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
944 |
|
fi ;; |
945 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
946 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
947 |
|
ac_top_srcdir=$srcdir ;; |
948 |
|
*) # Relative path. |
949 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
950 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
951 |
|
esac |
952 |
|
|
953 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
954 |
|
# the directories may not exist. |
955 |
|
case `pwd` in |
956 |
|
.) ac_abs_builddir="$ac_dir";; |
957 |
|
*) |
958 |
|
case "$ac_dir" in |
959 |
|
.) ac_abs_builddir=`pwd`;; |
960 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
961 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
962 |
|
esac;; |
963 |
|
esac |
964 |
|
case $ac_abs_builddir in |
965 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
966 |
|
*) |
967 |
|
case ${ac_top_builddir}. in |
968 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
969 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
970 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
971 |
|
esac;; |
972 |
|
esac |
973 |
|
case $ac_abs_builddir in |
974 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
975 |
|
*) |
976 |
|
case $ac_srcdir in |
977 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
978 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
979 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
980 |
|
esac;; |
981 |
|
esac |
982 |
|
case $ac_abs_builddir in |
983 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
984 |
|
*) |
985 |
|
case $ac_top_srcdir in |
986 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
987 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
988 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
989 |
|
esac;; |
990 |
|
esac |
991 |
|
|
992 |
|
cd $ac_dir |
993 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
994 |
|
if test -f $ac_srcdir/configure.gnu; then |
995 |
|
echo |
996 |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
997 |
|
elif test -f $ac_srcdir/configure; then |
998 |
|
echo |
999 |
|
$SHELL $ac_srcdir/configure --help=recursive |
1000 |
|
elif test -f $ac_srcdir/configure.ac || |
1001 |
|
test -f $ac_srcdir/configure.in; then |
1002 |
|
echo |
1003 |
|
$ac_configure --help |
1004 |
|
else |
1005 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1006 |
|
fi |
1007 |
|
cd $ac_popdir |
1008 |
|
done |
1009 |
|
fi |
1010 |
|
|
1011 |
|
test -n "$ac_init_help" && exit 0 |
1012 |
|
if $ac_init_version; then |
1013 |
|
cat <<\_ACEOF |
1014 |
|
|
1015 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
1016 |
|
This configure script is free software; the Free Software Foundation |
1017 |
|
gives unlimited permission to copy, distribute and modify it. |
1018 |
|
_ACEOF |
1019 |
|
exit 0 |
1020 |
|
fi |
1021 |
|
exec 5>config.log |
1022 |
|
cat >&5 <<_ACEOF |
1023 |
|
This file contains any messages produced by compilers while |
1024 |
|
running configure, to aid debugging if configure makes a mistake. |
1025 |
|
|
1026 |
|
It was created by $as_me, which was |
1027 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
1028 |
|
|
1029 |
|
$ $0 $@ |
1030 |
|
|
1031 |
|
_ACEOF |
1032 |
|
{ |
1033 |
|
cat <<_ASUNAME |
1034 |
|
## --------- ## |
1035 |
|
## Platform. ## |
1036 |
|
## --------- ## |
1037 |
|
|
1038 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1039 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1040 |
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1041 |
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1042 |
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1043 |
|
|
1044 |
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1045 |
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1046 |
|
|
1047 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1048 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1049 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1050 |
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1051 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1052 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1053 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1054 |
|
|
1055 |
|
_ASUNAME |
1056 |
|
|
1057 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1058 |
|
for as_dir in $PATH |
1059 |
|
do |
1060 |
|
IFS=$as_save_IFS |
1061 |
|
test -z "$as_dir" && as_dir=. |
1062 |
|
echo "PATH: $as_dir" |
1063 |
|
done |
1064 |
|
|
1065 |
|
} >&5 |
1066 |
|
|
1067 |
|
cat >&5 <<_ACEOF |
1068 |
|
|
1069 |
|
|
1070 |
|
## ----------- ## |
1071 |
|
## Core tests. ## |
1072 |
|
## ----------- ## |
1073 |
|
|
1074 |
|
_ACEOF |
1075 |
|
|
1076 |
|
|
1077 |
|
# Keep a trace of the command line. |
1078 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1079 |
|
# Strip out --silent because we don't want to record it for future runs. |
1080 |
|
# Also quote any args containing shell meta-characters. |
1081 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1082 |
|
ac_configure_args= |
1083 |
|
ac_configure_args0= |
1084 |
|
ac_configure_args1= |
1085 |
|
ac_sep= |
1086 |
|
ac_must_keep_next=false |
1087 |
|
for ac_pass in 1 2 |
1088 |
|
do |
1089 |
|
for ac_arg |
1090 |
|
do |
1091 |
|
case $ac_arg in |
1092 |
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1093 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1094 |
|
| -silent | --silent | --silen | --sile | --sil) |
1095 |
|
continue ;; |
1096 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1097 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1098 |
|
esac |
1099 |
|
case $ac_pass in |
1100 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1101 |
|
2) |
1102 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1103 |
|
if test $ac_must_keep_next = true; then |
1104 |
|
ac_must_keep_next=false # Got value, back to normal. |
1105 |
|
else |
1106 |
|
case $ac_arg in |
1107 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1108 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1109 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1110 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1111 |
|
case "$ac_configure_args0 " in |
1112 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1113 |
|
esac |
1114 |
|
;; |
1115 |
|
-* ) ac_must_keep_next=true ;; |
1116 |
|
esac |
1117 |
|
fi |
1118 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1119 |
|
# Get rid of the leading space. |
1120 |
|
ac_sep=" " |
1121 |
|
;; |
1122 |
|
esac |
1123 |
|
done |
1124 |
|
done |
1125 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1126 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1127 |
|
|
1128 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1129 |
|
# config.log. We remove comments because anyway the quotes in there |
1130 |
|
# would cause problems or look ugly. |
1131 |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1132 |
|
# such as our DU 5.0 friend, will then `close' the trap. |
1133 |
|
trap 'exit_status=$? |
1134 |
|
# Save into config.log some information that might help in debugging. |
1135 |
|
{ |
1136 |
|
echo |
1137 |
|
|
1138 |
|
cat <<\_ASBOX |
1139 |
|
## ---------------- ## |
1140 |
|
## Cache variables. ## |
1141 |
|
## ---------------- ## |
1142 |
|
_ASBOX |
1143 |
|
echo |
1144 |
|
# The following way of writing the cache mishandles newlines in values, |
1145 |
|
{ |
1146 |
|
(set) 2>&1 | |
1147 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1148 |
|
*ac_space=\ *) |
1149 |
|
sed -n \ |
1150 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1151 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1152 |
|
;; |
1153 |
|
*) |
1154 |
|
sed -n \ |
1155 |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1156 |
|
;; |
1157 |
|
esac; |
1158 |
|
} |
1159 |
|
echo |
1160 |
|
|
1161 |
|
cat <<\_ASBOX |
1162 |
|
## ----------------- ## |
1163 |
|
## Output variables. ## |
1164 |
|
## ----------------- ## |
1165 |
|
_ASBOX |
1166 |
|
echo |
1167 |
|
for ac_var in $ac_subst_vars |
1168 |
|
do |
1169 |
|
eval ac_val=$`echo $ac_var` |
1170 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1171 |
|
done | sort |
1172 |
|
echo |
1173 |
|
|
1174 |
|
if test -n "$ac_subst_files"; then |
1175 |
|
cat <<\_ASBOX |
1176 |
|
## ------------- ## |
1177 |
|
## Output files. ## |
1178 |
|
## ------------- ## |
1179 |
|
_ASBOX |
1180 |
|
echo |
1181 |
|
for ac_var in $ac_subst_files |
1182 |
|
do |
1183 |
|
eval ac_val=$`echo $ac_var` |
1184 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1185 |
|
done | sort |
1186 |
|
echo |
1187 |
|
fi |
1188 |
|
|
1189 |
|
if test -s confdefs.h; then |
1190 |
|
cat <<\_ASBOX |
1191 |
|
## ----------- ## |
1192 |
|
## confdefs.h. ## |
1193 |
|
## ----------- ## |
1194 |
|
_ASBOX |
1195 |
|
echo |
1196 |
|
sed "/^$/d" confdefs.h | sort |
1197 |
|
echo |
1198 |
|
fi |
1199 |
|
test "$ac_signal" != 0 && |
1200 |
|
echo "$as_me: caught signal $ac_signal" |
1201 |
|
echo "$as_me: exit $exit_status" |
1202 |
|
} >&5 |
1203 |
|
rm -f core *.core && |
1204 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1205 |
|
exit $exit_status |
1206 |
|
' 0 |
1207 |
|
for ac_signal in 1 2 13 15; do |
1208 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1209 |
|
done |
1210 |
|
ac_signal=0 |
1211 |
|
|
1212 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1213 |
|
rm -rf conftest* confdefs.h |
1214 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1215 |
|
echo >confdefs.h |
1216 |
|
|
1217 |
|
# Predefined preprocessor variables. |
1218 |
|
|
1219 |
|
cat >>confdefs.h <<_ACEOF |
1220 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1221 |
|
_ACEOF |
1222 |
|
|
1223 |
|
|
1224 |
|
cat >>confdefs.h <<_ACEOF |
1225 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1226 |
|
_ACEOF |
1227 |
|
|
1228 |
|
|
1229 |
|
cat >>confdefs.h <<_ACEOF |
1230 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1231 |
|
_ACEOF |
1232 |
|
|
1233 |
|
|
1234 |
|
cat >>confdefs.h <<_ACEOF |
1235 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1236 |
|
_ACEOF |
1237 |
|
|
1238 |
|
|
1239 |
|
cat >>confdefs.h <<_ACEOF |
1240 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1241 |
|
_ACEOF |
1242 |
|
|
1243 |
|
|
1244 |
|
# Let the site file select an alternate cache file if it wants to. |
1245 |
|
# Prefer explicitly selected file to automatically selected ones. |
1246 |
|
if test -z "$CONFIG_SITE"; then |
1247 |
|
if test "x$prefix" != xNONE; then |
1248 |
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1249 |
|
else |
1250 |
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1251 |
|
fi |
1252 |
|
fi |
1253 |
|
for ac_site_file in $CONFIG_SITE; do |
1254 |
|
if test -r "$ac_site_file"; then |
1255 |
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1256 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1257 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1258 |
|
. "$ac_site_file" |
1259 |
|
fi |
1260 |
|
done |
1261 |
|
|
1262 |
|
|
1263 |
|
# Check that the precious variables saved in the cache have kept the same |
1264 |
|
# value. |
1265 |
|
ac_cache_corrupted=false |
1266 |
|
for ac_var in `(set) 2>&1 | |
1267 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1268 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1269 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1270 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1271 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1272 |
|
case $ac_old_set,$ac_new_set in |
1273 |
|
set,) |
1274 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1275 |
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1276 |
|
ac_cache_corrupted=: ;; |
1277 |
|
,set) |
1278 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1279 |
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1280 |
|
ac_cache_corrupted=: ;; |
1281 |
|
,);; |
1282 |
|
*) |
1283 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1284 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1285 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1286 |
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1287 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1288 |
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1289 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1290 |
|
ac_cache_corrupted=: |
1291 |
|
fi;; |
1292 |
|
esac |
1293 |
|
# Pass precious variables to config.status. |
1294 |
|
if test "$ac_new_set" = set; then |
1295 |
|
case $ac_new_val in |
1296 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1297 |
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1298 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1299 |
|
esac |
1300 |
|
case " $ac_configure_args " in |
1301 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1302 |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1303 |
|
esac |
1304 |
|
fi |
1305 |
|
done |
1306 |
|
if $ac_cache_corrupted; then |
1307 |
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1308 |
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1309 |
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1310 |
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1311 |
|
{ (exit 1); exit 1; }; } |
1312 |
|
fi |
1313 |
|
|
1314 |
|
ac_ext=c |
1315 |
|
ac_cpp='$CPP $CPPFLAGS' |
1316 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1317 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1318 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1319 |
|
|
1320 |
|
|
1321 |
|
|
1322 |
|
|
1323 |
|
|
1324 |
|
|
1325 |
|
|
1326 |
|
|
1327 |
|
|
1328 |
|
|
1329 |
|
|
1330 |
|
|
1331 |
|
|
1332 |
|
|
1333 |
|
|
1334 |
|
|
1335 |
|
|
1336 |
|
|
1337 |
|
|
1338 |
|
|
1339 |
|
|
1340 |
|
#-------------------------------------------------------------------- |
1341 |
|
# CVS Most Recent Revision Data |
1342 |
|
# Put this data after AC_INIT since we want this information |
1343 |
|
# to also appear in configure and autoconf, when creating |
1344 |
|
# configure, strips all comments that appear in configure.in |
1345 |
|
# before AC_INIT |
1346 |
|
# $Revision: 1.38 $ |
1347 |
|
# $Date: 2003/11/23 19:36:39 $ |
1348 |
|
# $Author: ballan $ |
1349 |
|
# $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $ |
1350 |
|
#-------------------------------------------------------------------- |
1351 |
|
|
1352 |
|
|
1353 |
|
#-------------------------------------------------------------------- |
1354 |
|
# Where configure should look for files it needs. |
1355 |
|
#-------------------------------------------------------------------- |
1356 |
|
ac_aux_dir= |
1357 |
|
for ac_dir in config $srcdir/config; do |
1358 |
|
if test -f $ac_dir/install-sh; then |
1359 |
|
ac_aux_dir=$ac_dir |
1360 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
1361 |
|
break |
1362 |
|
elif test -f $ac_dir/install.sh; then |
1363 |
|
ac_aux_dir=$ac_dir |
1364 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
1365 |
|
break |
1366 |
|
elif test -f $ac_dir/shtool; then |
1367 |
|
ac_aux_dir=$ac_dir |
1368 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
1369 |
|
break |
1370 |
|
fi |
1371 |
|
done |
1372 |
|
if test -z "$ac_aux_dir"; then |
1373 |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 |
1374 |
|
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} |
1375 |
|
{ (exit 1); exit 1; }; } |
1376 |
|
fi |
1377 |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1378 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1379 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1380 |
|
|
1381 |
|
|
1382 |
|
#-------------------------------------------------------------------- |
1383 |
|
# Set the output variables prefix and exec_prefix that |
1384 |
|
# determine where things will be installed. |
1385 |
|
#-------------------------------------------------------------------- |
1386 |
|
if test "${prefix}" = "NONE"; then |
1387 |
|
prefix=/usr/local |
1388 |
|
fi |
1389 |
|
if test "${exec_prefix}" = "NONE"; then |
1390 |
|
exec_prefix=$prefix |
1391 |
|
fi |
1392 |
|
|
1393 |
|
|
1394 |
|
#-------------------------------------------------------------------- |
1395 |
|
# For the Fortran support libraries and the TCL/TK libraries |
1396 |
|
# and header files, we unfortunately need the full path to |
1397 |
|
# these files. The problem with having the full path is that |
1398 |
|
# if the user moves the source tree, things will break unless |
1399 |
|
# the user re-runs configure. |
1400 |
|
#-------------------------------------------------------------------- |
1401 |
|
|
1402 |
|
#-------------------------------------------------------------------- |
1403 |
|
##AWW |
1404 |
|
##AWW We put the .o files when compiling into a tree structure |
1405 |
|
##AWW relative to the directory in which we currently reside, |
1406 |
|
##AWW while the .c and .h files are in a similar tree structure |
1407 |
|
##AWW relative to the configure instruction we invoke. This |
1408 |
|
##AWW allows one to have separate .o files in their own tree when |
1409 |
|
##AWW compiling for different operating systems. |
1410 |
|
##AWW |
1411 |
|
##AWW Example 1 (same directories) |
1412 |
|
##AWW Current directory one is in: /home/me/trunk/base/unixAC213 |
1413 |
|
##AWW Directory containing configure: /home/me/trunk/base/unixAC213 |
1414 |
|
##AWW Command to invoke configure: ./configure |
1415 |
|
##AWW $ascpwd will be: /home/me/trunk/base/unixAC213 |
1416 |
|
##AWW $srcdir will be: . |
1417 |
|
##AWW |
1418 |
|
##AWW Example 2 (different directories, abs path for command) |
1419 |
|
##AWW Current directory one is in: /home/me/trunk/base/newTree |
1420 |
|
##AWW Directory containing configure: /home/me/trunk/base/unixAC213 |
1421 |
|
##AWW Command to invoke configure: /home/me/trunk/base/unixAC213/configure |
1422 |
|
##AWW $ascpwd will be: /home/me/trunk/base/newTree |
1423 |
|
##AWW $srcdir will be: /home/me/trunk/base/unixAC213 |
1424 |
|
##AWW |
1425 |
|
##AWW Example 3 (different directories, rel path for command) |
1426 |
|
##AWW Same as Example 2 |
1427 |
|
##AWW Command to invoke configure: ../unixAC213/configure |
1428 |
|
##AWW $ascpwd will be: /home/me/trunk/base/newTree (same as in Example 2) |
1429 |
|
##AWW $srcdir will be: ../unixAC213 |
1430 |
|
##AWW |
1431 |
|
##AWW Key elements of the source tree are: |
1432 |
|
##AWW code/trunk/trunk/base/unixAC213/configure |
1433 |
|
##AWW code/trunk/trunk/base/generic |
1434 |
|
##AWW code/trunk/tcltk98 |
1435 |
|
##AWW where $srcdir is pointing to /home/me/trunk/base/unixAC213, the folder |
1436 |
##AWW containing "configure" |
##AWW containing "configure" |
1437 |
##AWW |
##AWW |
1438 |
##AWW Configure is located at: |
##AWW Configure is located at: |
1453 |
##AWW |
##AWW |
1454 |
##AWW A safe include path should assume one is a directory with any |
##AWW A safe include path should assume one is a directory with any |
1455 |
##AWW of these .h and .c files and one needs to find a .h file in |
##AWW of these .h and .c files and one needs to find a .h file in |
1456 |
##AWW any other of them. The following paths should do it. |
##AWW any other of them. The following paths should do it. |
1457 |
##AWW |
##AWW |
1458 |
##AWW If in compiler, general, packages, solver, utilities |
##AWW If in compiler, general, packages, solver, utilities |
1459 |
##AWW .. for general, packages, etc |
##AWW .. for general, packages, etc |
1460 |
##AWW ../../../tcltk98/generic for interface |
##AWW ../../../tcltk98/generic for interface |
1468 |
# the ascend4 OBJECT directory. --rewrite - not clear. |
# the ascend4 OBJECT directory. --rewrite - not clear. |
1469 |
#AWW To compile a new ASCEND executable, one should move into the |
#AWW To compile a new ASCEND executable, one should move into the |
1470 |
#AWW directory in which one wants the ASCEND object/executable |
#AWW directory in which one wants the ASCEND object/executable |
1471 |
#AWW to reside (call this objTree) and from there run |
#AWW to reside (call this objTree) and from there run |
1472 |
#AWW ../base/unixAC213/configure. |
#AWW ../base/unixAC213/configure. |
1473 |
#AWW In the following code asc_include is set to the path from |
#AWW In the following code asc_include is set to the path from |
1474 |
|
|
1501 |
# subdirectories. Unfortunately, it won't work if the user |
# subdirectories. Unfortunately, it won't work if the user |
1502 |
# moves the source tree. |
# moves the source tree. |
1503 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1504 |
# Extract the first word of "ranlib", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
1505 |
set dummy ranlib; ac_word=$2 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
1506 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
1507 |
echo "configure:745: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1508 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1509 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
1510 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1511 |
else |
else |
1512 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
1513 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
1514 |
else |
else |
1515 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1516 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1517 |
for ac_dir in $ac_dummy; do |
do |
1518 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1519 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1520 |
ac_cv_prog_RANLIB="ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1521 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1522 |
fi |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
1523 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1524 |
IFS="$ac_save_ifs" |
break 2 |
1525 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
fi |
1526 |
|
done |
1527 |
|
done |
1528 |
|
|
1529 |
fi |
fi |
1530 |
fi |
fi |
1531 |
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB=$ac_cv_prog_RANLIB |
1532 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
1533 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
1534 |
|
echo "${ECHO_T}$RANLIB" >&6 |
1535 |
else |
else |
1536 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1537 |
|
echo "${ECHO_T}no" >&6 |
1538 |
fi |
fi |
1539 |
|
|
1540 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
fi |
1541 |
echo "configure:773: checking whether ln -s works" >&5 |
if test -z "$ac_cv_prog_RANLIB"; then |
1542 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
ac_ct_RANLIB=$RANLIB |
1543 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# Extract the first word of "ranlib", so it can be a program name with args. |
1544 |
|
set dummy ranlib; ac_word=$2 |
1545 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1546 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1547 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
1548 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1549 |
else |
else |
1550 |
rm -f conftestdata |
if test -n "$ac_ct_RANLIB"; then |
1551 |
if ln -s X conftestdata 2>/dev/null |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
1552 |
then |
else |
1553 |
rm -f conftestdata |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1554 |
ac_cv_prog_LN_S="ln -s" |
for as_dir in $PATH |
1555 |
|
do |
1556 |
|
IFS=$as_save_IFS |
1557 |
|
test -z "$as_dir" && as_dir=. |
1558 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1559 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1560 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
1561 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1562 |
|
break 2 |
1563 |
|
fi |
1564 |
|
done |
1565 |
|
done |
1566 |
|
|
1567 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
1568 |
|
fi |
1569 |
|
fi |
1570 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
1571 |
|
if test -n "$ac_ct_RANLIB"; then |
1572 |
|
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
1573 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
1574 |
else |
else |
1575 |
ac_cv_prog_LN_S=ln |
echo "$as_me:$LINENO: result: no" >&5 |
1576 |
|
echo "${ECHO_T}no" >&6 |
1577 |
fi |
fi |
1578 |
|
|
1579 |
|
RANLIB=$ac_ct_RANLIB |
1580 |
|
else |
1581 |
|
RANLIB="$ac_cv_prog_RANLIB" |
1582 |
fi |
fi |
1583 |
LN_S="$ac_cv_prog_LN_S" |
|
1584 |
if test "$ac_cv_prog_LN_S" = "ln -s"; then |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
1585 |
echo "$ac_t""yes" 1>&6 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
1586 |
|
LN_S=$as_ln_s |
1587 |
|
if test "$LN_S" = "ln -s"; then |
1588 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
1589 |
|
echo "${ECHO_T}yes" >&6 |
1590 |
else |
else |
1591 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
1592 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
1593 |
fi |
fi |
1594 |
|
|
1595 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1596 |
echo "configure:794: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1597 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1598 |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1599 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1600 |
else |
else |
1601 |
cat > conftestmake <<\EOF |
cat >conftest.make <<\_ACEOF |
1602 |
all: |
all: |
1603 |
@echo 'ac_maketemp="${MAKE}"' |
@echo 'ac_maketemp="$(MAKE)"' |
1604 |
EOF |
_ACEOF |
1605 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1606 |
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1607 |
if test -n "$ac_maketemp"; then |
if test -n "$ac_maketemp"; then |
1608 |
eval ac_cv_prog_make_${ac_make}_set=yes |
eval ac_cv_prog_make_${ac_make}_set=yes |
1609 |
else |
else |
1610 |
eval ac_cv_prog_make_${ac_make}_set=no |
eval ac_cv_prog_make_${ac_make}_set=no |
1611 |
fi |
fi |
1612 |
rm -f conftestmake |
rm -f conftest.make |
1613 |
fi |
fi |
1614 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1615 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
1616 |
|
echo "${ECHO_T}yes" >&6 |
1617 |
SET_MAKE= |
SET_MAKE= |
1618 |
else |
else |
1619 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1620 |
|
echo "${ECHO_T}no" >&6 |
1621 |
SET_MAKE="MAKE=${MAKE-make}" |
SET_MAKE="MAKE=${MAKE-make}" |
1622 |
fi |
fi |
1623 |
|
|
1628 |
# SunOS /usr/etc/install |
# SunOS /usr/etc/install |
1629 |
# IRIX /sbin/install |
# IRIX /sbin/install |
1630 |
# AIX /bin/install |
# AIX /bin/install |
1631 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1632 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1633 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1634 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1635 |
|
# OS/2's system install, which has a completely different semantic |
1636 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
1637 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1638 |
echo "configure:832: checking for a BSD compatible install" >&5 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1639 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
1640 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if test "${ac_cv_path_install+set}" = set; then |
1641 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1642 |
else |
else |
1643 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1644 |
for ac_dir in $PATH; do |
for as_dir in $PATH |
1645 |
# Account for people who put trailing slashes in PATH elements. |
do |
1646 |
case "$ac_dir/" in |
IFS=$as_save_IFS |
1647 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
test -z "$as_dir" && as_dir=. |
1648 |
*) |
# Account for people who put trailing slashes in PATH elements. |
1649 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
case $as_dir/ in |
1650 |
# Don't use installbsd from OSF since it installs stuff as root |
./ | .// | /cC/* | \ |
1651 |
# by default. |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1652 |
for ac_prog in ginstall scoinst install; do |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1653 |
if test -f $ac_dir/$ac_prog; then |
/usr/ucb/* ) ;; |
1654 |
|
*) |
1655 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
1656 |
|
# Don't use installbsd from OSF since it installs stuff as root |
1657 |
|
# by default. |
1658 |
|
for ac_prog in ginstall scoinst install; do |
1659 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1660 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1661 |
if test $ac_prog = install && |
if test $ac_prog = install && |
1662 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1663 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
1664 |
: |
: |
1665 |
|
elif test $ac_prog = install && |
1666 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1667 |
|
# program-specific install script used by HP pwplus--don't use. |
1668 |
|
: |
1669 |
else |
else |
1670 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1671 |
break 2 |
break 3 |
1672 |
fi |
fi |
1673 |
fi |
fi |
1674 |
done |
done |
1675 |
;; |
done |
1676 |
esac |
;; |
1677 |
done |
esac |
1678 |
IFS="$ac_save_IFS" |
done |
1679 |
|
|
1680 |
|
|
1681 |
fi |
fi |
1682 |
if test "${ac_cv_path_install+set}" = set; then |
if test "${ac_cv_path_install+set}" = set; then |
1683 |
INSTALL="$ac_cv_path_install" |
INSTALL=$ac_cv_path_install |
1684 |
else |
else |
1685 |
# As a last resort, use the slow shell script. We don't cache a |
# As a last resort, use the slow shell script. We don't cache a |
1686 |
# path for INSTALL within a source directory, because that will |
# path for INSTALL within a source directory, because that will |
1687 |
# break other packages using the cache if that directory is |
# break other packages using the cache if that directory is |
1688 |
# removed, or if the path is relative. |
# removed, or if the path is relative. |
1689 |
INSTALL="$ac_install_sh" |
INSTALL=$ac_install_sh |
1690 |
fi |
fi |
1691 |
fi |
fi |
1692 |
echo "$ac_t""$INSTALL" 1>&6 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1693 |
|
echo "${ECHO_T}$INSTALL" >&6 |
1694 |
|
|
1695 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1696 |
# It thinks the first close brace ends the variable substitution. |
# It thinks the first close brace ends the variable substitution. |
1697 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1698 |
|
|
1699 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1700 |
|
|
1701 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1702 |
|
|
1713 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1714 |
# Get the host type for various checks along the way |
# Get the host type for various checks along the way |
1715 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
|
|
|
1716 |
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
1717 |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
$ac_config_sub sun4 >/dev/null 2>&1 || |
1718 |
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1719 |
fi |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1720 |
|
{ (exit 1); exit 1; }; } |
1721 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
1722 |
echo "configure:904: checking host system type" >&5 |
echo "$as_me:$LINENO: checking build system type" >&5 |
1723 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1724 |
|
if test "${ac_cv_build+set}" = set; then |
1725 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1726 |
|
else |
1727 |
|
ac_cv_build_alias=$build_alias |
1728 |
|
test -z "$ac_cv_build_alias" && |
1729 |
|
ac_cv_build_alias=`$ac_config_guess` |
1730 |
|
test -z "$ac_cv_build_alias" && |
1731 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1732 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1733 |
|
{ (exit 1); exit 1; }; } |
1734 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1735 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1736 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1737 |
|
{ (exit 1); exit 1; }; } |
1738 |
|
|
1739 |
|
fi |
1740 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1741 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1742 |
|
build=$ac_cv_build |
1743 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1744 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1745 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1746 |
|
|
1747 |
|
|
1748 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
1749 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1750 |
|
if test "${ac_cv_host+set}" = set; then |
1751 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1752 |
|
else |
1753 |
|
ac_cv_host_alias=$host_alias |
1754 |
|
test -z "$ac_cv_host_alias" && |
1755 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1756 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1757 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1758 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1759 |
|
{ (exit 1); exit 1; }; } |
1760 |
|
|
1761 |
|
fi |
1762 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1763 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1764 |
|
host=$ac_cv_host |
1765 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1766 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1767 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1768 |
|
|
|
host_alias=$host |
|
|
case "$host_alias" in |
|
|
NONE) |
|
|
case $nonopt in |
|
|
NONE) |
|
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
|
fi ;; |
|
|
*) host_alias=$nonopt ;; |
|
|
esac ;; |
|
|
esac |
|
|
|
|
|
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
|
|
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
echo "$ac_t""$host" 1>&6 |
|
1769 |
|
|
1770 |
|
|
1771 |
|
|
1798 |
asc_gcc_ok=$enableval |
asc_gcc_ok=$enableval |
1799 |
else |
else |
1800 |
asc_gcc_ok=no |
asc_gcc_ok=no |
1801 |
fi |
fi; |
|
|
|
1802 |
if test ! "$asc_gcc_ok" = "yes"; then |
if test ! "$asc_gcc_ok" = "yes"; then |
1803 |
CC=${CC-cc} |
CC=${CC-cc} |
1804 |
fi |
fi |
1807 |
if test "X$asc_gcc_ok" = "Xyes" ; then |
if test "X$asc_gcc_ok" = "Xyes" ; then |
1808 |
asc_ansi_ok=yes |
asc_ansi_ok=yes |
1809 |
else |
else |
1810 |
echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
1811 |
echo "configure:966: checking whether $CC understands const, void*, and function prototypes" >&5 |
echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 |
1812 |
cat > conftest.$ac_ext <<EOF |
ac_ext=c |
1813 |
#line 968 "configure" |
ac_cpp='$CPP $CPPFLAGS' |
1814 |
#include "confdefs.h" |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1815 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1816 |
int main() { |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1817 |
|
if test -n "$ac_tool_prefix"; then |
1818 |
int tstproto(int arg1, char * arg2); |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1819 |
int tstconst(const int arg1, const char *arg2); |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1820 |
int tstvoidp(const int arg1, const void *arg2); |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1821 |
; return 0; } |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1822 |
EOF |
if test "${ac_cv_prog_CC+set}" = set; then |
1823 |
if { (eval echo configure:978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
rm -rf conftest* |
|
|
asc_ansi_ok=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
echo "$ac_t""$asc_ansi_ok" 1>&6 |
|
|
fi |
|
|
|
|
|
if test "$asc_ansi_ok" = no ; then |
|
|
# Extract the first word of "c89", so it can be a program name with args. |
|
|
set dummy c89; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:995: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_asc_cc1'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
1824 |
else |
else |
1825 |
if test -n "$asc_cc1"; then |
if test -n "$CC"; then |
1826 |
ac_cv_prog_asc_cc1="$asc_cc1" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1827 |
else |
else |
1828 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1829 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1830 |
for ac_dir in $ac_dummy; do |
do |
1831 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1832 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1833 |
ac_cv_prog_asc_cc1="c89" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1834 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1835 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1836 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1837 |
IFS="$ac_save_ifs" |
break 2 |
1838 |
test -z "$ac_cv_prog_asc_cc1" && ac_cv_prog_asc_cc1="NONE" |
fi |
1839 |
|
done |
1840 |
|
done |
1841 |
|
|
1842 |
fi |
fi |
1843 |
fi |
fi |
1844 |
asc_cc1="$ac_cv_prog_asc_cc1" |
CC=$ac_cv_prog_CC |
1845 |
if test -n "$asc_cc1"; then |
if test -n "$CC"; then |
1846 |
echo "$ac_t""$asc_cc1" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1847 |
|
echo "${ECHO_T}$CC" >&6 |
1848 |
else |
else |
1849 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1850 |
|
echo "${ECHO_T}no" >&6 |
1851 |
fi |
fi |
1852 |
|
|
|
if test ! "$asc_cc1" = NONE ; then |
|
|
CC=$asc_cc1 |
|
|
echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6 |
|
|
echo "configure:1025: checking whether $CC understands const, void*, and function prototypes" >&5 |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1027 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
int main() { |
|
|
|
|
|
int tstproto(int arg1, char * arg2); |
|
|
int tstconst(const int arg1, const char *arg2); |
|
|
int tstvoidp(const int arg1, const void *arg2); |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
echo "$ac_t""$asc_ansi_ok" 1>&6 |
|
|
fi |
|
1853 |
fi |
fi |
1854 |
|
if test -z "$ac_cv_prog_CC"; then |
1855 |
if test "$asc_ansi_ok" = no ; then |
ac_ct_CC=$CC |
1856 |
# Extract the first word of "xlc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
1857 |
set dummy xlc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
1858 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1859 |
echo "configure:1055: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1860 |
if eval "test \"`echo '$''{'ac_cv_prog_asc_cc2'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1861 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1862 |
else |
else |
1863 |
if test -n "$asc_cc2"; then |
if test -n "$ac_ct_CC"; then |
1864 |
ac_cv_prog_asc_cc2="$asc_cc2" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1865 |
else |
else |
1866 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1867 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1868 |
for ac_dir in $ac_dummy; do |
do |
1869 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1870 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1871 |
ac_cv_prog_asc_cc2="xlc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1872 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1873 |
fi |
ac_cv_prog_ac_ct_CC="gcc" |
1874 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1875 |
IFS="$ac_save_ifs" |
break 2 |
1876 |
test -z "$ac_cv_prog_asc_cc2" && ac_cv_prog_asc_cc2="NONE" |
fi |
1877 |
|
done |
1878 |
|
done |
1879 |
|
|
1880 |
fi |
fi |
1881 |
fi |
fi |
1882 |
asc_cc2="$ac_cv_prog_asc_cc2" |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1883 |
if test -n "$asc_cc2"; then |
if test -n "$ac_ct_CC"; then |
1884 |
echo "$ac_t""$asc_cc2" 1>&6 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1885 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1886 |
else |
else |
1887 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1888 |
|
echo "${ECHO_T}no" >&6 |
1889 |
fi |
fi |
1890 |
|
|
1891 |
if test ! "$asc_cc2" = NONE ; then |
CC=$ac_ct_CC |
1892 |
CC=$asc_cc2 |
else |
1893 |
echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6 |
CC="$ac_cv_prog_CC" |
|
echo "configure:1085: checking whether $CC understands const, void*, and function prototypes" >&5 |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1087 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
int main() { |
|
|
|
|
|
int tstproto(int arg1, char * arg2); |
|
|
int tstconst(const int arg1, const char *arg2); |
|
|
int tstvoidp(const int arg1, const void *arg2); |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
echo "$ac_t""$asc_ansi_ok" 1>&6 |
|
|
fi |
|
1894 |
fi |
fi |
1895 |
|
|
1896 |
if test "$asc_ansi_ok" = no ; then |
if test -z "$CC"; then |
1897 |
# Extract the first word of "acc", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
1898 |
set dummy acc; ac_word=$2 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1899 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1900 |
echo "configure:1115: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1901 |
if eval "test \"`echo '$''{'ac_cv_prog_asc_cc3'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1902 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
1903 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1904 |
else |
else |
1905 |
if test -n "$asc_cc3"; then |
if test -n "$CC"; then |
1906 |
ac_cv_prog_asc_cc3="$asc_cc3" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1907 |
else |
else |
1908 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1909 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1910 |
for ac_dir in $ac_dummy; do |
do |
1911 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1912 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1913 |
ac_cv_prog_asc_cc3="acc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1914 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1915 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1916 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1917 |
IFS="$ac_save_ifs" |
break 2 |
1918 |
test -z "$ac_cv_prog_asc_cc3" && ac_cv_prog_asc_cc3="NONE" |
fi |
1919 |
|
done |
1920 |
|
done |
1921 |
|
|
1922 |
fi |
fi |
1923 |
fi |
fi |
1924 |
asc_cc3="$ac_cv_prog_asc_cc3" |
CC=$ac_cv_prog_CC |
1925 |
if test -n "$asc_cc3"; then |
if test -n "$CC"; then |
1926 |
echo "$ac_t""$asc_cc3" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1927 |
|
echo "${ECHO_T}$CC" >&6 |
1928 |
else |
else |
1929 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1930 |
|
echo "${ECHO_T}no" >&6 |
1931 |
fi |
fi |
1932 |
|
|
|
if test ! "$asc_cc3" = NONE ; then |
|
|
CC=$asc_cc3 |
|
|
echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6 |
|
|
echo "configure:1145: checking whether $CC understands const, void*, and function prototypes" >&5 |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1147 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
int main() { |
|
|
|
|
|
int tstproto(int arg1, char * arg2); |
|
|
int tstconst(const int arg1, const char *arg2); |
|
|
int tstvoidp(const int arg1, const void *arg2); |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
asc_ansi_ok=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
echo "$ac_t""$asc_ansi_ok" 1>&6 |
|
|
fi |
|
1933 |
fi |
fi |
1934 |
|
if test -z "$ac_cv_prog_CC"; then |
1935 |
# Extract the first word of "gcc", so it can be a program name with args. |
ac_ct_CC=$CC |
1936 |
set dummy gcc; ac_word=$2 |
# Extract the first word of "cc", so it can be a program name with args. |
1937 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
set dummy cc; ac_word=$2 |
1938 |
echo "configure:1174: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1939 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1940 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1941 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1942 |
else |
else |
1943 |
if test -n "$CC"; then |
if test -n "$ac_ct_CC"; then |
1944 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1945 |
else |
else |
1946 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1947 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1948 |
for ac_dir in $ac_dummy; do |
do |
1949 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1950 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1951 |
ac_cv_prog_CC="gcc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1952 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1953 |
fi |
ac_cv_prog_ac_ct_CC="cc" |
1954 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1955 |
IFS="$ac_save_ifs" |
break 2 |
1956 |
|
fi |
1957 |
|
done |
1958 |
|
done |
1959 |
|
|
1960 |
fi |
fi |
1961 |
fi |
fi |
1962 |
CC="$ac_cv_prog_CC" |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1963 |
if test -n "$CC"; then |
if test -n "$ac_ct_CC"; then |
1964 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1965 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1966 |
|
else |
1967 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1968 |
|
echo "${ECHO_T}no" >&6 |
1969 |
|
fi |
1970 |
|
|
1971 |
|
CC=$ac_ct_CC |
1972 |
else |
else |
1973 |
echo "$ac_t""no" 1>&6 |
CC="$ac_cv_prog_CC" |
1974 |
fi |
fi |
1975 |
|
|
1976 |
|
fi |
1977 |
if test -z "$CC"; then |
if test -z "$CC"; then |
1978 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
1979 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
1980 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1981 |
echo "configure:1204: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1982 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1983 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1984 |
else |
else |
1985 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1986 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1987 |
else |
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1988 |
ac_prog_rejected=no |
ac_prog_rejected=no |
1989 |
ac_dummy="$PATH" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1990 |
for ac_dir in $ac_dummy; do |
for as_dir in $PATH |
1991 |
test -z "$ac_dir" && ac_dir=. |
do |
1992 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
1993 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
test -z "$as_dir" && as_dir=. |
1994 |
ac_prog_rejected=yes |
for ac_exec_ext in '' $ac_executable_extensions; do |
1995 |
continue |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1996 |
fi |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1997 |
ac_cv_prog_CC="cc" |
ac_prog_rejected=yes |
1998 |
break |
continue |
1999 |
fi |
fi |
2000 |
done |
ac_cv_prog_CC="cc" |
2001 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2002 |
|
break 2 |
2003 |
|
fi |
2004 |
|
done |
2005 |
|
done |
2006 |
|
|
2007 |
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
2008 |
# We found a bogon in the path, so make sure we never use it. |
# We found a bogon in the path, so make sure we never use it. |
2009 |
set dummy $ac_cv_prog_CC |
set dummy $ac_cv_prog_CC |
2010 |
shift |
shift |
2011 |
if test $# -gt 0; then |
if test $# != 0; then |
2012 |
# We chose a different compiler from the bogus one. |
# We chose a different compiler from the bogus one. |
2013 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
2014 |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
2015 |
shift |
shift |
2016 |
set dummy "$ac_dir/$ac_word" "$@" |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
2017 |
fi |
fi |
2018 |
fi |
fi |
2019 |
fi |
fi |
2020 |
fi |
fi |
2021 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2022 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2023 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2024 |
|
echo "${ECHO_T}$CC" >&6 |
2025 |
else |
else |
2026 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2027 |
|
echo "${ECHO_T}no" >&6 |
2028 |
fi |
fi |
2029 |
|
|
2030 |
if test -z "$CC"; then |
fi |
2031 |
case "`uname -s`" in |
if test -z "$CC"; then |
2032 |
*win32* | *WIN32*) |
if test -n "$ac_tool_prefix"; then |
2033 |
# Extract the first word of "cl", so it can be a program name with args. |
for ac_prog in cl |
2034 |
set dummy cl; ac_word=$2 |
do |
2035 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2036 |
echo "configure:1255: checking for $ac_word" >&5 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2037 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2038 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2039 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
2040 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2041 |
else |
else |
2042 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2043 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2044 |
else |
else |
2045 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2046 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2047 |
for ac_dir in $ac_dummy; do |
do |
2048 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2049 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2050 |
ac_cv_prog_CC="cl" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2051 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2052 |
fi |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2053 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2054 |
IFS="$ac_save_ifs" |
break 2 |
2055 |
|
fi |
2056 |
|
done |
2057 |
|
done |
2058 |
|
|
2059 |
fi |
fi |
2060 |
fi |
fi |
2061 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2062 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2063 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2064 |
|
echo "${ECHO_T}$CC" >&6 |
2065 |
else |
else |
2066 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2067 |
|
echo "${ECHO_T}no" >&6 |
2068 |
fi |
fi |
2069 |
;; |
|
2070 |
esac |
test -n "$CC" && break |
2071 |
|
done |
2072 |
|
fi |
2073 |
|
if test -z "$CC"; then |
2074 |
|
ac_ct_CC=$CC |
2075 |
|
for ac_prog in cl |
2076 |
|
do |
2077 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2078 |
|
set dummy $ac_prog; ac_word=$2 |
2079 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2080 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2081 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2082 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2083 |
|
else |
2084 |
|
if test -n "$ac_ct_CC"; then |
2085 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2086 |
|
else |
2087 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2088 |
|
for as_dir in $PATH |
2089 |
|
do |
2090 |
|
IFS=$as_save_IFS |
2091 |
|
test -z "$as_dir" && as_dir=. |
2092 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2093 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2094 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
2095 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2096 |
|
break 2 |
2097 |
fi |
fi |
2098 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
done |
2099 |
|
done |
2100 |
|
|
2101 |
|
fi |
2102 |
|
fi |
2103 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2104 |
|
if test -n "$ac_ct_CC"; then |
2105 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2106 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2107 |
|
else |
2108 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2109 |
|
echo "${ECHO_T}no" >&6 |
2110 |
fi |
fi |
2111 |
|
|
2112 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
test -n "$ac_ct_CC" && break |
2113 |
echo "configure:1287: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
done |
2114 |
|
|
2115 |
ac_ext=c |
CC=$ac_ct_CC |
2116 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
fi |
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
2117 |
|
|
2118 |
cat > conftest.$ac_ext << EOF |
fi |
2119 |
|
|
|
#line 1298 "configure" |
|
|
#include "confdefs.h" |
|
2120 |
|
|
2121 |
main(){return(0);} |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2122 |
EOF |
See \`config.log' for more details." >&5 |
2123 |
if { (eval echo configure:1303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2124 |
ac_cv_prog_cc_works=yes |
See \`config.log' for more details." >&2;} |
2125 |
# If we can't run a trivial program, we are probably using a cross compiler. |
{ (exit 1); exit 1; }; } |
2126 |
if (./conftest; exit) 2>/dev/null; then |
|
2127 |
ac_cv_prog_cc_cross=no |
# Provide some information about the compiler. |
2128 |
|
echo "$as_me:$LINENO:" \ |
2129 |
|
"checking for C compiler version" >&5 |
2130 |
|
ac_compiler=`set X $ac_compile; echo $2` |
2131 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2132 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2133 |
|
ac_status=$? |
2134 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2135 |
|
(exit $ac_status); } |
2136 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2137 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2138 |
|
ac_status=$? |
2139 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2140 |
|
(exit $ac_status); } |
2141 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2142 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2143 |
|
ac_status=$? |
2144 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2145 |
|
(exit $ac_status); } |
2146 |
|
|
2147 |
|
cat >conftest.$ac_ext <<_ACEOF |
2148 |
|
/* confdefs.h. */ |
2149 |
|
_ACEOF |
2150 |
|
cat confdefs.h >>conftest.$ac_ext |
2151 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2152 |
|
/* end confdefs.h. */ |
2153 |
|
|
2154 |
|
int |
2155 |
|
main () |
2156 |
|
{ |
2157 |
|
|
2158 |
|
; |
2159 |
|
return 0; |
2160 |
|
} |
2161 |
|
_ACEOF |
2162 |
|
ac_clean_files_save=$ac_clean_files |
2163 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2164 |
|
# Try to create an executable without -o first, disregard a.out. |
2165 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2166 |
|
# of exeext. |
2167 |
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2168 |
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2169 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2170 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2171 |
|
(eval $ac_link_default) 2>&5 |
2172 |
|
ac_status=$? |
2173 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2174 |
|
(exit $ac_status); }; then |
2175 |
|
# Find the output, starting from the most likely. This scheme is |
2176 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2177 |
|
# resort. |
2178 |
|
|
2179 |
|
# Be careful to initialize this variable, since it used to be cached. |
2180 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2181 |
|
ac_cv_exeext= |
2182 |
|
# b.out is created by i960 compilers. |
2183 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2184 |
|
do |
2185 |
|
test -f "$ac_file" || continue |
2186 |
|
case $ac_file in |
2187 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2188 |
|
;; |
2189 |
|
conftest.$ac_ext ) |
2190 |
|
# This is the source file. |
2191 |
|
;; |
2192 |
|
[ab].out ) |
2193 |
|
# We found the default executable, but exeext='' is most |
2194 |
|
# certainly right. |
2195 |
|
break;; |
2196 |
|
*.* ) |
2197 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2198 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2199 |
|
# but it would be cool to find out if it's true. Does anybody |
2200 |
|
# maintain Libtool? --akim. |
2201 |
|
export ac_cv_exeext |
2202 |
|
break;; |
2203 |
|
* ) |
2204 |
|
break;; |
2205 |
|
esac |
2206 |
|
done |
2207 |
|
else |
2208 |
|
echo "$as_me: failed program was:" >&5 |
2209 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2210 |
|
|
2211 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2212 |
|
See \`config.log' for more details." >&5 |
2213 |
|
echo "$as_me: error: C compiler cannot create executables |
2214 |
|
See \`config.log' for more details." >&2;} |
2215 |
|
{ (exit 77); exit 77; }; } |
2216 |
|
fi |
2217 |
|
|
2218 |
|
ac_exeext=$ac_cv_exeext |
2219 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2220 |
|
echo "${ECHO_T}$ac_file" >&6 |
2221 |
|
|
2222 |
|
# Check the compiler produces executables we can run. If not, either |
2223 |
|
# the compiler is broken, or we cross compile. |
2224 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2225 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2226 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2227 |
|
# If not cross compiling, check that we can run a simple program. |
2228 |
|
if test "$cross_compiling" != yes; then |
2229 |
|
if { ac_try='./$ac_file' |
2230 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2231 |
|
(eval $ac_try) 2>&5 |
2232 |
|
ac_status=$? |
2233 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2234 |
|
(exit $ac_status); }; }; then |
2235 |
|
cross_compiling=no |
2236 |
else |
else |
2237 |
ac_cv_prog_cc_cross=yes |
if test "$cross_compiling" = maybe; then |
2238 |
|
cross_compiling=yes |
2239 |
|
else |
2240 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2241 |
|
If you meant to cross compile, use \`--host'. |
2242 |
|
See \`config.log' for more details." >&5 |
2243 |
|
echo "$as_me: error: cannot run C compiled programs. |
2244 |
|
If you meant to cross compile, use \`--host'. |
2245 |
|
See \`config.log' for more details." >&2;} |
2246 |
|
{ (exit 1); exit 1; }; } |
2247 |
|
fi |
2248 |
fi |
fi |
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
2249 |
fi |
fi |
2250 |
rm -fr conftest* |
echo "$as_me:$LINENO: result: yes" >&5 |
2251 |
ac_ext=c |
echo "${ECHO_T}yes" >&6 |
2252 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
2253 |
ac_cpp='$CPP $CPPFLAGS' |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2254 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_clean_files=$ac_clean_files_save |
2255 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
# Check the compiler produces executables we can run. If not, either |
2256 |
cross_compiling=$ac_cv_prog_cc_cross |
# the compiler is broken, or we cross compile. |
2257 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2258 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2259 |
if test $ac_cv_prog_cc_works = no; then |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2260 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
echo "${ECHO_T}$cross_compiling" >&6 |
2261 |
fi |
|
2262 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2263 |
echo "configure:1329: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2264 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2265 |
cross_compiling=$ac_cv_prog_cc_cross |
(eval $ac_link) 2>&5 |
2266 |
|
ac_status=$? |
2267 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2268 |
echo "configure:1334: checking whether we are using GNU C" >&5 |
(exit $ac_status); }; then |
2269 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2270 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2271 |
else |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2272 |
cat > conftest.c <<EOF |
# `rm'. |
2273 |
#ifdef __GNUC__ |
for ac_file in conftest.exe conftest conftest.*; do |
2274 |
yes; |
test -f "$ac_file" || continue |
2275 |
#endif |
case $ac_file in |
2276 |
EOF |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2277 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2278 |
ac_cv_prog_gcc=yes |
export ac_cv_exeext |
2279 |
|
break;; |
2280 |
|
* ) break;; |
2281 |
|
esac |
2282 |
|
done |
2283 |
else |
else |
2284 |
ac_cv_prog_gcc=no |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2285 |
fi |
See \`config.log' for more details." >&5 |
2286 |
fi |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2287 |
|
See \`config.log' for more details." >&2;} |
2288 |
|
{ (exit 1); exit 1; }; } |
2289 |
|
fi |
2290 |
|
|
2291 |
|
rm -f conftest$ac_cv_exeext |
2292 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2293 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2294 |
|
|
2295 |
|
rm -f conftest.$ac_ext |
2296 |
|
EXEEXT=$ac_cv_exeext |
2297 |
|
ac_exeext=$EXEEXT |
2298 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2299 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2300 |
|
if test "${ac_cv_objext+set}" = set; then |
2301 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2302 |
|
else |
2303 |
|
cat >conftest.$ac_ext <<_ACEOF |
2304 |
|
/* confdefs.h. */ |
2305 |
|
_ACEOF |
2306 |
|
cat confdefs.h >>conftest.$ac_ext |
2307 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2308 |
|
/* end confdefs.h. */ |
2309 |
|
|
2310 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
int |
2311 |
|
main () |
2312 |
|
{ |
2313 |
|
|
2314 |
|
; |
2315 |
|
return 0; |
2316 |
|
} |
2317 |
|
_ACEOF |
2318 |
|
rm -f conftest.o conftest.obj |
2319 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2320 |
|
(eval $ac_compile) 2>&5 |
2321 |
|
ac_status=$? |
2322 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2323 |
|
(exit $ac_status); }; then |
2324 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2325 |
|
case $ac_file in |
2326 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2327 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2328 |
|
break;; |
2329 |
|
esac |
2330 |
|
done |
2331 |
|
else |
2332 |
|
echo "$as_me: failed program was:" >&5 |
2333 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2334 |
|
|
2335 |
if test $ac_cv_prog_gcc = yes; then |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2336 |
GCC=yes |
See \`config.log' for more details." >&5 |
2337 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2338 |
|
See \`config.log' for more details." >&2;} |
2339 |
|
{ (exit 1); exit 1; }; } |
2340 |
|
fi |
2341 |
|
|
2342 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2343 |
|
fi |
2344 |
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2345 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
2346 |
|
OBJEXT=$ac_cv_objext |
2347 |
|
ac_objext=$OBJEXT |
2348 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2349 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2350 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2351 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2352 |
else |
else |
2353 |
GCC= |
cat >conftest.$ac_ext <<_ACEOF |
2354 |
fi |
/* confdefs.h. */ |
2355 |
|
_ACEOF |
2356 |
|
cat confdefs.h >>conftest.$ac_ext |
2357 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2358 |
|
/* end confdefs.h. */ |
2359 |
|
|
2360 |
|
int |
2361 |
|
main () |
2362 |
|
{ |
2363 |
|
#ifndef __GNUC__ |
2364 |
|
choke me |
2365 |
|
#endif |
2366 |
|
|
2367 |
ac_test_CFLAGS="${CFLAGS+set}" |
; |
2368 |
ac_save_CFLAGS="$CFLAGS" |
return 0; |
2369 |
CFLAGS= |
} |
2370 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
_ACEOF |
2371 |
echo "configure:1362: checking whether ${CC-cc} accepts -g" >&5 |
rm -f conftest.$ac_objext |
2372 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2373 |
echo $ac_n "(cached) $ac_c" 1>&6 |
(eval $ac_compile) 2>conftest.er1 |
2374 |
|
ac_status=$? |
2375 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2376 |
|
rm -f conftest.er1 |
2377 |
|
cat conftest.err >&5 |
2378 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2379 |
|
(exit $ac_status); } && |
2380 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2381 |
|
|| test ! -s conftest.err' |
2382 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2383 |
|
(eval $ac_try) 2>&5 |
2384 |
|
ac_status=$? |
2385 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2386 |
|
(exit $ac_status); }; } && |
2387 |
|
{ ac_try='test -s conftest.$ac_objext' |
2388 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2389 |
|
(eval $ac_try) 2>&5 |
2390 |
|
ac_status=$? |
2391 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2392 |
|
(exit $ac_status); }; }; then |
2393 |
|
ac_compiler_gnu=yes |
2394 |
|
else |
2395 |
|
echo "$as_me: failed program was:" >&5 |
2396 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2397 |
|
|
2398 |
|
ac_compiler_gnu=no |
2399 |
|
fi |
2400 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2401 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2402 |
|
|
2403 |
|
fi |
2404 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2405 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2406 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2407 |
|
ac_test_CFLAGS=${CFLAGS+set} |
2408 |
|
ac_save_CFLAGS=$CFLAGS |
2409 |
|
CFLAGS="-g" |
2410 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2411 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2412 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
2413 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2414 |
else |
else |
2415 |
echo 'void f(){}' > conftest.c |
cat >conftest.$ac_ext <<_ACEOF |
2416 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
/* confdefs.h. */ |
2417 |
|
_ACEOF |
2418 |
|
cat confdefs.h >>conftest.$ac_ext |
2419 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2420 |
|
/* end confdefs.h. */ |
2421 |
|
|
2422 |
|
int |
2423 |
|
main () |
2424 |
|
{ |
2425 |
|
|
2426 |
|
; |
2427 |
|
return 0; |
2428 |
|
} |
2429 |
|
_ACEOF |
2430 |
|
rm -f conftest.$ac_objext |
2431 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2432 |
|
(eval $ac_compile) 2>conftest.er1 |
2433 |
|
ac_status=$? |
2434 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2435 |
|
rm -f conftest.er1 |
2436 |
|
cat conftest.err >&5 |
2437 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2438 |
|
(exit $ac_status); } && |
2439 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2440 |
|
|| test ! -s conftest.err' |
2441 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2442 |
|
(eval $ac_try) 2>&5 |
2443 |
|
ac_status=$? |
2444 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2445 |
|
(exit $ac_status); }; } && |
2446 |
|
{ ac_try='test -s conftest.$ac_objext' |
2447 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2448 |
|
(eval $ac_try) 2>&5 |
2449 |
|
ac_status=$? |
2450 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2451 |
|
(exit $ac_status); }; }; then |
2452 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
2453 |
else |
else |
2454 |
ac_cv_prog_cc_g=no |
echo "$as_me: failed program was:" >&5 |
2455 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -f conftest* |
|
2456 |
|
|
2457 |
|
ac_cv_prog_cc_g=no |
2458 |
fi |
fi |
2459 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2460 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
fi |
2461 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2462 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2463 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2464 |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS=$ac_save_CFLAGS |
2465 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2466 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
2467 |
CFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2475 |
CFLAGS= |
CFLAGS= |
2476 |
fi |
fi |
2477 |
fi |
fi |
2478 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2479 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2480 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2481 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2482 |
|
else |
2483 |
|
ac_cv_prog_cc_stdc=no |
2484 |
|
ac_save_CC=$CC |
2485 |
|
cat >conftest.$ac_ext <<_ACEOF |
2486 |
|
/* confdefs.h. */ |
2487 |
|
_ACEOF |
2488 |
|
cat confdefs.h >>conftest.$ac_ext |
2489 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2490 |
|
/* end confdefs.h. */ |
2491 |
|
#include <stdarg.h> |
2492 |
|
#include <stdio.h> |
2493 |
|
#include <sys/types.h> |
2494 |
|
#include <sys/stat.h> |
2495 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2496 |
|
struct buf { int x; }; |
2497 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2498 |
|
static char *e (p, i) |
2499 |
|
char **p; |
2500 |
|
int i; |
2501 |
|
{ |
2502 |
|
return p[i]; |
2503 |
|
} |
2504 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2505 |
|
{ |
2506 |
|
char *s; |
2507 |
|
va_list v; |
2508 |
|
va_start (v,p); |
2509 |
|
s = g (p, va_arg (v,int)); |
2510 |
|
va_end (v); |
2511 |
|
return s; |
2512 |
|
} |
2513 |
|
|
2514 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2515 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2516 |
|
These don't provoke an error unfortunately, instead are silently treated |
2517 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2518 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2519 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2520 |
|
that's true only with -std1. */ |
2521 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2522 |
|
|
2523 |
|
int test (int i, double x); |
2524 |
|
struct s1 {int (*f) (int a);}; |
2525 |
|
struct s2 {int (*f) (double a);}; |
2526 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2527 |
|
int argc; |
2528 |
|
char **argv; |
2529 |
|
int |
2530 |
|
main () |
2531 |
|
{ |
2532 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2533 |
|
; |
2534 |
|
return 0; |
2535 |
|
} |
2536 |
|
_ACEOF |
2537 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2538 |
|
# breaks some systems' header files. |
2539 |
|
# AIX -qlanglvl=ansi |
2540 |
|
# Ultrix and OSF/1 -std1 |
2541 |
|
# HP-UX 10.20 and later -Ae |
2542 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2543 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2544 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2545 |
|
do |
2546 |
|
CC="$ac_save_CC $ac_arg" |
2547 |
|
rm -f conftest.$ac_objext |
2548 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2549 |
|
(eval $ac_compile) 2>conftest.er1 |
2550 |
|
ac_status=$? |
2551 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2552 |
|
rm -f conftest.er1 |
2553 |
|
cat conftest.err >&5 |
2554 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2555 |
|
(exit $ac_status); } && |
2556 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2557 |
|
|| test ! -s conftest.err' |
2558 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2559 |
|
(eval $ac_try) 2>&5 |
2560 |
|
ac_status=$? |
2561 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2562 |
|
(exit $ac_status); }; } && |
2563 |
|
{ ac_try='test -s conftest.$ac_objext' |
2564 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2565 |
|
(eval $ac_try) 2>&5 |
2566 |
|
ac_status=$? |
2567 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2568 |
|
(exit $ac_status); }; }; then |
2569 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2570 |
|
break |
2571 |
|
else |
2572 |
|
echo "$as_me: failed program was:" >&5 |
2573 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2574 |
|
|
2575 |
if test "$asc_ansi_ok" = no ; then |
fi |
2576 |
|
rm -f conftest.err conftest.$ac_objext |
2577 |
|
done |
2578 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2579 |
|
CC=$ac_save_CC |
2580 |
|
|
2581 |
|
fi |
2582 |
|
|
2583 |
|
case "x$ac_cv_prog_cc_stdc" in |
2584 |
|
x|xno) |
2585 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2586 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2587 |
|
*) |
2588 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2589 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2590 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2591 |
|
esac |
2592 |
|
|
2593 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2594 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2595 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2596 |
|
# the declaration of exit, since it's the most demanding environment. |
2597 |
|
cat >conftest.$ac_ext <<_ACEOF |
2598 |
|
#ifndef __cplusplus |
2599 |
|
choke me |
2600 |
|
#endif |
2601 |
|
_ACEOF |
2602 |
|
rm -f conftest.$ac_objext |
2603 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2604 |
|
(eval $ac_compile) 2>conftest.er1 |
2605 |
|
ac_status=$? |
2606 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2607 |
|
rm -f conftest.er1 |
2608 |
|
cat conftest.err >&5 |
2609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2610 |
|
(exit $ac_status); } && |
2611 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2612 |
|
|| test ! -s conftest.err' |
2613 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2614 |
|
(eval $ac_try) 2>&5 |
2615 |
|
ac_status=$? |
2616 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2617 |
|
(exit $ac_status); }; } && |
2618 |
|
{ ac_try='test -s conftest.$ac_objext' |
2619 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2620 |
|
(eval $ac_try) 2>&5 |
2621 |
|
ac_status=$? |
2622 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2623 |
|
(exit $ac_status); }; }; then |
2624 |
|
for ac_declaration in \ |
2625 |
|
'' \ |
2626 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2627 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2628 |
|
'extern "C" void exit (int) throw ();' \ |
2629 |
|
'extern "C" void exit (int);' \ |
2630 |
|
'void exit (int);' |
2631 |
|
do |
2632 |
|
cat >conftest.$ac_ext <<_ACEOF |
2633 |
|
/* confdefs.h. */ |
2634 |
|
_ACEOF |
2635 |
|
cat confdefs.h >>conftest.$ac_ext |
2636 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2637 |
|
/* end confdefs.h. */ |
2638 |
|
$ac_declaration |
2639 |
|
#include <stdlib.h> |
2640 |
|
int |
2641 |
|
main () |
2642 |
|
{ |
2643 |
|
exit (42); |
2644 |
|
; |
2645 |
|
return 0; |
2646 |
|
} |
2647 |
|
_ACEOF |
2648 |
|
rm -f conftest.$ac_objext |
2649 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2650 |
|
(eval $ac_compile) 2>conftest.er1 |
2651 |
|
ac_status=$? |
2652 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2653 |
|
rm -f conftest.er1 |
2654 |
|
cat conftest.err >&5 |
2655 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2656 |
|
(exit $ac_status); } && |
2657 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2658 |
|
|| test ! -s conftest.err' |
2659 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2660 |
|
(eval $ac_try) 2>&5 |
2661 |
|
ac_status=$? |
2662 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2663 |
|
(exit $ac_status); }; } && |
2664 |
|
{ ac_try='test -s conftest.$ac_objext' |
2665 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2666 |
|
(eval $ac_try) 2>&5 |
2667 |
|
ac_status=$? |
2668 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2669 |
|
(exit $ac_status); }; }; then |
2670 |
|
: |
2671 |
|
else |
2672 |
|
echo "$as_me: failed program was:" >&5 |
2673 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2674 |
|
|
2675 |
|
continue |
2676 |
|
fi |
2677 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2678 |
|
cat >conftest.$ac_ext <<_ACEOF |
2679 |
|
/* confdefs.h. */ |
2680 |
|
_ACEOF |
2681 |
|
cat confdefs.h >>conftest.$ac_ext |
2682 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2683 |
|
/* end confdefs.h. */ |
2684 |
|
$ac_declaration |
2685 |
|
int |
2686 |
|
main () |
2687 |
|
{ |
2688 |
|
exit (42); |
2689 |
|
; |
2690 |
|
return 0; |
2691 |
|
} |
2692 |
|
_ACEOF |
2693 |
|
rm -f conftest.$ac_objext |
2694 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2695 |
|
(eval $ac_compile) 2>conftest.er1 |
2696 |
|
ac_status=$? |
2697 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2698 |
|
rm -f conftest.er1 |
2699 |
|
cat conftest.err >&5 |
2700 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2701 |
|
(exit $ac_status); } && |
2702 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2703 |
|
|| test ! -s conftest.err' |
2704 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2705 |
|
(eval $ac_try) 2>&5 |
2706 |
|
ac_status=$? |
2707 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2708 |
|
(exit $ac_status); }; } && |
2709 |
|
{ ac_try='test -s conftest.$ac_objext' |
2710 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2711 |
|
(eval $ac_try) 2>&5 |
2712 |
|
ac_status=$? |
2713 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2714 |
|
(exit $ac_status); }; }; then |
2715 |
|
break |
2716 |
|
else |
2717 |
|
echo "$as_me: failed program was:" >&5 |
2718 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2719 |
|
|
2720 |
|
fi |
2721 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2722 |
|
done |
2723 |
|
rm -f conftest* |
2724 |
|
if test -n "$ac_declaration"; then |
2725 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2726 |
|
echo $ac_declaration >>confdefs.h |
2727 |
|
echo '#endif' >>confdefs.h |
2728 |
|
fi |
2729 |
|
|
2730 |
|
else |
2731 |
|
echo "$as_me: failed program was:" >&5 |
2732 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2733 |
|
|
2734 |
|
fi |
2735 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2736 |
|
ac_ext=c |
2737 |
|
ac_cpp='$CPP $CPPFLAGS' |
2738 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2739 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2740 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2741 |
|
|
2742 |
|
|
2743 |
|
cat >conftest.$ac_ext <<_ACEOF |
2744 |
|
/* confdefs.h. */ |
2745 |
|
_ACEOF |
2746 |
|
cat confdefs.h >>conftest.$ac_ext |
2747 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2748 |
|
/* end confdefs.h. */ |
2749 |
|
|
2750 |
|
int |
2751 |
|
main () |
2752 |
|
{ |
2753 |
|
|
2754 |
|
int tstproto(int arg1, char * arg2); |
2755 |
|
int tstconst(const int arg1, const char *arg2); |
2756 |
|
int tstvoidp(const int arg1, const void *arg2); |
2757 |
|
; |
2758 |
|
return 0; |
2759 |
|
} |
2760 |
|
_ACEOF |
2761 |
|
rm -f conftest.$ac_objext |
2762 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2763 |
|
(eval $ac_compile) 2>conftest.er1 |
2764 |
|
ac_status=$? |
2765 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2766 |
|
rm -f conftest.er1 |
2767 |
|
cat conftest.err >&5 |
2768 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2769 |
|
(exit $ac_status); } && |
2770 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2771 |
|
|| test ! -s conftest.err' |
2772 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2773 |
|
(eval $ac_try) 2>&5 |
2774 |
|
ac_status=$? |
2775 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2776 |
|
(exit $ac_status); }; } && |
2777 |
|
{ ac_try='test -s conftest.$ac_objext' |
2778 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2779 |
|
(eval $ac_try) 2>&5 |
2780 |
|
ac_status=$? |
2781 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2782 |
|
(exit $ac_status); }; }; then |
2783 |
|
asc_ansi_ok=yes |
2784 |
|
else |
2785 |
|
echo "$as_me: failed program was:" >&5 |
2786 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2787 |
|
|
2788 |
|
asc_ansi_ok=no |
2789 |
|
fi |
2790 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2791 |
|
echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2792 |
|
echo "${ECHO_T}$asc_ansi_ok" >&6 |
2793 |
|
fi |
2794 |
|
|
2795 |
|
if test "$asc_ansi_ok" = no ; then |
2796 |
|
# Extract the first word of "c89", so it can be a program name with args. |
2797 |
|
set dummy c89; ac_word=$2 |
2798 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2799 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2800 |
|
if test "${ac_cv_prog_asc_cc1+set}" = set; then |
2801 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2802 |
|
else |
2803 |
|
if test -n "$asc_cc1"; then |
2804 |
|
ac_cv_prog_asc_cc1="$asc_cc1" # Let the user override the test. |
2805 |
|
else |
2806 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2807 |
|
for as_dir in $PATH |
2808 |
|
do |
2809 |
|
IFS=$as_save_IFS |
2810 |
|
test -z "$as_dir" && as_dir=. |
2811 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2812 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2813 |
|
ac_cv_prog_asc_cc1="c89" |
2814 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2815 |
|
break 2 |
2816 |
|
fi |
2817 |
|
done |
2818 |
|
done |
2819 |
|
|
2820 |
|
test -z "$ac_cv_prog_asc_cc1" && ac_cv_prog_asc_cc1="NONE" |
2821 |
|
fi |
2822 |
|
fi |
2823 |
|
asc_cc1=$ac_cv_prog_asc_cc1 |
2824 |
|
if test -n "$asc_cc1"; then |
2825 |
|
echo "$as_me:$LINENO: result: $asc_cc1" >&5 |
2826 |
|
echo "${ECHO_T}$asc_cc1" >&6 |
2827 |
|
else |
2828 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2829 |
|
echo "${ECHO_T}no" >&6 |
2830 |
|
fi |
2831 |
|
|
2832 |
|
if test ! "$asc_cc1" = NONE ; then |
2833 |
|
CC=$asc_cc1 |
2834 |
|
echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
2835 |
|
echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 |
2836 |
|
cat >conftest.$ac_ext <<_ACEOF |
2837 |
|
/* confdefs.h. */ |
2838 |
|
_ACEOF |
2839 |
|
cat confdefs.h >>conftest.$ac_ext |
2840 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2841 |
|
/* end confdefs.h. */ |
2842 |
|
|
2843 |
|
int |
2844 |
|
main () |
2845 |
|
{ |
2846 |
|
|
2847 |
|
int tstproto(int arg1, char * arg2); |
2848 |
|
int tstconst(const int arg1, const char *arg2); |
2849 |
|
int tstvoidp(const int arg1, const void *arg2); |
2850 |
|
; |
2851 |
|
return 0; |
2852 |
|
} |
2853 |
|
_ACEOF |
2854 |
|
rm -f conftest.$ac_objext |
2855 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2856 |
|
(eval $ac_compile) 2>conftest.er1 |
2857 |
|
ac_status=$? |
2858 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2859 |
|
rm -f conftest.er1 |
2860 |
|
cat conftest.err >&5 |
2861 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2862 |
|
(exit $ac_status); } && |
2863 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2864 |
|
|| test ! -s conftest.err' |
2865 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2866 |
|
(eval $ac_try) 2>&5 |
2867 |
|
ac_status=$? |
2868 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2869 |
|
(exit $ac_status); }; } && |
2870 |
|
{ ac_try='test -s conftest.$ac_objext' |
2871 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2872 |
|
(eval $ac_try) 2>&5 |
2873 |
|
ac_status=$? |
2874 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2875 |
|
(exit $ac_status); }; }; then |
2876 |
|
asc_ansi_ok=yes |
2877 |
|
else |
2878 |
|
echo "$as_me: failed program was:" >&5 |
2879 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2880 |
|
|
2881 |
|
asc_ansi_ok=no |
2882 |
|
fi |
2883 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2884 |
|
echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2885 |
|
echo "${ECHO_T}$asc_ansi_ok" >&6 |
2886 |
|
fi |
2887 |
|
fi |
2888 |
|
|
2889 |
|
if test "$asc_ansi_ok" = no ; then |
2890 |
|
# Extract the first word of "xlc", so it can be a program name with args. |
2891 |
|
set dummy xlc; ac_word=$2 |
2892 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2893 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2894 |
|
if test "${ac_cv_prog_asc_cc2+set}" = set; then |
2895 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2896 |
|
else |
2897 |
|
if test -n "$asc_cc2"; then |
2898 |
|
ac_cv_prog_asc_cc2="$asc_cc2" # Let the user override the test. |
2899 |
|
else |
2900 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2901 |
|
for as_dir in $PATH |
2902 |
|
do |
2903 |
|
IFS=$as_save_IFS |
2904 |
|
test -z "$as_dir" && as_dir=. |
2905 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2906 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2907 |
|
ac_cv_prog_asc_cc2="xlc" |
2908 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2909 |
|
break 2 |
2910 |
|
fi |
2911 |
|
done |
2912 |
|
done |
2913 |
|
|
2914 |
|
test -z "$ac_cv_prog_asc_cc2" && ac_cv_prog_asc_cc2="NONE" |
2915 |
|
fi |
2916 |
|
fi |
2917 |
|
asc_cc2=$ac_cv_prog_asc_cc2 |
2918 |
|
if test -n "$asc_cc2"; then |
2919 |
|
echo "$as_me:$LINENO: result: $asc_cc2" >&5 |
2920 |
|
echo "${ECHO_T}$asc_cc2" >&6 |
2921 |
|
else |
2922 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2923 |
|
echo "${ECHO_T}no" >&6 |
2924 |
|
fi |
2925 |
|
|
2926 |
|
if test ! "$asc_cc2" = NONE ; then |
2927 |
|
CC=$asc_cc2 |
2928 |
|
echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
2929 |
|
echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 |
2930 |
|
cat >conftest.$ac_ext <<_ACEOF |
2931 |
|
/* confdefs.h. */ |
2932 |
|
_ACEOF |
2933 |
|
cat confdefs.h >>conftest.$ac_ext |
2934 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2935 |
|
/* end confdefs.h. */ |
2936 |
|
|
2937 |
|
int |
2938 |
|
main () |
2939 |
|
{ |
2940 |
|
|
2941 |
|
int tstproto(int arg1, char * arg2); |
2942 |
|
int tstconst(const int arg1, const char *arg2); |
2943 |
|
int tstvoidp(const int arg1, const void *arg2); |
2944 |
|
; |
2945 |
|
return 0; |
2946 |
|
} |
2947 |
|
_ACEOF |
2948 |
|
rm -f conftest.$ac_objext |
2949 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2950 |
|
(eval $ac_compile) 2>conftest.er1 |
2951 |
|
ac_status=$? |
2952 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2953 |
|
rm -f conftest.er1 |
2954 |
|
cat conftest.err >&5 |
2955 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2956 |
|
(exit $ac_status); } && |
2957 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2958 |
|
|| test ! -s conftest.err' |
2959 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2960 |
|
(eval $ac_try) 2>&5 |
2961 |
|
ac_status=$? |
2962 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2963 |
|
(exit $ac_status); }; } && |
2964 |
|
{ ac_try='test -s conftest.$ac_objext' |
2965 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2966 |
|
(eval $ac_try) 2>&5 |
2967 |
|
ac_status=$? |
2968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2969 |
|
(exit $ac_status); }; }; then |
2970 |
|
asc_ansi_ok=yes |
2971 |
|
else |
2972 |
|
echo "$as_me: failed program was:" >&5 |
2973 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2974 |
|
|
2975 |
|
asc_ansi_ok=no |
2976 |
|
fi |
2977 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2978 |
|
echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2979 |
|
echo "${ECHO_T}$asc_ansi_ok" >&6 |
2980 |
|
fi |
2981 |
|
fi |
2982 |
|
|
2983 |
|
if test "$asc_ansi_ok" = no ; then |
2984 |
|
# Extract the first word of "acc", so it can be a program name with args. |
2985 |
|
set dummy acc; ac_word=$2 |
2986 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2987 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2988 |
|
if test "${ac_cv_prog_asc_cc3+set}" = set; then |
2989 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2990 |
|
else |
2991 |
|
if test -n "$asc_cc3"; then |
2992 |
|
ac_cv_prog_asc_cc3="$asc_cc3" # Let the user override the test. |
2993 |
|
else |
2994 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2995 |
|
for as_dir in $PATH |
2996 |
|
do |
2997 |
|
IFS=$as_save_IFS |
2998 |
|
test -z "$as_dir" && as_dir=. |
2999 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3000 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3001 |
|
ac_cv_prog_asc_cc3="acc" |
3002 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3003 |
|
break 2 |
3004 |
|
fi |
3005 |
|
done |
3006 |
|
done |
3007 |
|
|
3008 |
|
test -z "$ac_cv_prog_asc_cc3" && ac_cv_prog_asc_cc3="NONE" |
3009 |
|
fi |
3010 |
|
fi |
3011 |
|
asc_cc3=$ac_cv_prog_asc_cc3 |
3012 |
|
if test -n "$asc_cc3"; then |
3013 |
|
echo "$as_me:$LINENO: result: $asc_cc3" >&5 |
3014 |
|
echo "${ECHO_T}$asc_cc3" >&6 |
3015 |
|
else |
3016 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3017 |
|
echo "${ECHO_T}no" >&6 |
3018 |
|
fi |
3019 |
|
|
3020 |
|
if test ! "$asc_cc3" = NONE ; then |
3021 |
|
CC=$asc_cc3 |
3022 |
|
echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
3023 |
|
echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 |
3024 |
|
cat >conftest.$ac_ext <<_ACEOF |
3025 |
|
/* confdefs.h. */ |
3026 |
|
_ACEOF |
3027 |
|
cat confdefs.h >>conftest.$ac_ext |
3028 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3029 |
|
/* end confdefs.h. */ |
3030 |
|
|
3031 |
|
int |
3032 |
|
main () |
3033 |
|
{ |
3034 |
|
|
3035 |
|
int tstproto(int arg1, char * arg2); |
3036 |
|
int tstconst(const int arg1, const char *arg2); |
3037 |
|
int tstvoidp(const int arg1, const void *arg2); |
3038 |
|
; |
3039 |
|
return 0; |
3040 |
|
} |
3041 |
|
_ACEOF |
3042 |
|
rm -f conftest.$ac_objext |
3043 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3044 |
|
(eval $ac_compile) 2>conftest.er1 |
3045 |
|
ac_status=$? |
3046 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3047 |
|
rm -f conftest.er1 |
3048 |
|
cat conftest.err >&5 |
3049 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3050 |
|
(exit $ac_status); } && |
3051 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3052 |
|
|| test ! -s conftest.err' |
3053 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3054 |
|
(eval $ac_try) 2>&5 |
3055 |
|
ac_status=$? |
3056 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3057 |
|
(exit $ac_status); }; } && |
3058 |
|
{ ac_try='test -s conftest.$ac_objext' |
3059 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3060 |
|
(eval $ac_try) 2>&5 |
3061 |
|
ac_status=$? |
3062 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3063 |
|
(exit $ac_status); }; }; then |
3064 |
|
asc_ansi_ok=yes |
3065 |
|
else |
3066 |
|
echo "$as_me: failed program was:" >&5 |
3067 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3068 |
|
|
3069 |
|
asc_ansi_ok=no |
3070 |
|
fi |
3071 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3072 |
|
echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
3073 |
|
echo "${ECHO_T}$asc_ansi_ok" >&6 |
3074 |
|
fi |
3075 |
|
fi |
3076 |
|
|
3077 |
|
ac_ext=c |
3078 |
|
ac_cpp='$CPP $CPPFLAGS' |
3079 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3080 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3081 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3082 |
|
if test -n "$ac_tool_prefix"; then |
3083 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3084 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3085 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3086 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3087 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
3088 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3089 |
|
else |
3090 |
|
if test -n "$CC"; then |
3091 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
3092 |
|
else |
3093 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3094 |
|
for as_dir in $PATH |
3095 |
|
do |
3096 |
|
IFS=$as_save_IFS |
3097 |
|
test -z "$as_dir" && as_dir=. |
3098 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3099 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3100 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3101 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3102 |
|
break 2 |
3103 |
|
fi |
3104 |
|
done |
3105 |
|
done |
3106 |
|
|
3107 |
|
fi |
3108 |
|
fi |
3109 |
|
CC=$ac_cv_prog_CC |
3110 |
|
if test -n "$CC"; then |
3111 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
3112 |
|
echo "${ECHO_T}$CC" >&6 |
3113 |
|
else |
3114 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3115 |
|
echo "${ECHO_T}no" >&6 |
3116 |
|
fi |
3117 |
|
|
3118 |
|
fi |
3119 |
|
if test -z "$ac_cv_prog_CC"; then |
3120 |
|
ac_ct_CC=$CC |
3121 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
3122 |
|
set dummy gcc; ac_word=$2 |
3123 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3124 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3125 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3126 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3127 |
|
else |
3128 |
|
if test -n "$ac_ct_CC"; then |
3129 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3130 |
|
else |
3131 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3132 |
|
for as_dir in $PATH |
3133 |
|
do |
3134 |
|
IFS=$as_save_IFS |
3135 |
|
test -z "$as_dir" && as_dir=. |
3136 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3137 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3138 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3139 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3140 |
|
break 2 |
3141 |
|
fi |
3142 |
|
done |
3143 |
|
done |
3144 |
|
|
3145 |
|
fi |
3146 |
|
fi |
3147 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3148 |
|
if test -n "$ac_ct_CC"; then |
3149 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3150 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
3151 |
|
else |
3152 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3153 |
|
echo "${ECHO_T}no" >&6 |
3154 |
|
fi |
3155 |
|
|
3156 |
|
CC=$ac_ct_CC |
3157 |
|
else |
3158 |
|
CC="$ac_cv_prog_CC" |
3159 |
|
fi |
3160 |
|
|
3161 |
|
if test -z "$CC"; then |
3162 |
|
if test -n "$ac_tool_prefix"; then |
3163 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3164 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3165 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3166 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3167 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
3168 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3169 |
|
else |
3170 |
|
if test -n "$CC"; then |
3171 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
3172 |
|
else |
3173 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3174 |
|
for as_dir in $PATH |
3175 |
|
do |
3176 |
|
IFS=$as_save_IFS |
3177 |
|
test -z "$as_dir" && as_dir=. |
3178 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3179 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3180 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3181 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3182 |
|
break 2 |
3183 |
|
fi |
3184 |
|
done |
3185 |
|
done |
3186 |
|
|
3187 |
|
fi |
3188 |
|
fi |
3189 |
|
CC=$ac_cv_prog_CC |
3190 |
|
if test -n "$CC"; then |
3191 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
3192 |
|
echo "${ECHO_T}$CC" >&6 |
3193 |
|
else |
3194 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3195 |
|
echo "${ECHO_T}no" >&6 |
3196 |
|
fi |
3197 |
|
|
3198 |
|
fi |
3199 |
|
if test -z "$ac_cv_prog_CC"; then |
3200 |
|
ac_ct_CC=$CC |
3201 |
|
# Extract the first word of "cc", so it can be a program name with args. |
3202 |
|
set dummy cc; ac_word=$2 |
3203 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3204 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3205 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3206 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3207 |
|
else |
3208 |
|
if test -n "$ac_ct_CC"; then |
3209 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3210 |
|
else |
3211 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3212 |
|
for as_dir in $PATH |
3213 |
|
do |
3214 |
|
IFS=$as_save_IFS |
3215 |
|
test -z "$as_dir" && as_dir=. |
3216 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3217 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3218 |
|
ac_cv_prog_ac_ct_CC="cc" |
3219 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3220 |
|
break 2 |
3221 |
|
fi |
3222 |
|
done |
3223 |
|
done |
3224 |
|
|
3225 |
|
fi |
3226 |
|
fi |
3227 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3228 |
|
if test -n "$ac_ct_CC"; then |
3229 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3230 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
3231 |
|
else |
3232 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3233 |
|
echo "${ECHO_T}no" >&6 |
3234 |
|
fi |
3235 |
|
|
3236 |
|
CC=$ac_ct_CC |
3237 |
|
else |
3238 |
|
CC="$ac_cv_prog_CC" |
3239 |
|
fi |
3240 |
|
|
3241 |
|
fi |
3242 |
|
if test -z "$CC"; then |
3243 |
|
# Extract the first word of "cc", so it can be a program name with args. |
3244 |
|
set dummy cc; ac_word=$2 |
3245 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3246 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3247 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
3248 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3249 |
|
else |
3250 |
|
if test -n "$CC"; then |
3251 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
3252 |
|
else |
3253 |
|
ac_prog_rejected=no |
3254 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3255 |
|
for as_dir in $PATH |
3256 |
|
do |
3257 |
|
IFS=$as_save_IFS |
3258 |
|
test -z "$as_dir" && as_dir=. |
3259 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3260 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3261 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3262 |
|
ac_prog_rejected=yes |
3263 |
|
continue |
3264 |
|
fi |
3265 |
|
ac_cv_prog_CC="cc" |
3266 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3267 |
|
break 2 |
3268 |
|
fi |
3269 |
|
done |
3270 |
|
done |
3271 |
|
|
3272 |
|
if test $ac_prog_rejected = yes; then |
3273 |
|
# We found a bogon in the path, so make sure we never use it. |
3274 |
|
set dummy $ac_cv_prog_CC |
3275 |
|
shift |
3276 |
|
if test $# != 0; then |
3277 |
|
# We chose a different compiler from the bogus one. |
3278 |
|
# However, it has the same basename, so the bogon will be chosen |
3279 |
|
# first if we set CC to just the basename; use the full file name. |
3280 |
|
shift |
3281 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3282 |
|
fi |
3283 |
|
fi |
3284 |
|
fi |
3285 |
|
fi |
3286 |
|
CC=$ac_cv_prog_CC |
3287 |
|
if test -n "$CC"; then |
3288 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
3289 |
|
echo "${ECHO_T}$CC" >&6 |
3290 |
|
else |
3291 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3292 |
|
echo "${ECHO_T}no" >&6 |
3293 |
|
fi |
3294 |
|
|
3295 |
|
fi |
3296 |
|
if test -z "$CC"; then |
3297 |
|
if test -n "$ac_tool_prefix"; then |
3298 |
|
for ac_prog in cl |
3299 |
|
do |
3300 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3301 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3302 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3303 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3304 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
3305 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3306 |
|
else |
3307 |
|
if test -n "$CC"; then |
3308 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
3309 |
|
else |
3310 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3311 |
|
for as_dir in $PATH |
3312 |
|
do |
3313 |
|
IFS=$as_save_IFS |
3314 |
|
test -z "$as_dir" && as_dir=. |
3315 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3316 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3317 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3318 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3319 |
|
break 2 |
3320 |
|
fi |
3321 |
|
done |
3322 |
|
done |
3323 |
|
|
3324 |
|
fi |
3325 |
|
fi |
3326 |
|
CC=$ac_cv_prog_CC |
3327 |
|
if test -n "$CC"; then |
3328 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
3329 |
|
echo "${ECHO_T}$CC" >&6 |
3330 |
|
else |
3331 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3332 |
|
echo "${ECHO_T}no" >&6 |
3333 |
|
fi |
3334 |
|
|
3335 |
|
test -n "$CC" && break |
3336 |
|
done |
3337 |
|
fi |
3338 |
|
if test -z "$CC"; then |
3339 |
|
ac_ct_CC=$CC |
3340 |
|
for ac_prog in cl |
3341 |
|
do |
3342 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3343 |
|
set dummy $ac_prog; ac_word=$2 |
3344 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3345 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3346 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3347 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3348 |
|
else |
3349 |
|
if test -n "$ac_ct_CC"; then |
3350 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3351 |
|
else |
3352 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3353 |
|
for as_dir in $PATH |
3354 |
|
do |
3355 |
|
IFS=$as_save_IFS |
3356 |
|
test -z "$as_dir" && as_dir=. |
3357 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3358 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3359 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3360 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3361 |
|
break 2 |
3362 |
|
fi |
3363 |
|
done |
3364 |
|
done |
3365 |
|
|
3366 |
|
fi |
3367 |
|
fi |
3368 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3369 |
|
if test -n "$ac_ct_CC"; then |
3370 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3371 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
3372 |
|
else |
3373 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3374 |
|
echo "${ECHO_T}no" >&6 |
3375 |
|
fi |
3376 |
|
|
3377 |
|
test -n "$ac_ct_CC" && break |
3378 |
|
done |
3379 |
|
|
3380 |
|
CC=$ac_ct_CC |
3381 |
|
fi |
3382 |
|
|
3383 |
|
fi |
3384 |
|
|
3385 |
|
|
3386 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3387 |
|
See \`config.log' for more details." >&5 |
3388 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
3389 |
|
See \`config.log' for more details." >&2;} |
3390 |
|
{ (exit 1); exit 1; }; } |
3391 |
|
|
3392 |
|
# Provide some information about the compiler. |
3393 |
|
echo "$as_me:$LINENO:" \ |
3394 |
|
"checking for C compiler version" >&5 |
3395 |
|
ac_compiler=`set X $ac_compile; echo $2` |
3396 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3397 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
3398 |
|
ac_status=$? |
3399 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3400 |
|
(exit $ac_status); } |
3401 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
3402 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
3403 |
|
ac_status=$? |
3404 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3405 |
|
(exit $ac_status); } |
3406 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
3407 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
3408 |
|
ac_status=$? |
3409 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3410 |
|
(exit $ac_status); } |
3411 |
|
|
3412 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3413 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
3414 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3415 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3416 |
|
else |
3417 |
|
cat >conftest.$ac_ext <<_ACEOF |
3418 |
|
/* confdefs.h. */ |
3419 |
|
_ACEOF |
3420 |
|
cat confdefs.h >>conftest.$ac_ext |
3421 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3422 |
|
/* end confdefs.h. */ |
3423 |
|
|
3424 |
|
int |
3425 |
|
main () |
3426 |
|
{ |
3427 |
|
#ifndef __GNUC__ |
3428 |
|
choke me |
3429 |
|
#endif |
3430 |
|
|
3431 |
|
; |
3432 |
|
return 0; |
3433 |
|
} |
3434 |
|
_ACEOF |
3435 |
|
rm -f conftest.$ac_objext |
3436 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3437 |
|
(eval $ac_compile) 2>conftest.er1 |
3438 |
|
ac_status=$? |
3439 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3440 |
|
rm -f conftest.er1 |
3441 |
|
cat conftest.err >&5 |
3442 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3443 |
|
(exit $ac_status); } && |
3444 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3445 |
|
|| test ! -s conftest.err' |
3446 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3447 |
|
(eval $ac_try) 2>&5 |
3448 |
|
ac_status=$? |
3449 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3450 |
|
(exit $ac_status); }; } && |
3451 |
|
{ ac_try='test -s conftest.$ac_objext' |
3452 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3453 |
|
(eval $ac_try) 2>&5 |
3454 |
|
ac_status=$? |
3455 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3456 |
|
(exit $ac_status); }; }; then |
3457 |
|
ac_compiler_gnu=yes |
3458 |
|
else |
3459 |
|
echo "$as_me: failed program was:" >&5 |
3460 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3461 |
|
|
3462 |
|
ac_compiler_gnu=no |
3463 |
|
fi |
3464 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3465 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3466 |
|
|
3467 |
|
fi |
3468 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3469 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
3470 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
3471 |
|
ac_test_CFLAGS=${CFLAGS+set} |
3472 |
|
ac_save_CFLAGS=$CFLAGS |
3473 |
|
CFLAGS="-g" |
3474 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3475 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
3476 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
3477 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3478 |
|
else |
3479 |
|
cat >conftest.$ac_ext <<_ACEOF |
3480 |
|
/* confdefs.h. */ |
3481 |
|
_ACEOF |
3482 |
|
cat confdefs.h >>conftest.$ac_ext |
3483 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3484 |
|
/* end confdefs.h. */ |
3485 |
|
|
3486 |
|
int |
3487 |
|
main () |
3488 |
|
{ |
3489 |
|
|
3490 |
|
; |
3491 |
|
return 0; |
3492 |
|
} |
3493 |
|
_ACEOF |
3494 |
|
rm -f conftest.$ac_objext |
3495 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3496 |
|
(eval $ac_compile) 2>conftest.er1 |
3497 |
|
ac_status=$? |
3498 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3499 |
|
rm -f conftest.er1 |
3500 |
|
cat conftest.err >&5 |
3501 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3502 |
|
(exit $ac_status); } && |
3503 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3504 |
|
|| test ! -s conftest.err' |
3505 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3506 |
|
(eval $ac_try) 2>&5 |
3507 |
|
ac_status=$? |
3508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3509 |
|
(exit $ac_status); }; } && |
3510 |
|
{ ac_try='test -s conftest.$ac_objext' |
3511 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3512 |
|
(eval $ac_try) 2>&5 |
3513 |
|
ac_status=$? |
3514 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3515 |
|
(exit $ac_status); }; }; then |
3516 |
|
ac_cv_prog_cc_g=yes |
3517 |
|
else |
3518 |
|
echo "$as_me: failed program was:" >&5 |
3519 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3520 |
|
|
3521 |
|
ac_cv_prog_cc_g=no |
3522 |
|
fi |
3523 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3524 |
|
fi |
3525 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3526 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3527 |
|
if test "$ac_test_CFLAGS" = set; then |
3528 |
|
CFLAGS=$ac_save_CFLAGS |
3529 |
|
elif test $ac_cv_prog_cc_g = yes; then |
3530 |
|
if test "$GCC" = yes; then |
3531 |
|
CFLAGS="-g -O2" |
3532 |
|
else |
3533 |
|
CFLAGS="-g" |
3534 |
|
fi |
3535 |
|
else |
3536 |
|
if test "$GCC" = yes; then |
3537 |
|
CFLAGS="-O2" |
3538 |
|
else |
3539 |
|
CFLAGS= |
3540 |
|
fi |
3541 |
|
fi |
3542 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
3543 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
3544 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
3545 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3546 |
|
else |
3547 |
|
ac_cv_prog_cc_stdc=no |
3548 |
|
ac_save_CC=$CC |
3549 |
|
cat >conftest.$ac_ext <<_ACEOF |
3550 |
|
/* confdefs.h. */ |
3551 |
|
_ACEOF |
3552 |
|
cat confdefs.h >>conftest.$ac_ext |
3553 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3554 |
|
/* end confdefs.h. */ |
3555 |
|
#include <stdarg.h> |
3556 |
|
#include <stdio.h> |
3557 |
|
#include <sys/types.h> |
3558 |
|
#include <sys/stat.h> |
3559 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3560 |
|
struct buf { int x; }; |
3561 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3562 |
|
static char *e (p, i) |
3563 |
|
char **p; |
3564 |
|
int i; |
3565 |
|
{ |
3566 |
|
return p[i]; |
3567 |
|
} |
3568 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
3569 |
|
{ |
3570 |
|
char *s; |
3571 |
|
va_list v; |
3572 |
|
va_start (v,p); |
3573 |
|
s = g (p, va_arg (v,int)); |
3574 |
|
va_end (v); |
3575 |
|
return s; |
3576 |
|
} |
3577 |
|
|
3578 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3579 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
3580 |
|
These don't provoke an error unfortunately, instead are silently treated |
3581 |
|
as 'x'. The following induces an error, until -std1 is added to get |
3582 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3583 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
3584 |
|
that's true only with -std1. */ |
3585 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3586 |
|
|
3587 |
|
int test (int i, double x); |
3588 |
|
struct s1 {int (*f) (int a);}; |
3589 |
|
struct s2 {int (*f) (double a);}; |
3590 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3591 |
|
int argc; |
3592 |
|
char **argv; |
3593 |
|
int |
3594 |
|
main () |
3595 |
|
{ |
3596 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3597 |
|
; |
3598 |
|
return 0; |
3599 |
|
} |
3600 |
|
_ACEOF |
3601 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
3602 |
|
# breaks some systems' header files. |
3603 |
|
# AIX -qlanglvl=ansi |
3604 |
|
# Ultrix and OSF/1 -std1 |
3605 |
|
# HP-UX 10.20 and later -Ae |
3606 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
3607 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
3608 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3609 |
|
do |
3610 |
|
CC="$ac_save_CC $ac_arg" |
3611 |
|
rm -f conftest.$ac_objext |
3612 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3613 |
|
(eval $ac_compile) 2>conftest.er1 |
3614 |
|
ac_status=$? |
3615 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3616 |
|
rm -f conftest.er1 |
3617 |
|
cat conftest.err >&5 |
3618 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3619 |
|
(exit $ac_status); } && |
3620 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3621 |
|
|| test ! -s conftest.err' |
3622 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3623 |
|
(eval $ac_try) 2>&5 |
3624 |
|
ac_status=$? |
3625 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3626 |
|
(exit $ac_status); }; } && |
3627 |
|
{ ac_try='test -s conftest.$ac_objext' |
3628 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3629 |
|
(eval $ac_try) 2>&5 |
3630 |
|
ac_status=$? |
3631 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3632 |
|
(exit $ac_status); }; }; then |
3633 |
|
ac_cv_prog_cc_stdc=$ac_arg |
3634 |
|
break |
3635 |
|
else |
3636 |
|
echo "$as_me: failed program was:" >&5 |
3637 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3638 |
|
|
3639 |
|
fi |
3640 |
|
rm -f conftest.err conftest.$ac_objext |
3641 |
|
done |
3642 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
3643 |
|
CC=$ac_save_CC |
3644 |
|
|
3645 |
|
fi |
3646 |
|
|
3647 |
|
case "x$ac_cv_prog_cc_stdc" in |
3648 |
|
x|xno) |
3649 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
3650 |
|
echo "${ECHO_T}none needed" >&6 ;; |
3651 |
|
*) |
3652 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
3653 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
3654 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
3655 |
|
esac |
3656 |
|
|
3657 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
3658 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
3659 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
3660 |
|
# the declaration of exit, since it's the most demanding environment. |
3661 |
|
cat >conftest.$ac_ext <<_ACEOF |
3662 |
|
#ifndef __cplusplus |
3663 |
|
choke me |
3664 |
|
#endif |
3665 |
|
_ACEOF |
3666 |
|
rm -f conftest.$ac_objext |
3667 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3668 |
|
(eval $ac_compile) 2>conftest.er1 |
3669 |
|
ac_status=$? |
3670 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3671 |
|
rm -f conftest.er1 |
3672 |
|
cat conftest.err >&5 |
3673 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3674 |
|
(exit $ac_status); } && |
3675 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3676 |
|
|| test ! -s conftest.err' |
3677 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3678 |
|
(eval $ac_try) 2>&5 |
3679 |
|
ac_status=$? |
3680 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3681 |
|
(exit $ac_status); }; } && |
3682 |
|
{ ac_try='test -s conftest.$ac_objext' |
3683 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3684 |
|
(eval $ac_try) 2>&5 |
3685 |
|
ac_status=$? |
3686 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3687 |
|
(exit $ac_status); }; }; then |
3688 |
|
for ac_declaration in \ |
3689 |
|
'' \ |
3690 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3691 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
3692 |
|
'extern "C" void exit (int) throw ();' \ |
3693 |
|
'extern "C" void exit (int);' \ |
3694 |
|
'void exit (int);' |
3695 |
|
do |
3696 |
|
cat >conftest.$ac_ext <<_ACEOF |
3697 |
|
/* confdefs.h. */ |
3698 |
|
_ACEOF |
3699 |
|
cat confdefs.h >>conftest.$ac_ext |
3700 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3701 |
|
/* end confdefs.h. */ |
3702 |
|
$ac_declaration |
3703 |
|
#include <stdlib.h> |
3704 |
|
int |
3705 |
|
main () |
3706 |
|
{ |
3707 |
|
exit (42); |
3708 |
|
; |
3709 |
|
return 0; |
3710 |
|
} |
3711 |
|
_ACEOF |
3712 |
|
rm -f conftest.$ac_objext |
3713 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3714 |
|
(eval $ac_compile) 2>conftest.er1 |
3715 |
|
ac_status=$? |
3716 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3717 |
|
rm -f conftest.er1 |
3718 |
|
cat conftest.err >&5 |
3719 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3720 |
|
(exit $ac_status); } && |
3721 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3722 |
|
|| test ! -s conftest.err' |
3723 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3724 |
|
(eval $ac_try) 2>&5 |
3725 |
|
ac_status=$? |
3726 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3727 |
|
(exit $ac_status); }; } && |
3728 |
|
{ ac_try='test -s conftest.$ac_objext' |
3729 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3730 |
|
(eval $ac_try) 2>&5 |
3731 |
|
ac_status=$? |
3732 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3733 |
|
(exit $ac_status); }; }; then |
3734 |
|
: |
3735 |
|
else |
3736 |
|
echo "$as_me: failed program was:" >&5 |
3737 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3738 |
|
|
3739 |
|
continue |
3740 |
|
fi |
3741 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3742 |
|
cat >conftest.$ac_ext <<_ACEOF |
3743 |
|
/* confdefs.h. */ |
3744 |
|
_ACEOF |
3745 |
|
cat confdefs.h >>conftest.$ac_ext |
3746 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3747 |
|
/* end confdefs.h. */ |
3748 |
|
$ac_declaration |
3749 |
|
int |
3750 |
|
main () |
3751 |
|
{ |
3752 |
|
exit (42); |
3753 |
|
; |
3754 |
|
return 0; |
3755 |
|
} |
3756 |
|
_ACEOF |
3757 |
|
rm -f conftest.$ac_objext |
3758 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3759 |
|
(eval $ac_compile) 2>conftest.er1 |
3760 |
|
ac_status=$? |
3761 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3762 |
|
rm -f conftest.er1 |
3763 |
|
cat conftest.err >&5 |
3764 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3765 |
|
(exit $ac_status); } && |
3766 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
3767 |
|
|| test ! -s conftest.err' |
3768 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3769 |
|
(eval $ac_try) 2>&5 |
3770 |
|
ac_status=$? |
3771 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3772 |
|
(exit $ac_status); }; } && |
3773 |
|
{ ac_try='test -s conftest.$ac_objext' |
3774 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3775 |
|
(eval $ac_try) 2>&5 |
3776 |
|
ac_status=$? |
3777 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3778 |
|
(exit $ac_status); }; }; then |
3779 |
|
break |
3780 |
|
else |
3781 |
|
echo "$as_me: failed program was:" >&5 |
3782 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3783 |
|
|
3784 |
|
fi |
3785 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3786 |
|
done |
3787 |
|
rm -f conftest* |
3788 |
|
if test -n "$ac_declaration"; then |
3789 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
3790 |
|
echo $ac_declaration >>confdefs.h |
3791 |
|
echo '#endif' >>confdefs.h |
3792 |
|
fi |
3793 |
|
|
3794 |
|
else |
3795 |
|
echo "$as_me: failed program was:" >&5 |
3796 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3797 |
|
|
3798 |
|
fi |
3799 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3800 |
|
ac_ext=c |
3801 |
|
ac_cpp='$CPP $CPPFLAGS' |
3802 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3803 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3804 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3805 |
|
|
3806 |
|
|
3807 |
|
if test "$asc_ansi_ok" = no ; then |
3808 |
CC=$asc_orig_cc |
CC=$asc_orig_cc |
3809 |
{ echo "configure: error: Cannot find an ANSI C compiler. ASCEND will not build |
{ { echo "$as_me:$LINENO: error: Cannot find an ANSI C compiler. ASCEND will not build |
3810 |
|
without an ANSI compiler. If you have an ANSI compiler which |
3811 |
|
configure is not finding, set the CC environment variable to |
3812 |
|
the full path fo the compiler and rerun configure." >&5 |
3813 |
|
echo "$as_me: error: Cannot find an ANSI C compiler. ASCEND will not build |
3814 |
without an ANSI compiler. If you have an ANSI compiler which |
without an ANSI compiler. If you have an ANSI compiler which |
3815 |
configure is not finding, set the CC environment variable to |
configure is not finding, set the CC environment variable to |
3816 |
the full path fo the compiler and rerun configure." 1>&2; exit 1; } |
the full path fo the compiler and rerun configure." >&2;} |
3817 |
|
{ (exit 1); exit 1; }; } |
3818 |
fi |
fi |
3819 |
|
|
3820 |
|
|
3836 |
# to CFLAGS unless the C preprocessor goes it for us. |
# to CFLAGS unless the C preprocessor goes it for us. |
3837 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3838 |
|
|
3839 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
ac_ext=c |
3840 |
echo "configure:1422: checking how to run the C preprocessor" >&5 |
ac_cpp='$CPP $CPPFLAGS' |
3841 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3842 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3843 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3844 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3845 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3846 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
3847 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
3848 |
CPP= |
CPP= |
3849 |
fi |
fi |
3850 |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
3851 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
3852 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3853 |
else |
else |
3854 |
# This must be in double quotes, not single quotes, because CPP may get |
# Double quotes because CPP needs to be expanded |
3855 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3856 |
CPP="${CC-cc} -E" |
do |
3857 |
|
ac_preproc_ok=false |
3858 |
|
for ac_c_preproc_warn_flag in '' yes |
3859 |
|
do |
3860 |
|
# Use a header file that comes with gcc, so configuring glibc |
3861 |
|
# with a fresh cross-compiler works. |
3862 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3863 |
|
# <limits.h> exists even on freestanding compilers. |
3864 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3865 |
# not just through cpp. |
# not just through cpp. "Syntax error" is here to catch this case. |
3866 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3867 |
#line 1437 "configure" |
/* confdefs.h. */ |
3868 |
#include "confdefs.h" |
_ACEOF |
3869 |
#include <assert.h> |
cat confdefs.h >>conftest.$ac_ext |
3870 |
Syntax Error |
cat >>conftest.$ac_ext <<_ACEOF |
3871 |
EOF |
/* end confdefs.h. */ |
3872 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
#ifdef __STDC__ |
3873 |
{ (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
# include <limits.h> |
3874 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#else |
3875 |
if test -z "$ac_err"; then |
# include <assert.h> |
3876 |
|
#endif |
3877 |
|
Syntax error |
3878 |
|
_ACEOF |
3879 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3880 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3881 |
|
ac_status=$? |
3882 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3883 |
|
rm -f conftest.er1 |
3884 |
|
cat conftest.err >&5 |
3885 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3886 |
|
(exit $ac_status); } >/dev/null; then |
3887 |
|
if test -s conftest.err; then |
3888 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3889 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3890 |
|
else |
3891 |
|
ac_cpp_err= |
3892 |
|
fi |
3893 |
|
else |
3894 |
|
ac_cpp_err=yes |
3895 |
|
fi |
3896 |
|
if test -z "$ac_cpp_err"; then |
3897 |
: |
: |
3898 |
else |
else |
3899 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
3900 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3901 |
cat conftest.$ac_ext >&5 |
|
3902 |
rm -rf conftest* |
# Broken: fails on valid input. |
3903 |
CPP="${CC-cc} -E -traditional-cpp" |
continue |
3904 |
cat > conftest.$ac_ext <<EOF |
fi |
3905 |
#line 1454 "configure" |
rm -f conftest.err conftest.$ac_ext |
3906 |
#include "confdefs.h" |
|
3907 |
#include <assert.h> |
# OK, works on sane cases. Now check whether non-existent headers |
3908 |
Syntax Error |
# can be detected and how. |
3909 |
EOF |
cat >conftest.$ac_ext <<_ACEOF |
3910 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
/* confdefs.h. */ |
3911 |
{ (eval echo configure:1460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
_ACEOF |
3912 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat confdefs.h >>conftest.$ac_ext |
3913 |
if test -z "$ac_err"; then |
cat >>conftest.$ac_ext <<_ACEOF |
3914 |
|
/* end confdefs.h. */ |
3915 |
|
#include <ac_nonexistent.h> |
3916 |
|
_ACEOF |
3917 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3918 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3919 |
|
ac_status=$? |
3920 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3921 |
|
rm -f conftest.er1 |
3922 |
|
cat conftest.err >&5 |
3923 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3924 |
|
(exit $ac_status); } >/dev/null; then |
3925 |
|
if test -s conftest.err; then |
3926 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3927 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3928 |
|
else |
3929 |
|
ac_cpp_err= |
3930 |
|
fi |
3931 |
|
else |
3932 |
|
ac_cpp_err=yes |
3933 |
|
fi |
3934 |
|
if test -z "$ac_cpp_err"; then |
3935 |
|
# Broken: success on invalid input. |
3936 |
|
continue |
3937 |
|
else |
3938 |
|
echo "$as_me: failed program was:" >&5 |
3939 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3940 |
|
|
3941 |
|
# Passes both tests. |
3942 |
|
ac_preproc_ok=: |
3943 |
|
break |
3944 |
|
fi |
3945 |
|
rm -f conftest.err conftest.$ac_ext |
3946 |
|
|
3947 |
|
done |
3948 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3949 |
|
rm -f conftest.err conftest.$ac_ext |
3950 |
|
if $ac_preproc_ok; then |
3951 |
|
break |
3952 |
|
fi |
3953 |
|
|
3954 |
|
done |
3955 |
|
ac_cv_prog_CPP=$CPP |
3956 |
|
|
3957 |
|
fi |
3958 |
|
CPP=$ac_cv_prog_CPP |
3959 |
|
else |
3960 |
|
ac_cv_prog_CPP=$CPP |
3961 |
|
fi |
3962 |
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
3963 |
|
echo "${ECHO_T}$CPP" >&6 |
3964 |
|
ac_preproc_ok=false |
3965 |
|
for ac_c_preproc_warn_flag in '' yes |
3966 |
|
do |
3967 |
|
# Use a header file that comes with gcc, so configuring glibc |
3968 |
|
# with a fresh cross-compiler works. |
3969 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3970 |
|
# <limits.h> exists even on freestanding compilers. |
3971 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3972 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3973 |
|
cat >conftest.$ac_ext <<_ACEOF |
3974 |
|
/* confdefs.h. */ |
3975 |
|
_ACEOF |
3976 |
|
cat confdefs.h >>conftest.$ac_ext |
3977 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3978 |
|
/* end confdefs.h. */ |
3979 |
|
#ifdef __STDC__ |
3980 |
|
# include <limits.h> |
3981 |
|
#else |
3982 |
|
# include <assert.h> |
3983 |
|
#endif |
3984 |
|
Syntax error |
3985 |
|
_ACEOF |
3986 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3987 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3988 |
|
ac_status=$? |
3989 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3990 |
|
rm -f conftest.er1 |
3991 |
|
cat conftest.err >&5 |
3992 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3993 |
|
(exit $ac_status); } >/dev/null; then |
3994 |
|
if test -s conftest.err; then |
3995 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3996 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3997 |
|
else |
3998 |
|
ac_cpp_err= |
3999 |
|
fi |
4000 |
|
else |
4001 |
|
ac_cpp_err=yes |
4002 |
|
fi |
4003 |
|
if test -z "$ac_cpp_err"; then |
4004 |
|
: |
4005 |
|
else |
4006 |
|
echo "$as_me: failed program was:" >&5 |
4007 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4008 |
|
|
4009 |
|
# Broken: fails on valid input. |
4010 |
|
continue |
4011 |
|
fi |
4012 |
|
rm -f conftest.err conftest.$ac_ext |
4013 |
|
|
4014 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4015 |
|
# can be detected and how. |
4016 |
|
cat >conftest.$ac_ext <<_ACEOF |
4017 |
|
/* confdefs.h. */ |
4018 |
|
_ACEOF |
4019 |
|
cat confdefs.h >>conftest.$ac_ext |
4020 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4021 |
|
/* end confdefs.h. */ |
4022 |
|
#include <ac_nonexistent.h> |
4023 |
|
_ACEOF |
4024 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4025 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4026 |
|
ac_status=$? |
4027 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4028 |
|
rm -f conftest.er1 |
4029 |
|
cat conftest.err >&5 |
4030 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4031 |
|
(exit $ac_status); } >/dev/null; then |
4032 |
|
if test -s conftest.err; then |
4033 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4034 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4035 |
|
else |
4036 |
|
ac_cpp_err= |
4037 |
|
fi |
4038 |
|
else |
4039 |
|
ac_cpp_err=yes |
4040 |
|
fi |
4041 |
|
if test -z "$ac_cpp_err"; then |
4042 |
|
# Broken: success on invalid input. |
4043 |
|
continue |
4044 |
|
else |
4045 |
|
echo "$as_me: failed program was:" >&5 |
4046 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4047 |
|
|
4048 |
|
# Passes both tests. |
4049 |
|
ac_preproc_ok=: |
4050 |
|
break |
4051 |
|
fi |
4052 |
|
rm -f conftest.err conftest.$ac_ext |
4053 |
|
|
4054 |
|
done |
4055 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4056 |
|
rm -f conftest.err conftest.$ac_ext |
4057 |
|
if $ac_preproc_ok; then |
4058 |
|
: |
4059 |
|
else |
4060 |
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4061 |
|
See \`config.log' for more details." >&5 |
4062 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4063 |
|
See \`config.log' for more details." >&2;} |
4064 |
|
{ (exit 1); exit 1; }; } |
4065 |
|
fi |
4066 |
|
|
4067 |
|
ac_ext=c |
4068 |
|
ac_cpp='$CPP $CPPFLAGS' |
4069 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4070 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4071 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4072 |
|
|
4073 |
|
|
4074 |
|
# Check whether --enable-optimization or --disable-optimization was given. |
4075 |
|
if test "${enable_optimization+set}" = set; then |
4076 |
|
enableval="$enable_optimization" |
4077 |
|
asc_do_opt="$enableval" |
4078 |
|
else |
4079 |
|
asc_do_opt=no |
4080 |
|
fi; |
4081 |
|
if test "$asc_do_opt" = yes; then |
4082 |
|
CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'` |
4083 |
|
cat >>confdefs.h <<\_ACEOF |
4084 |
|
#define NDEBUG 1 |
4085 |
|
_ACEOF |
4086 |
|
|
4087 |
|
else |
4088 |
|
# Extract the first word of "end.o", so it can be a program name with args. |
4089 |
|
set dummy end.o; ac_word=$2 |
4090 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4091 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4092 |
|
if test "${ac_cv_path_DEBUG_LIBS+set}" = set; then |
4093 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4094 |
|
else |
4095 |
|
case $DEBUG_LIBS in |
4096 |
|
[\\/]* | ?:[\\/]*) |
4097 |
|
ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a path. |
4098 |
|
;; |
4099 |
|
*) |
4100 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4101 |
|
for as_dir in /usr/lib |
4102 |
|
do |
4103 |
|
IFS=$as_save_IFS |
4104 |
|
test -z "$as_dir" && as_dir=. |
4105 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4106 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4107 |
|
ac_cv_path_DEBUG_LIBS="$as_dir/$ac_word$ac_exec_ext" |
4108 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4109 |
|
break 2 |
4110 |
|
fi |
4111 |
|
done |
4112 |
|
done |
4113 |
|
|
4114 |
|
;; |
4115 |
|
esac |
4116 |
|
fi |
4117 |
|
DEBUG_LIBS=$ac_cv_path_DEBUG_LIBS |
4118 |
|
|
4119 |
|
if test -n "$DEBUG_LIBS"; then |
4120 |
|
echo "$as_me:$LINENO: result: $DEBUG_LIBS" >&5 |
4121 |
|
echo "${ECHO_T}$DEBUG_LIBS" >&6 |
4122 |
|
else |
4123 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4124 |
|
echo "${ECHO_T}no" >&6 |
4125 |
|
fi |
4126 |
|
|
4127 |
|
fi |
4128 |
|
|
4129 |
|
echo "$as_me:$LINENO: checking for AIX" >&5 |
4130 |
|
echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
4131 |
|
|
4132 |
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
4133 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4134 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
4135 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4136 |
|
else |
4137 |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4138 |
|
then ac_cv_prog_egrep='grep -E' |
4139 |
|
else ac_cv_prog_egrep='egrep' |
4140 |
|
fi |
4141 |
|
fi |
4142 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4143 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4144 |
|
EGREP=$ac_cv_prog_egrep |
4145 |
|
|
4146 |
|
|
4147 |
|
cat >conftest.$ac_ext <<_ACEOF |
4148 |
|
/* confdefs.h. */ |
4149 |
|
_ACEOF |
4150 |
|
cat confdefs.h >>conftest.$ac_ext |
4151 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4152 |
|
/* end confdefs.h. */ |
4153 |
|
|
4154 |
|
#ifdef _AIX |
4155 |
|
yes |
4156 |
|
#endif |
4157 |
|
|
4158 |
|
_ACEOF |
4159 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4160 |
|
$EGREP "yes" >/dev/null 2>&1; then |
4161 |
|
asc_aix=yes ; cat >>confdefs.h <<\_ACEOF |
4162 |
|
#define _ALL_SOURCE 1 |
4163 |
|
_ACEOF |
4164 |
|
|
4165 |
|
else |
4166 |
|
asc_aix=no |
4167 |
|
fi |
4168 |
|
rm -f conftest* |
4169 |
|
|
4170 |
|
echo "$as_me:$LINENO: result: $asc_aix" >&5 |
4171 |
|
echo "${ECHO_T}$asc_aix" >&6 |
4172 |
|
|
4173 |
|
echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5 |
4174 |
|
echo $ECHO_N "checking whether -D_HPUX_SOURCE is needed... $ECHO_C" >&6 |
4175 |
|
cat >conftest.$ac_ext <<_ACEOF |
4176 |
|
/* confdefs.h. */ |
4177 |
|
_ACEOF |
4178 |
|
cat confdefs.h >>conftest.$ac_ext |
4179 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4180 |
|
/* end confdefs.h. */ |
4181 |
|
|
4182 |
|
#ifdef __hpux |
4183 |
|
#ifndef _HPUX_SOURCE |
4184 |
|
yes |
4185 |
|
#endif |
4186 |
|
#endif |
4187 |
|
|
4188 |
|
_ACEOF |
4189 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4190 |
|
$EGREP "yes" >/dev/null 2>&1; then |
4191 |
|
asc_hpux=yes ; cat >>confdefs.h <<\_ACEOF |
4192 |
|
#define _HPUX_SOURCE 1 |
4193 |
|
_ACEOF |
4194 |
|
|
4195 |
|
else |
4196 |
|
asc_hpux=no |
4197 |
|
fi |
4198 |
|
rm -f conftest* |
4199 |
|
|
4200 |
|
echo "$as_me:$LINENO: result: $asc_hpux" >&5 |
4201 |
|
echo "${ECHO_T}$asc_hpux" >&6 |
4202 |
|
|
4203 |
|
# Check the size of pointers; if cross compiling, assume 32 bit pointers |
4204 |
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4205 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4206 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
4207 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4208 |
|
else |
4209 |
|
cat >conftest.$ac_ext <<_ACEOF |
4210 |
|
/* confdefs.h. */ |
4211 |
|
_ACEOF |
4212 |
|
cat confdefs.h >>conftest.$ac_ext |
4213 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4214 |
|
/* end confdefs.h. */ |
4215 |
|
#include <stdlib.h> |
4216 |
|
#include <stdarg.h> |
4217 |
|
#include <string.h> |
4218 |
|
#include <float.h> |
4219 |
|
|
4220 |
|
int |
4221 |
|
main () |
4222 |
|
{ |
4223 |
|
|
4224 |
|
; |
4225 |
|
return 0; |
4226 |
|
} |
4227 |
|
_ACEOF |
4228 |
|
rm -f conftest.$ac_objext |
4229 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4230 |
|
(eval $ac_compile) 2>conftest.er1 |
4231 |
|
ac_status=$? |
4232 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4233 |
|
rm -f conftest.er1 |
4234 |
|
cat conftest.err >&5 |
4235 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4236 |
|
(exit $ac_status); } && |
4237 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4238 |
|
|| test ! -s conftest.err' |
4239 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4240 |
|
(eval $ac_try) 2>&5 |
4241 |
|
ac_status=$? |
4242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4243 |
|
(exit $ac_status); }; } && |
4244 |
|
{ ac_try='test -s conftest.$ac_objext' |
4245 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4246 |
|
(eval $ac_try) 2>&5 |
4247 |
|
ac_status=$? |
4248 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4249 |
|
(exit $ac_status); }; }; then |
4250 |
|
ac_cv_header_stdc=yes |
4251 |
|
else |
4252 |
|
echo "$as_me: failed program was:" >&5 |
4253 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4254 |
|
|
4255 |
|
ac_cv_header_stdc=no |
4256 |
|
fi |
4257 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4258 |
|
|
4259 |
|
if test $ac_cv_header_stdc = yes; then |
4260 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4261 |
|
cat >conftest.$ac_ext <<_ACEOF |
4262 |
|
/* confdefs.h. */ |
4263 |
|
_ACEOF |
4264 |
|
cat confdefs.h >>conftest.$ac_ext |
4265 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4266 |
|
/* end confdefs.h. */ |
4267 |
|
#include <string.h> |
4268 |
|
|
4269 |
|
_ACEOF |
4270 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4271 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
4272 |
|
: |
4273 |
|
else |
4274 |
|
ac_cv_header_stdc=no |
4275 |
|
fi |
4276 |
|
rm -f conftest* |
4277 |
|
|
4278 |
|
fi |
4279 |
|
|
4280 |
|
if test $ac_cv_header_stdc = yes; then |
4281 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4282 |
|
cat >conftest.$ac_ext <<_ACEOF |
4283 |
|
/* confdefs.h. */ |
4284 |
|
_ACEOF |
4285 |
|
cat confdefs.h >>conftest.$ac_ext |
4286 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4287 |
|
/* end confdefs.h. */ |
4288 |
|
#include <stdlib.h> |
4289 |
|
|
4290 |
|
_ACEOF |
4291 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4292 |
|
$EGREP "free" >/dev/null 2>&1; then |
4293 |
|
: |
4294 |
|
else |
4295 |
|
ac_cv_header_stdc=no |
4296 |
|
fi |
4297 |
|
rm -f conftest* |
4298 |
|
|
4299 |
|
fi |
4300 |
|
|
4301 |
|
if test $ac_cv_header_stdc = yes; then |
4302 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4303 |
|
if test "$cross_compiling" = yes; then |
4304 |
: |
: |
4305 |
else |
else |
4306 |
echo "$ac_err" >&5 |
cat >conftest.$ac_ext <<_ACEOF |
4307 |
echo "configure: failed program was:" >&5 |
/* confdefs.h. */ |
4308 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4309 |
rm -rf conftest* |
cat confdefs.h >>conftest.$ac_ext |
4310 |
CPP="${CC-cc} -nologo -E" |
cat >>conftest.$ac_ext <<_ACEOF |
4311 |
cat > conftest.$ac_ext <<EOF |
/* end confdefs.h. */ |
4312 |
#line 1471 "configure" |
#include <ctype.h> |
4313 |
#include "confdefs.h" |
#if ((' ' & 0x0FF) == 0x020) |
4314 |
#include <assert.h> |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4315 |
Syntax Error |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4316 |
EOF |
#else |
4317 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
# define ISLOWER(c) \ |
4318 |
{ (eval echo configure:1477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
(('a' <= (c) && (c) <= 'i') \ |
4319 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|| ('j' <= (c) && (c) <= 'r') \ |
4320 |
if test -z "$ac_err"; then |
|| ('s' <= (c) && (c) <= 'z')) |
4321 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4322 |
|
#endif |
4323 |
|
|
4324 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4325 |
|
int |
4326 |
|
main () |
4327 |
|
{ |
4328 |
|
int i; |
4329 |
|
for (i = 0; i < 256; i++) |
4330 |
|
if (XOR (islower (i), ISLOWER (i)) |
4331 |
|
|| toupper (i) != TOUPPER (i)) |
4332 |
|
exit(2); |
4333 |
|
exit (0); |
4334 |
|
} |
4335 |
|
_ACEOF |
4336 |
|
rm -f conftest$ac_exeext |
4337 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4338 |
|
(eval $ac_link) 2>&5 |
4339 |
|
ac_status=$? |
4340 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4341 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4342 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4343 |
|
(eval $ac_try) 2>&5 |
4344 |
|
ac_status=$? |
4345 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4346 |
|
(exit $ac_status); }; }; then |
4347 |
: |
: |
4348 |
else |
else |
4349 |
echo "$ac_err" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4350 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4351 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4352 |
rm -rf conftest* |
|
4353 |
CPP=/lib/cpp |
( exit $ac_status ) |
4354 |
fi |
ac_cv_header_stdc=no |
|
rm -f conftest* |
|
4355 |
fi |
fi |
4356 |
rm -f conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4357 |
fi |
fi |
|
rm -f conftest* |
|
|
ac_cv_prog_CPP="$CPP" |
|
4358 |
fi |
fi |
|
CPP="$ac_cv_prog_CPP" |
|
|
else |
|
|
ac_cv_prog_CPP="$CPP" |
|
4359 |
fi |
fi |
4360 |
echo "$ac_t""$CPP" 1>&6 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4361 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4362 |
|
if test $ac_cv_header_stdc = yes; then |
4363 |
|
|
4364 |
|
cat >>confdefs.h <<\_ACEOF |
4365 |
|
#define STDC_HEADERS 1 |
4366 |
|
_ACEOF |
4367 |
|
|
|
# Check whether --enable-optimization or --disable-optimization was given. |
|
|
if test "${enable_optimization+set}" = set; then |
|
|
enableval="$enable_optimization" |
|
|
asc_do_opt="$enableval" |
|
|
else |
|
|
asc_do_opt=no |
|
4368 |
fi |
fi |
4369 |
|
|
4370 |
if test "$asc_do_opt" = yes; then |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'` |
|
|
cat >> confdefs.h <<\EOF |
|
|
#define NDEBUG 1 |
|
|
EOF |
|
4371 |
|
|
4372 |
|
|
4373 |
|
|
4374 |
|
|
4375 |
|
|
4376 |
|
|
4377 |
|
|
4378 |
|
|
4379 |
|
|
4380 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4381 |
|
inttypes.h stdint.h unistd.h |
4382 |
|
do |
4383 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4384 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4385 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4386 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4387 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4388 |
else |
else |
4389 |
# Extract the first word of "end.o", so it can be a program name with args. |
cat >conftest.$ac_ext <<_ACEOF |
4390 |
set dummy end.o; ac_word=$2 |
/* confdefs.h. */ |
4391 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
_ACEOF |
4392 |
echo "configure:1520: checking for $ac_word" >&5 |
cat confdefs.h >>conftest.$ac_ext |
4393 |
if eval "test \"`echo '$''{'ac_cv_path_DEBUG_LIBS'+set}'`\" = set"; then |
cat >>conftest.$ac_ext <<_ACEOF |
4394 |
echo $ac_n "(cached) $ac_c" 1>&6 |
/* end confdefs.h. */ |
4395 |
else |
$ac_includes_default |
4396 |
case "$DEBUG_LIBS" in |
|
4397 |
/*) |
#include <$ac_header> |
4398 |
ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a path. |
_ACEOF |
4399 |
;; |
rm -f conftest.$ac_objext |
4400 |
?:/*) |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4401 |
ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a dos path. |
(eval $ac_compile) 2>conftest.er1 |
4402 |
;; |
ac_status=$? |
4403 |
*) |
grep -v '^ *+' conftest.er1 >conftest.err |
4404 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
rm -f conftest.er1 |
4405 |
ac_dummy="/usr/lib" |
cat conftest.err >&5 |
4406 |
for ac_dir in $ac_dummy; do |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4407 |
test -z "$ac_dir" && ac_dir=. |
(exit $ac_status); } && |
4408 |
if test -f $ac_dir/$ac_word; then |
{ ac_try='test -z "$ac_c_werror_flag" |
4409 |
ac_cv_path_DEBUG_LIBS="$ac_dir/$ac_word" |
|| test ! -s conftest.err' |
4410 |
break |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4411 |
fi |
(eval $ac_try) 2>&5 |
4412 |
done |
ac_status=$? |
4413 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4414 |
;; |
(exit $ac_status); }; } && |
4415 |
esac |
{ ac_try='test -s conftest.$ac_objext' |
4416 |
fi |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4417 |
DEBUG_LIBS="$ac_cv_path_DEBUG_LIBS" |
(eval $ac_try) 2>&5 |
4418 |
if test -n "$DEBUG_LIBS"; then |
ac_status=$? |
4419 |
echo "$ac_t""$DEBUG_LIBS" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4420 |
else |
(exit $ac_status); }; }; then |
4421 |
echo "$ac_t""no" 1>&6 |
eval "$as_ac_Header=yes" |
4422 |
fi |
else |
4423 |
|
echo "$as_me: failed program was:" >&5 |
4424 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4425 |
|
|
4426 |
|
eval "$as_ac_Header=no" |
4427 |
|
fi |
4428 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4429 |
|
fi |
4430 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4431 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4432 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4433 |
|
cat >>confdefs.h <<_ACEOF |
4434 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4435 |
|
_ACEOF |
4436 |
|
|
4437 |
fi |
fi |
4438 |
|
|
4439 |
echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
done |
|
echo "configure:1555: checking for AIX" >&5 |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1557 "configure" |
|
|
#include "confdefs.h" |
|
4440 |
|
|
|
#ifdef _AIX |
|
|
yes |
|
|
#endif |
|
4441 |
|
|
4442 |
EOF |
echo "$as_me:$LINENO: checking for void *" >&5 |
4443 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
echo $ECHO_N "checking for void *... $ECHO_C" >&6 |
4444 |
egrep "yes" >/dev/null 2>&1; then |
if test "${ac_cv_type_void_p+set}" = set; then |
4445 |
rm -rf conftest* |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
asc_aix=yes ; cat >> confdefs.h <<\EOF |
|
|
#define _ALL_SOURCE 1 |
|
|
EOF |
|
|
|
|
4446 |
else |
else |
4447 |
rm -rf conftest* |
cat >conftest.$ac_ext <<_ACEOF |
4448 |
asc_aix=no |
/* confdefs.h. */ |
4449 |
fi |
_ACEOF |
4450 |
rm -f conftest* |
cat confdefs.h >>conftest.$ac_ext |
4451 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4452 |
|
/* end confdefs.h. */ |
4453 |
|
$ac_includes_default |
4454 |
|
int |
4455 |
|
main () |
4456 |
|
{ |
4457 |
|
if ((void * *) 0) |
4458 |
|
return 0; |
4459 |
|
if (sizeof (void *)) |
4460 |
|
return 0; |
4461 |
|
; |
4462 |
|
return 0; |
4463 |
|
} |
4464 |
|
_ACEOF |
4465 |
|
rm -f conftest.$ac_objext |
4466 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4467 |
|
(eval $ac_compile) 2>conftest.er1 |
4468 |
|
ac_status=$? |
4469 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4470 |
|
rm -f conftest.er1 |
4471 |
|
cat conftest.err >&5 |
4472 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4473 |
|
(exit $ac_status); } && |
4474 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4475 |
|
|| test ! -s conftest.err' |
4476 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4477 |
|
(eval $ac_try) 2>&5 |
4478 |
|
ac_status=$? |
4479 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4480 |
|
(exit $ac_status); }; } && |
4481 |
|
{ ac_try='test -s conftest.$ac_objext' |
4482 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4483 |
|
(eval $ac_try) 2>&5 |
4484 |
|
ac_status=$? |
4485 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4486 |
|
(exit $ac_status); }; }; then |
4487 |
|
ac_cv_type_void_p=yes |
4488 |
|
else |
4489 |
|
echo "$as_me: failed program was:" >&5 |
4490 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4491 |
|
|
4492 |
|
ac_cv_type_void_p=no |
4493 |
|
fi |
4494 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4495 |
|
fi |
4496 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 |
4497 |
|
echo "${ECHO_T}$ac_cv_type_void_p" >&6 |
4498 |
|
|
4499 |
|
echo "$as_me:$LINENO: checking size of void *" >&5 |
4500 |
|
echo $ECHO_N "checking size of void *... $ECHO_C" >&6 |
4501 |
|
if test "${ac_cv_sizeof_void_p+set}" = set; then |
4502 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4503 |
|
else |
4504 |
|
if test "$ac_cv_type_void_p" = yes; then |
4505 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
4506 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
4507 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
4508 |
|
# This bug is HP SR number 8606223364. |
4509 |
|
if test "$cross_compiling" = yes; then |
4510 |
|
# Depending upon the size, compute the lo and hi bounds. |
4511 |
|
cat >conftest.$ac_ext <<_ACEOF |
4512 |
|
/* confdefs.h. */ |
4513 |
|
_ACEOF |
4514 |
|
cat confdefs.h >>conftest.$ac_ext |
4515 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4516 |
|
/* end confdefs.h. */ |
4517 |
|
$ac_includes_default |
4518 |
|
int |
4519 |
|
main () |
4520 |
|
{ |
4521 |
|
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; |
4522 |
|
test_array [0] = 0 |
4523 |
|
|
4524 |
echo "$ac_t""$asc_aix" 1>&6 |
; |
4525 |
|
return 0; |
4526 |
|
} |
4527 |
|
_ACEOF |
4528 |
|
rm -f conftest.$ac_objext |
4529 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4530 |
|
(eval $ac_compile) 2>conftest.er1 |
4531 |
|
ac_status=$? |
4532 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4533 |
|
rm -f conftest.er1 |
4534 |
|
cat conftest.err >&5 |
4535 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4536 |
|
(exit $ac_status); } && |
4537 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4538 |
|
|| test ! -s conftest.err' |
4539 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4540 |
|
(eval $ac_try) 2>&5 |
4541 |
|
ac_status=$? |
4542 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4543 |
|
(exit $ac_status); }; } && |
4544 |
|
{ ac_try='test -s conftest.$ac_objext' |
4545 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4546 |
|
(eval $ac_try) 2>&5 |
4547 |
|
ac_status=$? |
4548 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4549 |
|
(exit $ac_status); }; }; then |
4550 |
|
ac_lo=0 ac_mid=0 |
4551 |
|
while :; do |
4552 |
|
cat >conftest.$ac_ext <<_ACEOF |
4553 |
|
/* confdefs.h. */ |
4554 |
|
_ACEOF |
4555 |
|
cat confdefs.h >>conftest.$ac_ext |
4556 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4557 |
|
/* end confdefs.h. */ |
4558 |
|
$ac_includes_default |
4559 |
|
int |
4560 |
|
main () |
4561 |
|
{ |
4562 |
|
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; |
4563 |
|
test_array [0] = 0 |
4564 |
|
|
4565 |
echo $ac_n "checking whether -D_HPUX_SOURCE is needed""... $ac_c" 1>&6 |
; |
4566 |
echo "configure:1581: checking whether -D_HPUX_SOURCE is needed" >&5 |
return 0; |
4567 |
cat > conftest.$ac_ext <<EOF |
} |
4568 |
#line 1583 "configure" |
_ACEOF |
4569 |
#include "confdefs.h" |
rm -f conftest.$ac_objext |
4570 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4571 |
|
(eval $ac_compile) 2>conftest.er1 |
4572 |
|
ac_status=$? |
4573 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4574 |
|
rm -f conftest.er1 |
4575 |
|
cat conftest.err >&5 |
4576 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4577 |
|
(exit $ac_status); } && |
4578 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4579 |
|
|| test ! -s conftest.err' |
4580 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4581 |
|
(eval $ac_try) 2>&5 |
4582 |
|
ac_status=$? |
4583 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4584 |
|
(exit $ac_status); }; } && |
4585 |
|
{ ac_try='test -s conftest.$ac_objext' |
4586 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4587 |
|
(eval $ac_try) 2>&5 |
4588 |
|
ac_status=$? |
4589 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4590 |
|
(exit $ac_status); }; }; then |
4591 |
|
ac_hi=$ac_mid; break |
4592 |
|
else |
4593 |
|
echo "$as_me: failed program was:" >&5 |
4594 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4595 |
|
|
4596 |
|
ac_lo=`expr $ac_mid + 1` |
4597 |
|
if test $ac_lo -le $ac_mid; then |
4598 |
|
ac_lo= ac_hi= |
4599 |
|
break |
4600 |
|
fi |
4601 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
4602 |
|
fi |
4603 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4604 |
|
done |
4605 |
|
else |
4606 |
|
echo "$as_me: failed program was:" >&5 |
4607 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4608 |
|
|
4609 |
#ifdef __hpux |
cat >conftest.$ac_ext <<_ACEOF |
4610 |
#ifndef _HPUX_SOURCE |
/* confdefs.h. */ |
4611 |
yes |
_ACEOF |
4612 |
#endif |
cat confdefs.h >>conftest.$ac_ext |
4613 |
#endif |
cat >>conftest.$ac_ext <<_ACEOF |
4614 |
|
/* end confdefs.h. */ |
4615 |
|
$ac_includes_default |
4616 |
|
int |
4617 |
|
main () |
4618 |
|
{ |
4619 |
|
static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; |
4620 |
|
test_array [0] = 0 |
4621 |
|
|
4622 |
EOF |
; |
4623 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
return 0; |
4624 |
egrep "yes" >/dev/null 2>&1; then |
} |
4625 |
rm -rf conftest* |
_ACEOF |
4626 |
asc_hpux=yes ; cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
4627 |
#define _HPUX_SOURCE 1 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4628 |
EOF |
(eval $ac_compile) 2>conftest.er1 |
4629 |
|
ac_status=$? |
4630 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4631 |
|
rm -f conftest.er1 |
4632 |
|
cat conftest.err >&5 |
4633 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4634 |
|
(exit $ac_status); } && |
4635 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4636 |
|
|| test ! -s conftest.err' |
4637 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4638 |
|
(eval $ac_try) 2>&5 |
4639 |
|
ac_status=$? |
4640 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4641 |
|
(exit $ac_status); }; } && |
4642 |
|
{ ac_try='test -s conftest.$ac_objext' |
4643 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4644 |
|
(eval $ac_try) 2>&5 |
4645 |
|
ac_status=$? |
4646 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4647 |
|
(exit $ac_status); }; }; then |
4648 |
|
ac_hi=-1 ac_mid=-1 |
4649 |
|
while :; do |
4650 |
|
cat >conftest.$ac_ext <<_ACEOF |
4651 |
|
/* confdefs.h. */ |
4652 |
|
_ACEOF |
4653 |
|
cat confdefs.h >>conftest.$ac_ext |
4654 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4655 |
|
/* end confdefs.h. */ |
4656 |
|
$ac_includes_default |
4657 |
|
int |
4658 |
|
main () |
4659 |
|
{ |
4660 |
|
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; |
4661 |
|
test_array [0] = 0 |
4662 |
|
|
4663 |
|
; |
4664 |
|
return 0; |
4665 |
|
} |
4666 |
|
_ACEOF |
4667 |
|
rm -f conftest.$ac_objext |
4668 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4669 |
|
(eval $ac_compile) 2>conftest.er1 |
4670 |
|
ac_status=$? |
4671 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4672 |
|
rm -f conftest.er1 |
4673 |
|
cat conftest.err >&5 |
4674 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4675 |
|
(exit $ac_status); } && |
4676 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4677 |
|
|| test ! -s conftest.err' |
4678 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4679 |
|
(eval $ac_try) 2>&5 |
4680 |
|
ac_status=$? |
4681 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4682 |
|
(exit $ac_status); }; } && |
4683 |
|
{ ac_try='test -s conftest.$ac_objext' |
4684 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4685 |
|
(eval $ac_try) 2>&5 |
4686 |
|
ac_status=$? |
4687 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4688 |
|
(exit $ac_status); }; }; then |
4689 |
|
ac_lo=$ac_mid; break |
4690 |
|
else |
4691 |
|
echo "$as_me: failed program was:" >&5 |
4692 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4693 |
|
|
4694 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
4695 |
|
if test $ac_mid -le $ac_hi; then |
4696 |
|
ac_lo= ac_hi= |
4697 |
|
break |
4698 |
|
fi |
4699 |
|
ac_mid=`expr 2 '*' $ac_mid` |
4700 |
|
fi |
4701 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4702 |
|
done |
4703 |
else |
else |
4704 |
rm -rf conftest* |
echo "$as_me: failed program was:" >&5 |
4705 |
asc_hpux=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
4706 |
|
|
4707 |
|
ac_lo= ac_hi= |
4708 |
fi |
fi |
4709 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4710 |
|
fi |
4711 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4712 |
|
# Binary search between lo and hi bounds. |
4713 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
4714 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
4715 |
|
cat >conftest.$ac_ext <<_ACEOF |
4716 |
|
/* confdefs.h. */ |
4717 |
|
_ACEOF |
4718 |
|
cat confdefs.h >>conftest.$ac_ext |
4719 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4720 |
|
/* end confdefs.h. */ |
4721 |
|
$ac_includes_default |
4722 |
|
int |
4723 |
|
main () |
4724 |
|
{ |
4725 |
|
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; |
4726 |
|
test_array [0] = 0 |
4727 |
|
|
4728 |
echo "$ac_t""$asc_hpux" 1>&6 |
; |
4729 |
|
return 0; |
4730 |
|
} |
4731 |
|
_ACEOF |
4732 |
|
rm -f conftest.$ac_objext |
4733 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4734 |
|
(eval $ac_compile) 2>conftest.er1 |
4735 |
|
ac_status=$? |
4736 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4737 |
|
rm -f conftest.er1 |
4738 |
|
cat conftest.err >&5 |
4739 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4740 |
|
(exit $ac_status); } && |
4741 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4742 |
|
|| test ! -s conftest.err' |
4743 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4744 |
|
(eval $ac_try) 2>&5 |
4745 |
|
ac_status=$? |
4746 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4747 |
|
(exit $ac_status); }; } && |
4748 |
|
{ ac_try='test -s conftest.$ac_objext' |
4749 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4750 |
|
(eval $ac_try) 2>&5 |
4751 |
|
ac_status=$? |
4752 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4753 |
|
(exit $ac_status); }; }; then |
4754 |
|
ac_hi=$ac_mid |
4755 |
|
else |
4756 |
|
echo "$as_me: failed program was:" >&5 |
4757 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4758 |
|
|
4759 |
# Check the size of pointers; if cross compiling, assume 32 bit pointers |
ac_lo=`expr '(' $ac_mid ')' + 1` |
4760 |
echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
fi |
4761 |
echo "configure:1610: checking size of void *" >&5 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4762 |
if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then |
done |
4763 |
echo $ac_n "(cached) $ac_c" 1>&6 |
case $ac_lo in |
4764 |
|
?*) ac_cv_sizeof_void_p=$ac_lo;; |
4765 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 |
4766 |
|
See \`config.log' for more details." >&5 |
4767 |
|
echo "$as_me: error: cannot compute sizeof (void *), 77 |
4768 |
|
See \`config.log' for more details." >&2;} |
4769 |
|
{ (exit 1); exit 1; }; } ;; |
4770 |
|
esac |
4771 |
else |
else |
4772 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4773 |
ac_cv_sizeof_void_p=4 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
4774 |
|
See \`config.log' for more details." >&5 |
4775 |
|
echo "$as_me: error: cannot run test program while cross compiling |
4776 |
|
See \`config.log' for more details." >&2;} |
4777 |
|
{ (exit 1); exit 1; }; } |
4778 |
else |
else |
4779 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4780 |
#line 1618 "configure" |
/* confdefs.h. */ |
4781 |
#include "confdefs.h" |
_ACEOF |
4782 |
|
cat confdefs.h >>conftest.$ac_ext |
4783 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4784 |
|
/* end confdefs.h. */ |
4785 |
|
$ac_includes_default |
4786 |
|
long longval () { return (long) (sizeof (void *)); } |
4787 |
|
unsigned long ulongval () { return (long) (sizeof (void *)); } |
4788 |
#include <stdio.h> |
#include <stdio.h> |
4789 |
int main() |
#include <stdlib.h> |
4790 |
|
int |
4791 |
|
main () |
4792 |
{ |
{ |
4793 |
FILE *f=fopen("conftestval", "w"); |
|
4794 |
if (!f) return(1); |
FILE *f = fopen ("conftest.val", "w"); |
4795 |
fprintf(f, "%d\n", sizeof(void *)); |
if (! f) |
4796 |
return(0); |
exit (1); |
4797 |
|
if (((long) (sizeof (void *))) < 0) |
4798 |
|
{ |
4799 |
|
long i = longval (); |
4800 |
|
if (i != ((long) (sizeof (void *)))) |
4801 |
|
exit (1); |
4802 |
|
fprintf (f, "%ld\n", i); |
4803 |
|
} |
4804 |
|
else |
4805 |
|
{ |
4806 |
|
unsigned long i = ulongval (); |
4807 |
|
if (i != ((long) (sizeof (void *)))) |
4808 |
|
exit (1); |
4809 |
|
fprintf (f, "%lu\n", i); |
4810 |
|
} |
4811 |
|
exit (ferror (f) || fclose (f) != 0); |
4812 |
|
|
4813 |
|
; |
4814 |
|
return 0; |
4815 |
} |
} |
4816 |
EOF |
_ACEOF |
4817 |
if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
4818 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4819 |
ac_cv_sizeof_void_p=`cat conftestval` |
(eval $ac_link) 2>&5 |
4820 |
|
ac_status=$? |
4821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4822 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4823 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4824 |
|
(eval $ac_try) 2>&5 |
4825 |
|
ac_status=$? |
4826 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4827 |
|
(exit $ac_status); }; }; then |
4828 |
|
ac_cv_sizeof_void_p=`cat conftest.val` |
4829 |
|
else |
4830 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
4831 |
|
echo "$as_me: failed program was:" >&5 |
4832 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4833 |
|
|
4834 |
|
( exit $ac_status ) |
4835 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 |
4836 |
|
See \`config.log' for more details." >&5 |
4837 |
|
echo "$as_me: error: cannot compute sizeof (void *), 77 |
4838 |
|
See \`config.log' for more details." >&2;} |
4839 |
|
{ (exit 1); exit 1; }; } |
4840 |
|
fi |
4841 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4842 |
|
fi |
4843 |
|
fi |
4844 |
|
rm -f conftest.val |
4845 |
else |
else |
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -fr conftest* |
|
4846 |
ac_cv_sizeof_void_p=0 |
ac_cv_sizeof_void_p=0 |
4847 |
fi |
fi |
|
rm -fr conftest* |
|
|
fi |
|
|
|
|
4848 |
fi |
fi |
4849 |
echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 |
4850 |
cat >> confdefs.h <<EOF |
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 |
4851 |
|
cat >>confdefs.h <<_ACEOF |
4852 |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
4853 |
EOF |
_ACEOF |
4854 |
|
|
4855 |
|
|
4856 |
|
|
4863 |
asc_found_yacc=0 |
asc_found_yacc=0 |
4864 |
# Extract the first word of "yacc", so it can be a program name with args. |
# Extract the first word of "yacc", so it can be a program name with args. |
4865 |
set dummy yacc; ac_word=$2 |
set dummy yacc; ac_word=$2 |
4866 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4867 |
echo "configure:1659: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4868 |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
if test "${ac_cv_prog_YACC+set}" = set; then |
4869 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4870 |
else |
else |
4871 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
4872 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
4873 |
else |
else |
4874 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4875 |
ac_dummy="$PATH" |
for as_dir in $PATH |
4876 |
for ac_dir in $ac_dummy; do |
do |
4877 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
4878 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
4879 |
ac_cv_prog_YACC="yacc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
4880 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4881 |
fi |
ac_cv_prog_YACC="yacc" |
4882 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4883 |
IFS="$ac_save_ifs" |
break 2 |
4884 |
|
fi |
4885 |
|
done |
4886 |
|
done |
4887 |
|
|
4888 |
test -z "$ac_cv_prog_YACC" && ac_cv_prog_YACC="asc_found_yacc=no" |
test -z "$ac_cv_prog_YACC" && ac_cv_prog_YACC="asc_found_yacc=no" |
4889 |
fi |
fi |
4890 |
fi |
fi |
4891 |
YACC="$ac_cv_prog_YACC" |
YACC=$ac_cv_prog_YACC |
4892 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
4893 |
echo "$ac_t""$YACC" 1>&6 |
echo "$as_me:$LINENO: result: $YACC" >&5 |
4894 |
|
echo "${ECHO_T}$YACC" >&6 |
4895 |
else |
else |
4896 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4897 |
|
echo "${ECHO_T}no" >&6 |
4898 |
fi |
fi |
4899 |
|
|
4900 |
if test "$asc_found_yacc" = no ; then |
if test "$asc_found_yacc" = no ; then |
4901 |
for ac_prog in 'bison -y' byacc |
for ac_prog in 'bison -y' byacc |
4902 |
do |
do |
4903 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4904 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
4905 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4906 |
echo "configure:1692: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4907 |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
if test "${ac_cv_prog_YACC+set}" = set; then |
4908 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4909 |
else |
else |
4910 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
4911 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
4912 |
else |
else |
4913 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4914 |
ac_dummy="$PATH" |
for as_dir in $PATH |
4915 |
for ac_dir in $ac_dummy; do |
do |
4916 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
4917 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
4918 |
ac_cv_prog_YACC="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
4919 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4920 |
fi |
ac_cv_prog_YACC="$ac_prog" |
4921 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4922 |
IFS="$ac_save_ifs" |
break 2 |
4923 |
|
fi |
4924 |
|
done |
4925 |
|
done |
4926 |
|
|
4927 |
fi |
fi |
4928 |
fi |
fi |
4929 |
YACC="$ac_cv_prog_YACC" |
YACC=$ac_cv_prog_YACC |
4930 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
4931 |
echo "$ac_t""$YACC" 1>&6 |
echo "$as_me:$LINENO: result: $YACC" >&5 |
4932 |
|
echo "${ECHO_T}$YACC" >&6 |
4933 |
else |
else |
4934 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4935 |
|
echo "${ECHO_T}no" >&6 |
4936 |
fi |
fi |
4937 |
|
|
4938 |
test -n "$YACC" && break |
test -n "$YACC" && break |
4939 |
done |
done |
4940 |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
4941 |
|
|
4968 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4969 |
# Extract the first word of "flex", so it can be a program name with args. |
# Extract the first word of "flex", so it can be a program name with args. |
4970 |
set dummy flex; ac_word=$2 |
set dummy flex; ac_word=$2 |
4971 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4972 |
echo "configure:1752: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4973 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
if test "${ac_cv_prog_LEX+set}" = set; then |
4974 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4975 |
else |
else |
4976 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
4977 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
4978 |
else |
else |
4979 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4980 |
ac_dummy="$PATH" |
for as_dir in $PATH |
4981 |
for ac_dir in $ac_dummy; do |
do |
4982 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
4983 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
4984 |
ac_cv_prog_LEX="flex" |
for ac_exec_ext in '' $ac_executable_extensions; do |
4985 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4986 |
fi |
ac_cv_prog_LEX="flex" |
4987 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4988 |
IFS="$ac_save_ifs" |
break 2 |
4989 |
|
fi |
4990 |
|
done |
4991 |
|
done |
4992 |
|
|
4993 |
fi |
fi |
4994 |
fi |
fi |
4995 |
LEX="$ac_cv_prog_LEX" |
LEX=$ac_cv_prog_LEX |
4996 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
4997 |
echo "$ac_t""$LEX" 1>&6 |
echo "$as_me:$LINENO: result: $LEX" >&5 |
4998 |
|
echo "${ECHO_T}$LEX" >&6 |
4999 |
else |
else |
5000 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5001 |
|
echo "${ECHO_T}no" >&6 |
5002 |
fi |
fi |
5003 |
|
|
5004 |
|
|
5005 |
if test -n "$LEX" ; then |
if test -n "$LEX" ; then |
5006 |
echo $ac_n "checking whether $LEX is at least version 2.4.1""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $LEX is at least version 2.4.1" >&5 |
5007 |
echo "configure:1781: checking whether $LEX is at least version 2.4.1" >&5 |
echo $ECHO_N "checking whether $LEX is at least version 2.4.1... $ECHO_C" >&6 |
5008 |
echo "$LEX -V" 1>&5 |
echo "$LEX -V" 1>&5 |
5009 |
if $LEX -V 1>&5 2>&5 ; then |
if $LEX -V 1>&5 2>&5 ; then |
5010 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
5011 |
|
echo "${ECHO_T}yes" >&6 |
5012 |
scanner_src="scanner.c.from.flex" |
scanner_src="scanner.c.from.flex" |
5013 |
typer_src="typelex.c.from.flex" |
typer_src="typelex.c.from.flex" |
5014 |
else |
else |
5015 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5016 |
|
echo "${ECHO_T}no" >&6 |
5017 |
LEX='' |
LEX='' |
5018 |
fi |
fi |
5019 |
fi |
fi |
5020 |
|
|
5021 |
if test -z "$LEX" ; then |
if test -z "$LEX" ; then |
5022 |
echo "configure: warning: Cannot find a flex lexer version 2.4.1 or greater. |
{ echo "$as_me:$LINENO: WARNING: Cannot find a flex lexer version 2.4.1 or greater. |
5023 |
|
Using pregenerated C files for base/generic/compiler/scanner.l |
5024 |
|
and tcltk98/interface/typelex.l. If you have flex 2.4.1 |
5025 |
|
or newer, set the LEX environment variable to its location |
5026 |
|
and run configure again." >&5 |
5027 |
|
echo "$as_me: WARNING: Cannot find a flex lexer version 2.4.1 or greater. |
5028 |
Using pregenerated C files for base/generic/compiler/scanner.l |
Using pregenerated C files for base/generic/compiler/scanner.l |
5029 |
and tcltk98/interface/typelex.l. If you have flex 2.4.1 |
and tcltk98/interface/typelex.l. If you have flex 2.4.1 |
5030 |
or newer, set the LEX environment variable to its location |
or newer, set the LEX environment variable to its location |
5031 |
and run configure again." 1>&2 |
and run configure again." >&2;} |
5032 |
scanner_src="scanner.c.from.c" |
scanner_src="scanner.c.from.c" |
5033 |
typer_src="typelex.c.from.c" |
typer_src="typelex.c.from.c" |
5034 |
|
|
5035 |
# let configure set LEX and LEXLIB even though we won't be using them |
# let configure set LEX and LEXLIB even though we won't be using them |
5036 |
# Extract the first word of "flex", so it can be a program name with args. |
for ac_prog in flex lex |
5037 |
set dummy flex; ac_word=$2 |
do |
5038 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5039 |
echo "configure:1806: checking for $ac_word" >&5 |
set dummy $ac_prog; ac_word=$2 |
5040 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5041 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5042 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
5043 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5044 |
else |
else |
5045 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
5046 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
5047 |
else |
else |
5048 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5049 |
ac_dummy="$PATH" |
for as_dir in $PATH |
5050 |
for ac_dir in $ac_dummy; do |
do |
5051 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
5052 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
5053 |
ac_cv_prog_LEX="flex" |
for ac_exec_ext in '' $ac_executable_extensions; do |
5054 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5055 |
fi |
ac_cv_prog_LEX="$ac_prog" |
5056 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5057 |
IFS="$ac_save_ifs" |
break 2 |
5058 |
test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" |
fi |
5059 |
|
done |
5060 |
|
done |
5061 |
|
|
5062 |
fi |
fi |
5063 |
fi |
fi |
5064 |
LEX="$ac_cv_prog_LEX" |
LEX=$ac_cv_prog_LEX |
5065 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
5066 |
echo "$ac_t""$LEX" 1>&6 |
echo "$as_me:$LINENO: result: $LEX" >&5 |
5067 |
|
echo "${ECHO_T}$LEX" >&6 |
5068 |
else |
else |
5069 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5070 |
|
echo "${ECHO_T}no" >&6 |
5071 |
fi |
fi |
5072 |
|
|
5073 |
|
test -n "$LEX" && break |
5074 |
|
done |
5075 |
|
test -n "$LEX" || LEX=":" |
5076 |
|
|
5077 |
if test -z "$LEXLIB" |
if test -z "$LEXLIB" |
5078 |
then |
then |
5079 |
case "$LEX" in |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
5080 |
flex*) ac_lib=fl ;; |
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
5081 |
*) ac_lib=l ;; |
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
5082 |
esac |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5083 |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
else |
5084 |
echo "configure:1840: checking for yywrap in -l$ac_lib" >&5 |
ac_check_lib_save_LIBS=$LIBS |
5085 |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
LIBS="-lfl $LIBS" |
5086 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
cat >conftest.$ac_ext <<_ACEOF |
5087 |
echo $ac_n "(cached) $ac_c" 1>&6 |
/* confdefs.h. */ |
5088 |
else |
_ACEOF |
5089 |
ac_save_LIBS="$LIBS" |
cat confdefs.h >>conftest.$ac_ext |
5090 |
LIBS="-l$ac_lib $LIBS" |
cat >>conftest.$ac_ext <<_ACEOF |
5091 |
cat > conftest.$ac_ext <<EOF |
/* end confdefs.h. */ |
5092 |
#line 1848 "configure" |
|
5093 |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
5094 |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
5095 |
/* We use char because int might match the return type of a gcc2 |
extern "C" |
5096 |
builtin and then its argument prototype would still apply. */ |
#endif |
5097 |
char yywrap(); |
/* We use char because int might match the return type of a gcc2 |
5098 |
|
builtin and then its argument prototype would still apply. */ |
5099 |
int main() { |
char yywrap (); |
5100 |
yywrap() |
int |
5101 |
; return 0; } |
main () |
5102 |
EOF |
{ |
5103 |
if { (eval echo configure:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
yywrap (); |
5104 |
rm -rf conftest* |
; |
5105 |
eval "ac_cv_lib_$ac_lib_var=yes" |
return 0; |
5106 |
else |
} |
5107 |
echo "configure: failed program was:" >&5 |
_ACEOF |
5108 |
cat conftest.$ac_ext >&5 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5109 |
rm -rf conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5110 |
eval "ac_cv_lib_$ac_lib_var=no" |
(eval $ac_link) 2>conftest.er1 |
5111 |
|
ac_status=$? |
5112 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5113 |
|
rm -f conftest.er1 |
5114 |
|
cat conftest.err >&5 |
5115 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5116 |
|
(exit $ac_status); } && |
5117 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5118 |
|
|| test ! -s conftest.err' |
5119 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5120 |
|
(eval $ac_try) 2>&5 |
5121 |
|
ac_status=$? |
5122 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5123 |
|
(exit $ac_status); }; } && |
5124 |
|
{ ac_try='test -s conftest$ac_exeext' |
5125 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5126 |
|
(eval $ac_try) 2>&5 |
5127 |
|
ac_status=$? |
5128 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5129 |
|
(exit $ac_status); }; }; then |
5130 |
|
ac_cv_lib_fl_yywrap=yes |
5131 |
|
else |
5132 |
|
echo "$as_me: failed program was:" >&5 |
5133 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5134 |
|
|
5135 |
|
ac_cv_lib_fl_yywrap=no |
5136 |
|
fi |
5137 |
|
rm -f conftest.err conftest.$ac_objext \ |
5138 |
|
conftest$ac_exeext conftest.$ac_ext |
5139 |
|
LIBS=$ac_check_lib_save_LIBS |
5140 |
|
fi |
5141 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
5142 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
5143 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
5144 |
|
LEXLIB="-lfl" |
5145 |
|
else |
5146 |
|
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
5147 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
5148 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
5149 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5150 |
|
else |
5151 |
|
ac_check_lib_save_LIBS=$LIBS |
5152 |
|
LIBS="-ll $LIBS" |
5153 |
|
cat >conftest.$ac_ext <<_ACEOF |
5154 |
|
/* confdefs.h. */ |
5155 |
|
_ACEOF |
5156 |
|
cat confdefs.h >>conftest.$ac_ext |
5157 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5158 |
|
/* end confdefs.h. */ |
5159 |
|
|
5160 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5161 |
|
#ifdef __cplusplus |
5162 |
|
extern "C" |
5163 |
|
#endif |
5164 |
|
/* We use char because int might match the return type of a gcc2 |
5165 |
|
builtin and then its argument prototype would still apply. */ |
5166 |
|
char yywrap (); |
5167 |
|
int |
5168 |
|
main () |
5169 |
|
{ |
5170 |
|
yywrap (); |
5171 |
|
; |
5172 |
|
return 0; |
5173 |
|
} |
5174 |
|
_ACEOF |
5175 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5176 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5177 |
|
(eval $ac_link) 2>conftest.er1 |
5178 |
|
ac_status=$? |
5179 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5180 |
|
rm -f conftest.er1 |
5181 |
|
cat conftest.err >&5 |
5182 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5183 |
|
(exit $ac_status); } && |
5184 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5185 |
|
|| test ! -s conftest.err' |
5186 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5187 |
|
(eval $ac_try) 2>&5 |
5188 |
|
ac_status=$? |
5189 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5190 |
|
(exit $ac_status); }; } && |
5191 |
|
{ ac_try='test -s conftest$ac_exeext' |
5192 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5193 |
|
(eval $ac_try) 2>&5 |
5194 |
|
ac_status=$? |
5195 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5196 |
|
(exit $ac_status); }; }; then |
5197 |
|
ac_cv_lib_l_yywrap=yes |
5198 |
|
else |
5199 |
|
echo "$as_me: failed program was:" >&5 |
5200 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5201 |
|
|
5202 |
|
ac_cv_lib_l_yywrap=no |
5203 |
|
fi |
5204 |
|
rm -f conftest.err conftest.$ac_objext \ |
5205 |
|
conftest$ac_exeext conftest.$ac_ext |
5206 |
|
LIBS=$ac_check_lib_save_LIBS |
5207 |
|
fi |
5208 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
5209 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
5210 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
5211 |
|
LEXLIB="-ll" |
5212 |
fi |
fi |
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5213 |
|
|
5214 |
fi |
fi |
5215 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
LEXLIB="-l$ac_lib" |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5216 |
fi |
fi |
5217 |
|
|
5218 |
|
if test "x$LEX" != "x:"; then |
5219 |
|
echo "$as_me:$LINENO: checking lex output file root" >&5 |
5220 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
5221 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
5222 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5223 |
|
else |
5224 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
5225 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
5226 |
|
cat >conftest.l <<_ACEOF |
5227 |
|
%% |
5228 |
|
%% |
5229 |
|
_ACEOF |
5230 |
|
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
5231 |
|
(eval $LEX conftest.l) 2>&5 |
5232 |
|
ac_status=$? |
5233 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5234 |
|
(exit $ac_status); } |
5235 |
|
if test -f lex.yy.c; then |
5236 |
|
ac_cv_prog_lex_root=lex.yy |
5237 |
|
elif test -f lexyy.c; then |
5238 |
|
ac_cv_prog_lex_root=lexyy |
5239 |
|
else |
5240 |
|
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
5241 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
5242 |
|
{ (exit 1); exit 1; }; } |
5243 |
|
fi |
5244 |
|
fi |
5245 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
5246 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
5247 |
|
rm -f conftest.l |
5248 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
5249 |
|
|
5250 |
|
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
5251 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
5252 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
5253 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5254 |
|
else |
5255 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
5256 |
|
# default is implementation-dependent. Figure out which it is, since |
5257 |
|
# not all implementations provide the %pointer and %array declarations. |
5258 |
|
ac_cv_prog_lex_yytext_pointer=no |
5259 |
|
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c |
5260 |
|
ac_save_LIBS=$LIBS |
5261 |
|
LIBS="$LIBS $LEXLIB" |
5262 |
|
cat >conftest.$ac_ext <<_ACEOF |
5263 |
|
`cat $LEX_OUTPUT_ROOT.c` |
5264 |
|
_ACEOF |
5265 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5266 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5267 |
|
(eval $ac_link) 2>conftest.er1 |
5268 |
|
ac_status=$? |
5269 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5270 |
|
rm -f conftest.er1 |
5271 |
|
cat conftest.err >&5 |
5272 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5273 |
|
(exit $ac_status); } && |
5274 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5275 |
|
|| test ! -s conftest.err' |
5276 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5277 |
|
(eval $ac_try) 2>&5 |
5278 |
|
ac_status=$? |
5279 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 |
|
(exit $ac_status); }; } && |
5281 |
|
{ ac_try='test -s conftest$ac_exeext' |
5282 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5283 |
|
(eval $ac_try) 2>&5 |
5284 |
|
ac_status=$? |
5285 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5286 |
|
(exit $ac_status); }; }; then |
5287 |
|
ac_cv_prog_lex_yytext_pointer=yes |
5288 |
|
else |
5289 |
|
echo "$as_me: failed program was:" >&5 |
5290 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5291 |
|
|
5292 |
|
fi |
5293 |
|
rm -f conftest.err conftest.$ac_objext \ |
5294 |
|
conftest$ac_exeext conftest.$ac_ext |
5295 |
|
LIBS=$ac_save_LIBS |
5296 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
5297 |
|
|
5298 |
|
fi |
5299 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
5300 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
5301 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
5302 |
|
|
5303 |
|
cat >>confdefs.h <<\_ACEOF |
5304 |
|
#define YYTEXT_POINTER 1 |
5305 |
|
_ACEOF |
5306 |
|
|
5307 |
fi |
fi |
5308 |
|
|
5309 |
fi |
fi |
5310 |
|
fi |
5311 |
|
|
5312 |
|
|
5313 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5324 |
# See if erf(), the error function, exists; if so, define |
# See if erf(), the error function, exists; if so, define |
5325 |
# HAVE_ERF. |
# HAVE_ERF. |
5326 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5327 |
echo $ac_n "checking for sin""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sin" >&5 |
5328 |
echo "configure:1899: checking for sin" >&5 |
echo $ECHO_N "checking for sin... $ECHO_C" >&6 |
5329 |
if eval "test \"`echo '$''{'ac_cv_func_sin'+set}'`\" = set"; then |
if test "${ac_cv_func_sin+set}" = set; then |
5330 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5331 |
else |
else |
5332 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5333 |
#line 1904 "configure" |
/* confdefs.h. */ |
5334 |
#include "confdefs.h" |
_ACEOF |
5335 |
|
cat confdefs.h >>conftest.$ac_ext |
5336 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5337 |
|
/* end confdefs.h. */ |
5338 |
|
/* Define sin to an innocuous variant, in case <limits.h> declares sin. |
5339 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5340 |
|
#define sin innocuous_sin |
5341 |
|
|
5342 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5343 |
which can conflict with char sin(); below. */ |
which can conflict with char sin (); below. |
5344 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5345 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
5346 |
/* We use char because int might match the return type of a gcc2 |
|
5347 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
5348 |
char sin(); |
# include <limits.h> |
5349 |
|
#else |
5350 |
|
# include <assert.h> |
5351 |
|
#endif |
5352 |
|
|
5353 |
int main() { |
#undef sin |
5354 |
|
|
5355 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5356 |
|
#ifdef __cplusplus |
5357 |
|
extern "C" |
5358 |
|
{ |
5359 |
|
#endif |
5360 |
|
/* We use char because int might match the return type of a gcc2 |
5361 |
|
builtin and then its argument prototype would still apply. */ |
5362 |
|
char sin (); |
5363 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5364 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5365 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5366 |
#if defined (__stub_sin) || defined (__stub___sin) |
#if defined (__stub_sin) || defined (__stub___sin) |
5367 |
choke me |
choke me |
5368 |
#else |
#else |
5369 |
sin(); |
char (*f) () = sin; |
5370 |
|
#endif |
5371 |
|
#ifdef __cplusplus |
5372 |
|
} |
5373 |
#endif |
#endif |
5374 |
|
|
5375 |
; return 0; } |
int |
5376 |
EOF |
main () |
5377 |
if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
5378 |
rm -rf conftest* |
return f != sin; |
5379 |
eval "ac_cv_func_sin=yes" |
; |
5380 |
else |
return 0; |
5381 |
echo "configure: failed program was:" >&5 |
} |
5382 |
cat conftest.$ac_ext >&5 |
_ACEOF |
5383 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
5384 |
eval "ac_cv_func_sin=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5385 |
fi |
(eval $ac_link) 2>conftest.er1 |
5386 |
rm -f conftest* |
ac_status=$? |
5387 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
5388 |
|
rm -f conftest.er1 |
5389 |
if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then |
cat conftest.err >&5 |
5390 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5391 |
|
(exit $ac_status); } && |
5392 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5393 |
|
|| test ! -s conftest.err' |
5394 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5395 |
|
(eval $ac_try) 2>&5 |
5396 |
|
ac_status=$? |
5397 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5398 |
|
(exit $ac_status); }; } && |
5399 |
|
{ ac_try='test -s conftest$ac_exeext' |
5400 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5401 |
|
(eval $ac_try) 2>&5 |
5402 |
|
ac_status=$? |
5403 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5404 |
|
(exit $ac_status); }; }; then |
5405 |
|
ac_cv_func_sin=yes |
5406 |
|
else |
5407 |
|
echo "$as_me: failed program was:" >&5 |
5408 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5409 |
|
|
5410 |
|
ac_cv_func_sin=no |
5411 |
|
fi |
5412 |
|
rm -f conftest.err conftest.$ac_objext \ |
5413 |
|
conftest$ac_exeext conftest.$ac_ext |
5414 |
|
fi |
5415 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5 |
5416 |
|
echo "${ECHO_T}$ac_cv_func_sin" >&6 |
5417 |
|
if test $ac_cv_func_sin = yes; then |
5418 |
MATH_LIBS="" |
MATH_LIBS="" |
5419 |
else |
else |
5420 |
echo "$ac_t""no" 1>&6 |
MATH_LIBS="-lm" |
|
MATH_LIBS="-lm" |
|
5421 |
fi |
fi |
5422 |
|
|
5423 |
|
|
5424 |
echo $ac_n "checking for printf in -lieee""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lieee" >&5 |
5425 |
echo "configure:1949: checking for printf in -lieee" >&5 |
echo $ECHO_N "checking for printf in -lieee... $ECHO_C" >&6 |
5426 |
ac_lib_var=`echo ieee'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ieee_printf+set}" = set; then |
5427 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5428 |
else |
else |
5429 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5430 |
LIBS="-lieee $LIBS" |
LIBS="-lieee $LIBS" |
5431 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5432 |
#line 1957 "configure" |
/* confdefs.h. */ |
5433 |
#include "confdefs.h" |
_ACEOF |
5434 |
|
cat confdefs.h >>conftest.$ac_ext |
5435 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5436 |
|
/* end confdefs.h. */ |
5437 |
|
|
5438 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5439 |
|
#ifdef __cplusplus |
5440 |
|
extern "C" |
5441 |
|
#endif |
5442 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5443 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5444 |
char printf(); |
char printf (); |
5445 |
|
int |
5446 |
int main() { |
main () |
5447 |
printf() |
{ |
5448 |
; return 0; } |
printf (); |
5449 |
EOF |
; |
5450 |
if { (eval echo configure:1968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5451 |
rm -rf conftest* |
} |
5452 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5453 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5454 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5455 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
5456 |
rm -rf conftest* |
ac_status=$? |
5457 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
5458 |
fi |
rm -f conftest.er1 |
5459 |
rm -f conftest* |
cat conftest.err >&5 |
5460 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5461 |
|
(exit $ac_status); } && |
5462 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
5463 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
5464 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5465 |
|
(eval $ac_try) 2>&5 |
5466 |
|
ac_status=$? |
5467 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5468 |
|
(exit $ac_status); }; } && |
5469 |
|
{ ac_try='test -s conftest$ac_exeext' |
5470 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5471 |
|
(eval $ac_try) 2>&5 |
5472 |
|
ac_status=$? |
5473 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5474 |
|
(exit $ac_status); }; }; then |
5475 |
|
ac_cv_lib_ieee_printf=yes |
5476 |
|
else |
5477 |
|
echo "$as_me: failed program was:" >&5 |
5478 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5479 |
|
|
5480 |
|
ac_cv_lib_ieee_printf=no |
5481 |
|
fi |
5482 |
|
rm -f conftest.err conftest.$ac_objext \ |
5483 |
|
conftest$ac_exeext conftest.$ac_ext |
5484 |
|
LIBS=$ac_check_lib_save_LIBS |
5485 |
|
fi |
5486 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_printf" >&5 |
5487 |
|
echo "${ECHO_T}$ac_cv_lib_ieee_printf" >&6 |
5488 |
|
if test $ac_cv_lib_ieee_printf = yes; then |
5489 |
MATH_LIBS="-lieee $MATH_LIBS" |
MATH_LIBS="-lieee $MATH_LIBS" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5490 |
fi |
fi |
5491 |
|
|
5492 |
|
|
5493 |
if test -n "$MATH_LIBS" ; then |
if test -n "$MATH_LIBS" ; then |
5494 |
echo $ac_n "checking for copysign in -lm""... $ac_c" 1>&6 |
|
5495 |
echo "configure:1991: checking for copysign in -lm" >&5 |
echo "$as_me:$LINENO: checking for copysign in -lm" >&5 |
5496 |
ac_lib_var=`echo m'_'copysign | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6 |
5497 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_m_copysign+set}" = set; then |
5498 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5499 |
else |
else |
5500 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5501 |
LIBS="-lm $MATH_LIBS $LIBS" |
LIBS="-lm $MATH_LIBS $LIBS" |
5502 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5503 |
#line 1999 "configure" |
/* confdefs.h. */ |
5504 |
#include "confdefs.h" |
_ACEOF |
5505 |
|
cat confdefs.h >>conftest.$ac_ext |
5506 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5507 |
|
/* end confdefs.h. */ |
5508 |
|
|
5509 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5510 |
|
#ifdef __cplusplus |
5511 |
|
extern "C" |
5512 |
|
#endif |
5513 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5514 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5515 |
char copysign(); |
char copysign (); |
5516 |
|
int |
5517 |
int main() { |
main () |
5518 |
copysign() |
{ |
5519 |
; return 0; } |
copysign (); |
5520 |
EOF |
; |
5521 |
if { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5522 |
rm -rf conftest* |
} |
5523 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5524 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5525 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5526 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
5527 |
rm -rf conftest* |
ac_status=$? |
5528 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
5529 |
fi |
rm -f conftest.er1 |
5530 |
rm -f conftest* |
cat conftest.err >&5 |
5531 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5532 |
|
(exit $ac_status); } && |
5533 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
5534 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
5535 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5536 |
ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
(eval $ac_try) 2>&5 |
5537 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
ac_status=$? |
5538 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5539 |
#define $ac_tr_lib 1 |
(exit $ac_status); }; } && |
5540 |
EOF |
{ ac_try='test -s conftest$ac_exeext' |
5541 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5542 |
|
(eval $ac_try) 2>&5 |
5543 |
|
ac_status=$? |
5544 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5545 |
|
(exit $ac_status); }; }; then |
5546 |
|
ac_cv_lib_m_copysign=yes |
5547 |
|
else |
5548 |
|
echo "$as_me: failed program was:" >&5 |
5549 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5550 |
|
|
5551 |
|
ac_cv_lib_m_copysign=no |
5552 |
|
fi |
5553 |
|
rm -f conftest.err conftest.$ac_objext \ |
5554 |
|
conftest$ac_exeext conftest.$ac_ext |
5555 |
|
LIBS=$ac_check_lib_save_LIBS |
5556 |
|
fi |
5557 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5 |
5558 |
|
echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6 |
5559 |
|
if test $ac_cv_lib_m_copysign = yes; then |
5560 |
|
cat >>confdefs.h <<_ACEOF |
5561 |
|
#define HAVE_LIBM 1 |
5562 |
|
_ACEOF |
5563 |
|
|
5564 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
5565 |
|
|
5566 |
else |
else |
5567 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for drem in -lm" >&5 |
5568 |
echo $ac_n "checking for drem in -lm""... $ac_c" 1>&6 |
echo $ECHO_N "checking for drem in -lm... $ECHO_C" >&6 |
5569 |
echo "configure:2036: checking for drem in -lm" >&5 |
if test "${ac_cv_lib_m_drem+set}" = set; then |
5570 |
ac_lib_var=`echo m'_'drem | sed 'y%./+-%__p_%'` |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5571 |
else |
else |
5572 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5573 |
LIBS="-lm /lib/pa1.1/libM.a |
LIBS="-lm /lib/pa1.1/libM.a |
5574 |
$LIBS" |
$LIBS" |
5575 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5576 |
#line 2045 "configure" |
/* confdefs.h. */ |
5577 |
#include "confdefs.h" |
_ACEOF |
5578 |
|
cat confdefs.h >>conftest.$ac_ext |
5579 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5580 |
|
/* end confdefs.h. */ |
5581 |
|
|
5582 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5583 |
|
#ifdef __cplusplus |
5584 |
|
extern "C" |
5585 |
|
#endif |
5586 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5587 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5588 |
char drem(); |
char drem (); |
5589 |
|
int |
5590 |
int main() { |
main () |
5591 |
drem() |
{ |
5592 |
; return 0; } |
drem (); |
5593 |
EOF |
; |
5594 |
if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5595 |
rm -rf conftest* |
} |
5596 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5597 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5598 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5599 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
5600 |
rm -rf conftest* |
ac_status=$? |
5601 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
5602 |
fi |
rm -f conftest.er1 |
5603 |
rm -f conftest* |
cat conftest.err >&5 |
5604 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5605 |
|
(exit $ac_status); } && |
5606 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
5607 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
5608 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5609 |
|
(eval $ac_try) 2>&5 |
5610 |
|
ac_status=$? |
5611 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5612 |
|
(exit $ac_status); }; } && |
5613 |
|
{ ac_try='test -s conftest$ac_exeext' |
5614 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5615 |
|
(eval $ac_try) 2>&5 |
5616 |
|
ac_status=$? |
5617 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5618 |
|
(exit $ac_status); }; }; then |
5619 |
|
ac_cv_lib_m_drem=yes |
5620 |
|
else |
5621 |
|
echo "$as_me: failed program was:" >&5 |
5622 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5623 |
|
|
5624 |
|
ac_cv_lib_m_drem=no |
5625 |
|
fi |
5626 |
|
rm -f conftest.err conftest.$ac_objext \ |
5627 |
|
conftest$ac_exeext conftest.$ac_ext |
5628 |
|
LIBS=$ac_check_lib_save_LIBS |
5629 |
|
fi |
5630 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_drem" >&5 |
5631 |
|
echo "${ECHO_T}$ac_cv_lib_m_drem" >&6 |
5632 |
|
if test $ac_cv_lib_m_drem = yes; then |
5633 |
MATH_LIBS="$MATH_LIBS /lib/pa1.1/libM.a" |
MATH_LIBS="$MATH_LIBS /lib/pa1.1/libM.a" |
5634 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5635 |
fi |
fi |
5636 |
|
|
5637 |
fi |
fi |
5642 |
# check for erf(), then reset the value of LIBS. |
# check for erf(), then reset the value of LIBS. |
5643 |
asc_keep_LIBS="$LIBS" |
asc_keep_LIBS="$LIBS" |
5644 |
LIBS="$LIBS $MATH_LIBS" |
LIBS="$LIBS $MATH_LIBS" |
5645 |
|
|
5646 |
for ac_func in erf |
for ac_func in erf |
5647 |
do |
do |
5648 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5649 |
echo "configure:2088: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5650 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5651 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5652 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5653 |
cat > conftest.$ac_ext <<EOF |
else |
5654 |
#line 2093 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
5655 |
#include "confdefs.h" |
/* confdefs.h. */ |
5656 |
|
_ACEOF |
5657 |
|
cat confdefs.h >>conftest.$ac_ext |
5658 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5659 |
|
/* end confdefs.h. */ |
5660 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5661 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5662 |
|
#define $ac_func innocuous_$ac_func |
5663 |
|
|
5664 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5665 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
5666 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5667 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
5668 |
/* We use char because int might match the return type of a gcc2 |
|
5669 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
5670 |
char $ac_func(); |
# include <limits.h> |
5671 |
|
#else |
5672 |
|
# include <assert.h> |
5673 |
|
#endif |
5674 |
|
|
5675 |
int main() { |
#undef $ac_func |
5676 |
|
|
5677 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5678 |
|
#ifdef __cplusplus |
5679 |
|
extern "C" |
5680 |
|
{ |
5681 |
|
#endif |
5682 |
|
/* We use char because int might match the return type of a gcc2 |
5683 |
|
builtin and then its argument prototype would still apply. */ |
5684 |
|
char $ac_func (); |
5685 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5686 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5687 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5688 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5689 |
choke me |
choke me |
5690 |
#else |
#else |
5691 |
$ac_func(); |
char (*f) () = $ac_func; |
5692 |
|
#endif |
5693 |
|
#ifdef __cplusplus |
5694 |
|
} |
5695 |
#endif |
#endif |
5696 |
|
|
5697 |
; return 0; } |
int |
5698 |
EOF |
main () |
5699 |
if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
5700 |
rm -rf conftest* |
return f != $ac_func; |
5701 |
eval "ac_cv_func_$ac_func=yes" |
; |
5702 |
else |
return 0; |
5703 |
echo "configure: failed program was:" >&5 |
} |
5704 |
cat conftest.$ac_ext >&5 |
_ACEOF |
5705 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
5706 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5707 |
fi |
(eval $ac_link) 2>conftest.er1 |
5708 |
rm -f conftest* |
ac_status=$? |
5709 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
5710 |
|
rm -f conftest.er1 |
5711 |
|
cat conftest.err >&5 |
5712 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5713 |
|
(exit $ac_status); } && |
5714 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5715 |
|
|| test ! -s conftest.err' |
5716 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5717 |
|
(eval $ac_try) 2>&5 |
5718 |
|
ac_status=$? |
5719 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5720 |
|
(exit $ac_status); }; } && |
5721 |
|
{ ac_try='test -s conftest$ac_exeext' |
5722 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5723 |
|
(eval $ac_try) 2>&5 |
5724 |
|
ac_status=$? |
5725 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 |
|
(exit $ac_status); }; }; then |
5727 |
|
eval "$as_ac_var=yes" |
5728 |
|
else |
5729 |
|
echo "$as_me: failed program was:" >&5 |
5730 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5731 |
|
|
5732 |
|
eval "$as_ac_var=no" |
5733 |
|
fi |
5734 |
|
rm -f conftest.err conftest.$ac_objext \ |
5735 |
|
conftest$ac_exeext conftest.$ac_ext |
5736 |
|
fi |
5737 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5738 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5739 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5740 |
|
cat >>confdefs.h <<_ACEOF |
5741 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5742 |
|
_ACEOF |
5743 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5744 |
fi |
fi |
5745 |
done |
done |
5746 |
|
|
5757 |
# can find the X library without the user having to set |
# can find the X library without the user having to set |
5758 |
# LD_LIBRARY_PATH |
# LD_LIBRARY_PATH |
5759 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5760 |
# If we find X, set shell vars x_includes and x_libraries to the |
echo "$as_me:$LINENO: checking for X" >&5 |
5761 |
# paths, otherwise set no_x=yes. |
echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5762 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
# --without-x overrides everything else, but does not touch the cache. |
|
|
echo $ac_n "checking for X""... $ac_c" 1>&6 |
|
|
echo "configure:2158: checking for X" >&5 |
|
5763 |
|
|
5764 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
5765 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
5766 |
withval="$with_x" |
withval="$with_x" |
|
: |
|
|
fi |
|
5767 |
|
|
5768 |
|
fi; |
5769 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
5770 |
if test "x$with_x" = xno; then |
if test "x$with_x" = xno; then |
5771 |
# The user explicitly disabled X. |
# The user explicitly disabled X. |
5775 |
# Both variables are already set. |
# Both variables are already set. |
5776 |
have_x=yes |
have_x=yes |
5777 |
else |
else |
5778 |
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
if test "${ac_cv_have_x+set}" = set; then |
5779 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5780 |
else |
else |
5781 |
# One or both of the vars are not set, and there is no cached value. |
# One or both of the vars are not set, and there is no cached value. |
5782 |
ac_x_includes=NO ac_x_libraries=NO |
ac_x_includes=no ac_x_libraries=no |
5783 |
rm -fr conftestdir |
rm -fr conftest.dir |
5784 |
if mkdir conftestdir; then |
if mkdir conftest.dir; then |
5785 |
cd conftestdir |
cd conftest.dir |
5786 |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
5787 |
cat > Imakefile <<'EOF' |
cat >Imakefile <<'_ACEOF' |
5788 |
acfindx: |
acfindx: |
5789 |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
5790 |
EOF |
_ACEOF |
5791 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
5792 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
5793 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
5794 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
5795 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
5796 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
5797 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
test -f $ac_im_libdir/libX11.$ac_extension; then |
5798 |
ac_im_usrlibdir=$ac_im_libdir; break |
ac_im_usrlibdir=$ac_im_libdir; break |
5799 |
fi |
fi |
5800 |
done |
done |
5801 |
# Screen out bogus values from the imake configuration. They are |
# Screen out bogus values from the imake configuration. They are |
5802 |
# bogus both because they are the default anyway, and because |
# bogus both because they are the default anyway, and because |
5803 |
# using them would break gcc on systems where it needs fixed includes. |
# using them would break gcc on systems where it needs fixed includes. |
5804 |
case "$ac_im_incroot" in |
case $ac_im_incroot in |
5805 |
/usr/include) ;; |
/usr/include) ;; |
5806 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
5807 |
esac |
esac |
5808 |
case "$ac_im_usrlibdir" in |
case $ac_im_usrlibdir in |
5809 |
/usr/lib | /lib) ;; |
/usr/lib | /lib) ;; |
5810 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
5811 |
esac |
esac |
5812 |
fi |
fi |
5813 |
cd .. |
cd .. |
5814 |
rm -fr conftestdir |
rm -fr conftest.dir |
5815 |
fi |
fi |
5816 |
|
|
5817 |
if test "$ac_x_includes" = NO; then |
# Standard set of common directories for X headers. |
5818 |
# Guess where to find include files, by looking for this one X11 .h file. |
# Check X11 before X11Rn because it is often a symlink to the current release. |
5819 |
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
ac_x_header_dirs=' |
5820 |
|
/usr/X11/include |
5821 |
|
/usr/X11R6/include |
5822 |
|
/usr/X11R5/include |
5823 |
|
/usr/X11R4/include |
5824 |
|
|
5825 |
|
/usr/include/X11 |
5826 |
|
/usr/include/X11R6 |
5827 |
|
/usr/include/X11R5 |
5828 |
|
/usr/include/X11R4 |
5829 |
|
|
5830 |
|
/usr/local/X11/include |
5831 |
|
/usr/local/X11R6/include |
5832 |
|
/usr/local/X11R5/include |
5833 |
|
/usr/local/X11R4/include |
5834 |
|
|
5835 |
|
/usr/local/include/X11 |
5836 |
|
/usr/local/include/X11R6 |
5837 |
|
/usr/local/include/X11R5 |
5838 |
|
/usr/local/include/X11R4 |
5839 |
|
|
5840 |
|
/usr/X386/include |
5841 |
|
/usr/x386/include |
5842 |
|
/usr/XFree86/include/X11 |
5843 |
|
|
5844 |
|
/usr/include |
5845 |
|
/usr/local/include |
5846 |
|
/usr/unsupported/include |
5847 |
|
/usr/athena/include |
5848 |
|
/usr/local/x11r5/include |
5849 |
|
/usr/lpp/Xamples/include |
5850 |
|
|
5851 |
|
/usr/openwin/include |
5852 |
|
/usr/openwin/share/include' |
5853 |
|
|
5854 |
|
if test "$ac_x_includes" = no; then |
5855 |
|
# Guess where to find include files, by looking for Intrinsic.h. |
5856 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
5857 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5858 |
#line 2220 "configure" |
/* confdefs.h. */ |
5859 |
#include "confdefs.h" |
_ACEOF |
5860 |
#include <$x_direct_test_include> |
cat confdefs.h >>conftest.$ac_ext |
5861 |
EOF |
cat >>conftest.$ac_ext <<_ACEOF |
5862 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
/* end confdefs.h. */ |
5863 |
{ (eval echo configure:2225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
#include <X11/Intrinsic.h> |
5864 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
_ACEOF |
5865 |
if test -z "$ac_err"; then |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5866 |
rm -rf conftest* |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5867 |
|
ac_status=$? |
5868 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5869 |
|
rm -f conftest.er1 |
5870 |
|
cat conftest.err >&5 |
5871 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5872 |
|
(exit $ac_status); } >/dev/null; then |
5873 |
|
if test -s conftest.err; then |
5874 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5875 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5876 |
|
else |
5877 |
|
ac_cpp_err= |
5878 |
|
fi |
5879 |
|
else |
5880 |
|
ac_cpp_err=yes |
5881 |
|
fi |
5882 |
|
if test -z "$ac_cpp_err"; then |
5883 |
# We can compile using X headers with no special include directory. |
# We can compile using X headers with no special include directory. |
5884 |
ac_x_includes= |
ac_x_includes= |
5885 |
else |
else |
5886 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
5887 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5888 |
cat conftest.$ac_ext >&5 |
|
5889 |
rm -rf conftest* |
for ac_dir in $ac_x_header_dirs; do |
5890 |
# Look for the header file in a standard set of common directories. |
if test -r "$ac_dir/X11/Intrinsic.h"; then |
5891 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
ac_x_includes=$ac_dir |
5892 |
for ac_dir in \ |
break |
5893 |
/usr/X11/include \ |
fi |
5894 |
/usr/X11R6/include \ |
done |
|
/usr/X11R5/include \ |
|
|
/usr/X11R4/include \ |
|
|
\ |
|
|
/usr/include/X11 \ |
|
|
/usr/include/X11R6 \ |
|
|
/usr/include/X11R5 \ |
|
|
/usr/include/X11R4 \ |
|
|
\ |
|
|
/usr/local/X11/include \ |
|
|
/usr/local/X11R6/include \ |
|
|
/usr/local/X11R5/include \ |
|
|
/usr/local/X11R4/include \ |
|
|
\ |
|
|
/usr/local/include/X11 \ |
|
|
/usr/local/include/X11R6 \ |
|
|
/usr/local/include/X11R5 \ |
|
|
/usr/local/include/X11R4 \ |
|
|
\ |
|
|
/usr/X386/include \ |
|
|
/usr/x386/include \ |
|
|
/usr/XFree86/include/X11 \ |
|
|
\ |
|
|
/usr/include \ |
|
|
/usr/local/include \ |
|
|
/usr/unsupported/include \ |
|
|
/usr/athena/include \ |
|
|
/usr/local/x11r5/include \ |
|
|
/usr/lpp/Xamples/include \ |
|
|
\ |
|
|
/usr/openwin/include \ |
|
|
/usr/openwin/share/include \ |
|
|
; \ |
|
|
do |
|
|
if test -r "$ac_dir/$x_direct_test_include"; then |
|
|
ac_x_includes=$ac_dir |
|
|
break |
|
|
fi |
|
|
done |
|
5895 |
fi |
fi |
5896 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
5897 |
fi # $ac_x_includes = NO |
fi # $ac_x_includes = no |
5898 |
|
|
5899 |
if test "$ac_x_libraries" = NO; then |
if test "$ac_x_libraries" = no; then |
5900 |
# Check for the libraries. |
# Check for the libraries. |
|
|
|
|
test -z "$x_direct_test_library" && x_direct_test_library=Xt |
|
|
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
|
|
|
|
5901 |
# See if we find them without any special options. |
# See if we find them without any special options. |
5902 |
# Don't add to $LIBS permanently. |
# Don't add to $LIBS permanently. |
5903 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS=$LIBS |
5904 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-lXt $LIBS" |
5905 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5906 |
#line 2294 "configure" |
/* confdefs.h. */ |
5907 |
#include "confdefs.h" |
_ACEOF |
5908 |
|
cat confdefs.h >>conftest.$ac_ext |
5909 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
5910 |
${x_direct_test_function}() |
/* end confdefs.h. */ |
5911 |
; return 0; } |
#include <X11/Intrinsic.h> |
5912 |
EOF |
int |
5913 |
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
main () |
5914 |
rm -rf conftest* |
{ |
5915 |
LIBS="$ac_save_LIBS" |
XtMalloc (0) |
5916 |
|
; |
5917 |
|
return 0; |
5918 |
|
} |
5919 |
|
_ACEOF |
5920 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5921 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5922 |
|
(eval $ac_link) 2>conftest.er1 |
5923 |
|
ac_status=$? |
5924 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5925 |
|
rm -f conftest.er1 |
5926 |
|
cat conftest.err >&5 |
5927 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5928 |
|
(exit $ac_status); } && |
5929 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5930 |
|
|| test ! -s conftest.err' |
5931 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5932 |
|
(eval $ac_try) 2>&5 |
5933 |
|
ac_status=$? |
5934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5935 |
|
(exit $ac_status); }; } && |
5936 |
|
{ ac_try='test -s conftest$ac_exeext' |
5937 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5938 |
|
(eval $ac_try) 2>&5 |
5939 |
|
ac_status=$? |
5940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5941 |
|
(exit $ac_status); }; }; then |
5942 |
|
LIBS=$ac_save_LIBS |
5943 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
5944 |
ac_x_libraries= |
ac_x_libraries= |
5945 |
else |
else |
5946 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
5947 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5948 |
rm -rf conftest* |
|
5949 |
LIBS="$ac_save_LIBS" |
LIBS=$ac_save_LIBS |
5950 |
# First see if replacing the include by lib works. |
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
|
# Check X11 before X11Rn because it is often a symlink to the current release. |
|
|
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
|
|
/usr/X11/lib \ |
|
|
/usr/X11R6/lib \ |
|
|
/usr/X11R5/lib \ |
|
|
/usr/X11R4/lib \ |
|
|
\ |
|
|
/usr/lib/X11 \ |
|
|
/usr/lib/X11R6 \ |
|
|
/usr/lib/X11R5 \ |
|
|
/usr/lib/X11R4 \ |
|
|
\ |
|
|
/usr/local/X11/lib \ |
|
|
/usr/local/X11R6/lib \ |
|
|
/usr/local/X11R5/lib \ |
|
|
/usr/local/X11R4/lib \ |
|
|
\ |
|
|
/usr/local/lib/X11 \ |
|
|
/usr/local/lib/X11R6 \ |
|
|
/usr/local/lib/X11R5 \ |
|
|
/usr/local/lib/X11R4 \ |
|
|
\ |
|
|
/usr/X386/lib \ |
|
|
/usr/x386/lib \ |
|
|
/usr/XFree86/lib/X11 \ |
|
|
\ |
|
|
/usr/lib \ |
|
|
/usr/local/lib \ |
|
|
/usr/unsupported/lib \ |
|
|
/usr/athena/lib \ |
|
|
/usr/local/x11r5/lib \ |
|
|
/usr/lpp/Xamples/lib \ |
|
|
/lib/usr/lib/X11 \ |
|
|
\ |
|
|
/usr/openwin/lib \ |
|
|
/usr/openwin/share/lib \ |
|
|
; \ |
|
5951 |
do |
do |
5952 |
|
# Don't even attempt the hair of trying to link an X program! |
5953 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
5954 |
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
if test -r $ac_dir/libXt.$ac_extension; then |
5955 |
ac_x_libraries=$ac_dir |
ac_x_libraries=$ac_dir |
5956 |
break 2 |
break 2 |
5957 |
fi |
fi |
5958 |
done |
done |
5959 |
done |
done |
5960 |
fi |
fi |
5961 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
5962 |
fi # $ac_x_libraries = NO |
conftest$ac_exeext conftest.$ac_ext |
5963 |
|
fi # $ac_x_libraries = no |
5964 |
|
|
5965 |
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
5966 |
# Didn't find X anywhere. Cache the known absence of X. |
# Didn't find X anywhere. Cache the known absence of X. |
5967 |
ac_cv_have_x="have_x=no" |
ac_cv_have_x="have_x=no" |
5968 |
else |
else |
5969 |
# Record where we found X for the cache. |
# Record where we found X for the cache. |
5970 |
ac_cv_have_x="have_x=yes \ |
ac_cv_have_x="have_x=yes \ |
5971 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
5972 |
fi |
fi |
5973 |
fi |
fi |
5974 |
|
|
5975 |
fi |
fi |
5976 |
eval "$ac_cv_have_x" |
eval "$ac_cv_have_x" |
5977 |
fi # $with_x != no |
fi # $with_x != no |
5978 |
|
|
5979 |
if test "$have_x" != yes; then |
if test "$have_x" != yes; then |
5980 |
echo "$ac_t""$have_x" 1>&6 |
echo "$as_me:$LINENO: result: $have_x" >&5 |
5981 |
|
echo "${ECHO_T}$have_x" >&6 |
5982 |
no_x=yes |
no_x=yes |
5983 |
else |
else |
5984 |
# If each of the values was on the command line, it overrides each guess. |
# If each of the values was on the command line, it overrides each guess. |
5987 |
# Update the cache value to reflect the command line values. |
# Update the cache value to reflect the command line values. |
5988 |
ac_cv_have_x="have_x=yes \ |
ac_cv_have_x="have_x=yes \ |
5989 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
5990 |
echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
5991 |
|
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
5992 |
fi |
fi |
5993 |
|
|
5994 |
if test -n "$x_includes"; then |
if test -n "$x_includes"; then |
5998 |
X11_LIBRARIES="-L$x_libraries" |
X11_LIBRARIES="-L$x_libraries" |
5999 |
case "$host" in |
case "$host" in |
6000 |
sparc-sun-solaris*) |
sparc-sun-solaris*) |
6001 |
X11_RUN_PATH="-R$x_libraries" |
X11_RUN_PATH="-R$x_libraries" |
6002 |
;; |
;; |
6003 |
mips-sgi-irix*) |
mips-sgi-irix*) |
6004 |
X11_RUN_PATH="-rpath $x_libraries" |
X11_RUN_PATH="-rpath $x_libraries" |
6030 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
6031 |
|
|
6032 |
asc_checkBoth=0 |
asc_checkBoth=0 |
6033 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
6034 |
echo "configure:2427: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
6035 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
6036 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6037 |
else |
else |
6038 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6039 |
#line 2432 "configure" |
/* confdefs.h. */ |
6040 |
#include "confdefs.h" |
_ACEOF |
6041 |
|
cat confdefs.h >>conftest.$ac_ext |
6042 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6043 |
|
/* end confdefs.h. */ |
6044 |
|
/* Define connect to an innocuous variant, in case <limits.h> declares connect. |
6045 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6046 |
|
#define connect innocuous_connect |
6047 |
|
|
6048 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6049 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. |
6050 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6051 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char connect(); |
|
6052 |
|
|
6053 |
int main() { |
#ifdef __STDC__ |
6054 |
|
# include <limits.h> |
6055 |
|
#else |
6056 |
|
# include <assert.h> |
6057 |
|
#endif |
6058 |
|
|
6059 |
|
#undef connect |
6060 |
|
|
6061 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6062 |
|
#ifdef __cplusplus |
6063 |
|
extern "C" |
6064 |
|
{ |
6065 |
|
#endif |
6066 |
|
/* We use char because int might match the return type of a gcc2 |
6067 |
|
builtin and then its argument prototype would still apply. */ |
6068 |
|
char connect (); |
6069 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6070 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6071 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6072 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
6073 |
choke me |
choke me |
6074 |
#else |
#else |
6075 |
connect(); |
char (*f) () = connect; |
6076 |
|
#endif |
6077 |
|
#ifdef __cplusplus |
6078 |
|
} |
6079 |
#endif |
#endif |
6080 |
|
|
6081 |
; return 0; } |
int |
6082 |
EOF |
main () |
6083 |
if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6084 |
rm -rf conftest* |
return f != connect; |
6085 |
eval "ac_cv_func_connect=yes" |
; |
6086 |
else |
return 0; |
6087 |
echo "configure: failed program was:" >&5 |
} |
6088 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6089 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6090 |
eval "ac_cv_func_connect=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6091 |
fi |
(eval $ac_link) 2>conftest.er1 |
6092 |
rm -f conftest* |
ac_status=$? |
6093 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6094 |
|
rm -f conftest.er1 |
6095 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
cat conftest.err >&5 |
6096 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6097 |
|
(exit $ac_status); } && |
6098 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6099 |
|
|| test ! -s conftest.err' |
6100 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6101 |
|
(eval $ac_try) 2>&5 |
6102 |
|
ac_status=$? |
6103 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6104 |
|
(exit $ac_status); }; } && |
6105 |
|
{ ac_try='test -s conftest$ac_exeext' |
6106 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6107 |
|
(eval $ac_try) 2>&5 |
6108 |
|
ac_status=$? |
6109 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6110 |
|
(exit $ac_status); }; }; then |
6111 |
|
ac_cv_func_connect=yes |
6112 |
|
else |
6113 |
|
echo "$as_me: failed program was:" >&5 |
6114 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6115 |
|
|
6116 |
|
ac_cv_func_connect=no |
6117 |
|
fi |
6118 |
|
rm -f conftest.err conftest.$ac_objext \ |
6119 |
|
conftest$ac_exeext conftest.$ac_ext |
6120 |
|
fi |
6121 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
6122 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
6123 |
|
if test $ac_cv_func_connect = yes; then |
6124 |
asc_checkSocket=0 |
asc_checkSocket=0 |
6125 |
else |
else |
6126 |
echo "$ac_t""no" 1>&6 |
asc_checkSocket=1 |
|
asc_checkSocket=1 |
|
6127 |
fi |
fi |
6128 |
|
|
6129 |
if test "$asc_checkSocket" = 1; then |
if test "$asc_checkSocket" = 1; then |
6130 |
echo $ac_n "checking for printf in -lsocket""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lsocket" >&5 |
6131 |
echo "configure:2477: checking for printf in -lsocket" >&5 |
echo $ECHO_N "checking for printf in -lsocket... $ECHO_C" >&6 |
6132 |
ac_lib_var=`echo socket'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_socket_printf+set}" = set; then |
6133 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
6134 |
else |
else |
6135 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6136 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
6137 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6138 |
#line 2485 "configure" |
/* confdefs.h. */ |
6139 |
#include "confdefs.h" |
_ACEOF |
6140 |
|
cat confdefs.h >>conftest.$ac_ext |
6141 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6142 |
|
/* end confdefs.h. */ |
6143 |
|
|
6144 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6145 |
|
#ifdef __cplusplus |
6146 |
|
extern "C" |
6147 |
|
#endif |
6148 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6149 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6150 |
char printf(); |
char printf (); |
6151 |
|
int |
6152 |
int main() { |
main () |
6153 |
printf() |
{ |
6154 |
; return 0; } |
printf (); |
6155 |
EOF |
; |
6156 |
if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6157 |
rm -rf conftest* |
} |
6158 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
6159 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
6160 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6161 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
6162 |
rm -rf conftest* |
ac_status=$? |
6163 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
6164 |
fi |
rm -f conftest.er1 |
6165 |
rm -f conftest* |
cat conftest.err >&5 |
6166 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6167 |
|
(exit $ac_status); } && |
6168 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
6169 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
6170 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6171 |
|
(eval $ac_try) 2>&5 |
6172 |
|
ac_status=$? |
6173 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6174 |
|
(exit $ac_status); }; } && |
6175 |
|
{ ac_try='test -s conftest$ac_exeext' |
6176 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6177 |
|
(eval $ac_try) 2>&5 |
6178 |
|
ac_status=$? |
6179 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6180 |
|
(exit $ac_status); }; }; then |
6181 |
|
ac_cv_lib_socket_printf=yes |
6182 |
|
else |
6183 |
|
echo "$as_me: failed program was:" >&5 |
6184 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6185 |
|
|
6186 |
|
ac_cv_lib_socket_printf=no |
6187 |
|
fi |
6188 |
|
rm -f conftest.err conftest.$ac_objext \ |
6189 |
|
conftest$ac_exeext conftest.$ac_ext |
6190 |
|
LIBS=$ac_check_lib_save_LIBS |
6191 |
|
fi |
6192 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_printf" >&5 |
6193 |
|
echo "${ECHO_T}$ac_cv_lib_socket_printf" >&6 |
6194 |
|
if test $ac_cv_lib_socket_printf = yes; then |
6195 |
X11_EXTRA_LIBS="-lsocket" |
X11_EXTRA_LIBS="-lsocket" |
6196 |
else |
else |
6197 |
echo "$ac_t""no" 1>&6 |
asc_checkBoth=1 |
|
asc_checkBoth=1 |
|
6198 |
fi |
fi |
6199 |
|
|
6200 |
fi |
fi |
6202 |
asc_oldLibs=$LIBS |
asc_oldLibs=$LIBS |
6203 |
X11_EXTRA_LIBS="-lsocket -lnsl" |
X11_EXTRA_LIBS="-lsocket -lnsl" |
6204 |
LIBS="$LIBS $X11_EXTRA_LIBS" |
LIBS="$LIBS $X11_EXTRA_LIBS" |
6205 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for accept" >&5 |
6206 |
echo "configure:2523: checking for accept" >&5 |
echo $ECHO_N "checking for accept... $ECHO_C" >&6 |
6207 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if test "${ac_cv_func_accept+set}" = set; then |
6208 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6209 |
else |
else |
6210 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6211 |
#line 2528 "configure" |
/* confdefs.h. */ |
6212 |
#include "confdefs.h" |
_ACEOF |
6213 |
|
cat confdefs.h >>conftest.$ac_ext |
6214 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6215 |
|
/* end confdefs.h. */ |
6216 |
|
/* Define accept to an innocuous variant, in case <limits.h> declares accept. |
6217 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6218 |
|
#define accept innocuous_accept |
6219 |
|
|
6220 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6221 |
which can conflict with char accept(); below. */ |
which can conflict with char accept (); below. |
6222 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6223 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
6224 |
/* We use char because int might match the return type of a gcc2 |
|
6225 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
6226 |
char accept(); |
# include <limits.h> |
6227 |
|
#else |
6228 |
|
# include <assert.h> |
6229 |
|
#endif |
6230 |
|
|
6231 |
int main() { |
#undef accept |
6232 |
|
|
6233 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6234 |
|
#ifdef __cplusplus |
6235 |
|
extern "C" |
6236 |
|
{ |
6237 |
|
#endif |
6238 |
|
/* We use char because int might match the return type of a gcc2 |
6239 |
|
builtin and then its argument prototype would still apply. */ |
6240 |
|
char accept (); |
6241 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6242 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6243 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6244 |
#if defined (__stub_accept) || defined (__stub___accept) |
#if defined (__stub_accept) || defined (__stub___accept) |
6245 |
choke me |
choke me |
6246 |
#else |
#else |
6247 |
accept(); |
char (*f) () = accept; |
6248 |
|
#endif |
6249 |
|
#ifdef __cplusplus |
6250 |
|
} |
6251 |
#endif |
#endif |
6252 |
|
|
6253 |
; return 0; } |
int |
6254 |
EOF |
main () |
6255 |
if { (eval echo configure:2551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6256 |
rm -rf conftest* |
return f != accept; |
6257 |
eval "ac_cv_func_accept=yes" |
; |
6258 |
else |
return 0; |
6259 |
echo "configure: failed program was:" >&5 |
} |
6260 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6261 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6262 |
eval "ac_cv_func_accept=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6263 |
fi |
(eval $ac_link) 2>conftest.er1 |
6264 |
rm -f conftest* |
ac_status=$? |
6265 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6266 |
|
rm -f conftest.er1 |
6267 |
if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then |
cat conftest.err >&5 |
6268 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6269 |
|
(exit $ac_status); } && |
6270 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6271 |
|
|| test ! -s conftest.err' |
6272 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6273 |
|
(eval $ac_try) 2>&5 |
6274 |
|
ac_status=$? |
6275 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6276 |
|
(exit $ac_status); }; } && |
6277 |
|
{ ac_try='test -s conftest$ac_exeext' |
6278 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6279 |
|
(eval $ac_try) 2>&5 |
6280 |
|
ac_status=$? |
6281 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6282 |
|
(exit $ac_status); }; }; then |
6283 |
|
ac_cv_func_accept=yes |
6284 |
|
else |
6285 |
|
echo "$as_me: failed program was:" >&5 |
6286 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6287 |
|
|
6288 |
|
ac_cv_func_accept=no |
6289 |
|
fi |
6290 |
|
rm -f conftest.err conftest.$ac_objext \ |
6291 |
|
conftest$ac_exeext conftest.$ac_ext |
6292 |
|
fi |
6293 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5 |
6294 |
|
echo "${ECHO_T}$ac_cv_func_accept" >&6 |
6295 |
|
if test $ac_cv_func_accept = yes; then |
6296 |
asc_checkNsl=0 |
asc_checkNsl=0 |
6297 |
else |
else |
6298 |
echo "$ac_t""no" 1>&6 |
X11_EXTRA_LIBS="" |
|
X11_EXTRA_LIBS="" |
|
6299 |
fi |
fi |
6300 |
|
|
6301 |
LIBS=$asc_oldLibs |
LIBS=$asc_oldLibs |
6302 |
fi |
fi |
6303 |
asc_oldLibs=$LIBS |
asc_oldLibs=$LIBS |
6304 |
LIBS="$LIBS $X11_EXTRA_LIBS" |
LIBS="$LIBS $X11_EXTRA_LIBS" |
6305 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
6306 |
echo "configure:2576: checking for gethostbyname" >&5 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
6307 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
6308 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6309 |
else |
else |
6310 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6311 |
#line 2581 "configure" |
/* confdefs.h. */ |
6312 |
#include "confdefs.h" |
_ACEOF |
6313 |
|
cat confdefs.h >>conftest.$ac_ext |
6314 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6315 |
|
/* end confdefs.h. */ |
6316 |
|
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
6317 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6318 |
|
#define gethostbyname innocuous_gethostbyname |
6319 |
|
|
6320 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6321 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname (); below. |
6322 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6323 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char gethostbyname(); |
|
6324 |
|
|
6325 |
int main() { |
#ifdef __STDC__ |
6326 |
|
# include <limits.h> |
6327 |
|
#else |
6328 |
|
# include <assert.h> |
6329 |
|
#endif |
6330 |
|
|
6331 |
|
#undef gethostbyname |
6332 |
|
|
6333 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6334 |
|
#ifdef __cplusplus |
6335 |
|
extern "C" |
6336 |
|
{ |
6337 |
|
#endif |
6338 |
|
/* We use char because int might match the return type of a gcc2 |
6339 |
|
builtin and then its argument prototype would still apply. */ |
6340 |
|
char gethostbyname (); |
6341 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6342 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6343 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6344 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
6345 |
choke me |
choke me |
6346 |
#else |
#else |
6347 |
gethostbyname(); |
char (*f) () = gethostbyname; |
6348 |
|
#endif |
6349 |
|
#ifdef __cplusplus |
6350 |
|
} |
6351 |
#endif |
#endif |
6352 |
|
|
6353 |
; return 0; } |
int |
6354 |
EOF |
main () |
6355 |
if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6356 |
rm -rf conftest* |
return f != gethostbyname; |
6357 |
eval "ac_cv_func_gethostbyname=yes" |
; |
6358 |
else |
return 0; |
6359 |
echo "configure: failed program was:" >&5 |
} |
6360 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6361 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6362 |
eval "ac_cv_func_gethostbyname=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6363 |
fi |
(eval $ac_link) 2>conftest.er1 |
6364 |
rm -f conftest* |
ac_status=$? |
6365 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6366 |
|
rm -f conftest.er1 |
6367 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
cat conftest.err >&5 |
6368 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6369 |
|
(exit $ac_status); } && |
6370 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6371 |
|
|| test ! -s conftest.err' |
6372 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6373 |
|
(eval $ac_try) 2>&5 |
6374 |
|
ac_status=$? |
6375 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6376 |
|
(exit $ac_status); }; } && |
6377 |
|
{ ac_try='test -s conftest$ac_exeext' |
6378 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6379 |
|
(eval $ac_try) 2>&5 |
6380 |
|
ac_status=$? |
6381 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6382 |
|
(exit $ac_status); }; }; then |
6383 |
|
ac_cv_func_gethostbyname=yes |
6384 |
|
else |
6385 |
|
echo "$as_me: failed program was:" >&5 |
6386 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6387 |
|
|
6388 |
|
ac_cv_func_gethostbyname=no |
6389 |
|
fi |
6390 |
|
rm -f conftest.err conftest.$ac_objext \ |
6391 |
|
conftest$ac_exeext conftest.$ac_ext |
6392 |
|
fi |
6393 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
6394 |
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
6395 |
|
if test $ac_cv_func_gethostbyname = yes; then |
6396 |
: |
: |
6397 |
else |
else |
6398 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lnsl" >&5 |
6399 |
echo $ac_n "checking for printf in -lnsl""... $ac_c" 1>&6 |
echo $ECHO_N "checking for printf in -lnsl... $ECHO_C" >&6 |
6400 |
echo "configure:2622: checking for printf in -lnsl" >&5 |
if test "${ac_cv_lib_nsl_printf+set}" = set; then |
6401 |
ac_lib_var=`echo nsl'_'printf | sed 'y%./+-%__p_%'` |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
6402 |
else |
else |
6403 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6404 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
6405 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6406 |
#line 2630 "configure" |
/* confdefs.h. */ |
6407 |
#include "confdefs.h" |
_ACEOF |
6408 |
|
cat confdefs.h >>conftest.$ac_ext |
6409 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6410 |
|
/* end confdefs.h. */ |
6411 |
|
|
6412 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6413 |
|
#ifdef __cplusplus |
6414 |
|
extern "C" |
6415 |
|
#endif |
6416 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6417 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6418 |
char printf(); |
char printf (); |
6419 |
|
int |
6420 |
int main() { |
main () |
6421 |
printf() |
{ |
6422 |
; return 0; } |
printf (); |
6423 |
EOF |
; |
6424 |
if { (eval echo configure:2641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6425 |
rm -rf conftest* |
} |
6426 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
6427 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
6428 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6429 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
6430 |
rm -rf conftest* |
ac_status=$? |
6431 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
6432 |
fi |
rm -f conftest.er1 |
6433 |
rm -f conftest* |
cat conftest.err >&5 |
6434 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6435 |
|
(exit $ac_status); } && |
6436 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
6437 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
6438 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6439 |
|
(eval $ac_try) 2>&5 |
6440 |
|
ac_status=$? |
6441 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6442 |
|
(exit $ac_status); }; } && |
6443 |
|
{ ac_try='test -s conftest$ac_exeext' |
6444 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6445 |
|
(eval $ac_try) 2>&5 |
6446 |
|
ac_status=$? |
6447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6448 |
|
(exit $ac_status); }; }; then |
6449 |
|
ac_cv_lib_nsl_printf=yes |
6450 |
|
else |
6451 |
|
echo "$as_me: failed program was:" >&5 |
6452 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6453 |
|
|
6454 |
|
ac_cv_lib_nsl_printf=no |
6455 |
|
fi |
6456 |
|
rm -f conftest.err conftest.$ac_objext \ |
6457 |
|
conftest$ac_exeext conftest.$ac_ext |
6458 |
|
LIBS=$ac_check_lib_save_LIBS |
6459 |
|
fi |
6460 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5 |
6461 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_printf" >&6 |
6462 |
|
if test $ac_cv_lib_nsl_printf = yes; then |
6463 |
X11_EXTRA_LIBS="$X11_EXTRA_LIBS -lnsl" |
X11_EXTRA_LIBS="$X11_EXTRA_LIBS -lnsl" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6464 |
fi |
fi |
6465 |
|
|
6466 |
fi |
fi |
6531 |
# Step 2: check for existence of -ldl library. This is needed because |
# Step 2: check for existence of -ldl library. This is needed because |
6532 |
# Linux can use either -ldl or -ldld for dynamic loading. |
# Linux can use either -ldl or -ldld for dynamic loading. |
6533 |
|
|
6534 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
6535 |
echo "configure:2730: checking for dlopen in -ldl" >&5 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
6536 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
6537 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
6538 |
else |
else |
6539 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6540 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
6541 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6542 |
#line 2738 "configure" |
/* confdefs.h. */ |
6543 |
#include "confdefs.h" |
_ACEOF |
6544 |
|
cat confdefs.h >>conftest.$ac_ext |
6545 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6546 |
|
/* end confdefs.h. */ |
6547 |
|
|
6548 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6549 |
|
#ifdef __cplusplus |
6550 |
|
extern "C" |
6551 |
|
#endif |
6552 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6553 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6554 |
char dlopen(); |
char dlopen (); |
6555 |
|
int |
6556 |
int main() { |
main () |
6557 |
dlopen() |
{ |
6558 |
; return 0; } |
dlopen (); |
6559 |
EOF |
; |
6560 |
if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6561 |
rm -rf conftest* |
} |
6562 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
6563 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
6564 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6565 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
6566 |
rm -rf conftest* |
ac_status=$? |
6567 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
6568 |
fi |
rm -f conftest.er1 |
6569 |
rm -f conftest* |
cat conftest.err >&5 |
6570 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6571 |
|
(exit $ac_status); } && |
6572 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
6573 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
6574 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6575 |
|
(eval $ac_try) 2>&5 |
6576 |
|
ac_status=$? |
6577 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6578 |
|
(exit $ac_status); }; } && |
6579 |
|
{ ac_try='test -s conftest$ac_exeext' |
6580 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6581 |
|
(eval $ac_try) 2>&5 |
6582 |
|
ac_status=$? |
6583 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6584 |
|
(exit $ac_status); }; }; then |
6585 |
|
ac_cv_lib_dl_dlopen=yes |
6586 |
|
else |
6587 |
|
echo "$as_me: failed program was:" >&5 |
6588 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6589 |
|
|
6590 |
|
ac_cv_lib_dl_dlopen=no |
6591 |
|
fi |
6592 |
|
rm -f conftest.err conftest.$ac_objext \ |
6593 |
|
conftest$ac_exeext conftest.$ac_ext |
6594 |
|
LIBS=$ac_check_lib_save_LIBS |
6595 |
|
fi |
6596 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
6597 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
6598 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
6599 |
have_dl=yes |
have_dl=yes |
6600 |
else |
else |
6601 |
echo "$ac_t""no" 1>&6 |
have_dl=no |
|
have_dl=no |
|
6602 |
fi |
fi |
6603 |
|
|
6604 |
|
|
6640 |
LD_SEARCH_FLAGS="" |
LD_SEARCH_FLAGS="" |
6641 |
;; |
;; |
6642 |
*-hpux8*|*-hpux9*|*-hpux10*) |
*-hpux8*|*-hpux9*|*-hpux10*) |
6643 |
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
6644 |
echo "configure:2810: checking for shl_load in -ldld" >&5 |
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
6645 |
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
6646 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
6647 |
else |
else |
6648 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6649 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
6650 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6651 |
#line 2818 "configure" |
/* confdefs.h. */ |
6652 |
#include "confdefs.h" |
_ACEOF |
6653 |
|
cat confdefs.h >>conftest.$ac_ext |
6654 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6655 |
|
/* end confdefs.h. */ |
6656 |
|
|
6657 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6658 |
|
#ifdef __cplusplus |
6659 |
|
extern "C" |
6660 |
|
#endif |
6661 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6662 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6663 |
char shl_load(); |
char shl_load (); |
6664 |
|
int |
6665 |
int main() { |
main () |
6666 |
shl_load() |
{ |
6667 |
; return 0; } |
shl_load (); |
6668 |
EOF |
; |
6669 |
if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6670 |
rm -rf conftest* |
} |
6671 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
6672 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
6673 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6674 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
6675 |
rm -rf conftest* |
ac_status=$? |
6676 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
6677 |
fi |
rm -f conftest.er1 |
6678 |
rm -f conftest* |
cat conftest.err >&5 |
6679 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6680 |
|
(exit $ac_status); } && |
6681 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
6682 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
6683 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6684 |
|
(eval $ac_try) 2>&5 |
6685 |
|
ac_status=$? |
6686 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6687 |
|
(exit $ac_status); }; } && |
6688 |
|
{ ac_try='test -s conftest$ac_exeext' |
6689 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6690 |
|
(eval $ac_try) 2>&5 |
6691 |
|
ac_status=$? |
6692 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6693 |
|
(exit $ac_status); }; }; then |
6694 |
|
ac_cv_lib_dld_shl_load=yes |
6695 |
|
else |
6696 |
|
echo "$as_me: failed program was:" >&5 |
6697 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6698 |
|
|
6699 |
|
ac_cv_lib_dld_shl_load=no |
6700 |
|
fi |
6701 |
|
rm -f conftest.err conftest.$ac_objext \ |
6702 |
|
conftest$ac_exeext conftest.$ac_ext |
6703 |
|
LIBS=$ac_check_lib_save_LIBS |
6704 |
|
fi |
6705 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
6706 |
|
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
6707 |
|
if test $ac_cv_lib_dld_shl_load = yes; then |
6708 |
tcl_ok=yes |
tcl_ok=yes |
6709 |
else |
else |
6710 |
echo "$ac_t""no" 1>&6 |
tcl_ok=no |
|
tcl_ok=no |
|
6711 |
fi |
fi |
6712 |
|
|
6713 |
if test "$tcl_ok" = yes; then |
if test "$tcl_ok" = yes; then |
6753 |
LD_FLAGS="-rdynamic" |
LD_FLAGS="-rdynamic" |
6754 |
LD_SEARCH_FLAGS="" |
LD_SEARCH_FLAGS="" |
6755 |
else |
else |
6756 |
ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_dld_h+set}" = set; then |
6757 |
echo $ac_n "checking for dld.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dld.h" >&5 |
6758 |
echo "configure:2895: checking for dld.h" >&5 |
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6 |
6759 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_dld_h+set}" = set; then |
6760 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6761 |
else |
fi |
6762 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 |
6763 |
#line 2900 "configure" |
echo "${ECHO_T}$ac_cv_header_dld_h" >&6 |
6764 |
#include "confdefs.h" |
else |
6765 |
|
# Is the header compilable? |
6766 |
|
echo "$as_me:$LINENO: checking dld.h usability" >&5 |
6767 |
|
echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6 |
6768 |
|
cat >conftest.$ac_ext <<_ACEOF |
6769 |
|
/* confdefs.h. */ |
6770 |
|
_ACEOF |
6771 |
|
cat confdefs.h >>conftest.$ac_ext |
6772 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6773 |
|
/* end confdefs.h. */ |
6774 |
|
$ac_includes_default |
6775 |
#include <dld.h> |
#include <dld.h> |
6776 |
EOF |
_ACEOF |
6777 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
6778 |
{ (eval echo configure:2905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6779 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>conftest.er1 |
6780 |
if test -z "$ac_err"; then |
ac_status=$? |
6781 |
rm -rf conftest* |
grep -v '^ *+' conftest.er1 >conftest.err |
6782 |
eval "ac_cv_header_$ac_safe=yes" |
rm -f conftest.er1 |
6783 |
else |
cat conftest.err >&5 |
6784 |
echo "$ac_err" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6785 |
echo "configure: failed program was:" >&5 |
(exit $ac_status); } && |
6786 |
cat conftest.$ac_ext >&5 |
{ ac_try='test -z "$ac_c_werror_flag" |
6787 |
rm -rf conftest* |
|| test ! -s conftest.err' |
6788 |
eval "ac_cv_header_$ac_safe=no" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6789 |
|
(eval $ac_try) 2>&5 |
6790 |
|
ac_status=$? |
6791 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6792 |
|
(exit $ac_status); }; } && |
6793 |
|
{ ac_try='test -s conftest.$ac_objext' |
6794 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6795 |
|
(eval $ac_try) 2>&5 |
6796 |
|
ac_status=$? |
6797 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6798 |
|
(exit $ac_status); }; }; then |
6799 |
|
ac_header_compiler=yes |
6800 |
|
else |
6801 |
|
echo "$as_me: failed program was:" >&5 |
6802 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6803 |
|
|
6804 |
|
ac_header_compiler=no |
6805 |
|
fi |
6806 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6807 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6808 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6809 |
|
|
6810 |
|
# Is the header present? |
6811 |
|
echo "$as_me:$LINENO: checking dld.h presence" >&5 |
6812 |
|
echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6 |
6813 |
|
cat >conftest.$ac_ext <<_ACEOF |
6814 |
|
/* confdefs.h. */ |
6815 |
|
_ACEOF |
6816 |
|
cat confdefs.h >>conftest.$ac_ext |
6817 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6818 |
|
/* end confdefs.h. */ |
6819 |
|
#include <dld.h> |
6820 |
|
_ACEOF |
6821 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6822 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6823 |
|
ac_status=$? |
6824 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6825 |
|
rm -f conftest.er1 |
6826 |
|
cat conftest.err >&5 |
6827 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6828 |
|
(exit $ac_status); } >/dev/null; then |
6829 |
|
if test -s conftest.err; then |
6830 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6831 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6832 |
|
else |
6833 |
|
ac_cpp_err= |
6834 |
|
fi |
6835 |
|
else |
6836 |
|
ac_cpp_err=yes |
6837 |
fi |
fi |
6838 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
6839 |
|
ac_header_preproc=yes |
6840 |
|
else |
6841 |
|
echo "$as_me: failed program was:" >&5 |
6842 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6843 |
|
|
6844 |
|
ac_header_preproc=no |
6845 |
|
fi |
6846 |
|
rm -f conftest.err conftest.$ac_ext |
6847 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6848 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6849 |
|
|
6850 |
|
# So? What about this header? |
6851 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6852 |
|
yes:no: ) |
6853 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6854 |
|
echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6855 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 |
6856 |
|
echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} |
6857 |
|
ac_header_preproc=yes |
6858 |
|
;; |
6859 |
|
no:yes:* ) |
6860 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 |
6861 |
|
echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} |
6862 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 |
6863 |
|
echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} |
6864 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 |
6865 |
|
echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} |
6866 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 |
6867 |
|
echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} |
6868 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 |
6869 |
|
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} |
6870 |
|
{ echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 |
6871 |
|
echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} |
6872 |
|
( |
6873 |
|
cat <<\_ASBOX |
6874 |
|
## ------------------------------------------ ## |
6875 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
6876 |
|
## ------------------------------------------ ## |
6877 |
|
_ASBOX |
6878 |
|
) | |
6879 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6880 |
|
;; |
6881 |
|
esac |
6882 |
|
echo "$as_me:$LINENO: checking for dld.h" >&5 |
6883 |
|
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6 |
6884 |
|
if test "${ac_cv_header_dld_h+set}" = set; then |
6885 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6886 |
|
else |
6887 |
|
ac_cv_header_dld_h=$ac_header_preproc |
6888 |
|
fi |
6889 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 |
6890 |
|
echo "${ECHO_T}$ac_cv_header_dld_h" >&6 |
6891 |
|
|
6892 |
fi |
fi |
6893 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test $ac_cv_header_dld_h = yes; then |
6894 |
echo "$ac_t""yes" 1>&6 |
|
|
|
|
6895 |
SHLIB_LD="ld -shared" |
SHLIB_LD="ld -shared" |
6896 |
DL_OBJS="" |
DL_OBJS="" |
6897 |
DL_LIBS="-ldld" |
DL_LIBS="-ldld" |
6898 |
LD_FLAGS="" |
LD_FLAGS="" |
6899 |
LD_SEARCH_FLAGS="" |
LD_SEARCH_FLAGS="" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6900 |
fi |
fi |
6901 |
|
|
6902 |
|
|
6903 |
fi |
fi |
6904 |
;; |
;; |
6905 |
MP-RAS-02*) |
MP-RAS-02*) |
6924 |
;; |
;; |
6925 |
*-netbsd*|*-freebsd*|*-openbsd*) |
*-netbsd*|*-freebsd*|*-openbsd*) |
6926 |
# Not available on all versions: check for include file. |
# Not available on all versions: check for include file. |
6927 |
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_dlfcn_h+set}" = set; then |
6928 |
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dlfcn.h" >&5 |
6929 |
echo "configure:2957: checking for dlfcn.h" >&5 |
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6 |
6930 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_dlfcn_h+set}" = set; then |
6931 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6932 |
else |
fi |
6933 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 |
6934 |
#line 2962 "configure" |
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6 |
6935 |
#include "confdefs.h" |
else |
6936 |
|
# Is the header compilable? |
6937 |
|
echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 |
6938 |
|
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6 |
6939 |
|
cat >conftest.$ac_ext <<_ACEOF |
6940 |
|
/* confdefs.h. */ |
6941 |
|
_ACEOF |
6942 |
|
cat confdefs.h >>conftest.$ac_ext |
6943 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6944 |
|
/* end confdefs.h. */ |
6945 |
|
$ac_includes_default |
6946 |
#include <dlfcn.h> |
#include <dlfcn.h> |
6947 |
EOF |
_ACEOF |
6948 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
6949 |
{ (eval echo configure:2967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6950 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>conftest.er1 |
6951 |
if test -z "$ac_err"; then |
ac_status=$? |
6952 |
rm -rf conftest* |
grep -v '^ *+' conftest.er1 >conftest.err |
6953 |
eval "ac_cv_header_$ac_safe=yes" |
rm -f conftest.er1 |
6954 |
else |
cat conftest.err >&5 |
6955 |
echo "$ac_err" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6956 |
echo "configure: failed program was:" >&5 |
(exit $ac_status); } && |
6957 |
cat conftest.$ac_ext >&5 |
{ ac_try='test -z "$ac_c_werror_flag" |
6958 |
rm -rf conftest* |
|| test ! -s conftest.err' |
6959 |
eval "ac_cv_header_$ac_safe=no" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6960 |
|
(eval $ac_try) 2>&5 |
6961 |
|
ac_status=$? |
6962 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6963 |
|
(exit $ac_status); }; } && |
6964 |
|
{ ac_try='test -s conftest.$ac_objext' |
6965 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6966 |
|
(eval $ac_try) 2>&5 |
6967 |
|
ac_status=$? |
6968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6969 |
|
(exit $ac_status); }; }; then |
6970 |
|
ac_header_compiler=yes |
6971 |
|
else |
6972 |
|
echo "$as_me: failed program was:" >&5 |
6973 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6974 |
|
|
6975 |
|
ac_header_compiler=no |
6976 |
|
fi |
6977 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6978 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6979 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6980 |
|
|
6981 |
|
# Is the header present? |
6982 |
|
echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 |
6983 |
|
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6 |
6984 |
|
cat >conftest.$ac_ext <<_ACEOF |
6985 |
|
/* confdefs.h. */ |
6986 |
|
_ACEOF |
6987 |
|
cat confdefs.h >>conftest.$ac_ext |
6988 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6989 |
|
/* end confdefs.h. */ |
6990 |
|
#include <dlfcn.h> |
6991 |
|
_ACEOF |
6992 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6993 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6994 |
|
ac_status=$? |
6995 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6996 |
|
rm -f conftest.er1 |
6997 |
|
cat conftest.err >&5 |
6998 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6999 |
|
(exit $ac_status); } >/dev/null; then |
7000 |
|
if test -s conftest.err; then |
7001 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7002 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7003 |
|
else |
7004 |
|
ac_cpp_err= |
7005 |
|
fi |
7006 |
|
else |
7007 |
|
ac_cpp_err=yes |
7008 |
fi |
fi |
7009 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
7010 |
|
ac_header_preproc=yes |
7011 |
|
else |
7012 |
|
echo "$as_me: failed program was:" >&5 |
7013 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7014 |
|
|
7015 |
|
ac_header_preproc=no |
7016 |
|
fi |
7017 |
|
rm -f conftest.err conftest.$ac_ext |
7018 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7019 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7020 |
|
|
7021 |
|
# So? What about this header? |
7022 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7023 |
|
yes:no: ) |
7024 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7025 |
|
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7026 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 |
7027 |
|
echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} |
7028 |
|
ac_header_preproc=yes |
7029 |
|
;; |
7030 |
|
no:yes:* ) |
7031 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 |
7032 |
|
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} |
7033 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 |
7034 |
|
echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} |
7035 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 |
7036 |
|
echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} |
7037 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 |
7038 |
|
echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} |
7039 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 |
7040 |
|
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} |
7041 |
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 |
7042 |
|
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} |
7043 |
|
( |
7044 |
|
cat <<\_ASBOX |
7045 |
|
## ------------------------------------------ ## |
7046 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
7047 |
|
## ------------------------------------------ ## |
7048 |
|
_ASBOX |
7049 |
|
) | |
7050 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7051 |
|
;; |
7052 |
|
esac |
7053 |
|
echo "$as_me:$LINENO: checking for dlfcn.h" >&5 |
7054 |
|
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6 |
7055 |
|
if test "${ac_cv_header_dlfcn_h+set}" = set; then |
7056 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7057 |
|
else |
7058 |
|
ac_cv_header_dlfcn_h=$ac_header_preproc |
7059 |
|
fi |
7060 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 |
7061 |
|
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6 |
7062 |
|
|
7063 |
fi |
fi |
7064 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test $ac_cv_header_dlfcn_h = yes; then |
7065 |
echo "$ac_t""yes" 1>&6 |
|
|
|
|
7066 |
SHLIB_CFLAGS="-fpic" |
SHLIB_CFLAGS="-fpic" |
7067 |
SHLIB_LD="ld -Bshareable -x" |
SHLIB_LD="ld -Bshareable -x" |
7068 |
SHLIB_LD_LIBS="" |
SHLIB_LD_LIBS="" |
7072 |
LD_FLAGS="" |
LD_FLAGS="" |
7073 |
LD_SEARCH_FLAGS="" |
LD_SEARCH_FLAGS="" |
7074 |
ASC_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0' |
ASC_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0' |
7075 |
|
|
7076 |
else |
else |
|
echo "$ac_t""no" 1>&6 |
|
7077 |
|
|
7078 |
SHLIB_CFLAGS="" |
SHLIB_CFLAGS="" |
7079 |
SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" |
SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" |
7084 |
LD_FLAGS="" |
LD_FLAGS="" |
7085 |
LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' |
LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' |
7086 |
ASC_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a' |
ASC_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a' |
7087 |
|
|
7088 |
fi |
fi |
7089 |
|
|
7090 |
|
|
7091 |
|
|
7092 |
# FreeBSD doesn't handle version numbers with dots. |
# FreeBSD doesn't handle version numbers with dots. |
7093 |
|
|
7094 |
ASC_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a' |
ASC_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a' |
7201 |
# Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers |
# Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers |
7202 |
# that don't grok the -Bexport option. Test that it does. |
# that don't grok the -Bexport option. Test that it does. |
7203 |
hold_ldflags=$LDFLAGS |
hold_ldflags=$LDFLAGS |
7204 |
echo $ac_n "checking for ld accepts -Bexport flag""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 |
7205 |
echo "configure:3123: checking for ld accepts -Bexport flag" >&5 |
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6 |
7206 |
LDFLAGS="${LDFLAGS} -Wl,-Bexport" |
LDFLAGS="${LDFLAGS} -Wl,-Bexport" |
7207 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7208 |
#line 3126 "configure" |
/* confdefs.h. */ |
7209 |
#include "confdefs.h" |
_ACEOF |
7210 |
|
cat confdefs.h >>conftest.$ac_ext |
7211 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7212 |
|
/* end confdefs.h. */ |
7213 |
|
|
7214 |
int main() { |
int |
7215 |
|
main () |
7216 |
|
{ |
7217 |
int i; |
int i; |
7218 |
; return 0; } |
; |
7219 |
EOF |
return 0; |
7220 |
if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7221 |
rm -rf conftest* |
_ACEOF |
7222 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7223 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7224 |
|
(eval $ac_link) 2>conftest.er1 |
7225 |
|
ac_status=$? |
7226 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7227 |
|
rm -f conftest.er1 |
7228 |
|
cat conftest.err >&5 |
7229 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7230 |
|
(exit $ac_status); } && |
7231 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7232 |
|
|| test ! -s conftest.err' |
7233 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7234 |
|
(eval $ac_try) 2>&5 |
7235 |
|
ac_status=$? |
7236 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7237 |
|
(exit $ac_status); }; } && |
7238 |
|
{ ac_try='test -s conftest$ac_exeext' |
7239 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7240 |
|
(eval $ac_try) 2>&5 |
7241 |
|
ac_status=$? |
7242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7243 |
|
(exit $ac_status); }; }; then |
7244 |
found=yes |
found=yes |
7245 |
else |
else |
7246 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7247 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7248 |
rm -rf conftest* |
|
7249 |
found=no |
found=no |
7250 |
fi |
fi |
7251 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
7252 |
|
conftest$ac_exeext conftest.$ac_ext |
7253 |
LDFLAGS=$hold_ldflags |
LDFLAGS=$hold_ldflags |
7254 |
echo "$ac_t""$found" 1>&6 |
echo "$as_me:$LINENO: result: $found" >&5 |
7255 |
|
echo "${ECHO_T}$found" >&6 |
7256 |
if test "$found" = yes; then |
if test "$found" = yes; then |
7257 |
LD_FLAGS="-Wl,-Bexport" |
LD_FLAGS="-Wl,-Bexport" |
7258 |
else |
else |
7350 |
# see if the user gave us the location of the Tcl8.0 |
# see if the user gave us the location of the Tcl8.0 |
7351 |
# library and/or header file |
# library and/or header file |
7352 |
# |
# |
7353 |
|
|
7354 |
# Check whether --with-tcl or --without-tcl was given. |
# Check whether --with-tcl or --without-tcl was given. |
7355 |
if test "${with_tcl+set}" = set; then |
if test "${with_tcl+set}" = set; then |
7356 |
withval="$with_tcl" |
withval="$with_tcl" |
7357 |
: |
|
7358 |
else |
else |
7359 |
with_tcl=yes |
with_tcl=yes |
7360 |
fi |
fi; |
|
|
|
7361 |
|
|
7362 |
case "$with_tcl" in |
case "$with_tcl" in |
7363 |
no) |
no) |
7364 |
# User specified --without-tcl; this makes no sense, |
# User specified --without-tcl; this makes no sense, |
7365 |
# print a warning and search for it ourselves |
# print a warning and search for it ourselves |
7366 |
echo "configure: warning: Bad option '--without-tcl' |
{ echo "$as_me:$LINENO: WARNING: Bad option '--without-tcl' |
7367 |
ASCEND must be compiled with Tcl8.0." 1>&2 |
ASCEND must be compiled with Tcl8.0." >&5 |
7368 |
|
echo "$as_me: WARNING: Bad option '--without-tcl' |
7369 |
|
ASCEND must be compiled with Tcl8.0." >&2;} |
7370 |
with_tcllib=_searching |
with_tcllib=_searching |
7371 |
with_tclhdr=_searching |
with_tclhdr=_searching |
7372 |
;; |
;; |
7398 |
if test "X$with_tcllib" = X_searching ; then |
if test "X$with_tcllib" = X_searching ; then |
7399 |
for ac_prog in libtcl8.0.a libtcl80.a libtcl8.3.a |
for ac_prog in libtcl8.0.a libtcl80.a libtcl8.3.a |
7400 |
do |
do |
7401 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
7402 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
7403 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7404 |
echo "configure:3291: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7405 |
if eval "test \"`echo '$''{'ac_cv_path_TCL_LIB'+set}'`\" = set"; then |
if test "${ac_cv_path_TCL_LIB+set}" = set; then |
7406 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7407 |
else |
else |
7408 |
case "$TCL_LIB" in |
case $TCL_LIB in |
7409 |
/*) |
[\\/]* | ?:[\\/]*) |
7410 |
ac_cv_path_TCL_LIB="$TCL_LIB" # Let the user override the test with a path. |
ac_cv_path_TCL_LIB="$TCL_LIB" # Let the user override the test with a path. |
7411 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_TCL_LIB="$TCL_LIB" # Let the user override the test with a dos path. |
|
|
;; |
|
7412 |
*) |
*) |
7413 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7414 |
ac_dummy="$asc_tcl_library_dirs" |
for as_dir in $asc_tcl_library_dirs |
7415 |
for ac_dir in $ac_dummy; do |
do |
7416 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
7417 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
7418 |
ac_cv_path_TCL_LIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
7419 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7420 |
fi |
ac_cv_path_TCL_LIB="$as_dir/$ac_word$ac_exec_ext" |
7421 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7422 |
IFS="$ac_save_ifs" |
break 2 |
7423 |
|
fi |
7424 |
|
done |
7425 |
|
done |
7426 |
|
|
7427 |
;; |
;; |
7428 |
esac |
esac |
7429 |
fi |
fi |
7430 |
TCL_LIB="$ac_cv_path_TCL_LIB" |
TCL_LIB=$ac_cv_path_TCL_LIB |
7431 |
|
|
7432 |
if test -n "$TCL_LIB"; then |
if test -n "$TCL_LIB"; then |
7433 |
echo "$ac_t""$TCL_LIB" 1>&6 |
echo "$as_me:$LINENO: result: $TCL_LIB" >&5 |
7434 |
|
echo "${ECHO_T}$TCL_LIB" >&6 |
7435 |
else |
else |
7436 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7437 |
|
echo "${ECHO_T}no" >&6 |
7438 |
fi |
fi |
7439 |
|
|
7440 |
test -n "$TCL_LIB" && break |
test -n "$TCL_LIB" && break |
7441 |
done |
done |
7442 |
|
|
7443 |
if test -z "$TCL_LIB" ; then |
if test -z "$TCL_LIB" ; then |
7444 |
TCL_LIB=_searching |
TCL_LIB=_searching |
7445 |
fi |
fi |
7446 |
else |
else |
7447 |
echo "$ac_t""checking for tcl library... $TCL_LIB" 1>&6 |
echo "$as_me:$LINENO: result: checking for tcl library... $TCL_LIB" >&5 |
7448 |
|
echo "${ECHO_T}checking for tcl library... $TCL_LIB" >&6 |
7449 |
fi |
fi |
7450 |
|
|
7451 |
# verify the TCL_LIB |
# verify the TCL_LIB |
7452 |
if test ! "X$TCL_LIB" = X_searching ; then |
if test ! "X$TCL_LIB" = X_searching ; then |
7453 |
echo $ac_n "checking whether $TCL_LIB is for Tcl8.3""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $TCL_LIB is for Tcl8.3" >&5 |
7454 |
echo "configure:3336: checking whether $TCL_LIB is for Tcl8.3" >&5 |
echo $ECHO_N "checking whether $TCL_LIB is for Tcl8.3... $ECHO_C" >&6 |
7455 |
asc_libs_orig=$LIBS |
asc_libs_orig=$LIBS |
7456 |
LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7457 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7458 |
#line 3340 "configure" |
/* confdefs.h. */ |
7459 |
#include "confdefs.h" |
_ACEOF |
7460 |
|
cat confdefs.h >>conftest.$ac_ext |
7461 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7462 |
|
/* end confdefs.h. */ |
7463 |
|
|
7464 |
int main() { |
int |
7465 |
|
main () |
7466 |
|
{ |
7467 |
TclCompileCatchCmd() |
TclCompileCatchCmd() |
7468 |
; return 0; } |
; |
7469 |
EOF |
return 0; |
7470 |
if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7471 |
|
_ACEOF |
7472 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7473 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7474 |
|
(eval $ac_link) 2>conftest.er1 |
7475 |
|
ac_status=$? |
7476 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7477 |
|
rm -f conftest.er1 |
7478 |
|
cat conftest.err >&5 |
7479 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7480 |
|
(exit $ac_status); } && |
7481 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7482 |
|
|| test ! -s conftest.err' |
7483 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7484 |
|
(eval $ac_try) 2>&5 |
7485 |
|
ac_status=$? |
7486 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7487 |
|
(exit $ac_status); }; } && |
7488 |
|
{ ac_try='test -s conftest$ac_exeext' |
7489 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7490 |
|
(eval $ac_try) 2>&5 |
7491 |
|
ac_status=$? |
7492 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7493 |
|
(exit $ac_status); }; }; then |
7494 |
: |
: |
7495 |
else |
else |
7496 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7497 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7498 |
rm -rf conftest* |
|
7499 |
TCL_LIB=_searching |
TCL_LIB=_searching |
7500 |
fi |
fi |
7501 |
rm -f conftest*; |
rm -f conftest.err conftest.$ac_objext \ |
7502 |
|
conftest$ac_exeext conftest.$ac_ext; |
7503 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7504 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7505 |
|
echo "${ECHO_T}no" >&6 |
7506 |
else |
else |
7507 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
7508 |
|
echo "${ECHO_T}yes" >&6 |
7509 |
fi |
fi |
7510 |
LIBS=$asc_libs_orig |
LIBS=$asc_libs_orig |
7511 |
fi |
fi |
7513 |
# see if the default LPATH can find the Tcl8.0 library |
# see if the default LPATH can find the Tcl8.0 library |
7514 |
# |
# |
7515 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7516 |
echo $ac_n "checking for TclCompileCatchCmd in -ltcl83""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl83" >&5 |
7517 |
echo "configure:3368: checking for TclCompileCatchCmd in -ltcl83" >&5 |
echo $ECHO_N "checking for TclCompileCatchCmd in -ltcl83... $ECHO_C" >&6 |
7518 |
ac_lib_var=`echo tcl83'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tcl83_TclCompileCatchCmd+set}" = set; then |
7519 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7520 |
else |
else |
7521 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7522 |
LIBS="-ltcl83 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltcl83 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7523 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7524 |
#line 3376 "configure" |
/* confdefs.h. */ |
7525 |
#include "confdefs.h" |
_ACEOF |
7526 |
|
cat confdefs.h >>conftest.$ac_ext |
7527 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7528 |
|
/* end confdefs.h. */ |
7529 |
|
|
7530 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7531 |
|
#ifdef __cplusplus |
7532 |
|
extern "C" |
7533 |
|
#endif |
7534 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7535 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7536 |
char TclCompileCatchCmd(); |
char TclCompileCatchCmd (); |
7537 |
|
int |
7538 |
int main() { |
main () |
7539 |
TclCompileCatchCmd() |
{ |
7540 |
; return 0; } |
TclCompileCatchCmd (); |
7541 |
EOF |
; |
7542 |
if { (eval echo configure:3387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7543 |
rm -rf conftest* |
} |
7544 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7545 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7546 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7547 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7548 |
rm -rf conftest* |
ac_status=$? |
7549 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7550 |
fi |
rm -f conftest.er1 |
7551 |
rm -f conftest* |
cat conftest.err >&5 |
7552 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7553 |
|
(exit $ac_status); } && |
7554 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7555 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7556 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7557 |
TCL_LIB="-ltcl83" |
(eval $ac_try) 2>&5 |
7558 |
else |
ac_status=$? |
7559 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7560 |
|
(exit $ac_status); }; } && |
7561 |
|
{ ac_try='test -s conftest$ac_exeext' |
7562 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7563 |
|
(eval $ac_try) 2>&5 |
7564 |
|
ac_status=$? |
7565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7566 |
|
(exit $ac_status); }; }; then |
7567 |
|
ac_cv_lib_tcl83_TclCompileCatchCmd=yes |
7568 |
|
else |
7569 |
|
echo "$as_me: failed program was:" >&5 |
7570 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7571 |
|
|
7572 |
|
ac_cv_lib_tcl83_TclCompileCatchCmd=no |
7573 |
|
fi |
7574 |
|
rm -f conftest.err conftest.$ac_objext \ |
7575 |
|
conftest$ac_exeext conftest.$ac_ext |
7576 |
|
LIBS=$ac_check_lib_save_LIBS |
7577 |
|
fi |
7578 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tcl83_TclCompileCatchCmd" >&5 |
7579 |
|
echo "${ECHO_T}$ac_cv_lib_tcl83_TclCompileCatchCmd" >&6 |
7580 |
|
if test $ac_cv_lib_tcl83_TclCompileCatchCmd = yes; then |
7581 |
|
TCL_LIB="-ltcl83" |
7582 |
fi |
fi |
7583 |
|
|
7584 |
fi |
fi |
7585 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7586 |
echo $ac_n "checking for TclCompileCatchCmd in -ltcl8.3""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl8.3" >&5 |
7587 |
echo "configure:3410: checking for TclCompileCatchCmd in -ltcl8.3" >&5 |
echo $ECHO_N "checking for TclCompileCatchCmd in -ltcl8.3... $ECHO_C" >&6 |
7588 |
ac_lib_var=`echo tcl8.3'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tcl8_3_TclCompileCatchCmd+set}" = set; then |
7589 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7590 |
else |
else |
7591 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7592 |
LIBS="-ltcl8.3 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltcl8.3 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7593 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7594 |
#line 3418 "configure" |
/* confdefs.h. */ |
7595 |
#include "confdefs.h" |
_ACEOF |
7596 |
|
cat confdefs.h >>conftest.$ac_ext |
7597 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7598 |
|
/* end confdefs.h. */ |
7599 |
|
|
7600 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7601 |
|
#ifdef __cplusplus |
7602 |
|
extern "C" |
7603 |
|
#endif |
7604 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7605 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7606 |
char TclCompileCatchCmd(); |
char TclCompileCatchCmd (); |
7607 |
|
int |
7608 |
int main() { |
main () |
7609 |
TclCompileCatchCmd() |
{ |
7610 |
; return 0; } |
TclCompileCatchCmd (); |
7611 |
EOF |
; |
7612 |
if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7613 |
rm -rf conftest* |
} |
7614 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7615 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7616 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7617 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7618 |
rm -rf conftest* |
ac_status=$? |
7619 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7620 |
fi |
rm -f conftest.er1 |
7621 |
rm -f conftest* |
cat conftest.err >&5 |
7622 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7623 |
|
(exit $ac_status); } && |
7624 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7625 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7626 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7627 |
TCL_LIB="-ltcl8.3" |
(eval $ac_try) 2>&5 |
7628 |
else |
ac_status=$? |
7629 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7630 |
|
(exit $ac_status); }; } && |
7631 |
|
{ ac_try='test -s conftest$ac_exeext' |
7632 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7633 |
|
(eval $ac_try) 2>&5 |
7634 |
|
ac_status=$? |
7635 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7636 |
|
(exit $ac_status); }; }; then |
7637 |
|
ac_cv_lib_tcl8_3_TclCompileCatchCmd=yes |
7638 |
|
else |
7639 |
|
echo "$as_me: failed program was:" >&5 |
7640 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7641 |
|
|
7642 |
|
ac_cv_lib_tcl8_3_TclCompileCatchCmd=no |
7643 |
|
fi |
7644 |
|
rm -f conftest.err conftest.$ac_objext \ |
7645 |
|
conftest$ac_exeext conftest.$ac_ext |
7646 |
|
LIBS=$ac_check_lib_save_LIBS |
7647 |
|
fi |
7648 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_3_TclCompileCatchCmd" >&5 |
7649 |
|
echo "${ECHO_T}$ac_cv_lib_tcl8_3_TclCompileCatchCmd" >&6 |
7650 |
|
if test $ac_cv_lib_tcl8_3_TclCompileCatchCmd = yes; then |
7651 |
|
TCL_LIB="-ltcl8.3" |
7652 |
fi |
fi |
7653 |
|
|
7654 |
fi |
fi |
7655 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7656 |
echo $ac_n "checking for TclCompileCatchCmd in -ltcl8.0""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl8.0" >&5 |
7657 |
echo "configure:3452: checking for TclCompileCatchCmd in -ltcl8.0" >&5 |
echo $ECHO_N "checking for TclCompileCatchCmd in -ltcl8.0... $ECHO_C" >&6 |
7658 |
ac_lib_var=`echo tcl8.0'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tcl8_0_TclCompileCatchCmd+set}" = set; then |
7659 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7660 |
else |
else |
7661 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7662 |
LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7663 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7664 |
#line 3460 "configure" |
/* confdefs.h. */ |
7665 |
#include "confdefs.h" |
_ACEOF |
7666 |
|
cat confdefs.h >>conftest.$ac_ext |
7667 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7668 |
|
/* end confdefs.h. */ |
7669 |
|
|
7670 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7671 |
|
#ifdef __cplusplus |
7672 |
|
extern "C" |
7673 |
|
#endif |
7674 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7675 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7676 |
char TclCompileCatchCmd(); |
char TclCompileCatchCmd (); |
7677 |
|
int |
7678 |
int main() { |
main () |
7679 |
TclCompileCatchCmd() |
{ |
7680 |
; return 0; } |
TclCompileCatchCmd (); |
7681 |
EOF |
; |
7682 |
if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7683 |
rm -rf conftest* |
} |
7684 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7685 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7686 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7687 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7688 |
rm -rf conftest* |
ac_status=$? |
7689 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7690 |
fi |
rm -f conftest.er1 |
7691 |
rm -f conftest* |
cat conftest.err >&5 |
7692 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7693 |
|
(exit $ac_status); } && |
7694 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7695 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7696 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7697 |
TCL_LIB="-ltcl8.0" |
(eval $ac_try) 2>&5 |
7698 |
else |
ac_status=$? |
7699 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7700 |
|
(exit $ac_status); }; } && |
7701 |
|
{ ac_try='test -s conftest$ac_exeext' |
7702 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7703 |
|
(eval $ac_try) 2>&5 |
7704 |
|
ac_status=$? |
7705 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7706 |
|
(exit $ac_status); }; }; then |
7707 |
|
ac_cv_lib_tcl8_0_TclCompileCatchCmd=yes |
7708 |
|
else |
7709 |
|
echo "$as_me: failed program was:" >&5 |
7710 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7711 |
|
|
7712 |
|
ac_cv_lib_tcl8_0_TclCompileCatchCmd=no |
7713 |
|
fi |
7714 |
|
rm -f conftest.err conftest.$ac_objext \ |
7715 |
|
conftest$ac_exeext conftest.$ac_ext |
7716 |
|
LIBS=$ac_check_lib_save_LIBS |
7717 |
|
fi |
7718 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_0_TclCompileCatchCmd" >&5 |
7719 |
|
echo "${ECHO_T}$ac_cv_lib_tcl8_0_TclCompileCatchCmd" >&6 |
7720 |
|
if test $ac_cv_lib_tcl8_0_TclCompileCatchCmd = yes; then |
7721 |
|
TCL_LIB="-ltcl8.0" |
7722 |
fi |
fi |
7723 |
|
|
7724 |
fi |
fi |
7725 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7726 |
echo $ac_n "checking for TclCompileCatchCmd in -ltcl80""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl80" >&5 |
7727 |
echo "configure:3494: checking for TclCompileCatchCmd in -ltcl80" >&5 |
echo $ECHO_N "checking for TclCompileCatchCmd in -ltcl80... $ECHO_C" >&6 |
7728 |
ac_lib_var=`echo tcl80'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tcl80_TclCompileCatchCmd+set}" = set; then |
7729 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7730 |
else |
else |
7731 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7732 |
LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7733 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7734 |
#line 3502 "configure" |
/* confdefs.h. */ |
7735 |
#include "confdefs.h" |
_ACEOF |
7736 |
|
cat confdefs.h >>conftest.$ac_ext |
7737 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7738 |
|
/* end confdefs.h. */ |
7739 |
|
|
7740 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7741 |
|
#ifdef __cplusplus |
7742 |
|
extern "C" |
7743 |
|
#endif |
7744 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7745 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7746 |
char TclCompileCatchCmd(); |
char TclCompileCatchCmd (); |
7747 |
|
int |
7748 |
int main() { |
main () |
7749 |
TclCompileCatchCmd() |
{ |
7750 |
; return 0; } |
TclCompileCatchCmd (); |
7751 |
EOF |
; |
7752 |
if { (eval echo configure:3513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7753 |
rm -rf conftest* |
} |
7754 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7755 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7756 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7757 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7758 |
rm -rf conftest* |
ac_status=$? |
7759 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7760 |
fi |
rm -f conftest.er1 |
7761 |
rm -f conftest* |
cat conftest.err >&5 |
7762 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7763 |
|
(exit $ac_status); } && |
7764 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7765 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7766 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7767 |
TCL_LIB="-ltcl80" |
(eval $ac_try) 2>&5 |
7768 |
else |
ac_status=$? |
7769 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7770 |
|
(exit $ac_status); }; } && |
7771 |
|
{ ac_try='test -s conftest$ac_exeext' |
7772 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7773 |
|
(eval $ac_try) 2>&5 |
7774 |
|
ac_status=$? |
7775 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7776 |
|
(exit $ac_status); }; }; then |
7777 |
|
ac_cv_lib_tcl80_TclCompileCatchCmd=yes |
7778 |
|
else |
7779 |
|
echo "$as_me: failed program was:" >&5 |
7780 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7781 |
|
|
7782 |
|
ac_cv_lib_tcl80_TclCompileCatchCmd=no |
7783 |
|
fi |
7784 |
|
rm -f conftest.err conftest.$ac_objext \ |
7785 |
|
conftest$ac_exeext conftest.$ac_ext |
7786 |
|
LIBS=$ac_check_lib_save_LIBS |
7787 |
|
fi |
7788 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tcl80_TclCompileCatchCmd" >&5 |
7789 |
|
echo "${ECHO_T}$ac_cv_lib_tcl80_TclCompileCatchCmd" >&6 |
7790 |
|
if test $ac_cv_lib_tcl80_TclCompileCatchCmd = yes; then |
7791 |
|
TCL_LIB="-ltcl80" |
7792 |
fi |
fi |
7793 |
|
|
7794 |
fi |
fi |
7795 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7796 |
echo $ac_n "checking for TclCompileCatchCmd in -ltcl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl" >&5 |
7797 |
echo "configure:3536: checking for TclCompileCatchCmd in -ltcl" >&5 |
echo $ECHO_N "checking for TclCompileCatchCmd in -ltcl... $ECHO_C" >&6 |
7798 |
ac_lib_var=`echo tcl'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tcl_TclCompileCatchCmd+set}" = set; then |
7799 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7800 |
else |
else |
7801 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7802 |
LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
7803 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7804 |
#line 3544 "configure" |
/* confdefs.h. */ |
7805 |
#include "confdefs.h" |
_ACEOF |
7806 |
|
cat confdefs.h >>conftest.$ac_ext |
7807 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7808 |
|
/* end confdefs.h. */ |
7809 |
|
|
7810 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7811 |
|
#ifdef __cplusplus |
7812 |
|
extern "C" |
7813 |
|
#endif |
7814 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7815 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7816 |
char TclCompileCatchCmd(); |
char TclCompileCatchCmd (); |
7817 |
|
int |
7818 |
int main() { |
main () |
7819 |
TclCompileCatchCmd() |
{ |
7820 |
; return 0; } |
TclCompileCatchCmd (); |
7821 |
EOF |
; |
7822 |
if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7823 |
rm -rf conftest* |
} |
7824 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7825 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7826 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7827 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7828 |
rm -rf conftest* |
ac_status=$? |
7829 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7830 |
fi |
rm -f conftest.er1 |
7831 |
rm -f conftest* |
cat conftest.err >&5 |
7832 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7833 |
|
(exit $ac_status); } && |
7834 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7835 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7836 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7837 |
TCL_LIB="-ltcl" |
(eval $ac_try) 2>&5 |
7838 |
else |
ac_status=$? |
7839 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7840 |
|
(exit $ac_status); }; } && |
7841 |
|
{ ac_try='test -s conftest$ac_exeext' |
7842 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7843 |
|
(eval $ac_try) 2>&5 |
7844 |
|
ac_status=$? |
7845 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7846 |
|
(exit $ac_status); }; }; then |
7847 |
|
ac_cv_lib_tcl_TclCompileCatchCmd=yes |
7848 |
|
else |
7849 |
|
echo "$as_me: failed program was:" >&5 |
7850 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7851 |
|
|
7852 |
|
ac_cv_lib_tcl_TclCompileCatchCmd=no |
7853 |
|
fi |
7854 |
|
rm -f conftest.err conftest.$ac_objext \ |
7855 |
|
conftest$ac_exeext conftest.$ac_ext |
7856 |
|
LIBS=$ac_check_lib_save_LIBS |
7857 |
|
fi |
7858 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_TclCompileCatchCmd" >&5 |
7859 |
|
echo "${ECHO_T}$ac_cv_lib_tcl_TclCompileCatchCmd" >&6 |
7860 |
|
if test $ac_cv_lib_tcl_TclCompileCatchCmd = yes; then |
7861 |
|
TCL_LIB="-ltcl" |
7862 |
fi |
fi |
7863 |
|
|
7864 |
fi |
fi |
7866 |
# give up searching for the Tcl8.0 library |
# give up searching for the Tcl8.0 library |
7867 |
# |
# |
7868 |
if test "X$TCL_LIB" = X_searching ; then |
if test "X$TCL_LIB" = X_searching ; then |
7869 |
{ echo "configure: error: Cannot find a compatiable Tcl library. |
{ { echo "$as_me:$LINENO: error: Cannot find a compatiable Tcl library. |
7870 |
|
You must build and install Tcl version 8.3 before you |
7871 |
|
can build ASCEND. If you have installed the correct version |
7872 |
|
of Tcl, run configure again with the argument: |
7873 |
|
--with-tcl=LIBRARY,HEADER |
7874 |
|
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
7875 |
|
library file and header file, respectively." >&5 |
7876 |
|
echo "$as_me: error: Cannot find a compatiable Tcl library. |
7877 |
You must build and install Tcl version 8.3 before you |
You must build and install Tcl version 8.3 before you |
7878 |
can build ASCEND. If you have installed the correct version |
can build ASCEND. If you have installed the correct version |
7879 |
of Tcl, run configure again with the argument: |
of Tcl, run configure again with the argument: |
7880 |
--with-tcl=LIBRARY,HEADER |
--with-tcl=LIBRARY,HEADER |
7881 |
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
7882 |
library file and header file, respectively." 1>&2; exit 1; } |
library file and header file, respectively." >&2;} |
7883 |
|
{ (exit 1); exit 1; }; } |
7884 |
fi |
fi |
7885 |
|
|
7886 |
# see if the user gave us the location of the Tcl8.0 header file |
# see if the user gave us the location of the Tcl8.0 header file |
7887 |
# |
# |
7888 |
if test ! "X$with_tclhdr" = X_searching ; then |
if test ! "X$with_tclhdr" = X_searching ; then |
7889 |
if test ! -f "$TCL_HDR" ; then |
if test ! -f "$TCL_HDR" ; then |
7890 |
echo "configure: warning: user specified Tcl header file, $TCL_HDR, does not exist" 1>&2 |
{ echo "$as_me:$LINENO: WARNING: user specified Tcl header file, $TCL_HDR, does not exist" >&5 |
7891 |
|
echo "$as_me: WARNING: user specified Tcl header file, $TCL_HDR, does not exist" >&2;} |
7892 |
with_tclhdr=_searching |
with_tclhdr=_searching |
7893 |
TCL_HDR='' |
TCL_HDR='' |
7894 |
fi |
fi |
7896 |
if test "X$with_tclhdr" = X_searching ; then |
if test "X$with_tclhdr" = X_searching ; then |
7897 |
# Extract the first word of "tcl.h", so it can be a program name with args. |
# Extract the first word of "tcl.h", so it can be a program name with args. |
7898 |
set dummy tcl.h; ac_word=$2 |
set dummy tcl.h; ac_word=$2 |
7899 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7900 |
echo "configure:3602: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7901 |
if eval "test \"`echo '$''{'ac_cv_path_TCL_HDR'+set}'`\" = set"; then |
if test "${ac_cv_path_TCL_HDR+set}" = set; then |
7902 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7903 |
else |
else |
7904 |
case "$TCL_HDR" in |
case $TCL_HDR in |
7905 |
/*) |
[\\/]* | ?:[\\/]*) |
7906 |
ac_cv_path_TCL_HDR="$TCL_HDR" # Let the user override the test with a path. |
ac_cv_path_TCL_HDR="$TCL_HDR" # Let the user override the test with a path. |
7907 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_TCL_HDR="$TCL_HDR" # Let the user override the test with a dos path. |
|
|
;; |
|
7908 |
*) |
*) |
7909 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7910 |
ac_dummy="$asc_tcl_include_dirs" |
for as_dir in $asc_tcl_include_dirs |
7911 |
for ac_dir in $ac_dummy; do |
do |
7912 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
7913 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
7914 |
ac_cv_path_TCL_HDR="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
7915 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7916 |
fi |
ac_cv_path_TCL_HDR="$as_dir/$ac_word$ac_exec_ext" |
7917 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7918 |
IFS="$ac_save_ifs" |
break 2 |
7919 |
|
fi |
7920 |
|
done |
7921 |
|
done |
7922 |
|
|
7923 |
;; |
;; |
7924 |
esac |
esac |
7925 |
fi |
fi |
7926 |
TCL_HDR="$ac_cv_path_TCL_HDR" |
TCL_HDR=$ac_cv_path_TCL_HDR |
7927 |
|
|
7928 |
if test -n "$TCL_HDR"; then |
if test -n "$TCL_HDR"; then |
7929 |
echo "$ac_t""$TCL_HDR" 1>&6 |
echo "$as_me:$LINENO: result: $TCL_HDR" >&5 |
7930 |
|
echo "${ECHO_T}$TCL_HDR" >&6 |
7931 |
else |
else |
7932 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7933 |
|
echo "${ECHO_T}no" >&6 |
7934 |
fi |
fi |
7935 |
|
|
7936 |
if test -z "$TCL_HDR" ; then |
if test -z "$TCL_HDR" ; then |
7937 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7938 |
#line 3636 "configure" |
/* confdefs.h. */ |
7939 |
#include "confdefs.h" |
_ACEOF |
7940 |
|
cat confdefs.h >>conftest.$ac_ext |
7941 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7942 |
|
/* end confdefs.h. */ |
7943 |
#include <tcl.h> |
#include <tcl.h> |
7944 |
EOF |
|
7945 |
|
_ACEOF |
7946 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7947 |
egrep "TCL_MAJOR_VERSION.*8" >/dev/null 2>&1; then |
$EGREP "TCL_MAJOR_VERSION.*8" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
7948 |
TCL_HDR='tcl.h' |
TCL_HDR='tcl.h' |
7949 |
fi |
fi |
7950 |
rm -f conftest* |
rm -f conftest* |
7951 |
|
|
7952 |
fi |
fi |
7953 |
else |
else |
7954 |
echo "$ac_t""checking for tcl header... $TCL_HDR" 1>&6 |
echo "$as_me:$LINENO: result: checking for tcl header... $TCL_HDR" >&5 |
7955 |
|
echo "${ECHO_T}checking for tcl header... $TCL_HDR" >&6 |
7956 |
fi |
fi |
7957 |
if test -f "$TCL_HDR" ; then |
if test -f "$TCL_HDR" ; then |
7958 |
echo $ac_n "checking whether $TCL_HDR is for version 8""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $TCL_HDR is for version 8" >&5 |
7959 |
echo "configure:3653: checking whether $TCL_HDR is for version 8" >&5 |
echo $ECHO_N "checking whether $TCL_HDR is for version 8... $ECHO_C" >&6 |
7960 |
echo 'grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5' 1>&5 |
echo 'grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5' 1>&5 |
7961 |
grep_tcl_h=`grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5` |
grep_tcl_h=`grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5` |
7962 |
echo $grep_tcl_h 1>&5 |
echo $grep_tcl_h 1>&5 |
7963 |
case "$grep_tcl_h" in |
case "$grep_tcl_h" in |
7964 |
*8) |
*8) |
7965 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
7966 |
|
echo "${ECHO_T}yes" >&6 |
7967 |
;; |
;; |
7968 |
*) |
*) |
7969 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7970 |
|
echo "${ECHO_T}no" >&6 |
7971 |
TCL_HDR= |
TCL_HDR= |
7972 |
;; |
;; |
7973 |
esac |
esac |
7974 |
fi |
fi |
7975 |
if test -z "$TCL_HDR" ; then |
if test -z "$TCL_HDR" ; then |
7976 |
{ echo "configure: error: Cannot find a compatiable Tcl header file. |
{ { echo "$as_me:$LINENO: error: Cannot find a compatiable Tcl header file. |
7977 |
|
You must build and install Tcl version 8.3 (but not yet 8.4) before you |
7978 |
|
can build ASCEND. If you have installed the correct version |
7979 |
|
of Tcl, run configure again with the argument: |
7980 |
|
--with-tcl=LIBRARY,HEADER |
7981 |
|
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
7982 |
|
library file and header file, respectively." >&5 |
7983 |
|
echo "$as_me: error: Cannot find a compatiable Tcl header file. |
7984 |
You must build and install Tcl version 8.3 (but not yet 8.4) before you |
You must build and install Tcl version 8.3 (but not yet 8.4) before you |
7985 |
can build ASCEND. If you have installed the correct version |
can build ASCEND. If you have installed the correct version |
7986 |
of Tcl, run configure again with the argument: |
of Tcl, run configure again with the argument: |
7987 |
--with-tcl=LIBRARY,HEADER |
--with-tcl=LIBRARY,HEADER |
7988 |
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
where LIBRARY and HEADER are the full paths to the Tcl8.3 |
7989 |
library file and header file, respectively." 1>&2; exit 1; } |
library file and header file, respectively." >&2;} |
7990 |
|
{ (exit 1); exit 1; }; } |
7991 |
fi |
fi |
7992 |
TCL_HDR=`echo $TCL_HDR | sed 's,tcl\.h$,,'` |
TCL_HDR=`echo $TCL_HDR | sed 's,tcl\.h$,,'` |
7993 |
if test -n "$TCL_HDR" ; then |
if test -n "$TCL_HDR" ; then |
8000 |
# see if the user gave us the location of the Tk8.3 |
# see if the user gave us the location of the Tk8.3 |
8001 |
# library and/or header file |
# library and/or header file |
8002 |
# |
# |
8003 |
|
|
8004 |
# Check whether --with-tk or --without-tk was given. |
# Check whether --with-tk or --without-tk was given. |
8005 |
if test "${with_tk+set}" = set; then |
if test "${with_tk+set}" = set; then |
8006 |
withval="$with_tk" |
withval="$with_tk" |
8007 |
: |
|
8008 |
else |
else |
8009 |
with_tk=yes |
with_tk=yes |
8010 |
fi |
fi; |
|
|
|
8011 |
|
|
8012 |
case "$with_tk" in |
case "$with_tk" in |
8013 |
no) |
no) |
8014 |
# User specified --without-tk; this makes no sense, |
# User specified --without-tk; this makes no sense, |
8015 |
# print a warning and search for it ourselves |
# print a warning and search for it ourselves |
8016 |
echo "configure: warning: Bad option '--without-tk' |
{ echo "$as_me:$LINENO: WARNING: Bad option '--without-tk' |
8017 |
ASCEND must be compiled with Tk8.0." 1>&2 |
ASCEND must be compiled with Tk8.0." >&5 |
8018 |
|
echo "$as_me: WARNING: Bad option '--without-tk' |
8019 |
|
ASCEND must be compiled with Tk8.0." >&2;} |
8020 |
with_tklib=_searching |
with_tklib=_searching |
8021 |
with_tkhdr=_searching |
with_tkhdr=_searching |
8022 |
;; |
;; |
8048 |
if test "X$with_tklib" = X_searching ; then |
if test "X$with_tklib" = X_searching ; then |
8049 |
for ac_prog in libtk8.0.a libtk80.a libtk.a libtk8.3.a |
for ac_prog in libtk8.0.a libtk80.a libtk.a libtk8.3.a |
8050 |
do |
do |
8051 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
8052 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
8053 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8054 |
echo "configure:3736: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8055 |
if eval "test \"`echo '$''{'ac_cv_path_TK_LIB'+set}'`\" = set"; then |
if test "${ac_cv_path_TK_LIB+set}" = set; then |
8056 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8057 |
else |
else |
8058 |
case "$TK_LIB" in |
case $TK_LIB in |
8059 |
/*) |
[\\/]* | ?:[\\/]*) |
8060 |
ac_cv_path_TK_LIB="$TK_LIB" # Let the user override the test with a path. |
ac_cv_path_TK_LIB="$TK_LIB" # Let the user override the test with a path. |
8061 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_TK_LIB="$TK_LIB" # Let the user override the test with a dos path. |
|
|
;; |
|
8062 |
*) |
*) |
8063 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8064 |
ac_dummy="$asc_tcl_library_dirs" |
for as_dir in $asc_tcl_library_dirs |
8065 |
for ac_dir in $ac_dummy; do |
do |
8066 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
8067 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
8068 |
ac_cv_path_TK_LIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
8069 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8070 |
fi |
ac_cv_path_TK_LIB="$as_dir/$ac_word$ac_exec_ext" |
8071 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8072 |
IFS="$ac_save_ifs" |
break 2 |
8073 |
|
fi |
8074 |
|
done |
8075 |
|
done |
8076 |
|
|
8077 |
;; |
;; |
8078 |
esac |
esac |
8079 |
fi |
fi |
8080 |
TK_LIB="$ac_cv_path_TK_LIB" |
TK_LIB=$ac_cv_path_TK_LIB |
8081 |
|
|
8082 |
if test -n "$TK_LIB"; then |
if test -n "$TK_LIB"; then |
8083 |
echo "$ac_t""$TK_LIB" 1>&6 |
echo "$as_me:$LINENO: result: $TK_LIB" >&5 |
8084 |
|
echo "${ECHO_T}$TK_LIB" >&6 |
8085 |
else |
else |
8086 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8087 |
|
echo "${ECHO_T}no" >&6 |
8088 |
fi |
fi |
8089 |
|
|
8090 |
test -n "$TK_LIB" && break |
test -n "$TK_LIB" && break |
8091 |
done |
done |
8092 |
|
|
8093 |
if test -z "TK_LIB" ; then |
if test -z "TK_LIB" ; then |
8094 |
TK_LIB=_searching |
TK_LIB=_searching |
8095 |
fi |
fi |
8096 |
else |
else |
8097 |
echo "$ac_t""checking for tk library... $TK_LIB" 1>&6 |
echo "$as_me:$LINENO: result: checking for tk library... $TK_LIB" >&5 |
8098 |
|
echo "${ECHO_T}checking for tk library... $TK_LIB" >&6 |
8099 |
fi |
fi |
8100 |
|
|
8101 |
# verify the TK_LIB |
# verify the TK_LIB |
8102 |
# |
# |
8103 |
if test ! "X$TK_LIB" = X_searching ; then |
if test ! "X$TK_LIB" = X_searching ; then |
8104 |
echo $ac_n "checking whether $TK_LIB is for Tk8.0""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $TK_LIB is for Tk8.0" >&5 |
8105 |
echo "configure:3782: checking whether $TK_LIB is for Tk8.0" >&5 |
echo $ECHO_N "checking whether $TK_LIB is for Tk8.0... $ECHO_C" >&6 |
8106 |
asc_libs_orig=$LIBS |
asc_libs_orig=$LIBS |
8107 |
LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
8108 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8109 |
#line 3786 "configure" |
/* confdefs.h. */ |
8110 |
#include "confdefs.h" |
_ACEOF |
8111 |
|
cat confdefs.h >>conftest.$ac_ext |
8112 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8113 |
|
/* end confdefs.h. */ |
8114 |
|
|
8115 |
int main() { |
int |
8116 |
|
main () |
8117 |
|
{ |
8118 |
Tk_NameOfFont() |
Tk_NameOfFont() |
8119 |
; return 0; } |
; |
8120 |
EOF |
return 0; |
8121 |
if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
8122 |
|
_ACEOF |
8123 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8124 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8125 |
|
(eval $ac_link) 2>conftest.er1 |
8126 |
|
ac_status=$? |
8127 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8128 |
|
rm -f conftest.er1 |
8129 |
|
cat conftest.err >&5 |
8130 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8131 |
|
(exit $ac_status); } && |
8132 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8133 |
|
|| test ! -s conftest.err' |
8134 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8135 |
|
(eval $ac_try) 2>&5 |
8136 |
|
ac_status=$? |
8137 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8138 |
|
(exit $ac_status); }; } && |
8139 |
|
{ ac_try='test -s conftest$ac_exeext' |
8140 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8141 |
|
(eval $ac_try) 2>&5 |
8142 |
|
ac_status=$? |
8143 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8144 |
|
(exit $ac_status); }; }; then |
8145 |
: |
: |
8146 |
else |
else |
8147 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
8148 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8149 |
rm -rf conftest* |
|
8150 |
TK_LIB=_searching |
TK_LIB=_searching |
8151 |
fi |
fi |
8152 |
rm -f conftest*; |
rm -f conftest.err conftest.$ac_objext \ |
8153 |
|
conftest$ac_exeext conftest.$ac_ext; |
8154 |
if test "X$TK_LIB" = X_searching ; then |
if test "X$TK_LIB" = X_searching ; then |
8155 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8156 |
|
echo "${ECHO_T}no" >&6 |
8157 |
else |
else |
8158 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8159 |
|
echo "${ECHO_T}yes" >&6 |
8160 |
fi |
fi |
8161 |
LIBS=$asc_libs_orig |
LIBS=$asc_libs_orig |
8162 |
fi |
fi |
8164 |
# see if the default LPATH can find the Tk8.0 library |
# see if the default LPATH can find the Tk8.0 library |
8165 |
# |
# |
8166 |
if test "X$TK_LIB" = X_searching ; then |
if test "X$TK_LIB" = X_searching ; then |
8167 |
echo "$ac_t""checking for a dynamically loaded Tk8.0 library" 1>&6 |
echo "$as_me:$LINENO: result: checking for a dynamically loaded Tk8.0 library" >&5 |
8168 |
echo $ac_n "checking for Tk_NameOfFont in -ltk8.0""... $ac_c" 1>&6 |
echo "${ECHO_T}checking for a dynamically loaded Tk8.0 library" >&6 |
8169 |
echo "configure:3815: checking for Tk_NameOfFont in -ltk8.0" >&5 |
echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk8.0" >&5 |
8170 |
ac_lib_var=`echo tk8.0'_'Tk_NameOfFont | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for Tk_NameOfFont in -ltk8.0... $ECHO_C" >&6 |
8171 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_tk8_0_Tk_NameOfFont+set}" = set; then |
8172 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8173 |
else |
else |
8174 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8175 |
LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
8176 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8177 |
#line 3823 "configure" |
/* confdefs.h. */ |
8178 |
#include "confdefs.h" |
_ACEOF |
8179 |
|
cat confdefs.h >>conftest.$ac_ext |
8180 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8181 |
|
/* end confdefs.h. */ |
8182 |
|
|
8183 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8184 |
|
#ifdef __cplusplus |
8185 |
|
extern "C" |
8186 |
|
#endif |
8187 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
8188 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8189 |
char Tk_NameOfFont(); |
char Tk_NameOfFont (); |
8190 |
|
int |
8191 |
int main() { |
main () |
8192 |
Tk_NameOfFont() |
{ |
8193 |
; return 0; } |
Tk_NameOfFont (); |
8194 |
EOF |
; |
8195 |
if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
8196 |
rm -rf conftest* |
} |
8197 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
8198 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
8199 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8200 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
8201 |
rm -rf conftest* |
ac_status=$? |
8202 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
8203 |
fi |
rm -f conftest.er1 |
8204 |
rm -f conftest* |
cat conftest.err >&5 |
8205 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8206 |
|
(exit $ac_status); } && |
8207 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
8208 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
8209 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8210 |
TK_LIB="-ltk8.0" |
(eval $ac_try) 2>&5 |
8211 |
else |
ac_status=$? |
8212 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8213 |
|
(exit $ac_status); }; } && |
8214 |
|
{ ac_try='test -s conftest$ac_exeext' |
8215 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8216 |
|
(eval $ac_try) 2>&5 |
8217 |
|
ac_status=$? |
8218 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8219 |
|
(exit $ac_status); }; }; then |
8220 |
|
ac_cv_lib_tk8_0_Tk_NameOfFont=yes |
8221 |
|
else |
8222 |
|
echo "$as_me: failed program was:" >&5 |
8223 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8224 |
|
|
8225 |
|
ac_cv_lib_tk8_0_Tk_NameOfFont=no |
8226 |
|
fi |
8227 |
|
rm -f conftest.err conftest.$ac_objext \ |
8228 |
|
conftest$ac_exeext conftest.$ac_ext |
8229 |
|
LIBS=$ac_check_lib_save_LIBS |
8230 |
|
fi |
8231 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tk8_0_Tk_NameOfFont" >&5 |
8232 |
|
echo "${ECHO_T}$ac_cv_lib_tk8_0_Tk_NameOfFont" >&6 |
8233 |
|
if test $ac_cv_lib_tk8_0_Tk_NameOfFont = yes; then |
8234 |
|
TK_LIB="-ltk8.0" |
8235 |
fi |
fi |
8236 |
|
|
8237 |
fi |
fi |
8238 |
if test "X$TK_LIB" = X_searching ; then |
if test "X$TK_LIB" = X_searching ; then |
8239 |
echo $ac_n "checking for Tk_NameOfFont in -ltk80""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk80" >&5 |
8240 |
echo "configure:3857: checking for Tk_NameOfFont in -ltk80" >&5 |
echo $ECHO_N "checking for Tk_NameOfFont in -ltk80... $ECHO_C" >&6 |
8241 |
ac_lib_var=`echo tk80'_'Tk_NameOfFont | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tk80_Tk_NameOfFont+set}" = set; then |
8242 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
8243 |
else |
else |
8244 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8245 |
LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
8246 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8247 |
#line 3865 "configure" |
/* confdefs.h. */ |
8248 |
#include "confdefs.h" |
_ACEOF |
8249 |
|
cat confdefs.h >>conftest.$ac_ext |
8250 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8251 |
|
/* end confdefs.h. */ |
8252 |
|
|
8253 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8254 |
|
#ifdef __cplusplus |
8255 |
|
extern "C" |
8256 |
|
#endif |
8257 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
8258 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8259 |
char Tk_NameOfFont(); |
char Tk_NameOfFont (); |
8260 |
|
int |
8261 |
int main() { |
main () |
8262 |
Tk_NameOfFont() |
{ |
8263 |
; return 0; } |
Tk_NameOfFont (); |
8264 |
EOF |
; |
8265 |
if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
8266 |
rm -rf conftest* |
} |
8267 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
8268 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
8269 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8270 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
8271 |
rm -rf conftest* |
ac_status=$? |
8272 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
8273 |
fi |
rm -f conftest.er1 |
8274 |
rm -f conftest* |
cat conftest.err >&5 |
8275 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8276 |
|
(exit $ac_status); } && |
8277 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
8278 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
8279 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8280 |
TK_LIB="-ltk80" |
(eval $ac_try) 2>&5 |
8281 |
else |
ac_status=$? |
8282 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8283 |
|
(exit $ac_status); }; } && |
8284 |
|
{ ac_try='test -s conftest$ac_exeext' |
8285 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8286 |
|
(eval $ac_try) 2>&5 |
8287 |
|
ac_status=$? |
8288 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8289 |
|
(exit $ac_status); }; }; then |
8290 |
|
ac_cv_lib_tk80_Tk_NameOfFont=yes |
8291 |
|
else |
8292 |
|
echo "$as_me: failed program was:" >&5 |
8293 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8294 |
|
|
8295 |
|
ac_cv_lib_tk80_Tk_NameOfFont=no |
8296 |
|
fi |
8297 |
|
rm -f conftest.err conftest.$ac_objext \ |
8298 |
|
conftest$ac_exeext conftest.$ac_ext |
8299 |
|
LIBS=$ac_check_lib_save_LIBS |
8300 |
|
fi |
8301 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tk80_Tk_NameOfFont" >&5 |
8302 |
|
echo "${ECHO_T}$ac_cv_lib_tk80_Tk_NameOfFont" >&6 |
8303 |
|
if test $ac_cv_lib_tk80_Tk_NameOfFont = yes; then |
8304 |
|
TK_LIB="-ltk80" |
8305 |
fi |
fi |
8306 |
|
|
8307 |
fi |
fi |
8308 |
if test "X$TK_LIB" = X_searching ; then |
if test "X$TK_LIB" = X_searching ; then |
8309 |
echo $ac_n "checking for Tk_NameOfFont in -ltk""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk" >&5 |
8310 |
echo "configure:3899: checking for Tk_NameOfFont in -ltk" >&5 |
echo $ECHO_N "checking for Tk_NameOfFont in -ltk... $ECHO_C" >&6 |
8311 |
ac_lib_var=`echo tk'_'Tk_NameOfFont | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_tk_Tk_NameOfFont+set}" = set; then |
8312 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
8313 |
else |
else |
8314 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8315 |
LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS" |
8316 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8317 |
#line 3907 "configure" |
/* confdefs.h. */ |
8318 |
#include "confdefs.h" |
_ACEOF |
8319 |
|
cat confdefs.h >>conftest.$ac_ext |
8320 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8321 |
|
/* end confdefs.h. */ |
8322 |
|
|
8323 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8324 |
|
#ifdef __cplusplus |
8325 |
|
extern "C" |
8326 |
|
#endif |
8327 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
8328 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8329 |
char Tk_NameOfFont(); |
char Tk_NameOfFont (); |
8330 |
|
int |
8331 |
int main() { |
main () |
8332 |
Tk_NameOfFont() |
{ |
8333 |
; return 0; } |
Tk_NameOfFont (); |
8334 |
EOF |
; |
8335 |
if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
8336 |
rm -rf conftest* |
} |
8337 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
8338 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
8339 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8340 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
8341 |
rm -rf conftest* |
ac_status=$? |
8342 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
8343 |
fi |
rm -f conftest.er1 |
8344 |
rm -f conftest* |
cat conftest.err >&5 |
8345 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8346 |
|
(exit $ac_status); } && |
8347 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
8348 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
8349 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8350 |
TK_LIB="-ltk" |
(eval $ac_try) 2>&5 |
8351 |
else |
ac_status=$? |
8352 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8353 |
|
(exit $ac_status); }; } && |
8354 |
|
{ ac_try='test -s conftest$ac_exeext' |
8355 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8356 |
|
(eval $ac_try) 2>&5 |
8357 |
|
ac_status=$? |
8358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8359 |
|
(exit $ac_status); }; }; then |
8360 |
|
ac_cv_lib_tk_Tk_NameOfFont=yes |
8361 |
|
else |
8362 |
|
echo "$as_me: failed program was:" >&5 |
8363 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8364 |
|
|
8365 |
|
ac_cv_lib_tk_Tk_NameOfFont=no |
8366 |
|
fi |
8367 |
|
rm -f conftest.err conftest.$ac_objext \ |
8368 |
|
conftest$ac_exeext conftest.$ac_ext |
8369 |
|
LIBS=$ac_check_lib_save_LIBS |
8370 |
|
fi |
8371 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_tk_Tk_NameOfFont" >&5 |
8372 |
|
echo "${ECHO_T}$ac_cv_lib_tk_Tk_NameOfFont" >&6 |
8373 |
|
if test $ac_cv_lib_tk_Tk_NameOfFont = yes; then |
8374 |
|
TK_LIB="-ltk" |
8375 |
fi |
fi |
8376 |
|
|
8377 |
fi |
fi |
8379 |
# give up searching for the Tk8.0 library |
# give up searching for the Tk8.0 library |
8380 |
# |
# |
8381 |
if test "X$TK_LIB" = X_searching ; then |
if test "X$TK_LIB" = X_searching ; then |
8382 |
{ echo "configure: error: Cannot find a compatiable Tk library. |
{ { echo "$as_me:$LINENO: error: Cannot find a compatiable Tk library. |
8383 |
|
You must build and install Tk version 8.0 or newer before you |
8384 |
|
can build ASCEND. If you have installed the correct version |
8385 |
|
of Tk, run configure again with the argument: |
8386 |
|
--with-tk=LIBRARY,HEADER |
8387 |
|
where LIBRARY and HEADER are the full paths to the Tk8.0 |
8388 |
|
library file and header file, respectively." >&5 |
8389 |
|
echo "$as_me: error: Cannot find a compatiable Tk library. |
8390 |
You must build and install Tk version 8.0 or newer before you |
You must build and install Tk version 8.0 or newer before you |
8391 |
can build ASCEND. If you have installed the correct version |
can build ASCEND. If you have installed the correct version |
8392 |
of Tk, run configure again with the argument: |
of Tk, run configure again with the argument: |
8393 |
--with-tk=LIBRARY,HEADER |
--with-tk=LIBRARY,HEADER |
8394 |
where LIBRARY and HEADER are the full paths to the Tk8.0 |
where LIBRARY and HEADER are the full paths to the Tk8.0 |
8395 |
library file and header file, respectively." 1>&2; exit 1; } |
library file and header file, respectively." >&2;} |
8396 |
|
{ (exit 1); exit 1; }; } |
8397 |
fi |
fi |
8398 |
|
|
8399 |
# see if the user gave us the location of the Tk8.0 header file |
# see if the user gave us the location of the Tk8.0 header file |
8400 |
# |
# |
8401 |
if test ! "X$with_tkhdr" = X_searching ; then |
if test ! "X$with_tkhdr" = X_searching ; then |
8402 |
if test ! -f "$TK_HDR" ; then |
if test ! -f "$TK_HDR" ; then |
8403 |
echo "configure: warning: user specified Tk header file, $TK_HDR, does not exist" 1>&2 |
{ echo "$as_me:$LINENO: WARNING: user specified Tk header file, $TK_HDR, does not exist" >&5 |
8404 |
|
echo "$as_me: WARNING: user specified Tk header file, $TK_HDR, does not exist" >&2;} |
8405 |
with_tkhdr=_searching |
with_tkhdr=_searching |
8406 |
TK_HDR='' |
TK_HDR='' |
8407 |
fi |
fi |
8409 |
if test "X$with_tkhdr" = X_searching ; then |
if test "X$with_tkhdr" = X_searching ; then |
8410 |
# Extract the first word of "tk.h", so it can be a program name with args. |
# Extract the first word of "tk.h", so it can be a program name with args. |
8411 |
set dummy tk.h; ac_word=$2 |
set dummy tk.h; ac_word=$2 |
8412 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8413 |
echo "configure:3965: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8414 |
if eval "test \"`echo '$''{'ac_cv_path_TK_HDR'+set}'`\" = set"; then |
if test "${ac_cv_path_TK_HDR+set}" = set; then |
8415 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8416 |
else |
else |
8417 |
case "$TK_HDR" in |
case $TK_HDR in |
8418 |
/*) |
[\\/]* | ?:[\\/]*) |
8419 |
ac_cv_path_TK_HDR="$TK_HDR" # Let the user override the test with a path. |
ac_cv_path_TK_HDR="$TK_HDR" # Let the user override the test with a path. |
8420 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_TK_HDR="$TK_HDR" # Let the user override the test with a dos path. |
|
|
;; |
|
8421 |
*) |
*) |
8422 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8423 |
ac_dummy="$asc_tcl_include_dirs" |
for as_dir in $asc_tcl_include_dirs |
8424 |
for ac_dir in $ac_dummy; do |
do |
8425 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
8426 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
8427 |
ac_cv_path_TK_HDR="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
8428 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8429 |
fi |
ac_cv_path_TK_HDR="$as_dir/$ac_word$ac_exec_ext" |
8430 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8431 |
IFS="$ac_save_ifs" |
break 2 |
8432 |
|
fi |
8433 |
|
done |
8434 |
|
done |
8435 |
|
|
8436 |
;; |
;; |
8437 |
esac |
esac |
8438 |
fi |
fi |
8439 |
TK_HDR="$ac_cv_path_TK_HDR" |
TK_HDR=$ac_cv_path_TK_HDR |
8440 |
|
|
8441 |
if test -n "$TK_HDR"; then |
if test -n "$TK_HDR"; then |
8442 |
echo "$ac_t""$TK_HDR" 1>&6 |
echo "$as_me:$LINENO: result: $TK_HDR" >&5 |
8443 |
|
echo "${ECHO_T}$TK_HDR" >&6 |
8444 |
else |
else |
8445 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8446 |
|
echo "${ECHO_T}no" >&6 |
8447 |
fi |
fi |
8448 |
|
|
8449 |
if test -z "$TK_HDR" ; then |
if test -z "$TK_HDR" ; then |
8450 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8451 |
#line 3999 "configure" |
/* confdefs.h. */ |
8452 |
#include "confdefs.h" |
_ACEOF |
8453 |
|
cat confdefs.h >>conftest.$ac_ext |
8454 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8455 |
|
/* end confdefs.h. */ |
8456 |
#include <tk.h> |
#include <tk.h> |
8457 |
EOF |
|
8458 |
|
_ACEOF |
8459 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8460 |
egrep "TK_MAJOR_VERSION.*8" >/dev/null 2>&1; then |
$EGREP "TK_MAJOR_VERSION.*8" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
8461 |
TK_HDR='tk.h' |
TK_HDR='tk.h' |
8462 |
fi |
fi |
8463 |
rm -f conftest* |
rm -f conftest* |
8464 |
|
|
8465 |
fi |
fi |
8466 |
else |
else |
8467 |
echo "$ac_t""checking for tk header... $TK_HDR" 1>&6 |
echo "$as_me:$LINENO: result: checking for tk header... $TK_HDR" >&5 |
8468 |
|
echo "${ECHO_T}checking for tk header... $TK_HDR" >&6 |
8469 |
fi |
fi |
8470 |
if test -f "$TK_HDR" ; then |
if test -f "$TK_HDR" ; then |
8471 |
echo $ac_n "checking whether $TK_HDR is for version 8""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether $TK_HDR is for version 8" >&5 |
8472 |
echo "configure:4016: checking whether $TK_HDR is for version 8" >&5 |
echo $ECHO_N "checking whether $TK_HDR is for version 8... $ECHO_C" >&6 |
8473 |
echo 'grep TK_MAJOR_VERSION "$TK_HDR" 2>&5' 1>&5 |
echo 'grep TK_MAJOR_VERSION "$TK_HDR" 2>&5' 1>&5 |
8474 |
grep_tk_h=`grep TK_MAJOR_VERSION "$TK_HDR" 2>&5` |
grep_tk_h=`grep TK_MAJOR_VERSION "$TK_HDR" 2>&5` |
8475 |
echo $grep_tk_h 1>&5 |
echo $grep_tk_h 1>&5 |
8476 |
case "$grep_tk_h" in |
case "$grep_tk_h" in |
8477 |
*8) |
*8) |
8478 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8479 |
|
echo "${ECHO_T}yes" >&6 |
8480 |
;; |
;; |
8481 |
*) |
*) |
8482 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8483 |
|
echo "${ECHO_T}no" >&6 |
8484 |
TK_HDR= |
TK_HDR= |
8485 |
;; |
;; |
8486 |
esac |
esac |
8487 |
fi |
fi |
8488 |
if test -z "$TK_HDR" ; then |
if test -z "$TK_HDR" ; then |
8489 |
{ echo "configure: error: Cannot find a compatiable Tk header file. |
{ { echo "$as_me:$LINENO: error: Cannot find a compatiable Tk header file. |
8490 |
|
You must build and install Tk version 8.0 or newer before you |
8491 |
|
can build ASCEND. If you have installed the correct version |
8492 |
|
of Tk, run configure again with the argument: |
8493 |
|
--with-tk=LIBRARY,HEADER |
8494 |
|
where LIBRARY and HEADER are the full paths to the Tk8.0 |
8495 |
|
library file and header file, respectively." >&5 |
8496 |
|
echo "$as_me: error: Cannot find a compatiable Tk header file. |
8497 |
You must build and install Tk version 8.0 or newer before you |
You must build and install Tk version 8.0 or newer before you |
8498 |
can build ASCEND. If you have installed the correct version |
can build ASCEND. If you have installed the correct version |
8499 |
of Tk, run configure again with the argument: |
of Tk, run configure again with the argument: |
8500 |
--with-tk=LIBRARY,HEADER |
--with-tk=LIBRARY,HEADER |
8501 |
where LIBRARY and HEADER are the full paths to the Tk8.0 |
where LIBRARY and HEADER are the full paths to the Tk8.0 |
8502 |
library file and header file, respectively." 1>&2; exit 1; } |
library file and header file, respectively." >&2;} |
8503 |
|
{ (exit 1); exit 1; }; } |
8504 |
fi |
fi |
8505 |
TK_HDR=`echo $TK_HDR | sed 's,tk\.h$,,'` |
TK_HDR=`echo $TK_HDR | sed 's,tk\.h$,,'` |
8506 |
if test -n "$TK_HDR" ; then |
if test -n "$TK_HDR" ; then |
8511 |
fi |
fi |
8512 |
|
|
8513 |
|
|
8514 |
|
|
8515 |
# Check whether --with-tktable or --without-tktable was given. |
# Check whether --with-tktable or --without-tktable was given. |
8516 |
if test "${with_tktable+set}" = set; then |
if test "${with_tktable+set}" = set; then |
8517 |
withval="$with_tktable" |
withval="$with_tktable" |
|
: |
|
|
fi |
|
8518 |
|
|
8519 |
|
fi; |
8520 |
case "$with_tktable" in |
case "$with_tktable" in |
8521 |
yes|no|"") |
yes|no|"") |
8522 |
# search for the table |
# search for the table |
8523 |
# Extract the first word of "libTktable.a", so it can be a program name with args. |
# Extract the first word of "libTktable.a", so it can be a program name with args. |
8524 |
set dummy libTktable.a; ac_word=$2 |
set dummy libTktable.a; ac_word=$2 |
8525 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8526 |
echo "configure:4060: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8527 |
if eval "test \"`echo '$''{'ac_cv_path_TKTABLE_LIB'+set}'`\" = set"; then |
if test "${ac_cv_path_TKTABLE_LIB+set}" = set; then |
8528 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8529 |
else |
else |
8530 |
case "$TKTABLE_LIB" in |
case $TKTABLE_LIB in |
8531 |
/*) |
[\\/]* | ?:[\\/]*) |
8532 |
ac_cv_path_TKTABLE_LIB="$TKTABLE_LIB" # Let the user override the test with a path. |
ac_cv_path_TKTABLE_LIB="$TKTABLE_LIB" # Let the user override the test with a path. |
8533 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_TKTABLE_LIB="$TKTABLE_LIB" # Let the user override the test with a dos path. |
|
|
;; |
|
8534 |
*) |
*) |
8535 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8536 |
ac_dummy="$asc_tk_table_dirs" |
for as_dir in $asc_tk_table_dirs |
8537 |
for ac_dir in $ac_dummy; do |
do |
8538 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
8539 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
8540 |
ac_cv_path_TKTABLE_LIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
8541 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8542 |
fi |
ac_cv_path_TKTABLE_LIB="$as_dir/$ac_word$ac_exec_ext" |
8543 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8544 |
IFS="$ac_save_ifs" |
break 2 |
8545 |
|
fi |
8546 |
|
done |
8547 |
|
done |
8548 |
|
|
8549 |
;; |
;; |
8550 |
esac |
esac |
8551 |
fi |
fi |
8552 |
TKTABLE_LIB="$ac_cv_path_TKTABLE_LIB" |
TKTABLE_LIB=$ac_cv_path_TKTABLE_LIB |
8553 |
|
|
8554 |
if test -n "$TKTABLE_LIB"; then |
if test -n "$TKTABLE_LIB"; then |
8555 |
echo "$ac_t""$TKTABLE_LIB" 1>&6 |
echo "$as_me:$LINENO: result: $TKTABLE_LIB" >&5 |
8556 |
|
echo "${ECHO_T}$TKTABLE_LIB" >&6 |
8557 |
else |
else |
8558 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8559 |
|
echo "${ECHO_T}no" >&6 |
8560 |
fi |
fi |
8561 |
|
|
8562 |
;; |
;; |
8568 |
if test -n "$TKTABLE_LIB" ; then |
if test -n "$TKTABLE_LIB" ; then |
8569 |
HAVE_TKTABLE='-DSTATIC_TKTABLE' |
HAVE_TKTABLE='-DSTATIC_TKTABLE' |
8570 |
else |
else |
8571 |
echo "$ac_t""Assuming Tktable will be dynamically linked into ASCEND" 1>&6 |
echo "$as_me:$LINENO: result: Assuming Tktable will be dynamically linked into ASCEND" >&5 |
8572 |
|
echo "${ECHO_T}Assuming Tktable will be dynamically linked into ASCEND" >&6 |
8573 |
fi |
fi |
8574 |
|
|
8575 |
|
|
8576 |
# Check whether --with-wish or --without-wish was given. |
# Check whether --with-wish or --without-wish was given. |
8577 |
if test "${with_wish+set}" = set; then |
if test "${with_wish+set}" = set; then |
8578 |
withval="$with_wish" |
withval="$with_wish" |
8579 |
: |
|
8580 |
else |
else |
8581 |
with_wish=no |
with_wish=no |
8582 |
fi |
fi; |
|
|
|
8583 |
case "$with_wish" in |
case "$with_wish" in |
8584 |
yes|no|"") |
yes|no|"") |
8585 |
echo "$ac_t""--with-wish not specified. |
echo "$as_me:$LINENO: result: --with-wish not specified. |
8586 |
Setting env vars TCL_LIBRARY, TK_LIBRARY may be needed to run." 1>&6 |
Setting env vars TCL_LIBRARY, TK_LIBRARY may be needed to run." >&5 |
8587 |
|
echo "${ECHO_T}--with-wish not specified. |
8588 |
|
Setting env vars TCL_LIBRARY, TK_LIBRARY may be needed to run." >&6 |
8589 |
;; |
;; |
8590 |
*) |
*) |
8591 |
echo $ac_n "checking wish for tcl_library,tk_library""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking wish for tcl_library,tk_library" >&5 |
8592 |
echo "configure:4119: checking wish for tcl_library,tk_library" >&5 |
echo $ECHO_N "checking wish for tcl_library,tk_library... $ECHO_C" >&6 |
8593 |
|
|
8594 |
# asc_wishvar( tcl_library, $with_wish) |
# asc_wishvar( tcl_library, $with_wish) |
8595 |
# generate the executable to extract a variable |
# generate the executable to extract a variable |
8596 |
# from the tickle shell |
# from the tickle shell |
8611 |
ASC_TK_LIBRARY=`$with_wish wishvar.tmp.tcl -- tk_library` |
ASC_TK_LIBRARY=`$with_wish wishvar.tmp.tcl -- tk_library` |
8612 |
|
|
8613 |
|
|
8614 |
|
|
8615 |
# asc_wishvar( tcl_library, $with_wish) |
# asc_wishvar( tcl_library, $with_wish) |
8616 |
# generate the executable to extract a variable |
# generate the executable to extract a variable |
8617 |
# from the tickle shell |
# from the tickle shell |
8632 |
ASC_TCL_LIBRARY=`$with_wish wishvar.tmp.tcl -- tcl_library` |
ASC_TCL_LIBRARY=`$with_wish wishvar.tmp.tcl -- tcl_library` |
8633 |
|
|
8634 |
|
|
8635 |
echo "$ac_t"" $ASC_TCL_LIBRARY , $ASC_TK_LIBRARY" 1>&6 |
echo "$as_me:$LINENO: result: $ASC_TCL_LIBRARY , $ASC_TK_LIBRARY" >&5 |
8636 |
|
echo "${ECHO_T} $ASC_TCL_LIBRARY , $ASC_TK_LIBRARY" >&6 |
8637 |
;; |
;; |
8638 |
esac |
esac |
8639 |
|
|
8743 |
/afs/cs/project/ascend/depot/build/obj/conopt |
/afs/cs/project/ascend/depot/build/obj/conopt |
8744 |
" |
" |
8745 |
# |
# |
8746 |
|
|
8747 |
# Check whether --with-fortran or --without-fortran was given. |
# Check whether --with-fortran or --without-fortran was given. |
8748 |
if test "${with_fortran+set}" = set; then |
if test "${with_fortran+set}" = set; then |
8749 |
withval="$with_fortran" |
withval="$with_fortran" |
8750 |
: |
|
8751 |
else |
else |
8752 |
with_fortran=yes |
with_fortran=yes |
8753 |
fi |
fi; |
|
|
|
8754 |
case "$with_fortran" in |
case "$with_fortran" in |
8755 |
no) |
no) |
8756 |
# The user disabled all fortran using |
# The user disabled all fortran using |
8796 |
# find it and disable all fortran. |
# find it and disable all fortran. |
8797 |
for ac_prog in f77 xlf g77 |
for ac_prog in f77 xlf g77 |
8798 |
do |
do |
8799 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
8800 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
8801 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8802 |
echo "configure:4328: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8803 |
if eval "test \"`echo '$''{'ac_cv_path_F77'+set}'`\" = set"; then |
if test "${ac_cv_path_F77+set}" = set; then |
8804 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8805 |
else |
else |
8806 |
case "$F77" in |
case $F77 in |
8807 |
/*) |
[\\/]* | ?:[\\/]*) |
8808 |
ac_cv_path_F77="$F77" # Let the user override the test with a path. |
ac_cv_path_F77="$F77" # Let the user override the test with a path. |
8809 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_F77="$F77" # Let the user override the test with a dos path. |
|
|
;; |
|
8810 |
*) |
*) |
8811 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8812 |
ac_dummy="$asc_f77_prog_dirs" |
for as_dir in $asc_f77_prog_dirs |
8813 |
for ac_dir in $ac_dummy; do |
do |
8814 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
8815 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
8816 |
ac_cv_path_F77="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
8817 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8818 |
fi |
ac_cv_path_F77="$as_dir/$ac_word$ac_exec_ext" |
8819 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8820 |
IFS="$ac_save_ifs" |
break 2 |
8821 |
|
fi |
8822 |
|
done |
8823 |
|
done |
8824 |
|
|
8825 |
;; |
;; |
8826 |
esac |
esac |
8827 |
fi |
fi |
8828 |
F77="$ac_cv_path_F77" |
F77=$ac_cv_path_F77 |
8829 |
|
|
8830 |
if test -n "$F77"; then |
if test -n "$F77"; then |
8831 |
echo "$ac_t""$F77" 1>&6 |
echo "$as_me:$LINENO: result: $F77" >&5 |
8832 |
|
echo "${ECHO_T}$F77" >&6 |
8833 |
else |
else |
8834 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8835 |
|
echo "${ECHO_T}no" >&6 |
8836 |
fi |
fi |
8837 |
|
|
8838 |
test -n "$F77" && break |
test -n "$F77" && break |
8839 |
done |
done |
8840 |
|
|
8841 |
if test -z "$F77" ; then |
if test -z "$F77" ; then |
8842 |
with_fortran=no |
with_fortran=no |
8843 |
with_f77libs=no |
with_f77libs=no |
8844 |
echo "configure: warning: Cannot find your Fortran compiler. Building ASCEND |
{ echo "$as_me:$LINENO: WARNING: Cannot find your Fortran compiler. Building ASCEND |
8845 |
|
without integration, MINOS, and CONOPT support. To bulid ASCEND with |
8846 |
|
Fortran support, run configure with the option |
8847 |
|
--with-fortran=F77,F77LIBS |
8848 |
|
where F77 is the full path to your Fortran compiler and F77LIBS are |
8849 |
|
its related libraries" >&5 |
8850 |
|
echo "$as_me: WARNING: Cannot find your Fortran compiler. Building ASCEND |
8851 |
without integration, MINOS, and CONOPT support. To bulid ASCEND with |
without integration, MINOS, and CONOPT support. To bulid ASCEND with |
8852 |
Fortran support, run configure with the option |
Fortran support, run configure with the option |
8853 |
--with-fortran=F77,F77LIBS |
--with-fortran=F77,F77LIBS |
8854 |
where F77 is the full path to your Fortran compiler and F77LIBS are |
where F77 is the full path to your Fortran compiler and F77LIBS are |
8855 |
its related libraries" 1>&2 |
its related libraries" >&2;} |
8856 |
fi |
fi |
8857 |
fi |
fi |
8858 |
|
|
8859 |
if test "X$with_f77libs" = X_searching ; then |
if test "X$with_f77libs" = X_searching ; then |
8860 |
# We found a compiler, now search for the fortran libraries |
# We found a compiler, now search for the fortran libraries |
8861 |
# based on the system type. |
# based on the system type. |
8862 |
echo "$ac_t""checking for fortran libraries based on system type" 1>&6 |
echo "$as_me:$LINENO: result: checking for fortran libraries based on system type" >&5 |
8863 |
|
echo "${ECHO_T}checking for fortran libraries based on system type" >&6 |
8864 |
case "$host" in |
case "$host" in |
8865 |
alpha-dec-osf*) |
alpha-dec-osf*) |
8866 |
echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for for_lle in -lfor" >&5 |
8867 |
echo "configure:4382: checking for for_lle in -lfor" >&5 |
echo $ECHO_N "checking for for_lle in -lfor... $ECHO_C" >&6 |
8868 |
ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_for_for_lle+set}" = set; then |
8869 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
8870 |
else |
else |
8871 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8872 |
LIBS="-lfor $F77LIBS $LIBS" |
LIBS="-lfor $F77LIBS $LIBS" |
8873 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8874 |
#line 4390 "configure" |
/* confdefs.h. */ |
8875 |
#include "confdefs.h" |
_ACEOF |
8876 |
|
cat confdefs.h >>conftest.$ac_ext |
8877 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8878 |
|
/* end confdefs.h. */ |
8879 |
|
|
8880 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8881 |
|
#ifdef __cplusplus |
8882 |
|
extern "C" |
8883 |
|
#endif |
8884 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
8885 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8886 |
char for_lle(); |
char for_lle (); |
8887 |
|
int |
8888 |
int main() { |
main () |
8889 |
for_lle() |
{ |
8890 |
; return 0; } |
for_lle (); |
8891 |
EOF |
; |
8892 |
if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
8893 |
rm -rf conftest* |
} |
8894 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
8895 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
8896 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8897 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
8898 |
rm -rf conftest* |
ac_status=$? |
8899 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
8900 |
fi |
rm -f conftest.er1 |
8901 |
rm -f conftest* |
cat conftest.err >&5 |
8902 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8903 |
|
(exit $ac_status); } && |
8904 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
8905 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
8906 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8907 |
|
(eval $ac_try) 2>&5 |
8908 |
|
ac_status=$? |
8909 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8910 |
|
(exit $ac_status); }; } && |
8911 |
|
{ ac_try='test -s conftest$ac_exeext' |
8912 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8913 |
|
(eval $ac_try) 2>&5 |
8914 |
|
ac_status=$? |
8915 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8916 |
|
(exit $ac_status); }; }; then |
8917 |
|
ac_cv_lib_for_for_lle=yes |
8918 |
|
else |
8919 |
|
echo "$as_me: failed program was:" >&5 |
8920 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8921 |
|
|
8922 |
|
ac_cv_lib_for_for_lle=no |
8923 |
|
fi |
8924 |
|
rm -f conftest.err conftest.$ac_objext \ |
8925 |
|
conftest$ac_exeext conftest.$ac_ext |
8926 |
|
LIBS=$ac_check_lib_save_LIBS |
8927 |
|
fi |
8928 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_for_for_lle" >&5 |
8929 |
|
echo "${ECHO_T}$ac_cv_lib_for_for_lle" >&6 |
8930 |
|
if test $ac_cv_lib_for_for_lle = yes; then |
8931 |
F77LIBS="$F77LIBS -lfor" |
F77LIBS="$F77LIBS -lfor" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8932 |
fi |
fi |
8933 |
|
|
8934 |
echo $ac_n "checking for _OtsFill in -lots""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for _OtsFill in -lots" >&5 |
8935 |
echo "configure:4422: checking for _OtsFill in -lots" >&5 |
echo $ECHO_N "checking for _OtsFill in -lots... $ECHO_C" >&6 |
8936 |
ac_lib_var=`echo ots'_'_OtsFill | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ots__OtsFill+set}" = set; then |
8937 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
8938 |
else |
else |
8939 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8940 |
LIBS="-lots $F77LIBS $LIBS" |
LIBS="-lots $F77LIBS $LIBS" |
8941 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8942 |
#line 4430 "configure" |
/* confdefs.h. */ |
8943 |
#include "confdefs.h" |
_ACEOF |
8944 |
|
cat confdefs.h >>conftest.$ac_ext |
8945 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8946 |
|
/* end confdefs.h. */ |
8947 |
|
|
8948 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8949 |
|
#ifdef __cplusplus |
8950 |
|
extern "C" |
8951 |
|
#endif |
8952 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
8953 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8954 |
char _OtsFill(); |
char _OtsFill (); |
8955 |
|
int |
8956 |
int main() { |
main () |
8957 |
_OtsFill() |
{ |
8958 |
; return 0; } |
_OtsFill (); |
8959 |
EOF |
; |
8960 |
if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
8961 |
rm -rf conftest* |
} |
8962 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
8963 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
8964 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8965 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
8966 |
rm -rf conftest* |
ac_status=$? |
8967 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
8968 |
fi |
rm -f conftest.er1 |
8969 |
rm -f conftest* |
cat conftest.err >&5 |
8970 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8971 |
|
(exit $ac_status); } && |
8972 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
8973 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
8974 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8975 |
|
(eval $ac_try) 2>&5 |
8976 |
|
ac_status=$? |
8977 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8978 |
|
(exit $ac_status); }; } && |
8979 |
|
{ ac_try='test -s conftest$ac_exeext' |
8980 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8981 |
|
(eval $ac_try) 2>&5 |
8982 |
|
ac_status=$? |
8983 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8984 |
|
(exit $ac_status); }; }; then |
8985 |
|
ac_cv_lib_ots__OtsFill=yes |
8986 |
|
else |
8987 |
|
echo "$as_me: failed program was:" >&5 |
8988 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8989 |
|
|
8990 |
|
ac_cv_lib_ots__OtsFill=no |
8991 |
|
fi |
8992 |
|
rm -f conftest.err conftest.$ac_objext \ |
8993 |
|
conftest$ac_exeext conftest.$ac_ext |
8994 |
|
LIBS=$ac_check_lib_save_LIBS |
8995 |
|
fi |
8996 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ots__OtsFill" >&5 |
8997 |
|
echo "${ECHO_T}$ac_cv_lib_ots__OtsFill" >&6 |
8998 |
|
if test $ac_cv_lib_ots__OtsFill = yes; then |
8999 |
F77LIBS="$F77LIBS -lots" |
F77LIBS="$F77LIBS -lots" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9000 |
fi |
fi |
9001 |
|
|
9002 |
echo $ac_n "checking for etime_ in -lUfor""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for etime_ in -lUfor" >&5 |
9003 |
echo "configure:4462: checking for etime_ in -lUfor" >&5 |
echo $ECHO_N "checking for etime_ in -lUfor... $ECHO_C" >&6 |
9004 |
ac_lib_var=`echo Ufor'_'etime_ | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Ufor_etime_+set}" = set; then |
9005 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9006 |
else |
else |
9007 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9008 |
LIBS="-lUfor $F77LIBS $LIBS" |
LIBS="-lUfor $F77LIBS $LIBS" |
9009 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9010 |
#line 4470 "configure" |
/* confdefs.h. */ |
9011 |
#include "confdefs.h" |
_ACEOF |
9012 |
|
cat confdefs.h >>conftest.$ac_ext |
9013 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9014 |
|
/* end confdefs.h. */ |
9015 |
|
|
9016 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9017 |
|
#ifdef __cplusplus |
9018 |
|
extern "C" |
9019 |
|
#endif |
9020 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9021 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9022 |
char etime_(); |
char etime_ (); |
9023 |
|
int |
9024 |
int main() { |
main () |
9025 |
etime_() |
{ |
9026 |
; return 0; } |
etime_ (); |
9027 |
EOF |
; |
9028 |
if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9029 |
rm -rf conftest* |
} |
9030 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9031 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9032 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9033 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9034 |
rm -rf conftest* |
ac_status=$? |
9035 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9036 |
fi |
rm -f conftest.er1 |
9037 |
rm -f conftest* |
cat conftest.err >&5 |
9038 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9039 |
|
(exit $ac_status); } && |
9040 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9041 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9042 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9043 |
|
(eval $ac_try) 2>&5 |
9044 |
|
ac_status=$? |
9045 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9046 |
|
(exit $ac_status); }; } && |
9047 |
|
{ ac_try='test -s conftest$ac_exeext' |
9048 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9049 |
|
(eval $ac_try) 2>&5 |
9050 |
|
ac_status=$? |
9051 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9052 |
|
(exit $ac_status); }; }; then |
9053 |
|
ac_cv_lib_Ufor_etime_=yes |
9054 |
|
else |
9055 |
|
echo "$as_me: failed program was:" >&5 |
9056 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9057 |
|
|
9058 |
|
ac_cv_lib_Ufor_etime_=no |
9059 |
|
fi |
9060 |
|
rm -f conftest.err conftest.$ac_objext \ |
9061 |
|
conftest$ac_exeext conftest.$ac_ext |
9062 |
|
LIBS=$ac_check_lib_save_LIBS |
9063 |
|
fi |
9064 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Ufor_etime_" >&5 |
9065 |
|
echo "${ECHO_T}$ac_cv_lib_Ufor_etime_" >&6 |
9066 |
|
if test $ac_cv_lib_Ufor_etime_ = yes; then |
9067 |
F77LIBS="$F77LIBS -lUfor" |
F77LIBS="$F77LIBS -lUfor" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9068 |
fi |
fi |
9069 |
|
|
9070 |
;; |
;; |
9071 |
mips-dec-ultrix*) |
mips-dec-ultrix*) |
9072 |
echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for for_lle in -lfor" >&5 |
9073 |
echo "configure:4504: checking for for_lle in -lfor" >&5 |
echo $ECHO_N "checking for for_lle in -lfor... $ECHO_C" >&6 |
9074 |
ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_for_for_lle+set}" = set; then |
9075 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9076 |
else |
else |
9077 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9078 |
LIBS="-lfor $F77LIBS $LIBS" |
LIBS="-lfor $F77LIBS $LIBS" |
9079 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9080 |
#line 4512 "configure" |
/* confdefs.h. */ |
9081 |
#include "confdefs.h" |
_ACEOF |
9082 |
|
cat confdefs.h >>conftest.$ac_ext |
9083 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9084 |
|
/* end confdefs.h. */ |
9085 |
|
|
9086 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9087 |
|
#ifdef __cplusplus |
9088 |
|
extern "C" |
9089 |
|
#endif |
9090 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9091 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9092 |
char for_lle(); |
char for_lle (); |
9093 |
|
int |
9094 |
int main() { |
main () |
9095 |
for_lle() |
{ |
9096 |
; return 0; } |
for_lle (); |
9097 |
EOF |
; |
9098 |
if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9099 |
rm -rf conftest* |
} |
9100 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9101 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9102 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9103 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9104 |
rm -rf conftest* |
ac_status=$? |
9105 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9106 |
fi |
rm -f conftest.er1 |
9107 |
rm -f conftest* |
cat conftest.err >&5 |
9108 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 |
|
(exit $ac_status); } && |
9110 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9111 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9112 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9113 |
|
(eval $ac_try) 2>&5 |
9114 |
|
ac_status=$? |
9115 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9116 |
|
(exit $ac_status); }; } && |
9117 |
|
{ ac_try='test -s conftest$ac_exeext' |
9118 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9119 |
|
(eval $ac_try) 2>&5 |
9120 |
|
ac_status=$? |
9121 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9122 |
|
(exit $ac_status); }; }; then |
9123 |
|
ac_cv_lib_for_for_lle=yes |
9124 |
|
else |
9125 |
|
echo "$as_me: failed program was:" >&5 |
9126 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9127 |
|
|
9128 |
|
ac_cv_lib_for_for_lle=no |
9129 |
|
fi |
9130 |
|
rm -f conftest.err conftest.$ac_objext \ |
9131 |
|
conftest$ac_exeext conftest.$ac_ext |
9132 |
|
LIBS=$ac_check_lib_save_LIBS |
9133 |
|
fi |
9134 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_for_for_lle" >&5 |
9135 |
|
echo "${ECHO_T}$ac_cv_lib_for_for_lle" >&6 |
9136 |
|
if test $ac_cv_lib_for_for_lle = yes; then |
9137 |
F77LIBS="$F77LIBS -lfor" |
F77LIBS="$F77LIBS -lfor" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9138 |
fi |
fi |
9139 |
|
|
9140 |
;; |
;; |
9141 |
hppa1.1-hp-hpux*) |
hppa1.1-hp-hpux*) |
9142 |
echo $ac_n "checking for FTN_QATAN in -lcl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for FTN_QATAN in -lcl" >&5 |
9143 |
echo "configure:4546: checking for FTN_QATAN in -lcl" >&5 |
echo $ECHO_N "checking for FTN_QATAN in -lcl... $ECHO_C" >&6 |
9144 |
ac_lib_var=`echo cl'_'FTN_QATAN | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_cl_FTN_QATAN+set}" = set; then |
9145 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9146 |
else |
else |
9147 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9148 |
LIBS="-lcl $F77LIBS $LIBS" |
LIBS="-lcl $F77LIBS $LIBS" |
9149 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9150 |
#line 4554 "configure" |
/* confdefs.h. */ |
9151 |
#include "confdefs.h" |
_ACEOF |
9152 |
|
cat confdefs.h >>conftest.$ac_ext |
9153 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9154 |
|
/* end confdefs.h. */ |
9155 |
|
|
9156 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9157 |
|
#ifdef __cplusplus |
9158 |
|
extern "C" |
9159 |
|
#endif |
9160 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9161 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9162 |
char FTN_QATAN(); |
char FTN_QATAN (); |
9163 |
|
int |
9164 |
int main() { |
main () |
9165 |
FTN_QATAN() |
{ |
9166 |
; return 0; } |
FTN_QATAN (); |
9167 |
EOF |
; |
9168 |
if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9169 |
rm -rf conftest* |
} |
9170 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9171 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9172 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9173 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9174 |
rm -rf conftest* |
ac_status=$? |
9175 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9176 |
fi |
rm -f conftest.er1 |
9177 |
rm -f conftest* |
cat conftest.err >&5 |
9178 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9179 |
|
(exit $ac_status); } && |
9180 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9181 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9182 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9183 |
|
(eval $ac_try) 2>&5 |
9184 |
|
ac_status=$? |
9185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9186 |
|
(exit $ac_status); }; } && |
9187 |
|
{ ac_try='test -s conftest$ac_exeext' |
9188 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9189 |
|
(eval $ac_try) 2>&5 |
9190 |
|
ac_status=$? |
9191 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9192 |
|
(exit $ac_status); }; }; then |
9193 |
|
ac_cv_lib_cl_FTN_QATAN=yes |
9194 |
|
else |
9195 |
|
echo "$as_me: failed program was:" >&5 |
9196 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9197 |
|
|
9198 |
|
ac_cv_lib_cl_FTN_QATAN=no |
9199 |
|
fi |
9200 |
|
rm -f conftest.err conftest.$ac_objext \ |
9201 |
|
conftest$ac_exeext conftest.$ac_ext |
9202 |
|
LIBS=$ac_check_lib_save_LIBS |
9203 |
|
fi |
9204 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_cl_FTN_QATAN" >&5 |
9205 |
|
echo "${ECHO_T}$ac_cv_lib_cl_FTN_QATAN" >&6 |
9206 |
|
if test $ac_cv_lib_cl_FTN_QATAN = yes; then |
9207 |
F77LIBS="$F77LIBS -lcl" |
F77LIBS="$F77LIBS -lcl" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9208 |
fi |
fi |
9209 |
|
|
9210 |
;; |
;; |
9212 |
# need to add -lc before -lxlf on AIX to |
# need to add -lc before -lxlf on AIX to |
9213 |
# avoid getting the wrong getenv |
# avoid getting the wrong getenv |
9214 |
F77LIBS="-lc $F77LIBS" |
F77LIBS="-lc $F77LIBS" |
9215 |
echo $ac_n "checking for _xldabs in -lxlf""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for _xldabs in -lxlf" >&5 |
9216 |
echo "configure:4591: checking for _xldabs in -lxlf" >&5 |
echo $ECHO_N "checking for _xldabs in -lxlf... $ECHO_C" >&6 |
9217 |
ac_lib_var=`echo xlf'_'_xldabs | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_xlf__xldabs+set}" = set; then |
9218 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9219 |
else |
else |
9220 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9221 |
LIBS="-lxlf $F77LIBS $LIBS" |
LIBS="-lxlf $F77LIBS $LIBS" |
9222 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9223 |
#line 4599 "configure" |
/* confdefs.h. */ |
9224 |
#include "confdefs.h" |
_ACEOF |
9225 |
|
cat confdefs.h >>conftest.$ac_ext |
9226 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9227 |
|
/* end confdefs.h. */ |
9228 |
|
|
9229 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9230 |
|
#ifdef __cplusplus |
9231 |
|
extern "C" |
9232 |
|
#endif |
9233 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9234 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9235 |
char _xldabs(); |
char _xldabs (); |
9236 |
|
int |
9237 |
int main() { |
main () |
9238 |
_xldabs() |
{ |
9239 |
; return 0; } |
_xldabs (); |
9240 |
EOF |
; |
9241 |
if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9242 |
rm -rf conftest* |
} |
9243 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9244 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9245 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9246 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9247 |
rm -rf conftest* |
ac_status=$? |
9248 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9249 |
fi |
rm -f conftest.er1 |
9250 |
rm -f conftest* |
cat conftest.err >&5 |
9251 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9252 |
|
(exit $ac_status); } && |
9253 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9254 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9255 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9256 |
|
(eval $ac_try) 2>&5 |
9257 |
|
ac_status=$? |
9258 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9259 |
|
(exit $ac_status); }; } && |
9260 |
|
{ ac_try='test -s conftest$ac_exeext' |
9261 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9262 |
|
(eval $ac_try) 2>&5 |
9263 |
|
ac_status=$? |
9264 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9265 |
|
(exit $ac_status); }; }; then |
9266 |
|
ac_cv_lib_xlf__xldabs=yes |
9267 |
|
else |
9268 |
|
echo "$as_me: failed program was:" >&5 |
9269 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9270 |
|
|
9271 |
|
ac_cv_lib_xlf__xldabs=no |
9272 |
|
fi |
9273 |
|
rm -f conftest.err conftest.$ac_objext \ |
9274 |
|
conftest$ac_exeext conftest.$ac_ext |
9275 |
|
LIBS=$ac_check_lib_save_LIBS |
9276 |
|
fi |
9277 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_xlf__xldabs" >&5 |
9278 |
|
echo "${ECHO_T}$ac_cv_lib_xlf__xldabs" >&6 |
9279 |
|
if test $ac_cv_lib_xlf__xldabs = yes; then |
9280 |
F77LIBS="$F77LIBS -lxlf" |
F77LIBS="$F77LIBS -lxlf" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9281 |
fi |
fi |
9282 |
|
|
9283 |
echo $ac_n "checking for srand_ in -lxlfutil""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for srand_ in -lxlfutil" >&5 |
9284 |
echo "configure:4631: checking for srand_ in -lxlfutil" >&5 |
echo $ECHO_N "checking for srand_ in -lxlfutil... $ECHO_C" >&6 |
9285 |
ac_lib_var=`echo xlfutil'_'srand_ | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_xlfutil_srand_+set}" = set; then |
9286 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9287 |
else |
else |
9288 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9289 |
LIBS="-lxlfutil $F77LIBS $LIBS" |
LIBS="-lxlfutil $F77LIBS $LIBS" |
9290 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9291 |
#line 4639 "configure" |
/* confdefs.h. */ |
9292 |
#include "confdefs.h" |
_ACEOF |
9293 |
|
cat confdefs.h >>conftest.$ac_ext |
9294 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9295 |
|
/* end confdefs.h. */ |
9296 |
|
|
9297 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9298 |
|
#ifdef __cplusplus |
9299 |
|
extern "C" |
9300 |
|
#endif |
9301 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9302 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9303 |
char srand_(); |
char srand_ (); |
9304 |
|
int |
9305 |
int main() { |
main () |
9306 |
srand_() |
{ |
9307 |
; return 0; } |
srand_ (); |
9308 |
EOF |
; |
9309 |
if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9310 |
rm -rf conftest* |
} |
9311 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9312 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9313 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9314 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9315 |
rm -rf conftest* |
ac_status=$? |
9316 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9317 |
fi |
rm -f conftest.er1 |
9318 |
rm -f conftest* |
cat conftest.err >&5 |
9319 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9320 |
|
(exit $ac_status); } && |
9321 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9322 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9323 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9324 |
|
(eval $ac_try) 2>&5 |
9325 |
|
ac_status=$? |
9326 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9327 |
|
(exit $ac_status); }; } && |
9328 |
|
{ ac_try='test -s conftest$ac_exeext' |
9329 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9330 |
|
(eval $ac_try) 2>&5 |
9331 |
|
ac_status=$? |
9332 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9333 |
|
(exit $ac_status); }; }; then |
9334 |
|
ac_cv_lib_xlfutil_srand_=yes |
9335 |
|
else |
9336 |
|
echo "$as_me: failed program was:" >&5 |
9337 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9338 |
|
|
9339 |
|
ac_cv_lib_xlfutil_srand_=no |
9340 |
|
fi |
9341 |
|
rm -f conftest.err conftest.$ac_objext \ |
9342 |
|
conftest$ac_exeext conftest.$ac_ext |
9343 |
|
LIBS=$ac_check_lib_save_LIBS |
9344 |
|
fi |
9345 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_xlfutil_srand_" >&5 |
9346 |
|
echo "${ECHO_T}$ac_cv_lib_xlfutil_srand_" >&6 |
9347 |
|
if test $ac_cv_lib_xlfutil_srand_ = yes; then |
9348 |
F77LIBS="$F77LIBS -lxlfutil" |
F77LIBS="$F77LIBS -lxlfutil" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9349 |
fi |
fi |
9350 |
|
|
9351 |
echo $ac_n "checking for printf in -lxlf90""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lxlf90" >&5 |
9352 |
echo "configure:4671: checking for printf in -lxlf90" >&5 |
echo $ECHO_N "checking for printf in -lxlf90... $ECHO_C" >&6 |
9353 |
ac_lib_var=`echo xlf90'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_xlf90_printf+set}" = set; then |
9354 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9355 |
else |
else |
9356 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9357 |
LIBS="-lxlf90 $F77LIBS $LIBS" |
LIBS="-lxlf90 $F77LIBS $LIBS" |
9358 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9359 |
#line 4679 "configure" |
/* confdefs.h. */ |
9360 |
#include "confdefs.h" |
_ACEOF |
9361 |
|
cat confdefs.h >>conftest.$ac_ext |
9362 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9363 |
|
/* end confdefs.h. */ |
9364 |
|
|
9365 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9366 |
|
#ifdef __cplusplus |
9367 |
|
extern "C" |
9368 |
|
#endif |
9369 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9370 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9371 |
char printf(); |
char printf (); |
9372 |
|
int |
9373 |
int main() { |
main () |
9374 |
printf() |
{ |
9375 |
; return 0; } |
printf (); |
9376 |
EOF |
; |
9377 |
if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9378 |
rm -rf conftest* |
} |
9379 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9380 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9381 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9382 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9383 |
rm -rf conftest* |
ac_status=$? |
9384 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9385 |
fi |
rm -f conftest.er1 |
9386 |
rm -f conftest* |
cat conftest.err >&5 |
9387 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9388 |
|
(exit $ac_status); } && |
9389 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9390 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9391 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9392 |
|
(eval $ac_try) 2>&5 |
9393 |
|
ac_status=$? |
9394 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9395 |
|
(exit $ac_status); }; } && |
9396 |
|
{ ac_try='test -s conftest$ac_exeext' |
9397 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9398 |
|
(eval $ac_try) 2>&5 |
9399 |
|
ac_status=$? |
9400 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9401 |
|
(exit $ac_status); }; }; then |
9402 |
|
ac_cv_lib_xlf90_printf=yes |
9403 |
|
else |
9404 |
|
echo "$as_me: failed program was:" >&5 |
9405 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9406 |
|
|
9407 |
|
ac_cv_lib_xlf90_printf=no |
9408 |
|
fi |
9409 |
|
rm -f conftest.err conftest.$ac_objext \ |
9410 |
|
conftest$ac_exeext conftest.$ac_ext |
9411 |
|
LIBS=$ac_check_lib_save_LIBS |
9412 |
|
fi |
9413 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_xlf90_printf" >&5 |
9414 |
|
echo "${ECHO_T}$ac_cv_lib_xlf90_printf" >&6 |
9415 |
|
if test $ac_cv_lib_xlf90_printf = yes; then |
9416 |
F77LIBS="$F77LIBS -lxlf90" |
F77LIBS="$F77LIBS -lxlf90" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9417 |
fi |
fi |
9418 |
|
|
9419 |
;; |
;; |
9420 |
*-linux-*) |
*-linux-*) |
9421 |
echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pow_dd in -lf2c" >&5 |
9422 |
echo "configure:4713: checking for pow_dd in -lf2c" >&5 |
echo $ECHO_N "checking for pow_dd in -lf2c... $ECHO_C" >&6 |
9423 |
ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_f2c_pow_dd+set}" = set; then |
9424 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9425 |
else |
else |
9426 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9427 |
LIBS="-lf2c $F77LIBS $LIBS" |
LIBS="-lf2c $F77LIBS $LIBS" |
9428 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9429 |
#line 4721 "configure" |
/* confdefs.h. */ |
9430 |
#include "confdefs.h" |
_ACEOF |
9431 |
|
cat confdefs.h >>conftest.$ac_ext |
9432 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9433 |
|
/* end confdefs.h. */ |
9434 |
|
|
9435 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9436 |
|
#ifdef __cplusplus |
9437 |
|
extern "C" |
9438 |
|
#endif |
9439 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9440 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9441 |
char pow_dd(); |
char pow_dd (); |
9442 |
|
int |
9443 |
int main() { |
main () |
9444 |
pow_dd() |
{ |
9445 |
; return 0; } |
pow_dd (); |
9446 |
EOF |
; |
9447 |
if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9448 |
rm -rf conftest* |
} |
9449 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9450 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9451 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9452 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9453 |
rm -rf conftest* |
ac_status=$? |
9454 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9455 |
fi |
rm -f conftest.er1 |
9456 |
rm -f conftest* |
cat conftest.err >&5 |
9457 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9458 |
|
(exit $ac_status); } && |
9459 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9460 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9461 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9462 |
|
(eval $ac_try) 2>&5 |
9463 |
|
ac_status=$? |
9464 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9465 |
|
(exit $ac_status); }; } && |
9466 |
|
{ ac_try='test -s conftest$ac_exeext' |
9467 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9468 |
|
(eval $ac_try) 2>&5 |
9469 |
|
ac_status=$? |
9470 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9471 |
|
(exit $ac_status); }; }; then |
9472 |
|
ac_cv_lib_f2c_pow_dd=yes |
9473 |
|
else |
9474 |
|
echo "$as_me: failed program was:" >&5 |
9475 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9476 |
|
|
9477 |
|
ac_cv_lib_f2c_pow_dd=no |
9478 |
|
fi |
9479 |
|
rm -f conftest.err conftest.$ac_objext \ |
9480 |
|
conftest$ac_exeext conftest.$ac_ext |
9481 |
|
LIBS=$ac_check_lib_save_LIBS |
9482 |
|
fi |
9483 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5 |
9484 |
|
echo "${ECHO_T}$ac_cv_lib_f2c_pow_dd" >&6 |
9485 |
|
if test $ac_cv_lib_f2c_pow_dd = yes; then |
9486 |
F77LIBS="$F77LIBS -lf2c" |
F77LIBS="$F77LIBS -lf2c" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9487 |
fi |
fi |
9488 |
|
|
9489 |
echo $ac_n "checking for pow_dd in -lg2c""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pow_dd in -lg2c" >&5 |
9490 |
echo "configure:4753: checking for pow_dd in -lg2c" >&5 |
echo $ECHO_N "checking for pow_dd in -lg2c... $ECHO_C" >&6 |
9491 |
ac_lib_var=`echo g2c'_'pow_dd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_g2c_pow_dd+set}" = set; then |
9492 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9493 |
else |
else |
9494 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9495 |
LIBS="-lg2c $F77LIBS $LIBS" |
LIBS="-lg2c $F77LIBS $LIBS" |
9496 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9497 |
#line 4761 "configure" |
/* confdefs.h. */ |
9498 |
#include "confdefs.h" |
_ACEOF |
9499 |
|
cat confdefs.h >>conftest.$ac_ext |
9500 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9501 |
|
/* end confdefs.h. */ |
9502 |
|
|
9503 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9504 |
|
#ifdef __cplusplus |
9505 |
|
extern "C" |
9506 |
|
#endif |
9507 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9508 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9509 |
char pow_dd(); |
char pow_dd (); |
9510 |
|
int |
9511 |
int main() { |
main () |
9512 |
pow_dd() |
{ |
9513 |
; return 0; } |
pow_dd (); |
9514 |
EOF |
; |
9515 |
if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9516 |
rm -rf conftest* |
} |
9517 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9518 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9519 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9520 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9521 |
rm -rf conftest* |
ac_status=$? |
9522 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9523 |
fi |
rm -f conftest.er1 |
9524 |
rm -f conftest* |
cat conftest.err >&5 |
9525 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9526 |
|
(exit $ac_status); } && |
9527 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9528 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9529 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9530 |
|
(eval $ac_try) 2>&5 |
9531 |
|
ac_status=$? |
9532 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9533 |
|
(exit $ac_status); }; } && |
9534 |
|
{ ac_try='test -s conftest$ac_exeext' |
9535 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9536 |
|
(eval $ac_try) 2>&5 |
9537 |
|
ac_status=$? |
9538 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9539 |
|
(exit $ac_status); }; }; then |
9540 |
|
ac_cv_lib_g2c_pow_dd=yes |
9541 |
|
else |
9542 |
|
echo "$as_me: failed program was:" >&5 |
9543 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9544 |
|
|
9545 |
|
ac_cv_lib_g2c_pow_dd=no |
9546 |
|
fi |
9547 |
|
rm -f conftest.err conftest.$ac_objext \ |
9548 |
|
conftest$ac_exeext conftest.$ac_ext |
9549 |
|
LIBS=$ac_check_lib_save_LIBS |
9550 |
|
fi |
9551 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_g2c_pow_dd" >&5 |
9552 |
|
echo "${ECHO_T}$ac_cv_lib_g2c_pow_dd" >&6 |
9553 |
|
if test $ac_cv_lib_g2c_pow_dd = yes; then |
9554 |
F77LIBS="$F77LIBS -lg2c" |
F77LIBS="$F77LIBS -lg2c" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9555 |
fi |
fi |
9556 |
|
|
9557 |
;; |
;; |
9559 |
if test -n "$GCC" ; then |
if test -n "$GCC" ; then |
9560 |
F77LIBS="-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib" |
F77LIBS="-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib" |
9561 |
fi |
fi |
9562 |
echo $ac_n "checking for d_sqrt_ in -lsunmath""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for d_sqrt_ in -lsunmath" >&5 |
9563 |
echo "configure:4798: checking for d_sqrt_ in -lsunmath" >&5 |
echo $ECHO_N "checking for d_sqrt_ in -lsunmath... $ECHO_C" >&6 |
9564 |
ac_lib_var=`echo sunmath'_'d_sqrt_ | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_sunmath_d_sqrt_+set}" = set; then |
9565 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9566 |
else |
else |
9567 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9568 |
LIBS="-lsunmath $LIBS" |
LIBS="-lsunmath $LIBS" |
9569 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9570 |
#line 4806 "configure" |
/* confdefs.h. */ |
9571 |
#include "confdefs.h" |
_ACEOF |
9572 |
|
cat confdefs.h >>conftest.$ac_ext |
9573 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9574 |
|
/* end confdefs.h. */ |
9575 |
|
|
9576 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9577 |
|
#ifdef __cplusplus |
9578 |
|
extern "C" |
9579 |
|
#endif |
9580 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9581 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9582 |
char d_sqrt_(); |
char d_sqrt_ (); |
9583 |
|
int |
9584 |
int main() { |
main () |
9585 |
d_sqrt_() |
{ |
9586 |
; return 0; } |
d_sqrt_ (); |
9587 |
EOF |
; |
9588 |
if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9589 |
rm -rf conftest* |
} |
9590 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9591 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9592 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9593 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9594 |
rm -rf conftest* |
ac_status=$? |
9595 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9596 |
fi |
rm -f conftest.er1 |
9597 |
rm -f conftest* |
cat conftest.err >&5 |
9598 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9599 |
|
(exit $ac_status); } && |
9600 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9601 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9602 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9603 |
|
(eval $ac_try) 2>&5 |
9604 |
|
ac_status=$? |
9605 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9606 |
|
(exit $ac_status); }; } && |
9607 |
|
{ ac_try='test -s conftest$ac_exeext' |
9608 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9609 |
|
(eval $ac_try) 2>&5 |
9610 |
|
ac_status=$? |
9611 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9612 |
|
(exit $ac_status); }; }; then |
9613 |
|
ac_cv_lib_sunmath_d_sqrt_=yes |
9614 |
|
else |
9615 |
|
echo "$as_me: failed program was:" >&5 |
9616 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9617 |
|
|
9618 |
|
ac_cv_lib_sunmath_d_sqrt_=no |
9619 |
|
fi |
9620 |
|
rm -f conftest.err conftest.$ac_objext \ |
9621 |
|
conftest$ac_exeext conftest.$ac_ext |
9622 |
|
LIBS=$ac_check_lib_save_LIBS |
9623 |
|
fi |
9624 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_sunmath_d_sqrt_" >&5 |
9625 |
|
echo "${ECHO_T}$ac_cv_lib_sunmath_d_sqrt_" >&6 |
9626 |
|
if test $ac_cv_lib_sunmath_d_sqrt_ = yes; then |
9627 |
MATH_LIBS="-lsunmath $MATH_LIBS" |
MATH_LIBS="-lsunmath $MATH_LIBS" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9628 |
fi |
fi |
9629 |
|
|
9630 |
echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for f77_init in -lF77" >&5 |
9631 |
echo "configure:4838: checking for f77_init in -lF77" >&5 |
echo $ECHO_N "checking for f77_init in -lF77... $ECHO_C" >&6 |
9632 |
ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_F77_f77_init+set}" = set; then |
9633 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9634 |
else |
else |
9635 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9636 |
LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS" |
LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS" |
9637 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9638 |
#line 4846 "configure" |
/* confdefs.h. */ |
9639 |
#include "confdefs.h" |
_ACEOF |
9640 |
|
cat confdefs.h >>conftest.$ac_ext |
9641 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9642 |
|
/* end confdefs.h. */ |
9643 |
|
|
9644 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9645 |
|
#ifdef __cplusplus |
9646 |
|
extern "C" |
9647 |
|
#endif |
9648 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9649 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9650 |
char f77_init(); |
char f77_init (); |
9651 |
|
int |
9652 |
int main() { |
main () |
9653 |
f77_init() |
{ |
9654 |
; return 0; } |
f77_init (); |
9655 |
EOF |
; |
9656 |
if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9657 |
rm -rf conftest* |
} |
9658 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9659 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9660 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9661 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9662 |
rm -rf conftest* |
ac_status=$? |
9663 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9664 |
fi |
rm -f conftest.er1 |
9665 |
rm -f conftest* |
cat conftest.err >&5 |
9666 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9667 |
|
(exit $ac_status); } && |
9668 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9669 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9670 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9671 |
|
(eval $ac_try) 2>&5 |
9672 |
|
ac_status=$? |
9673 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9674 |
|
(exit $ac_status); }; } && |
9675 |
|
{ ac_try='test -s conftest$ac_exeext' |
9676 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9677 |
|
(eval $ac_try) 2>&5 |
9678 |
|
ac_status=$? |
9679 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9680 |
|
(exit $ac_status); }; }; then |
9681 |
|
ac_cv_lib_F77_f77_init=yes |
9682 |
|
else |
9683 |
|
echo "$as_me: failed program was:" >&5 |
9684 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9685 |
|
|
9686 |
|
ac_cv_lib_F77_f77_init=no |
9687 |
|
fi |
9688 |
|
rm -f conftest.err conftest.$ac_objext \ |
9689 |
|
conftest$ac_exeext conftest.$ac_ext |
9690 |
|
LIBS=$ac_check_lib_save_LIBS |
9691 |
|
fi |
9692 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5 |
9693 |
|
echo "${ECHO_T}$ac_cv_lib_F77_f77_init" >&6 |
9694 |
|
if test $ac_cv_lib_F77_f77_init = yes; then |
9695 |
F77LIBS="$F77LIBS -lF77" |
F77LIBS="$F77LIBS -lF77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9696 |
fi |
fi |
9697 |
|
|
9698 |
echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for inmax_ in -lM77" >&5 |
9699 |
echo "configure:4878: checking for inmax_ in -lM77" >&5 |
echo $ECHO_N "checking for inmax_ in -lM77... $ECHO_C" >&6 |
9700 |
ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_M77_inmax_+set}" = set; then |
9701 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9702 |
else |
else |
9703 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9704 |
LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS" |
LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS" |
9705 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9706 |
#line 4886 "configure" |
/* confdefs.h. */ |
9707 |
#include "confdefs.h" |
_ACEOF |
9708 |
|
cat confdefs.h >>conftest.$ac_ext |
9709 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9710 |
|
/* end confdefs.h. */ |
9711 |
|
|
9712 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9713 |
|
#ifdef __cplusplus |
9714 |
|
extern "C" |
9715 |
|
#endif |
9716 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9717 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9718 |
char inmax_(); |
char inmax_ (); |
9719 |
|
int |
9720 |
int main() { |
main () |
9721 |
inmax_() |
{ |
9722 |
; return 0; } |
inmax_ (); |
9723 |
EOF |
; |
9724 |
if { (eval echo configure:4897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9725 |
rm -rf conftest* |
} |
9726 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9727 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9728 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9729 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9730 |
rm -rf conftest* |
ac_status=$? |
9731 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9732 |
fi |
rm -f conftest.er1 |
9733 |
rm -f conftest* |
cat conftest.err >&5 |
9734 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9735 |
|
(exit $ac_status); } && |
9736 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9737 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9738 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9739 |
|
(eval $ac_try) 2>&5 |
9740 |
|
ac_status=$? |
9741 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9742 |
|
(exit $ac_status); }; } && |
9743 |
|
{ ac_try='test -s conftest$ac_exeext' |
9744 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9745 |
|
(eval $ac_try) 2>&5 |
9746 |
|
ac_status=$? |
9747 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9748 |
|
(exit $ac_status); }; }; then |
9749 |
|
ac_cv_lib_M77_inmax_=yes |
9750 |
|
else |
9751 |
|
echo "$as_me: failed program was:" >&5 |
9752 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9753 |
|
|
9754 |
|
ac_cv_lib_M77_inmax_=no |
9755 |
|
fi |
9756 |
|
rm -f conftest.err conftest.$ac_objext \ |
9757 |
|
conftest$ac_exeext conftest.$ac_ext |
9758 |
|
LIBS=$ac_check_lib_save_LIBS |
9759 |
|
fi |
9760 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5 |
9761 |
|
echo "${ECHO_T}$ac_cv_lib_M77_inmax_" >&6 |
9762 |
|
if test $ac_cv_lib_M77_inmax_ = yes; then |
9763 |
F77LIBS="$F77LIBS -lM77" |
F77LIBS="$F77LIBS -lM77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9764 |
fi |
fi |
9765 |
|
|
9766 |
;; |
;; |
9768 |
if test -n "$GCC" ; then |
if test -n "$GCC" ; then |
9769 |
F77LIBS="-L/usr/lang/lib" |
F77LIBS="-L/usr/lang/lib" |
9770 |
fi |
fi |
9771 |
echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for f77_init in -lF77" >&5 |
9772 |
echo "configure:4923: checking for f77_init in -lF77" >&5 |
echo $ECHO_N "checking for f77_init in -lF77... $ECHO_C" >&6 |
9773 |
ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_F77_f77_init+set}" = set; then |
9774 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9775 |
else |
else |
9776 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9777 |
LIBS="-lF77 $F77LIBS $LIBS" |
LIBS="-lF77 $F77LIBS $LIBS" |
9778 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9779 |
#line 4931 "configure" |
/* confdefs.h. */ |
9780 |
#include "confdefs.h" |
_ACEOF |
9781 |
|
cat confdefs.h >>conftest.$ac_ext |
9782 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9783 |
|
/* end confdefs.h. */ |
9784 |
|
|
9785 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9786 |
|
#ifdef __cplusplus |
9787 |
|
extern "C" |
9788 |
|
#endif |
9789 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9790 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9791 |
char f77_init(); |
char f77_init (); |
9792 |
|
int |
9793 |
int main() { |
main () |
9794 |
f77_init() |
{ |
9795 |
; return 0; } |
f77_init (); |
9796 |
EOF |
; |
9797 |
if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9798 |
rm -rf conftest* |
} |
9799 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9800 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9801 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9802 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9803 |
rm -rf conftest* |
ac_status=$? |
9804 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9805 |
fi |
rm -f conftest.er1 |
9806 |
rm -f conftest* |
cat conftest.err >&5 |
9807 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9808 |
|
(exit $ac_status); } && |
9809 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9810 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9811 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9812 |
|
(eval $ac_try) 2>&5 |
9813 |
|
ac_status=$? |
9814 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9815 |
|
(exit $ac_status); }; } && |
9816 |
|
{ ac_try='test -s conftest$ac_exeext' |
9817 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9818 |
|
(eval $ac_try) 2>&5 |
9819 |
|
ac_status=$? |
9820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9821 |
|
(exit $ac_status); }; }; then |
9822 |
|
ac_cv_lib_F77_f77_init=yes |
9823 |
|
else |
9824 |
|
echo "$as_me: failed program was:" >&5 |
9825 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9826 |
|
|
9827 |
|
ac_cv_lib_F77_f77_init=no |
9828 |
|
fi |
9829 |
|
rm -f conftest.err conftest.$ac_objext \ |
9830 |
|
conftest$ac_exeext conftest.$ac_ext |
9831 |
|
LIBS=$ac_check_lib_save_LIBS |
9832 |
|
fi |
9833 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5 |
9834 |
|
echo "${ECHO_T}$ac_cv_lib_F77_f77_init" >&6 |
9835 |
|
if test $ac_cv_lib_F77_f77_init = yes; then |
9836 |
F77LIBS="$F77LIBS -lF77" |
F77LIBS="$F77LIBS -lF77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9837 |
fi |
fi |
9838 |
|
|
9839 |
echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for inmax_ in -lM77" >&5 |
9840 |
echo "configure:4963: checking for inmax_ in -lM77" >&5 |
echo $ECHO_N "checking for inmax_ in -lM77... $ECHO_C" >&6 |
9841 |
ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_M77_inmax_+set}" = set; then |
9842 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9843 |
else |
else |
9844 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9845 |
LIBS="-lM77 $F77LIBS $LIBS" |
LIBS="-lM77 $F77LIBS $LIBS" |
9846 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9847 |
#line 4971 "configure" |
/* confdefs.h. */ |
9848 |
#include "confdefs.h" |
_ACEOF |
9849 |
|
cat confdefs.h >>conftest.$ac_ext |
9850 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9851 |
|
/* end confdefs.h. */ |
9852 |
|
|
9853 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9854 |
|
#ifdef __cplusplus |
9855 |
|
extern "C" |
9856 |
|
#endif |
9857 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9858 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9859 |
char inmax_(); |
char inmax_ (); |
9860 |
|
int |
9861 |
int main() { |
main () |
9862 |
inmax_() |
{ |
9863 |
; return 0; } |
inmax_ (); |
9864 |
EOF |
; |
9865 |
if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9866 |
rm -rf conftest* |
} |
9867 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9868 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9869 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9870 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9871 |
rm -rf conftest* |
ac_status=$? |
9872 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9873 |
fi |
rm -f conftest.er1 |
9874 |
rm -f conftest* |
cat conftest.err >&5 |
9875 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9876 |
|
(exit $ac_status); } && |
9877 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9878 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9879 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9880 |
|
(eval $ac_try) 2>&5 |
9881 |
|
ac_status=$? |
9882 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9883 |
|
(exit $ac_status); }; } && |
9884 |
|
{ ac_try='test -s conftest$ac_exeext' |
9885 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9886 |
|
(eval $ac_try) 2>&5 |
9887 |
|
ac_status=$? |
9888 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9889 |
|
(exit $ac_status); }; }; then |
9890 |
|
ac_cv_lib_M77_inmax_=yes |
9891 |
|
else |
9892 |
|
echo "$as_me: failed program was:" >&5 |
9893 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9894 |
|
|
9895 |
|
ac_cv_lib_M77_inmax_=no |
9896 |
|
fi |
9897 |
|
rm -f conftest.err conftest.$ac_objext \ |
9898 |
|
conftest$ac_exeext conftest.$ac_ext |
9899 |
|
LIBS=$ac_check_lib_save_LIBS |
9900 |
|
fi |
9901 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5 |
9902 |
|
echo "${ECHO_T}$ac_cv_lib_M77_inmax_" >&6 |
9903 |
|
if test $ac_cv_lib_M77_inmax_ = yes; then |
9904 |
F77LIBS="$F77LIBS -lM77" |
F77LIBS="$F77LIBS -lM77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9905 |
fi |
fi |
9906 |
|
|
9907 |
;; |
;; |
9908 |
mips-sgi-irix*) |
mips-sgi-irix*) |
9909 |
echo $ac_n "checking for s_copy in -lF77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for s_copy in -lF77" >&5 |
9910 |
echo "configure:5005: checking for s_copy in -lF77" >&5 |
echo $ECHO_N "checking for s_copy in -lF77... $ECHO_C" >&6 |
9911 |
ac_lib_var=`echo F77'_'s_copy | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_F77_s_copy+set}" = set; then |
9912 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9913 |
else |
else |
9914 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9915 |
LIBS="-lF77 $F77LIBS $LIBS" |
LIBS="-lF77 $F77LIBS $LIBS" |
9916 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9917 |
#line 5013 "configure" |
/* confdefs.h. */ |
9918 |
#include "confdefs.h" |
_ACEOF |
9919 |
|
cat confdefs.h >>conftest.$ac_ext |
9920 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9921 |
|
/* end confdefs.h. */ |
9922 |
|
|
9923 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9924 |
|
#ifdef __cplusplus |
9925 |
|
extern "C" |
9926 |
|
#endif |
9927 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9928 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9929 |
char s_copy(); |
char s_copy (); |
9930 |
|
int |
9931 |
int main() { |
main () |
9932 |
s_copy() |
{ |
9933 |
; return 0; } |
s_copy (); |
9934 |
EOF |
; |
9935 |
if { (eval echo configure:5024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
9936 |
rm -rf conftest* |
} |
9937 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
9938 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
9939 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9940 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
9941 |
rm -rf conftest* |
ac_status=$? |
9942 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
9943 |
fi |
rm -f conftest.er1 |
9944 |
rm -f conftest* |
cat conftest.err >&5 |
9945 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9946 |
|
(exit $ac_status); } && |
9947 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
9948 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
9949 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9950 |
|
(eval $ac_try) 2>&5 |
9951 |
|
ac_status=$? |
9952 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9953 |
|
(exit $ac_status); }; } && |
9954 |
|
{ ac_try='test -s conftest$ac_exeext' |
9955 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9956 |
|
(eval $ac_try) 2>&5 |
9957 |
|
ac_status=$? |
9958 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9959 |
|
(exit $ac_status); }; }; then |
9960 |
|
ac_cv_lib_F77_s_copy=yes |
9961 |
|
else |
9962 |
|
echo "$as_me: failed program was:" >&5 |
9963 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9964 |
|
|
9965 |
|
ac_cv_lib_F77_s_copy=no |
9966 |
|
fi |
9967 |
|
rm -f conftest.err conftest.$ac_objext \ |
9968 |
|
conftest$ac_exeext conftest.$ac_ext |
9969 |
|
LIBS=$ac_check_lib_save_LIBS |
9970 |
|
fi |
9971 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_F77_s_copy" >&5 |
9972 |
|
echo "${ECHO_T}$ac_cv_lib_F77_s_copy" >&6 |
9973 |
|
if test $ac_cv_lib_F77_s_copy = yes; then |
9974 |
F77LIBS="$F77LIBS -lF77" |
F77LIBS="$F77LIBS -lF77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9975 |
fi |
fi |
9976 |
|
|
9977 |
echo $ac_n "checking for f_exit in -lI77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for f_exit in -lI77" >&5 |
9978 |
echo "configure:5045: checking for f_exit in -lI77" >&5 |
echo $ECHO_N "checking for f_exit in -lI77... $ECHO_C" >&6 |
9979 |
ac_lib_var=`echo I77'_'f_exit | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_I77_f_exit+set}" = set; then |
9980 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9981 |
else |
else |
9982 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
9983 |
LIBS="-lI77 $F77LIBS $LIBS" |
LIBS="-lI77 $F77LIBS $LIBS" |
9984 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9985 |
#line 5053 "configure" |
/* confdefs.h. */ |
9986 |
#include "confdefs.h" |
_ACEOF |
9987 |
|
cat confdefs.h >>conftest.$ac_ext |
9988 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9989 |
|
/* end confdefs.h. */ |
9990 |
|
|
9991 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9992 |
|
#ifdef __cplusplus |
9993 |
|
extern "C" |
9994 |
|
#endif |
9995 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9996 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9997 |
char f_exit(); |
char f_exit (); |
9998 |
|
int |
9999 |
int main() { |
main () |
10000 |
f_exit() |
{ |
10001 |
; return 0; } |
f_exit (); |
10002 |
EOF |
; |
10003 |
if { (eval echo configure:5064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10004 |
rm -rf conftest* |
} |
10005 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10006 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10007 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10008 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10009 |
rm -rf conftest* |
ac_status=$? |
10010 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10011 |
fi |
rm -f conftest.er1 |
10012 |
rm -f conftest* |
cat conftest.err >&5 |
10013 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10014 |
|
(exit $ac_status); } && |
10015 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10016 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10017 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10018 |
|
(eval $ac_try) 2>&5 |
10019 |
|
ac_status=$? |
10020 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10021 |
|
(exit $ac_status); }; } && |
10022 |
|
{ ac_try='test -s conftest$ac_exeext' |
10023 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10024 |
|
(eval $ac_try) 2>&5 |
10025 |
|
ac_status=$? |
10026 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10027 |
|
(exit $ac_status); }; }; then |
10028 |
|
ac_cv_lib_I77_f_exit=yes |
10029 |
|
else |
10030 |
|
echo "$as_me: failed program was:" >&5 |
10031 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10032 |
|
|
10033 |
|
ac_cv_lib_I77_f_exit=no |
10034 |
|
fi |
10035 |
|
rm -f conftest.err conftest.$ac_objext \ |
10036 |
|
conftest$ac_exeext conftest.$ac_ext |
10037 |
|
LIBS=$ac_check_lib_save_LIBS |
10038 |
|
fi |
10039 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_I77_f_exit" >&5 |
10040 |
|
echo "${ECHO_T}$ac_cv_lib_I77_f_exit" >&6 |
10041 |
|
if test $ac_cv_lib_I77_f_exit = yes; then |
10042 |
F77LIBS="$F77LIBS -lI77" |
F77LIBS="$F77LIBS -lI77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10043 |
fi |
fi |
10044 |
|
|
10045 |
echo $ac_n "checking for mkidxname in -lisam""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for mkidxname in -lisam" >&5 |
10046 |
echo "configure:5085: checking for mkidxname in -lisam" >&5 |
echo $ECHO_N "checking for mkidxname in -lisam... $ECHO_C" >&6 |
10047 |
ac_lib_var=`echo isam'_'mkidxname | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_isam_mkidxname+set}" = set; then |
10048 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10049 |
else |
else |
10050 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10051 |
LIBS="-lisam $F77LIBS $LIBS" |
LIBS="-lisam $F77LIBS $LIBS" |
10052 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10053 |
#line 5093 "configure" |
/* confdefs.h. */ |
10054 |
#include "confdefs.h" |
_ACEOF |
10055 |
|
cat confdefs.h >>conftest.$ac_ext |
10056 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10057 |
|
/* end confdefs.h. */ |
10058 |
|
|
10059 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10060 |
|
#ifdef __cplusplus |
10061 |
|
extern "C" |
10062 |
|
#endif |
10063 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10064 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10065 |
char mkidxname(); |
char mkidxname (); |
10066 |
|
int |
10067 |
int main() { |
main () |
10068 |
mkidxname() |
{ |
10069 |
; return 0; } |
mkidxname (); |
10070 |
EOF |
; |
10071 |
if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10072 |
rm -rf conftest* |
} |
10073 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10074 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10075 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10076 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10077 |
rm -rf conftest* |
ac_status=$? |
10078 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10079 |
fi |
rm -f conftest.er1 |
10080 |
rm -f conftest* |
cat conftest.err >&5 |
10081 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10082 |
|
(exit $ac_status); } && |
10083 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10084 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10085 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10086 |
|
(eval $ac_try) 2>&5 |
10087 |
|
ac_status=$? |
10088 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10089 |
|
(exit $ac_status); }; } && |
10090 |
|
{ ac_try='test -s conftest$ac_exeext' |
10091 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10092 |
|
(eval $ac_try) 2>&5 |
10093 |
|
ac_status=$? |
10094 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10095 |
|
(exit $ac_status); }; }; then |
10096 |
|
ac_cv_lib_isam_mkidxname=yes |
10097 |
|
else |
10098 |
|
echo "$as_me: failed program was:" >&5 |
10099 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10100 |
|
|
10101 |
|
ac_cv_lib_isam_mkidxname=no |
10102 |
|
fi |
10103 |
|
rm -f conftest.err conftest.$ac_objext \ |
10104 |
|
conftest$ac_exeext conftest.$ac_ext |
10105 |
|
LIBS=$ac_check_lib_save_LIBS |
10106 |
|
fi |
10107 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_isam_mkidxname" >&5 |
10108 |
|
echo "${ECHO_T}$ac_cv_lib_isam_mkidxname" >&6 |
10109 |
|
if test $ac_cv_lib_isam_mkidxname = yes; then |
10110 |
F77LIBS="$F77LIBS -lisam" |
F77LIBS="$F77LIBS -lisam" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10111 |
fi |
fi |
10112 |
|
|
10113 |
;; |
;; |
10114 |
*) |
*) |
10115 |
echo $ac_n "checking for printf in -lF77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lF77" >&5 |
10116 |
echo "configure:5127: checking for printf in -lF77" >&5 |
echo $ECHO_N "checking for printf in -lF77... $ECHO_C" >&6 |
10117 |
ac_lib_var=`echo F77'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_F77_printf+set}" = set; then |
10118 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10119 |
else |
else |
10120 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10121 |
LIBS="-lF77 $F77LIBS $LIBS" |
LIBS="-lF77 $F77LIBS $LIBS" |
10122 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10123 |
#line 5135 "configure" |
/* confdefs.h. */ |
10124 |
#include "confdefs.h" |
_ACEOF |
10125 |
|
cat confdefs.h >>conftest.$ac_ext |
10126 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10127 |
|
/* end confdefs.h. */ |
10128 |
|
|
10129 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10130 |
|
#ifdef __cplusplus |
10131 |
|
extern "C" |
10132 |
|
#endif |
10133 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10134 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10135 |
char printf(); |
char printf (); |
10136 |
|
int |
10137 |
int main() { |
main () |
10138 |
printf() |
{ |
10139 |
; return 0; } |
printf (); |
10140 |
EOF |
; |
10141 |
if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10142 |
rm -rf conftest* |
} |
10143 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10144 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10145 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10146 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10147 |
rm -rf conftest* |
ac_status=$? |
10148 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10149 |
fi |
rm -f conftest.er1 |
10150 |
rm -f conftest* |
cat conftest.err >&5 |
10151 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10152 |
|
(exit $ac_status); } && |
10153 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10154 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10155 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10156 |
|
(eval $ac_try) 2>&5 |
10157 |
|
ac_status=$? |
10158 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10159 |
|
(exit $ac_status); }; } && |
10160 |
|
{ ac_try='test -s conftest$ac_exeext' |
10161 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10162 |
|
(eval $ac_try) 2>&5 |
10163 |
|
ac_status=$? |
10164 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10165 |
|
(exit $ac_status); }; }; then |
10166 |
|
ac_cv_lib_F77_printf=yes |
10167 |
|
else |
10168 |
|
echo "$as_me: failed program was:" >&5 |
10169 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10170 |
|
|
10171 |
|
ac_cv_lib_F77_printf=no |
10172 |
|
fi |
10173 |
|
rm -f conftest.err conftest.$ac_objext \ |
10174 |
|
conftest$ac_exeext conftest.$ac_ext |
10175 |
|
LIBS=$ac_check_lib_save_LIBS |
10176 |
|
fi |
10177 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_F77_printf" >&5 |
10178 |
|
echo "${ECHO_T}$ac_cv_lib_F77_printf" >&6 |
10179 |
|
if test $ac_cv_lib_F77_printf = yes; then |
10180 |
F77LIBS="$F77LIBS -lF77" |
F77LIBS="$F77LIBS -lF77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10181 |
fi |
fi |
10182 |
|
|
10183 |
echo $ac_n "checking for printf in -lM77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lM77" >&5 |
10184 |
echo "configure:5167: checking for printf in -lM77" >&5 |
echo $ECHO_N "checking for printf in -lM77... $ECHO_C" >&6 |
10185 |
ac_lib_var=`echo M77'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_M77_printf+set}" = set; then |
10186 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10187 |
else |
else |
10188 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10189 |
LIBS="-lM77 $F77LIBS $LIBS" |
LIBS="-lM77 $F77LIBS $LIBS" |
10190 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10191 |
#line 5175 "configure" |
/* confdefs.h. */ |
10192 |
#include "confdefs.h" |
_ACEOF |
10193 |
|
cat confdefs.h >>conftest.$ac_ext |
10194 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10195 |
|
/* end confdefs.h. */ |
10196 |
|
|
10197 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10198 |
|
#ifdef __cplusplus |
10199 |
|
extern "C" |
10200 |
|
#endif |
10201 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10202 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10203 |
char printf(); |
char printf (); |
10204 |
|
int |
10205 |
int main() { |
main () |
10206 |
printf() |
{ |
10207 |
; return 0; } |
printf (); |
10208 |
EOF |
; |
10209 |
if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10210 |
rm -rf conftest* |
} |
10211 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10212 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10213 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10214 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10215 |
rm -rf conftest* |
ac_status=$? |
10216 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10217 |
fi |
rm -f conftest.er1 |
10218 |
rm -f conftest* |
cat conftest.err >&5 |
10219 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10220 |
|
(exit $ac_status); } && |
10221 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10222 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10223 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10224 |
|
(eval $ac_try) 2>&5 |
10225 |
|
ac_status=$? |
10226 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10227 |
|
(exit $ac_status); }; } && |
10228 |
|
{ ac_try='test -s conftest$ac_exeext' |
10229 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10230 |
|
(eval $ac_try) 2>&5 |
10231 |
|
ac_status=$? |
10232 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10233 |
|
(exit $ac_status); }; }; then |
10234 |
|
ac_cv_lib_M77_printf=yes |
10235 |
|
else |
10236 |
|
echo "$as_me: failed program was:" >&5 |
10237 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10238 |
|
|
10239 |
|
ac_cv_lib_M77_printf=no |
10240 |
|
fi |
10241 |
|
rm -f conftest.err conftest.$ac_objext \ |
10242 |
|
conftest$ac_exeext conftest.$ac_ext |
10243 |
|
LIBS=$ac_check_lib_save_LIBS |
10244 |
|
fi |
10245 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_M77_printf" >&5 |
10246 |
|
echo "${ECHO_T}$ac_cv_lib_M77_printf" >&6 |
10247 |
|
if test $ac_cv_lib_M77_printf = yes; then |
10248 |
F77LIBS="$F77LIBS -lM77" |
F77LIBS="$F77LIBS -lM77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10249 |
fi |
fi |
10250 |
|
|
10251 |
echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pow_dd in -lf2c" >&5 |
10252 |
echo "configure:5207: checking for pow_dd in -lf2c" >&5 |
echo $ECHO_N "checking for pow_dd in -lf2c... $ECHO_C" >&6 |
10253 |
ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_f2c_pow_dd+set}" = set; then |
10254 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10255 |
else |
else |
10256 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10257 |
LIBS="-lf2c $F77LIBS $LIBS" |
LIBS="-lf2c $F77LIBS $LIBS" |
10258 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10259 |
#line 5215 "configure" |
/* confdefs.h. */ |
10260 |
#include "confdefs.h" |
_ACEOF |
10261 |
|
cat confdefs.h >>conftest.$ac_ext |
10262 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10263 |
|
/* end confdefs.h. */ |
10264 |
|
|
10265 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10266 |
|
#ifdef __cplusplus |
10267 |
|
extern "C" |
10268 |
|
#endif |
10269 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10270 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10271 |
char pow_dd(); |
char pow_dd (); |
10272 |
|
int |
10273 |
int main() { |
main () |
10274 |
pow_dd() |
{ |
10275 |
; return 0; } |
pow_dd (); |
10276 |
EOF |
; |
10277 |
if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10278 |
rm -rf conftest* |
} |
10279 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10280 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10281 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10282 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10283 |
rm -rf conftest* |
ac_status=$? |
10284 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10285 |
fi |
rm -f conftest.er1 |
10286 |
rm -f conftest* |
cat conftest.err >&5 |
10287 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10288 |
|
(exit $ac_status); } && |
10289 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10290 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10291 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10292 |
|
(eval $ac_try) 2>&5 |
10293 |
|
ac_status=$? |
10294 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10295 |
|
(exit $ac_status); }; } && |
10296 |
|
{ ac_try='test -s conftest$ac_exeext' |
10297 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10298 |
|
(eval $ac_try) 2>&5 |
10299 |
|
ac_status=$? |
10300 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10301 |
|
(exit $ac_status); }; }; then |
10302 |
|
ac_cv_lib_f2c_pow_dd=yes |
10303 |
|
else |
10304 |
|
echo "$as_me: failed program was:" >&5 |
10305 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10306 |
|
|
10307 |
|
ac_cv_lib_f2c_pow_dd=no |
10308 |
|
fi |
10309 |
|
rm -f conftest.err conftest.$ac_objext \ |
10310 |
|
conftest$ac_exeext conftest.$ac_ext |
10311 |
|
LIBS=$ac_check_lib_save_LIBS |
10312 |
|
fi |
10313 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5 |
10314 |
|
echo "${ECHO_T}$ac_cv_lib_f2c_pow_dd" >&6 |
10315 |
|
if test $ac_cv_lib_f2c_pow_dd = yes; then |
10316 |
F77LIBS="$F77LIBS -lf2c" |
F77LIBS="$F77LIBS -lf2c" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10317 |
fi |
fi |
10318 |
|
|
10319 |
echo $ac_n "checking for printf in -lf77""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lf77" >&5 |
10320 |
echo "configure:5247: checking for printf in -lf77" >&5 |
echo $ECHO_N "checking for printf in -lf77... $ECHO_C" >&6 |
10321 |
ac_lib_var=`echo f77'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_f77_printf+set}" = set; then |
10322 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10323 |
else |
else |
10324 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10325 |
LIBS="-lf77 $F77LIBS $LIBS" |
LIBS="-lf77 $F77LIBS $LIBS" |
10326 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10327 |
#line 5255 "configure" |
/* confdefs.h. */ |
10328 |
#include "confdefs.h" |
_ACEOF |
10329 |
|
cat confdefs.h >>conftest.$ac_ext |
10330 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10331 |
|
/* end confdefs.h. */ |
10332 |
|
|
10333 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10334 |
|
#ifdef __cplusplus |
10335 |
|
extern "C" |
10336 |
|
#endif |
10337 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10338 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10339 |
char printf(); |
char printf (); |
10340 |
|
int |
10341 |
int main() { |
main () |
10342 |
printf() |
{ |
10343 |
; return 0; } |
printf (); |
10344 |
EOF |
; |
10345 |
if { (eval echo configure:5266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10346 |
rm -rf conftest* |
} |
10347 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10348 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10349 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10350 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10351 |
rm -rf conftest* |
ac_status=$? |
10352 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10353 |
fi |
rm -f conftest.er1 |
10354 |
rm -f conftest* |
cat conftest.err >&5 |
10355 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10356 |
|
(exit $ac_status); } && |
10357 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10358 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10359 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10360 |
|
(eval $ac_try) 2>&5 |
10361 |
|
ac_status=$? |
10362 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10363 |
|
(exit $ac_status); }; } && |
10364 |
|
{ ac_try='test -s conftest$ac_exeext' |
10365 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10366 |
|
(eval $ac_try) 2>&5 |
10367 |
|
ac_status=$? |
10368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10369 |
|
(exit $ac_status); }; }; then |
10370 |
|
ac_cv_lib_f77_printf=yes |
10371 |
|
else |
10372 |
|
echo "$as_me: failed program was:" >&5 |
10373 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10374 |
|
|
10375 |
|
ac_cv_lib_f77_printf=no |
10376 |
|
fi |
10377 |
|
rm -f conftest.err conftest.$ac_objext \ |
10378 |
|
conftest$ac_exeext conftest.$ac_ext |
10379 |
|
LIBS=$ac_check_lib_save_LIBS |
10380 |
|
fi |
10381 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_f77_printf" >&5 |
10382 |
|
echo "${ECHO_T}$ac_cv_lib_f77_printf" >&6 |
10383 |
|
if test $ac_cv_lib_f77_printf = yes; then |
10384 |
F77LIBS="$F77LIBS -lf77" |
F77LIBS="$F77LIBS -lf77" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10385 |
fi |
fi |
10386 |
|
|
10387 |
echo $ac_n "checking for printf in -lfor""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lfor" >&5 |
10388 |
echo "configure:5287: checking for printf in -lfor" >&5 |
echo $ECHO_N "checking for printf in -lfor... $ECHO_C" >&6 |
10389 |
ac_lib_var=`echo for'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_for_printf+set}" = set; then |
10390 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10391 |
else |
else |
10392 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10393 |
LIBS="-lfor $F77LIBS $LIBS" |
LIBS="-lfor $F77LIBS $LIBS" |
10394 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10395 |
#line 5295 "configure" |
/* confdefs.h. */ |
10396 |
#include "confdefs.h" |
_ACEOF |
10397 |
|
cat confdefs.h >>conftest.$ac_ext |
10398 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10399 |
|
/* end confdefs.h. */ |
10400 |
|
|
10401 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10402 |
|
#ifdef __cplusplus |
10403 |
|
extern "C" |
10404 |
|
#endif |
10405 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10406 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10407 |
char printf(); |
char printf (); |
10408 |
|
int |
10409 |
int main() { |
main () |
10410 |
printf() |
{ |
10411 |
; return 0; } |
printf (); |
10412 |
EOF |
; |
10413 |
if { (eval echo configure:5306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10414 |
rm -rf conftest* |
} |
10415 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10416 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10417 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10418 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10419 |
rm -rf conftest* |
ac_status=$? |
10420 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10421 |
fi |
rm -f conftest.er1 |
10422 |
rm -f conftest* |
cat conftest.err >&5 |
10423 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10424 |
|
(exit $ac_status); } && |
10425 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10426 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10427 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10428 |
|
(eval $ac_try) 2>&5 |
10429 |
|
ac_status=$? |
10430 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10431 |
|
(exit $ac_status); }; } && |
10432 |
|
{ ac_try='test -s conftest$ac_exeext' |
10433 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10434 |
|
(eval $ac_try) 2>&5 |
10435 |
|
ac_status=$? |
10436 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10437 |
|
(exit $ac_status); }; }; then |
10438 |
|
ac_cv_lib_for_printf=yes |
10439 |
|
else |
10440 |
|
echo "$as_me: failed program was:" >&5 |
10441 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10442 |
|
|
10443 |
|
ac_cv_lib_for_printf=no |
10444 |
|
fi |
10445 |
|
rm -f conftest.err conftest.$ac_objext \ |
10446 |
|
conftest$ac_exeext conftest.$ac_ext |
10447 |
|
LIBS=$ac_check_lib_save_LIBS |
10448 |
|
fi |
10449 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_for_printf" >&5 |
10450 |
|
echo "${ECHO_T}$ac_cv_lib_for_printf" >&6 |
10451 |
|
if test $ac_cv_lib_for_printf = yes; then |
10452 |
F77LIBS="$F77LIBS -lfor" |
F77LIBS="$F77LIBS -lfor" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10453 |
fi |
fi |
10454 |
|
|
10455 |
echo $ac_n "checking for printf in -lots""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lots" >&5 |
10456 |
echo "configure:5327: checking for printf in -lots" >&5 |
echo $ECHO_N "checking for printf in -lots... $ECHO_C" >&6 |
10457 |
ac_lib_var=`echo ots'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ots_printf+set}" = set; then |
10458 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10459 |
else |
else |
10460 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10461 |
LIBS="-lots $F77LIBS $LIBS" |
LIBS="-lots $F77LIBS $LIBS" |
10462 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10463 |
#line 5335 "configure" |
/* confdefs.h. */ |
10464 |
#include "confdefs.h" |
_ACEOF |
10465 |
/* Override any gcc2 internal prototype to avoid an error. */ |
cat confdefs.h >>conftest.$ac_ext |
10466 |
/* We use char because int might match the return type of a gcc2 |
cat >>conftest.$ac_ext <<_ACEOF |
10467 |
builtin and then its argument prototype would still apply. */ |
/* end confdefs.h. */ |
|
char printf(); |
|
|
|
|
|
int main() { |
|
|
printf() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
10468 |
|
|
10469 |
fi |
/* Override any gcc2 internal prototype to avoid an error. */ |
10470 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
#ifdef __cplusplus |
10471 |
echo "$ac_t""yes" 1>&6 |
extern "C" |
10472 |
|
#endif |
10473 |
|
/* We use char because int might match the return type of a gcc2 |
10474 |
|
builtin and then its argument prototype would still apply. */ |
10475 |
|
char printf (); |
10476 |
|
int |
10477 |
|
main () |
10478 |
|
{ |
10479 |
|
printf (); |
10480 |
|
; |
10481 |
|
return 0; |
10482 |
|
} |
10483 |
|
_ACEOF |
10484 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10485 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10486 |
|
(eval $ac_link) 2>conftest.er1 |
10487 |
|
ac_status=$? |
10488 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10489 |
|
rm -f conftest.er1 |
10490 |
|
cat conftest.err >&5 |
10491 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10492 |
|
(exit $ac_status); } && |
10493 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10494 |
|
|| test ! -s conftest.err' |
10495 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10496 |
|
(eval $ac_try) 2>&5 |
10497 |
|
ac_status=$? |
10498 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10499 |
|
(exit $ac_status); }; } && |
10500 |
|
{ ac_try='test -s conftest$ac_exeext' |
10501 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10502 |
|
(eval $ac_try) 2>&5 |
10503 |
|
ac_status=$? |
10504 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10505 |
|
(exit $ac_status); }; }; then |
10506 |
|
ac_cv_lib_ots_printf=yes |
10507 |
|
else |
10508 |
|
echo "$as_me: failed program was:" >&5 |
10509 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10510 |
|
|
10511 |
|
ac_cv_lib_ots_printf=no |
10512 |
|
fi |
10513 |
|
rm -f conftest.err conftest.$ac_objext \ |
10514 |
|
conftest$ac_exeext conftest.$ac_ext |
10515 |
|
LIBS=$ac_check_lib_save_LIBS |
10516 |
|
fi |
10517 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ots_printf" >&5 |
10518 |
|
echo "${ECHO_T}$ac_cv_lib_ots_printf" >&6 |
10519 |
|
if test $ac_cv_lib_ots_printf = yes; then |
10520 |
F77LIBS="$F77LIBS -lots" |
F77LIBS="$F77LIBS -lots" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10521 |
fi |
fi |
10522 |
|
|
10523 |
echo $ac_n "checking for printf in -lUfor""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for printf in -lUfor" >&5 |
10524 |
echo "configure:5367: checking for printf in -lUfor" >&5 |
echo $ECHO_N "checking for printf in -lUfor... $ECHO_C" >&6 |
10525 |
ac_lib_var=`echo Ufor'_'printf | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Ufor_printf+set}" = set; then |
10526 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10527 |
else |
else |
10528 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10529 |
LIBS="-lUfor $F77LIBS $LIBS" |
LIBS="-lUfor $F77LIBS $LIBS" |
10530 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10531 |
#line 5375 "configure" |
/* confdefs.h. */ |
10532 |
#include "confdefs.h" |
_ACEOF |
10533 |
|
cat confdefs.h >>conftest.$ac_ext |
10534 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10535 |
|
/* end confdefs.h. */ |
10536 |
|
|
10537 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10538 |
|
#ifdef __cplusplus |
10539 |
|
extern "C" |
10540 |
|
#endif |
10541 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10542 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10543 |
char printf(); |
char printf (); |
10544 |
|
int |
10545 |
int main() { |
main () |
10546 |
printf() |
{ |
10547 |
; return 0; } |
printf (); |
10548 |
EOF |
; |
10549 |
if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10550 |
rm -rf conftest* |
} |
10551 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10552 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10553 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10554 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
10555 |
rm -rf conftest* |
ac_status=$? |
10556 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
10557 |
fi |
rm -f conftest.er1 |
10558 |
rm -f conftest* |
cat conftest.err >&5 |
10559 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10560 |
|
(exit $ac_status); } && |
10561 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
10562 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
10563 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10564 |
|
(eval $ac_try) 2>&5 |
10565 |
|
ac_status=$? |
10566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10567 |
|
(exit $ac_status); }; } && |
10568 |
|
{ ac_try='test -s conftest$ac_exeext' |
10569 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10570 |
|
(eval $ac_try) 2>&5 |
10571 |
|
ac_status=$? |
10572 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10573 |
|
(exit $ac_status); }; }; then |
10574 |
|
ac_cv_lib_Ufor_printf=yes |
10575 |
|
else |
10576 |
|
echo "$as_me: failed program was:" >&5 |
10577 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10578 |
|
|
10579 |
|
ac_cv_lib_Ufor_printf=no |
10580 |
|
fi |
10581 |
|
rm -f conftest.err conftest.$ac_objext \ |
10582 |
|
conftest$ac_exeext conftest.$ac_ext |
10583 |
|
LIBS=$ac_check_lib_save_LIBS |
10584 |
|
fi |
10585 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Ufor_printf" >&5 |
10586 |
|
echo "${ECHO_T}$ac_cv_lib_Ufor_printf" >&6 |
10587 |
|
if test $ac_cv_lib_Ufor_printf = yes; then |
10588 |
F77LIBS="$F77LIBS -lUfor" |
F77LIBS="$F77LIBS -lUfor" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10589 |
fi |
fi |
10590 |
|
|
10591 |
;; |
;; |
10599 |
# Initialize the blas variables |
# Initialize the blas variables |
10600 |
make_blaslib='' |
make_blaslib='' |
10601 |
|
|
10602 |
|
|
10603 |
# Check whether --with-blas or --without-blas was given. |
# Check whether --with-blas or --without-blas was given. |
10604 |
if test "${with_blas+set}" = set; then |
if test "${with_blas+set}" = set; then |
10605 |
withval="$with_blas" |
withval="$with_blas" |
|
: |
|
|
else |
|
|
with_blas=yes |
|
|
fi |
|
10606 |
|
|
10607 |
|
else |
10608 |
|
with_blas=yes |
10609 |
|
fi; |
10610 |
case "$with_fortran$with_blas" in |
case "$with_fortran$with_blas" in |
10611 |
no*) |
no*) |
10612 |
# Fortran is disabled; ignore this option (if present) |
# Fortran is disabled; ignore this option (if present) |
10615 |
*no) |
*no) |
10616 |
# It is an error if the user chooses to build without |
# It is an error if the user chooses to build without |
10617 |
# the BLAS library if Fortran is enabled. |
# the BLAS library if Fortran is enabled. |
10618 |
{ echo "configure: error: Bad option '--without-blas' |
{ { echo "$as_me:$LINENO: error: Bad option '--without-blas' |
10619 |
To support Fortran calls, ASCEND must be compiled with a blas library" 1>&2; exit 1; } |
To support Fortran calls, ASCEND must be compiled with a blas library" >&5 |
10620 |
|
echo "$as_me: error: Bad option '--without-blas' |
10621 |
|
To support Fortran calls, ASCEND must be compiled with a blas library" >&2;} |
10622 |
|
{ (exit 1); exit 1; }; } |
10623 |
;; |
;; |
10624 |
*build) |
*build) |
10625 |
# Fortran is enabled and the user specified --with-blas=build |
# Fortran is enabled and the user specified --with-blas=build |
10627 |
# to build it; useful for testing configure. |
# to build it; useful for testing configure. |
10628 |
#AWW20041206: blas_src_file="$srcdir/blas/dcopy.f" |
#AWW20041206: blas_src_file="$srcdir/blas/dcopy.f" |
10629 |
blas_src_file="$srcdir/../../blas/dcopy.f" |
blas_src_file="$srcdir/../../blas/dcopy.f" |
10630 |
echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for blas source file $blas_src_file " >&5 |
10631 |
echo "configure:5443: checking for blas source file $blas_src_file " >&5 |
echo $ECHO_N "checking for blas source file $blas_src_file ... $ECHO_C" >&6 |
10632 |
if test -f $blas_src_file ; then |
if test -f $blas_src_file ; then |
10633 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10634 |
|
echo "${ECHO_T}yes" >&6 |
10635 |
#AWW20041119: BLASLIB="$ascpwd/ascend4/archive/libascblas.a" |
#AWW20041119: BLASLIB="$ascpwd/ascend4/archive/libascblas.a" |
10636 |
BLASLIB="$ascpwd/archive/libascblas.a" |
BLASLIB="$ascpwd/archive/libascblas.a" |
10637 |
make_blaslib='make-blaslib' |
make_blaslib='make-blaslib' |
10640 |
#AWW20041206: asc_subdirs="$asc_subdirs ../blas" |
#AWW20041206: asc_subdirs="$asc_subdirs ../blas" |
10641 |
asc_subdirs="$asc_subdirs blas" |
asc_subdirs="$asc_subdirs blas" |
10642 |
else |
else |
10643 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10644 |
{ echo "configure: error: User specified '--with-blas=build' but |
echo "${ECHO_T}no" >&6 |
10645 |
configure cannot find the blas source file $blas_src_file" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: User specified '--with-blas=build' but |
10646 |
|
configure cannot find the blas source file $blas_src_file" >&5 |
10647 |
|
echo "$as_me: error: User specified '--with-blas=build' but |
10648 |
|
configure cannot find the blas source file $blas_src_file" >&2;} |
10649 |
|
{ (exit 1); exit 1; }; } |
10650 |
fi |
fi |
10651 |
;; |
;; |
10652 |
*yes) |
*yes) |
10657 |
# disable all Fortran and print a warning. |
# disable all Fortran and print a warning. |
10658 |
for ac_prog in libblas.a libascblas.a |
for ac_prog in libblas.a libascblas.a |
10659 |
do |
do |
10660 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
10661 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
10662 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10663 |
echo "configure:5470: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10664 |
if eval "test \"`echo '$''{'ac_cv_path_BLASLIB'+set}'`\" = set"; then |
if test "${ac_cv_path_BLASLIB+set}" = set; then |
10665 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10666 |
else |
else |
10667 |
case "$BLASLIB" in |
case $BLASLIB in |
10668 |
/*) |
[\\/]* | ?:[\\/]*) |
10669 |
ac_cv_path_BLASLIB="$BLASLIB" # Let the user override the test with a path. |
ac_cv_path_BLASLIB="$BLASLIB" # Let the user override the test with a path. |
10670 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_BLASLIB="$BLASLIB" # Let the user override the test with a dos path. |
|
|
;; |
|
10671 |
*) |
*) |
10672 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10673 |
ac_dummy="$asc_f77_support_dirs" |
for as_dir in $asc_f77_support_dirs |
10674 |
for ac_dir in $ac_dummy; do |
do |
10675 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
10676 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
10677 |
ac_cv_path_BLASLIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
10678 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10679 |
fi |
ac_cv_path_BLASLIB="$as_dir/$ac_word$ac_exec_ext" |
10680 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10681 |
IFS="$ac_save_ifs" |
break 2 |
10682 |
|
fi |
10683 |
|
done |
10684 |
|
done |
10685 |
|
|
10686 |
;; |
;; |
10687 |
esac |
esac |
10688 |
fi |
fi |
10689 |
BLASLIB="$ac_cv_path_BLASLIB" |
BLASLIB=$ac_cv_path_BLASLIB |
10690 |
|
|
10691 |
if test -n "$BLASLIB"; then |
if test -n "$BLASLIB"; then |
10692 |
echo "$ac_t""$BLASLIB" 1>&6 |
echo "$as_me:$LINENO: result: $BLASLIB" >&5 |
10693 |
|
echo "${ECHO_T}$BLASLIB" >&6 |
10694 |
else |
else |
10695 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10696 |
|
echo "${ECHO_T}no" >&6 |
10697 |
fi |
fi |
10698 |
|
|
10699 |
test -n "$BLASLIB" && break |
test -n "$BLASLIB" && break |
10700 |
done |
done |
10701 |
|
|
10702 |
blas_src_file="$srcdir/../../blas/dcopy.f" |
blas_src_file="$srcdir/../../blas/dcopy.f" |
10703 |
if test -z "$BLASLIB" -a -n "$blas_src_file" ; then |
if test -z "$BLASLIB" -a -n "$blas_src_file" ; then |
10704 |
echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for blas source file $blas_src_file " >&5 |
10705 |
echo "configure:5508: checking for blas source file $blas_src_file " >&5 |
echo $ECHO_N "checking for blas source file $blas_src_file ... $ECHO_C" >&6 |
10706 |
if test -f $blas_src_file ; then |
if test -f $blas_src_file ; then |
10707 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10708 |
|
echo "${ECHO_T}yes" >&6 |
10709 |
#AWW20041119: BLASLIB="$ascpwd/ascend4/archive/libascblas.a" |
#AWW20041119: BLASLIB="$ascpwd/ascend4/archive/libascblas.a" |
10710 |
BLASLIB="$ascpwd/archive/libascblas.a" |
BLASLIB="$ascpwd/archive/libascblas.a" |
10711 |
make_blaslib='make-blaslib' |
make_blaslib='make-blaslib' |
10714 |
#AWW20041206: asc_subdirs="$asc_subdirs ../blas" |
#AWW20041206: asc_subdirs="$asc_subdirs ../blas" |
10715 |
asc_subdirs="$asc_subdirs blas" |
asc_subdirs="$asc_subdirs blas" |
10716 |
else |
else |
10717 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10718 |
|
echo "${ECHO_T}no" >&6 |
10719 |
fi |
fi |
10720 |
fi |
fi |
10721 |
if test -z "$BLASLIB" ; then |
if test -z "$BLASLIB" ; then |
10722 |
with_fortran=no |
with_fortran=no |
10723 |
echo "configure: warning: Cannot find libblas.a, libascblas.a, nor blas |
{ echo "$as_me:$LINENO: WARNING: Cannot find libblas.a, libascblas.a, nor blas |
10724 |
source code. Building ASCEND without integration, MINOS, and CONOPT |
source code. Building ASCEND without integration, MINOS, and CONOPT |
10725 |
support. To specify a specific location for the blas library, run |
support. To specify a specific location for the blas library, run |
10726 |
configure again with the argument: |
configure again with the argument: |
10727 |
--with-blas=BLASLIB |
--with-blas=BLASLIB |
10728 |
where BLASLIB is the full path to the blas library file." 1>&2 |
where BLASLIB is the full path to the blas library file." >&5 |
10729 |
|
echo "$as_me: WARNING: Cannot find libblas.a, libascblas.a, nor blas |
10730 |
|
source code. Building ASCEND without integration, MINOS, and CONOPT |
10731 |
|
support. To specify a specific location for the blas library, run |
10732 |
|
configure again with the argument: |
10733 |
|
--with-blas=BLASLIB |
10734 |
|
where BLASLIB is the full path to the blas library file." >&2;} |
10735 |
fi |
fi |
10736 |
;; |
;; |
10737 |
*) |
*) |
10745 |
# Initialize the linpack variables |
# Initialize the linpack variables |
10746 |
make_lpaklib='' |
make_lpaklib='' |
10747 |
|
|
10748 |
|
|
10749 |
# Check whether --with-linpack or --without-linpack was given. |
# Check whether --with-linpack or --without-linpack was given. |
10750 |
if test "${with_linpack+set}" = set; then |
if test "${with_linpack+set}" = set; then |
10751 |
withval="$with_linpack" |
withval="$with_linpack" |
|
: |
|
|
else |
|
|
with_linpack=yes |
|
|
fi |
|
10752 |
|
|
10753 |
|
else |
10754 |
|
with_linpack=yes |
10755 |
|
fi; |
10756 |
case "$with_fortran$with_linpack" in |
case "$with_fortran$with_linpack" in |
10757 |
no*) |
no*) |
10758 |
# Fortran is disabled; ignore this option (if present) |
# Fortran is disabled; ignore this option (if present) |
10761 |
*no) |
*no) |
10762 |
# It is an error if the user chooses to build without |
# It is an error if the user chooses to build without |
10763 |
# the LINPACK library if Fortran is enabled. |
# the LINPACK library if Fortran is enabled. |
10764 |
{ echo "configure: error: Bad option '--without-linpack' |
{ { echo "$as_me:$LINENO: error: Bad option '--without-linpack' |
10765 |
|
To support Fortran calls, ASCEND must be compiled with a |
10766 |
|
linpack library." >&5 |
10767 |
|
echo "$as_me: error: Bad option '--without-linpack' |
10768 |
To support Fortran calls, ASCEND must be compiled with a |
To support Fortran calls, ASCEND must be compiled with a |
10769 |
linpack library." 1>&2; exit 1; } |
linpack library." >&2;} |
10770 |
|
{ (exit 1); exit 1; }; } |
10771 |
;; |
;; |
10772 |
*build) |
*build) |
10773 |
# Fortran is enabled and the user specified --with-linpack=build |
# Fortran is enabled and the user specified --with-linpack=build |
10774 |
# For a search for LINPACK source code and tell the Makefile |
# For a search for LINPACK source code and tell the Makefile |
10775 |
# to build it; useful for testing configure. |
# to build it; useful for testing configure. |
10776 |
lpak_src_file="$srcdir/../../linpack/d1mach.f" |
lpak_src_file="$srcdir/../../linpack/d1mach.f" |
10777 |
echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for linpack source file $lpak_src_file " >&5 |
10778 |
echo "configure:5569: checking for linpack source file $lpak_src_file " >&5 |
echo $ECHO_N "checking for linpack source file $lpak_src_file ... $ECHO_C" >&6 |
10779 |
if test -f $lpak_src_file ; then |
if test -f $lpak_src_file ; then |
10780 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10781 |
|
echo "${ECHO_T}yes" >&6 |
10782 |
#AWW20041119: LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a" |
#AWW20041119: LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a" |
10783 |
LPAKLIB="$ascpwd/archive/libasclpak.a" |
LPAKLIB="$ascpwd/archive/libasclpak.a" |
10784 |
make_lpaklib='make-lpaklib' |
make_lpaklib='make-lpaklib' |
10787 |
#AWW20041206: asc_subdirs="$asc_subdirs ../linpack" |
#AWW20041206: asc_subdirs="$asc_subdirs ../linpack" |
10788 |
asc_subdirs="$asc_subdirs linpack" |
asc_subdirs="$asc_subdirs linpack" |
10789 |
else |
else |
10790 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10791 |
{ echo "configure: error: User specified '--with-linpack=build' but |
echo "${ECHO_T}no" >&6 |
10792 |
configure cannot find the linpack source file $lpak_src_file" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: User specified '--with-linpack=build' but |
10793 |
|
configure cannot find the linpack source file $lpak_src_file" >&5 |
10794 |
|
echo "$as_me: error: User specified '--with-linpack=build' but |
10795 |
|
configure cannot find the linpack source file $lpak_src_file" >&2;} |
10796 |
|
{ (exit 1); exit 1; }; } |
10797 |
fi |
fi |
10798 |
;; |
;; |
10799 |
*yes) |
*yes) |
10804 |
# disable all Fortran and print a warning. |
# disable all Fortran and print a warning. |
10805 |
for ac_prog in liblpak.a libasclpak.a |
for ac_prog in liblpak.a libasclpak.a |
10806 |
do |
do |
10807 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
10808 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
10809 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10810 |
echo "configure:5596: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10811 |
if eval "test \"`echo '$''{'ac_cv_path_LPAKLIB'+set}'`\" = set"; then |
if test "${ac_cv_path_LPAKLIB+set}" = set; then |
10812 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10813 |
else |
else |
10814 |
case "$LPAKLIB" in |
case $LPAKLIB in |
10815 |
/*) |
[\\/]* | ?:[\\/]*) |
10816 |
ac_cv_path_LPAKLIB="$LPAKLIB" # Let the user override the test with a path. |
ac_cv_path_LPAKLIB="$LPAKLIB" # Let the user override the test with a path. |
10817 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_LPAKLIB="$LPAKLIB" # Let the user override the test with a dos path. |
|
|
;; |
|
10818 |
*) |
*) |
10819 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10820 |
ac_dummy="$asc_f77_support_dirs" |
for as_dir in $asc_f77_support_dirs |
10821 |
for ac_dir in $ac_dummy; do |
do |
10822 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
10823 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
10824 |
ac_cv_path_LPAKLIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
10825 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10826 |
fi |
ac_cv_path_LPAKLIB="$as_dir/$ac_word$ac_exec_ext" |
10827 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10828 |
IFS="$ac_save_ifs" |
break 2 |
10829 |
|
fi |
10830 |
|
done |
10831 |
|
done |
10832 |
|
|
10833 |
;; |
;; |
10834 |
esac |
esac |
10835 |
fi |
fi |
10836 |
LPAKLIB="$ac_cv_path_LPAKLIB" |
LPAKLIB=$ac_cv_path_LPAKLIB |
10837 |
|
|
10838 |
if test -n "$LPAKLIB"; then |
if test -n "$LPAKLIB"; then |
10839 |
echo "$ac_t""$LPAKLIB" 1>&6 |
echo "$as_me:$LINENO: result: $LPAKLIB" >&5 |
10840 |
|
echo "${ECHO_T}$LPAKLIB" >&6 |
10841 |
else |
else |
10842 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10843 |
|
echo "${ECHO_T}no" >&6 |
10844 |
fi |
fi |
10845 |
|
|
10846 |
test -n "$LPAKLIB" && break |
test -n "$LPAKLIB" && break |
10847 |
done |
done |
10848 |
|
|
10849 |
lpak_src_file="$srcdir/../../linpack/d1mach.f" |
lpak_src_file="$srcdir/../../linpack/d1mach.f" |
10850 |
if test -z "$LPAKLIB" -a -n "$lpak_src_file" ; then |
if test -z "$LPAKLIB" -a -n "$lpak_src_file" ; then |
10851 |
echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for linpack source file $lpak_src_file " >&5 |
10852 |
echo "configure:5634: checking for linpack source file $lpak_src_file " >&5 |
echo $ECHO_N "checking for linpack source file $lpak_src_file ... $ECHO_C" >&6 |
10853 |
if test -f $lpak_src_file ; then |
if test -f $lpak_src_file ; then |
10854 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10855 |
|
echo "${ECHO_T}yes" >&6 |
10856 |
#AWW20041119: LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a" |
#AWW20041119: LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a" |
10857 |
LPAKLIB="$ascpwd/archive/libasclpak.a" |
LPAKLIB="$ascpwd/archive/libasclpak.a" |
10858 |
make_lpaklib='make-lpaklib' |
make_lpaklib='make-lpaklib' |
10861 |
#AWW20041206: asc_subdirs="$asc_subdirs ../linpack" |
#AWW20041206: asc_subdirs="$asc_subdirs ../linpack" |
10862 |
asc_subdirs="$asc_subdirs linpack" |
asc_subdirs="$asc_subdirs linpack" |
10863 |
else |
else |
10864 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10865 |
|
echo "${ECHO_T}no" >&6 |
10866 |
fi |
fi |
10867 |
fi |
fi |
10868 |
if test -z "$LPAKLIB" ; then |
if test -z "$LPAKLIB" ; then |
10869 |
with_fortran=no |
with_fortran=no |
10870 |
echo "configure: warning: Cannot find liblpak.a, libasclpak.a, nor linpack |
{ echo "$as_me:$LINENO: WARNING: Cannot find liblpak.a, libasclpak.a, nor linpack |
10871 |
|
source code. Building ASCEND without integration, MINOS, and CONOPT |
10872 |
|
support. To specify a specific location for the linpack library, run |
10873 |
|
configure again with the argument: |
10874 |
|
--with-linpack=LPAKLIB |
10875 |
|
where LPAKLIB is the full path to the linpack library file." >&5 |
10876 |
|
echo "$as_me: WARNING: Cannot find liblpak.a, libasclpak.a, nor linpack |
10877 |
source code. Building ASCEND without integration, MINOS, and CONOPT |
source code. Building ASCEND without integration, MINOS, and CONOPT |
10878 |
support. To specify a specific location for the linpack library, run |
support. To specify a specific location for the linpack library, run |
10879 |
configure again with the argument: |
configure again with the argument: |
10880 |
--with-linpack=LPAKLIB |
--with-linpack=LPAKLIB |
10881 |
where LPAKLIB is the full path to the linpack library file." 1>&2 |
where LPAKLIB is the full path to the linpack library file." >&2;} |
10882 |
fi |
fi |
10883 |
;; |
;; |
10884 |
*) |
*) |
10893 |
make_lsodlib='' |
make_lsodlib='' |
10894 |
HAVE_LSOD='' |
HAVE_LSOD='' |
10895 |
|
|
10896 |
|
|
10897 |
# Check whether --with-lsod or --without-lsod was given. |
# Check whether --with-lsod or --without-lsod was given. |
10898 |
if test "${with_lsod+set}" = set; then |
if test "${with_lsod+set}" = set; then |
10899 |
withval="$with_lsod" |
withval="$with_lsod" |
|
: |
|
|
else |
|
|
with_lsod=yes |
|
|
fi |
|
10900 |
|
|
10901 |
|
else |
10902 |
|
with_lsod=yes |
10903 |
|
fi; |
10904 |
case "$with_fortran$with_lsod" in |
case "$with_fortran$with_lsod" in |
10905 |
no*) |
no*) |
10906 |
# Fortran is disabled; ignore this option (if present) |
# Fortran is disabled; ignore this option (if present) |
10916 |
# For a search for LSOD source code and tell the Makefile |
# For a search for LSOD source code and tell the Makefile |
10917 |
# to build it; useful for testing configure. |
# to build it; useful for testing configure. |
10918 |
lsod_src_file="$srcdir/../../lsod/lsode.f" |
lsod_src_file="$srcdir/../../lsod/lsode.f" |
10919 |
echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lsod source file $lsod_src_file " >&5 |
10920 |
echo "configure:5694: checking for lsod source file $lsod_src_file " >&5 |
echo $ECHO_N "checking for lsod source file $lsod_src_file ... $ECHO_C" >&6 |
10921 |
if test -f $lsod_src_file ; then |
if test -f $lsod_src_file ; then |
10922 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10923 |
|
echo "${ECHO_T}yes" >&6 |
10924 |
#AWW20041119: LSODLIB="$ascpwd/ascend4/archive/libinteg.a" |
#AWW20041119: LSODLIB="$ascpwd/ascend4/archive/libinteg.a" |
10925 |
LSODLIB="$ascpwd/archive/libinteg.a" |
LSODLIB="$ascpwd/archive/libinteg.a" |
10926 |
make_lsodlib='make-lsodlib' |
make_lsodlib='make-lsodlib' |
10930 |
asc_subdirs="$asc_subdirs lsod" |
asc_subdirs="$asc_subdirs lsod" |
10931 |
HAVE_LSOD='-DSTATIC_LSOD' |
HAVE_LSOD='-DSTATIC_LSOD' |
10932 |
else |
else |
10933 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10934 |
{ echo "configure: error: User specified '--with-lsod=build' but |
echo "${ECHO_T}no" >&6 |
10935 |
configure cannot find the lsod source file $lsod_src_file" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: User specified '--with-lsod=build' but |
10936 |
|
configure cannot find the lsod source file $lsod_src_file" >&5 |
10937 |
|
echo "$as_me: error: User specified '--with-lsod=build' but |
10938 |
|
configure cannot find the lsod source file $lsod_src_file" >&2;} |
10939 |
|
{ (exit 1); exit 1; }; } |
10940 |
fi |
fi |
10941 |
;; |
;; |
10942 |
*yes) |
*yes) |
10947 |
# and print a warning. |
# and print a warning. |
10948 |
for ac_prog in libinteg.a libasclsod.a |
for ac_prog in libinteg.a libasclsod.a |
10949 |
do |
do |
10950 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
10951 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
10952 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10953 |
echo "configure:5722: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10954 |
if eval "test \"`echo '$''{'ac_cv_path_LSODLIB'+set}'`\" = set"; then |
if test "${ac_cv_path_LSODLIB+set}" = set; then |
10955 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10956 |
else |
else |
10957 |
case "$LSODLIB" in |
case $LSODLIB in |
10958 |
/*) |
[\\/]* | ?:[\\/]*) |
10959 |
ac_cv_path_LSODLIB="$LSODLIB" # Let the user override the test with a path. |
ac_cv_path_LSODLIB="$LSODLIB" # Let the user override the test with a path. |
10960 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_LSODLIB="$LSODLIB" # Let the user override the test with a dos path. |
|
|
;; |
|
10961 |
*) |
*) |
10962 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10963 |
ac_dummy="$asc_f77_support_dirs" |
for as_dir in $asc_f77_support_dirs |
10964 |
for ac_dir in $ac_dummy; do |
do |
10965 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
10966 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
10967 |
ac_cv_path_LSODLIB="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
10968 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10969 |
fi |
ac_cv_path_LSODLIB="$as_dir/$ac_word$ac_exec_ext" |
10970 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10971 |
IFS="$ac_save_ifs" |
break 2 |
10972 |
|
fi |
10973 |
|
done |
10974 |
|
done |
10975 |
|
|
10976 |
;; |
;; |
10977 |
esac |
esac |
10978 |
fi |
fi |
10979 |
LSODLIB="$ac_cv_path_LSODLIB" |
LSODLIB=$ac_cv_path_LSODLIB |
10980 |
|
|
10981 |
if test -n "$LSODLIB"; then |
if test -n "$LSODLIB"; then |
10982 |
echo "$ac_t""$LSODLIB" 1>&6 |
echo "$as_me:$LINENO: result: $LSODLIB" >&5 |
10983 |
|
echo "${ECHO_T}$LSODLIB" >&6 |
10984 |
else |
else |
10985 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10986 |
|
echo "${ECHO_T}no" >&6 |
10987 |
fi |
fi |
10988 |
|
|
10989 |
test -n "$LSODLIB" && break |
test -n "$LSODLIB" && break |
10990 |
done |
done |
10991 |
|
|
10992 |
lsod_src_file="$srcdir/../../lsod/lsode.f" |
lsod_src_file="$srcdir/../../lsod/lsode.f" |
10993 |
if test -z "$LSODLIB" -a -n "$lsod_src_file" ; then |
if test -z "$LSODLIB" -a -n "$lsod_src_file" ; then |
10994 |
echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lsod source file $lsod_src_file " >&5 |
10995 |
echo "configure:5760: checking for lsod source file $lsod_src_file " >&5 |
echo $ECHO_N "checking for lsod source file $lsod_src_file ... $ECHO_C" >&6 |
10996 |
if test -f $lsod_src_file ; then |
if test -f $lsod_src_file ; then |
10997 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10998 |
|
echo "${ECHO_T}yes" >&6 |
10999 |
#AWW20041119: LSODLIB="$ascpwd/ascend4/archive/libinteg.a" |
#AWW20041119: LSODLIB="$ascpwd/ascend4/archive/libinteg.a" |
11000 |
LSODLIB="$ascpwd/archive/libinteg.a" |
LSODLIB="$ascpwd/archive/libinteg.a" |
11001 |
make_lsodlib='make-lsodlib' |
make_lsodlib='make-lsodlib' |
11004 |
#AWW20041206: asc_subdirs="$asc_subdirs ../lsod" |
#AWW20041206: asc_subdirs="$asc_subdirs ../lsod" |
11005 |
asc_subdirs="$asc_subdirs lsod" |
asc_subdirs="$asc_subdirs lsod" |
11006 |
else |
else |
11007 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
11008 |
|
echo "${ECHO_T}no" >&6 |
11009 |
fi |
fi |
11010 |
fi |
fi |
11011 |
if test -z "$LSODLIB" ; then |
if test -z "$LSODLIB" ; then |
11012 |
with_lsod=no |
with_lsod=no |
11013 |
echo "configure: warning: Cannot find libinteg.a nor the lsod |
{ echo "$as_me:$LINENO: WARNING: Cannot find libinteg.a nor the lsod |
11014 |
|
source code. Building ASCEND without integration |
11015 |
|
support. To specify a specific location for the lsod library, run |
11016 |
|
configure again with the argument: |
11017 |
|
--with-lsod=LSODLIB |
11018 |
|
where LSODLIB is the full path to the lsod integration library file." >&5 |
11019 |
|
echo "$as_me: WARNING: Cannot find libinteg.a nor the lsod |
11020 |
source code. Building ASCEND without integration |
source code. Building ASCEND without integration |
11021 |
support. To specify a specific location for the lsod library, run |
support. To specify a specific location for the lsod library, run |
11022 |
configure again with the argument: |
configure again with the argument: |
11023 |
--with-lsod=LSODLIB |
--with-lsod=LSODLIB |
11024 |
where LSODLIB is the full path to the lsod integration library file." 1>&2 |
where LSODLIB is the full path to the lsod integration library file." >&2;} |
11025 |
else |
else |
11026 |
HAVE_LSOD='-DSTATIC_LSOD' |
HAVE_LSOD='-DSTATIC_LSOD' |
11027 |
fi |
fi |
11092 |
tkdir_root='' |
tkdir_root='' |
11093 |
tkdir_topbuilddir='' |
tkdir_topbuilddir='' |
11094 |
|
|
11095 |
|
|
11096 |
# Check whether --with-tkdir or --without-tkdir was given. |
# Check whether --with-tkdir or --without-tkdir was given. |
11097 |
if test "${with_tkdir+set}" = set; then |
if test "${with_tkdir+set}" = set; then |
11098 |
withval="$with_tkdir" |
withval="$with_tkdir" |
11099 |
: |
|
11100 |
else |
else |
11101 |
with_tkdir=yes |
with_tkdir=yes |
11102 |
fi |
fi; |
|
|
|
11103 |
if test ! "X$with_tkdir" = "Xno" ; then |
if test ! "X$with_tkdir" = "Xno" ; then |
11104 |
subdir_file_exists='AscendRC' |
subdir_file_exists='AscendRC' |
11105 |
#AWW20041117: FIXME next line |
#AWW20041117: FIXME next line |
11106 |
#AWW20041206: subdir_locations='ascend4/TK' |
#AWW20041206: subdir_locations='ascend4/TK' |
11107 |
subdir_target="TK" |
subdir_target="TK" |
11108 |
subdir_locations='../../tcltk98/TK' |
subdir_locations='../../tcltk98/TK' |
11109 |
subdir_output=' |
subdir_output=' |
11110 |
$subdir_target/Makefile:$subdir_root/Makefile.in |
$subdir_target/Makefile:$subdir_root/Makefile.in |
11127 |
models_dir_root='' |
models_dir_root='' |
11128 |
models_topbuilddir='' |
models_topbuilddir='' |
11129 |
|
|
11130 |
|
|
11131 |
# Check whether --with-models or --without-models was given. |
# Check whether --with-models or --without-models was given. |
11132 |
if test "${with_models+set}" = set; then |
if test "${with_models+set}" = set; then |
11133 |
withval="$with_models" |
withval="$with_models" |
11134 |
: |
|
11135 |
else |
else |
11136 |
with_models=yes |
with_models=yes |
11137 |
fi |
fi; |
|
|
|
11138 |
if test ! "X$with_models" = "Xno" ; then |
if test ! "X$with_models" = "Xno" ; then |
11139 |
subdir_file_exists='system.a4l' |
subdir_file_exists='system.a4l' |
11140 |
#AWW20041117: FIXME next line |
#AWW20041117: FIXME next line |
11260 |
#AWW20041117: $conoptlib_makefile |
#AWW20041117: $conoptlib_makefile |
11261 |
#AWW20041117: $minoslib_makefile |
#AWW20041117: $minoslib_makefile |
11262 |
|
|
11263 |
#AWW20041216: Mark suggested using the following - except for last |
#AWW20041216: Mark suggested using the following - except for last |
11264 |
#AWW20041216: except for last six items. Do they matter? |
#AWW20041216: except for last six items. Do they matter? |
11265 |
trap '' 1 2 15 |
ac_config_files="$ac_config_files ConfigAscend:../../base/generic/ConfigAscend.in Makefile:../../base/generic/Makefile.in bin/ascend4.sh:../../base/generic/bin/ascend4.sh.in Makefile.Rules:../../base/generic/Makefile.Rules.in archive/Makefile:../../base/generic/archive/Makefile.in bin/Makefile:../../base/generic/bin/Makefile.in compiler/Makefile:../../base/generic/compiler/Makefile.in general/Makefile:../../base/generic/general/Makefile.in interface/Makefile:../../tcltk98/generic/interface/Makefile.in lib/Makefile:../../base/generic/lib/Makefile.in packages/Makefile:../../base/generic/packages/Makefile.in solver/Makefile:../../base/generic/solver/Makefile.in utilities/Makefile:../../base/generic/utilities/Makefile.in ../../jam/Jamrules ../../tcltk98/generic/Jamrules_tcltk98 $tkdir_makefiles $models_makefiles $help_makefiles $blaslib_makefile $lpaklib_makefile $lsodlib_makefile" |
11266 |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
11267 |
|
|
11268 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
11269 |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
11270 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
11271 |
|
|
11272 |
# Any assignment to VPATH causes Sun make to only execute |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
11273 |
# the first set of double-colon rules, so remove it if not needed. |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
11274 |
# If there is a colon in the path, we need to keep it. |
# trailing colons and then remove the whole line if VPATH becomes empty |
11275 |
|
# (actually we leave an empty line to preserve line numbers). |
11276 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
11277 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
11278 |
|
s/:*\$(srcdir):*/:/; |
11279 |
|
s/:*\${srcdir}:*/:/; |
11280 |
|
s/:*@srcdir@:*/:/; |
11281 |
|
s/^\([^=]*=[ ]*\):*/\1/; |
11282 |
|
s/:*$//; |
11283 |
|
s/^[^=]*=[ ]*$//; |
11284 |
|
}' |
11285 |
fi |
fi |
11286 |
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
|
|
11287 |
# Transform confdefs.h into DEFS. |
# Transform confdefs.h into DEFS. |
11288 |
# Protect against shell expansion while executing Makefile rules. |
# Protect against shell expansion while executing Makefile rules. |
11289 |
# Protect against Makefile macro expansion. |
# Protect against Makefile macro expansion. |
11294 |
cat >confdef2opt.sed <<\_ACEOF |
cat >confdef2opt.sed <<\_ACEOF |
11295 |
t clear |
t clear |
11296 |
: clear |
: clear |
11297 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
11298 |
t quote |
t quote |
11299 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
11300 |
t quote |
t quote |
11301 |
d |
d |
11302 |
: quote |
: quote |
11303 |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
11304 |
s,\[,\\&,g |
s,\[,\\&,g |
11305 |
s,\],\\&,g |
s,\],\\&,g |
11306 |
s,\$,$$,g |
s,\$,$$,g |
11317 |
rm -f confdef2opt.sed |
rm -f confdef2opt.sed |
11318 |
|
|
11319 |
|
|
11320 |
# Without the "./", some shells look in PATH for config.status. |
ac_libobjs= |
11321 |
: ${CONFIG_STATUS=./config.status} |
ac_ltlibobjs= |
11322 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
11323 |
|
# 1. Remove the extension, and $U if already installed. |
11324 |
|
ac_i=`echo "$ac_i" | |
11325 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
11326 |
|
# 2. Add them. |
11327 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
11328 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
11329 |
|
done |
11330 |
|
LIBOBJS=$ac_libobjs |
11331 |
|
|
11332 |
echo creating $CONFIG_STATUS |
LTLIBOBJS=$ac_ltlibobjs |
11333 |
rm -f $CONFIG_STATUS |
|
11334 |
cat > $CONFIG_STATUS <<EOF |
|
11335 |
#! /bin/sh |
|
11336 |
# Generated automatically by configure. |
: ${CONFIG_STATUS=./config.status} |
11337 |
|
ac_clean_files_save=$ac_clean_files |
11338 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
11339 |
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
11340 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
11341 |
|
cat >$CONFIG_STATUS <<_ACEOF |
11342 |
|
#! $SHELL |
11343 |
|
# Generated by $as_me. |
11344 |
# Run this file to recreate the current configuration. |
# Run this file to recreate the current configuration. |
|
# This directory was configured as follows, |
|
|
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
# |
|
|
# $0 $ac_configure_args |
|
|
# |
|
11345 |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
11346 |
# configure, is in ./config.log if it exists. |
# configure, is in config.log if it exists. |
11347 |
|
|
11348 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
debug=false |
11349 |
for ac_option |
ac_cs_recheck=false |
11350 |
|
ac_cs_silent=false |
11351 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
11352 |
|
_ACEOF |
11353 |
|
|
11354 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11355 |
|
## --------------------- ## |
11356 |
|
## M4sh Initialization. ## |
11357 |
|
## --------------------- ## |
11358 |
|
|
11359 |
|
# Be Bourne compatible |
11360 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
11361 |
|
emulate sh |
11362 |
|
NULLCMD=: |
11363 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
11364 |
|
# is contrary to our usage. Disable this feature. |
11365 |
|
alias -g '${1+"$@"}'='"$@"' |
11366 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
11367 |
|
set -o posix |
11368 |
|
fi |
11369 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
11370 |
|
|
11371 |
|
# Support unset when possible. |
11372 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
11373 |
|
as_unset=unset |
11374 |
|
else |
11375 |
|
as_unset=false |
11376 |
|
fi |
11377 |
|
|
11378 |
|
|
11379 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
11380 |
|
$as_unset ENV MAIL MAILPATH |
11381 |
|
PS1='$ ' |
11382 |
|
PS2='> ' |
11383 |
|
PS4='+ ' |
11384 |
|
|
11385 |
|
# NLS nuisances. |
11386 |
|
for as_var in \ |
11387 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
11388 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
11389 |
|
LC_TELEPHONE LC_TIME |
11390 |
do |
do |
11391 |
case "\$ac_option" in |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
11392 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
eval $as_var=C; export $as_var |
11393 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
else |
11394 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
$as_unset $as_var |
11395 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
fi |
|
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
|
|
exit 0 ;; |
|
|
-help | --help | --hel | --he | --h) |
|
|
echo "\$ac_cs_usage"; exit 0 ;; |
|
|
*) echo "\$ac_cs_usage"; exit 1 ;; |
|
|
esac |
|
11396 |
done |
done |
11397 |
|
|
11398 |
ac_given_srcdir=$srcdir |
# Required to use basename. |
11399 |
ac_given_INSTALL="$INSTALL" |
if expr a : '\(a\)' >/dev/null 2>&1; then |
11400 |
|
as_expr=expr |
11401 |
|
else |
11402 |
|
as_expr=false |
11403 |
|
fi |
11404 |
|
|
11405 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
11406 |
|
as_basename=basename |
11407 |
|
else |
11408 |
|
as_basename=false |
11409 |
|
fi |
11410 |
|
|
|
trap 'rm -fr `echo "ConfigAscend:../../base/generic/ConfigAscend.in |
|
|
Makefile:../../base/generic/Makefile.in |
|
|
bin/ascend4.sh:../../base/generic/bin/ascend4.sh.in |
|
|
Makefile.Rules:../../base/generic/Makefile.Rules.in |
|
|
archive/Makefile:../../base/generic/archive/Makefile.in |
|
|
bin/Makefile:../../base/generic/bin/Makefile.in |
|
|
compiler/Makefile:../../base/generic/compiler/Makefile.in |
|
|
general/Makefile:../../base/generic/general/Makefile.in |
|
|
interface/Makefile:../../tcltk98/generic/interface/Makefile.in |
|
|
lib/Makefile:../../base/generic/lib/Makefile.in |
|
|
packages/Makefile:../../base/generic/packages/Makefile.in |
|
|
solver/Makefile:../../base/generic/solver/Makefile.in |
|
|
utilities/Makefile:../../base/generic/utilities/Makefile.in |
|
|
$tkdir_makefiles |
|
|
$models_makefiles |
|
|
$help_makefiles |
|
|
$blaslib_makefile |
|
|
$lpaklib_makefile |
|
|
$lsodlib_makefile |
|
|
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
11411 |
|
|
11412 |
# Protect against being on the right side of a sed subst in config.status. |
# Name of the executable. |
11413 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
as_me=`$as_basename "$0" || |
11414 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
11415 |
$ac_vpsub |
X"$0" : 'X\(//\)$' \| \ |
11416 |
$extrasub |
X"$0" : 'X\(/\)$' \| \ |
11417 |
s%@SHELL@%$SHELL%g |
. : '\(.\)' 2>/dev/null || |
11418 |
s%@CFLAGS@%$CFLAGS%g |
echo X/"$0" | |
11419 |
s%@CPPFLAGS@%$CPPFLAGS%g |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
11420 |
s%@CXXFLAGS@%$CXXFLAGS%g |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
11421 |
s%@FFLAGS@%$FFLAGS%g |
/^X\/\(\/\).*/{ s//\1/; q; } |
11422 |
s%@DEFS@%$DEFS%g |
s/.*/./; q'` |
11423 |
s%@LDFLAGS@%$LDFLAGS%g |
|
11424 |
s%@LIBS@%$LIBS%g |
|
11425 |
s%@exec_prefix@%$exec_prefix%g |
# PATH needs CR, and LINENO needs CR and PATH. |
11426 |
s%@prefix@%$prefix%g |
# Avoid depending upon Character Ranges. |
11427 |
s%@program_transform_name@%$program_transform_name%g |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
11428 |
s%@bindir@%$bindir%g |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
11429 |
s%@sbindir@%$sbindir%g |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
11430 |
s%@libexecdir@%$libexecdir%g |
as_cr_digits='0123456789' |
11431 |
s%@datadir@%$datadir%g |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
11432 |
s%@sysconfdir@%$sysconfdir%g |
|
11433 |
s%@sharedstatedir@%$sharedstatedir%g |
# The user is always right. |
11434 |
s%@localstatedir@%$localstatedir%g |
if test "${PATH_SEPARATOR+set}" != set; then |
11435 |
s%@libdir@%$libdir%g |
echo "#! /bin/sh" >conf$$.sh |
11436 |
s%@includedir@%$includedir%g |
echo "exit 0" >>conf$$.sh |
11437 |
s%@oldincludedir@%$oldincludedir%g |
chmod +x conf$$.sh |
11438 |
s%@infodir@%$infodir%g |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
11439 |
s%@mandir@%$mandir%g |
PATH_SEPARATOR=';' |
11440 |
s%@RANLIB@%$RANLIB%g |
else |
11441 |
s%@LN_S@%$LN_S%g |
PATH_SEPARATOR=: |
11442 |
s%@SET_MAKE@%$SET_MAKE%g |
fi |
11443 |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
rm -f conf$$.sh |
11444 |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
fi |
|
s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
|
s%@host@%$host%g |
|
|
s%@host_alias@%$host_alias%g |
|
|
s%@host_cpu@%$host_cpu%g |
|
|
s%@host_vendor@%$host_vendor%g |
|
|
s%@host_os@%$host_os%g |
|
|
s%@asc_cc1@%$asc_cc1%g |
|
|
s%@asc_cc2@%$asc_cc2%g |
|
|
s%@asc_cc3@%$asc_cc3%g |
|
|
s%@CC@%$CC%g |
|
|
s%@CPP@%$CPP%g |
|
|
s%@DEBUG_LIBS@%$DEBUG_LIBS%g |
|
|
s%@YACC@%$YACC%g |
|
|
s%@LEX@%$LEX%g |
|
|
s%@LEXLIB@%$LEXLIB%g |
|
|
s%@TCL_LIB@%$TCL_LIB%g |
|
|
s%@TCL_HDR@%$TCL_HDR%g |
|
|
s%@TK_LIB@%$TK_LIB%g |
|
|
s%@TK_HDR@%$TK_HDR%g |
|
|
s%@TKTABLE_LIB@%$TKTABLE_LIB%g |
|
|
s%@F77@%$F77%g |
|
|
s%@BLASLIB@%$BLASLIB%g |
|
|
s%@LPAKLIB@%$LPAKLIB%g |
|
|
s%@LSODLIB@%$LSODLIB%g |
|
|
s%@ascpwd@%$ascpwd%g |
|
|
s%@fullpathsrcdir@%$fullpathsrcdir%g |
|
|
s%@asc_include@%$asc_include%g |
|
|
s%@scanner_src@%$scanner_src%g |
|
|
s%@typer_src@%$typer_src%g |
|
|
s%@MATH_LIBS@%$MATH_LIBS%g |
|
|
s%@X11_INCLUDES@%$X11_INCLUDES%g |
|
|
s%@X11_LIBRARIES@%$X11_LIBRARIES%g |
|
|
s%@X11_RUN_PATH@%$X11_RUN_PATH%g |
|
|
s%@X11_EXTRA_LIBS@%$X11_EXTRA_LIBS%g |
|
|
s%@DL_LIBS@%$DL_LIBS%g |
|
|
s%@LD_FLAGS@%$LD_FLAGS%g |
|
|
s%@LD_SEARCH_FLAGS@%$LD_SEARCH_FLAGS%g |
|
|
s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g |
|
|
s%@SHLIB_LD@%$SHLIB_LD%g |
|
|
s%@SHLIB_LD_LIBS@%$SHLIB_LD_LIBS%g |
|
|
s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g |
|
|
s%@ASC_LIB_SUFFIX@%$ASC_LIB_SUFFIX%g |
|
|
s%@ASC_TK_LIBRARY@%$ASC_TK_LIBRARY%g |
|
|
s%@ASC_TCL_LIBRARY@%$ASC_TCL_LIBRARY%g |
|
|
s%@HAVE_TKTABLE@%$HAVE_TKTABLE%g |
|
|
s%@asc_subdirs@%$asc_subdirs%g |
|
|
s%@F77LIBS@%$F77LIBS%g |
|
|
s%@make_blaslib@%$make_blaslib%g |
|
|
s%@make_lpaklib@%$make_lpaklib%g |
|
|
s%@make_lsodlib@%$make_lsodlib%g |
|
|
s%@HAVE_LSOD@%$HAVE_LSOD%g |
|
|
s%@tkdir_root@%$tkdir_root%g |
|
|
s%@tkdir_topbuilddir@%$tkdir_topbuilddir%g |
|
|
s%@models_dir_root@%$models_dir_root%g |
|
|
s%@models_topbuilddir@%$models_topbuilddir%g |
|
|
s%@help_dir_root@%$help_dir_root%g |
|
|
s%@help_topbuilddir@%$help_topbuilddir%g |
|
11445 |
|
|
|
CEOF |
|
|
EOF |
|
11446 |
|
|
11447 |
cat >> $CONFIG_STATUS <<\EOF |
as_lineno_1=$LINENO |
11448 |
|
as_lineno_2=$LINENO |
11449 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
11450 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
11451 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
11452 |
|
# Find who we are. Look in the path if we contain no path at all |
11453 |
|
# relative or not. |
11454 |
|
case $0 in |
11455 |
|
*[\\/]* ) as_myself=$0 ;; |
11456 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11457 |
|
for as_dir in $PATH |
11458 |
|
do |
11459 |
|
IFS=$as_save_IFS |
11460 |
|
test -z "$as_dir" && as_dir=. |
11461 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
11462 |
|
done |
11463 |
|
|
11464 |
# Split the substitutions into bite-sized pieces for seds with |
;; |
11465 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
esac |
11466 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
11467 |
ac_file=1 # Number of current file. |
# in which case we are not to be found in the path. |
11468 |
ac_beg=1 # First line for current file. |
if test "x$as_myself" = x; then |
11469 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
as_myself=$0 |
11470 |
ac_more_lines=: |
fi |
11471 |
ac_sed_cmds="" |
if test ! -f "$as_myself"; then |
11472 |
while $ac_more_lines; do |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
11473 |
if test $ac_beg -gt 1; then |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
11474 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
{ (exit 1); exit 1; }; } |
|
else |
|
|
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
11475 |
fi |
fi |
11476 |
if test ! -s conftest.s$ac_file; then |
case $CONFIG_SHELL in |
11477 |
ac_more_lines=false |
'') |
11478 |
rm -f conftest.s$ac_file |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11479 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
11480 |
|
do |
11481 |
|
IFS=$as_save_IFS |
11482 |
|
test -z "$as_dir" && as_dir=. |
11483 |
|
for as_base in sh bash ksh sh5; do |
11484 |
|
case $as_dir in |
11485 |
|
/*) |
11486 |
|
if ("$as_dir/$as_base" -c ' |
11487 |
|
as_lineno_1=$LINENO |
11488 |
|
as_lineno_2=$LINENO |
11489 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
11490 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
11491 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
11492 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
11493 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
11494 |
|
CONFIG_SHELL=$as_dir/$as_base |
11495 |
|
export CONFIG_SHELL |
11496 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
11497 |
|
fi;; |
11498 |
|
esac |
11499 |
|
done |
11500 |
|
done |
11501 |
|
;; |
11502 |
|
esac |
11503 |
|
|
11504 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
11505 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
11506 |
|
# line-number line before each line; the second 'sed' does the real |
11507 |
|
# work. The second script uses 'N' to pair each line-number line |
11508 |
|
# with the numbered line, and appends trailing '-' during |
11509 |
|
# substitution so that $LINENO is not a special case at line end. |
11510 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
11511 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
11512 |
|
sed '=' <$as_myself | |
11513 |
|
sed ' |
11514 |
|
N |
11515 |
|
s,$,-, |
11516 |
|
: loop |
11517 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
11518 |
|
t loop |
11519 |
|
s,-$,, |
11520 |
|
s,^['$as_cr_digits']*\n,, |
11521 |
|
' >$as_me.lineno && |
11522 |
|
chmod +x $as_me.lineno || |
11523 |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
11524 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
11525 |
|
{ (exit 1); exit 1; }; } |
11526 |
|
|
11527 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
11528 |
|
# (the dirname of $[0] is not the place where we might find the |
11529 |
|
# original and so on. Autoconf is especially sensible to this). |
11530 |
|
. ./$as_me.lineno |
11531 |
|
# Exit status is that of the last command. |
11532 |
|
exit |
11533 |
|
} |
11534 |
|
|
11535 |
|
|
11536 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
11537 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
11538 |
|
' ECHO_T=' ' ;; |
11539 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
11540 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
11541 |
|
esac |
11542 |
|
|
11543 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
11544 |
|
as_expr=expr |
11545 |
|
else |
11546 |
|
as_expr=false |
11547 |
|
fi |
11548 |
|
|
11549 |
|
rm -f conf$$ conf$$.exe conf$$.file |
11550 |
|
echo >conf$$.file |
11551 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
11552 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
11553 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
11554 |
|
if test -f conf$$.exe; then |
11555 |
|
# Don't use ln at all; we don't have any links |
11556 |
|
as_ln_s='cp -p' |
11557 |
else |
else |
11558 |
if test -z "$ac_sed_cmds"; then |
as_ln_s='ln -s' |
|
ac_sed_cmds="sed -f conftest.s$ac_file" |
|
|
else |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
|
|
fi |
|
|
ac_file=`expr $ac_file + 1` |
|
|
ac_beg=$ac_end |
|
|
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
11559 |
fi |
fi |
11560 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
11561 |
|
as_ln_s=ln |
11562 |
|
else |
11563 |
|
as_ln_s='cp -p' |
11564 |
|
fi |
11565 |
|
rm -f conf$$ conf$$.exe conf$$.file |
11566 |
|
|
11567 |
|
if mkdir -p . 2>/dev/null; then |
11568 |
|
as_mkdir_p=: |
11569 |
|
else |
11570 |
|
test -d ./-p && rmdir ./-p |
11571 |
|
as_mkdir_p=false |
11572 |
|
fi |
11573 |
|
|
11574 |
|
as_executable_p="test -f" |
11575 |
|
|
11576 |
|
# Sed expression to map a string onto a valid CPP name. |
11577 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
11578 |
|
|
11579 |
|
# Sed expression to map a string onto a valid variable name. |
11580 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
11581 |
|
|
11582 |
|
|
11583 |
|
# IFS |
11584 |
|
# We need space, tab and new line, in precisely that order. |
11585 |
|
as_nl=' |
11586 |
|
' |
11587 |
|
IFS=" $as_nl" |
11588 |
|
|
11589 |
|
# CDPATH. |
11590 |
|
$as_unset CDPATH |
11591 |
|
|
11592 |
|
exec 6>&1 |
11593 |
|
|
11594 |
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
11595 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
11596 |
|
# values after options handling. Logging --version etc. is OK. |
11597 |
|
exec 5>>config.log |
11598 |
|
{ |
11599 |
|
echo |
11600 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
11601 |
|
## Running $as_me. ## |
11602 |
|
_ASBOX |
11603 |
|
} >&5 |
11604 |
|
cat >&5 <<_CSEOF |
11605 |
|
|
11606 |
|
This file was extended by $as_me, which was |
11607 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
11608 |
|
|
11609 |
|
CONFIG_FILES = $CONFIG_FILES |
11610 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
11611 |
|
CONFIG_LINKS = $CONFIG_LINKS |
11612 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
11613 |
|
$ $0 $@ |
11614 |
|
|
11615 |
|
_CSEOF |
11616 |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
11617 |
|
echo >&5 |
11618 |
|
_ACEOF |
11619 |
|
|
11620 |
|
# Files that config.status was made for. |
11621 |
|
if test -n "$ac_config_files"; then |
11622 |
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
11623 |
|
fi |
11624 |
|
|
11625 |
|
if test -n "$ac_config_headers"; then |
11626 |
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
11627 |
|
fi |
11628 |
|
|
11629 |
|
if test -n "$ac_config_links"; then |
11630 |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
11631 |
|
fi |
11632 |
|
|
11633 |
|
if test -n "$ac_config_commands"; then |
11634 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
11635 |
|
fi |
11636 |
|
|
11637 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11638 |
|
|
11639 |
|
ac_cs_usage="\ |
11640 |
|
\`$as_me' instantiates files from templates according to the |
11641 |
|
current configuration. |
11642 |
|
|
11643 |
|
Usage: $0 [OPTIONS] [FILE]... |
11644 |
|
|
11645 |
|
-h, --help print this help, then exit |
11646 |
|
-V, --version print version number, then exit |
11647 |
|
-q, --quiet do not print progress messages |
11648 |
|
-d, --debug don't remove temporary files |
11649 |
|
--recheck update $as_me by reconfiguring in the same conditions |
11650 |
|
--file=FILE[:TEMPLATE] |
11651 |
|
instantiate the configuration file FILE |
11652 |
|
|
11653 |
|
Configuration files: |
11654 |
|
$config_files |
11655 |
|
|
11656 |
|
Report bugs to <bug-autoconf@gnu.org>." |
11657 |
|
_ACEOF |
11658 |
|
|
11659 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
11660 |
|
ac_cs_version="\\ |
11661 |
|
config.status |
11662 |
|
configured by $0, generated by GNU Autoconf 2.59, |
11663 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
11664 |
|
|
11665 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
11666 |
|
This config.status script is free software; the Free Software Foundation |
11667 |
|
gives unlimited permission to copy, distribute and modify it." |
11668 |
|
srcdir=$srcdir |
11669 |
|
INSTALL="$INSTALL" |
11670 |
|
_ACEOF |
11671 |
|
|
11672 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11673 |
|
# If no file are specified by the user, then we need to provide default |
11674 |
|
# value. By we need to know if files were specified by the user. |
11675 |
|
ac_need_defaults=: |
11676 |
|
while test $# != 0 |
11677 |
|
do |
11678 |
|
case $1 in |
11679 |
|
--*=*) |
11680 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
11681 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
11682 |
|
ac_shift=: |
11683 |
|
;; |
11684 |
|
-*) |
11685 |
|
ac_option=$1 |
11686 |
|
ac_optarg=$2 |
11687 |
|
ac_shift=shift |
11688 |
|
;; |
11689 |
|
*) # This is not an option, so the user has probably given explicit |
11690 |
|
# arguments. |
11691 |
|
ac_option=$1 |
11692 |
|
ac_need_defaults=false;; |
11693 |
|
esac |
11694 |
|
|
11695 |
|
case $ac_option in |
11696 |
|
# Handling of the options. |
11697 |
|
_ACEOF |
11698 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11699 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
11700 |
|
ac_cs_recheck=: ;; |
11701 |
|
--version | --vers* | -V ) |
11702 |
|
echo "$ac_cs_version"; exit 0 ;; |
11703 |
|
--he | --h) |
11704 |
|
# Conflict between --help and --header |
11705 |
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
11706 |
|
Try \`$0 --help' for more information." >&5 |
11707 |
|
echo "$as_me: error: ambiguous option: $1 |
11708 |
|
Try \`$0 --help' for more information." >&2;} |
11709 |
|
{ (exit 1); exit 1; }; };; |
11710 |
|
--help | --hel | -h ) |
11711 |
|
echo "$ac_cs_usage"; exit 0 ;; |
11712 |
|
--debug | --d* | -d ) |
11713 |
|
debug=: ;; |
11714 |
|
--file | --fil | --fi | --f ) |
11715 |
|
$ac_shift |
11716 |
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
11717 |
|
ac_need_defaults=false;; |
11718 |
|
--header | --heade | --head | --hea ) |
11719 |
|
$ac_shift |
11720 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
11721 |
|
ac_need_defaults=false;; |
11722 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
11723 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
11724 |
|
ac_cs_silent=: ;; |
11725 |
|
|
11726 |
|
# This is an error. |
11727 |
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
11728 |
|
Try \`$0 --help' for more information." >&5 |
11729 |
|
echo "$as_me: error: unrecognized option: $1 |
11730 |
|
Try \`$0 --help' for more information." >&2;} |
11731 |
|
{ (exit 1); exit 1; }; } ;; |
11732 |
|
|
11733 |
|
*) ac_config_targets="$ac_config_targets $1" ;; |
11734 |
|
|
11735 |
|
esac |
11736 |
|
shift |
11737 |
done |
done |
11738 |
if test -z "$ac_sed_cmds"; then |
|
11739 |
ac_sed_cmds=cat |
ac_configure_extra_args= |
11740 |
|
|
11741 |
|
if $ac_cs_silent; then |
11742 |
|
exec 6>/dev/null |
11743 |
|
ac_configure_extra_args="$ac_configure_extra_args --silent" |
11744 |
|
fi |
11745 |
|
|
11746 |
|
_ACEOF |
11747 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
11748 |
|
if \$ac_cs_recheck; then |
11749 |
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
11750 |
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
11751 |
fi |
fi |
|
EOF |
|
11752 |
|
|
11753 |
cat >> $CONFIG_STATUS <<EOF |
_ACEOF |
11754 |
|
|
11755 |
CONFIG_FILES=\${CONFIG_FILES-"ConfigAscend:../../base/generic/ConfigAscend.in |
|
11756 |
Makefile:../../base/generic/Makefile.in |
|
11757 |
bin/ascend4.sh:../../base/generic/bin/ascend4.sh.in |
|
11758 |
Makefile.Rules:../../base/generic/Makefile.Rules.in |
|
11759 |
archive/Makefile:../../base/generic/archive/Makefile.in |
cat >>$CONFIG_STATUS <<\_ACEOF |
11760 |
bin/Makefile:../../base/generic/bin/Makefile.in |
for ac_config_target in $ac_config_targets |
11761 |
compiler/Makefile:../../base/generic/compiler/Makefile.in |
do |
11762 |
general/Makefile:../../base/generic/general/Makefile.in |
case "$ac_config_target" in |
11763 |
interface/Makefile:../../tcltk98/generic/interface/Makefile.in |
# Handling of arguments. |
11764 |
lib/Makefile:../../base/generic/lib/Makefile.in |
"ConfigAscend" ) CONFIG_FILES="$CONFIG_FILES ConfigAscend:../../base/generic/ConfigAscend.in" ;; |
11765 |
packages/Makefile:../../base/generic/packages/Makefile.in |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:../../base/generic/Makefile.in" ;; |
11766 |
solver/Makefile:../../base/generic/solver/Makefile.in |
"bin/ascend4.sh" ) CONFIG_FILES="$CONFIG_FILES bin/ascend4.sh:../../base/generic/bin/ascend4.sh.in" ;; |
11767 |
utilities/Makefile:../../base/generic/utilities/Makefile.in |
"Makefile.Rules" ) CONFIG_FILES="$CONFIG_FILES Makefile.Rules:../../base/generic/Makefile.Rules.in" ;; |
11768 |
$tkdir_makefiles |
"archive/Makefile" ) CONFIG_FILES="$CONFIG_FILES archive/Makefile:../../base/generic/archive/Makefile.in" ;; |
11769 |
$models_makefiles |
"bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile:../../base/generic/bin/Makefile.in" ;; |
11770 |
$help_makefiles |
"compiler/Makefile" ) CONFIG_FILES="$CONFIG_FILES compiler/Makefile:../../base/generic/compiler/Makefile.in" ;; |
11771 |
$blaslib_makefile |
"general/Makefile" ) CONFIG_FILES="$CONFIG_FILES general/Makefile:../../base/generic/general/Makefile.in" ;; |
11772 |
$lpaklib_makefile |
"interface/Makefile" ) CONFIG_FILES="$CONFIG_FILES interface/Makefile:../../tcltk98/generic/interface/Makefile.in" ;; |
11773 |
$lsodlib_makefile |
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile:../../base/generic/lib/Makefile.in" ;; |
11774 |
"} |
"packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile:../../base/generic/packages/Makefile.in" ;; |
11775 |
EOF |
"solver/Makefile" ) CONFIG_FILES="$CONFIG_FILES solver/Makefile:../../base/generic/solver/Makefile.in" ;; |
11776 |
cat >> $CONFIG_STATUS <<\EOF |
"utilities/Makefile" ) CONFIG_FILES="$CONFIG_FILES utilities/Makefile:../../base/generic/utilities/Makefile.in" ;; |
11777 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
"../../jam/Jamrules" ) CONFIG_FILES="$CONFIG_FILES ../../jam/Jamrules" ;; |
11778 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
"../../tcltk98/generic/Jamrules_tcltk98" ) CONFIG_FILES="$CONFIG_FILES ../../tcltk98/generic/Jamrules_tcltk98" ;; |
11779 |
case "$ac_file" in |
"$tkdir_makefiles" ) CONFIG_FILES="$CONFIG_FILES $tkdir_makefiles" ;; |
11780 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
"$models_makefiles" ) CONFIG_FILES="$CONFIG_FILES $models_makefiles" ;; |
11781 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
"$help_makefiles" ) CONFIG_FILES="$CONFIG_FILES $help_makefiles" ;; |
11782 |
*) ac_file_in="${ac_file}.in" ;; |
"$blaslib_makefile" ) CONFIG_FILES="$CONFIG_FILES $blaslib_makefile" ;; |
11783 |
|
"$lpaklib_makefile" ) CONFIG_FILES="$CONFIG_FILES $lpaklib_makefile" ;; |
11784 |
|
"$lsodlib_makefile" ) CONFIG_FILES="$CONFIG_FILES $lsodlib_makefile" ;; |
11785 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
11786 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
11787 |
|
{ (exit 1); exit 1; }; };; |
11788 |
esac |
esac |
11789 |
|
done |
11790 |
|
|
11791 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
# If the user did not use the arguments to specify the items to instantiate, |
11792 |
|
# then the envvar interface is used. Set only those that are not. |
11793 |
|
# We use the long form for the default assignment because of an extremely |
11794 |
|
# bizarre bug on SunOS 4.1.3. |
11795 |
|
if $ac_need_defaults; then |
11796 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
11797 |
|
fi |
11798 |
|
|
11799 |
# Remove last slash and all that follows it. Not all systems have dirname. |
# Have a temporary directory for convenience. Make it in the build tree |
11800 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
# simply because there is no reason to put it here, and in addition, |
11801 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
# creating and moving files from /tmp can sometimes cause problems. |
11802 |
# The file is in a subdirectory. |
# Create a temporary directory, and hook for its removal unless debugging. |
11803 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
$debug || |
11804 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
{ |
11805 |
# A "../" for each directory in $ac_dir_suffix. |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
11806 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
11807 |
else |
} |
11808 |
ac_dir_suffix= ac_dots= |
|
11809 |
|
# Create a (secure) tmp directory for tmp files. |
11810 |
|
|
11811 |
|
{ |
11812 |
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
11813 |
|
test -n "$tmp" && test -d "$tmp" |
11814 |
|
} || |
11815 |
|
{ |
11816 |
|
tmp=./confstat$$-$RANDOM |
11817 |
|
(umask 077 && mkdir $tmp) |
11818 |
|
} || |
11819 |
|
{ |
11820 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
11821 |
|
{ (exit 1); exit 1; } |
11822 |
|
} |
11823 |
|
|
11824 |
|
_ACEOF |
11825 |
|
|
11826 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
11827 |
|
|
11828 |
|
# |
11829 |
|
# CONFIG_FILES section. |
11830 |
|
# |
11831 |
|
|
11832 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
11833 |
|
# This happens for instance when ./config.status config.h |
11834 |
|
if test -n "\$CONFIG_FILES"; then |
11835 |
|
# Protect against being on the right side of a sed subst in config.status. |
11836 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
11837 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
11838 |
|
s,@SHELL@,$SHELL,;t t |
11839 |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
11840 |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
11841 |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
11842 |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
11843 |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
11844 |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
11845 |
|
s,@exec_prefix@,$exec_prefix,;t t |
11846 |
|
s,@prefix@,$prefix,;t t |
11847 |
|
s,@program_transform_name@,$program_transform_name,;t t |
11848 |
|
s,@bindir@,$bindir,;t t |
11849 |
|
s,@sbindir@,$sbindir,;t t |
11850 |
|
s,@libexecdir@,$libexecdir,;t t |
11851 |
|
s,@datadir@,$datadir,;t t |
11852 |
|
s,@sysconfdir@,$sysconfdir,;t t |
11853 |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
11854 |
|
s,@localstatedir@,$localstatedir,;t t |
11855 |
|
s,@libdir@,$libdir,;t t |
11856 |
|
s,@includedir@,$includedir,;t t |
11857 |
|
s,@oldincludedir@,$oldincludedir,;t t |
11858 |
|
s,@infodir@,$infodir,;t t |
11859 |
|
s,@mandir@,$mandir,;t t |
11860 |
|
s,@build_alias@,$build_alias,;t t |
11861 |
|
s,@host_alias@,$host_alias,;t t |
11862 |
|
s,@target_alias@,$target_alias,;t t |
11863 |
|
s,@DEFS@,$DEFS,;t t |
11864 |
|
s,@ECHO_C@,$ECHO_C,;t t |
11865 |
|
s,@ECHO_N@,$ECHO_N,;t t |
11866 |
|
s,@ECHO_T@,$ECHO_T,;t t |
11867 |
|
s,@LIBS@,$LIBS,;t t |
11868 |
|
s,@RANLIB@,$RANLIB,;t t |
11869 |
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
11870 |
|
s,@LN_S@,$LN_S,;t t |
11871 |
|
s,@SET_MAKE@,$SET_MAKE,;t t |
11872 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
11873 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
11874 |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
11875 |
|
s,@build@,$build,;t t |
11876 |
|
s,@build_cpu@,$build_cpu,;t t |
11877 |
|
s,@build_vendor@,$build_vendor,;t t |
11878 |
|
s,@build_os@,$build_os,;t t |
11879 |
|
s,@host@,$host,;t t |
11880 |
|
s,@host_cpu@,$host_cpu,;t t |
11881 |
|
s,@host_vendor@,$host_vendor,;t t |
11882 |
|
s,@host_os@,$host_os,;t t |
11883 |
|
s,@CC@,$CC,;t t |
11884 |
|
s,@CFLAGS@,$CFLAGS,;t t |
11885 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
11886 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
11887 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
11888 |
|
s,@EXEEXT@,$EXEEXT,;t t |
11889 |
|
s,@OBJEXT@,$OBJEXT,;t t |
11890 |
|
s,@asc_cc1@,$asc_cc1,;t t |
11891 |
|
s,@asc_cc2@,$asc_cc2,;t t |
11892 |
|
s,@asc_cc3@,$asc_cc3,;t t |
11893 |
|
s,@CPP@,$CPP,;t t |
11894 |
|
s,@DEBUG_LIBS@,$DEBUG_LIBS,;t t |
11895 |
|
s,@EGREP@,$EGREP,;t t |
11896 |
|
s,@YACC@,$YACC,;t t |
11897 |
|
s,@LEX@,$LEX,;t t |
11898 |
|
s,@LEXLIB@,$LEXLIB,;t t |
11899 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
11900 |
|
s,@TCL_LIB@,$TCL_LIB,;t t |
11901 |
|
s,@TCL_HDR@,$TCL_HDR,;t t |
11902 |
|
s,@TK_LIB@,$TK_LIB,;t t |
11903 |
|
s,@TK_HDR@,$TK_HDR,;t t |
11904 |
|
s,@TKTABLE_LIB@,$TKTABLE_LIB,;t t |
11905 |
|
s,@F77@,$F77,;t t |
11906 |
|
s,@BLASLIB@,$BLASLIB,;t t |
11907 |
|
s,@LPAKLIB@,$LPAKLIB,;t t |
11908 |
|
s,@LSODLIB@,$LSODLIB,;t t |
11909 |
|
s,@ascpwd@,$ascpwd,;t t |
11910 |
|
s,@fullpathsrcdir@,$fullpathsrcdir,;t t |
11911 |
|
s,@asc_include@,$asc_include,;t t |
11912 |
|
s,@scanner_src@,$scanner_src,;t t |
11913 |
|
s,@typer_src@,$typer_src,;t t |
11914 |
|
s,@MATH_LIBS@,$MATH_LIBS,;t t |
11915 |
|
s,@X11_INCLUDES@,$X11_INCLUDES,;t t |
11916 |
|
s,@X11_LIBRARIES@,$X11_LIBRARIES,;t t |
11917 |
|
s,@X11_RUN_PATH@,$X11_RUN_PATH,;t t |
11918 |
|
s,@X11_EXTRA_LIBS@,$X11_EXTRA_LIBS,;t t |
11919 |
|
s,@DL_LIBS@,$DL_LIBS,;t t |
11920 |
|
s,@LD_FLAGS@,$LD_FLAGS,;t t |
11921 |
|
s,@LD_SEARCH_FLAGS@,$LD_SEARCH_FLAGS,;t t |
11922 |
|
s,@SHLIB_CFLAGS@,$SHLIB_CFLAGS,;t t |
11923 |
|
s,@SHLIB_LD@,$SHLIB_LD,;t t |
11924 |
|
s,@SHLIB_LD_LIBS@,$SHLIB_LD_LIBS,;t t |
11925 |
|
s,@SHLIB_SUFFIX@,$SHLIB_SUFFIX,;t t |
11926 |
|
s,@ASC_LIB_SUFFIX@,$ASC_LIB_SUFFIX,;t t |
11927 |
|
s,@ASC_TK_LIBRARY@,$ASC_TK_LIBRARY,;t t |
11928 |
|
s,@ASC_TCL_LIBRARY@,$ASC_TCL_LIBRARY,;t t |
11929 |
|
s,@HAVE_TKTABLE@,$HAVE_TKTABLE,;t t |
11930 |
|
s,@asc_subdirs@,$asc_subdirs,;t t |
11931 |
|
s,@F77LIBS@,$F77LIBS,;t t |
11932 |
|
s,@make_blaslib@,$make_blaslib,;t t |
11933 |
|
s,@make_lpaklib@,$make_lpaklib,;t t |
11934 |
|
s,@make_lsodlib@,$make_lsodlib,;t t |
11935 |
|
s,@HAVE_LSOD@,$HAVE_LSOD,;t t |
11936 |
|
s,@tkdir_root@,$tkdir_root,;t t |
11937 |
|
s,@tkdir_topbuilddir@,$tkdir_topbuilddir,;t t |
11938 |
|
s,@models_dir_root@,$models_dir_root,;t t |
11939 |
|
s,@models_topbuilddir@,$models_topbuilddir,;t t |
11940 |
|
s,@help_dir_root@,$help_dir_root,;t t |
11941 |
|
s,@help_topbuilddir@,$help_topbuilddir,;t t |
11942 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
11943 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
11944 |
|
CEOF |
11945 |
|
|
11946 |
|
_ACEOF |
11947 |
|
|
11948 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11949 |
|
# Split the substitutions into bite-sized pieces for seds with |
11950 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
11951 |
|
ac_max_sed_lines=48 |
11952 |
|
ac_sed_frag=1 # Number of current file. |
11953 |
|
ac_beg=1 # First line for current file. |
11954 |
|
ac_end=$ac_max_sed_lines # Line after last line for current file. |
11955 |
|
ac_more_lines=: |
11956 |
|
ac_sed_cmds= |
11957 |
|
while $ac_more_lines; do |
11958 |
|
if test $ac_beg -gt 1; then |
11959 |
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
11960 |
|
else |
11961 |
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
11962 |
|
fi |
11963 |
|
if test ! -s $tmp/subs.frag; then |
11964 |
|
ac_more_lines=false |
11965 |
|
else |
11966 |
|
# The purpose of the label and of the branching condition is to |
11967 |
|
# speed up the sed processing (if there are no `@' at all, there |
11968 |
|
# is no need to browse any of the substitutions). |
11969 |
|
# These are the two extra sed commands mentioned above. |
11970 |
|
(echo ':t |
11971 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
11972 |
|
if test -z "$ac_sed_cmds"; then |
11973 |
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
11974 |
|
else |
11975 |
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
11976 |
|
fi |
11977 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
11978 |
|
ac_beg=$ac_end |
11979 |
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
11980 |
|
fi |
11981 |
|
done |
11982 |
|
if test -z "$ac_sed_cmds"; then |
11983 |
|
ac_sed_cmds=cat |
11984 |
fi |
fi |
11985 |
|
fi # test -n "$CONFIG_FILES" |
11986 |
|
|
11987 |
case "$ac_given_srcdir" in |
_ACEOF |
11988 |
.) srcdir=. |
cat >>$CONFIG_STATUS <<\_ACEOF |
11989 |
if test -z "$ac_dots"; then top_srcdir=. |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
11990 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11991 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
case $ac_file in |
11992 |
*) # Relative path. |
- | *:- | *:-:* ) # input from stdin |
11993 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
cat >$tmp/stdin |
11994 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11995 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11996 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11997 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11998 |
|
* ) ac_file_in=$ac_file.in ;; |
11999 |
esac |
esac |
12000 |
|
|
12001 |
case "$ac_given_INSTALL" in |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
12002 |
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
12003 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
12004 |
esac |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
12005 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
12006 |
|
X"$ac_file" : 'X\(/\)' \| \ |
12007 |
|
. : '\(.\)' 2>/dev/null || |
12008 |
|
echo X"$ac_file" | |
12009 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
12010 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
12011 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
12012 |
|
/^X\(\/\).*/{ s//\1/; q; } |
12013 |
|
s/.*/./; q'` |
12014 |
|
{ if $as_mkdir_p; then |
12015 |
|
mkdir -p "$ac_dir" |
12016 |
|
else |
12017 |
|
as_dir="$ac_dir" |
12018 |
|
as_dirs= |
12019 |
|
while test ! -d "$as_dir"; do |
12020 |
|
as_dirs="$as_dir $as_dirs" |
12021 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
12022 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
12023 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
12024 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
12025 |
|
X"$as_dir" : 'X\(/\)' \| \ |
12026 |
|
. : '\(.\)' 2>/dev/null || |
12027 |
|
echo X"$as_dir" | |
12028 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
12029 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
12030 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
12031 |
|
/^X\(\/\).*/{ s//\1/; q; } |
12032 |
|
s/.*/./; q'` |
12033 |
|
done |
12034 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
12035 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
12036 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
12037 |
|
{ (exit 1); exit 1; }; }; } |
12038 |
|
|
12039 |
|
ac_builddir=. |
12040 |
|
|
12041 |
|
if test "$ac_dir" != .; then |
12042 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
12043 |
|
# A "../" for each directory in $ac_dir_suffix. |
12044 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
12045 |
|
else |
12046 |
|
ac_dir_suffix= ac_top_builddir= |
12047 |
|
fi |
12048 |
|
|
12049 |
|
case $srcdir in |
12050 |
|
.) # No --srcdir option. We are building in place. |
12051 |
|
ac_srcdir=. |
12052 |
|
if test -z "$ac_top_builddir"; then |
12053 |
|
ac_top_srcdir=. |
12054 |
|
else |
12055 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
12056 |
|
fi ;; |
12057 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
12058 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
12059 |
|
ac_top_srcdir=$srcdir ;; |
12060 |
|
*) # Relative path. |
12061 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
12062 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
12063 |
|
esac |
12064 |
|
|
12065 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
12066 |
|
# the directories may not exist. |
12067 |
|
case `pwd` in |
12068 |
|
.) ac_abs_builddir="$ac_dir";; |
12069 |
|
*) |
12070 |
|
case "$ac_dir" in |
12071 |
|
.) ac_abs_builddir=`pwd`;; |
12072 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
12073 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
12074 |
|
esac;; |
12075 |
|
esac |
12076 |
|
case $ac_abs_builddir in |
12077 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
12078 |
|
*) |
12079 |
|
case ${ac_top_builddir}. in |
12080 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
12081 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
12082 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
12083 |
|
esac;; |
12084 |
|
esac |
12085 |
|
case $ac_abs_builddir in |
12086 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
12087 |
|
*) |
12088 |
|
case $ac_srcdir in |
12089 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
12090 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
12091 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
12092 |
|
esac;; |
12093 |
|
esac |
12094 |
|
case $ac_abs_builddir in |
12095 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
12096 |
|
*) |
12097 |
|
case $ac_top_srcdir in |
12098 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
12099 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
12100 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
12101 |
|
esac;; |
12102 |
|
esac |
12103 |
|
|
12104 |
echo creating "$ac_file" |
|
12105 |
rm -f "$ac_file" |
case $INSTALL in |
12106 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
12107 |
case "$ac_file" in |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
*Makefile*) ac_comsub="1i\\ |
|
|
# $configure_input" ;; |
|
|
*) ac_comsub= ;; |
|
12108 |
esac |
esac |
12109 |
|
|
12110 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
if test x"$ac_file" != x-; then |
12111 |
sed -e "$ac_comsub |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
12112 |
s%@configure_input@%$configure_input%g |
echo "$as_me: creating $ac_file" >&6;} |
12113 |
s%@srcdir@%$srcdir%g |
rm -f "$ac_file" |
12114 |
s%@top_srcdir@%$top_srcdir%g |
fi |
12115 |
s%@INSTALL@%$INSTALL%g |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
12116 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
# use $as_me), people would be surprised to read: |
12117 |
fi; done |
# /* config.h. Generated by config.status. */ |
12118 |
rm -f conftest.s* |
if test x"$ac_file" = x-; then |
12119 |
|
configure_input= |
12120 |
|
else |
12121 |
|
configure_input="$ac_file. " |
12122 |
|
fi |
12123 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
12124 |
|
sed 's,.*/,,'` by configure." |
12125 |
|
|
12126 |
|
# First look for the input files in the build tree, otherwise in the |
12127 |
|
# src tree. |
12128 |
|
ac_file_inputs=`IFS=: |
12129 |
|
for f in $ac_file_in; do |
12130 |
|
case $f in |
12131 |
|
-) echo $tmp/stdin ;; |
12132 |
|
[\\/$]*) |
12133 |
|
# Absolute (can't be DOS-style, as IFS=:) |
12134 |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
12135 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
12136 |
|
{ (exit 1); exit 1; }; } |
12137 |
|
echo "$f";; |
12138 |
|
*) # Relative |
12139 |
|
if test -f "$f"; then |
12140 |
|
# Build tree |
12141 |
|
echo "$f" |
12142 |
|
elif test -f "$srcdir/$f"; then |
12143 |
|
# Source tree |
12144 |
|
echo "$srcdir/$f" |
12145 |
|
else |
12146 |
|
# /dev/null tree |
12147 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
12148 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
12149 |
|
{ (exit 1); exit 1; }; } |
12150 |
|
fi;; |
12151 |
|
esac |
12152 |
|
done` || { (exit 1); exit 1; } |
12153 |
|
_ACEOF |
12154 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
12155 |
|
sed "$ac_vpsub |
12156 |
|
$extrasub |
12157 |
|
_ACEOF |
12158 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
12159 |
|
:t |
12160 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
12161 |
|
s,@configure_input@,$configure_input,;t t |
12162 |
|
s,@srcdir@,$ac_srcdir,;t t |
12163 |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
12164 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
12165 |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
12166 |
|
s,@builddir@,$ac_builddir,;t t |
12167 |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
12168 |
|
s,@top_builddir@,$ac_top_builddir,;t t |
12169 |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
12170 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
12171 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
12172 |
|
rm -f $tmp/stdin |
12173 |
|
if test x"$ac_file" != x-; then |
12174 |
|
mv $tmp/out $ac_file |
12175 |
|
else |
12176 |
|
cat $tmp/out |
12177 |
|
rm -f $tmp/out |
12178 |
|
fi |
12179 |
|
|
12180 |
EOF |
done |
12181 |
cat >> $CONFIG_STATUS <<EOF |
_ACEOF |
12182 |
|
|
12183 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
cat >> $CONFIG_STATUS <<\EOF |
|
12184 |
|
|
12185 |
exit 0 |
{ (exit 0); exit 0; } |
12186 |
EOF |
_ACEOF |
12187 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
12188 |
rm -fr confdefs* $ac_clean_files |
ac_clean_files=$ac_clean_files_save |
12189 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
12190 |
|
|
12191 |
|
# configure is writing to config.log, and then calls config.status. |
12192 |
|
# config.status does its own redirection, appending to config.log. |
12193 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
12194 |
|
# by configure, so config.status won't be able to write to it; its |
12195 |
|
# output is simply discarded. So we exec the FD to /dev/null, |
12196 |
|
# effectively closing config.log, so it can be properly (re)opened and |
12197 |
|
# appended to by config.status. When coming back to configure, we |
12198 |
|
# need to make the FD available again. |
12199 |
|
if test "$no_create" != yes; then |
12200 |
|
ac_cs_success=: |
12201 |
|
ac_config_status_args= |
12202 |
|
test "$silent" = yes && |
12203 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
12204 |
|
exec 5>/dev/null |
12205 |
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
12206 |
|
exec 5>>config.log |
12207 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
12208 |
|
# would make configure fail if this is the last instruction. |
12209 |
|
$ac_cs_success || { (exit 1); exit 1; } |
12210 |
|
fi |
12211 |
|
|
12212 |
|
|
12213 |
#AC_OUTPUT( |
#AC_OUTPUT( |