Parent Directory
|
Revision Log
These are new versions from my MinGW work. Not sure if they need to be commited or not.
1 | aw0a | 37 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | ||
3 | johnpye | 353 | # Generated by GNU Autoconf 2.59. |
4 | aw0a | 37 | # |
5 | johnpye | 353 | # Copyright (C) 2003 Free Software Foundation, Inc. |
6 | aw0a | 37 | # This configure script is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy, distribute and modify it. | ||
8 | johnpye | 133 | ## --------------------- ## |
9 | ## M4sh Initialization. ## | ||
10 | ## --------------------- ## | ||
11 | aw0a | 37 | |
12 | johnpye | 133 | # 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 | johnpye | 353 | DUALCASE=1; export DUALCASE # for MKS sh |
23 | johnpye | 133 | |
24 | # Support unset when possible. | ||
25 | johnpye | 353 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 | johnpye | 133 | 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 | johnpye | 353 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 | johnpye | 133 | 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 | johnpye | 353 | test -d ./-p && rmdir ./-p |
222 | johnpye | 133 | 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 | johnpye | 353 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 | johnpye | 133 | |
230 | # Sed expression to map a string onto a valid variable name. | ||
231 | johnpye | 353 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 | johnpye | 133 | |
233 | |||
234 | # IFS | ||
235 | # 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 | aw0a | 37 | ac_default_prefix=/usr/local |
255 | johnpye | 133 | ac_config_libobj_dir=. |
256 | cross_compiling=no | ||
257 | subdirs= | ||
258 | MFLAGS= | ||
259 | MAKEFLAGS= | ||
260 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
261 | aw0a | 37 | |
262 | johnpye | 133 | # 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 | aw0a | 37 | |
267 | johnpye | 133 | # Identity of this package. |
268 | PACKAGE_NAME= | ||
269 | PACKAGE_TARNAME= | ||
270 | PACKAGE_VERSION= | ||
271 | PACKAGE_STRING= | ||
272 | PACKAGE_BUGREPORT= | ||
273 | aw0a | 37 | |
274 | johnpye | 133 | 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 | johnpye | 332 | 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 LIBOBJS TCLINCLUDE TCLLIB TCLDYNAMICLINKING 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 TCL_LIB TCL_HDR TK_LIB TK_HDR TKTABLE_LIB 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 LTLIBOBJS' |
313 | johnpye | 133 | ac_subst_files='' |
314 | |||
315 | aw0a | 37 | # Initialize some variables set by options. |
316 | johnpye | 133 | ac_init_help= |
317 | ac_init_version=false | ||
318 | aw0a | 37 | # The variables have the same names as the options, with |
319 | # dashes changed to underlines. | ||
320 | johnpye | 133 | cache_file=/dev/null |
321 | aw0a | 37 | exec_prefix=NONE |
322 | no_create= | ||
323 | no_recursion= | ||
324 | prefix=NONE | ||
325 | program_prefix=NONE | ||
326 | program_suffix=NONE | ||
327 | program_transform_name=s,x,x, | ||
328 | silent= | ||
329 | site= | ||
330 | srcdir= | ||
331 | verbose= | ||
332 | x_includes=NONE | ||
333 | x_libraries=NONE | ||
334 | johnpye | 133 | |
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 | aw0a | 37 | bindir='${exec_prefix}/bin' |
341 | sbindir='${exec_prefix}/sbin' | ||
342 | libexecdir='${exec_prefix}/libexec' | ||
343 | datadir='${prefix}/share' | ||
344 | sysconfdir='${prefix}/etc' | ||
345 | sharedstatedir='${prefix}/com' | ||
346 | localstatedir='${prefix}/var' | ||
347 | libdir='${exec_prefix}/lib' | ||
348 | includedir='${prefix}/include' | ||
349 | oldincludedir='/usr/include' | ||
350 | infodir='${prefix}/info' | ||
351 | mandir='${prefix}/man' | ||
352 | |||
353 | ac_prev= | ||
354 | for ac_option | ||
355 | do | ||
356 | # If the previous option needs an argument, assign it. | ||
357 | if test -n "$ac_prev"; then | ||
358 | eval "$ac_prev=\$ac_option" | ||
359 | ac_prev= | ||
360 | continue | ||
361 | fi | ||
362 | |||
363 | johnpye | 133 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
364 | aw0a | 37 | |
365 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
366 | |||
367 | johnpye | 133 | case $ac_option in |
368 | aw0a | 37 | |
369 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
370 | ac_prev=bindir ;; | ||
371 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
372 | johnpye | 133 | bindir=$ac_optarg ;; |
373 | aw0a | 37 | |
374 | -build | --build | --buil | --bui | --bu) | ||
375 | johnpye | 133 | ac_prev=build_alias ;; |
376 | aw0a | 37 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
377 | johnpye | 133 | build_alias=$ac_optarg ;; |
378 | aw0a | 37 | |
379 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
380 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
381 | ac_prev=cache_file ;; | ||
382 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
383 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
384 | johnpye | 133 | cache_file=$ac_optarg ;; |
385 | aw0a | 37 | |
386 | johnpye | 133 | --config-cache | -C) |
387 | cache_file=config.cache ;; | ||
388 | |||
389 | aw0a | 37 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
390 | ac_prev=datadir ;; | ||
391 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
392 | | --da=*) | ||
393 | johnpye | 133 | datadir=$ac_optarg ;; |
394 | aw0a | 37 | |
395 | -disable-* | --disable-*) | ||
396 | johnpye | 133 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
397 | aw0a | 37 | # Reject names that are not valid shell variable names. |
398 | johnpye | 133 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
399 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
400 | { (exit 1); exit 1; }; } | ||
401 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
402 | eval "enable_$ac_feature=no" ;; | ||
403 | aw0a | 37 | |
404 | -enable-* | --enable-*) | ||
405 | johnpye | 133 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
406 | aw0a | 37 | # Reject names that are not valid shell variable names. |
407 | johnpye | 133 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
408 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
409 | { (exit 1); exit 1; }; } | ||
410 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
411 | case $ac_option in | ||
412 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
413 | aw0a | 37 | *) ac_optarg=yes ;; |
414 | esac | ||
415 | johnpye | 133 | eval "enable_$ac_feature='$ac_optarg'" ;; |
416 | aw0a | 37 | |
417 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
418 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
419 | | --exec | --exe | --ex) | ||
420 | ac_prev=exec_prefix ;; | ||
421 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
422 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
423 | | --exec=* | --exe=* | --ex=*) | ||
424 | johnpye | 133 | exec_prefix=$ac_optarg ;; |
425 | aw0a | 37 | |
426 | -gas | --gas | --ga | --g) | ||
427 | # Obsolete; use --with-gas. | ||
428 | with_gas=yes ;; | ||
429 | |||
430 | johnpye | 133 | -help | --help | --hel | --he | -h) |
431 | ac_init_help=long ;; | ||
432 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
433 | ac_init_help=recursive ;; | ||
434 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
435 | ac_init_help=short ;; | ||
436 | aw0a | 37 | |
437 | -host | --host | --hos | --ho) | ||
438 | johnpye | 133 | ac_prev=host_alias ;; |
439 | aw0a | 37 | -host=* | --host=* | --hos=* | --ho=*) |
440 | johnpye | 133 | host_alias=$ac_optarg ;; |
441 | aw0a | 37 | |
442 | -includedir | --includedir | --includedi | --included | --include \ | ||
443 | | --includ | --inclu | --incl | --inc) | ||
444 | ac_prev=includedir ;; | ||
445 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
446 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
447 | johnpye | 133 | includedir=$ac_optarg ;; |
448 | aw0a | 37 | |
449 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
450 | ac_prev=infodir ;; | ||
451 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
452 | johnpye | 133 | infodir=$ac_optarg ;; |
453 | aw0a | 37 | |
454 | -libdir | --libdir | --libdi | --libd) | ||
455 | ac_prev=libdir ;; | ||
456 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
457 | johnpye | 133 | libdir=$ac_optarg ;; |
458 | aw0a | 37 | |
459 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
460 | | --libexe | --libex | --libe) | ||
461 | ac_prev=libexecdir ;; | ||
462 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
463 | | --libexe=* | --libex=* | --libe=*) | ||
464 | johnpye | 133 | libexecdir=$ac_optarg ;; |
465 | aw0a | 37 | |
466 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
467 | | --localstate | --localstat | --localsta | --localst \ | ||
468 | | --locals | --local | --loca | --loc | --lo) | ||
469 | ac_prev=localstatedir ;; | ||
470 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
471 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
472 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
473 | johnpye | 133 | localstatedir=$ac_optarg ;; |
474 | aw0a | 37 | |
475 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
476 | ac_prev=mandir ;; | ||
477 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
478 | johnpye | 133 | mandir=$ac_optarg ;; |
479 | aw0a | 37 | |
480 | -nfp | --nfp | --nf) | ||
481 | # Obsolete; use --without-fp. | ||
482 | with_fp=no ;; | ||
483 | |||
484 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
485 | johnpye | 133 | | --no-cr | --no-c | -n) |
486 | aw0a | 37 | no_create=yes ;; |
487 | |||
488 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
489 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
490 | no_recursion=yes ;; | ||
491 | |||
492 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
493 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
494 | | --oldin | --oldi | --old | --ol | --o) | ||
495 | ac_prev=oldincludedir ;; | ||
496 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
497 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
498 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
499 | johnpye | 133 | oldincludedir=$ac_optarg ;; |
500 | aw0a | 37 | |
501 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
502 | ac_prev=prefix ;; | ||
503 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
504 | johnpye | 133 | prefix=$ac_optarg ;; |
505 | aw0a | 37 | |
506 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
507 | | --program-pre | --program-pr | --program-p) | ||
508 | ac_prev=program_prefix ;; | ||
509 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
510 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
511 | johnpye | 133 | program_prefix=$ac_optarg ;; |
512 | aw0a | 37 | |
513 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
514 | | --program-suf | --program-su | --program-s) | ||
515 | ac_prev=program_suffix ;; | ||
516 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
517 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
518 | johnpye | 133 | program_suffix=$ac_optarg ;; |
519 | aw0a | 37 | |
520 | -program-transform-name | --program-transform-name \ | ||
521 | | --program-transform-nam | --program-transform-na \ | ||
522 | | --program-transform-n | --program-transform- \ | ||
523 | | --program-transform | --program-transfor \ | ||
524 | | --program-transfo | --program-transf \ | ||
525 | | --program-trans | --program-tran \ | ||
526 | | --progr-tra | --program-tr | --program-t) | ||
527 | ac_prev=program_transform_name ;; | ||
528 | -program-transform-name=* | --program-transform-name=* \ | ||
529 | | --program-transform-nam=* | --program-transform-na=* \ | ||
530 | | --program-transform-n=* | --program-transform-=* \ | ||
531 | | --program-transform=* | --program-transfor=* \ | ||
532 | | --program-transfo=* | --program-transf=* \ | ||
533 | | --program-trans=* | --program-tran=* \ | ||
534 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
535 | johnpye | 133 | program_transform_name=$ac_optarg ;; |
536 | aw0a | 37 | |
537 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
538 | | -silent | --silent | --silen | --sile | --sil) | ||
539 | silent=yes ;; | ||
540 | |||
541 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
542 | ac_prev=sbindir ;; | ||
543 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
544 | | --sbi=* | --sb=*) | ||
545 | johnpye | 133 | sbindir=$ac_optarg ;; |
546 | aw0a | 37 | |
547 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
548 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
549 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
550 | | --sha | --sh) | ||
551 | ac_prev=sharedstatedir ;; | ||
552 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
553 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
554 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
555 | | --sha=* | --sh=*) | ||
556 | johnpye | 133 | sharedstatedir=$ac_optarg ;; |
557 | aw0a | 37 | |
558 | -site | --site | --sit) | ||
559 | ac_prev=site ;; | ||
560 | -site=* | --site=* | --sit=*) | ||
561 | johnpye | 133 | site=$ac_optarg ;; |
562 | aw0a | 37 | |
563 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
564 | ac_prev=srcdir ;; | ||
565 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
566 | johnpye | 133 | srcdir=$ac_optarg ;; |
567 | aw0a | 37 | |
568 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
569 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
570 | ac_prev=sysconfdir ;; | ||
571 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
572 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
573 | johnpye | 133 | sysconfdir=$ac_optarg ;; |
574 | aw0a | 37 | |
575 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
576 | johnpye | 133 | ac_prev=target_alias ;; |
577 | aw0a | 37 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
578 | johnpye | 133 | target_alias=$ac_optarg ;; |
579 | aw0a | 37 | |
580 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
581 | verbose=yes ;; | ||
582 | |||
583 | johnpye | 133 | -version | --version | --versio | --versi | --vers | -V) |
584 | ac_init_version=: ;; | ||
585 | aw0a | 37 | |
586 | -with-* | --with-*) | ||
587 | johnpye | 133 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
588 | aw0a | 37 | # Reject names that are not valid shell variable names. |
589 | johnpye | 133 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
590 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
591 | { (exit 1); exit 1; }; } | ||
592 | aw0a | 37 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
593 | johnpye | 133 | case $ac_option in |
594 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
595 | aw0a | 37 | *) ac_optarg=yes ;; |
596 | esac | ||
597 | johnpye | 133 | eval "with_$ac_package='$ac_optarg'" ;; |
598 | aw0a | 37 | |
599 | -without-* | --without-*) | ||
600 | johnpye | 133 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
601 | aw0a | 37 | # Reject names that are not valid shell variable names. |
602 | johnpye | 133 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
603 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
604 | { (exit 1); exit 1; }; } | ||
605 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
606 | eval "with_$ac_package=no" ;; | ||
607 | aw0a | 37 | |
608 | --x) | ||
609 | # Obsolete; use --with-x. | ||
610 | with_x=yes ;; | ||
611 | |||
612 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
613 | | --x-incl | --x-inc | --x-in | --x-i) | ||
614 | ac_prev=x_includes ;; | ||
615 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
616 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
617 | johnpye | 133 | x_includes=$ac_optarg ;; |
618 | aw0a | 37 | |
619 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
620 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
621 | ac_prev=x_libraries ;; | ||
622 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
623 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
624 | johnpye | 133 | x_libraries=$ac_optarg ;; |
625 | aw0a | 37 | |
626 | johnpye | 133 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
627 | Try \`$0 --help' for more information." >&2 | ||
628 | { (exit 1); exit 1; }; } | ||
629 | aw0a | 37 | ;; |
630 | |||
631 | johnpye | 133 | *=*) |
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 | aw0a | 37 | *) |
642 | johnpye | 133 | # FIXME: should be removed in autoconf 3.0. |
643 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
644 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
645 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
646 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
647 | aw0a | 37 | ;; |
648 | |||
649 | esac | ||
650 | done | ||
651 | |||
652 | if test -n "$ac_prev"; then | ||
653 | johnpye | 133 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
654 | { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
655 | { (exit 1); exit 1; }; } | ||
656 | aw0a | 37 | fi |
657 | |||
658 | johnpye | 133 | # Be sure to have absolute paths. |
659 | for ac_var in exec_prefix prefix | ||
660 | do | ||
661 | 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 | aw0a | 37 | |
669 | johnpye | 133 | # Be sure to have absolute paths. |
670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
671 | johnpye | 353 | localstatedir libdir includedir oldincludedir infodir mandir |
672 | aw0a | 37 | do |
673 | johnpye | 133 | eval ac_val=$`echo $ac_var` |
674 | case $ac_val in | ||
675 | [\\/$]* | ?:[\\/]* ) ;; | ||
676 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
677 | { (exit 1); exit 1; }; };; | ||
678 | aw0a | 37 | esac |
679 | done | ||
680 | |||
681 | johnpye | 133 | # There might be people who depend on the old broken behavior: `$host' |
682 | # used to hold the argument of --host etc. | ||
683 | # FIXME: To remove some day. | ||
684 | build=$build_alias | ||
685 | host=$host_alias | ||
686 | target=$target_alias | ||
687 | aw0a | 37 | |
688 | johnpye | 133 | # FIXME: To remove some day. |
689 | 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 | aw0a | 37 | |
699 | johnpye | 133 | ac_tool_prefix= |
700 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
701 | aw0a | 37 | |
702 | johnpye | 133 | test "$silent" = yes && exec 6>/dev/null |
703 | |||
704 | |||
705 | aw0a | 37 | # Find the source files, if location was not specified. |
706 | if test -z "$srcdir"; then | ||
707 | ac_srcdir_defaulted=yes | ||
708 | # Try the directory containing this script, then its parent. | ||
709 | johnpye | 133 | ac_confdir=`(dirname "$0") 2>/dev/null || |
710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
711 | johnpye | 353 | X"$0" : 'X\(//\)[^/]' \| \ |
712 | X"$0" : 'X\(//\)$' \| \ | ||
713 | X"$0" : 'X\(/\)' \| \ | ||
714 | . : '\(.\)' 2>/dev/null || | ||
715 | johnpye | 133 | 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 | aw0a | 37 | srcdir=$ac_confdir |
722 | if test ! -r $srcdir/$ac_unique_file; then | ||
723 | srcdir=.. | ||
724 | fi | ||
725 | else | ||
726 | ac_srcdir_defaulted=no | ||
727 | fi | ||
728 | if test ! -r $srcdir/$ac_unique_file; then | ||
729 | if test "$ac_srcdir_defaulted" = yes; then | ||
730 | johnpye | 133 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
731 | { (exit 1); exit 1; }; } | ||
732 | aw0a | 37 | else |
733 | johnpye | 133 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
734 | { (exit 1); exit 1; }; } | ||
735 | aw0a | 37 | fi |
736 | fi | ||
737 | johnpye | 133 | (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 | aw0a | 37 | |
774 | johnpye | 133 | # |
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 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
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 | Defaults for the options are specified in brackets. | ||
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 | johnpye | 353 | [$ac_default_prefix] |
807 | johnpye | 133 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
808 | johnpye | 353 | [PREFIX] |
809 | johnpye | 133 | |
810 | By default, \`make install' will install all the files in | ||
811 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
812 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
813 | for instance \`--prefix=\$HOME'. | ||
814 | |||
815 | For better control, use the options below. | ||
816 | |||
817 | Fine tuning of the installation directories: | ||
818 | --bindir=DIR user executables [EPREFIX/bin] | ||
819 | --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 | --x-includes=DIR X include files are in DIR | ||
836 | --x-libraries=DIR X library files are in DIR | ||
837 | |||
838 | System types: | ||
839 | --build=BUILD configure for building on BUILD [guessed] | ||
840 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
841 | _ACEOF | ||
842 | fi | ||
843 | |||
844 | if test -n "$ac_init_help"; then | ||
845 | |||
846 | cat <<\_ACEOF | ||
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 | ||
853 | |||
854 | Compiler options: | ||
855 | --enable-gcc allow use of gcc if avaiable | ||
856 | --enable-optimization optimize the C code while building ascend | ||
857 | |||
858 | Optional Packages: | ||
859 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
860 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
861 | --with-x use the X Window System | ||
862 | johnpye | 332 | --without-tcl Disable Tcl |
863 | --with-tclconfig=path Set location of tclConfig.sh | ||
864 | --with-tcl=path Set location of Tcl package | ||
865 | --with-tclincl=path Set location of Tcl include directory | ||
866 | --with-tcllib=path Set location of Tcl library directory | ||
867 | johnpye | 133 | Fortran compiler and libraries: |
868 | --with-fortran=F77,F77LIBS | ||
869 | The location of your Fortran compiler and its | ||
870 | library files. For example, under SunOS: | ||
871 | --with-fortran='f77,-L/usr/lang/lib -lF77 -lM77' | ||
872 | To specify only the compiler or libraries, leave off | ||
873 | whatever is not needed: | ||
874 | --with-fortran=',-L/usr/lang/lib -lF77 -lM77' | ||
875 | Use '--without-fortran' to not link against | ||
876 | any Fortran libraries | ||
877 | --with-blas=BLASLIB The full path to the blas library. | ||
878 | Use '--with-blas=build' to build the blas library | ||
879 | from the sources that come with the distribution. | ||
880 | --with-linpack=LPAKLIB The full path to the linpack library. | ||
881 | Use '--with-linpack=build' to build the library | ||
882 | from the sources that come with the distribution. | ||
883 | --with-lsod=LSODLIB The full path to the lsod library. | ||
884 | Use '--with-lsod=build' to build the lsod library | ||
885 | from the sources that come with the distribution. | ||
886 | Generation of Makefiles: | ||
887 | --without-tkdir do not generate Makefiles in the TK subdir | ||
888 | --without-models do not generate Makefiles in the models subdir | ||
889 | |||
890 | Some influential environment variables: | ||
891 | CC C compiler command | ||
892 | CFLAGS C compiler flags | ||
893 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
894 | nonstandard directory <lib dir> | ||
895 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
896 | headers in a nonstandard directory <include dir> | ||
897 | CPP C preprocessor | ||
898 | |||
899 | Use these variables to override the choices made by `configure' or to help | ||
900 | it to find libraries and programs with nonstandard names/locations. | ||
901 | |||
902 | _ACEOF | ||
903 | fi | ||
904 | |||
905 | if test "$ac_init_help" = "recursive"; then | ||
906 | # If there are subdirs, report their specific --help. | ||
907 | ac_popdir=`pwd` | ||
908 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
909 | test -d $ac_dir || continue | ||
910 | ac_builddir=. | ||
911 | |||
912 | if test "$ac_dir" != .; then | ||
913 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
914 | # A "../" for each directory in $ac_dir_suffix. | ||
915 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
916 | else | ||
917 | ac_dir_suffix= ac_top_builddir= | ||
918 | fi | ||
919 | |||
920 | case $srcdir in | ||
921 | .) # No --srcdir option. We are building in place. | ||
922 | ac_srcdir=. | ||
923 | if test -z "$ac_top_builddir"; then | ||
924 | ac_top_srcdir=. | ||
925 | else | ||
926 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
927 | fi ;; | ||
928 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
929 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
930 | ac_top_srcdir=$srcdir ;; | ||
931 | *) # Relative path. | ||
932 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
933 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
934 | esac | ||
935 | |||
936 | johnpye | 353 | # Do not use `cd foo && pwd` to compute absolute paths, because |
937 | # the directories may not exist. | ||
938 | case `pwd` in | ||
939 | .) ac_abs_builddir="$ac_dir";; | ||
940 | *) | ||
941 | case "$ac_dir" in | ||
942 | .) ac_abs_builddir=`pwd`;; | ||
943 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
944 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
945 | esac;; | ||
946 | esac | ||
947 | case $ac_abs_builddir in | ||
948 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
949 | *) | ||
950 | case ${ac_top_builddir}. in | ||
951 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
952 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
953 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
954 | esac;; | ||
955 | esac | ||
956 | case $ac_abs_builddir in | ||
957 | .) ac_abs_srcdir=$ac_srcdir;; | ||
958 | *) | ||
959 | case $ac_srcdir in | ||
960 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
961 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
962 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
963 | esac;; | ||
964 | esac | ||
965 | case $ac_abs_builddir in | ||
966 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
967 | *) | ||
968 | case $ac_top_srcdir in | ||
969 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
970 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
971 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
972 | esac;; | ||
973 | esac | ||
974 | |||
975 | johnpye | 133 | cd $ac_dir |
976 | # Check for guested configure; otherwise get Cygnus style configure. | ||
977 | if test -f $ac_srcdir/configure.gnu; then | ||
978 | echo | ||
979 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
980 | elif test -f $ac_srcdir/configure; then | ||
981 | echo | ||
982 | $SHELL $ac_srcdir/configure --help=recursive | ||
983 | elif test -f $ac_srcdir/configure.ac || | ||
984 | johnpye | 353 | test -f $ac_srcdir/configure.in; then |
985 | johnpye | 133 | echo |
986 | $ac_configure --help | ||
987 | else | ||
988 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
989 | fi | ||
990 | cd $ac_popdir | ||
991 | done | ||
992 | fi | ||
993 | |||
994 | test -n "$ac_init_help" && exit 0 | ||
995 | if $ac_init_version; then | ||
996 | cat <<\_ACEOF | ||
997 | |||
998 | johnpye | 353 | Copyright (C) 2003 Free Software Foundation, Inc. |
999 | johnpye | 133 | This configure script is free software; the Free Software Foundation |
1000 | gives unlimited permission to copy, distribute and modify it. | ||
1001 | _ACEOF | ||
1002 | exit 0 | ||
1003 | fi | ||
1004 | exec 5>config.log | ||
1005 | cat >&5 <<_ACEOF | ||
1006 | This file contains any messages produced by compilers while | ||
1007 | running configure, to aid debugging if configure makes a mistake. | ||
1008 | |||
1009 | It was created by $as_me, which was | ||
1010 | johnpye | 353 | generated by GNU Autoconf 2.59. Invocation command line was |
1011 | johnpye | 133 | |
1012 | $ $0 $@ | ||
1013 | |||
1014 | _ACEOF | ||
1015 | { | ||
1016 | cat <<_ASUNAME | ||
1017 | ## --------- ## | ||
1018 | ## Platform. ## | ||
1019 | ## --------- ## | ||
1020 | |||
1021 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1022 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1023 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1024 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1025 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1026 | |||
1027 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1028 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1029 | |||
1030 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1031 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1032 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1033 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
1034 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1035 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1036 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1037 | |||
1038 | _ASUNAME | ||
1039 | |||
1040 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1041 | for as_dir in $PATH | ||
1042 | do | ||
1043 | IFS=$as_save_IFS | ||
1044 | test -z "$as_dir" && as_dir=. | ||
1045 | echo "PATH: $as_dir" | ||
1046 | done | ||
1047 | |||
1048 | } >&5 | ||
1049 | |||
1050 | cat >&5 <<_ACEOF | ||
1051 | |||
1052 | |||
1053 | ## ----------- ## | ||
1054 | ## Core tests. ## | ||
1055 | ## ----------- ## | ||
1056 | |||
1057 | _ACEOF | ||
1058 | |||
1059 | |||
1060 | # Keep a trace of the command line. | ||
1061 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
1062 | # Strip out --silent because we don't want to record it for future runs. | ||
1063 | # Also quote any args containing shell meta-characters. | ||
1064 | # Make two passes to allow for proper duplicate-argument suppression. | ||
1065 | ac_configure_args= | ||
1066 | ac_configure_args0= | ||
1067 | ac_configure_args1= | ||
1068 | ac_sep= | ||
1069 | ac_must_keep_next=false | ||
1070 | for ac_pass in 1 2 | ||
1071 | do | ||
1072 | for ac_arg | ||
1073 | do | ||
1074 | case $ac_arg in | ||
1075 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1076 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1077 | | -silent | --silent | --silen | --sile | --sil) | ||
1078 | continue ;; | ||
1079 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1080 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1081 | esac | ||
1082 | case $ac_pass in | ||
1083 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1084 | 2) | ||
1085 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1086 | if test $ac_must_keep_next = true; then | ||
1087 | johnpye | 353 | ac_must_keep_next=false # Got value, back to normal. |
1088 | johnpye | 133 | else |
1089 | johnpye | 353 | case $ac_arg in |
1090 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1091 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1092 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1093 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
1094 | case "$ac_configure_args0 " in | ||
1095 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1096 | esac | ||
1097 | ;; | ||
1098 | -* ) ac_must_keep_next=true ;; | ||
1099 | esac | ||
1100 | johnpye | 133 | fi |
1101 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
1102 | # Get rid of the leading space. | ||
1103 | ac_sep=" " | ||
1104 | ;; | ||
1105 | esac | ||
1106 | done | ||
1107 | done | ||
1108 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1109 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1110 | |||
1111 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
1112 | # config.log. We remove comments because anyway the quotes in there | ||
1113 | # would cause problems or look ugly. | ||
1114 | # WARNING: Be sure not to use single quotes in there, as some shells, | ||
1115 | # such as our DU 5.0 friend, will then `close' the trap. | ||
1116 | trap 'exit_status=$? | ||
1117 | # Save into config.log some information that might help in debugging. | ||
1118 | { | ||
1119 | echo | ||
1120 | |||
1121 | cat <<\_ASBOX | ||
1122 | ## ---------------- ## | ||
1123 | ## Cache variables. ## | ||
1124 | ## ---------------- ## | ||
1125 | _ASBOX | ||
1126 | echo | ||
1127 | # The following way of writing the cache mishandles newlines in values, | ||
1128 | { | ||
1129 | (set) 2>&1 | | ||
1130 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
1131 | *ac_space=\ *) | ||
1132 | sed -n \ | ||
1133 | johnpye | 353 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1134 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
1135 | johnpye | 133 | ;; |
1136 | *) | ||
1137 | sed -n \ | ||
1138 | johnpye | 353 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1139 | johnpye | 133 | ;; |
1140 | esac; | ||
1141 | } | ||
1142 | echo | ||
1143 | |||
1144 | cat <<\_ASBOX | ||
1145 | ## ----------------- ## | ||
1146 | ## Output variables. ## | ||
1147 | ## ----------------- ## | ||
1148 | _ASBOX | ||
1149 | echo | ||
1150 | for ac_var in $ac_subst_vars | ||
1151 | do | ||
1152 | eval ac_val=$`echo $ac_var` | ||
1153 | echo "$ac_var='"'"'$ac_val'"'"'" | ||
1154 | done | sort | ||
1155 | echo | ||
1156 | |||
1157 | if test -n "$ac_subst_files"; then | ||
1158 | cat <<\_ASBOX | ||
1159 | ## ------------- ## | ||
1160 | ## Output files. ## | ||
1161 | ## ------------- ## | ||
1162 | _ASBOX | ||
1163 | echo | ||
1164 | for ac_var in $ac_subst_files | ||
1165 | do | ||
1166 | eval ac_val=$`echo $ac_var` | ||
1167 | johnpye | 353 | echo "$ac_var='"'"'$ac_val'"'"'" |
1168 | johnpye | 133 | done | sort |
1169 | echo | ||
1170 | fi | ||
1171 | |||
1172 | if test -s confdefs.h; then | ||
1173 | cat <<\_ASBOX | ||
1174 | ## ----------- ## | ||
1175 | ## confdefs.h. ## | ||
1176 | ## ----------- ## | ||
1177 | _ASBOX | ||
1178 | echo | ||
1179 | sed "/^$/d" confdefs.h | sort | ||
1180 | echo | ||
1181 | fi | ||
1182 | test "$ac_signal" != 0 && | ||
1183 | echo "$as_me: caught signal $ac_signal" | ||
1184 | echo "$as_me: exit $exit_status" | ||
1185 | } >&5 | ||
1186 | johnpye | 353 | rm -f core *.core && |
1187 | johnpye | 133 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1188 | exit $exit_status | ||
1189 | ' 0 | ||
1190 | for ac_signal in 1 2 13 15; do | ||
1191 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1192 | done | ||
1193 | ac_signal=0 | ||
1194 | |||
1195 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1196 | rm -rf conftest* confdefs.h | ||
1197 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1198 | echo >confdefs.h | ||
1199 | |||
1200 | # Predefined preprocessor variables. | ||
1201 | |||
1202 | cat >>confdefs.h <<_ACEOF | ||
1203 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
1204 | _ACEOF | ||
1205 | |||
1206 | |||
1207 | cat >>confdefs.h <<_ACEOF | ||
1208 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1209 | _ACEOF | ||
1210 | |||
1211 | |||
1212 | cat >>confdefs.h <<_ACEOF | ||
1213 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1214 | _ACEOF | ||
1215 | |||
1216 | |||
1217 | cat >>confdefs.h <<_ACEOF | ||
1218 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
1219 | _ACEOF | ||
1220 | |||
1221 | |||
1222 | cat >>confdefs.h <<_ACEOF | ||
1223 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1224 | _ACEOF | ||
1225 | |||
1226 | |||
1227 | # Let the site file select an alternate cache file if it wants to. | ||
1228 | aw0a | 37 | # Prefer explicitly selected file to automatically selected ones. |
1229 | if test -z "$CONFIG_SITE"; then | ||
1230 | if test "x$prefix" != xNONE; then | ||
1231 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
1232 | else | ||
1233 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
1234 | fi | ||
1235 | fi | ||
1236 | for ac_site_file in $CONFIG_SITE; do | ||
1237 | if test -r "$ac_site_file"; then | ||
1238 | johnpye | 133 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1239 | echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1240 | sed 's/^/| /' "$ac_site_file" >&5 | ||
1241 | aw0a | 37 | . "$ac_site_file" |
1242 | fi | ||
1243 | done | ||
1244 | |||
1245 | |||
1246 | johnpye | 133 | # Check that the precious variables saved in the cache have kept the same |
1247 | # value. | ||
1248 | ac_cache_corrupted=false | ||
1249 | for ac_var in `(set) 2>&1 | | ||
1250 | johnpye | 353 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1251 | johnpye | 133 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1252 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
1253 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
1254 | eval ac_new_val="\$ac_env_${ac_var}_value" | ||
1255 | case $ac_old_set,$ac_new_set in | ||
1256 | set,) | ||
1257 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1258 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1259 | ac_cache_corrupted=: ;; | ||
1260 | ,set) | ||
1261 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1262 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1263 | ac_cache_corrupted=: ;; | ||
1264 | ,);; | ||
1265 | *) | ||
1266 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1267 | johnpye | 353 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1268 | johnpye | 133 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1269 | johnpye | 353 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1270 | johnpye | 133 | echo "$as_me: former value: $ac_old_val" >&2;} |
1271 | johnpye | 353 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1272 | johnpye | 133 | echo "$as_me: current value: $ac_new_val" >&2;} |
1273 | johnpye | 353 | ac_cache_corrupted=: |
1274 | johnpye | 133 | fi;; |
1275 | esac | ||
1276 | # Pass precious variables to config.status. | ||
1277 | if test "$ac_new_set" = set; then | ||
1278 | case $ac_new_val in | ||
1279 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1280 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1281 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
1282 | esac | ||
1283 | case " $ac_configure_args " in | ||
1284 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1285 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1286 | esac | ||
1287 | fi | ||
1288 | done | ||
1289 | if $ac_cache_corrupted; then | ||
1290 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1291 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1292 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1293 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1294 | { (exit 1); exit 1; }; } | ||
1295 | fi | ||
1296 | |||
1297 | aw0a | 37 | ac_ext=c |
1298 | ac_cpp='$CPP $CPPFLAGS' | ||
1299 | johnpye | 133 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1300 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1301 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1302 | aw0a | 37 | |
1303 | |||
1304 | |||
1305 | |||
1306 | |||
1307 | johnpye | 133 | |
1308 | |||
1309 | |||
1310 | |||
1311 | |||
1312 | |||
1313 | |||
1314 | |||
1315 | |||
1316 | |||
1317 | |||
1318 | |||
1319 | |||
1320 | |||
1321 | |||
1322 | |||
1323 | aw0a | 37 | #-------------------------------------------------------------------- |
1324 | # CVS Most Recent Revision Data | ||
1325 | # Put this data after AC_INIT since we want this information | ||
1326 | # to also appear in configure and autoconf, when creating | ||
1327 | # configure, strips all comments that appear in configure.in | ||
1328 | # before AC_INIT | ||
1329 | # $Revision: 1.38 $ | ||
1330 | # $Date: 2003/11/23 19:36:39 $ | ||
1331 | # $Author: ballan $ | ||
1332 | # $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $ | ||
1333 | #-------------------------------------------------------------------- | ||
1334 | |||
1335 | |||
1336 | #-------------------------------------------------------------------- | ||
1337 | # Where configure should look for files it needs. | ||
1338 | #-------------------------------------------------------------------- | ||
1339 | ac_aux_dir= | ||
1340 | for ac_dir in config $srcdir/config; do | ||
1341 | if test -f $ac_dir/install-sh; then | ||
1342 | ac_aux_dir=$ac_dir | ||
1343 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
1344 | break | ||
1345 | elif test -f $ac_dir/install.sh; then | ||
1346 | ac_aux_dir=$ac_dir | ||
1347 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
1348 | break | ||
1349 | johnpye | 133 | elif test -f $ac_dir/shtool; then |
1350 | ac_aux_dir=$ac_dir | ||
1351 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
1352 | break | ||
1353 | aw0a | 37 | fi |
1354 | done | ||
1355 | if test -z "$ac_aux_dir"; then | ||
1356 | johnpye | 133 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 |
1357 | echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} | ||
1358 | { (exit 1); exit 1; }; } | ||
1359 | aw0a | 37 | fi |
1360 | johnpye | 133 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1361 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
1362 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
1363 | aw0a | 37 | |
1364 | |||
1365 | #-------------------------------------------------------------------- | ||
1366 | # Set the output variables prefix and exec_prefix that | ||
1367 | # determine where things will be installed. | ||
1368 | #-------------------------------------------------------------------- | ||
1369 | if test "${prefix}" = "NONE"; then | ||
1370 | prefix=/usr/local | ||
1371 | fi | ||
1372 | if test "${exec_prefix}" = "NONE"; then | ||
1373 | exec_prefix=$prefix | ||
1374 | fi | ||
1375 | |||
1376 | |||
1377 | #-------------------------------------------------------------------- | ||
1378 | # For the Fortran support libraries and the TCL/TK libraries | ||
1379 | # and header files, we unfortunately need the full path to | ||
1380 | # these files. The problem with having the full path is that | ||
1381 | # if the user moves the source tree, things will break unless | ||
1382 | # the user re-runs configure. | ||
1383 | #-------------------------------------------------------------------- | ||
1384 | |||
1385 | #-------------------------------------------------------------------- | ||
1386 | ##AWW | ||
1387 | ##AWW We put the .o files when compiling into a tree structure | ||
1388 | ##AWW relative to the directory in which we currently reside, | ||
1389 | ##AWW while the .c and .h files are in a similar tree structure | ||
1390 | ##AWW relative to the configure instruction we invoke. This | ||
1391 | ##AWW allows one to have separate .o files in their own tree when | ||
1392 | ##AWW compiling for different operating systems. | ||
1393 | ##AWW | ||
1394 | ##AWW Example 1 (same directories) | ||
1395 | ##AWW Current directory one is in: /home/me/trunk/base/unixAC213 | ||
1396 | ##AWW Directory containing configure: /home/me/trunk/base/unixAC213 | ||
1397 | ##AWW Command to invoke configure: ./configure | ||
1398 | ##AWW $ascpwd will be: /home/me/trunk/base/unixAC213 | ||
1399 | ##AWW $srcdir will be: . | ||
1400 | ##AWW | ||
1401 | ##AWW Example 2 (different directories, abs path for command) | ||
1402 | ##AWW Current directory one is in: /home/me/trunk/base/newTree | ||
1403 | ##AWW Directory containing configure: /home/me/trunk/base/unixAC213 | ||
1404 | ##AWW Command to invoke configure: /home/me/trunk/base/unixAC213/configure | ||
1405 | ##AWW $ascpwd will be: /home/me/trunk/base/newTree | ||
1406 | ##AWW $srcdir will be: /home/me/trunk/base/unixAC213 | ||
1407 | ##AWW | ||
1408 | ##AWW Example 3 (different directories, rel path for command) | ||
1409 | ##AWW Same as Example 2 | ||
1410 | ##AWW Command to invoke configure: ../unixAC213/configure | ||
1411 | ##AWW $ascpwd will be: /home/me/trunk/base/newTree (same as in Example 2) | ||
1412 | ##AWW $srcdir will be: ../unixAC213 | ||
1413 | ##AWW | ||
1414 | ##AWW Key elements of the source tree are: | ||
1415 | ##AWW code/trunk/trunk/base/unixAC213/configure | ||
1416 | ##AWW code/trunk/trunk/base/generic | ||
1417 | ##AWW code/trunk/tcltk98 | ||
1418 | ##AWW where $srcdir is pointing to /home/me/trunk/base/unixAC213, the folder | ||
1419 | ##AWW containing "configure" | ||
1420 | ##AWW | ||
1421 | ##AWW Configure is located at: | ||
1422 | ##AWW $srcdir/configure | ||
1423 | ##AWW while the .c/.h files one wants are in: | ||
1424 | ##AWW $srcdir/../generic/compiler | ||
1425 | ##AWW $srcdir/../generic/general | ||
1426 | ##AWW $srcdir/../generic/packages | ||
1427 | ##AWW $srcdir/../generic/solver | ||
1428 | ##AWW $srcdir/../generic/utilities | ||
1429 | ##AWW $srcdir/../../tcltk98/generic/interface | ||
1430 | ##AWW | ||
1431 | ##AWW Each of these directories contain Makefiles and possible | ||
1432 | ##AWW need to find .h files in the other directories. For example | ||
1433 | ##AWW the include statements are always of the form | ||
1434 | ##AWW #include compiler/slv3.h or | ||
1435 | ##AWW #include interface/SlvProc.h | ||
1436 | ##AWW | ||
1437 | ##AWW A safe include path should assume one is a directory with any | ||
1438 | ##AWW of these .h and .c files and one needs to find a .h file in | ||
1439 | johnpye | 133 | ##AWW any other of them. The following paths should do it. |
1440 | ##AWW | ||
1441 | aw0a | 37 | ##AWW If in compiler, general, packages, solver, utilities |
1442 | ##AWW .. for general, packages, etc | ||
1443 | ##AWW ../../../tcltk98/generic for interface | ||
1444 | ##AWW If in interface | ||
1445 | ##AWW .. for interface | ||
1446 | ##AWW ../../../base/generic for compiler, general, .. | ||
1447 | ##AWW | ||
1448 | #-------------------------------------------------------------------- | ||
1449 | # The asc_include variable is (directory) path to the ascend4 | ||
1450 | # SOURCE directory relative to the immediate subdirectories of | ||
1451 | # the ascend4 OBJECT directory. --rewrite - not clear. | ||
1452 | #AWW To compile a new ASCEND executable, one should move into the | ||
1453 | #AWW directory in which one wants the ASCEND object/executable | ||
1454 | johnpye | 133 | #AWW to reside (call this objTree) and from there run |
1455 | aw0a | 37 | #AWW ../base/unixAC213/configure. |
1456 | #AWW In the following code asc_include is set to the path from | ||
1457 | |||
1458 | ascpwd=`pwd` | ||
1459 | fullpathsrcdir=`cd $srcdir ; pwd` | ||
1460 | |||
1461 | case "$srcdir" in | ||
1462 | .) | ||
1463 | asc_include="../$srcdir" | ||
1464 | ;; | ||
1465 | /*) | ||
1466 | asc_include="$srcdir/../generic" | ||
1467 | ;; | ||
1468 | *) | ||
1469 | asc_include="$srcdir/../generic" | ||
1470 | ;; | ||
1471 | esac | ||
1472 | |||
1473 | |||
1474 | #-------------------------------------------------------------------- | ||
1475 | # Do basic checks to determine | ||
1476 | # * if we have `ranlib' | ||
1477 | # * if we can create symbolic links | ||
1478 | # * if `make' sets the MAKE macro | ||
1479 | # * a bsd-compatible `install' program | ||
1480 | # If we use the install-sh script that comes with configure, | ||
1481 | # prefix it with the current directory so it'll work in | ||
1482 | # subdirectories. Unfortunately, it won't work if the user | ||
1483 | # moves the source tree. | ||
1484 | #-------------------------------------------------------------------- | ||
1485 | johnpye | 133 | if test -n "$ac_tool_prefix"; then |
1486 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
1487 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
1488 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1489 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1490 | if test "${ac_cv_prog_RANLIB+set}" = set; then | ||
1491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1492 | aw0a | 37 | else |
1493 | if test -n "$RANLIB"; then | ||
1494 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
1495 | else | ||
1496 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1497 | for as_dir in $PATH | ||
1498 | do | ||
1499 | IFS=$as_save_IFS | ||
1500 | test -z "$as_dir" && as_dir=. | ||
1501 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1502 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1503 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
1504 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1505 | break 2 | ||
1506 | fi | ||
1507 | done | ||
1508 | done | ||
1509 | |||
1510 | aw0a | 37 | fi |
1511 | fi | ||
1512 | johnpye | 133 | RANLIB=$ac_cv_prog_RANLIB |
1513 | aw0a | 37 | if test -n "$RANLIB"; then |
1514 | johnpye | 133 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
1515 | echo "${ECHO_T}$RANLIB" >&6 | ||
1516 | aw0a | 37 | else |
1517 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
1518 | echo "${ECHO_T}no" >&6 | ||
1519 | aw0a | 37 | fi |
1520 | |||
1521 | johnpye | 133 | fi |
1522 | if test -z "$ac_cv_prog_RANLIB"; then | ||
1523 | ac_ct_RANLIB=$RANLIB | ||
1524 | # Extract the first word of "ranlib", so it can be a program name with args. | ||
1525 | set dummy ranlib; ac_word=$2 | ||
1526 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1527 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1528 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | ||
1529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1530 | aw0a | 37 | else |
1531 | johnpye | 133 | if test -n "$ac_ct_RANLIB"; then |
1532 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ||
1533 | aw0a | 37 | else |
1534 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1535 | for as_dir in $PATH | ||
1536 | do | ||
1537 | IFS=$as_save_IFS | ||
1538 | test -z "$as_dir" && as_dir=. | ||
1539 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1540 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1541 | ac_cv_prog_ac_ct_RANLIB="ranlib" | ||
1542 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1543 | break 2 | ||
1544 | fi | ||
1545 | done | ||
1546 | done | ||
1547 | |||
1548 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
1549 | aw0a | 37 | fi |
1550 | fi | ||
1551 | johnpye | 133 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
1552 | if test -n "$ac_ct_RANLIB"; then | ||
1553 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | ||
1554 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | ||
1555 | aw0a | 37 | else |
1556 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
1557 | echo "${ECHO_T}no" >&6 | ||
1558 | aw0a | 37 | fi |
1559 | |||
1560 | johnpye | 133 | RANLIB=$ac_ct_RANLIB |
1561 | aw0a | 37 | else |
1562 | johnpye | 133 | RANLIB="$ac_cv_prog_RANLIB" |
1563 | fi | ||
1564 | |||
1565 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | ||
1566 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | ||
1567 | LN_S=$as_ln_s | ||
1568 | if test "$LN_S" = "ln -s"; then | ||
1569 | echo "$as_me:$LINENO: result: yes" >&5 | ||
1570 | echo "${ECHO_T}yes" >&6 | ||
1571 | else | ||
1572 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | ||
1573 | echo "${ECHO_T}no, using $LN_S" >&6 | ||
1574 | fi | ||
1575 | |||
1576 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
1577 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | ||
1578 | johnpye | 353 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1579 | johnpye | 133 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1580 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1581 | else | ||
1582 | cat >conftest.make <<\_ACEOF | ||
1583 | aw0a | 37 | all: |
1584 | johnpye | 133 | @echo 'ac_maketemp="$(MAKE)"' |
1585 | _ACEOF | ||
1586 | aw0a | 37 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1587 | johnpye | 133 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1588 | aw0a | 37 | if test -n "$ac_maketemp"; then |
1589 | eval ac_cv_prog_make_${ac_make}_set=yes | ||
1590 | else | ||
1591 | eval ac_cv_prog_make_${ac_make}_set=no | ||
1592 | fi | ||
1593 | johnpye | 133 | rm -f conftest.make |
1594 | aw0a | 37 | fi |
1595 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | ||
1596 | johnpye | 133 | echo "$as_me:$LINENO: result: yes" >&5 |
1597 | echo "${ECHO_T}yes" >&6 | ||
1598 | aw0a | 37 | SET_MAKE= |
1599 | else | ||
1600 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
1601 | echo "${ECHO_T}no" >&6 | ||
1602 | aw0a | 37 | SET_MAKE="MAKE=${MAKE-make}" |
1603 | fi | ||
1604 | |||
1605 | # Find a good install program. We prefer a C program (faster), | ||
1606 | # so one script is as good as another. But avoid the broken or | ||
1607 | # incompatible versions: | ||
1608 | # SysV /etc/install, /usr/sbin/install | ||
1609 | # SunOS /usr/etc/install | ||
1610 | # IRIX /sbin/install | ||
1611 | # AIX /bin/install | ||
1612 | johnpye | 133 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1613 | aw0a | 37 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1614 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
1615 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
1616 | johnpye | 353 | # OS/2's system install, which has a completely different semantic |
1617 | aw0a | 37 | # ./install, which can be erroneously created by make from ./install.sh. |
1618 | johnpye | 133 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1619 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
1620 | aw0a | 37 | if test -z "$INSTALL"; then |
1621 | johnpye | 133 | if test "${ac_cv_path_install+set}" = set; then |
1622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1623 | aw0a | 37 | else |
1624 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1625 | for as_dir in $PATH | ||
1626 | do | ||
1627 | IFS=$as_save_IFS | ||
1628 | test -z "$as_dir" && as_dir=. | ||
1629 | # Account for people who put trailing slashes in PATH elements. | ||
1630 | case $as_dir/ in | ||
1631 | ./ | .// | /cC/* | \ | ||
1632 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
1633 | johnpye | 353 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1634 | johnpye | 133 | /usr/ucb/* ) ;; |
1635 | *) | ||
1636 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
1637 | # Don't use installbsd from OSF since it installs stuff as root | ||
1638 | # by default. | ||
1639 | for ac_prog in ginstall scoinst install; do | ||
1640 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1641 | johnpye | 353 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1642 | if test $ac_prog = install && | ||
1643 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
1644 | # AIX install. It has an incompatible calling convention. | ||
1645 | : | ||
1646 | elif test $ac_prog = install && | ||
1647 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
1648 | # program-specific install script used by HP pwplus--don't use. | ||
1649 | : | ||
1650 | else | ||
1651 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
1652 | break 3 | ||
1653 | fi | ||
1654 | fi | ||
1655 | aw0a | 37 | done |
1656 | johnpye | 133 | done |
1657 | ;; | ||
1658 | esac | ||
1659 | done | ||
1660 | aw0a | 37 | |
1661 | johnpye | 133 | |
1662 | aw0a | 37 | fi |
1663 | if test "${ac_cv_path_install+set}" = set; then | ||
1664 | johnpye | 133 | INSTALL=$ac_cv_path_install |
1665 | aw0a | 37 | else |
1666 | # As a last resort, use the slow shell script. We don't cache a | ||
1667 | # path for INSTALL within a source directory, because that will | ||
1668 | # break other packages using the cache if that directory is | ||
1669 | # removed, or if the path is relative. | ||
1670 | johnpye | 133 | INSTALL=$ac_install_sh |
1671 | aw0a | 37 | fi |
1672 | fi | ||
1673 | johnpye | 133 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1674 | echo "${ECHO_T}$INSTALL" >&6 | ||
1675 | aw0a | 37 | |
1676 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
1677 | # It thinks the first close brace ends the variable substitution. | ||
1678 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
1679 | |||
1680 | johnpye | 133 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1681 | aw0a | 37 | |
1682 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
1683 | |||
1684 | johnpye | 192 | |
1685 | aw0a | 37 | case "X$INSTALL" in |
1686 | X/*) | ||
1687 | ;; | ||
1688 | *) | ||
1689 | INSTALL="$ascpwd/$INSTALL" | ||
1690 | ;; | ||
1691 | esac | ||
1692 | |||
1693 | |||
1694 | #-------------------------------------------------------------------- | ||
1695 | # Get the host type for various checks along the way | ||
1696 | #-------------------------------------------------------------------- | ||
1697 | johnpye | 133 | # Make sure we can run config.sub. |
1698 | $ac_config_sub sun4 >/dev/null 2>&1 || | ||
1699 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | ||
1700 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | ||
1701 | { (exit 1); exit 1; }; } | ||
1702 | ben.allan | 41 | |
1703 | johnpye | 133 | echo "$as_me:$LINENO: checking build system type" >&5 |
1704 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | ||
1705 | if test "${ac_cv_build+set}" = set; then | ||
1706 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1707 | else | ||
1708 | ac_cv_build_alias=$build_alias | ||
1709 | test -z "$ac_cv_build_alias" && | ||
1710 | ac_cv_build_alias=`$ac_config_guess` | ||
1711 | test -z "$ac_cv_build_alias" && | ||
1712 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
1713 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
1714 | { (exit 1); exit 1; }; } | ||
1715 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
1716 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | ||
1717 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | ||
1718 | { (exit 1); exit 1; }; } | ||
1719 | |||
1720 | aw0a | 37 | fi |
1721 | johnpye | 133 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1722 | echo "${ECHO_T}$ac_cv_build" >&6 | ||
1723 | build=$ac_cv_build | ||
1724 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
1725 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
1726 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
1727 | aw0a | 37 | |
1728 | |||
1729 | johnpye | 133 | echo "$as_me:$LINENO: checking host system type" >&5 |
1730 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | ||
1731 | if test "${ac_cv_host+set}" = set; then | ||
1732 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1733 | else | ||
1734 | ac_cv_host_alias=$host_alias | ||
1735 | test -z "$ac_cv_host_alias" && | ||
1736 | ac_cv_host_alias=$ac_cv_build_alias | ||
1737 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | ||
1738 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | ||
1739 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | ||
1740 | { (exit 1); exit 1; }; } | ||
1741 | aw0a | 37 | |
1742 | johnpye | 133 | fi |
1743 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
1744 | echo "${ECHO_T}$ac_cv_host" >&6 | ||
1745 | host=$ac_cv_host | ||
1746 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
1747 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
1748 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
1749 | aw0a | 37 | |
1750 | |||
1751 | |||
1752 | johnpye | 133 | |
1753 | aw0a | 37 | #-------------------------------------------------------------------- |
1754 | # Check for the C compiler: set CC and CFLAGS. | ||
1755 | # If the user does NOT specify `--enable-gcc' on the configure | ||
1756 | # command command line, set CC to either the envar CC or `cc'. | ||
1757 | # Call AC_PROG_CC which will use the value of CC (perhaps set | ||
1758 | # immediately above) or will check for `gcc' and then for `cc' | ||
1759 | # if `gcc' is not found. | ||
1760 | # | ||
1761 | # If we are using GCC, then assume it groks ANSI. Otherwise, | ||
1762 | # try to compile a small program using ANSI constructs with | ||
1763 | # CC. If this fails, try to locate each of the following: | ||
1764 | # c89 xlc acc | ||
1765 | # and if successful, see if it compiles an ANSI C program. | ||
1766 | # (Doing this in a loop would be ideal, but configure caches | ||
1767 | # the result of AC_CHECK_PROG and uses the cached value for | ||
1768 | # all but the first pass through the loop. This is also the | ||
1769 | # reason we have to use a different variable asc_cc1, asc_cc2 | ||
1770 | # for each call to AC_CHECK_PROG. | ||
1771 | # | ||
1772 | # If we do not find an ANSI C compiler, print a warning and | ||
1773 | # use the first value of CC we tried. | ||
1774 | #-------------------------------------------------------------------- | ||
1775 | |||
1776 | # Check whether --enable-gcc or --disable-gcc was given. | ||
1777 | if test "${enable_gcc+set}" = set; then | ||
1778 | enableval="$enable_gcc" | ||
1779 | asc_gcc_ok=$enableval | ||
1780 | else | ||
1781 | asc_gcc_ok=no | ||
1782 | johnpye | 133 | fi; |
1783 | aw0a | 37 | if test ! "$asc_gcc_ok" = "yes"; then |
1784 | CC=${CC-cc} | ||
1785 | fi | ||
1786 | asc_orig_cc=$CC | ||
1787 | |||
1788 | if test "X$asc_gcc_ok" = "Xyes" ; then | ||
1789 | asc_ansi_ok=yes | ||
1790 | else | ||
1791 | johnpye | 133 | echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
1792 | echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 | ||
1793 | ac_ext=c | ||
1794 | ac_cpp='$CPP $CPPFLAGS' | ||
1795 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1796 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1797 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1798 | if test -n "$ac_tool_prefix"; then | ||
1799 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
1800 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
1801 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1802 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1803 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1804 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1805 | else | ||
1806 | if test -n "$CC"; then | ||
1807 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1808 | else | ||
1809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1810 | for as_dir in $PATH | ||
1811 | do | ||
1812 | IFS=$as_save_IFS | ||
1813 | test -z "$as_dir" && as_dir=. | ||
1814 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1815 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1816 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
1817 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1818 | break 2 | ||
1819 | fi | ||
1820 | done | ||
1821 | done | ||
1822 | aw0a | 37 | |
1823 | johnpye | 133 | fi |
1824 | fi | ||
1825 | CC=$ac_cv_prog_CC | ||
1826 | if test -n "$CC"; then | ||
1827 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1828 | echo "${ECHO_T}$CC" >&6 | ||
1829 | else | ||
1830 | echo "$as_me:$LINENO: result: no" >&5 | ||
1831 | echo "${ECHO_T}no" >&6 | ||
1832 | fi | ||
1833 | aw0a | 37 | |
1834 | johnpye | 133 | fi |
1835 | if test -z "$ac_cv_prog_CC"; then | ||
1836 | ac_ct_CC=$CC | ||
1837 | # Extract the first word of "gcc", so it can be a program name with args. | ||
1838 | set dummy gcc; ac_word=$2 | ||
1839 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1840 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1841 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1842 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1843 | else | ||
1844 | if test -n "$ac_ct_CC"; then | ||
1845 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1846 | else | ||
1847 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1848 | for as_dir in $PATH | ||
1849 | do | ||
1850 | IFS=$as_save_IFS | ||
1851 | test -z "$as_dir" && as_dir=. | ||
1852 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1853 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1854 | ac_cv_prog_ac_ct_CC="gcc" | ||
1855 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1856 | break 2 | ||
1857 | fi | ||
1858 | done | ||
1859 | done | ||
1860 | |||
1861 | fi | ||
1862 | fi | ||
1863 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1864 | if test -n "$ac_ct_CC"; then | ||
1865 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1866 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1867 | else | ||
1868 | echo "$as_me:$LINENO: result: no" >&5 | ||
1869 | echo "${ECHO_T}no" >&6 | ||
1870 | fi | ||
1871 | |||
1872 | CC=$ac_ct_CC | ||
1873 | else | ||
1874 | CC="$ac_cv_prog_CC" | ||
1875 | fi | ||
1876 | |||
1877 | if test -z "$CC"; then | ||
1878 | if test -n "$ac_tool_prefix"; then | ||
1879 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
1880 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
1881 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1882 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1883 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1885 | else | ||
1886 | if test -n "$CC"; then | ||
1887 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1888 | else | ||
1889 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1890 | for as_dir in $PATH | ||
1891 | do | ||
1892 | IFS=$as_save_IFS | ||
1893 | test -z "$as_dir" && as_dir=. | ||
1894 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1895 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1896 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
1897 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1898 | break 2 | ||
1899 | fi | ||
1900 | done | ||
1901 | done | ||
1902 | |||
1903 | fi | ||
1904 | fi | ||
1905 | CC=$ac_cv_prog_CC | ||
1906 | if test -n "$CC"; then | ||
1907 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1908 | echo "${ECHO_T}$CC" >&6 | ||
1909 | else | ||
1910 | echo "$as_me:$LINENO: result: no" >&5 | ||
1911 | echo "${ECHO_T}no" >&6 | ||
1912 | fi | ||
1913 | |||
1914 | fi | ||
1915 | if test -z "$ac_cv_prog_CC"; then | ||
1916 | ac_ct_CC=$CC | ||
1917 | # Extract the first word of "cc", so it can be a program name with args. | ||
1918 | set dummy cc; ac_word=$2 | ||
1919 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1920 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1921 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1922 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1923 | else | ||
1924 | if test -n "$ac_ct_CC"; then | ||
1925 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1926 | else | ||
1927 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1928 | for as_dir in $PATH | ||
1929 | do | ||
1930 | IFS=$as_save_IFS | ||
1931 | test -z "$as_dir" && as_dir=. | ||
1932 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1933 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1934 | ac_cv_prog_ac_ct_CC="cc" | ||
1935 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1936 | break 2 | ||
1937 | fi | ||
1938 | done | ||
1939 | done | ||
1940 | |||
1941 | fi | ||
1942 | fi | ||
1943 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1944 | if test -n "$ac_ct_CC"; then | ||
1945 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1946 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1947 | else | ||
1948 | echo "$as_me:$LINENO: result: no" >&5 | ||
1949 | echo "${ECHO_T}no" >&6 | ||
1950 | fi | ||
1951 | |||
1952 | CC=$ac_ct_CC | ||
1953 | else | ||
1954 | CC="$ac_cv_prog_CC" | ||
1955 | fi | ||
1956 | |||
1957 | fi | ||
1958 | if test -z "$CC"; then | ||
1959 | # Extract the first word of "cc", so it can be a program name with args. | ||
1960 | set dummy cc; ac_word=$2 | ||
1961 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1962 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1963 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1964 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1965 | else | ||
1966 | if test -n "$CC"; then | ||
1967 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1968 | else | ||
1969 | ac_prog_rejected=no | ||
1970 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1971 | for as_dir in $PATH | ||
1972 | do | ||
1973 | IFS=$as_save_IFS | ||
1974 | test -z "$as_dir" && as_dir=. | ||
1975 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1976 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1977 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
1978 | ac_prog_rejected=yes | ||
1979 | continue | ||
1980 | fi | ||
1981 | ac_cv_prog_CC="cc" | ||
1982 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1983 | break 2 | ||
1984 | fi | ||
1985 | done | ||
1986 | done | ||
1987 | |||
1988 | if test $ac_prog_rejected = yes; then | ||
1989 | # We found a bogon in the path, so make sure we never use it. | ||
1990 | set dummy $ac_cv_prog_CC | ||
1991 | shift | ||
1992 | if test $# != 0; then | ||
1993 | # We chose a different compiler from the bogus one. | ||
1994 | # However, it has the same basename, so the bogon will be chosen | ||
1995 | # first if we set CC to just the basename; use the full file name. | ||
1996 | shift | ||
1997 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
1998 | fi | ||
1999 | fi | ||
2000 | fi | ||
2001 | fi | ||
2002 | CC=$ac_cv_prog_CC | ||
2003 | if test -n "$CC"; then | ||
2004 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
2005 | echo "${ECHO_T}$CC" >&6 | ||
2006 | else | ||
2007 | echo "$as_me:$LINENO: result: no" >&5 | ||
2008 | echo "${ECHO_T}no" >&6 | ||
2009 | fi | ||
2010 | |||
2011 | fi | ||
2012 | if test -z "$CC"; then | ||
2013 | if test -n "$ac_tool_prefix"; then | ||
2014 | for ac_prog in cl | ||
2015 | do | ||
2016 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
2017 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
2018 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2019 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2020 | if test "${ac_cv_prog_CC+set}" = set; then | ||
2021 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2022 | else | ||
2023 | if test -n "$CC"; then | ||
2024 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2025 | else | ||
2026 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2027 | for as_dir in $PATH | ||
2028 | do | ||
2029 | IFS=$as_save_IFS | ||
2030 | test -z "$as_dir" && as_dir=. | ||
2031 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2032 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2033 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
2034 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2035 | break 2 | ||
2036 | fi | ||
2037 | done | ||
2038 | done | ||
2039 | |||
2040 | fi | ||
2041 | fi | ||
2042 | CC=$ac_cv_prog_CC | ||
2043 | if test -n "$CC"; then | ||
2044 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
2045 | echo "${ECHO_T}$CC" >&6 | ||
2046 | else | ||
2047 | echo "$as_me:$LINENO: result: no" >&5 | ||
2048 | echo "${ECHO_T}no" >&6 | ||
2049 | fi | ||
2050 | |||
2051 | test -n "$CC" && break | ||
2052 | done | ||
2053 | fi | ||
2054 | if test -z "$CC"; then | ||
2055 | ac_ct_CC=$CC | ||
2056 | for ac_prog in cl | ||
2057 | do | ||
2058 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2059 | set dummy $ac_prog; ac_word=$2 | ||
2060 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2061 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2062 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
2063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2064 | else | ||
2065 | if test -n "$ac_ct_CC"; then | ||
2066 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
2067 | else | ||
2068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2069 | for as_dir in $PATH | ||
2070 | do | ||
2071 | IFS=$as_save_IFS | ||
2072 | test -z "$as_dir" && as_dir=. | ||
2073 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2074 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2075 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
2076 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2077 | break 2 | ||
2078 | fi | ||
2079 | done | ||
2080 | done | ||
2081 | |||
2082 | fi | ||
2083 | fi | ||
2084 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2085 | if test -n "$ac_ct_CC"; then | ||
2086 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
2087 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
2088 | else | ||
2089 | echo "$as_me:$LINENO: result: no" >&5 | ||
2090 | echo "${ECHO_T}no" >&6 | ||
2091 | fi | ||
2092 | |||
2093 | test -n "$ac_ct_CC" && break | ||
2094 | done | ||
2095 | |||
2096 | CC=$ac_ct_CC | ||
2097 | fi | ||
2098 | |||
2099 | fi | ||
2100 | |||
2101 | |||
2102 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
2103 | See \`config.log' for more details." >&5 | ||
2104 | echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
2105 | See \`config.log' for more details." >&2;} | ||
2106 | { (exit 1); exit 1; }; } | ||
2107 | |||
2108 | # Provide some information about the compiler. | ||
2109 | echo "$as_me:$LINENO:" \ | ||
2110 | "checking for C compiler version" >&5 | ||
2111 | ac_compiler=`set X $ac_compile; echo $2` | ||
2112 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
2113 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
2114 | ac_status=$? | ||
2115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2116 | (exit $ac_status); } | ||
2117 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
2118 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
2119 | ac_status=$? | ||
2120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2121 | (exit $ac_status); } | ||
2122 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
2123 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
2124 | ac_status=$? | ||
2125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2126 | (exit $ac_status); } | ||
2127 | |||
2128 | cat >conftest.$ac_ext <<_ACEOF | ||
2129 | /* confdefs.h. */ | ||
2130 | _ACEOF | ||
2131 | cat confdefs.h >>conftest.$ac_ext | ||
2132 | cat >>conftest.$ac_ext <<_ACEOF | ||
2133 | /* end confdefs.h. */ | ||
2134 | |||
2135 | int | ||
2136 | main () | ||
2137 | { | ||
2138 | |||
2139 | ; | ||
2140 | return 0; | ||
2141 | } | ||
2142 | _ACEOF | ||
2143 | ac_clean_files_save=$ac_clean_files | ||
2144 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
2145 | # Try to create an executable without -o first, disregard a.out. | ||
2146 | # It will help us diagnose broken compilers, and finding out an intuition | ||
2147 | # of exeext. | ||
2148 | johnpye | 353 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2149 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | ||
2150 | johnpye | 133 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2151 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
2152 | (eval $ac_link_default) 2>&5 | ||
2153 | ac_status=$? | ||
2154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2155 | (exit $ac_status); }; then | ||
2156 | # Find the output, starting from the most likely. This scheme is | ||
2157 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
2158 | # resort. | ||
2159 | |||
2160 | # Be careful to initialize this variable, since it used to be cached. | ||
2161 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
2162 | ac_cv_exeext= | ||
2163 | # b.out is created by i960 compilers. | ||
2164 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
2165 | do | ||
2166 | test -f "$ac_file" || continue | ||
2167 | case $ac_file in | ||
2168 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
2169 | johnpye | 353 | ;; |
2170 | johnpye | 133 | conftest.$ac_ext ) |
2171 | johnpye | 353 | # This is the source file. |
2172 | ;; | ||
2173 | johnpye | 133 | [ab].out ) |
2174 | johnpye | 353 | # We found the default executable, but exeext='' is most |
2175 | # certainly right. | ||
2176 | break;; | ||
2177 | johnpye | 133 | *.* ) |
2178 | johnpye | 353 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2179 | # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
2180 | # but it would be cool to find out if it's true. Does anybody | ||
2181 | # maintain Libtool? --akim. | ||
2182 | export ac_cv_exeext | ||
2183 | break;; | ||
2184 | johnpye | 133 | * ) |
2185 | johnpye | 353 | break;; |
2186 | johnpye | 133 | esac |
2187 | done | ||
2188 | else | ||
2189 | echo "$as_me: failed program was:" >&5 | ||
2190 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2191 | |||
2192 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
2193 | See \`config.log' for more details." >&5 | ||
2194 | echo "$as_me: error: C compiler cannot create executables | ||
2195 | See \`config.log' for more details." >&2;} | ||
2196 | { (exit 77); exit 77; }; } | ||
2197 | fi | ||
2198 | |||
2199 | ac_exeext=$ac_cv_exeext | ||
2200 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2201 | echo "${ECHO_T}$ac_file" >&6 | ||
2202 | |||
2203 | # Check the compiler produces executables we can run. If not, either | ||
2204 | # the compiler is broken, or we cross compile. | ||
2205 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
2206 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
2207 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
2208 | # If not cross compiling, check that we can run a simple program. | ||
2209 | if test "$cross_compiling" != yes; then | ||
2210 | if { ac_try='./$ac_file' | ||
2211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2212 | (eval $ac_try) 2>&5 | ||
2213 | ac_status=$? | ||
2214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2215 | (exit $ac_status); }; }; then | ||
2216 | cross_compiling=no | ||
2217 | else | ||
2218 | if test "$cross_compiling" = maybe; then | ||
2219 | cross_compiling=yes | ||
2220 | else | ||
2221 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
2222 | If you meant to cross compile, use \`--host'. | ||
2223 | See \`config.log' for more details." >&5 | ||
2224 | echo "$as_me: error: cannot run C compiled programs. | ||
2225 | If you meant to cross compile, use \`--host'. | ||
2226 | See \`config.log' for more details." >&2;} | ||
2227 | { (exit 1); exit 1; }; } | ||
2228 | fi | ||
2229 | fi | ||
2230 | fi | ||
2231 | echo "$as_me:$LINENO: result: yes" >&5 | ||
2232 | echo "${ECHO_T}yes" >&6 | ||
2233 | |||
2234 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
2235 | ac_clean_files=$ac_clean_files_save | ||
2236 | # Check the compiler produces executables we can run. If not, either | ||
2237 | # the compiler is broken, or we cross compile. | ||
2238 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
2239 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
2240 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
2241 | echo "${ECHO_T}$cross_compiling" >&6 | ||
2242 | |||
2243 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
2244 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
2245 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2246 | (eval $ac_link) 2>&5 | ||
2247 | ac_status=$? | ||
2248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2249 | (exit $ac_status); }; then | ||
2250 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
2251 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
2252 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
2253 | # `rm'. | ||
2254 | for ac_file in conftest.exe conftest conftest.*; do | ||
2255 | test -f "$ac_file" || continue | ||
2256 | case $ac_file in | ||
2257 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
2258 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
2259 | johnpye | 353 | export ac_cv_exeext |
2260 | break;; | ||
2261 | johnpye | 133 | * ) break;; |
2262 | esac | ||
2263 | done | ||
2264 | else | ||
2265 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
2266 | See \`config.log' for more details." >&5 | ||
2267 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
2268 | See \`config.log' for more details." >&2;} | ||
2269 | { (exit 1); exit 1; }; } | ||
2270 | fi | ||
2271 | |||
2272 | rm -f conftest$ac_cv_exeext | ||
2273 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
2274 | echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
2275 | |||
2276 | rm -f conftest.$ac_ext | ||
2277 | EXEEXT=$ac_cv_exeext | ||
2278 | ac_exeext=$EXEEXT | ||
2279 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
2280 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
2281 | if test "${ac_cv_objext+set}" = set; then | ||
2282 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2283 | else | ||
2284 | cat >conftest.$ac_ext <<_ACEOF | ||
2285 | /* confdefs.h. */ | ||
2286 | _ACEOF | ||
2287 | cat confdefs.h >>conftest.$ac_ext | ||
2288 | cat >>conftest.$ac_ext <<_ACEOF | ||
2289 | /* end confdefs.h. */ | ||
2290 | |||
2291 | int | ||
2292 | main () | ||
2293 | { | ||
2294 | |||
2295 | ; | ||
2296 | return 0; | ||
2297 | } | ||
2298 | _ACEOF | ||
2299 | rm -f conftest.o conftest.obj | ||
2300 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2301 | (eval $ac_compile) 2>&5 | ||
2302 | ac_status=$? | ||
2303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2304 | (exit $ac_status); }; then | ||
2305 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
2306 | case $ac_file in | ||
2307 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
2308 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
2309 | break;; | ||
2310 | esac | ||
2311 | done | ||
2312 | else | ||
2313 | echo "$as_me: failed program was:" >&5 | ||
2314 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2315 | |||
2316 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
2317 | See \`config.log' for more details." >&5 | ||
2318 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
2319 | See \`config.log' for more details." >&2;} | ||
2320 | { (exit 1); exit 1; }; } | ||
2321 | fi | ||
2322 | |||
2323 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2324 | fi | ||
2325 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
2326 | echo "${ECHO_T}$ac_cv_objext" >&6 | ||
2327 | OBJEXT=$ac_cv_objext | ||
2328 | ac_objext=$OBJEXT | ||
2329 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
2330 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
2331 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
2332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2333 | else | ||
2334 | cat >conftest.$ac_ext <<_ACEOF | ||
2335 | /* confdefs.h. */ | ||
2336 | _ACEOF | ||
2337 | cat confdefs.h >>conftest.$ac_ext | ||
2338 | cat >>conftest.$ac_ext <<_ACEOF | ||
2339 | /* end confdefs.h. */ | ||
2340 | |||
2341 | int | ||
2342 | main () | ||
2343 | { | ||
2344 | #ifndef __GNUC__ | ||
2345 | choke me | ||
2346 | #endif | ||
2347 | |||
2348 | ; | ||
2349 | return 0; | ||
2350 | } | ||
2351 | _ACEOF | ||
2352 | rm -f conftest.$ac_objext | ||
2353 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2354 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2355 | johnpye | 133 | ac_status=$? |
2356 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2357 | rm -f conftest.er1 | ||
2358 | cat conftest.err >&5 | ||
2359 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2360 | (exit $ac_status); } && | ||
2361 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2362 | || test ! -s conftest.err' | ||
2363 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2364 | (eval $ac_try) 2>&5 | ||
2365 | ac_status=$? | ||
2366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2367 | johnpye | 353 | (exit $ac_status); }; } && |
2368 | { ac_try='test -s conftest.$ac_objext' | ||
2369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2370 | (eval $ac_try) 2>&5 | ||
2371 | ac_status=$? | ||
2372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2373 | johnpye | 133 | (exit $ac_status); }; }; then |
2374 | ac_compiler_gnu=yes | ||
2375 | else | ||
2376 | echo "$as_me: failed program was:" >&5 | ||
2377 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2378 | |||
2379 | ac_compiler_gnu=no | ||
2380 | fi | ||
2381 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2382 | johnpye | 133 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2383 | |||
2384 | fi | ||
2385 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
2386 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
2387 | GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
2388 | ac_test_CFLAGS=${CFLAGS+set} | ||
2389 | ac_save_CFLAGS=$CFLAGS | ||
2390 | CFLAGS="-g" | ||
2391 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
2392 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
2393 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
2394 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2395 | else | ||
2396 | cat >conftest.$ac_ext <<_ACEOF | ||
2397 | /* confdefs.h. */ | ||
2398 | _ACEOF | ||
2399 | cat confdefs.h >>conftest.$ac_ext | ||
2400 | cat >>conftest.$ac_ext <<_ACEOF | ||
2401 | /* end confdefs.h. */ | ||
2402 | |||
2403 | int | ||
2404 | main () | ||
2405 | { | ||
2406 | |||
2407 | ; | ||
2408 | return 0; | ||
2409 | } | ||
2410 | _ACEOF | ||
2411 | rm -f conftest.$ac_objext | ||
2412 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2413 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2414 | johnpye | 133 | ac_status=$? |
2415 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2416 | rm -f conftest.er1 | ||
2417 | cat conftest.err >&5 | ||
2418 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2419 | (exit $ac_status); } && | ||
2420 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2421 | || test ! -s conftest.err' | ||
2422 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2423 | (eval $ac_try) 2>&5 | ||
2424 | ac_status=$? | ||
2425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2426 | johnpye | 353 | (exit $ac_status); }; } && |
2427 | { ac_try='test -s conftest.$ac_objext' | ||
2428 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2429 | (eval $ac_try) 2>&5 | ||
2430 | ac_status=$? | ||
2431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2432 | johnpye | 133 | (exit $ac_status); }; }; then |
2433 | ac_cv_prog_cc_g=yes | ||
2434 | else | ||
2435 | echo "$as_me: failed program was:" >&5 | ||
2436 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2437 | |||
2438 | ac_cv_prog_cc_g=no | ||
2439 | fi | ||
2440 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2441 | johnpye | 133 | fi |
2442 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
2443 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
2444 | if test "$ac_test_CFLAGS" = set; then | ||
2445 | CFLAGS=$ac_save_CFLAGS | ||
2446 | elif test $ac_cv_prog_cc_g = yes; then | ||
2447 | if test "$GCC" = yes; then | ||
2448 | CFLAGS="-g -O2" | ||
2449 | else | ||
2450 | CFLAGS="-g" | ||
2451 | fi | ||
2452 | else | ||
2453 | if test "$GCC" = yes; then | ||
2454 | CFLAGS="-O2" | ||
2455 | else | ||
2456 | CFLAGS= | ||
2457 | fi | ||
2458 | fi | ||
2459 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
2460 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
2461 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
2462 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2463 | else | ||
2464 | ac_cv_prog_cc_stdc=no | ||
2465 | ac_save_CC=$CC | ||
2466 | cat >conftest.$ac_ext <<_ACEOF | ||
2467 | /* confdefs.h. */ | ||
2468 | _ACEOF | ||
2469 | cat confdefs.h >>conftest.$ac_ext | ||
2470 | cat >>conftest.$ac_ext <<_ACEOF | ||
2471 | /* end confdefs.h. */ | ||
2472 | #include <stdarg.h> | ||
2473 | #include <stdio.h> | ||
2474 | #include <sys/types.h> | ||
2475 | #include <sys/stat.h> | ||
2476 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
2477 | struct buf { int x; }; | ||
2478 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
2479 | static char *e (p, i) | ||
2480 | char **p; | ||
2481 | int i; | ||
2482 | { | ||
2483 | return p[i]; | ||
2484 | } | ||
2485 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
2486 | { | ||
2487 | char *s; | ||
2488 | va_list v; | ||
2489 | va_start (v,p); | ||
2490 | s = g (p, va_arg (v,int)); | ||
2491 | va_end (v); | ||
2492 | return s; | ||
2493 | } | ||
2494 | johnpye | 353 | |
2495 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
2496 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
2497 | These don't provoke an error unfortunately, instead are silently treated | ||
2498 | as 'x'. The following induces an error, until -std1 is added to get | ||
2499 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
2500 | array size at least. It's necessary to write '\x00'==0 to get something | ||
2501 | that's true only with -std1. */ | ||
2502 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
2503 | |||
2504 | johnpye | 133 | int test (int i, double x); |
2505 | struct s1 {int (*f) (int a);}; | ||
2506 | struct s2 {int (*f) (double a);}; | ||
2507 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2508 | int argc; | ||
2509 | char **argv; | ||
2510 | int | ||
2511 | main () | ||
2512 | { | ||
2513 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2514 | ; | ||
2515 | return 0; | ||
2516 | } | ||
2517 | _ACEOF | ||
2518 | # Don't try gcc -ansi; that turns off useful extensions and | ||
2519 | # breaks some systems' header files. | ||
2520 | # AIX -qlanglvl=ansi | ||
2521 | # Ultrix and OSF/1 -std1 | ||
2522 | # HP-UX 10.20 and later -Ae | ||
2523 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2524 | # SVR4 -Xc -D__EXTENSIONS__ | ||
2525 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2526 | do | ||
2527 | CC="$ac_save_CC $ac_arg" | ||
2528 | rm -f conftest.$ac_objext | ||
2529 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2530 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2531 | johnpye | 133 | ac_status=$? |
2532 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2533 | rm -f conftest.er1 | ||
2534 | cat conftest.err >&5 | ||
2535 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2536 | (exit $ac_status); } && | ||
2537 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2538 | || test ! -s conftest.err' | ||
2539 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2540 | (eval $ac_try) 2>&5 | ||
2541 | ac_status=$? | ||
2542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2543 | johnpye | 353 | (exit $ac_status); }; } && |
2544 | { ac_try='test -s conftest.$ac_objext' | ||
2545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2546 | (eval $ac_try) 2>&5 | ||
2547 | ac_status=$? | ||
2548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2549 | johnpye | 133 | (exit $ac_status); }; }; then |
2550 | ac_cv_prog_cc_stdc=$ac_arg | ||
2551 | break | ||
2552 | else | ||
2553 | echo "$as_me: failed program was:" >&5 | ||
2554 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2555 | |||
2556 | fi | ||
2557 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext |
2558 | johnpye | 133 | done |
2559 | rm -f conftest.$ac_ext conftest.$ac_objext | ||
2560 | CC=$ac_save_CC | ||
2561 | |||
2562 | fi | ||
2563 | |||
2564 | case "x$ac_cv_prog_cc_stdc" in | ||
2565 | x|xno) | ||
2566 | echo "$as_me:$LINENO: result: none needed" >&5 | ||
2567 | echo "${ECHO_T}none needed" >&6 ;; | ||
2568 | *) | ||
2569 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
2570 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
2571 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
2572 | esac | ||
2573 | |||
2574 | # Some people use a C++ compiler to compile C. Since we use `exit', | ||
2575 | # in C++ we need to declare it. In case someone uses the same compiler | ||
2576 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
2577 | # the declaration of exit, since it's the most demanding environment. | ||
2578 | cat >conftest.$ac_ext <<_ACEOF | ||
2579 | #ifndef __cplusplus | ||
2580 | choke me | ||
2581 | #endif | ||
2582 | _ACEOF | ||
2583 | rm -f conftest.$ac_objext | ||
2584 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2585 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2586 | johnpye | 133 | ac_status=$? |
2587 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2588 | rm -f conftest.er1 | ||
2589 | cat conftest.err >&5 | ||
2590 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2591 | (exit $ac_status); } && | ||
2592 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2593 | || test ! -s conftest.err' | ||
2594 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2595 | (eval $ac_try) 2>&5 | ||
2596 | ac_status=$? | ||
2597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2598 | johnpye | 353 | (exit $ac_status); }; } && |
2599 | { ac_try='test -s conftest.$ac_objext' | ||
2600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2601 | (eval $ac_try) 2>&5 | ||
2602 | ac_status=$? | ||
2603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2604 | johnpye | 133 | (exit $ac_status); }; }; then |
2605 | for ac_declaration in \ | ||
2606 | johnpye | 353 | '' \ |
2607 | johnpye | 133 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2608 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
2609 | 'extern "C" void exit (int) throw ();' \ | ||
2610 | 'extern "C" void exit (int);' \ | ||
2611 | 'void exit (int);' | ||
2612 | do | ||
2613 | cat >conftest.$ac_ext <<_ACEOF | ||
2614 | /* confdefs.h. */ | ||
2615 | _ACEOF | ||
2616 | cat confdefs.h >>conftest.$ac_ext | ||
2617 | cat >>conftest.$ac_ext <<_ACEOF | ||
2618 | /* end confdefs.h. */ | ||
2619 | johnpye | 353 | $ac_declaration |
2620 | johnpye | 348 | #include <stdlib.h> |
2621 | johnpye | 133 | int |
2622 | main () | ||
2623 | { | ||
2624 | exit (42); | ||
2625 | ; | ||
2626 | return 0; | ||
2627 | } | ||
2628 | _ACEOF | ||
2629 | rm -f conftest.$ac_objext | ||
2630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2631 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2632 | johnpye | 133 | ac_status=$? |
2633 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2634 | rm -f conftest.er1 | ||
2635 | cat conftest.err >&5 | ||
2636 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2637 | (exit $ac_status); } && | ||
2638 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2639 | || test ! -s conftest.err' | ||
2640 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2641 | (eval $ac_try) 2>&5 | ||
2642 | ac_status=$? | ||
2643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2644 | johnpye | 353 | (exit $ac_status); }; } && |
2645 | { ac_try='test -s conftest.$ac_objext' | ||
2646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2647 | (eval $ac_try) 2>&5 | ||
2648 | ac_status=$? | ||
2649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2650 | johnpye | 133 | (exit $ac_status); }; }; then |
2651 | : | ||
2652 | else | ||
2653 | echo "$as_me: failed program was:" >&5 | ||
2654 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2655 | |||
2656 | continue | ||
2657 | fi | ||
2658 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2659 | johnpye | 133 | cat >conftest.$ac_ext <<_ACEOF |
2660 | /* confdefs.h. */ | ||
2661 | _ACEOF | ||
2662 | cat confdefs.h >>conftest.$ac_ext | ||
2663 | cat >>conftest.$ac_ext <<_ACEOF | ||
2664 | /* end confdefs.h. */ | ||
2665 | $ac_declaration | ||
2666 | int | ||
2667 | main () | ||
2668 | { | ||
2669 | exit (42); | ||
2670 | ; | ||
2671 | return 0; | ||
2672 | } | ||
2673 | _ACEOF | ||
2674 | rm -f conftest.$ac_objext | ||
2675 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2676 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2677 | johnpye | 133 | ac_status=$? |
2678 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2679 | rm -f conftest.er1 | ||
2680 | cat conftest.err >&5 | ||
2681 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2682 | (exit $ac_status); } && | ||
2683 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2684 | || test ! -s conftest.err' | ||
2685 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2686 | (eval $ac_try) 2>&5 | ||
2687 | ac_status=$? | ||
2688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2689 | johnpye | 353 | (exit $ac_status); }; } && |
2690 | { ac_try='test -s conftest.$ac_objext' | ||
2691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2692 | (eval $ac_try) 2>&5 | ||
2693 | ac_status=$? | ||
2694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2695 | johnpye | 133 | (exit $ac_status); }; }; then |
2696 | break | ||
2697 | else | ||
2698 | echo "$as_me: failed program was:" >&5 | ||
2699 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2700 | |||
2701 | fi | ||
2702 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2703 | johnpye | 133 | done |
2704 | rm -f conftest* | ||
2705 | if test -n "$ac_declaration"; then | ||
2706 | echo '#ifdef __cplusplus' >>confdefs.h | ||
2707 | echo $ac_declaration >>confdefs.h | ||
2708 | echo '#endif' >>confdefs.h | ||
2709 | fi | ||
2710 | |||
2711 | else | ||
2712 | echo "$as_me: failed program was:" >&5 | ||
2713 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2714 | |||
2715 | fi | ||
2716 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2717 | johnpye | 133 | ac_ext=c |
2718 | ac_cpp='$CPP $CPPFLAGS' | ||
2719 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2720 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2721 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2722 | |||
2723 | |||
2724 | cat >conftest.$ac_ext <<_ACEOF | ||
2725 | /* confdefs.h. */ | ||
2726 | _ACEOF | ||
2727 | cat confdefs.h >>conftest.$ac_ext | ||
2728 | cat >>conftest.$ac_ext <<_ACEOF | ||
2729 | /* end confdefs.h. */ | ||
2730 | |||
2731 | int | ||
2732 | main () | ||
2733 | { | ||
2734 | |||
2735 | aw0a | 37 | int tstproto(int arg1, char * arg2); |
2736 | int tstconst(const int arg1, const char *arg2); | ||
2737 | johnpye | 133 | int tstvoidp(const int arg1, const void *arg2); |
2738 | ; | ||
2739 | return 0; | ||
2740 | } | ||
2741 | _ACEOF | ||
2742 | rm -f conftest.$ac_objext | ||
2743 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2744 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2745 | johnpye | 133 | ac_status=$? |
2746 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2747 | rm -f conftest.er1 | ||
2748 | cat conftest.err >&5 | ||
2749 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2750 | (exit $ac_status); } && | ||
2751 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2752 | || test ! -s conftest.err' | ||
2753 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2754 | (eval $ac_try) 2>&5 | ||
2755 | ac_status=$? | ||
2756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2757 | johnpye | 353 | (exit $ac_status); }; } && |
2758 | { ac_try='test -s conftest.$ac_objext' | ||
2759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2760 | (eval $ac_try) 2>&5 | ||
2761 | ac_status=$? | ||
2762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2763 | johnpye | 133 | (exit $ac_status); }; }; then |
2764 | asc_ansi_ok=yes | ||
2765 | aw0a | 37 | else |
2766 | johnpye | 133 | echo "$as_me: failed program was:" >&5 |
2767 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2768 | |||
2769 | asc_ansi_ok=no | ||
2770 | aw0a | 37 | fi |
2771 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2772 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2773 | echo "${ECHO_T}$asc_ansi_ok" >&6 | ||
2774 | aw0a | 37 | fi |
2775 | |||
2776 | if test "$asc_ansi_ok" = no ; then | ||
2777 | # Extract the first word of "c89", so it can be a program name with args. | ||
2778 | set dummy c89; ac_word=$2 | ||
2779 | johnpye | 133 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2780 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2781 | if test "${ac_cv_prog_asc_cc1+set}" = set; then | ||
2782 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2783 | aw0a | 37 | else |
2784 | if test -n "$asc_cc1"; then | ||
2785 | ac_cv_prog_asc_cc1="$asc_cc1" # Let the user override the test. | ||
2786 | else | ||
2787 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2788 | for as_dir in $PATH | ||
2789 | do | ||
2790 | IFS=$as_save_IFS | ||
2791 | test -z "$as_dir" && as_dir=. | ||
2792 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2793 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2794 | ac_cv_prog_asc_cc1="c89" | ||
2795 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2796 | break 2 | ||
2797 | fi | ||
2798 | done | ||
2799 | done | ||
2800 | |||
2801 | aw0a | 37 | test -z "$ac_cv_prog_asc_cc1" && ac_cv_prog_asc_cc1="NONE" |
2802 | fi | ||
2803 | fi | ||
2804 | johnpye | 133 | asc_cc1=$ac_cv_prog_asc_cc1 |
2805 | aw0a | 37 | if test -n "$asc_cc1"; then |
2806 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_cc1" >&5 |
2807 | echo "${ECHO_T}$asc_cc1" >&6 | ||
2808 | aw0a | 37 | else |
2809 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
2810 | echo "${ECHO_T}no" >&6 | ||
2811 | aw0a | 37 | fi |
2812 | |||
2813 | if test ! "$asc_cc1" = NONE ; then | ||
2814 | CC=$asc_cc1 | ||
2815 | johnpye | 133 | echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
2816 | echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 | ||
2817 | cat >conftest.$ac_ext <<_ACEOF | ||
2818 | /* confdefs.h. */ | ||
2819 | _ACEOF | ||
2820 | cat confdefs.h >>conftest.$ac_ext | ||
2821 | cat >>conftest.$ac_ext <<_ACEOF | ||
2822 | /* end confdefs.h. */ | ||
2823 | aw0a | 37 | |
2824 | johnpye | 133 | int |
2825 | main () | ||
2826 | { | ||
2827 | aw0a | 37 | |
2828 | int tstproto(int arg1, char * arg2); | ||
2829 | int tstconst(const int arg1, const char *arg2); | ||
2830 | johnpye | 133 | int tstvoidp(const int arg1, const void *arg2); |
2831 | ; | ||
2832 | return 0; | ||
2833 | } | ||
2834 | _ACEOF | ||
2835 | rm -f conftest.$ac_objext | ||
2836 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2837 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2838 | johnpye | 133 | ac_status=$? |
2839 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2840 | rm -f conftest.er1 | ||
2841 | cat conftest.err >&5 | ||
2842 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2843 | (exit $ac_status); } && | ||
2844 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2845 | || test ! -s conftest.err' | ||
2846 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2847 | (eval $ac_try) 2>&5 | ||
2848 | ac_status=$? | ||
2849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2850 | johnpye | 353 | (exit $ac_status); }; } && |
2851 | { ac_try='test -s conftest.$ac_objext' | ||
2852 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2853 | (eval $ac_try) 2>&5 | ||
2854 | ac_status=$? | ||
2855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2856 | johnpye | 133 | (exit $ac_status); }; }; then |
2857 | asc_ansi_ok=yes | ||
2858 | aw0a | 37 | else |
2859 | johnpye | 133 | echo "$as_me: failed program was:" >&5 |
2860 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2861 | |||
2862 | asc_ansi_ok=no | ||
2863 | aw0a | 37 | fi |
2864 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2865 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2866 | echo "${ECHO_T}$asc_ansi_ok" >&6 | ||
2867 | aw0a | 37 | fi |
2868 | fi | ||
2869 | |||
2870 | if test "$asc_ansi_ok" = no ; then | ||
2871 | # Extract the first word of "xlc", so it can be a program name with args. | ||
2872 | set dummy xlc; ac_word=$2 | ||
2873 | johnpye | 133 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2874 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2875 | if test "${ac_cv_prog_asc_cc2+set}" = set; then | ||
2876 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2877 | aw0a | 37 | else |
2878 | if test -n "$asc_cc2"; then | ||
2879 | ac_cv_prog_asc_cc2="$asc_cc2" # Let the user override the test. | ||
2880 | else | ||
2881 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2882 | for as_dir in $PATH | ||
2883 | do | ||
2884 | IFS=$as_save_IFS | ||
2885 | test -z "$as_dir" && as_dir=. | ||
2886 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2887 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2888 | ac_cv_prog_asc_cc2="xlc" | ||
2889 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2890 | break 2 | ||
2891 | fi | ||
2892 | done | ||
2893 | done | ||
2894 | |||
2895 | aw0a | 37 | test -z "$ac_cv_prog_asc_cc2" && ac_cv_prog_asc_cc2="NONE" |
2896 | fi | ||
2897 | fi | ||
2898 | johnpye | 133 | asc_cc2=$ac_cv_prog_asc_cc2 |
2899 | aw0a | 37 | if test -n "$asc_cc2"; then |
2900 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_cc2" >&5 |
2901 | echo "${ECHO_T}$asc_cc2" >&6 | ||
2902 | aw0a | 37 | else |
2903 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
2904 | echo "${ECHO_T}no" >&6 | ||
2905 | aw0a | 37 | fi |
2906 | |||
2907 | if test ! "$asc_cc2" = NONE ; then | ||
2908 | CC=$asc_cc2 | ||
2909 | johnpye | 133 | echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |
2910 | echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6 | ||
2911 | cat >conftest.$ac_ext <<_ACEOF | ||
2912 | /* confdefs.h. */ | ||
2913 | _ACEOF | ||
2914 | cat confdefs.h >>conftest.$ac_ext | ||
2915 | cat >>conftest.$ac_ext <<_ACEOF | ||
2916 | /* end confdefs.h. */ | ||
2917 | aw0a | 37 | |
2918 | johnpye | 133 | int |
2919 | main () | ||
2920 | { | ||
2921 | aw0a | 37 | |
2922 | int tstproto(int arg1, char * arg2); | ||
2923 | int tstconst(const int arg1, const char *arg2); | ||
2924 | johnpye | 133 | int tstvoidp(const int arg1, const void *arg2); |
2925 | ; | ||
2926 | return 0; | ||
2927 | } | ||
2928 | _ACEOF | ||
2929 | rm -f conftest.$ac_objext | ||
2930 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2931 | johnpye | 353 | (eval $ac_compile) 2>conftest.er1 |
2932 | johnpye | 133 | ac_status=$? |
2933 | johnpye | 353 | grep -v '^ *+' conftest.er1 >conftest.err |
2934 | rm -f conftest.er1 | ||
2935 | cat conftest.err >&5 | ||
2936 | johnpye | 133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2937 | (exit $ac_status); } && | ||
2938 | johnpye | 353 | { ac_try='test -z "$ac_c_werror_flag" |
2939 | || test ! -s conftest.err' | ||
2940 | johnpye | 133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2941 | (eval $ac_try) 2>&5 | ||
2942 | ac_status=$? | ||
2943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2944 | johnpye | 353 | (exit $ac_status); }; } && |
2945 | { ac_try='test -s conftest.$ac_objext' | ||
2946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2947 | (eval $ac_try) 2>&5 | ||
2948 | ac_status=$? | ||
2949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2950 | johnpye | 133 | (exit $ac_status); }; }; then |
2951 | asc_ansi_ok=yes | ||
2952 | aw0a | 37 | else |
2953 | johnpye | 133 | echo "$as_me: failed program was:" >&5 |
2954 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2955 | |||
2956 | asc_ansi_ok=no | ||
2957 | aw0a | 37 | fi |
2958 | johnpye | 353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2959 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5 |
2960 | echo "${ECHO_T}$asc_ansi_ok" >&6 | ||
2961 | aw0a | 37 | fi |
2962 | fi | ||
2963 | |||
2964 | if test "$asc_ansi_ok" = no ; then | ||
2965 | # Extract the first word of "acc", so it can be a program name with args. | ||
2966 | set dummy acc; ac_word=$2 | ||
2967 | johnpye | 133 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2968 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2969 | if test "${ac_cv_prog_asc_cc3+set}" = set; then | ||
2970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2971 | aw0a | 37 | else |
2972 | if test -n "$asc_cc3"; then | ||
2973 | ac_cv_prog_asc_cc3="$asc_cc3" # Let the user override the test. | ||
2974 | else | ||
2975 | johnpye | 133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2976 | for as_dir in $PATH | ||
2977 | do | ||
2978 | IFS=$as_save_IFS | ||
2979 | test -z "$as_dir" && as_dir=. | ||
2980 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2981 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2982 | ac_cv_prog_asc_cc3="acc" | ||
2983 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2984 | break 2 | ||
2985 | fi | ||
2986 | done | ||
2987 | done | ||
2988 | |||
2989 | aw0a | 37 | test -z "$ac_cv_prog_asc_cc3" && ac_cv_prog_asc_cc3="NONE" |
2990 | fi | ||
2991 | fi | ||
2992 | johnpye | 133 | asc_cc3=$ac_cv_prog_asc_cc3 |
2993 | aw0a | 37 | if test -n "$asc_cc3"; then |
2994 | johnpye | 133 | echo "$as_me:$LINENO: result: $asc_cc3" >&5 |
2995 | echo "${ECHO_T}$asc_cc3" >&6 | ||
2996 | aw0a | 37 | else |
2997 | johnpye | 133 | echo "$as_me:$LINENO: result: no" >&5 |
2998 | echo "${ECHO_T}no" >&6 | ||
2999 | aw0a | 37 | fi |
3000 | |||
3001 | if test ! "$asc_cc3" = NONE ; then | ||
3002 | CC=$asc_cc3 | ||
3003 | johnpye | 133 | echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5 |