Parent Directory
|
Revision Log
|
Patch
revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC | revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #! /bin/sh | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated automatically using autoconf version 2.13 | # Generated by GNU Autoconf 2.59. |
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | ||
4 | # | # |
5 | # Copyright (C) 2003 Free Software Foundation, Inc. | |
6 | # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
8 | ## --------------------- ## | |
9 | ## M4sh Initialization. ## | |
10 | ## --------------------- ## | |
11 | ||
12 | # Be Bourne compatible | |
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
14 | emulate sh | |
15 | NULLCMD=: | |
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
17 | # is contrary to our usage. Disable this feature. | |
18 | alias -g '${1+"$@"}'='"$@"' | |
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
20 | set -o posix | |
21 | fi | |
22 | DUALCASE=1; export DUALCASE # for MKS sh | |
23 | ||
24 | # Support unset when possible. | |
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
26 | as_unset=unset | |
27 | else | |
28 | as_unset=false | |
29 | fi | |
30 | ||
31 | ||
32 | # Work around bugs in pre-3.0 UWIN ksh. | |
33 | $as_unset ENV MAIL MAILPATH | |
34 | PS1='$ ' | |
35 | PS2='> ' | |
36 | PS4='+ ' | |
37 | ||
38 | # NLS nuisances. | |
39 | for as_var in \ | |
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
42 | LC_TELEPHONE LC_TIME | |
43 | do | |
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
45 | eval $as_var=C; export $as_var | |
46 | else | |
47 | $as_unset $as_var | |
48 | fi | |
49 | done | |
50 | ||
51 | # Required to use basename. | |
52 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
53 | as_expr=expr | |
54 | else | |
55 | as_expr=false | |
56 | fi | |
57 | ||
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
59 | as_basename=basename | |
60 | else | |
61 | as_basename=false | |
62 | fi | |
63 | ||
64 | ||
65 | # Name of the executable. | |
66 | as_me=`$as_basename "$0" || | |
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
68 | X"$0" : 'X\(//\)$' \| \ | |
69 | X"$0" : 'X\(/\)$' \| \ | |
70 | . : '\(.\)' 2>/dev/null || | |
71 | echo X/"$0" | | |
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | |
74 | /^X\/\(\/\).*/{ s//\1/; q; } | |
75 | s/.*/./; q'` | |
76 | ||
77 | ||
78 | # PATH needs CR, and LINENO needs CR and PATH. | |
79 | # Avoid depending upon Character Ranges. | |
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
83 | as_cr_digits='0123456789' | |
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
85 | ||
86 | # The user is always right. | |
87 | if test "${PATH_SEPARATOR+set}" != set; then | |
88 | echo "#! /bin/sh" >conf$$.sh | |
89 | echo "exit 0" >>conf$$.sh | |
90 | chmod +x conf$$.sh | |
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
92 | PATH_SEPARATOR=';' | |
93 | else | |
94 | PATH_SEPARATOR=: | |
95 | fi | |
96 | rm -f conf$$.sh | |
97 | fi | |
98 | ||
99 | ||
100 | as_lineno_1=$LINENO | |
101 | as_lineno_2=$LINENO | |
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
103 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { | |
105 | # Find who we are. Look in the path if we contain no path at all | |
106 | # relative or not. | |
107 | case $0 in | |
108 | *[\\/]* ) as_myself=$0 ;; | |
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
110 | for as_dir in $PATH | |
111 | do | |
112 | IFS=$as_save_IFS | |
113 | test -z "$as_dir" && as_dir=. | |
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
115 | done | |
116 | ||
117 | ;; | |
118 | esac | |
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
120 | # in which case we are not to be found in the path. | |
121 | if test "x$as_myself" = x; then | |
122 | as_myself=$0 | |
123 | fi | |
124 | if test ! -f "$as_myself"; then | |
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
126 | { (exit 1); exit 1; }; } | |
127 | fi | |
128 | case $CONFIG_SHELL in | |
129 | '') | |
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
132 | do | |
133 | IFS=$as_save_IFS | |
134 | test -z "$as_dir" && as_dir=. | |
135 | for as_base in sh bash ksh sh5; do | |
136 | case $as_dir in | |
137 | /*) | |
138 | if ("$as_dir/$as_base" -c ' | |
139 | as_lineno_1=$LINENO | |
140 | as_lineno_2=$LINENO | |
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
142 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
146 | CONFIG_SHELL=$as_dir/$as_base | |
147 | export CONFIG_SHELL | |
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
149 | fi;; | |
150 | esac | |
151 | done | |
152 | done | |
153 | ;; | |
154 | esac | |
155 | ||
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
157 | # uniformly replaced by the line number. The first 'sed' inserts a | |
158 | # line-number line before each line; the second 'sed' does the real | |
159 | # work. The second script uses 'N' to pair each line-number line | |
160 | # with the numbered line, and appends trailing '-' during | |
161 | # substitution so that $LINENO is not a special case at line end. | |
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
164 | sed '=' <$as_myself | | |
165 | sed ' | |
166 | N | |
167 | s,$,-, | |
168 | : loop | |
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
170 | t loop | |
171 | s,-$,, | |
172 | s,^['$as_cr_digits']*\n,, | |
173 | ' >$as_me.lineno && | |
174 | chmod +x $as_me.lineno || | |
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
176 | { (exit 1); exit 1; }; } | |
177 | ||
178 | # Don't try to exec as it changes $[0], causing all sort of problems | |
179 | # (the dirname of $[0] is not the place where we might find the | |
180 | # original and so on. Autoconf is especially sensible to this). | |
181 | . ./$as_me.lineno | |
182 | # Exit status is that of the last command. | |
183 | exit | |
184 | } | |
185 | ||
186 | ||
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
188 | *c*,-n*) ECHO_N= ECHO_C=' | |
189 | ' ECHO_T=' ' ;; | |
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
192 | esac | |
193 | ||
194 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
195 | as_expr=expr | |
196 | else | |
197 | as_expr=false | |
198 | fi | |
199 | ||
200 | rm -f conf$$ conf$$.exe conf$$.file | |
201 | echo >conf$$.file | |
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
203 | # We could just check for DJGPP; but this test a) works b) is more generic | |
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
205 | if test -f conf$$.exe; then | |
206 | # Don't use ln at all; we don't have any links | |
207 | as_ln_s='cp -p' | |
208 | else | |
209 | as_ln_s='ln -s' | |
210 | fi | |
211 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
212 | as_ln_s=ln | |
213 | else | |
214 | as_ln_s='cp -p' | |
215 | fi | |
216 | rm -f conf$$ conf$$.exe conf$$.file | |
217 | ||
218 | if mkdir -p . 2>/dev/null; then | |
219 | as_mkdir_p=: | |
220 | else | |
221 | test -d ./-p && rmdir ./-p | |
222 | as_mkdir_p=false | |
223 | fi | |
224 | ||
225 | as_executable_p="test -f" | |
226 | ||
227 | # Sed expression to map a string onto a valid CPP name. | |
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
229 | ||
230 | # Sed expression to map a string onto a valid variable name. | |
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
232 | ||
233 | ||
234 | # 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 | ||
245 | # Check that we are running under the correct shell. | |
246 | SHELL=${CONFIG_SHELL-/bin/sh} | |
247 | ||
248 | case X$ECHO in | |
249 | X*--fallback-echo) | |
250 | # Remove one level of quotation (which was required for Make). | |
251 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | |
252 | ;; | |
253 | esac | |
254 | ||
255 | echo=${ECHO-echo} | |
256 | if test "X$1" = X--no-reexec; then | |
257 | # Discard the --no-reexec flag, and continue. | |
258 | shift | |
259 | elif test "X$1" = X--fallback-echo; then | |
260 | # Avoid inline document here, it may be left over | |
261 | : | |
262 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | |
263 | # Yippee, $echo works! | |
264 | : | |
265 | else | |
266 | # Restart under the correct shell. | |
267 | exec $SHELL "$0" --no-reexec ${1+"$@"} | |
268 | fi | |
269 | ||
270 | if test "X$1" = X--fallback-echo; then | |
271 | # used as fallback echo | |
272 | shift | |
273 | cat <<EOF | |
274 | $* | |
275 | EOF | |
276 | exit 0 | |
277 | fi | |
278 | ||
279 | # The HP-UX ksh and POSIX shell print the target directory to stdout | |
280 | # if CDPATH is set. | |
281 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
282 | ||
283 | if test -z "$ECHO"; then | |
284 | if test "X${echo_test_string+set}" != Xset; then | |
285 | # find a string as large as possible, as long as the shell can cope with it | |
286 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | |
287 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | |
288 | if (echo_test_string="`eval $cmd`") 2>/dev/null && | |
289 | echo_test_string="`eval $cmd`" && | |
290 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | |
291 | then | |
292 | break | |
293 | fi | |
294 | done | |
295 | fi | |
296 | ||
297 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | |
298 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | |
299 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
300 | : | |
301 | else | |
302 | # The Solaris, AIX, and Digital Unix default echo programs unquote | |
303 | # backslashes. This makes it impossible to quote backslashes using | |
304 | # echo "$something" | sed 's/\\/\\\\/g' | |
305 | # | |
306 | # So, first we look for a working echo in the user's PATH. | |
307 | ||
308 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
309 | for dir in $PATH /usr/ucb; do | |
310 | IFS="$lt_save_ifs" | |
311 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | |
312 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | |
313 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | |
314 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
315 | echo="$dir/echo" | |
316 | break | |
317 | fi | |
318 | done | |
319 | IFS="$lt_save_ifs" | |
320 | ||
321 | if test "X$echo" = Xecho; then | |
322 | # We didn't find a better echo, so look for alternatives. | |
323 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | |
324 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | |
325 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
326 | # This shell has a builtin print -r that does the trick. | |
327 | echo='print -r' | |
328 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | |
329 | test "X$CONFIG_SHELL" != X/bin/ksh; then | |
330 | # If we have ksh, try running configure again with it. | |
331 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | |
332 | export ORIGINAL_CONFIG_SHELL | |
333 | CONFIG_SHELL=/bin/ksh | |
334 | export CONFIG_SHELL | |
335 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | |
336 | else | |
337 | # Try using printf. | |
338 | echo='printf %s\n' | |
339 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | |
340 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | |
341 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
342 | # Cool, printf works | |
343 | : | |
344 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | |
345 | test "X$echo_testing_string" = 'X\t' && | |
346 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | |
347 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
348 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | |
349 | export CONFIG_SHELL | |
350 | SHELL="$CONFIG_SHELL" | |
351 | export SHELL | |
352 | echo="$CONFIG_SHELL $0 --fallback-echo" | |
353 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | |
354 | test "X$echo_testing_string" = 'X\t' && | |
355 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | |
356 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
357 | echo="$CONFIG_SHELL $0 --fallback-echo" | |
358 | else | |
359 | # maybe with a smaller string... | |
360 | prev=: | |
361 | ||
362 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | |
363 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | |
364 | then | |
365 | break | |
366 | fi | |
367 | prev="$cmd" | |
368 | done | |
369 | ||
370 | if test "$prev" != 'sed 50q "$0"'; then | |
371 | echo_test_string=`eval $prev` | |
372 | export echo_test_string | |
373 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | |
374 | else | |
375 | # Oops. We lost completely, so just stick with echo. | |
376 | echo=echo | |
377 | fi | |
378 | fi | |
379 | fi | |
380 | fi | |
381 | fi | |
382 | fi | |
383 | ||
384 | # Copy echo and quote the copy suitably for passing to libtool from | |
385 | # the Makefile, instead of quoting the original, which is used later. | |
386 | ECHO=$echo | |
387 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | |
388 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | |
389 | fi | |
390 | ||
391 | ||
392 | ||
393 | ||
394 | tagnames=${tagnames+${tagnames},}CXX | |
395 | ||
396 | tagnames=${tagnames+${tagnames},}F77 | |
397 | ||
398 | # Name of the host. | |
399 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
400 | # so uname gets run too. | |
401 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
402 | ||
403 | # Defaults: | exec 6>&1 |
404 | ac_help= | |
405 | # | |
406 | # Initializations. | |
407 | # | |
408 | ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
409 | # Any additions from configure.in: | ac_config_libobj_dir=. |
410 | ac_help="$ac_help | cross_compiling=no |
411 | --disable-shared build PCRE as a static library" | subdirs= |
412 | ac_help="$ac_help | MFLAGS= |
413 | --enable-utf8 enable UTF8 support (incomplete)" | MAKEFLAGS= |
414 | SHELL=${CONFIG_SHELL-/bin/sh} | |
415 | ||
416 | # Maximum number of lines to put in a shell here document. | |
417 | # This variable seems obsolete. It should probably be removed, and | |
418 | # only ac_max_sed_lines should be used. | |
419 | : ${ac_max_here_lines=38} | |
420 | ||
421 | # Identity of this package. | |
422 | PACKAGE_NAME= | |
423 | PACKAGE_TARNAME= | |
424 | PACKAGE_VERSION= | |
425 | PACKAGE_STRING= | |
426 | PACKAGE_BUGREPORT= | |
427 | ||
428 | ac_unique_file="dftables.c" | |
429 | # Factoring default headers for most tests. | |
430 | ac_includes_default="\ | |
431 | #include <stdio.h> | |
432 | #if HAVE_SYS_TYPES_H | |
433 | # include <sys/types.h> | |
434 | #endif | |
435 | #if HAVE_SYS_STAT_H | |
436 | # include <sys/stat.h> | |
437 | #endif | |
438 | #if STDC_HEADERS | |
439 | # include <stdlib.h> | |
440 | # include <stddef.h> | |
441 | #else | |
442 | # if HAVE_STDLIB_H | |
443 | # include <stdlib.h> | |
444 | # endif | |
445 | #endif | |
446 | #if HAVE_STRING_H | |
447 | # if !STDC_HEADERS && HAVE_MEMORY_H | |
448 | # include <memory.h> | |
449 | # endif | |
450 | # include <string.h> | |
451 | #endif | |
452 | #if HAVE_STRINGS_H | |
453 | # include <strings.h> | |
454 | #endif | |
455 | #if HAVE_INTTYPES_H | |
456 | # include <inttypes.h> | |
457 | #else | |
458 | # if HAVE_STDINT_H | |
459 | # include <stdint.h> | |
460 | # endif | |
461 | #endif | |
462 | #if HAVE_UNISTD_H | |
463 | # include <unistd.h> | |
464 | #endif" | |
465 | ||
466 | 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' | |
467 | ac_subst_files='' | |
468 | ||
469 | # Initialize some variables set by options. | # Initialize some variables set by options. |
470 | ac_init_help= | |
471 | ac_init_version=false | |
472 | # The variables have the same names as the options, with | # The variables have the same names as the options, with |
473 | # dashes changed to underlines. | # dashes changed to underlines. |
474 | build=NONE | cache_file=/dev/null |
cache_file=./config.cache | ||
475 | exec_prefix=NONE | exec_prefix=NONE |
host=NONE | ||
476 | no_create= | no_create= |
nonopt=NONE | ||
477 | no_recursion= | no_recursion= |
478 | prefix=NONE | prefix=NONE |
479 | program_prefix=NONE | program_prefix=NONE |
# | Line 33 program_transform_name=s,x,x, | Line 482 program_transform_name=s,x,x, |
482 | silent= | silent= |
483 | site= | site= |
484 | srcdir= | srcdir= |
target=NONE | ||
485 | verbose= | verbose= |
486 | x_includes=NONE | x_includes=NONE |
487 | x_libraries=NONE | x_libraries=NONE |
488 | ||
489 | # Installation directory options. | |
490 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
491 | # and all the variables that are supposed to be based on exec_prefix | |
492 | # by default will actually change. | |
493 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
494 | bindir='${exec_prefix}/bin' | bindir='${exec_prefix}/bin' |
495 | sbindir='${exec_prefix}/sbin' | sbindir='${exec_prefix}/sbin' |
496 | libexecdir='${exec_prefix}/libexec' | libexecdir='${exec_prefix}/libexec' |
# | Line 50 oldincludedir='/usr/include' | Line 504 oldincludedir='/usr/include' |
504 | infodir='${prefix}/info' | infodir='${prefix}/info' |
505 | mandir='${prefix}/man' | mandir='${prefix}/man' |
506 | ||
# Initialize some other variables. | ||
subdirs= | ||
MFLAGS= MAKEFLAGS= | ||
SHELL=${CONFIG_SHELL-/bin/sh} | ||
# Maximum number of lines to put in a shell here document. | ||
ac_max_here_lines=12 | ||
507 | ac_prev= | ac_prev= |
508 | for ac_option | for ac_option |
509 | do | do |
510 | # If the previous option needs an argument, assign it. | # If the previous option needs an argument, assign it. |
511 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
512 | eval "$ac_prev=\$ac_option" | eval "$ac_prev=\$ac_option" |
# | Line 68 do | Line 514 do |
514 | continue | continue |
515 | fi | fi |
516 | ||
517 | case "$ac_option" in | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | ||
*) ac_optarg= ;; | ||
esac | ||
518 | ||
519 | # Accept the important Cygnus configure options, so we can diagnose typos. | # Accept the important Cygnus configure options, so we can diagnose typos. |
520 | ||
521 | case "$ac_option" in | case $ac_option in |
522 | ||
523 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
524 | ac_prev=bindir ;; | ac_prev=bindir ;; |
525 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
526 | bindir="$ac_optarg" ;; | bindir=$ac_optarg ;; |
527 | ||
528 | -build | --build | --buil | --bui | --bu) | -build | --build | --buil | --bui | --bu) |
529 | ac_prev=build ;; | ac_prev=build_alias ;; |
530 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
531 | build="$ac_optarg" ;; | build_alias=$ac_optarg ;; |
532 | ||
533 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
534 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
535 | ac_prev=cache_file ;; | ac_prev=cache_file ;; |
536 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
537 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
538 | cache_file="$ac_optarg" ;; | cache_file=$ac_optarg ;; |
539 | ||
540 | --config-cache | -C) | |
541 | cache_file=config.cache ;; | |
542 | ||
543 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
544 | ac_prev=datadir ;; | ac_prev=datadir ;; |
545 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
546 | | --da=*) | | --da=*) |
547 | datadir="$ac_optarg" ;; | datadir=$ac_optarg ;; |
548 | ||
549 | -disable-* | --disable-*) | -disable-* | --disable-*) |
550 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
551 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
552 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
553 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
554 | fi | { (exit 1); exit 1; }; } |
555 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
556 | eval "enable_${ac_feature}=no" ;; | eval "enable_$ac_feature=no" ;; |
557 | ||
558 | -enable-* | --enable-*) | -enable-* | --enable-*) |
559 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
560 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
561 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
562 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
563 | fi | { (exit 1); exit 1; }; } |
564 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
565 | case "$ac_option" in | case $ac_option in |
566 | *=*) ;; | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
567 | *) ac_optarg=yes ;; | *) ac_optarg=yes ;; |
568 | esac | esac |
569 | eval "enable_${ac_feature}='$ac_optarg'" ;; | eval "enable_$ac_feature='$ac_optarg'" ;; |
570 | ||
571 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
572 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
# | Line 129 do | Line 575 do |
575 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
576 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
577 | | --exec=* | --exe=* | --ex=*) | | --exec=* | --exe=* | --ex=*) |
578 | exec_prefix="$ac_optarg" ;; | exec_prefix=$ac_optarg ;; |
579 | ||
580 | -gas | --gas | --ga | --g) | -gas | --gas | --ga | --g) |
581 | # Obsolete; use --with-gas. | # Obsolete; use --with-gas. |
582 | with_gas=yes ;; | with_gas=yes ;; |
583 | ||
584 | -help | --help | --hel | --he) | -help | --help | --hel | --he | -h) |
585 | # Omit some internal or obsolete options to make the list less imposing. | ac_init_help=long ;; |
586 | # The list generated by autoconf has been trimmed to remove many | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
587 | # options that are totally irrelevant to PCRE (e.g. relating to X), | ac_init_help=recursive ;; |
588 | # or are not supported by its Makefile. | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
589 | # The list generated by autoconf has been trimmed to remove many | ac_init_help=short ;; |
# options that are totally irrelevant to PCRE (e.g. relating to X), | ||
# or are not supported by its Makefile. | ||
# The list generated by autoconf has been trimmed to remove many | ||
# options that are totally irrelevant to PCRE (e.g. relating to X), | ||
# or are not supported by its Makefile. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat << EOF | ||
Usage: ./configure [options] | ||
Options: [defaults in brackets after descriptions] | ||
Configuration: | ||
--cache-file=FILE cache test results in FILE | ||
--help print this message | ||
--no-create do not create output files | ||
--quiet, --silent do not print \`checking...' messages | ||
--version print the version of autoconf that created configure | ||
Directory and file names: | ||
--prefix=PREFIX install architecture-independent files in PREFIX | ||
[$ac_default_prefix] | ||
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
[same as prefix] | ||
--bindir=DIR user executables in DIR [EPREFIX/bin] | ||
--libdir=DIR object code libraries in DIR [EPREFIX/lib] | ||
--includedir=DIR C header files in DIR [PREFIX/include] | ||
--mandir=DIR man documentation in DIR [PREFIX/man] | ||
EOF | ||
cat << EOF | ||
EOF | ||
if test -n "$ac_help"; then | ||
echo "--enable and --with options recognized:$ac_help" | ||
fi | ||
exit 0 ;; | ||
590 | ||
591 | -host | --host | --hos | --ho) | -host | --host | --hos | --ho) |
592 | ac_prev=host ;; | ac_prev=host_alias ;; |
593 | -host=* | --host=* | --hos=* | --ho=*) | -host=* | --host=* | --hos=* | --ho=*) |
594 | host="$ac_optarg" ;; | host_alias=$ac_optarg ;; |
595 | ||
596 | -includedir | --includedir | --includedi | --included | --include \ | -includedir | --includedir | --includedi | --included | --include \ |
597 | | --includ | --inclu | --incl | --inc) | | --includ | --inclu | --incl | --inc) |
598 | ac_prev=includedir ;; | ac_prev=includedir ;; |
599 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
600 | | --includ=* | --inclu=* | --incl=* | --inc=*) | | --includ=* | --inclu=* | --incl=* | --inc=*) |
601 | includedir="$ac_optarg" ;; | includedir=$ac_optarg ;; |
602 | ||
603 | -infodir | --infodir | --infodi | --infod | --info | --inf) | -infodir | --infodir | --infodi | --infod | --info | --inf) |
604 | ac_prev=infodir ;; | ac_prev=infodir ;; |
605 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
606 | infodir="$ac_optarg" ;; | infodir=$ac_optarg ;; |
607 | ||
608 | -libdir | --libdir | --libdi | --libd) | -libdir | --libdir | --libdi | --libd) |
609 | ac_prev=libdir ;; | ac_prev=libdir ;; |
610 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
611 | libdir="$ac_optarg" ;; | libdir=$ac_optarg ;; |
612 | ||
613 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
614 | | --libexe | --libex | --libe) | | --libexe | --libex | --libe) |
615 | ac_prev=libexecdir ;; | ac_prev=libexecdir ;; |
616 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
617 | | --libexe=* | --libex=* | --libe=*) | | --libexe=* | --libex=* | --libe=*) |
618 | libexecdir="$ac_optarg" ;; | libexecdir=$ac_optarg ;; |
619 | ||
620 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
621 | | --localstate | --localstat | --localsta | --localst \ | | --localstate | --localstat | --localsta | --localst \ |
# | Line 209 EOF | Line 624 EOF |
624 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
625 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
626 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
627 | localstatedir="$ac_optarg" ;; | localstatedir=$ac_optarg ;; |
628 | ||
629 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
630 | ac_prev=mandir ;; | ac_prev=mandir ;; |
631 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
632 | mandir="$ac_optarg" ;; | mandir=$ac_optarg ;; |
633 | ||
634 | -nfp | --nfp | --nf) | -nfp | --nfp | --nf) |
635 | # Obsolete; use --without-fp. | # Obsolete; use --without-fp. |
636 | with_fp=no ;; | with_fp=no ;; |
637 | ||
638 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
639 | | --no-cr | --no-c) | | --no-cr | --no-c | -n) |
640 | no_create=yes ;; | no_create=yes ;; |
641 | ||
642 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
# | Line 235 EOF | Line 650 EOF |
650 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
651 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
652 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
653 | oldincludedir="$ac_optarg" ;; | oldincludedir=$ac_optarg ;; |
654 | ||
655 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
656 | ac_prev=prefix ;; | ac_prev=prefix ;; |
657 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
658 | prefix="$ac_optarg" ;; | prefix=$ac_optarg ;; |
659 | ||
660 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
661 | | --program-pre | --program-pr | --program-p) | | --program-pre | --program-pr | --program-p) |
662 | ac_prev=program_prefix ;; | ac_prev=program_prefix ;; |
663 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
664 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
665 | program_prefix="$ac_optarg" ;; | program_prefix=$ac_optarg ;; |
666 | ||
667 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
668 | | --program-suf | --program-su | --program-s) | | --program-suf | --program-su | --program-s) |
669 | ac_prev=program_suffix ;; | ac_prev=program_suffix ;; |
670 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
671 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
672 | program_suffix="$ac_optarg" ;; | program_suffix=$ac_optarg ;; |
673 | ||
674 | -program-transform-name | --program-transform-name \ | -program-transform-name | --program-transform-name \ |
675 | | --program-transform-nam | --program-transform-na \ | | --program-transform-nam | --program-transform-na \ |
# | Line 271 EOF | Line 686 EOF |
686 | | --program-transfo=* | --program-transf=* \ | | --program-transfo=* | --program-transf=* \ |
687 | | --program-trans=* | --program-tran=* \ | | --program-trans=* | --program-tran=* \ |
688 | | --progr-tra=* | --program-tr=* | --program-t=*) | | --progr-tra=* | --program-tr=* | --program-t=*) |
689 | program_transform_name="$ac_optarg" ;; | program_transform_name=$ac_optarg ;; |
690 | ||
691 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
692 | | -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) |
# | Line 281 EOF | Line 696 EOF |
696 | ac_prev=sbindir ;; | ac_prev=sbindir ;; |
697 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
698 | | --sbi=* | --sb=*) | | --sbi=* | --sb=*) |
699 | sbindir="$ac_optarg" ;; | sbindir=$ac_optarg ;; |
700 | ||
701 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
702 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
# | Line 292 EOF | Line 707 EOF |
707 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
708 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
709 | | --sha=* | --sh=*) | | --sha=* | --sh=*) |
710 | sharedstatedir="$ac_optarg" ;; | sharedstatedir=$ac_optarg ;; |
711 | ||
712 | -site | --site | --sit) | -site | --site | --sit) |
713 | ac_prev=site ;; | ac_prev=site ;; |
714 | -site=* | --site=* | --sit=*) | -site=* | --site=* | --sit=*) |
715 | site="$ac_optarg" ;; | site=$ac_optarg ;; |
716 | ||
717 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
718 | ac_prev=srcdir ;; | ac_prev=srcdir ;; |
719 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
720 | srcdir="$ac_optarg" ;; | srcdir=$ac_optarg ;; |
721 | ||
722 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
723 | | --syscon | --sysco | --sysc | --sys | --sy) | | --syscon | --sysco | --sysc | --sys | --sy) |
724 | ac_prev=sysconfdir ;; | ac_prev=sysconfdir ;; |
725 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
726 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
727 | sysconfdir="$ac_optarg" ;; | sysconfdir=$ac_optarg ;; |
728 | ||
729 | -target | --target | --targe | --targ | --tar | --ta | --t) | -target | --target | --targe | --targ | --tar | --ta | --t) |
730 | ac_prev=target ;; | ac_prev=target_alias ;; |
731 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
732 | target="$ac_optarg" ;; | target_alias=$ac_optarg ;; |
733 | ||
734 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
735 | verbose=yes ;; | verbose=yes ;; |
736 | ||
737 | -version | --version | --versio | --versi | --vers) | -version | --version | --versio | --versi | --vers | -V) |
738 | echo "configure generated by autoconf version 2.13" | ac_init_version=: ;; |
exit 0 ;; | ||
739 | ||
740 | -with-* | --with-*) | -with-* | --with-*) |
741 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
742 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
743 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
744 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
745 | fi | { (exit 1); exit 1; }; } |
746 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package| sed 's/-/_/g'` |
747 | case "$ac_option" in | case $ac_option in |
748 | *=*) ;; | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
749 | *) ac_optarg=yes ;; | *) ac_optarg=yes ;; |
750 | esac | esac |
751 | eval "with_${ac_package}='$ac_optarg'" ;; | eval "with_$ac_package='$ac_optarg'" ;; |
752 | ||
753 | -without-* | --without-*) | -without-* | --without-*) |
754 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
755 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
756 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
757 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
758 | fi | { (exit 1); exit 1; }; } |
759 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package | sed 's/-/_/g'` |
760 | eval "with_${ac_package}=no" ;; | eval "with_$ac_package=no" ;; |
761 | ||
762 | --x) | --x) |
763 | # Obsolete; use --with-x. | # Obsolete; use --with-x. |
# | Line 354 EOF | Line 768 EOF |
768 | ac_prev=x_includes ;; | ac_prev=x_includes ;; |
769 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
770 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
771 | x_includes="$ac_optarg" ;; | x_includes=$ac_optarg ;; |
772 | ||
773 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
774 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
775 | ac_prev=x_libraries ;; | ac_prev=x_libraries ;; |
776 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
777 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
778 | x_libraries="$ac_optarg" ;; | x_libraries=$ac_optarg ;; |
779 | ||
780 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | -*) { echo "$as_me: error: unrecognized option: $ac_option |
781 | Try \`$0 --help' for more information." >&2 | |
782 | { (exit 1); exit 1; }; } | |
783 | ;; | ;; |
784 | ||
785 | *=*) | |
786 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
787 | # Reject names that are not valid shell variable names. | |
788 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
789 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
790 | { (exit 1); exit 1; }; } | |
791 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
792 | eval "$ac_envvar='$ac_optarg'" | |
793 | export $ac_envvar ;; | |
794 | ||
795 | *) | *) |
796 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | # FIXME: should be removed in autoconf 3.0. |
797 | echo "configure: warning: $ac_option: invalid host type" 1>&2 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
798 | fi | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
799 | if test "x$nonopt" != xNONE; then | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
800 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
fi | ||
nonopt="$ac_option" | ||
801 | ;; | ;; |
802 | ||
803 | esac | esac |
804 | done | done |
805 | ||
806 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
807 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
808 | fi | { echo "$as_me: error: missing argument to $ac_option" >&2 |
809 | { (exit 1); exit 1; }; } | |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | ||
# File descriptor usage: | ||
# 0 standard input | ||
# 1 file creation | ||
# 2 errors and warnings | ||
# 3 some systems may open it to /dev/tty | ||
# 4 used on the Kubota Titan | ||
# 6 checking for... messages and results | ||
# 5 compiler messages saved in config.log | ||
if test "$silent" = yes; then | ||
exec 6>/dev/null | ||
else | ||
exec 6>&1 | ||
810 | fi | fi |
exec 5>./config.log | ||
811 | ||
812 | echo "\ | # Be sure to have absolute paths. |
813 | This file contains any messages produced by compilers while | for ac_var in exec_prefix prefix |
814 | running configure, to aid debugging if configure makes a mistake. | do |
815 | " 1>&5 | eval ac_val=$`echo $ac_var` |
816 | case $ac_val in | |
817 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
818 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
819 | { (exit 1); exit 1; }; };; | |
820 | esac | |
821 | done | |
822 | ||
823 | # Strip out --no-create and --no-recursion so they do not pile up. | # Be sure to have absolute paths. |
824 | # Also quote any args containing shell metacharacters. | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
825 | ac_configure_args= | localstatedir libdir includedir oldincludedir infodir mandir |
for ac_arg | ||
826 | do | do |
827 | case "$ac_arg" in | eval ac_val=$`echo $ac_var` |
828 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | case $ac_val in |
829 | | --no-cr | --no-c) ;; | [\\/$]* | ?:[\\/]* ) ;; |
830 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
831 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | { (exit 1); exit 1; }; };; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | ||
ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
*) ac_configure_args="$ac_configure_args $ac_arg" ;; | ||
832 | esac | esac |
833 | done | done |
834 | ||
835 | # NLS nuisances. | # There might be people who depend on the old broken behavior: `$host' |
836 | # Only set these to C if already set. These must not be set unconditionally | # used to hold the argument of --host etc. |
837 | # because not all systems understand e.g. LANG=C (notably SCO). | # FIXME: To remove some day. |
838 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | build=$build_alias |
839 | # Non-C LC_CTYPE values break the ctype check. | host=$host_alias |
840 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi | target=$target_alias |
841 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | |
842 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | # FIXME: To remove some day. |
843 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | if test "x$host_alias" != x; then |
844 | if test "x$build_alias" = x; then | |
845 | cross_compiling=maybe | |
846 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
847 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
848 | elif test "x$build_alias" != "x$host_alias"; then | |
849 | cross_compiling=yes | |
850 | fi | |
851 | fi | |
852 | ||
853 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ac_tool_prefix= |
854 | rm -rf conftest* confdefs.h | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
855 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
856 | echo > confdefs.h | test "$silent" = yes && exec 6>/dev/null |
857 | ||
# A filename unique to this package, relative to the directory that | ||
# configure is in, which we can look for to find out if srcdir is correct. | ||
ac_unique_file=dftables.c | ||
858 | ||
859 | # Find the source files, if location was not specified. | # Find the source files, if location was not specified. |
860 | if test -z "$srcdir"; then | if test -z "$srcdir"; then |
861 | ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
862 | # Try the directory containing this script, then its parent. | # Try the directory containing this script, then its parent. |
863 | ac_prog=$0 | ac_confdir=`(dirname "$0") 2>/dev/null || |
864 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
865 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | X"$0" : 'X\(//\)[^/]' \| \ |
866 | X"$0" : 'X\(//\)$' \| \ | |
867 | X"$0" : 'X\(/\)' \| \ | |
868 | . : '\(.\)' 2>/dev/null || | |
869 | echo X"$0" | | |
870 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
871 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
872 | /^X\(\/\/\)$/{ s//\1/; q; } | |
873 | /^X\(\/\).*/{ s//\1/; q; } | |
874 | s/.*/./; q'` | |
875 | srcdir=$ac_confdir | srcdir=$ac_confdir |
876 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
877 | srcdir=.. | srcdir=.. |
# | Line 456 else | Line 881 else |
881 | fi | fi |
882 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
883 | if test "$ac_srcdir_defaulted" = yes; then | if test "$ac_srcdir_defaulted" = yes; then |
884 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
885 | { (exit 1); exit 1; }; } | |
886 | else | else |
887 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
888 | { (exit 1); exit 1; }; } | |
889 | fi | fi |
890 | fi | fi |
891 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
892 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | |
893 | { (exit 1); exit 1; }; } | |
894 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
895 | ac_env_build_alias_set=${build_alias+set} | |
896 | ac_env_build_alias_value=$build_alias | |
897 | ac_cv_env_build_alias_set=${build_alias+set} | |
898 | ac_cv_env_build_alias_value=$build_alias | |
899 | ac_env_host_alias_set=${host_alias+set} | |
900 | ac_env_host_alias_value=$host_alias | |
901 | ac_cv_env_host_alias_set=${host_alias+set} | |
902 | ac_cv_env_host_alias_value=$host_alias | |
903 | ac_env_target_alias_set=${target_alias+set} | |
904 | ac_env_target_alias_value=$target_alias | |
905 | ac_cv_env_target_alias_set=${target_alias+set} | |
906 | ac_cv_env_target_alias_value=$target_alias | |
907 | ac_env_CC_set=${CC+set} | |
908 | ac_env_CC_value=$CC | |
909 | ac_cv_env_CC_set=${CC+set} | |
910 | ac_cv_env_CC_value=$CC | |
911 | ac_env_CFLAGS_set=${CFLAGS+set} | |
912 | ac_env_CFLAGS_value=$CFLAGS | |
913 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
914 | ac_cv_env_CFLAGS_value=$CFLAGS | |
915 | ac_env_LDFLAGS_set=${LDFLAGS+set} | |
916 | ac_env_LDFLAGS_value=$LDFLAGS | |
917 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
918 | ac_cv_env_LDFLAGS_value=$LDFLAGS | |
919 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
920 | ac_env_CPPFLAGS_value=$CPPFLAGS | |
921 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
922 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
923 | ac_env_CPP_set=${CPP+set} | |
924 | ac_env_CPP_value=$CPP | |
925 | ac_cv_env_CPP_set=${CPP+set} | |
926 | ac_cv_env_CPP_value=$CPP | |
927 | ac_env_CXX_set=${CXX+set} | |
928 | ac_env_CXX_value=$CXX | |
929 | ac_cv_env_CXX_set=${CXX+set} | |
930 | ac_cv_env_CXX_value=$CXX | |
931 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | |
932 | ac_env_CXXFLAGS_value=$CXXFLAGS | |
933 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | |
934 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | |
935 | ac_env_CXXCPP_set=${CXXCPP+set} | |
936 | ac_env_CXXCPP_value=$CXXCPP | |
937 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | |
938 | ac_cv_env_CXXCPP_value=$CXXCPP | |
939 | ac_env_F77_set=${F77+set} | |
940 | ac_env_F77_value=$F77 | |
941 | ac_cv_env_F77_set=${F77+set} | |
942 | ac_cv_env_F77_value=$F77 | |
943 | ac_env_FFLAGS_set=${FFLAGS+set} | |
944 | ac_env_FFLAGS_value=$FFLAGS | |
945 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | |
946 | ac_cv_env_FFLAGS_value=$FFLAGS | |
947 | ||
948 | # Prefer explicitly selected file to automatically selected ones. | # |
949 | if test -z "$CONFIG_SITE"; then | # Report the --help message. |
950 | if test "x$prefix" != xNONE; then | # |
951 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | if test "$ac_init_help" = "long"; then |
952 | else | # Omit some internal or obsolete options to make the list less imposing. |
953 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | # The list generated by autoconf has been trimmed to remove many |
954 | fi | # options that are totally irrelevant to PCRE (e.g. relating to X), |
955 | fi | # or are not supported by its Makefile. |
956 | for ac_site_file in $CONFIG_SITE; do | # The list generated by autoconf has been trimmed to remove many |
957 | if test -r "$ac_site_file"; then | # options that are totally irrelevant to PCRE (e.g. relating to X), |
958 | echo "loading site script $ac_site_file" | # or are not supported by its Makefile. |
959 | . "$ac_site_file" | # The list generated by autoconf has been trimmed to remove many |
960 | fi | # options that are totally irrelevant to PCRE (e.g. relating to X), |
961 | done | # or are not supported by its Makefile. |
962 | # The list generated by autoconf has been trimmed to remove many | |
963 | # options that are totally irrelevant to PCRE (e.g. relating to X), | |
964 | # or are not supported by its Makefile. | |
965 | # The list generated by autoconf has been trimmed to remove many | |
966 | # options that are totally irrelevant to PCRE (e.g. relating to X), | |
967 | # or are not supported by its Makefile. | |
968 | # The list generated by autoconf has been trimmed to remove many | |
969 | # options that are totally irrelevant to PCRE (e.g. relating to X), | |
970 | # or are not supported by its Makefile. | |
971 | # This message is too long to be a string in the A/UX 3.1 sh. | |
972 | cat <<_ACEOF | |
973 | \`configure' configures this package to adapt to many kinds of systems. | |
974 | ||
975 | if test -r "$cache_file"; then | Usage: $0 [OPTION]... [VAR=VALUE]... |
echo "loading cache $cache_file" | ||
. $cache_file | ||
else | ||
echo "creating cache $cache_file" | ||
> $cache_file | ||
fi | ||
976 | ||
977 | ac_ext=c | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
978 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | VAR=VALUE. See below for descriptions of some of the useful variables. |
ac_cpp='$CPP $CPPFLAGS' | ||
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | ||
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
cross_compiling=$ac_cv_prog_cc_cross | ||
979 | ||
980 | ac_exeext= | Defaults for the options are specified in brackets. |
ac_objext=o | ||
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | ||
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | ||
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | ||
ac_n= ac_c=' | ||
' ac_t=' ' | ||
else | ||
ac_n=-n ac_c= ac_t= | ||
fi | ||
else | ||
ac_n= ac_c='\c' ac_t= | ||
fi | ||
981 | ||
982 | Configuration: | |
983 | -h, --help display this help and exit | |
984 | --help=short display options specific to this package | |
985 | --help=recursive display the short help of all the included packages | |
986 | -V, --version display version information and exit | |
987 | -q, --quiet, --silent do not print \`checking...' messages | |
988 | --cache-file=FILE cache test results in FILE [disabled] | |
989 | -C, --config-cache alias for \`--cache-file=config.cache' | |
990 | -n, --no-create do not create output files | |
991 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
992 | ||
993 | _ACEOF | |
994 | ||
995 | cat <<_ACEOF | |
996 | Installation directories: | |
997 | --prefix=PREFIX install architecture-independent files in PREFIX | |
998 | [$ac_default_prefix] | |
999 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1000 | [PREFIX] | |
1001 | ||
1002 | By default, \`make install' will install all the files in | |
1003 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1004 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1005 | for instance \`--prefix=\$HOME'. | |
1006 | ||
1007 | For better control, use the options below. | |
1008 | ||
1009 | PCRE_MAJOR=3 | Fine tuning of the installation directories: |
1010 | PCRE_MINOR=3 | --bindir=DIR user executables [EPREFIX/bin] |
1011 | PCRE_DATE=01-Aug-2000 | --libdir=DIR object code libraries [EPREFIX/lib] |
1012 | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} | --includedir=DIR C header files [PREFIX/include] |
1013 | --mandir=DIR man documentation [PREFIX/man] | |
1014 | _ACEOF | |
1015 | ||
1016 | cat <<\_ACEOF | |
1017 | ||
1018 | PCRE_LIB_VERSION=0:1:0 | _ACEOF |
1019 | PCRE_POSIXLIB_VERSION=0:0:0 | fi |
1020 | ||
1021 | if test -n "$ac_init_help"; then | |
1022 | ||
1023 | # Extract the first word of "gcc", so it can be a program name with args. | cat <<\_ACEOF |
1024 | set dummy gcc; ac_word=$2 | |
1025 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | Optional Features: |
1026 | echo "configure:546: checking for $ac_word" >&5 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1027 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1028 | echo $ac_n "(cached) $ac_c" 1>&6 | --enable-shared[ ] |
1029 | else | build shared libraries [default=yes] |
1030 | if test -n "$CC"; then | --enable-static[ ] |
1031 | ac_cv_prog_CC="$CC" # Let the user override the test. | build static libraries [default=yes] |
1032 | else | --enable-fast-install[ ] |
1033 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | optimize for fast installation [default=yes] |
1034 | ac_dummy="$PATH" | --disable-libtool-lock avoid locking (might break parallel builds) |
1035 | for ac_dir in $ac_dummy; do | --enable-utf8 enable UTF8 support |
1036 | test -z "$ac_dir" && ac_dir=. | --enable-unicode-properties enable Unicode properties support |
1037 | if test -f $ac_dir/$ac_word; then | --enable-newline-is-cr use CR as the newline character |
1038 | ac_cv_prog_CC="gcc" | --enable-newline-is-lf use LF as the newline character |
1039 | break | --enable-ebcdic assume EBCDIC coding rather than ASCII |
1040 | fi | --disable-stack-for-recursion disable use of stack recursion when matching |
1041 | done | |
1042 | IFS="$ac_save_ifs" | Optional Packages: |
1043 | fi | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1044 | --with-pic try to use only PIC/non-PIC objects [default=use | |
1045 | both] | |
1046 | --with-tags[=TAGS] | |
1047 | include additional configurations [automatic] | |
1048 | --with-posix-malloc-threshold=5 threshold for POSIX malloc usage | |
1049 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | |
1050 | --with-match-limit=10000000 default limit on internal looping) | |
1051 | ||
1052 | Some influential environment variables: | |
1053 | CC C compiler command | |
1054 | CFLAGS C compiler flags | |
1055 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1056 | nonstandard directory <lib dir> | |
1057 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
1058 | headers in a nonstandard directory <include dir> | |
1059 | CPP C preprocessor | |
1060 | CXX C++ compiler command | |
1061 | CXXFLAGS C++ compiler flags | |
1062 | CXXCPP C++ preprocessor | |
1063 | F77 Fortran 77 compiler command | |
1064 | FFLAGS Fortran 77 compiler flags | |
1065 | ||
1066 | Use these variables to override the choices made by `configure' or to help | |
1067 | it to find libraries and programs with nonstandard names/locations. | |
1068 | ||
1069 | _ACEOF | |
1070 | fi | fi |
1071 | CC="$ac_cv_prog_CC" | |
1072 | if test -n "$CC"; then | if test "$ac_init_help" = "recursive"; then |
1073 | echo "$ac_t""$CC" 1>&6 | # If there are subdirs, report their specific --help. |
1074 | ac_popdir=`pwd` | |
1075 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1076 | test -d $ac_dir || continue | |
1077 | ac_builddir=. | |
1078 | ||
1079 | if test "$ac_dir" != .; then | |
1080 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
1081 | # A "../" for each directory in $ac_dir_suffix. | |
1082 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
1083 | else | else |
1084 | echo "$ac_t""no" 1>&6 | ac_dir_suffix= ac_top_builddir= |
1085 | fi | fi |
1086 | ||
1087 | if test -z "$CC"; then | case $srcdir in |
1088 | # Extract the first word of "cc", so it can be a program name with args. | .) # No --srcdir option. We are building in place. |
1089 | set dummy cc; ac_word=$2 | ac_srcdir=. |
1090 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | if test -z "$ac_top_builddir"; then |
1091 | echo "configure:576: checking for $ac_word" >&5 | ac_top_srcdir=. |
1092 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | else |
1093 | echo $ac_n "(cached) $ac_c" 1>&6 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
1094 | else | fi ;; |
1095 | if test -n "$CC"; then | [\\/]* | ?:[\\/]* ) # Absolute path. |
1096 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_srcdir=$srcdir$ac_dir_suffix; |
1097 | else | ac_top_srcdir=$srcdir ;; |
1098 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | *) # Relative path. |
1099 | ac_prog_rejected=no | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1100 | ac_dummy="$PATH" | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1101 | for ac_dir in $ac_dummy; do | esac |
1102 | test -z "$ac_dir" && ac_dir=. | |
1103 | if test -f $ac_dir/$ac_word; then | # Do not use `cd foo && pwd` to compute absolute paths, because |
1104 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | # the directories may not exist. |
1105 | ac_prog_rejected=yes | case `pwd` in |
1106 | continue | .) ac_abs_builddir="$ac_dir";; |
1107 | fi | *) |
1108 | ac_cv_prog_CC="cc" | case "$ac_dir" in |
1109 | break | .) ac_abs_builddir=`pwd`;; |
1110 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
1111 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
1112 | esac;; | |
1113 | esac | |
1114 | case $ac_abs_builddir in | |
1115 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
1116 | *) | |
1117 | case ${ac_top_builddir}. in | |
1118 | .) ac_abs_top_builddir=$ac_abs_builddir;; | |
1119 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
1120 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
1121 | esac;; | |
1122 | esac | |
1123 | case $ac_abs_builddir in | |
1124 | .) ac_abs_srcdir=$ac_srcdir;; | |
1125 | *) | |
1126 | case $ac_srcdir in | |
1127 | .) ac_abs_srcdir=$ac_abs_builddir;; | |
1128 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
1129 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
1130 | esac;; | |
1131 | esac | |
1132 | case $ac_abs_builddir in | |
1133 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
1134 | *) | |
1135 | case $ac_top_srcdir in | |
1136 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
1137 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
1138 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
1139 | esac;; | |
1140 | esac | |
1141 | ||
1142 | cd $ac_dir | |
1143 | # Check for guested configure; otherwise get Cygnus style configure. | |
1144 | if test -f $ac_srcdir/configure.gnu; then | |
1145 | echo | |
1146 | $SHELL $ac_srcdir/configure.gnu --help=recursive | |
1147 | elif test -f $ac_srcdir/configure; then | |
1148 | echo | |
1149 | $SHELL $ac_srcdir/configure --help=recursive | |
1150 | elif test -f $ac_srcdir/configure.ac || | |
1151 | test -f $ac_srcdir/configure.in; then | |
1152 | echo | |
1153 | $ac_configure --help | |
1154 | else | |
1155 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1156 | fi | fi |
1157 | cd $ac_popdir | |
1158 | done | done |
IFS="$ac_save_ifs" | ||
if test $ac_prog_rejected = yes; then | ||
# We found a bogon in the path, so make sure we never use it. | ||
set dummy $ac_cv_prog_CC | ||
shift | ||
if test $# -gt 0; then | ||
# We chose a different compiler from the bogus one. | ||
# However, it has the same basename, so the bogon will be chosen | ||
# first if we set CC to just the basename; use the full file name. | ||
shift | ||
set dummy "$ac_dir/$ac_word" "$@" | ||
shift | ||
ac_cv_prog_CC="$@" | ||
fi | ||
1159 | fi | fi |
1160 | ||
1161 | test -n "$ac_init_help" && exit 0 | |
1162 | if $ac_init_version; then | |
1163 | cat <<\_ACEOF | |
1164 | ||
1165 | Copyright (C) 2003 Free Software Foundation, Inc. | |
1166 | This configure script is free software; the Free Software Foundation | |
1167 | gives unlimited permission to copy, distribute and modify it. | |
1168 | _ACEOF | |
1169 | exit 0 | |
1170 | fi | |
1171 | exec 5>config.log | |
1172 | cat >&5 <<_ACEOF | |
1173 | This file contains any messages produced by compilers while | |
1174 | running configure, to aid debugging if configure makes a mistake. | |
1175 | ||
1176 | It was created by $as_me, which was | |
1177 | generated by GNU Autoconf 2.59. Invocation command line was | |
1178 | ||
1179 | $ $0 $@ | |
1180 | ||
1181 | _ACEOF | |
1182 | { | |
1183 | cat <<_ASUNAME | |
1184 | ## --------- ## | |
1185 | ## Platform. ## | |
1186 | ## --------- ## | |
1187 | ||
1188 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1189 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1190 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1191 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1192 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1193 | ||
1194 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1195 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1196 | ||
1197 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1198 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1199 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1200 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
1201 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1202 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1203 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1204 | ||
1205 | _ASUNAME | |
1206 | ||
1207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1208 | for as_dir in $PATH | |
1209 | do | |
1210 | IFS=$as_save_IFS | |
1211 | test -z "$as_dir" && as_dir=. | |
1212 | echo "PATH: $as_dir" | |
1213 | done | |
1214 | ||
1215 | } >&5 | |
1216 | ||
1217 | cat >&5 <<_ACEOF | |
1218 | ||
1219 | ||
1220 | ## ----------- ## | |
1221 | ## Core tests. ## | |
1222 | ## ----------- ## | |
1223 | ||
1224 | _ACEOF | |
1225 | ||
1226 | ||
1227 | # Keep a trace of the command line. | |
1228 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1229 | # Strip out --silent because we don't want to record it for future runs. | |
1230 | # Also quote any args containing shell meta-characters. | |
1231 | # Make two passes to allow for proper duplicate-argument suppression. | |
1232 | ac_configure_args= | |
1233 | ac_configure_args0= | |
1234 | ac_configure_args1= | |
1235 | ac_sep= | |
1236 | ac_must_keep_next=false | |
1237 | for ac_pass in 1 2 | |
1238 | do | |
1239 | for ac_arg | |
1240 | do | |
1241 | case $ac_arg in | |
1242 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1243 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1244 | | -silent | --silent | --silen | --sile | --sil) | |
1245 | continue ;; | |
1246 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1247 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1248 | esac | |
1249 | case $ac_pass in | |
1250 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1251 | 2) | |
1252 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1253 | if test $ac_must_keep_next = true; then | |
1254 | ac_must_keep_next=false # Got value, back to normal. | |
1255 | else | |
1256 | case $ac_arg in | |
1257 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1258 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1259 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1260 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1261 | case "$ac_configure_args0 " in | |
1262 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1263 | esac | |
1264 | ;; | |
1265 | -* ) ac_must_keep_next=true ;; | |
1266 | esac | |
1267 | fi | |
1268 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
1269 | # Get rid of the leading space. | |
1270 | ac_sep=" " | |
1271 | ;; | |
1272 | esac | |
1273 | done | |
1274 | done | |
1275 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1276 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1277 | ||
1278 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1279 | # config.log. We remove comments because anyway the quotes in there | |
1280 | # would cause problems or look ugly. | |
1281 | # WARNING: Be sure not to use single quotes in there, as some shells, | |
1282 | # such as our DU 5.0 friend, will then `close' the trap. | |
1283 | trap 'exit_status=$? | |
1284 | # Save into config.log some information that might help in debugging. | |
1285 | { | |
1286 | echo | |
1287 | ||
1288 | cat <<\_ASBOX | |
1289 | ## ---------------- ## | |
1290 | ## Cache variables. ## | |
1291 | ## ---------------- ## | |
1292 | _ASBOX | |
1293 | echo | |
1294 | # The following way of writing the cache mishandles newlines in values, | |
1295 | { | |
1296 | (set) 2>&1 | | |
1297 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
1298 | *ac_space=\ *) | |
1299 | sed -n \ | |
1300 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
1301 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | |
1302 | ;; | |
1303 | *) | |
1304 | sed -n \ | |
1305 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
1306 | ;; | |
1307 | esac; | |
1308 | } | |
1309 | echo | |
1310 | ||
1311 | cat <<\_ASBOX | |
1312 | ## ----------------- ## | |
1313 | ## Output variables. ## | |
1314 | ## ----------------- ## | |
1315 | _ASBOX | |
1316 | echo | |
1317 | for ac_var in $ac_subst_vars | |
1318 | do | |
1319 | eval ac_val=$`echo $ac_var` | |
1320 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1321 | done | sort | |
1322 | echo | |
1323 | ||
1324 | if test -n "$ac_subst_files"; then | |
1325 | cat <<\_ASBOX | |
1326 | ## ------------- ## | |
1327 | ## Output files. ## | |
1328 | ## ------------- ## | |
1329 | _ASBOX | |
1330 | echo | |
1331 | for ac_var in $ac_subst_files | |
1332 | do | |
1333 | eval ac_val=$`echo $ac_var` | |
1334 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1335 | done | sort | |
1336 | echo | |
1337 | fi | |
1338 | ||
1339 | if test -s confdefs.h; then | |
1340 | cat <<\_ASBOX | |
1341 | ## ----------- ## | |
1342 | ## confdefs.h. ## | |
1343 | ## ----------- ## | |
1344 | _ASBOX | |
1345 | echo | |
1346 | sed "/^$/d" confdefs.h | sort | |
1347 | echo | |
1348 | fi | |
1349 | test "$ac_signal" != 0 && | |
1350 | echo "$as_me: caught signal $ac_signal" | |
1351 | echo "$as_me: exit $exit_status" | |
1352 | } >&5 | |
1353 | rm -f core *.core && | |
1354 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1355 | exit $exit_status | |
1356 | ' 0 | |
1357 | for ac_signal in 1 2 13 15; do | |
1358 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1359 | done | |
1360 | ac_signal=0 | |
1361 | ||
1362 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1363 | rm -rf conftest* confdefs.h | |
1364 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1365 | echo >confdefs.h | |
1366 | ||
1367 | # Predefined preprocessor variables. | |
1368 | ||
1369 | cat >>confdefs.h <<_ACEOF | |
1370 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1371 | _ACEOF | |
1372 | ||
1373 | ||
1374 | cat >>confdefs.h <<_ACEOF | |
1375 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1376 | _ACEOF | |
1377 | ||
1378 | ||
1379 | cat >>confdefs.h <<_ACEOF | |
1380 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1381 | _ACEOF | |
1382 | ||
1383 | ||
1384 | cat >>confdefs.h <<_ACEOF | |
1385 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1386 | _ACEOF | |
1387 | ||
1388 | ||
1389 | cat >>confdefs.h <<_ACEOF | |
1390 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1391 | _ACEOF | |
1392 | ||
1393 | ||
1394 | # Let the site file select an alternate cache file if it wants to. | |
1395 | # Prefer explicitly selected file to automatically selected ones. | |
1396 | if test -z "$CONFIG_SITE"; then | |
1397 | if test "x$prefix" != xNONE; then | |
1398 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
1399 | else | |
1400 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
1401 | fi | |
1402 | fi | |
1403 | for ac_site_file in $CONFIG_SITE; do | |
1404 | if test -r "$ac_site_file"; then | |
1405 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1406 | echo "$as_me: loading site script $ac_site_file" >&6;} | |
1407 | sed 's/^/| /' "$ac_site_file" >&5 | |
1408 | . "$ac_site_file" | |
1409 | fi | |
1410 | done | |
1411 | ||
1412 | if test -r "$cache_file"; then | |
1413 | # Some versions of bash will fail to source /dev/null (special | |
1414 | # files actually), so we avoid doing that. | |
1415 | if test -f "$cache_file"; then | |
1416 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1417 | echo "$as_me: loading cache $cache_file" >&6;} | |
1418 | case $cache_file in | |
1419 | [\\/]* | ?:[\\/]* ) . $cache_file;; | |
1420 | *) . ./$cache_file;; | |
1421 | esac | |
1422 | fi | |
1423 | else | |
1424 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1425 | echo "$as_me: creating cache $cache_file" >&6;} | |
1426 | >$cache_file | |
1427 | fi | |
1428 | ||
1429 | # Check that the precious variables saved in the cache have kept the same | |
1430 | # value. | |
1431 | ac_cache_corrupted=false | |
1432 | for ac_var in `(set) 2>&1 | | |
1433 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1434 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1435 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1436 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
1437 | eval ac_new_val="\$ac_env_${ac_var}_value" | |
1438 | case $ac_old_set,$ac_new_set in | |
1439 | set,) | |
1440 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1441 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1442 | ac_cache_corrupted=: ;; | |
1443 | ,set) | |
1444 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1445 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1446 | ac_cache_corrupted=: ;; | |
1447 | ,);; | |
1448 | *) | |
1449 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1450 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1451 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1452 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
1453 | echo "$as_me: former value: $ac_old_val" >&2;} | |
1454 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
1455 | echo "$as_me: current value: $ac_new_val" >&2;} | |
1456 | ac_cache_corrupted=: | |
1457 | fi;; | |
1458 | esac | |
1459 | # Pass precious variables to config.status. | |
1460 | if test "$ac_new_set" = set; then | |
1461 | case $ac_new_val in | |
1462 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1463 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1464 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1465 | esac | |
1466 | case " $ac_configure_args " in | |
1467 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1468 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1469 | esac | |
1470 | fi | |
1471 | done | |
1472 | if $ac_cache_corrupted; then | |
1473 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1474 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1475 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1476 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1477 | { (exit 1); exit 1; }; } | |
1478 | fi | |
1479 | ||
1480 | ac_ext=c | |
1481 | ac_cpp='$CPP $CPPFLAGS' | |
1482 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1483 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1484 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1485 | ||
1486 | ||
1487 | ||
1488 | ||
1489 | ||
1490 | ||
1491 | ||
1492 | ||
1493 | ||
1494 | ||
1495 | ||
1496 | ||
1497 | ||
1498 | ||
1499 | ||
1500 | ||
1501 | ||
1502 | ||
1503 | ||
1504 | ||
1505 | ||
1506 | ||
1507 | ||
1508 | ac_config_headers="$ac_config_headers config.h:config.in" | |
1509 | ||
1510 | ||
1511 | ||
1512 | PCRE_MAJOR=5 | |
1513 | PCRE_MINOR=0 | |
1514 | PCRE_DATE=13-Sep-2004 | |
1515 | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} | |
1516 | ||
1517 | ||
1518 | POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | |
1519 | ||
1520 | ||
1521 | PCRE_LIB_VERSION=0:1:0 | |
1522 | PCRE_POSIXLIB_VERSION=0:0:0 | |
1523 | ||
1524 | ||
1525 | ac_ext=c | |
1526 | ac_cpp='$CPP $CPPFLAGS' | |
1527 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1528 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1529 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1530 | if test -n "$ac_tool_prefix"; then | |
1531 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
1532 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
1533 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1535 | if test "${ac_cv_prog_CC+set}" = set; then | |
1536 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1537 | else | |
1538 | if test -n "$CC"; then | |
1539 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1540 | else | |
1541 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1542 | for as_dir in $PATH | |
1543 | do | |
1544 | IFS=$as_save_IFS | |
1545 | test -z "$as_dir" && as_dir=. | |
1546 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1547 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1548 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
1549 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1550 | break 2 | |
1551 | fi | |
1552 | done | |
1553 | done | |
1554 | ||
1555 | fi | |
1556 | fi | |
1557 | CC=$ac_cv_prog_CC | |
1558 | if test -n "$CC"; then | |
1559 | echo "$as_me:$LINENO: result: $CC" >&5 | |
1560 | echo "${ECHO_T}$CC" >&6 | |
1561 | else | |
1562 | echo "$as_me:$LINENO: result: no" >&5 | |
1563 | echo "${ECHO_T}no" >&6 | |
1564 | fi | fi |
1565 | ||
1566 | fi | |
1567 | if test -z "$ac_cv_prog_CC"; then | |
1568 | ac_ct_CC=$CC | |
1569 | # Extract the first word of "gcc", so it can be a program name with args. | |
1570 | set dummy gcc; ac_word=$2 | |
1571 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1572 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1573 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1575 | else | |
1576 | if test -n "$ac_ct_CC"; then | |
1577 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1578 | else | |
1579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1580 | for as_dir in $PATH | |
1581 | do | |
1582 | IFS=$as_save_IFS | |
1583 | test -z "$as_dir" && as_dir=. | |
1584 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1585 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1586 | ac_cv_prog_ac_ct_CC="gcc" | |
1587 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1588 | break 2 | |
1589 | fi | |
1590 | done | |
1591 | done | |
1592 | ||
1593 | fi | |
1594 | fi | |
1595 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1596 | if test -n "$ac_ct_CC"; then | |
1597 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1598 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
1599 | else | |
1600 | echo "$as_me:$LINENO: result: no" >&5 | |
1601 | echo "${ECHO_T}no" >&6 | |
1602 | fi | |
1603 | ||
1604 | CC=$ac_ct_CC | |
1605 | else | |
1606 | CC="$ac_cv_prog_CC" | |
1607 | fi | fi |
1608 | CC="$ac_cv_prog_CC" | |
1609 | if test -z "$CC"; then | |
1610 | if test -n "$ac_tool_prefix"; then | |
1611 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
1612 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
1613 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1614 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1615 | if test "${ac_cv_prog_CC+set}" = set; then | |
1616 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1617 | else | |
1618 | if test -n "$CC"; then | |
1619 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1620 | else | |
1621 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1622 | for as_dir in $PATH | |
1623 | do | |
1624 | IFS=$as_save_IFS | |
1625 | test -z "$as_dir" && as_dir=. | |
1626 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1627 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1628 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
1629 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1630 | break 2 | |
1631 | fi | |
1632 | done | |
1633 | done | |
1634 | ||
1635 | fi | |
1636 | fi | |
1637 | CC=$ac_cv_prog_CC | |
1638 | if test -n "$CC"; then | if test -n "$CC"; then |
1639 | echo "$ac_t""$CC" 1>&6 | echo "$as_me:$LINENO: result: $CC" >&5 |
1640 | echo "${ECHO_T}$CC" >&6 | |
1641 | else | |
1642 | echo "$as_me:$LINENO: result: no" >&5 | |
1643 | echo "${ECHO_T}no" >&6 | |
1644 | fi | |
1645 | ||
1646 | fi | |
1647 | if test -z "$ac_cv_prog_CC"; then | |
1648 | ac_ct_CC=$CC | |
1649 | # Extract the first word of "cc", so it can be a program name with args. | |
1650 | set dummy cc; ac_word=$2 | |
1651 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1652 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1653 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1654 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1655 | else | |
1656 | if test -n "$ac_ct_CC"; then | |
1657 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1658 | else | |
1659 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1660 | for as_dir in $PATH | |
1661 | do | |
1662 | IFS=$as_save_IFS | |
1663 | test -z "$as_dir" && as_dir=. | |
1664 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1665 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1666 | ac_cv_prog_ac_ct_CC="cc" | |
1667 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1668 | break 2 | |
1669 | fi | |
1670 | done | |
1671 | done | |
1672 | ||
1673 | fi | |
1674 | fi | |
1675 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1676 | if test -n "$ac_ct_CC"; then | |
1677 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1678 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
1679 | else | else |
1680 | echo "$ac_t""no" 1>&6 | echo "$as_me:$LINENO: result: no" >&5 |
1681 | echo "${ECHO_T}no" >&6 | |
1682 | fi | fi |
1683 | ||
1684 | if test -z "$CC"; then | CC=$ac_ct_CC |
1685 | case "`uname -s`" in | else |
1686 | *win32* | *WIN32*) | CC="$ac_cv_prog_CC" |
1687 | # Extract the first word of "cl", so it can be a program name with args. | fi |
1688 | set dummy cl; ac_word=$2 | |
1689 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | fi |
1690 | echo "configure:627: checking for $ac_word" >&5 | if test -z "$CC"; then |
1691 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | # Extract the first word of "cc", so it can be a program name with args. |
1692 | echo $ac_n "(cached) $ac_c" 1>&6 | set dummy cc; ac_word=$2 |
1693 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1694 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1695 | if test "${ac_cv_prog_CC+set}" = set; then | |
1696 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1697 | else | else |
1698 | if test -n "$CC"; then | if test -n "$CC"; then |
1699 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1700 | else | else |
1701 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | ac_prog_rejected=no |
1702 | ac_dummy="$PATH" | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1703 | for ac_dir in $ac_dummy; do | for as_dir in $PATH |
1704 | test -z "$ac_dir" && ac_dir=. | do |
1705 | if test -f $ac_dir/$ac_word; then | IFS=$as_save_IFS |
1706 | ac_cv_prog_CC="cl" | test -z "$as_dir" && as_dir=. |
1707 | break | for ac_exec_ext in '' $ac_executable_extensions; do |
1708 | fi | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1709 | done | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1710 | IFS="$ac_save_ifs" | ac_prog_rejected=yes |
1711 | continue | |
1712 | fi | |
1713 | ac_cv_prog_CC="cc" | |
1714 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1715 | break 2 | |
1716 | fi | |
1717 | done | |
1718 | done | |
1719 | ||
1720 | if test $ac_prog_rejected = yes; then | |
1721 | # We found a bogon in the path, so make sure we never use it. | |
1722 | set dummy $ac_cv_prog_CC | |
1723 | shift | |
1724 | if test $# != 0; then | |
1725 | # We chose a different compiler from the bogus one. | |
1726 | # However, it has the same basename, so the bogon will be chosen | |
1727 | # first if we set CC to just the basename; use the full file name. | |
1728 | shift | |
1729 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
1730 | fi | |
1731 | fi | |
1732 | fi | fi |
1733 | fi | fi |
1734 | CC="$ac_cv_prog_CC" | CC=$ac_cv_prog_CC |
1735 | if test -n "$CC"; then | if test -n "$CC"; then |
1736 | echo "$ac_t""$CC" 1>&6 | echo "$as_me:$LINENO: result: $CC" >&5 |
1737 | echo "${ECHO_T}$CC" >&6 | |
1738 | else | else |
1739 | echo "$ac_t""no" 1>&6 | echo "$as_me:$LINENO: result: no" >&5 |
1740 | echo "${ECHO_T}no" >&6 | |
1741 | fi | fi |
1742 | ;; | |
1743 | esac | fi |
1744 | if test -z "$CC"; then | |
1745 | if test -n "$ac_tool_prefix"; then | |
1746 | for ac_prog in cl | |
1747 | do | |
1748 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1749 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
1750 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1751 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1752 | if test "${ac_cv_prog_CC+set}" = set; then | |
1753 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1754 | else | |
1755 | if test -n "$CC"; then | |
1756 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1757 | else | |
1758 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1759 | for as_dir in $PATH | |
1760 | do | |
1761 | IFS=$as_save_IFS | |
1762 | test -z "$as_dir" && as_dir=. | |
1763 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1764 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1765 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
1766 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1767 | break 2 | |
1768 | fi | |
1769 | done | |
1770 | done | |
1771 | ||
1772 | fi | |
1773 | fi | |
1774 | CC=$ac_cv_prog_CC | |
1775 | if test -n "$CC"; then | |
1776 | echo "$as_me:$LINENO: result: $CC" >&5 | |
1777 | echo "${ECHO_T}$CC" >&6 | |
1778 | else | |
1779 | echo "$as_me:$LINENO: result: no" >&5 | |
1780 | echo "${ECHO_T}no" >&6 | |
1781 | fi | |
1782 | ||
1783 | test -n "$CC" && break | |
1784 | done | |
1785 | fi | |
1786 | if test -z "$CC"; then | |
1787 | ac_ct_CC=$CC | |
1788 | for ac_prog in cl | |
1789 | do | |
1790 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1791 | set dummy $ac_prog; ac_word=$2 | |
1792 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1793 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1794 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1795 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1796 | else | |
1797 | if test -n "$ac_ct_CC"; then | |
1798 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1799 | else | |
1800 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1801 | for as_dir in $PATH | |
1802 | do | |
1803 | IFS=$as_save_IFS | |
1804 | test -z "$as_dir" && as_dir=. | |
1805 | for ac_exec_ext in '' $ac_executable_extensions; do | |
1806 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1807 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
1808 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1809 | break 2 | |
1810 | fi | fi |
1811 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | done |
1812 | done | |
1813 | ||
1814 | fi | |
1815 | fi | |
1816 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1817 | if test -n "$ac_ct_CC"; then | |
1818 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1819 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
1820 | else | |
1821 | echo "$as_me:$LINENO: result: no" >&5 | |
1822 | echo "${ECHO_T}no" >&6 | |
1823 | fi | fi |
1824 | ||
1825 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | test -n "$ac_ct_CC" && break |
1826 | echo "configure:659: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | done |
1827 | ||
1828 | ac_ext=c | CC=$ac_ct_CC |
1829 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | fi |
ac_cpp='$CPP $CPPFLAGS' | ||
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | ||
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
cross_compiling=$ac_cv_prog_cc_cross | ||
1830 | ||
1831 | cat > conftest.$ac_ext << EOF | fi |
1832 | ||
#line 670 "configure" | ||
#include "confdefs.h" | ||
1833 | ||
1834 | main(){return(0);} | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1835 | EOF | See \`config.log' for more details." >&5 |
1836 | if { (eval echo configure:675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | echo "$as_me: error: no acceptable C compiler found in \$PATH |
1837 | ac_cv_prog_cc_works=yes | See \`config.log' for more details." >&2;} |
1838 | # If we can't run a trivial program, we are probably using a cross compiler. | { (exit 1); exit 1; }; } |
1839 | if (./conftest; exit) 2>/dev/null; then | |
1840 | ac_cv_prog_cc_cross=no | # Provide some information about the compiler. |
1841 | echo "$as_me:$LINENO:" \ | |
1842 | "checking for C compiler version" >&5 | |
1843 | ac_compiler=`set X $ac_compile; echo $2` | |
1844 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
1845 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
1846 | ac_status=$? | |
1847 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1848 | (exit $ac_status); } | |
1849 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
1850 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
1851 | ac_status=$? | |
1852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1853 | (exit $ac_status); } | |
1854 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
1855 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
1856 | ac_status=$? | |
1857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1858 | (exit $ac_status); } | |
1859 | ||
1860 | cat >conftest.$ac_ext <<_ACEOF | |
1861 | /* confdefs.h. */ | |
1862 | _ACEOF | |
1863 | cat confdefs.h >>conftest.$ac_ext | |
1864 | cat >>conftest.$ac_ext <<_ACEOF | |
1865 | /* end confdefs.h. */ | |
1866 | ||
1867 | int | |
1868 | main () | |
1869 | { | |
1870 | ||
1871 | ; | |
1872 | return 0; | |
1873 | } | |
1874 | _ACEOF | |
1875 | ac_clean_files_save=$ac_clean_files | |
1876 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
1877 | # Try to create an executable without -o first, disregard a.out. | |
1878 | # It will help us diagnose broken compilers, and finding out an intuition | |
1879 | # of exeext. | |
1880 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
1881 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | |
1882 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
1883 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | |
1884 | (eval $ac_link_default) 2>&5 | |
1885 | ac_status=$? | |
1886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1887 | (exit $ac_status); }; then | |
1888 | # Find the output, starting from the most likely. This scheme is | |
1889 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1890 | # resort. | |
1891 | ||
1892 | # Be careful to initialize this variable, since it used to be cached. | |
1893 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
1894 | ac_cv_exeext= | |
1895 | # b.out is created by i960 compilers. | |
1896 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
1897 | do | |
1898 | test -f "$ac_file" || continue | |
1899 | case $ac_file in | |
1900 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | |
1901 | ;; | |
1902 | conftest.$ac_ext ) | |
1903 | # This is the source file. | |
1904 | ;; | |
1905 | [ab].out ) | |
1906 | # We found the default executable, but exeext='' is most | |
1907 | # certainly right. | |
1908 | break;; | |
1909 | *.* ) | |
1910 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1911 | # FIXME: I believe we export ac_cv_exeext for Libtool, | |
1912 | # but it would be cool to find out if it's true. Does anybody | |
1913 | # maintain Libtool? --akim. | |
1914 | export ac_cv_exeext | |
1915 | break;; | |
1916 | * ) | |
1917 | break;; | |
1918 | esac | |
1919 | done | |
1920 | else | |
1921 | echo "$as_me: failed program was:" >&5 | |
1922 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1923 | ||
1924 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | |
1925 | See \`config.log' for more details." >&5 | |
1926 | echo "$as_me: error: C compiler cannot create executables | |
1927 | See \`config.log' for more details." >&2;} | |
1928 | { (exit 77); exit 77; }; } | |
1929 | fi | |
1930 | ||
1931 | ac_exeext=$ac_cv_exeext | |
1932 | echo "$as_me:$LINENO: result: $ac_file" >&5 | |
1933 | echo "${ECHO_T}$ac_file" >&6 | |
1934 | ||
1935 | # Check the compiler produces executables we can run. If not, either | |
1936 | # the compiler is broken, or we cross compile. | |
1937 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
1938 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | |
1939 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1940 | # If not cross compiling, check that we can run a simple program. | |
1941 | if test "$cross_compiling" != yes; then | |
1942 | if { ac_try='./$ac_file' | |
1943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1944 | (eval $ac_try) 2>&5 | |
1945 | ac_status=$? | |
1946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1947 | (exit $ac_status); }; }; then | |
1948 | cross_compiling=no | |
1949 | else | else |
1950 | ac_cv_prog_cc_cross=yes | if test "$cross_compiling" = maybe; then |
1951 | cross_compiling=yes | |
1952 | else | |
1953 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
1954 | If you meant to cross compile, use \`--host'. | |
1955 | See \`config.log' for more details." >&5 | |
1956 | echo "$as_me: error: cannot run C compiled programs. | |
1957 | If you meant to cross compile, use \`--host'. | |
1958 | See \`config.log' for more details." >&2;} | |
1959 | { (exit 1); exit 1; }; } | |
1960 | fi | |
1961 | fi | fi |
1962 | fi | |
1963 | echo "$as_me:$LINENO: result: yes" >&5 | |
1964 | echo "${ECHO_T}yes" >&6 | |
1965 | ||
1966 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
1967 | ac_clean_files=$ac_clean_files_save | |
1968 | # Check the compiler produces executables we can run. If not, either | |
1969 | # the compiler is broken, or we cross compile. | |
1970 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
1971 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | |
1972 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
1973 | echo "${ECHO_T}$cross_compiling" >&6 | |
1974 | ||
1975 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
1976 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
1977 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
1978 | (eval $ac_link) 2>&5 | |
1979 | ac_status=$? | |
1980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1981 | (exit $ac_status); }; then | |
1982 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1983 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1984 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1985 | # `rm'. | |
1986 | for ac_file in conftest.exe conftest conftest.*; do | |
1987 | test -f "$ac_file" || continue | |
1988 | case $ac_file in | |
1989 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
1990 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1991 | export ac_cv_exeext | |
1992 | break;; | |
1993 | * ) break;; | |
1994 | esac | |
1995 | done | |
1996 | else | else |
1997 | echo "configure: failed program was:" >&5 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1998 | cat conftest.$ac_ext >&5 | See \`config.log' for more details." >&5 |
1999 | ac_cv_prog_cc_works=no | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2000 | See \`config.log' for more details." >&2;} | |
2001 | { (exit 1); exit 1; }; } | |
2002 | fi | fi |
2003 | rm -fr conftest* | |
2004 | ac_ext=c | rm -f conftest$ac_cv_exeext |
2005 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2006 | echo "${ECHO_T}$ac_cv_exeext" >&6 | |
2007 | ||
2008 | rm -f conftest.$ac_ext | |
2009 | EXEEXT=$ac_cv_exeext | |
2010 | ac_exeext=$EXEEXT | |
2011 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
2012 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
2013 | if test "${ac_cv_objext+set}" = set; then | |
2014 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2015 | else | |
2016 | cat >conftest.$ac_ext <<_ACEOF | |
2017 | /* confdefs.h. */ | |
2018 | _ACEOF | |
2019 | cat confdefs.h >>conftest.$ac_ext | |
2020 | cat >>conftest.$ac_ext <<_ACEOF | |
2021 | /* end confdefs.h. */ | |
2022 | ||
2023 | int | |
2024 | main () | |
2025 | { | |
2026 | ||
2027 | ; | |
2028 | return 0; | |
2029 | } | |
2030 | _ACEOF | |
2031 | rm -f conftest.o conftest.obj | |
2032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2033 | (eval $ac_compile) 2>&5 | |
2034 | ac_status=$? | |
2035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2036 | (exit $ac_status); }; then | |
2037 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
2038 | case $ac_file in | |
2039 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | |
2040 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
2041 | break;; | |
2042 | esac | |
2043 | done | |
2044 | else | |
2045 | echo "$as_me: failed program was:" >&5 | |
2046 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2047 | ||
2048 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
2049 | See \`config.log' for more details." >&5 | |
2050 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2051 | See \`config.log' for more details." >&2;} | |
2052 | { (exit 1); exit 1; }; } | |
2053 | fi | |
2054 | ||
2055 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
2056 | fi | |
2057 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
2058 | echo "${ECHO_T}$ac_cv_objext" >&6 | |
2059 | OBJEXT=$ac_cv_objext | |
2060 | ac_objext=$OBJEXT | |
2061 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
2062 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | |
2063 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
2064 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2065 | else | |
2066 | cat >conftest.$ac_ext <<_ACEOF | |
2067 | /* confdefs.h. */ | |
2068 | _ACEOF | |
2069 | cat confdefs.h >>conftest.$ac_ext | |
2070 | cat >>conftest.$ac_ext <<_ACEOF | |
2071 | /* end confdefs.h. */ | |
2072 | ||
2073 | int | |
2074 | main () | |
2075 | { | |
2076 | #ifndef __GNUC__ | |
2077 | choke me | |
2078 | #endif | |
2079 | ||
2080 | ; | |
2081 | return 0; | |
2082 | } | |
2083 | _ACEOF | |
2084 | rm -f conftest.$ac_objext | |
2085 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2086 | (eval $ac_compile) 2>conftest.er1 | |
2087 | ac_status=$? | |
2088 | grep -v '^ *+' conftest.er1 >conftest.err | |
2089 | rm -f conftest.er1 | |
2090 | cat conftest.err >&5 | |
2091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2092 | (exit $ac_status); } && | |
2093 | { ac_try='test -z "$ac_c_werror_flag" | |
2094 | || test ! -s conftest.err' | |
2095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2096 | (eval $ac_try) 2>&5 | |
2097 | ac_status=$? | |
2098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2099 | (exit $ac_status); }; } && | |
2100 | { ac_try='test -s conftest.$ac_objext' | |
2101 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2102 | (eval $ac_try) 2>&5 | |
2103 | ac_status=$? | |
2104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2105 | (exit $ac_status); }; }; then | |
2106 | ac_compiler_gnu=yes | |
2107 | else | |
2108 | echo "$as_me: failed program was:" >&5 | |
2109 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2110 | ||
2111 | ac_compiler_gnu=no | |
2112 | fi | |
2113 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
2114 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
2115 | ||
2116 | fi | |
2117 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
2118 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | |
2119 | GCC=`test $ac_compiler_gnu = yes && echo yes` | |
2120 | ac_test_CFLAGS=${CFLAGS+set} | |
2121 | ac_save_CFLAGS=$CFLAGS | |
2122 | CFLAGS="-g" | |
2123 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
2124 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
2125 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
2126 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2127 | else | |
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 | rm -f conftest.$ac_objext | |
2144 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2145 | (eval $ac_compile) 2>conftest.er1 | |
2146 | ac_status=$? | |
2147 | grep -v '^ *+' conftest.er1 >conftest.err | |
2148 | rm -f conftest.er1 | |
2149 | cat conftest.err >&5 | |
2150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2151 | (exit $ac_status); } && | |
2152 | { ac_try='test -z "$ac_c_werror_flag" | |
2153 | || test ! -s conftest.err' | |
2154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2155 | (eval $ac_try) 2>&5 | |
2156 | ac_status=$? | |
2157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2158 | (exit $ac_status); }; } && | |
2159 | { ac_try='test -s conftest.$ac_objext' | |
2160 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2161 | (eval $ac_try) 2>&5 | |
2162 | ac_status=$? | |
2163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2164 | (exit $ac_status); }; }; then | |
2165 | ac_cv_prog_cc_g=yes | |
2166 | else | |
2167 | echo "$as_me: failed program was:" >&5 | |
2168 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2169 | ||
2170 | ac_cv_prog_cc_g=no | |
2171 | fi | |
2172 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
2173 | fi | |
2174 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
2175 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | |
2176 | if test "$ac_test_CFLAGS" = set; then | |
2177 | CFLAGS=$ac_save_CFLAGS | |
2178 | elif test $ac_cv_prog_cc_g = yes; then | |
2179 | if test "$GCC" = yes; then | |
2180 | CFLAGS="-g -O2" | |
2181 | else | |
2182 | CFLAGS="-g" | |
2183 | fi | |
2184 | else | |
2185 | if test "$GCC" = yes; then | |
2186 | CFLAGS="-O2" | |
2187 | else | |
2188 | CFLAGS= | |
2189 | fi | |
2190 | fi | |
2191 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
2192 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | |
2193 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
2194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2195 | else | |
2196 | ac_cv_prog_cc_stdc=no | |
2197 | ac_save_CC=$CC | |
2198 | cat >conftest.$ac_ext <<_ACEOF | |
2199 | /* confdefs.h. */ | |
2200 | _ACEOF | |
2201 | cat confdefs.h >>conftest.$ac_ext | |
2202 | cat >>conftest.$ac_ext <<_ACEOF | |
2203 | /* end confdefs.h. */ | |
2204 | #include <stdarg.h> | |
2205 | #include <stdio.h> | |
2206 | #include <sys/types.h> | |
2207 | #include <sys/stat.h> | |
2208 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
2209 | struct buf { int x; }; | |
2210 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
2211 | static char *e (p, i) | |
2212 | char **p; | |
2213 | int i; | |
2214 | { | |
2215 | return p[i]; | |
2216 | } | |
2217 | static char *f (char * (*g) (char **, int), char **p, ...) | |
2218 | { | |
2219 | char *s; | |
2220 | va_list v; | |
2221 | va_start (v,p); | |
2222 | s = g (p, va_arg (v,int)); | |
2223 | va_end (v); | |
2224 | return s; | |
2225 | } | |
2226 | ||
2227 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
2228 | function prototypes and stuff, but not '\xHH' hex character constants. | |
2229 | These don't provoke an error unfortunately, instead are silently treated | |
2230 | as 'x'. The following induces an error, until -std1 is added to get | |
2231 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
2232 | array size at least. It's necessary to write '\x00'==0 to get something | |
2233 | that's true only with -std1. */ | |
2234 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
2235 | ||
2236 | int test (int i, double x); | |
2237 | struct s1 {int (*f) (int a);}; | |
2238 | struct s2 {int (*f) (double a);}; | |
2239 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2240 | int argc; | |
2241 | char **argv; | |
2242 | int | |
2243 | main () | |
2244 | { | |
2245 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
2246 | ; | |
2247 | return 0; | |
2248 | } | |
2249 | _ACEOF | |
2250 | # Don't try gcc -ansi; that turns off useful extensions and | |
2251 | # breaks some systems' header files. | |
2252 | # AIX -qlanglvl=ansi | |
2253 | # Ultrix and OSF/1 -std1 | |
2254 | # HP-UX 10.20 and later -Ae | |
2255 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
2256 | # SVR4 -Xc -D__EXTENSIONS__ | |
2257 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2258 | do | |
2259 | CC="$ac_save_CC $ac_arg" | |
2260 | rm -f conftest.$ac_objext | |
2261 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2262 | (eval $ac_compile) 2>conftest.er1 | |
2263 | ac_status=$? | |
2264 | grep -v '^ *+' conftest.er1 >conftest.err | |
2265 | rm -f conftest.er1 | |
2266 | cat conftest.err >&5 | |
2267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2268 | (exit $ac_status); } && | |
2269 | { ac_try='test -z "$ac_c_werror_flag" | |
2270 | || test ! -s conftest.err' | |
2271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2272 | (eval $ac_try) 2>&5 | |
2273 | ac_status=$? | |
2274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2275 | (exit $ac_status); }; } && | |
2276 | { ac_try='test -s conftest.$ac_objext' | |
2277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2278 | (eval $ac_try) 2>&5 | |
2279 | ac_status=$? | |
2280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2281 | (exit $ac_status); }; }; then | |
2282 | ac_cv_prog_cc_stdc=$ac_arg | |
2283 | break | |
2284 | else | |
2285 | echo "$as_me: failed program was:" >&5 | |
2286 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2287 | ||
2288 | fi | |
2289 | rm -f conftest.err conftest.$ac_objext | |
2290 | done | |
2291 | rm -f conftest.$ac_ext conftest.$ac_objext | |
2292 | CC=$ac_save_CC | |
2293 | ||
2294 | fi | |
2295 | ||
2296 | case "x$ac_cv_prog_cc_stdc" in | |
2297 | x|xno) | |
2298 | echo "$as_me:$LINENO: result: none needed" >&5 | |
2299 | echo "${ECHO_T}none needed" >&6 ;; | |
2300 | *) | |
2301 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
2302 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
2303 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
2304 | esac | |
2305 | ||
2306 | # Some people use a C++ compiler to compile C. Since we use `exit', | |
2307 | # in C++ we need to declare it. In case someone uses the same compiler | |
2308 | # for both compiling C and C++ we need to have the C++ compiler decide | |
2309 | # the declaration of exit, since it's the most demanding environment. | |
2310 | cat >conftest.$ac_ext <<_ACEOF | |
2311 | #ifndef __cplusplus | |
2312 | choke me | |
2313 | #endif | |
2314 | _ACEOF | |
2315 | rm -f conftest.$ac_objext | |
2316 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2317 | (eval $ac_compile) 2>conftest.er1 | |
2318 | ac_status=$? | |
2319 | grep -v '^ *+' conftest.er1 >conftest.err | |
2320 | rm -f conftest.er1 | |
2321 | cat conftest.err >&5 | |
2322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2323 | (exit $ac_status); } && | |
2324 | { ac_try='test -z "$ac_c_werror_flag" | |
2325 | || test ! -s conftest.err' | |
2326 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2327 | (eval $ac_try) 2>&5 | |
2328 | ac_status=$? | |
2329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2330 | (exit $ac_status); }; } && | |
2331 | { ac_try='test -s conftest.$ac_objext' | |
2332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2333 | (eval $ac_try) 2>&5 | |
2334 | ac_status=$? | |
2335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2336 | (exit $ac_status); }; }; then | |
2337 | for ac_declaration in \ | |
2338 | '' \ | |
2339 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
2340 | 'extern "C" void std::exit (int); using std::exit;' \ | |
2341 | 'extern "C" void exit (int) throw ();' \ | |
2342 | 'extern "C" void exit (int);' \ | |
2343 | 'void exit (int);' | |
2344 | do | |
2345 | cat >conftest.$ac_ext <<_ACEOF | |
2346 | /* confdefs.h. */ | |
2347 | _ACEOF | |
2348 | cat confdefs.h >>conftest.$ac_ext | |
2349 | cat >>conftest.$ac_ext <<_ACEOF | |
2350 | /* end confdefs.h. */ | |
2351 | $ac_declaration | |
2352 | #include <stdlib.h> | |
2353 | int | |
2354 | main () | |
2355 | { | |
2356 | exit (42); | |
2357 | ; | |
2358 | return 0; | |
2359 | } | |
2360 | _ACEOF | |
2361 | rm -f conftest.$ac_objext | |
2362 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2363 | (eval $ac_compile) 2>conftest.er1 | |
2364 | ac_status=$? | |
2365 | grep -v '^ *+' conftest.er1 >conftest.err | |
2366 | rm -f conftest.er1 | |
2367 | cat conftest.err >&5 | |
2368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2369 | (exit $ac_status); } && | |
2370 | { ac_try='test -z "$ac_c_werror_flag" | |
2371 | || test ! -s conftest.err' | |
2372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2373 | (eval $ac_try) 2>&5 | |
2374 | ac_status=$? | |
2375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2376 | (exit $ac_status); }; } && | |
2377 | { ac_try='test -s conftest.$ac_objext' | |
2378 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2379 | (eval $ac_try) 2>&5 | |
2380 | ac_status=$? | |
2381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2382 | (exit $ac_status); }; }; then | |
2383 | : | |
2384 | else | |
2385 | echo "$as_me: failed program was:" >&5 | |
2386 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2387 | ||
2388 | continue | |
2389 | fi | |
2390 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
2391 | cat >conftest.$ac_ext <<_ACEOF | |
2392 | /* confdefs.h. */ | |
2393 | _ACEOF | |
2394 | cat confdefs.h >>conftest.$ac_ext | |
2395 | cat >>conftest.$ac_ext <<_ACEOF | |
2396 | /* end confdefs.h. */ | |
2397 | $ac_declaration | |
2398 | int | |
2399 | main () | |
2400 | { | |
2401 | exit (42); | |
2402 | ; | |
2403 | return 0; | |
2404 | } | |
2405 | _ACEOF | |
2406 | rm -f conftest.$ac_objext | |
2407 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2408 | (eval $ac_compile) 2>conftest.er1 | |
2409 | ac_status=$? | |
2410 | grep -v '^ *+' conftest.er1 >conftest.err | |
2411 | rm -f conftest.er1 | |
2412 | cat conftest.err >&5 | |
2413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2414 | (exit $ac_status); } && | |
2415 | { ac_try='test -z "$ac_c_werror_flag" | |
2416 | || test ! -s conftest.err' | |
2417 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2418 | (eval $ac_try) 2>&5 | |
2419 | ac_status=$? | |
2420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2421 | (exit $ac_status); }; } && | |
2422 | { ac_try='test -s conftest.$ac_objext' | |
2423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2424 | (eval $ac_try) 2>&5 | |
2425 | ac_status=$? | |
2426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2427 | (exit $ac_status); }; }; then | |
2428 | break | |
2429 | else | |
2430 | echo "$as_me: failed program was:" >&5 | |
2431 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2432 | ||
2433 | fi | |
2434 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
2435 | done | |
2436 | rm -f conftest* | |
2437 | if test -n "$ac_declaration"; then | |
2438 | echo '#ifdef __cplusplus' >>confdefs.h | |
2439 | echo $ac_declaration >>confdefs.h | |
2440 | echo '#endif' >>confdefs.h | |
2441 | fi | |
2442 | ||
2443 | else | |
2444 | echo "$as_me: failed program was:" >&5 | |
2445 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2446 | ||
2447 | fi | |
2448 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
2449 | ac_ext=c | |
2450 | ac_cpp='$CPP $CPPFLAGS' | |
2451 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2452 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2453 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2454 | ||
2455 | ||
2456 | ||
2457 | ac_aux_dir= | |
2458 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
2459 | if test -f $ac_dir/install-sh; then | |
2460 | ac_aux_dir=$ac_dir | |
2461 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
2462 | break | |
2463 | elif test -f $ac_dir/install.sh; then | |
2464 | ac_aux_dir=$ac_dir | |
2465 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
2466 | break | |
2467 | elif test -f $ac_dir/shtool; then | |
2468 | ac_aux_dir=$ac_dir | |
2469 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
2470 | break | |
2471 | fi | |
2472 | done | |
2473 | if test -z "$ac_aux_dir"; then | |
2474 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | |
2475 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | |
2476 | { (exit 1); exit 1; }; } | |
2477 | fi | |
2478 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
2479 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
2480 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
2481 | ||
2482 | # Find a good install program. We prefer a C program (faster), | |
2483 | # so one script is as good as another. But avoid the broken or | |
2484 | # incompatible versions: | |
2485 | # SysV /etc/install, /usr/sbin/install | |
2486 | # SunOS /usr/etc/install | |
2487 | # IRIX /sbin/install | |
2488 | # AIX /bin/install | |
2489 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2490 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2491 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2492 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2493 | # OS/2's system install, which has a completely different semantic | |
2494 | # ./install, which can be erroneously created by make from ./install.sh. | |
2495 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
2496 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | |
2497 | if test -z "$INSTALL"; then | |
2498 | if test "${ac_cv_path_install+set}" = set; then | |
2499 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2500 | else | |
2501 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2502 | for as_dir in $PATH | |
2503 | do | |
2504 | IFS=$as_save_IFS | |
2505 | test -z "$as_dir" && as_dir=. | |
2506 | # Account for people who put trailing slashes in PATH elements. | |
2507 | case $as_dir/ in | |
2508 | ./ | .// | /cC/* | \ | |
2509 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
2510 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
2511 | /usr/ucb/* ) ;; | |
2512 | *) | |
2513 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
2514 | # Don't use installbsd from OSF since it installs stuff as root | |
2515 | # by default. | |
2516 | for ac_prog in ginstall scoinst install; do | |
2517 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2518 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2519 | if test $ac_prog = install && | |
2520 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2521 | # AIX install. It has an incompatible calling convention. | |
2522 | : | |
2523 | elif test $ac_prog = install && | |
2524 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2525 | # program-specific install script used by HP pwplus--don't use. | |
2526 | : | |
2527 | else | |
2528 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2529 | break 3 | |
2530 | fi | |
2531 | fi | |
2532 | done | |
2533 | done | |
2534 | ;; | |
2535 | esac | |
2536 | done | |
2537 | ||
2538 | ||
2539 | fi | |
2540 | if test "${ac_cv_path_install+set}" = set; then | |
2541 | INSTALL=$ac_cv_path_install | |
2542 | else | |
2543 | # As a last resort, use the slow shell script. We don't cache a | |
2544 | # path for INSTALL within a source directory, because that will | |
2545 | # break other packages using the cache if that directory is | |
2546 | # removed, or if the path is relative. | |
2547 | INSTALL=$ac_install_sh | |
2548 | fi | |
2549 | fi | |
2550 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
2551 | echo "${ECHO_T}$INSTALL" >&6 | |
2552 | ||
2553 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2554 | # It thinks the first close brace ends the variable substitution. | |
2555 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2556 | ||
2557 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2558 | ||
2559 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2560 | ||
2561 | ||
2562 | ||
2563 | # Check whether --enable-shared or --disable-shared was given. | |
2564 | if test "${enable_shared+set}" = set; then | |
2565 | enableval="$enable_shared" | |
2566 | p=${PACKAGE-default} | |
2567 | case $enableval in | |
2568 | yes) enable_shared=yes ;; | |
2569 | no) enable_shared=no ;; | |
2570 | *) | |
2571 | enable_shared=no | |
2572 | # Look at the argument we got. We use all the common list separators. | |
2573 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
2574 | for pkg in $enableval; do | |
2575 | IFS="$lt_save_ifs" | |
2576 | if test "X$pkg" = "X$p"; then | |
2577 | enable_shared=yes | |
2578 | fi | |
2579 | done | |
2580 | IFS="$lt_save_ifs" | |
2581 | ;; | |
2582 | esac | |
2583 | else | |
2584 | enable_shared=yes | |
2585 | fi; | |
2586 | ||
2587 | # Check whether --enable-static or --disable-static was given. | |
2588 | if test "${enable_static+set}" = set; then | |
2589 | enableval="$enable_static" | |
2590 | p=${PACKAGE-default} | |
2591 | case $enableval in | |
2592 | yes) enable_static=yes ;; | |
2593 | no) enable_static=no ;; | |
2594 | *) | |
2595 | enable_static=no | |
2596 | # Look at the argument we got. We use all the common list separators. | |
2597 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
2598 | for pkg in $enableval; do | |
2599 | IFS="$lt_save_ifs" | |
2600 | if test "X$pkg" = "X$p"; then | |
2601 | enable_static=yes | |
2602 | fi | |
2603 | done | |
2604 | IFS="$lt_save_ifs" | |
2605 | ;; | |
2606 | esac | |
2607 | else | |
2608 | enable_static=yes | |
2609 | fi; | |
2610 | ||
2611 | # Check whether --enable-fast-install or --disable-fast-install was given. | |
2612 | if test "${enable_fast_install+set}" = set; then | |
2613 | enableval="$enable_fast_install" | |
2614 | p=${PACKAGE-default} | |
2615 | case $enableval in | |
2616 | yes) enable_fast_install=yes ;; | |
2617 | no) enable_fast_install=no ;; | |
2618 | *) | |
2619 | enable_fast_install=no | |
2620 | # Look at the argument we got. We use all the common list separators. | |
2621 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
2622 | for pkg in $enableval; do | |
2623 | IFS="$lt_save_ifs" | |
2624 | if test "X$pkg" = "X$p"; then | |
2625 | enable_fast_install=yes | |
2626 | fi | |
2627 | done | |
2628 | IFS="$lt_save_ifs" | |
2629 | ;; | |
2630 | esac | |
2631 | else | |
2632 | enable_fast_install=yes | |
2633 | fi; | |
2634 | ||
2635 | # Make sure we can run config.sub. | |
2636 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
2637 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
2638 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
2639 | { (exit 1); exit 1; }; } | |
2640 | ||
2641 | echo "$as_me:$LINENO: checking build system type" >&5 | |
2642 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
2643 | if test "${ac_cv_build+set}" = set; then | |
2644 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2645 | else | |
2646 | ac_cv_build_alias=$build_alias | |
2647 | test -z "$ac_cv_build_alias" && | |
2648 | ac_cv_build_alias=`$ac_config_guess` | |
2649 | test -z "$ac_cv_build_alias" && | |
2650 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
2651 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2652 | { (exit 1); exit 1; }; } | |
2653 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
2654 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
2655 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
2656 | { (exit 1); exit 1; }; } | |
2657 | ||
2658 | fi | |
2659 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
2660 | echo "${ECHO_T}$ac_cv_build" >&6 | |
2661 | build=$ac_cv_build | |
2662 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2663 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2664 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2665 | ||
2666 | ||
2667 | echo "$as_me:$LINENO: checking host system type" >&5 | |
2668 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
2669 | if test "${ac_cv_host+set}" = set; then | |
2670 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2671 | else | |
2672 | ac_cv_host_alias=$host_alias | |
2673 | test -z "$ac_cv_host_alias" && | |
2674 | ac_cv_host_alias=$ac_cv_build_alias | |
2675 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
2676 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
2677 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
2678 | { (exit 1); exit 1; }; } | |
2679 | ||
2680 | fi | |
2681 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
2682 | echo "${ECHO_T}$ac_cv_host" >&6 | |
2683 | host=$ac_cv_host | |
2684 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2685 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2686 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2687 | ||
2688 | ||
2689 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | |
2690 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | |
2691 | if test "${lt_cv_path_SED+set}" = set; then | |
2692 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2693 | else | |
2694 | # Loop through the user's path and test for sed and gsed. | |
2695 | # Then use that list of sed's as ones to test for truncation. | |
2696 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2697 | for as_dir in $PATH | |
2698 | do | |
2699 | IFS=$as_save_IFS | |
2700 | test -z "$as_dir" && as_dir=. | |
2701 | for lt_ac_prog in sed gsed; do | |
2702 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2703 | if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | |
2704 | lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" | |
2705 | fi | |
2706 | done | |
2707 | done | |
2708 | done | |
2709 | lt_ac_max=0 | |
2710 | lt_ac_count=0 | |
2711 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris | |
2712 | # along with /bin/sed that truncates output. | |
2713 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | |
2714 | test ! -f $lt_ac_sed && break | |
2715 | cat /dev/null > conftest.in | |
2716 | lt_ac_count=0 | |
2717 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in | |
2718 | # Check for GNU sed and select it if it is found. | |
2719 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | |
2720 | lt_cv_path_SED=$lt_ac_sed | |
2721 | break | |
2722 | fi | |
2723 | while true; do | |
2724 | cat conftest.in conftest.in >conftest.tmp | |
2725 | mv conftest.tmp conftest.in | |
2726 | cp conftest.in conftest.nl | |
2727 | echo >>conftest.nl | |
2728 | $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | |
2729 | cmp -s conftest.out conftest.nl || break | |
2730 | # 10000 chars as input seems more than enough | |
2731 | test $lt_ac_count -gt 10 && break | |
2732 | lt_ac_count=`expr $lt_ac_count + 1` | |
2733 | if test $lt_ac_count -gt $lt_ac_max; then | |
2734 | lt_ac_max=$lt_ac_count | |
2735 | lt_cv_path_SED=$lt_ac_sed | |
2736 | fi | |
2737 | done | |
2738 | done | |
2739 | ||
2740 | fi | |
2741 | ||
2742 | SED=$lt_cv_path_SED | |
2743 | echo "$as_me:$LINENO: result: $SED" >&5 | |
2744 | echo "${ECHO_T}$SED" >&6 | |
2745 | ||
2746 | echo "$as_me:$LINENO: checking for egrep" >&5 | |
2747 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
2748 | if test "${ac_cv_prog_egrep+set}" = set; then | |
2749 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2750 | else | |
2751 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | |
2752 | then ac_cv_prog_egrep='grep -E' | |
2753 | else ac_cv_prog_egrep='egrep' | |
2754 | fi | |
2755 | fi | |
2756 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | |
2757 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
2758 | EGREP=$ac_cv_prog_egrep | |
2759 | ||
2760 | ||
2761 | ||
2762 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | |
2763 | if test "${with_gnu_ld+set}" = set; then | |
2764 | withval="$with_gnu_ld" | |
2765 | test "$withval" = no || with_gnu_ld=yes | |
2766 | else | |
2767 | with_gnu_ld=no | |
2768 | fi; | |
2769 | ac_prog=ld | |
2770 | if test "$GCC" = yes; then | |
2771 | # Check if gcc -print-prog-name=ld gives a path. | |
2772 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | |
2773 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | |
2774 | case $host in | |
2775 | *-*-mingw*) | |
2776 | # gcc leaves a trailing carriage return which upsets mingw | |
2777 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
2778 | *) | |
2779 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
2780 | esac | |
2781 | case $ac_prog in | |
2782 | # Accept absolute paths. | |
2783 | [\\/]* | ?:[\\/]*) | |
2784 | re_direlt='/[^/][^/]*/\.\./' | |
2785 | # Canonicalize the pathname of ld | |
2786 | ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | |
2787 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |
2788 | ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | |
2789 | done | |
2790 | test -z "$LD" && LD="$ac_prog" | |
2791 | ;; | |
2792 | "") | |
2793 | # If it fails, then pretend we aren't using GCC. | |
2794 | ac_prog=ld | |
2795 | ;; | |
2796 | *) | |
2797 | # If it is relative, then search for the first ld in PATH. | |
2798 | with_gnu_ld=unknown | |
2799 | ;; | |
2800 | esac | |
2801 | elif test "$with_gnu_ld" = yes; then | |
2802 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | |
2803 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | |
2804 | else | |
2805 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | |
2806 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | |
2807 | fi | |
2808 | if test "${lt_cv_path_LD+set}" = set; then | |
2809 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2810 | else | |
2811 | if test -z "$LD"; then | |
2812 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
2813 | for ac_dir in $PATH; do | |
2814 | IFS="$lt_save_ifs" | |
2815 | test -z "$ac_dir" && ac_dir=. | |
2816 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
2817 | lt_cv_path_LD="$ac_dir/$ac_prog" | |
2818 | # Check to see if the program is GNU ld. I'd rather use --version, | |
2819 | # but apparently some GNU ld's only accept -v. | |
2820 | # Break only if it was the GNU/non-GNU ld that we prefer. | |
2821 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
2822 | *GNU* | *'with BFD'*) | |
2823 | test "$with_gnu_ld" != no && break | |
2824 | ;; | |
2825 | *) | |
2826 | test "$with_gnu_ld" != yes && break | |
2827 | ;; | |
2828 | esac | |
2829 | fi | |
2830 | done | |
2831 | IFS="$lt_save_ifs" | |
2832 | else | |
2833 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
2834 | fi | |
2835 | fi | |
2836 | ||
2837 | LD="$lt_cv_path_LD" | |
2838 | if test -n "$LD"; then | |
2839 | echo "$as_me:$LINENO: result: $LD" >&5 | |
2840 | echo "${ECHO_T}$LD" >&6 | |
2841 | else | |
2842 | echo "$as_me:$LINENO: result: no" >&5 | |
2843 | echo "${ECHO_T}no" >&6 | |
2844 | fi | |
2845 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | |
2846 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | |
2847 | { (exit 1); exit 1; }; } | |
2848 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | |
2849 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | |
2850 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | |
2851 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2852 | else | |
2853 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
2854 | case `$LD -v 2>&1 </dev/null` in | |
2855 | *GNU* | *'with BFD'*) | |
2856 | lt_cv_prog_gnu_ld=yes | |
2857 | ;; | |
2858 | *) | |
2859 | lt_cv_prog_gnu_ld=no | |
2860 | ;; | |
2861 | esac | |
2862 | fi | |
2863 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | |
2864 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | |
2865 | with_gnu_ld=$lt_cv_prog_gnu_ld | |
2866 | ||
2867 | ||
2868 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | |
2869 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | |
2870 | if test "${lt_cv_ld_reload_flag+set}" = set; then | |
2871 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2872 | else | |
2873 | lt_cv_ld_reload_flag='-r' | |
2874 | fi | |
2875 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | |
2876 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | |
2877 | reload_flag=$lt_cv_ld_reload_flag | |
2878 | case $reload_flag in | |
2879 | "" | " "*) ;; | |
2880 | *) reload_flag=" $reload_flag" ;; | |
2881 | esac | |
2882 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
2883 | case $host_os in | |
2884 | darwin*) | |
2885 | if test "$GCC" = yes; then | |
2886 | reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' | |
2887 | else | |
2888 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
2889 | fi | |
2890 | ;; | |
2891 | esac | |
2892 | ||
2893 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | |
2894 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | |
2895 | if test "${lt_cv_path_NM+set}" = set; then | |
2896 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2897 | else | |
2898 | if test -n "$NM"; then | |
2899 | # Let the user override the test. | |
2900 | lt_cv_path_NM="$NM" | |
2901 | else | |
2902 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
2903 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | |
2904 | IFS="$lt_save_ifs" | |
2905 | test -z "$ac_dir" && ac_dir=. | |
2906 | tmp_nm="$ac_dir/${ac_tool_prefix}nm" | |
2907 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | |
2908 | # Check to see if the nm accepts a BSD-compat flag. | |
2909 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
2910 | # nm: unknown option "B" ignored | |
2911 | # Tru64's nm complains that /dev/null is an invalid object file | |
2912 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | |
2913 | */dev/null* | *'Invalid file or object type'*) | |
2914 | lt_cv_path_NM="$tmp_nm -B" | |
2915 | break | |
2916 | ;; | |
2917 | *) | |
2918 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
2919 | */dev/null*) | |
2920 | lt_cv_path_NM="$tmp_nm -p" | |
2921 | break | |
2922 | ;; | |
2923 | *) | |
2924 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
2925 | continue # so that we can try to find one that supports BSD flags | |
2926 | ;; | |
2927 | esac | |
2928 | esac | |
2929 | fi | |
2930 | done | |
2931 | IFS="$lt_save_ifs" | |
2932 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | |
2933 | fi | |
2934 | fi | |
2935 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | |
2936 | echo "${ECHO_T}$lt_cv_path_NM" >&6 | |
2937 | NM="$lt_cv_path_NM" | |
2938 | ||
2939 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | |
2940 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
2941 | LN_S=$as_ln_s | |
2942 | if test "$LN_S" = "ln -s"; then | |
2943 | echo "$as_me:$LINENO: result: yes" >&5 | |
2944 | echo "${ECHO_T}yes" >&6 | |
2945 | else | |
2946 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | |
2947 | echo "${ECHO_T}no, using $LN_S" >&6 | |
2948 | fi | |
2949 | ||
2950 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | |
2951 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | |
2952 | if test "${lt_cv_deplibs_check_method+set}" = set; then | |
2953 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2954 | else | |
2955 | lt_cv_file_magic_cmd='$MAGIC_CMD' | |
2956 | lt_cv_file_magic_test_file= | |
2957 | lt_cv_deplibs_check_method='unknown' | |
2958 | # Need to set the preceding variable on all platforms that support | |
2959 | # interlibrary dependencies. | |
2960 | # 'none' -- dependencies not supported. | |
2961 | # `unknown' -- same as none, but documents that we really don't know. | |
2962 | # 'pass_all' -- all dependencies passed with no checks. | |
2963 | # 'test_compile' -- check by making test program. | |
2964 | # 'file_magic [[regex]]' -- check by looking for files in library path | |
2965 | # which responds to the $file_magic_cmd with a given extended regex. | |
2966 | # If you have `file' or equivalent on your system and you're not sure | |
2967 | # whether `pass_all' will *always* work, you probably want this one. | |
2968 | ||
2969 | case $host_os in | |
2970 | aix4* | aix5*) | |
2971 | lt_cv_deplibs_check_method=pass_all | |
2972 | ;; | |
2973 | ||
2974 | beos*) | |
2975 | lt_cv_deplibs_check_method=pass_all | |
2976 | ;; | |
2977 | ||
2978 | bsdi[45]*) | |
2979 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | |
2980 | lt_cv_file_magic_cmd='/usr/bin/file -L' | |
2981 | lt_cv_file_magic_test_file=/shlib/libc.so | |
2982 | ;; | |
2983 | ||
2984 | cygwin*) | |
2985 | # func_win32_libid is a shell function defined in ltmain.sh | |
2986 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
2987 | lt_cv_file_magic_cmd='func_win32_libid' | |
2988 | ;; | |
2989 | ||
2990 | mingw* | pw32*) | |
2991 | # Base MSYS/MinGW do not provide the 'file' command needed by | |
2992 | # func_win32_libid shell function, so use a weaker test based on 'objdump'. | |
2993 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | |
2994 | lt_cv_file_magic_cmd='$OBJDUMP -f' | |
2995 | ;; | |
2996 | ||
2997 | darwin* | rhapsody*) | |
2998 | lt_cv_deplibs_check_method=pass_all | |
2999 | ;; | |
3000 | ||
3001 | freebsd* | kfreebsd*-gnu) | |
3002 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
3003 | case $host_cpu in | |
3004 | i*86 ) | |
3005 | # Not sure whether the presence of OpenBSD here was a mistake. | |
3006 | # Let's accept both of them until this is cleared up. | |
3007 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | |
3008 | lt_cv_file_magic_cmd=/usr/bin/file | |
3009 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
3010 | ;; | |
3011 | esac | |
3012 | else | |
3013 | lt_cv_deplibs_check_method=pass_all | |
3014 | fi | |
3015 | ;; | |
3016 | ||
3017 | gnu*) | |
3018 | lt_cv_deplibs_check_method=pass_all | |
3019 | ;; | |
3020 | ||
3021 | hpux10.20* | hpux11*) | |
3022 | lt_cv_file_magic_cmd=/usr/bin/file | |
3023 | case "$host_cpu" in | |
3024 | ia64*) | |
3025 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | |
3026 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
3027 | ;; | |
3028 | hppa*64*) | |
3029 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' | |
3030 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
3031 | ;; | |
3032 | *) | |
3033 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | |
3034 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
3035 | ;; | |
3036 | esac | |
3037 | ;; | |
3038 | ||
3039 | irix5* | irix6* | nonstopux*) | |
3040 | case $LD in | |
3041 | *-32|*"-32 ") libmagic=32-bit;; | |
3042 | *-n32|*"-n32 ") libmagic=N32;; | |
3043 | *-64|*"-64 ") libmagic=64-bit;; | |
3044 | *) libmagic=never-match;; | |
3045 | esac | |
3046 | lt_cv_deplibs_check_method=pass_all | |
3047 | ;; | |
3048 | ||
3049 | # This must be Linux ELF. | |
3050 | linux*) | |
3051 | case $host_cpu in | |
3052 | alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) | |
3053 | lt_cv_deplibs_check_method=pass_all ;; | |
3054 | *) | |
3055 | # glibc up to 2.1.1 does not perform some relocations on ARM | |
3056 | # this will be overridden with pass_all, but let us keep it just in case | |
3057 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | |
3058 | esac | |
3059 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
3060 | lt_cv_deplibs_check_method=pass_all | |
3061 | ;; | |
3062 | ||
3063 | netbsd*) | |
3064 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
3065 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | |
3066 | else | |
3067 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
3068 | fi | |
3069 | ;; | |
3070 | ||
3071 | newos6*) | |
3072 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | |
3073 | lt_cv_file_magic_cmd=/usr/bin/file | |
3074 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
3075 | ;; | |
3076 | ||
3077 | nto-qnx*) | |
3078 | lt_cv_deplibs_check_method=unknown | |
3079 | ;; | |
3080 | ||
3081 | openbsd*) | |
3082 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
3083 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' | |
3084 | else | |
3085 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | |
3086 | fi | |
3087 | ;; | |
3088 | ||
3089 | osf3* | osf4* | osf5*) | |
3090 | lt_cv_deplibs_check_method=pass_all | |
3091 | ;; | |
3092 | ||
3093 | sco3.2v5*) | |
3094 | lt_cv_deplibs_check_method=pass_all | |
3095 | ;; | |
3096 | ||
3097 | solaris*) | |
3098 | lt_cv_deplibs_check_method=pass_all | |
3099 | ;; | |
3100 | ||
3101 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
3102 | case $host_vendor in | |
3103 | motorola) | |
3104 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' | |
3105 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
3106 | ;; | |
3107 | ncr) | |
3108 | lt_cv_deplibs_check_method=pass_all | |
3109 | ;; | |
3110 | sequent) | |
3111 | lt_cv_file_magic_cmd='/bin/file' | |
3112 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | |
3113 | ;; | |
3114 | sni) | |
3115 | lt_cv_file_magic_cmd='/bin/file' | |
3116 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | |
3117 | lt_cv_file_magic_test_file=/lib/libc.so | |
3118 | ;; | |
3119 | siemens) | |
3120 | lt_cv_deplibs_check_method=pass_all | |
3121 | ;; | |
3122 | esac | |
3123 | ;; | |
3124 | ||
3125 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | |
3126 | lt_cv_deplibs_check_method=pass_all | |
3127 | ;; | |
3128 | esac | |
3129 | ||
3130 | fi | |
3131 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | |
3132 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | |
3133 | file_magic_cmd=$lt_cv_file_magic_cmd | |
3134 | deplibs_check_method=$lt_cv_deplibs_check_method | |
3135 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | |
3136 | ||
3137 | ||
3138 | ||
3139 | ||
3140 | # If no C compiler was specified, use CC. | |
3141 | LTCC=${LTCC-"$CC"} | |
3142 | ||
3143 | # Allow CC to be a program name with arguments. | |
3144 | compiler=$CC | |
3145 | ||
3146 | ||
3147 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | |
3148 | if test "${enable_libtool_lock+set}" = set; then | |
3149 | enableval="$enable_libtool_lock" | |
3150 | ||
3151 | fi; | |
3152 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | |
3153 | ||
3154 | # Some flags need to be propagated to the compiler or linker for good | |
3155 | # libtool support. | |
3156 | case $host in | |
3157 | ia64-*-hpux*) | |
3158 | # Find out which ABI we are using. | |
3159 | echo 'int i;' > conftest.$ac_ext | |
3160 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3161 | (eval $ac_compile) 2>&5 | |
3162 | ac_status=$? | |
3163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3164 | (exit $ac_status); }; then | |
3165 | case `/usr/bin/file conftest.$ac_objext` in | |
3166 | *ELF-32*) | |
3167 | HPUX_IA64_MODE="32" | |
3168 | ;; | |
3169 | *ELF-64*) | |
3170 | HPUX_IA64_MODE="64" | |
3171 | ;; | |
3172 | esac | |
3173 | fi | |
3174 | rm -rf conftest* | |
3175 | ;; | |
3176 | *-*-irix6*) | |
3177 | # Find out which ABI we are using. | |
3178 | echo '#line 3173 "configure"' > conftest.$ac_ext | |
3179 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3180 | (eval $ac_compile) 2>&5 | |
3181 | ac_status=$? | |
3182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3183 | (exit $ac_status); }; then | |
3184 | if test "$lt_cv_prog_gnu_ld" = yes; then | |
3185 | case `/usr/bin/file conftest.$ac_objext` in | |
3186 | *32-bit*) | |
3187 | LD="${LD-ld} -melf32bsmip" | |
3188 | ;; | |
3189 | *N32*) | |
3190 | LD="${LD-ld} -melf32bmipn32" | |
3191 | ;; | |
3192 | *64-bit*) | |
3193 | LD="${LD-ld} -melf64bmip" | |
3194 | ;; | |
3195 | esac | |
3196 | else | |
3197 | case `/usr/bin/file conftest.$ac_objext` in | |
3198 | *32-bit*) | |
3199 | LD="${LD-ld} -32" | |
3200 | ;; | |
3201 | *N32*) | |
3202 | LD="${LD-ld} -n32" | |
3203 | ;; | |
3204 | *64-bit*) | |
3205 | LD="${LD-ld} -64" | |
3206 | ;; | |
3207 | esac | |
3208 | fi | |
3209 | fi | |
3210 | rm -rf conftest* | |
3211 | ;; | |
3212 | ||
3213 | x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) | |
3214 | # Find out which ABI we are using. | |
3215 | echo 'int i;' > conftest.$ac_ext | |
3216 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3217 | (eval $ac_compile) 2>&5 | |
3218 | ac_status=$? | |
3219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3220 | (exit $ac_status); }; then | |
3221 | case "`/usr/bin/file conftest.o`" in | |
3222 | *32-bit*) | |
3223 | case $host in | |
3224 | x86_64-*linux*) | |
3225 | LD="${LD-ld} -m elf_i386" | |
3226 | ;; | |
3227 | ppc64-*linux*|powerpc64-*linux*) | |
3228 | LD="${LD-ld} -m elf32ppclinux" | |
3229 | ;; | |
3230 | s390x-*linux*) | |
3231 | LD="${LD-ld} -m elf_s390" | |
3232 | ;; | |
3233 | sparc64-*linux*) | |
3234 | LD="${LD-ld} -m elf32_sparc" | |
3235 | ;; | |
3236 | esac | |
3237 | ;; | |
3238 | *64-bit*) | |
3239 | case $host in | |
3240 | x86_64-*linux*) | |
3241 | LD="${LD-ld} -m elf_x86_64" | |
3242 | ;; | |
3243 | ppc*-*linux*|powerpc*-*linux*) | |
3244 | LD="${LD-ld} -m elf64ppc" | |
3245 | ;; | |
3246 | s390*-*linux*) | |
3247 | LD="${LD-ld} -m elf64_s390" | |
3248 | ;; | |
3249 | sparc*-*linux*) | |
3250 | LD="${LD-ld} -m elf64_sparc" | |
3251 | ;; | |
3252 | esac | |
3253 | ;; | |
3254 | esac | |
3255 | fi | |
3256 | rm -rf conftest* | |
3257 | ;; | |
3258 | ||
3259 | *-*-sco3.2v5*) | |
3260 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
3261 | SAVE_CFLAGS="$CFLAGS" | |
3262 | CFLAGS="$CFLAGS -belf" | |
3263 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | |
3264 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | |
3265 | if test "${lt_cv_cc_needs_belf+set}" = set; then | |
3266 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3267 | else | |
3268 | ac_ext=c | |
3269 | ac_cpp='$CPP $CPPFLAGS' | |
3270 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3271 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3272 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3273 | ||
3274 | cat >conftest.$ac_ext <<_ACEOF | |
3275 | /* confdefs.h. */ | |
3276 | _ACEOF | |
3277 | cat confdefs.h >>conftest.$ac_ext | |
3278 | cat >>conftest.$ac_ext <<_ACEOF | |
3279 | /* end confdefs.h. */ | |
3280 | ||
3281 | int | |
3282 | main () | |
3283 | { | |
3284 | ||
3285 | ; | |
3286 | return 0; | |
3287 | } | |
3288 | _ACEOF | |
3289 | rm -f conftest.$ac_objext conftest$ac_exeext | |
3290 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3291 | (eval $ac_link) 2>conftest.er1 | |
3292 | ac_status=$? | |
3293 | grep -v '^ *+' conftest.er1 >conftest.err | |
3294 | rm -f conftest.er1 | |
3295 | cat conftest.err >&5 | |
3296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3297 | (exit $ac_status); } && | |
3298 | { ac_try='test -z "$ac_c_werror_flag" | |
3299 | || test ! -s conftest.err' | |
3300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3301 | (eval $ac_try) 2>&5 | |
3302 | ac_status=$? | |
3303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3304 | (exit $ac_status); }; } && | |
3305 | { ac_try='test -s conftest$ac_exeext' | |
3306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3307 | (eval $ac_try) 2>&5 | |
3308 | ac_status=$? | |
3309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3310 | (exit $ac_status); }; }; then | |
3311 | lt_cv_cc_needs_belf=yes | |
3312 | else | |
3313 | echo "$as_me: failed program was:" >&5 | |
3314 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3315 | ||
3316 | lt_cv_cc_needs_belf=no | |
3317 | fi | |
3318 | rm -f conftest.err conftest.$ac_objext \ | |
3319 | conftest$ac_exeext conftest.$ac_ext | |
3320 | ac_ext=c | |
3321 | ac_cpp='$CPP $CPPFLAGS' | |
3322 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3323 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3324 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3325 | ||
3326 | fi | |
3327 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | |
3328 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | |
3329 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | |
3330 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
3331 | CFLAGS="$SAVE_CFLAGS" | |
3332 | fi | |
3333 | ;; | |
3334 | *-*-cygwin* | *-*-mingw* | *-*-pw32*) | |
3335 | if test -n "$ac_tool_prefix"; then | |
3336 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
3337 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
3338 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3339 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3340 | if test "${ac_cv_prog_DLLTOOL+set}" = set; then | |
3341 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3342 | else | |
3343 | if test -n "$DLLTOOL"; then | |
3344 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
3345 | else | |
3346 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3347 | for as_dir in $PATH | |
3348 | do | |
3349 | IFS=$as_save_IFS | |
3350 | test -z "$as_dir" && as_dir=. | |
3351 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3352 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3353 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
3354 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3355 | break 2 | |
3356 | fi | |
3357 | done | |
3358 | done | |
3359 | ||
3360 | fi | |
3361 | fi | |
3362 | DLLTOOL=$ac_cv_prog_DLLTOOL | |
3363 | if test -n "$DLLTOOL"; then | |
3364 | echo "$as_me:$LINENO: result: $DLLTOOL" >&5 | |
3365 | echo "${ECHO_T}$DLLTOOL" >&6 | |
3366 | else | |
3367 | echo "$as_me:$LINENO: result: no" >&5 | |
3368 | echo "${ECHO_T}no" >&6 | |
3369 | fi | |
3370 | ||
3371 | fi | |
3372 | if test -z "$ac_cv_prog_DLLTOOL"; then | |
3373 | ac_ct_DLLTOOL=$DLLTOOL | |
3374 | # Extract the first word of "dlltool", so it can be a program name with args. | |
3375 | set dummy dlltool; ac_word=$2 | |
3376 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3377 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3378 | if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then | |
3379 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3380 | else | |
3381 | if test -n "$ac_ct_DLLTOOL"; then | |
3382 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
3383 | else | |
3384 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3385 | for as_dir in $PATH | |
3386 | do | |
3387 | IFS=$as_save_IFS | |
3388 | test -z "$as_dir" && as_dir=. | |
3389 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3390 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3391 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
3392 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3393 | break 2 | |
3394 | fi | |
3395 | done | |
3396 | done | |
3397 | ||
3398 | test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" | |
3399 | fi | |
3400 | fi | |
3401 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
3402 | if test -n "$ac_ct_DLLTOOL"; then | |
3403 | echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 | |
3404 | echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 | |
3405 | else | |
3406 | echo "$as_me:$LINENO: result: no" >&5 | |
3407 | echo "${ECHO_T}no" >&6 | |
3408 | fi | |
3409 | ||
3410 | DLLTOOL=$ac_ct_DLLTOOL | |
3411 | else | |
3412 | DLLTOOL="$ac_cv_prog_DLLTOOL" | |
3413 | fi | |
3414 | ||
3415 | if test -n "$ac_tool_prefix"; then | |
3416 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | |
3417 | set dummy ${ac_tool_prefix}as; ac_word=$2 | |
3418 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3419 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3420 | if test "${ac_cv_prog_AS+set}" = set; then | |
3421 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3422 | else | |
3423 | if test -n "$AS"; then | |
3424 | ac_cv_prog_AS="$AS" # Let the user override the test. | |
3425 | else | |
3426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3427 | for as_dir in $PATH | |
3428 | do | |
3429 | IFS=$as_save_IFS | |
3430 | test -z "$as_dir" && as_dir=. | |
3431 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3432 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3433 | ac_cv_prog_AS="${ac_tool_prefix}as" | |
3434 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3435 | break 2 | |
3436 | fi | |
3437 | done | |
3438 | done | |
3439 | ||
3440 | fi | |
3441 | fi | |
3442 | AS=$ac_cv_prog_AS | |
3443 | if test -n "$AS"; then | |
3444 | echo "$as_me:$LINENO: result: $AS" >&5 | |
3445 | echo "${ECHO_T}$AS" >&6 | |
3446 | else | |
3447 | echo "$as_me:$LINENO: result: no" >&5 | |
3448 | echo "${ECHO_T}no" >&6 | |
3449 | fi | |
3450 | ||
3451 | fi | |
3452 | if test -z "$ac_cv_prog_AS"; then | |
3453 | ac_ct_AS=$AS | |
3454 | # Extract the first word of "as", so it can be a program name with args. | |
3455 | set dummy as; ac_word=$2 | |
3456 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3457 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3458 | if test "${ac_cv_prog_ac_ct_AS+set}" = set; then | |
3459 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3460 | else | |
3461 | if test -n "$ac_ct_AS"; then | |
3462 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | |
3463 | else | |
3464 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3465 | for as_dir in $PATH | |
3466 | do | |
3467 | IFS=$as_save_IFS | |
3468 | test -z "$as_dir" && as_dir=. | |
3469 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3470 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3471 | ac_cv_prog_ac_ct_AS="as" | |
3472 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3473 | break 2 | |
3474 | fi | |
3475 | done | |
3476 | done | |
3477 | ||
3478 | test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false" | |
3479 | fi | |
3480 | fi | |
3481 | ac_ct_AS=$ac_cv_prog_ac_ct_AS | |
3482 | if test -n "$ac_ct_AS"; then | |
3483 | echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 | |
3484 | echo "${ECHO_T}$ac_ct_AS" >&6 | |
3485 | else | |
3486 | echo "$as_me:$LINENO: result: no" >&5 | |
3487 | echo "${ECHO_T}no" >&6 | |
3488 | fi | |
3489 | ||
3490 | AS=$ac_ct_AS | |
3491 | else | |
3492 | AS="$ac_cv_prog_AS" | |
3493 | fi | |
3494 | ||
3495 | if test -n "$ac_tool_prefix"; then | |
3496 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | |
3497 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
3498 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3500 | if test "${ac_cv_prog_OBJDUMP+set}" = set; then | |
3501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3502 | else | |
3503 | if test -n "$OBJDUMP"; then | |
3504 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
3505 | else | |
3506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3507 | for as_dir in $PATH | |
3508 | do | |
3509 | IFS=$as_save_IFS | |
3510 | test -z "$as_dir" && as_dir=. | |
3511 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3512 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3513 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
3514 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3515 | break 2 | |
3516 | fi | |
3517 | done | |
3518 | done | |
3519 | ||
3520 | fi | |
3521 | fi | |
3522 | OBJDUMP=$ac_cv_prog_OBJDUMP | |
3523 | if test -n "$OBJDUMP"; then | |
3524 | echo "$as_me:$LINENO: result: $OBJDUMP" >&5 | |
3525 | echo "${ECHO_T}$OBJDUMP" >&6 | |
3526 | else | |
3527 | echo "$as_me:$LINENO: result: no" >&5 | |
3528 | echo "${ECHO_T}no" >&6 | |
3529 | fi | |
3530 | ||
3531 | fi | |
3532 | if test -z "$ac_cv_prog_OBJDUMP"; then | |
3533 | ac_ct_OBJDUMP=$OBJDUMP | |
3534 | # Extract the first word of "objdump", so it can be a program name with args. | |
3535 | set dummy objdump; ac_word=$2 | |
3536 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3537 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3538 | if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then | |
3539 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3540 | else | |
3541 | if test -n "$ac_ct_OBJDUMP"; then | |
3542 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
3543 | else | |
3544 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3545 | for as_dir in $PATH | |
3546 | do | |
3547 | IFS=$as_save_IFS | |
3548 | test -z "$as_dir" && as_dir=. | |
3549 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3550 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3551 | ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
3552 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3553 | break 2 | |
3554 | fi | |
3555 | done | |
3556 | done | |
3557 | ||
3558 | test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" | |
3559 | fi | |
3560 | fi | |
3561 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
3562 | if test -n "$ac_ct_OBJDUMP"; then | |
3563 | echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 | |
3564 |