Parent Directory
|
Revision Log
|
Patch
revision 57 by nigel, Sat Feb 24 21:39:50 2007 UTC | revision 67 by nigel, Sat Feb 24 21:40:13 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 by Autoconf 2.50. | # Generated by GNU Autoconf 2.57. |
4 | # | # |
5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
6 | # Free Software Foundation, Inc. | # Free Software Foundation, Inc. |
7 | # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
9 | ## --------------------- ## | |
10 | ## M4sh Initialization. ## | |
11 | ## --------------------- ## | |
12 | ||
13 | # Be Bourne compatible | |
14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
15 | emulate sh | |
16 | NULLCMD=: | |
17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
18 | # is contrary to our usage. Disable this feature. | |
19 | alias -g '${1+"$@"}'='"$@"' | |
20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
21 | set -o posix | |
22 | fi | |
23 | ||
24 | # Support unset when possible. | |
25 | if (FOO=FOO; unset FOO) >/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 -n "`(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 | as_mkdir_p=false | |
222 | fi | |
223 | ||
224 | as_executable_p="test -f" | |
225 | ||
226 | # Sed expression to map a string onto a valid CPP name. | |
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
228 | ||
229 | # Sed expression to map a string onto a valid variable name. | |
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
231 | ||
232 | ||
233 | # IFS | |
234 | # We need space, tab and new line, in precisely that order. | |
235 | as_nl=' | |
236 | ' | |
237 | IFS=" $as_nl" | |
238 | ||
239 | # CDPATH. | |
240 | $as_unset CDPATH | |
241 | ||
242 | ||
243 | # Find the correct PATH separator. Usually this is `:', but | # Find the correct PATH separator. Usually this is `:', but |
244 | # DJGPP uses `;' like DOS. | # DJGPP uses `;' like DOS. |
# | Line 17 if test "X${PATH_SEPARATOR+set}" != Xset | Line 250 if test "X${PATH_SEPARATOR+set}" != Xset |
250 | esac | esac |
251 | fi | fi |
252 | ||
253 | ||
254 | # Check that we are running under the correct shell. | # Check that we are running under the correct shell. |
255 | SHELL=${CONFIG_SHELL-/bin/sh} | SHELL=${CONFIG_SHELL-/bin/sh} |
256 | ||
# | Line 162 if test "X$ECHO" = "X$CONFIG_SHELL $0 -- | Line 396 if test "X$ECHO" = "X$CONFIG_SHELL $0 -- |
396 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
397 | fi | fi |
398 | ||
# Be Bourne compatible | ||
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
emulate sh | ||
NULLCMD=: | ||
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
set -o posix | ||
fi | ||
# Name of the executable. | ||
as_me=`echo "$0" |sed 's,.*[\\/],,'` | ||
if expr a : '\(a\)' >/dev/null 2>&1; then | ||
as_expr=expr | ||
else | ||
as_expr=false | ||
fi | ||
rm -f conf$$ conf$$.exe conf$$.file | ||
echo >conf$$.file | ||
if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
# We could just check for DJGPP; but this test a) works b) is more generic | ||
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
if test -f conf$$.exe; then | ||
# Don't use ln at all; we don't have any links | ||
as_ln_s='cp -p' | ||
else | ||
as_ln_s='ln -s' | ||
fi | ||
elif ln conf$$.file conf$$ 2>/dev/null; then | ||
as_ln_s=ln | ||
else | ||
as_ln_s='cp -p' | ||
fi | ||
rm -f conf$$ conf$$.exe conf$$.file | ||
as_executable_p="test -f" | ||
# Support unset when possible. | ||
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
as_unset=unset | ||
else | ||
as_unset=false | ||
fi | ||
# NLS nuisances. | ||
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | ||
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | ||
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | ||
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | ||
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | ||
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | ||
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | ||
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | ||
# IFS | ||
# We need space, tab and new line, in precisely that order. | ||
as_nl=' | ||
' | ||
IFS=" $as_nl" | ||
399 | ||
# CDPATH. | ||
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | ||
400 | ||
401 | # Name of the host. | # Name of the host. |
402 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# | Line 236 exec 6>&1 | Line 409 exec 6>&1 |
409 | # Initializations. | # Initializations. |
410 | # | # |
411 | ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
412 | ac_config_libobj_dir=. | |
413 | cross_compiling=no | cross_compiling=no |
414 | subdirs= | subdirs= |
415 | MFLAGS= MAKEFLAGS= | MFLAGS= |
416 | MAKEFLAGS= | |
417 | SHELL=${CONFIG_SHELL-/bin/sh} | SHELL=${CONFIG_SHELL-/bin/sh} |
418 | ||
419 | # Maximum number of lines to put in a shell here document. | # Maximum number of lines to put in a shell here document. |
# | Line 246 SHELL=${CONFIG_SHELL-/bin/sh} | Line 421 SHELL=${CONFIG_SHELL-/bin/sh} |
421 | # only ac_max_sed_lines should be used. | # only ac_max_sed_lines should be used. |
422 | : ${ac_max_here_lines=38} | : ${ac_max_here_lines=38} |
423 | ||
424 | # Avoid depending upon Character Ranges. | # Identity of this package. |
425 | ac_cr_az='abcdefghijklmnopqrstuvwxyz' | PACKAGE_NAME= |
426 | ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | PACKAGE_TARNAME= |
427 | ac_cr_09='0123456789' | PACKAGE_VERSION= |
428 | ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 | PACKAGE_STRING= |
429 | PACKAGE_BUGREPORT= | |
# Sed expression to map a string onto a valid sh and CPP variable names. | ||
ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" | ||
ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" | ||
430 | ||
431 | ac_unique_file="dftables.c" | ac_unique_file="dftables.c" |
432 | # Factoring default headers for most tests. | # Factoring default headers for most tests. |
433 | ac_includes_default="\ | ac_includes_default="\ |
434 | #include <stdio.h> | #include <stdio.h> |
435 | #include <sys/types.h> | #if HAVE_SYS_TYPES_H |
436 | #include <sys/stat.h> | # include <sys/types.h> |
437 | #endif | |
438 | #if HAVE_SYS_STAT_H | |
439 | # include <sys/stat.h> | |
440 | #endif | |
441 | #if STDC_HEADERS | #if STDC_HEADERS |
442 | # include <stdlib.h> | # include <stdlib.h> |
443 | # include <stddef.h> | # include <stddef.h> |
# | Line 275 ac_includes_default="\ | Line 451 ac_includes_default="\ |
451 | # include <memory.h> | # include <memory.h> |
452 | # endif | # endif |
453 | # include <string.h> | # include <string.h> |
454 | #else | #endif |
455 | # if HAVE_STRINGS_H | #if HAVE_STRINGS_H |
456 | # include <strings.h> | # include <strings.h> |
# endif | ||
457 | #endif | #endif |
458 | #if HAVE_INTTYPES_H | #if HAVE_INTTYPES_H |
459 | # include <inttypes.h> | # include <inttypes.h> |
460 | #else | |
461 | # if HAVE_STDINT_H | |
462 | # include <stdint.h> | |
463 | # endif | |
464 | #endif | #endif |
465 | #if HAVE_UNISTD_H | #if HAVE_UNISTD_H |
466 | # include <unistd.h> | # include <unistd.h> |
467 | #endif" | #endif" |
468 | ||
469 | 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 LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' | |
470 | ac_subst_files='' | |
471 | ||
472 | # Initialize some variables set by options. | # Initialize some variables set by options. |
473 | ac_init_help= | ac_init_help= |
474 | ac_init_version=false | ac_init_version=false |
# | Line 325 oldincludedir='/usr/include' | Line 507 oldincludedir='/usr/include' |
507 | infodir='${prefix}/info' | infodir='${prefix}/info' |
508 | mandir='${prefix}/man' | mandir='${prefix}/man' |
509 | ||
# Identity of this package. | ||
PACKAGE_NAME= | ||
PACKAGE_TARNAME= | ||
PACKAGE_VERSION= | ||
PACKAGE_STRING= | ||
PACKAGE_BUGREPORT= | ||
510 | ac_prev= | ac_prev= |
511 | for ac_option | for ac_option |
512 | do | do |
# | Line 377 do | Line 552 do |
552 | -disable-* | --disable-*) | -disable-* | --disable-*) |
553 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
554 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
555 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
556 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
557 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
558 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
# | Line 386 do | Line 561 do |
561 | -enable-* | --enable-*) | -enable-* | --enable-*) |
562 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
563 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
564 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
565 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
566 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
567 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
# | Line 464 do | Line 639 do |
639 | with_fp=no ;; | with_fp=no ;; |
640 | ||
641 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
642 | | --no-cr | --no-c) | | --no-cr | --no-c | -n) |
643 | no_create=yes ;; | no_create=yes ;; |
644 | ||
645 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
# | Line 568 do | Line 743 do |
743 | -with-* | --with-*) | -with-* | --with-*) |
744 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
745 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
746 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
747 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
748 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
749 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package| sed 's/-/_/g'` |
# | Line 581 do | Line 756 do |
756 | -without-* | --without-*) | -without-* | --without-*) |
757 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
758 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
759 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
760 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
761 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
762 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ac_package=`echo $ac_package | sed 's/-/_/g'` |
# | Line 613 Try \`$0 --help' for more information." | Line 788 Try \`$0 --help' for more information." |
788 | *=*) | *=*) |
789 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
790 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
791 | expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
792 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
793 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
794 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
# | Line 623 Try \`$0 --help' for more information." | Line 798 Try \`$0 --help' for more information." |
798 | *) | *) |
799 | # FIXME: should be removed in autoconf 3.0. | # FIXME: should be removed in autoconf 3.0. |
800 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
801 | expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
802 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
803 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
804 | ;; | ;; |
# | Line 638 if test -n "$ac_prev"; then | Line 813 if test -n "$ac_prev"; then |
813 | fi | fi |
814 | ||
815 | # Be sure to have absolute paths. | # Be sure to have absolute paths. |
816 | for ac_var in exec_prefix prefix | |
817 | do | |
818 | eval ac_val=$`echo $ac_var` | |
819 | case $ac_val in | |
820 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
821 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
822 | { (exit 1); exit 1; }; };; | |
823 | esac | |
824 | done | |
825 | ||
826 | # Be sure to have absolute paths. | |
827 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
828 | localstatedir libdir includedir oldincludedir infodir mandir \ | localstatedir libdir includedir oldincludedir infodir mandir |
exec_prefix prefix | ||
829 | do | do |
830 | eval ac_val=$`echo $ac_var` | eval ac_val=$`echo $ac_var` |
831 | case $ac_val in | case $ac_val in |
832 | [\\/$]* | ?:[\\/]* ) ;; | [\\/$]* | ?:[\\/]* ) ;; |
833 | NONE ) ;; | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | ||
834 | { (exit 1); exit 1; }; };; | { (exit 1); exit 1; }; };; |
835 | esac | esac |
836 | done | done |
837 | ||
838 | # There might be people who depend on the old broken behavior: `$host' | # There might be people who depend on the old broken behavior: `$host' |
839 | # used to hold the argument of --host etc. | # used to hold the argument of --host etc. |
840 | # FIXME: To remove some day. | |
841 | build=$build_alias | build=$build_alias |
842 | host=$host_alias | host=$host_alias |
843 | target=$target_alias | target=$target_alias |
844 | ||
845 | # FIXME: should be removed in autoconf 3.0. | # FIXME: To remove some day. |
846 | if test "x$host_alias" != x; then | if test "x$host_alias" != x; then |
847 | if test "x$build_alias" = x; then | if test "x$build_alias" = x; then |
848 | cross_compiling=maybe | cross_compiling=maybe |
# | Line 673 test -n "$host_alias" && ac_tool_prefix= | Line 858 test -n "$host_alias" && ac_tool_prefix= |
858 | ||
859 | test "$silent" = yes && exec 6>/dev/null | test "$silent" = yes && exec 6>/dev/null |
860 | ||
861 | ||
862 | # Find the source files, if location was not specified. | # Find the source files, if location was not specified. |
863 | if test -z "$srcdir"; then | if test -z "$srcdir"; then |
864 | ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
865 | # Try the directory containing this script, then its parent. | # Try the directory containing this script, then its parent. |
866 | ac_prog=$0 | ac_confdir=`(dirname "$0") 2>/dev/null || |
867 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
868 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | X"$0" : 'X\(//\)[^/]' \| \ |
869 | X"$0" : 'X\(//\)$' \| \ | |
870 | X"$0" : 'X\(/\)' \| \ | |
871 | . : '\(.\)' 2>/dev/null || | |
872 | echo X"$0" | | |
873 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
874 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
875 | /^X\(\/\/\)$/{ s//\1/; q; } | |
876 | /^X\(\/\).*/{ s//\1/; q; } | |
877 | s/.*/./; q'` | |
878 | srcdir=$ac_confdir | srcdir=$ac_confdir |
879 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
880 | srcdir=.. | srcdir=.. |
# | Line 689 else | Line 884 else |
884 | fi | fi |
885 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
886 | if test "$ac_srcdir_defaulted" = yes; then | if test "$ac_srcdir_defaulted" = yes; then |
887 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
888 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
889 | else | else |
890 | { echo "$as_me: error: cannot find sources in $srcdir" >&2 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
891 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
892 | fi | fi |
893 | fi | fi |
894 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | |
895 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | |
896 | { (exit 1); exit 1; }; } | |
897 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
898 | ac_env_build_alias_set=${build_alias+set} | ac_env_build_alias_set=${build_alias+set} |
899 | ac_env_build_alias_value=$build_alias | ac_env_build_alias_value=$build_alias |
# | Line 744 if test "$ac_init_help" = "long"; then | Line 942 if test "$ac_init_help" = "long"; then |
942 | # The list generated by autoconf has been trimmed to remove many | # The list generated by autoconf has been trimmed to remove many |
943 | # options that are totally irrelevant to PCRE (e.g. relating to X), | # options that are totally irrelevant to PCRE (e.g. relating to X), |
944 | # or are not supported by its Makefile. | # or are not supported by its Makefile. |
945 | # The list generated by autoconf has been trimmed to remove many | |
946 | # options that are totally irrelevant to PCRE (e.g. relating to X), | |
947 | # or are not supported by its Makefile. | |
948 | # This message is too long to be a string in the A/UX 3.1 sh. | # This message is too long to be a string in the A/UX 3.1 sh. |
949 | cat <<EOF | cat <<_ACEOF |
950 | \`configure' configures this package to adapt to many kinds of systems. | \`configure' configures this package to adapt to many kinds of systems. |
951 | ||
952 | Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
# | Line 766 Configuration: | Line 967 Configuration: |
967 | -n, --no-create do not create output files | -n, --no-create do not create output files |
968 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
969 | ||
970 | EOF | _ACEOF |
971 | ||
972 | cat <<EOF | cat <<_ACEOF |
973 | Installation directories: | Installation directories: |
974 | --prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
975 | [$ac_default_prefix] | [$ac_default_prefix] |
# | Line 787 Fine tuning of the installation director | Line 988 Fine tuning of the installation director |
988 | --libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] |
989 | --includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] |
990 | --mandir=DIR man documentation [PREFIX/man] | --mandir=DIR man documentation [PREFIX/man] |
991 | EOF | _ACEOF |
992 | ||
993 | cat <<\EOF | cat <<\_ACEOF |
994 | ||
995 | EOF | _ACEOF |
996 | fi | fi |
997 | ||
998 | if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then |
999 | ||
1000 | cat <<\EOF | cat <<\_ACEOF |
1001 | ||
1002 | Optional Features: | Optional Features: |
1003 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1004 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-utf8 enable UTF8 support (incomplete) | ||
--enable-newline-is-cr use CR as the newline character | ||
--enable-newline-is-lf use LF as the newline character | ||
1005 | --enable-shared build shared libraries default=yes | --enable-shared build shared libraries default=yes |
1006 | --enable-static build static libraries default=yes | --enable-static build static libraries default=yes |
1007 | --enable-fast-install optimize for fast installation default=yes | --enable-fast-install optimize for fast installation default=yes |
1008 | --disable-libtool-lock avoid locking (might break parallel builds) | --disable-libtool-lock avoid locking (might break parallel builds) |
1009 | --enable-utf8 enable UTF8 support | |
1010 | --enable-newline-is-cr use CR as the newline character | |
1011 | --enable-newline-is-lf use LF as the newline character | |
1012 | ||
1013 | Optional Packages: | Optional Packages: |
1014 | --with-gnu-ld assume the C compiler uses GNU ld default=no | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1015 | --with-pic try to use only PIC/non-PIC objects default=use both | --with-pic try to use only PIC/non-PIC objects default=use both |
1016 | --with-posix-malloc-threshold=5 threshold for POSIX malloc usage | |
1017 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | |
1018 | --with-match-limit=10000000 default limit on internal looping) | |
1019 | ||
1020 | Some influential environment variables: | Some influential environment variables: |
1021 | CC C compiler command | CC C compiler command |
# | Line 825 Some influential environment variables: | Line 1029 Some influential environment variables: |
1029 | Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help |
1030 | it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
1031 | ||
1032 | EOF | _ACEOF |
1033 | fi | fi |
1034 | ||
1035 | if test "$ac_init_help" = "recursive"; then | if test "$ac_init_help" = "recursive"; then |
1036 | # If there are subdirs, report their specific --help. | # If there are subdirs, report their specific --help. |
1037 | ac_popdir=`pwd` | ac_popdir=`pwd` |
1038 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1039 | cd $ac_subdir | test -d $ac_dir || continue |
1040 | # A "../" for each directory in /$ac_subdir. | ac_builddir=. |
1041 | ac_dots=`echo $ac_subdir | | |
1042 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` | if test "$ac_dir" != .; then |
1043 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
1044 | case $srcdir in | # A "../" for each directory in $ac_dir_suffix. |
1045 | .) # No --srcdir option. We are building in place. | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
1046 | ac_sub_srcdir=$srcdir ;; | else |
1047 | [\\/]* | ?:[\\/]* ) # Absolute path. | ac_dir_suffix= ac_top_builddir= |
1048 | ac_sub_srcdir=$srcdir/$ac_subdir ;; | fi |
1049 | *) # Relative path. | |
1050 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | case $srcdir in |
1051 | esac | .) # No --srcdir option. We are building in place. |
1052 | ac_srcdir=. | |
1053 | if test -z "$ac_top_builddir"; then | |
1054 | ac_top_srcdir=. | |
1055 | else | |
1056 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
1057 | fi ;; | |
1058 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
1059 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1060 | ac_top_srcdir=$srcdir ;; | |
1061 | *) # Relative path. | |
1062 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
1063 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
1064 | esac | |
1065 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
1066 | # absolute. | |
1067 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
1068 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
1069 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
1070 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
1071 | ||
1072 | cd $ac_dir | |
1073 | # Check for guested configure; otherwise get Cygnus style configure. | # Check for guested configure; otherwise get Cygnus style configure. |
1074 | if test -f $ac_sub_srcdir/configure.gnu; then | if test -f $ac_srcdir/configure.gnu; then |
1075 | echo | echo |
1076 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1077 | elif test -f $ac_sub_srcdir/configure; then | elif test -f $ac_srcdir/configure; then |
1078 | echo | echo |
1079 | $SHELL $ac_sub_srcdir/configure --help=recursive | $SHELL $ac_srcdir/configure --help=recursive |
1080 | elif test -f $ac_sub_srcdir/configure.ac || | elif test -f $ac_srcdir/configure.ac || |
1081 | test -f $ac_sub_srcdir/configure.in; then | test -f $ac_srcdir/configure.in; then |
1082 | echo | echo |
1083 | $ac_configure --help | $ac_configure --help |
1084 | else | else |
1085 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1086 | fi | fi |
1087 | cd $ac_popdir | cd $ac_popdir |
1088 | done | done |
# | Line 866 fi | Line 1090 fi |
1090 | ||
1091 | test -n "$ac_init_help" && exit 0 | test -n "$ac_init_help" && exit 0 |
1092 | if $ac_init_version; then | if $ac_init_version; then |
1093 | cat <<\EOF | cat <<\_ACEOF |
1094 | ||
1095 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
1096 | Free Software Foundation, Inc. | Free Software Foundation, Inc. |
1097 | This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
1098 | gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
1099 | EOF | _ACEOF |
1100 | exit 0 | exit 0 |
1101 | fi | fi |
1102 | exec 5>config.log | exec 5>config.log |
1103 | cat >&5 <<EOF | cat >&5 <<_ACEOF |
1104 | This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
1105 | running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
1106 | ||
1107 | It was created by $as_me, which was | It was created by $as_me, which was |
1108 | generated by GNU Autoconf 2.50. Invocation command line was | generated by GNU Autoconf 2.57. Invocation command line was |
1109 | ||
1110 | $ $0 $@ | $ $0 $@ |
1111 | ||
1112 | EOF | _ACEOF |
1113 | { | { |
1114 | cat <<_ASUNAME | cat <<_ASUNAME |
1115 | ## ---------- ## | ## --------- ## |
1116 | ## Platform. ## | ## Platform. ## |
1117 | ## ---------- ## | ## --------- ## |
1118 | ||
1119 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1120 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
# | Line 909 hostinfo = `(hostinfo) 2>/ | Line 1133 hostinfo = `(hostinfo) 2>/ |
1133 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1134 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1135 | ||
PATH = $PATH | ||
1136 | _ASUNAME | _ASUNAME |
1137 | ||
1138 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1139 | for as_dir in $PATH | |
1140 | do | |
1141 | IFS=$as_save_IFS | |
1142 | test -z "$as_dir" && as_dir=. | |
1143 | echo "PATH: $as_dir" | |
1144 | done | |
1145 | ||
1146 | } >&5 | } >&5 |
1147 | ||
1148 | cat >&5 <<EOF | cat >&5 <<_ACEOF |
1149 | ## ------------ ## | |
1150 | ## Core tests. ## | |
1151 | ## ------------ ## | ## ----------- ## |
1152 | ## Core tests. ## | |
1153 | ## ----------- ## | |
1154 | ||
1155 | _ACEOF | |
1156 | ||
EOF | ||
1157 | ||
1158 | # Keep a trace of the command line. | # Keep a trace of the command line. |
1159 | # Strip out --no-create and --no-recursion so they do not pile up. | # Strip out --no-create and --no-recursion so they do not pile up. |
1160 | # Strip out --silent because we don't want to record it for future runs. | |
1161 | # Also quote any args containing shell meta-characters. | # Also quote any args containing shell meta-characters. |
1162 | # Make two passes to allow for proper duplicate-argument suppression. | |
1163 | ac_configure_args= | ac_configure_args= |
1164 | ac_configure_args0= | |
1165 | ac_configure_args1= | |
1166 | ac_sep= | ac_sep= |
1167 | for ac_arg | ac_must_keep_next=false |
1168 | for ac_pass in 1 2 | |
1169 | do | do |
1170 | case $ac_arg in | for ac_arg |
1171 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | do |
1172 | | --no-cr | --no-c) ;; | case $ac_arg in |
1173 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1174 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1175 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | | -silent | --silent | --silen | --sile | --sil) |
1176 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | continue ;; |
1177 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1178 | ac_sep=" " ;; | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1179 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | esac |
1180 | ac_sep=" " ;; | case $ac_pass in |
1181 | esac | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1182 | # Get rid of the leading space. | 2) |
1183 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1184 | if test $ac_must_keep_next = true; then | |
1185 | ac_must_keep_next=false # Got value, back to normal. | |
1186 | else | |
1187 | case $ac_arg in | |
1188 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1189 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1190 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1191 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1192 | case "$ac_configure_args0 " in | |
1193 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1194 | esac | |
1195 | ;; | |
1196 | -* ) ac_must_keep_next=true ;; | |
1197 | esac | |
1198 | fi | |
1199 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
1200 | # Get rid of the leading space. | |
1201 | ac_sep=" " | |
1202 | ;; | |
1203 | esac | |
1204 | done | |
1205 | done | done |
1206 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1207 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1208 | ||
1209 | # When interrupted or exit'd, cleanup temporary files, and complete | # When interrupted or exit'd, cleanup temporary files, and complete |
1210 | # config.log. We remove comments because anyway the quotes in there | # config.log. We remove comments because anyway the quotes in there |
1211 | # would cause problems or look ugly. | # would cause problems or look ugly. |
1212 | # WARNING: Be sure not to use single quotes in there, as some shells, | |
1213 | # such as our DU 5.0 friend, will then `close' the trap. | |
1214 | trap 'exit_status=$? | trap 'exit_status=$? |
1215 | # Save into config.log some information that might help in debugging. | # Save into config.log some information that might help in debugging. |
1216 | echo >&5 | { |
1217 | echo "## ----------------- ##" >&5 | echo |
1218 | echo "## Cache variables. ##" >&5 | |
1219 | echo "## ----------------- ##" >&5 | cat <<\_ASBOX |
1220 | echo >&5 | ## ---------------- ## |
1221 | # The following way of writing the cache mishandles newlines in values, | ## Cache variables. ## |
1222 | ## ---------------- ## | |
1223 | _ASBOX | |
1224 | echo | |
1225 | # The following way of writing the cache mishandles newlines in values, | |
1226 | { | { |
1227 | (set) 2>&1 | | (set) 2>&1 | |
1228 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1229 | *ac_space=\ *) | *ac_space=\ *) |
1230 | sed -n \ | sed -n \ |
1231 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1232 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1233 | ;; | ;; |
1234 | *) | *) |
1235 | sed -n \ | sed -n \ |
1236 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1237 | ;; | ;; |
1238 | esac; | esac; |
1239 | } >&5 | } |
1240 | sed "/^$/d" confdefs.h >conftest.log | echo |
1241 | if test -s conftest.log; then | |
1242 | echo >&5 | cat <<\_ASBOX |
1243 | echo "## ------------ ##" >&5 | ## ----------------- ## |
1244 | echo "## confdefs.h. ##" >&5 | ## Output variables. ## |
1245 | echo "## ------------ ##" >&5 | ## ----------------- ## |
1246 | echo >&5 | _ASBOX |
1247 | cat conftest.log >&5 | echo |
1248 | fi | for ac_var in $ac_subst_vars |
1249 | (echo; echo) >&5 | do |
1250 | test "$ac_signal" != 0 && | eval ac_val=$`echo $ac_var` |
1251 | echo "$as_me: caught signal $ac_signal" >&5 | echo "$ac_var='"'"'$ac_val'"'"'" |
1252 | echo "$as_me: exit $exit_status" >&5 | done | sort |
1253 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | echo |
1254 | ||
1255 | if test -n "$ac_subst_files"; then | |
1256 | cat <<\_ASBOX | |
1257 | ## ------------- ## | |
1258 | ## Output files. ## | |
1259 | ## ------------- ## | |
1260 | _ASBOX | |
1261 | echo | |
1262 | for ac_var in $ac_subst_files | |
1263 | do | |
1264 | eval ac_val=$`echo $ac_var` | |
1265 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1266 | done | sort | |
1267 | echo | |
1268 | fi | |
1269 | ||
1270 | if test -s confdefs.h; then | |
1271 | cat <<\_ASBOX | |
1272 | ## ----------- ## | |
1273 | ## confdefs.h. ## | |
1274 | ## ----------- ## | |
1275 | _ASBOX | |
1276 | echo | |
1277 | sed "/^$/d" confdefs.h | sort | |
1278 | echo | |
1279 | fi | |
1280 | test "$ac_signal" != 0 && | |
1281 | echo "$as_me: caught signal $ac_signal" | |
1282 | echo "$as_me: exit $exit_status" | |
1283 | } >&5 | |
1284 | rm -f core core.* *.core && | |
1285 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1286 | exit $exit_status | exit $exit_status |
1287 | ' 0 | ' 0 |
1288 | for ac_signal in 1 2 13 15; do | for ac_signal in 1 2 13 15; do |
1289 | trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1290 | done | done |
1291 | ac_signal=0 | ac_signal=0 |
1292 | ||
# | Line 994 rm -rf conftest* confdefs.h | Line 1295 rm -rf conftest* confdefs.h |
1295 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1296 | echo >confdefs.h | echo >confdefs.h |
1297 | ||
1298 | # Predefined preprocessor variables. | |
1299 | ||
1300 | cat >>confdefs.h <<_ACEOF | |
1301 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1302 | _ACEOF | |
1303 | ||
1304 | ||
1305 | cat >>confdefs.h <<_ACEOF | |
1306 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1307 | _ACEOF | |
1308 | ||
1309 | ||
1310 | cat >>confdefs.h <<_ACEOF | |
1311 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1312 | _ACEOF | |
1313 | ||
1314 | ||
1315 | cat >>confdefs.h <<_ACEOF | |
1316 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1317 | _ACEOF | |
1318 | ||
1319 | ||
1320 | cat >>confdefs.h <<_ACEOF | |
1321 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1322 | _ACEOF | |
1323 | ||
1324 | ||
1325 | # Let the site file select an alternate cache file if it wants to. | # Let the site file select an alternate cache file if it wants to. |
1326 | # Prefer explicitly selected file to automatically selected ones. | # Prefer explicitly selected file to automatically selected ones. |
1327 | if test -z "$CONFIG_SITE"; then | if test -z "$CONFIG_SITE"; then |
# | Line 1005 if test -z "$CONFIG_SITE"; then | Line 1333 if test -z "$CONFIG_SITE"; then |
1333 | fi | fi |
1334 | for ac_site_file in $CONFIG_SITE; do | for ac_site_file in $CONFIG_SITE; do |
1335 | if test -r "$ac_site_file"; then | if test -r "$ac_site_file"; then |
1336 | { echo "$as_me:1012: loading site script $ac_site_file" >&5 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1337 | echo "$as_me: loading site script $ac_site_file" >&6;} | echo "$as_me: loading site script $ac_site_file" >&6;} |
1338 | cat "$ac_site_file" >&5 | sed 's/^/| /' "$ac_site_file" >&5 |
1339 | . "$ac_site_file" | . "$ac_site_file" |
1340 | fi | fi |
1341 | done | done |
# | Line 1016 if test -r "$cache_file"; then | Line 1344 if test -r "$cache_file"; then |
1344 | # Some versions of bash will fail to source /dev/null (special | # Some versions of bash will fail to source /dev/null (special |
1345 | # files actually), so we avoid doing that. | # files actually), so we avoid doing that. |
1346 | if test -f "$cache_file"; then | if test -f "$cache_file"; then |
1347 | { echo "$as_me:1023: loading cache $cache_file" >&5 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1348 | echo "$as_me: loading cache $cache_file" >&6;} | echo "$as_me: loading cache $cache_file" >&6;} |
1349 | case $cache_file in | case $cache_file in |
1350 | [\\/]* | ?:[\\/]* ) . $cache_file;; | [\\/]* | ?:[\\/]* ) . $cache_file;; |
# | Line 1024 echo "$as_me: loading cache $cache_file" | Line 1352 echo "$as_me: loading cache $cache_file" |
1352 | esac | esac |
1353 | fi | fi |
1354 | else | else |
1355 | { echo "$as_me:1031: creating cache $cache_file" >&5 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1356 | echo "$as_me: creating cache $cache_file" >&6;} | echo "$as_me: creating cache $cache_file" >&6;} |
1357 | >$cache_file | >$cache_file |
1358 | fi | fi |
1359 | ||
1360 | # Check that the precious variables saved in the cache have kept the same | # Check that the precious variables saved in the cache have kept the same |
1361 | # value. | # value. |
1362 | ac_suggest_removing_cache=false | ac_cache_corrupted=false |
1363 | for ac_var in `(set) 2>&1 | | for ac_var in `(set) 2>&1 | |
1364 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1365 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
# | Line 1040 for ac_var in `(set) 2>&1 | | Line 1368 for ac_var in `(set) 2>&1 | |
1368 | eval ac_new_val="\$ac_env_${ac_var}_value" | eval ac_new_val="\$ac_env_${ac_var}_value" |
1369 | case $ac_old_set,$ac_new_set in | case $ac_old_set,$ac_new_set in |
1370 | set,) | set,) |
1371 | { echo "$as_me:1047: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1372 | echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1373 | ac_suggest_removing_cache=: ;; | ac_cache_corrupted=: ;; |
1374 | ,set) | ,set) |
1375 | { echo "$as_me:1051: WARNING: \`$ac_var' was not set in the previous run" >&5 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1376 | echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1377 | ac_suggest_removing_cache=: ;; | ac_cache_corrupted=: ;; |
1378 | ,);; | ,);; |
1379 | *) | *) |
1380 | if test "x$ac_old_val" != "x$ac_new_val"; then | if test "x$ac_old_val" != "x$ac_new_val"; then |
1381 | { echo "$as_me:1057: WARNING: \`$ac_var' has changed since the previous run:" >&5 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1382 | echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1383 | { echo "$as_me:1059: WARNING: former value: $ac_old_val" >&5 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1384 | echo "$as_me: WARNING: former value: $ac_old_val" >&2;} | echo "$as_me: former value: $ac_old_val" >&2;} |
1385 | { echo "$as_me:1061: WARNING: current value: $ac_new_val" >&5 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1386 | echo "$as_me: WARNING: current value: $ac_new_val" >&2;} | echo "$as_me: current value: $ac_new_val" >&2;} |
1387 | ac_suggest_removing_cache=: | ac_cache_corrupted=: |
1388 | fi;; | fi;; |
1389 | esac | esac |
1390 | # Pass precious variables to config.status. | |
1391 | if test "$ac_new_set" = set; then | |
1392 | case $ac_new_val in | |
1393 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1394 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1395 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1396 | esac | |
1397 | case " $ac_configure_args " in | |
1398 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1399 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1400 | esac | |
1401 | fi | |
1402 | done | done |
1403 | if $ac_suggest_removing_cache; then | if $ac_cache_corrupted; then |
1404 | { echo "$as_me:1068: WARNING: changes in the environment can compromise the build" >&5 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1405 | echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1406 | { echo "$as_me:1070: WARNING: consider removing $cache_file and starting over" >&5 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1407 | echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1408 | { (exit 1); exit 1; }; } | |
1409 | fi | fi |
1410 | ||
1411 | ac_ext=c | ac_ext=c |
# | Line 1073 ac_compile='$CC -c $CFLAGS $CPPFLAGS con | Line 1414 ac_compile='$CC -c $CFLAGS $CPPFLAGS con |
1414 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1415 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1416 | ||
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
*c*,-n*) ECHO_N= ECHO_C=' | ||
' ECHO_T=' ' ;; | ||
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
esac | ||
echo "#! $SHELL" >conftest.sh | ||
echo "exit 0" >>conftest.sh | ||
chmod +x conftest.sh | ||
if { (echo "$as_me:1089: PATH=\".;.\"; conftest.sh") >&5 | ||
(PATH=".;."; conftest.sh) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:1092: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; then | ||
ac_path_separator=';' | ||
else | ||
ac_path_separator=: | ||
fi | ||
PATH_SEPARATOR="$ac_path_separator" | ||
rm -f conftest.sh | ||
1417 | ||
ac_config_headers="$ac_config_headers config.h:config.in" | ||
1418 | ||
1419 | PCRE_MAJOR=3 | |
1420 | PCRE_MINOR=7 | |
1421 | PCRE_DATE=29-Oct-2001 | |
1422 | ||
1423 | ||
1424 | ||
1425 | ||
1426 | ||
1427 | ||
1428 | ||
1429 | ||
1430 | ||
1431 | ||
1432 | ||
1433 | ||
1434 | ||
1435 | ||
1436 | ||
1437 | ||
1438 | ||
1439 | ac_config_headers="$ac_config_headers config.h:config.in" | |
1440 | ||
1441 | ||
1442 | ||
1443 | PCRE_MAJOR=4 | |
1444 | PCRE_MINOR=2 | |
1445 | PCRE_DATE=14-Apr-2003 | |
1446 | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
1447 | ||
1448 | ||
1449 | POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | |
1450 | ||
1451 | ||
1452 | PCRE_LIB_VERSION=0:1:0 | PCRE_LIB_VERSION=0:1:0 |
1453 | PCRE_POSIXLIB_VERSION=0:0:0 | PCRE_POSIXLIB_VERSION=0:0:0 |
1454 | ||
1455 | ||
1456 | ac_ext=c | ac_ext=c |
1457 | ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
1458 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
# | Line 1112 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1461 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
1462 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1463 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1464 | echo "$as_me:1119: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1465 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1466 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1467 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1120 else | Line 1469 else |
1469 | if test -n "$CC"; then | if test -n "$CC"; then |
1470 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1471 | else | else |
1472 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1473 | ac_dummy="$PATH" | for as_dir in $PATH |
1474 | for ac_dir in $ac_dummy; do | do |
1475 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1476 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1477 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1478 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1479 | echo "$as_me:1134: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1480 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1481 | break 2 | |
1482 | fi | |
1483 | done | |
1484 | done | done |
1485 | ||
1486 | fi | fi |
1487 | fi | fi |
1488 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1489 | if test -n "$CC"; then | if test -n "$CC"; then |
1490 | echo "$as_me:1142: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1491 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1492 | else | else |
1493 | echo "$as_me:1145: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1494 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1495 | fi | fi |
1496 | ||
# | Line 1147 if test -z "$ac_cv_prog_CC"; then | Line 1499 if test -z "$ac_cv_prog_CC"; then |
1499 | ac_ct_CC=$CC | ac_ct_CC=$CC |
1500 | # Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
1501 | set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
1502 | echo "$as_me:1154: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1503 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1504 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1505 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1155 else | Line 1507 else |
1507 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1508 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1509 | else | else |
1510 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1511 | ac_dummy="$PATH" | for as_dir in $PATH |
1512 | for ac_dir in $ac_dummy; do | do |
1513 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1514 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1515 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1516 | ac_cv_prog_ac_ct_CC="gcc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1517 | echo "$as_me:1169: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="gcc" |
1518 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1519 | break 2 | |
1520 | fi | |
1521 | done | |
1522 | done | done |
1523 | ||
1524 | fi | fi |
1525 | fi | fi |
1526 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1527 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1528 | echo "$as_me:1177: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1529 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1530 | else | else |
1531 | echo "$as_me:1180: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1532 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1533 | fi | fi |
1534 | ||
# | Line 1186 if test -z "$CC"; then | Line 1541 if test -z "$CC"; then |
1541 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
1542 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1543 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1544 | echo "$as_me:1193: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1545 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1546 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1547 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1194 else | Line 1549 else |
1549 | if test -n "$CC"; then | if test -n "$CC"; then |
1550 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1551 | else | else |
1552 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1553 | ac_dummy="$PATH" | for as_dir in $PATH |
1554 | for ac_dir in $ac_dummy; do | do |
1555 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1556 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1557 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1558 | ac_cv_prog_CC="${ac_tool_prefix}cc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1559 | echo "$as_me:1208: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1560 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1561 | break 2 | |
1562 | fi | |
1563 | done | |
1564 | done | done |
1565 | ||
1566 | fi | fi |
1567 | fi | fi |
1568 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1569 | if test -n "$CC"; then | if test -n "$CC"; then |
1570 | echo "$as_me:1216: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1571 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1572 | else | else |
1573 | echo "$as_me:1219: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1574 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1575 | fi | fi |
1576 | ||
# | Line 1221 if test -z "$ac_cv_prog_CC"; then | Line 1579 if test -z "$ac_cv_prog_CC"; then |
1579 | ac_ct_CC=$CC | ac_ct_CC=$CC |
1580 | # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
1581 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
1582 | echo "$as_me:1228: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1583 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1584 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1585 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1229 else | Line 1587 else |
1587 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1588 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1589 | else | else |
1590 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1591 | ac_dummy="$PATH" | for as_dir in $PATH |
1592 | for ac_dir in $ac_dummy; do | do |
1593 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1594 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1595 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1596 | ac_cv_prog_ac_ct_CC="cc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1597 | echo "$as_me:1243: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="cc" |
1598 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1599 | break 2 | |
1600 | fi | |
1601 | done | |
1602 | done | done |
1603 | ||
1604 | fi | fi |
1605 | fi | fi |
1606 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1607 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1608 | echo "$as_me:1251: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1609 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1610 | else | else |
1611 | echo "$as_me:1254: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1612 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1613 | fi | fi |
1614 | ||
# | Line 1260 fi | Line 1621 fi |
1621 | if test -z "$CC"; then | if test -z "$CC"; then |
1622 | # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
1623 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
1624 | echo "$as_me:1267: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1625 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1626 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1627 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1269 else | Line 1630 else |
1630 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1631 | else | else |
1632 | ac_prog_rejected=no | ac_prog_rejected=no |
1633 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1634 | ac_dummy="$PATH" | for as_dir in $PATH |
1635 | for ac_dir in $ac_dummy; do | do |
1636 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1637 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1638 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1639 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1640 | ac_prog_rejected=yes | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1641 | continue | ac_prog_rejected=yes |
1642 | fi | continue |
1643 | ac_cv_prog_CC="cc" | fi |
1644 | echo "$as_me:1287: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="cc" |
1645 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1646 | break 2 | |
1647 | fi | |
1648 | done | |
1649 | done | done |
1650 | ||
1651 | if test $ac_prog_rejected = yes; then | if test $ac_prog_rejected = yes; then |
# | Line 1293 if test $ac_prog_rejected = yes; then | Line 1657 if test $ac_prog_rejected = yes; then |
1657 | # However, it has the same basename, so the bogon will be chosen | # However, it has the same basename, so the bogon will be chosen |
1658 | # first if we set CC to just the basename; use the full file name. | # first if we set CC to just the basename; use the full file name. |
1659 | shift | shift |
1660 | set dummy "$ac_dir/$ac_word" ${1+"$@"} | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
shift | ||
ac_cv_prog_CC="$@" | ||
1661 | fi | fi |
1662 | fi | fi |
1663 | fi | fi |
1664 | fi | fi |
1665 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1666 | if test -n "$CC"; then | if test -n "$CC"; then |
1667 | echo "$as_me:1309: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1668 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1669 | else | else |
1670 | echo "$as_me:1312: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1671 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1672 | fi | fi |
1673 | ||
# | Line 1316 if test -z "$CC"; then | Line 1678 if test -z "$CC"; then |
1678 | do | do |
1679 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1680 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1681 | echo "$as_me:1323: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1682 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1683 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1684 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1324 else | Line 1686 else |
1686 | if test -n "$CC"; then | if test -n "$CC"; then |
1687 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1688 | else | else |
1689 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1690 | ac_dummy="$PATH" | for as_dir in $PATH |
1691 | for ac_dir in $ac_dummy; do | do |
1692 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1693 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1694 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1695 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1696 | echo "$as_me:1338: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1697 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1698 | break 2 | |
1699 | fi | |
1700 | done | |
1701 | done | done |
1702 | ||
1703 | fi | fi |
1704 | fi | fi |
1705 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1706 | if test -n "$CC"; then | if test -n "$CC"; then |
1707 | echo "$as_me:1346: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1708 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1709 | else | else |
1710 | echo "$as_me:1349: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1711 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1712 | fi | fi |
1713 | ||
# | Line 1355 if test -z "$CC"; then | Line 1720 if test -z "$CC"; then |
1720 | do | do |
1721 | # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1722 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
1723 | echo "$as_me:1362: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1724 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1725 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1726 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1363 else | Line 1728 else |
1728 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1729 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1730 | else | else |
1731 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1732 | ac_dummy="$PATH" | for as_dir in $PATH |
1733 | for ac_dir in $ac_dummy; do | do |
1734 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1735 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1736 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1737 | ac_cv_prog_ac_ct_CC="$ac_prog" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1738 | echo "$as_me:1377: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1739 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1740 | break 2 | |
1741 | fi | |
1742 | done | |
1743 | done | done |
1744 | ||
1745 | fi | fi |
1746 | fi | fi |
1747 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1748 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1749 | echo "$as_me:1385: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1750 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1751 | else | else |
1752 | echo "$as_me:1388: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1753 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1754 | fi | fi |
1755 | ||
# | Line 1393 fi | Line 1761 fi |
1761 | ||
1762 | fi | fi |
1763 | ||
1764 | test -z "$CC" && { { echo "$as_me:1400: error: no acceptable cc found in \$PATH" >&5 | |
1765 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1766 | See \`config.log' for more details." >&5 | |
1767 | echo "$as_me: error: no acceptable C compiler found in \$PATH | |
1768 | See \`config.log' for more details." >&2;} | |
1769 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1770 | ||
1771 | # Provide some information about the compiler. | |
1772 | echo "$as_me:$LINENO:" \ | |
1773 | "checking for C compiler version" >&5 | |
1774 | ac_compiler=`set X $ac_compile; echo $2` | |
1775 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
1776 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
1777 | ac_status=$? | |
1778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1779 | (exit $ac_status); } | |
1780 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
1781 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
1782 | ac_status=$? | |
1783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1784 | (exit $ac_status); } | |
1785 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
1786 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
1787 | ac_status=$? | |
1788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1789 | (exit $ac_status); } | |
1790 | ||
1791 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
1792 | #line 1405 "configure" | #line $LINENO "configure" |
1793 | #include "confdefs.h" | /* confdefs.h. */ |
1794 | _ACEOF | |
1795 | cat confdefs.h >>conftest.$ac_ext | |
1796 | cat >>conftest.$ac_ext <<_ACEOF | |
1797 | /* end confdefs.h. */ | |
1798 | ||
1799 | int | int |
1800 | main () | main () |
# | Line 1410 main () | Line 1805 main () |
1805 | } | } |
1806 | _ACEOF | _ACEOF |
1807 | ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files |
1808 | ac_clean_files="$ac_clean_files a.out a.exe" | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1809 | # Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
1810 | # It will help us diagnose broken compiler, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
1811 | # of exeext. | # of exeext. |
1812 | echo "$as_me:1421: checking for C compiler default output" >&5 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
1813 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1814 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1815 | if { (eval echo "$as_me:1424: \"$ac_link_default\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1816 | (eval $ac_link_default) 2>&5 | (eval $ac_link_default) 2>&5 |
1817 | ac_status=$? | ac_status=$? |
1818 | echo "$as_me:1427: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1819 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1820 | for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do | # Find the output, starting from the most likely. This scheme is |
1821 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1822 | # resort. | |
1823 | ||
1824 | # Be careful to initialize this variable, since it used to be cached. | |
1825 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
1826 | ac_cv_exeext= | |
1827 | # b.out is created by i960 compilers. | |
1828 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
1829 | do | |
1830 | test -f "$ac_file" || continue | |
1831 | case $ac_file in | case $ac_file in |
1832 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1833 | a.out ) # We found the default executable, but exeext='' is most | ;; |
1834 | # certainly right. | conftest.$ac_ext ) |
1835 | break;; | # This is the source file. |
1836 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ;; |
1837 | export ac_cv_exeext | [ab].out ) |
1838 | break;; | # We found the default executable, but exeext='' is most |
1839 | * ) break;; | # certainly right. |
1840 | break;; | |
1841 | *.* ) | |
1842 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1843 | # FIXME: I believe we export ac_cv_exeext for Libtool, | |
1844 | # but it would be cool to find out if it's true. Does anybody | |
1845 | # maintain Libtool? --akim. | |
1846 | export ac_cv_exeext | |
1847 | break;; | |
1848 | * ) | |
1849 | break;; | |
1850 | esac | esac |
1851 | done | done |
1852 | else | else |
1853 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
1854 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
1855 | { { echo "$as_me:1444: error: C compiler cannot create executables" >&5 | |
1856 | echo "$as_me: error: C compiler cannot create executables" >&2;} | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1857 | See \`config.log' for more details." >&5 | |
1858 | echo "$as_me: error: C compiler cannot create executables | |
1859 | See \`config.log' for more details." >&2;} | |
1860 | { (exit 77); exit 77; }; } | { (exit 77); exit 77; }; } |
1861 | fi | fi |
1862 | ||
1863 | ac_exeext=$ac_cv_exeext | ac_exeext=$ac_cv_exeext |
1864 | echo "$as_me:1450: result: $ac_file" >&5 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
1865 | echo "${ECHO_T}$ac_file" >&6 | echo "${ECHO_T}$ac_file" >&6 |
1866 | ||
1867 | # Check the compiler produces executables we can run. If not, either | # Check the compiler produces executables we can run. If not, either |
1868 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
1869 | echo "$as_me:1455: checking whether the C compiler works" >&5 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1870 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1871 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1872 | # If not cross compiling, check that we can run a simple program. | # If not cross compiling, check that we can run a simple program. |
1873 | if test "$cross_compiling" != yes; then | if test "$cross_compiling" != yes; then |
1874 | if { ac_try='./$ac_file' | if { ac_try='./$ac_file' |
1875 | { (eval echo "$as_me:1461: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1876 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
1877 | ac_status=$? | ac_status=$? |
1878 | echo "$as_me:1464: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1879 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
1880 | cross_compiling=no | cross_compiling=no |
1881 | else | else |
1882 | if test "$cross_compiling" = maybe; then | if test "$cross_compiling" = maybe; then |
1883 | cross_compiling=yes | cross_compiling=yes |
1884 | else | else |
1885 | { { echo "$as_me:1471: error: cannot run C compiled programs. | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1886 | If you meant to cross compile, use \`--host'." >&5 | If you meant to cross compile, use \`--host'. |
1887 | See \`config.log' for more details." >&5 | |
1888 | echo "$as_me: error: cannot run C compiled programs. | echo "$as_me: error: cannot run C compiled programs. |
1889 | If you meant to cross compile, use \`--host'." >&2;} | If you meant to cross compile, use \`--host'. |
1890 | See \`config.log' for more details." >&2;} | |
1891 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1892 | fi | fi |
1893 | fi | fi |
1894 | fi | fi |
1895 | echo "$as_me:1479: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
1896 | echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
1897 | ||
1898 | rm -f a.out a.exe conftest$ac_cv_exeext | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1899 | ac_clean_files=$ac_clean_files_save | ac_clean_files=$ac_clean_files_save |
1900 | # Check the compiler produces executables we can run. If not, either | # Check the compiler produces executables we can run. If not, either |
1901 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
1902 | echo "$as_me:1486: checking whether we are cross compiling" >&5 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1903 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1904 | echo "$as_me:1488: result: $cross_compiling" >&5 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1905 | echo "${ECHO_T}$cross_compiling" >&6 | echo "${ECHO_T}$cross_compiling" >&6 |
1906 | ||
1907 | echo "$as_me:1491: checking for executable suffix" >&5 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1908 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1909 | if { (eval echo "$as_me:1493: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1910 | (eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
1911 | ac_status=$? | ac_status=$? |
1912 | echo "$as_me:1496: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1913 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1914 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
1915 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1916 | # work properly (i.e., refer to `conftest.exe'), while it won't with | # work properly (i.e., refer to `conftest.exe'), while it won't with |
1917 | # `rm'. | # `rm'. |
1918 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | for ac_file in conftest.exe conftest conftest.*; do |
1919 | test -f "$ac_file" || continue | |
1920 | case $ac_file in | case $ac_file in |
1921 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1922 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1923 | export ac_cv_exeext | export ac_cv_exeext |
1924 | break;; | break;; |
# | Line 1505 for ac_file in `(ls conftest.exe; ls con | Line 1926 for ac_file in `(ls conftest.exe; ls con |
1926 | esac | esac |
1927 | done | done |
1928 | else | else |
1929 | { { echo "$as_me:1512: error: cannot compute EXEEXT: cannot compile and link" >&5 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1930 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | See \`config.log' for more details." >&5 |
1931 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
1932 | See \`config.log' for more details." >&2;} | |
1933 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1934 | fi | fi |
1935 | ||
1936 | rm -f conftest$ac_cv_exeext | rm -f conftest$ac_cv_exeext |
1937 | echo "$as_me:1518: result: $ac_cv_exeext" >&5 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1938 | echo "${ECHO_T}$ac_cv_exeext" >&6 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
1939 | ||
1940 | rm -f conftest.$ac_ext | rm -f conftest.$ac_ext |
1941 | EXEEXT=$ac_cv_exeext | EXEEXT=$ac_cv_exeext |
1942 | ac_exeext=$EXEEXT | ac_exeext=$EXEEXT |
1943 | echo "$as_me:1524: checking for object suffix" >&5 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1944 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1945 | if test "${ac_cv_objext+set}" = set; then | if test "${ac_cv_objext+set}" = set; then |
1946 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1947 | else | else |
1948 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
1949 | #line 1530 "configure" | #line $LINENO "configure" |
1950 | #include "confdefs.h" | /* confdefs.h. */ |
1951 | _ACEOF | |
1952 | cat confdefs.h >>conftest.$ac_ext | |
1953 | cat >>conftest.$ac_ext <<_ACEOF | |
1954 | /* end confdefs.h. */ | |
1955 | ||
1956 | int | int |
1957 | main () | main () |
# | Line 1535 main () | Line 1962 main () |
1962 | } | } |
1963 | _ACEOF | _ACEOF |
1964 | rm -f conftest.o conftest.obj | rm -f conftest.o conftest.obj |
1965 | if { (eval echo "$as_me:1542: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1966 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
1967 | ac_status=$? | ac_status=$? |
1968 | echo "$as_me:1545: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1969 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1970 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1971 | case $ac_file in | case $ac_file in |
1972 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1973 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1974 | break;; | break;; |
1975 | esac | esac |
1976 | done | done |
1977 | else | else |
1978 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
1979 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
1980 | { { echo "$as_me:1557: error: cannot compute OBJEXT: cannot compile" >&5 | |
1981 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1982 | See \`config.log' for more details." >&5 | |
1983 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
1984 | See \`config.log' for more details." >&2;} | |
1985 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1986 | fi | fi |
1987 | ||
1988 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1989 | fi | fi |
1990 | echo "$as_me:1564: result: $ac_cv_objext" >&5 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1991 | echo "${ECHO_T}$ac_cv_objext" >&6 | echo "${ECHO_T}$ac_cv_objext" >&6 |
1992 | OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
1993 | ac_objext=$OBJEXT | ac_objext=$OBJEXT |
1994 | echo "$as_me:1568: checking whether we are using the GNU C compiler" >&5 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1995 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1996 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1997 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1998 | else | else |
1999 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2000 | #line 1574 "configure" | #line $LINENO "configure" |
2001 | #include "confdefs.h" | /* confdefs.h. */ |
2002 | _ACEOF | |
2003 | cat confdefs.h >>conftest.$ac_ext | |
2004 | cat >>conftest.$ac_ext <<_ACEOF | |
2005 | /* end confdefs.h. */ | |
2006 | ||
2007 | int | int |
2008 | main () | main () |
# | Line 1582 main () | Line 2016 main () |
2016 | } | } |
2017 | _ACEOF | _ACEOF |
2018 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2019 | if { (eval echo "$as_me:1589: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2020 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2021 | ac_status=$? | ac_status=$? |
2022 | echo "$as_me:1592: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2023 | (exit $ac_status); } && | (exit $ac_status); } && |
2024 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2025 | { (eval echo "$as_me:1595: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2026 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2027 | ac_status=$? | ac_status=$? |
2028 | echo "$as_me:1598: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2029 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2030 | ac_compiler_gnu=yes | ac_compiler_gnu=yes |
2031 | else | else |
2032 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2033 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2034 | ||
2035 | ac_compiler_gnu=no | ac_compiler_gnu=no |
2036 | fi | fi |
2037 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2038 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2039 | ||
2040 | fi | fi |
2041 | echo "$as_me:1610: result: $ac_cv_c_compiler_gnu" >&5 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2042 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2043 | GCC=`test $ac_compiler_gnu = yes && echo yes` | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2044 | ac_test_CFLAGS=${CFLAGS+set} | ac_test_CFLAGS=${CFLAGS+set} |
2045 | ac_save_CFLAGS=$CFLAGS | ac_save_CFLAGS=$CFLAGS |
2046 | CFLAGS="-g" | CFLAGS="-g" |
2047 | echo "$as_me:1616: checking whether $CC accepts -g" >&5 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2048 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2049 | if test "${ac_cv_prog_cc_g+set}" = set; then | if test "${ac_cv_prog_cc_g+set}" = set; then |
2050 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2051 | else | else |
2052 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2053 | #line 1622 "configure" | #line $LINENO "configure" |
2054 | #include "confdefs.h" | /* confdefs.h. */ |
2055 | _ACEOF | |
2056 | cat confdefs.h >>conftest.$ac_ext | |
2057 | cat >>conftest.$ac_ext <<_ACEOF | |
2058 | /* end confdefs.h. */ | |
2059 | ||
2060 | int | int |
2061 | main () | main () |
# | Line 1627 main () | Line 2066 main () |
2066 | } | } |
2067 | _ACEOF | _ACEOF |
2068 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2069 | if { (eval echo "$as_me:1634: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2070 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2071 | ac_status=$? | ac_status=$? |
2072 | echo "$as_me:1637: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2073 | (exit $ac_status); } && | (exit $ac_status); } && |
2074 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2075 | { (eval echo "$as_me:1640: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2076 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2077 | ac_status=$? | ac_status=$? |
2078 | echo "$as_me:1643: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2079 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2080 | ac_cv_prog_cc_g=yes | ac_cv_prog_cc_g=yes |
2081 | else | else |
2082 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2083 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2084 | ||
2085 | ac_cv_prog_cc_g=no | ac_cv_prog_cc_g=no |
2086 | fi | fi |
2087 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2088 | fi | fi |
2089 | echo "$as_me:1653: result: $ac_cv_prog_cc_g" >&5 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2090 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2091 | if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
2092 | CFLAGS=$ac_save_CFLAGS | CFLAGS=$ac_save_CFLAGS |
# | Line 1663 else | Line 2103 else |
2103 | CFLAGS= | CFLAGS= |
2104 | fi | fi |
2105 | fi | fi |
2106 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
2107 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | |
2108 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
2109 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2110 | else | |
2111 | ac_cv_prog_cc_stdc=no | |
2112 | ac_save_CC=$CC | |
2113 | cat >conftest.$ac_ext <<_ACEOF | |
2114 | #line $LINENO "configure" | |
2115 | /* confdefs.h. */ | |
2116 | _ACEOF | |
2117 | cat confdefs.h >>conftest.$ac_ext | |
2118 | cat >>conftest.$ac_ext <<_ACEOF | |
2119 | /* end confdefs.h. */ | |
2120 | #include <stdarg.h> | |
2121 | #include <stdio.h> | |
2122 | #include <sys/types.h> | |
2123 | #include <sys/stat.h> | |
2124 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
2125 | struct buf { int x; }; | |
2126 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
2127 | static char *e (p, i) | |
2128 | char **p; | |
2129 | int i; | |
2130 | { | |
2131 | return p[i]; | |
2132 | } | |
2133 | static char *f (char * (*g) (char **, int), char **p, ...) | |
2134 | { | |
2135 | char *s; | |
2136 | va_list v; | |
2137 | va_start (v,p); | |
2138 | s = g (p, va_arg (v,int)); | |
2139 | va_end (v); | |
2140 | return s; | |
2141 | } | |
2142 | int test (int i, double x); | |
2143 | struct s1 {int (*f) (int a);}; | |
2144 | struct s2 {int (*f) (double a);}; | |
2145 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2146 | int argc; | |
2147 | char **argv; | |
2148 | int | |
2149 | main () | |
2150 | { | |
2151 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
2152 | ; | |
2153 | return 0; | |
2154 | } | |
2155 | _ACEOF | |
2156 | # Don't try gcc -ansi; that turns off useful extensions and | |
2157 | # breaks some systems' header files. | |
2158 | # AIX -qlanglvl=ansi | |
2159 | # Ultrix and OSF/1 -std1 | |
2160 | # HP-UX 10.20 and later -Ae | |
2161 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
2162 | # SVR4 -Xc -D__EXTENSIONS__ | |
2163 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2164 | do | |
2165 | CC="$ac_save_CC $ac_arg" | |
2166 | rm -f conftest.$ac_objext | |
2167 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2168 | (eval $ac_compile) 2>&5 | |
2169 | ac_status=$? | |
2170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2171 | (exit $ac_status); } && | |
2172 | { ac_try='test -s conftest.$ac_objext' | |
2173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2174 | (eval $ac_try) 2>&5 | |
2175 | ac_status=$? | |
2176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2177 | (exit $ac_status); }; }; then | |
2178 | ac_cv_prog_cc_stdc=$ac_arg | |
2179 | break | |
2180 | else | |
2181 | echo "$as_me: failed program was:" >&5 | |
2182 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2183 | ||
2184 | fi | |
2185 | rm -f conftest.$ac_objext | |
2186 | done | |
2187 | rm -f conftest.$ac_ext conftest.$ac_objext | |
2188 | CC=$ac_save_CC | |
2189 | ||
2190 | fi | |
2191 | ||
2192 | case "x$ac_cv_prog_cc_stdc" in | |
2193 | x|xno) | |
2194 | echo "$as_me:$LINENO: result: none needed" >&5 | |
2195 | echo "${ECHO_T}none needed" >&6 ;; | |
2196 | *) | |
2197 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
2198 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
2199 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
2200 | esac | |
2201 | ||
2202 | # Some people use a C++ compiler to compile C. Since we use `exit', | # Some people use a C++ compiler to compile C. Since we use `exit', |
2203 | # in C++ we need to declare it. In case someone uses the same compiler | # in C++ we need to declare it. In case someone uses the same compiler |
2204 | # for both compiling C and C++ we need to have the C++ compiler decide | # for both compiling C and C++ we need to have the C++ compiler decide |
# | Line 1673 cat >conftest.$ac_ext <<_ACEOF | Line 2209 cat >conftest.$ac_ext <<_ACEOF |
2209 | #endif | #endif |
2210 | _ACEOF | _ACEOF |
2211 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2212 | if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2213 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2214 | ac_status=$? | ac_status=$? |
2215 | echo "$as_me:1683: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2216 | (exit $ac_status); } && | (exit $ac_status); } && |
2217 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2218 | { (eval echo "$as_me:1686: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2219 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2220 | ac_status=$? | ac_status=$? |
2221 | echo "$as_me:1689: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2222 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2223 | for ac_declaration in \ | for ac_declaration in \ |
2224 | ''\ | ''\ |
# | Line 1694 if { (eval echo "$as_me:1680: \"$ac_comp | Line 2230 if { (eval echo "$as_me:1680: \"$ac_comp |
2230 | 'void exit (int);' | 'void exit (int);' |
2231 | do | do |
2232 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2233 | #line 1701 "configure" | #line $LINENO "configure" |
2234 | #include "confdefs.h" | /* confdefs.h. */ |
2235 | _ACEOF | |
2236 | cat confdefs.h >>conftest.$ac_ext | |
2237 | cat >>conftest.$ac_ext <<_ACEOF | |
2238 | /* end confdefs.h. */ | |
2239 | #include <stdlib.h> | #include <stdlib.h> |
2240 | $ac_declaration | $ac_declaration |
2241 | int | int |
# | Line 1707 exit (42); | Line 2247 exit (42); |
2247 | } | } |
2248 | _ACEOF | _ACEOF |
2249 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2250 | if { (eval echo "$as_me:1714: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2251 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2252 | ac_status=$? | ac_status=$? |
2253 | echo "$as_me:1717: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2254 | (exit $ac_status); } && | (exit $ac_status); } && |
2255 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2256 | { (eval echo "$as_me:1720: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2257 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2258 | ac_status=$? | ac_status=$? |
2259 | echo "$as_me:1723: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2260 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2261 | : | : |
2262 | else | else |
2263 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2264 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2265 | ||
2266 | continue | continue |
2267 | fi | fi |
2268 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2269 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2270 | #line 1733 "configure" | #line $LINENO "configure" |
2271 | #include "confdefs.h" | /* confdefs.h. */ |
2272 | _ACEOF | |
2273 | cat confdefs.h >>conftest.$ac_ext | |
2274 | cat >>conftest.$ac_ext <<_ACEOF | |
2275 | /* end confdefs.h. */ | |
2276 | $ac_declaration | $ac_declaration |
2277 | int | int |
2278 | main () | main () |
# | Line 1738 exit (42); | Line 2283 exit (42); |
2283 | } | } |
2284 | _ACEOF | _ACEOF |
2285 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2286 | if { (eval echo "$as_me:1745: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2287 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2288 | ac_status=$? | ac_status=$? |
2289 | echo "$as_me:1748: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2290 | (exit $ac_status); } && | (exit $ac_status); } && |
2291 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2292 | { (eval echo "$as_me:1751: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2293 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2294 | ac_status=$? | ac_status=$? |
2295 | echo "$as_me:1754: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2296 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2297 | break | break |
2298 | else | else |
2299 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2300 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2301 | ||
2302 | fi | fi |
2303 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2304 | done | done |
2305 | echo '#ifdef __cplusplus' >>confdefs.h | rm -f conftest* |
2306 | echo $ac_declaration >>confdefs.h | if test -n "$ac_declaration"; then |
2307 | echo '#endif' >>confdefs.h | echo '#ifdef __cplusplus' >>confdefs.h |
2308 | echo $ac_declaration >>confdefs.h | |
2309 | echo '#endif' >>confdefs.h | |
2310 | fi | |
2311 | ||
2312 | else | else |
2313 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2314 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2315 | ||
2316 | fi | fi |
2317 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2318 | ac_ext=c | ac_ext=c |
# | Line 1788 for ac_dir in $srcdir $srcdir/.. $srcdir | Line 2338 for ac_dir in $srcdir $srcdir/.. $srcdir |
2338 | fi | fi |
2339 | done | done |
2340 | if test -z "$ac_aux_dir"; then | if test -z "$ac_aux_dir"; then |
2341 | { { echo "$as_me:1795: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2342 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2343 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
2344 | fi | fi |
# | Line 1808 ac_configure="$SHELL $ac_aux_dir/configu | Line 2358 ac_configure="$SHELL $ac_aux_dir/configu |
2358 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2359 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2360 | # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
2361 | echo "$as_me:1815: checking for a BSD compatible install" >&5 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2362 | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2363 | if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
2364 | if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
2365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2366 | else | else |
2367 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2368 | for ac_dir in $PATH; do | for as_dir in $PATH |
2369 | IFS=$ac_save_IFS | do |
2370 | # Account for people who put trailing slashes in PATH elements. | IFS=$as_save_IFS |
2371 | case $ac_dir/ in | test -z "$as_dir" && as_dir=. |
2372 | / | ./ | .// | /cC/* \ | # Account for people who put trailing slashes in PATH elements. |
2373 | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | case $as_dir/ in |
2374 | | /usr/ucb/* ) ;; | ./ | .// | /cC/* | \ |
2375 | *) | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2376 | # OSF1 and SCO ODT 3.0 have their own names for install. | /usr/ucb/* ) ;; |
2377 | # Don't use installbsd from OSF since it installs stuff as root | *) |
2378 | # by default. | # OSF1 and SCO ODT 3.0 have their own names for install. |
2379 | for ac_prog in ginstall scoinst install; do | # Don't use installbsd from OSF since it installs stuff as root |
2380 | if $as_executable_p "$ac_dir/$ac_prog"; then | # by default. |
2381 | if test $ac_prog = install && | for ac_prog in ginstall scoinst install; do |
2382 | grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then | for ac_exec_ext in '' $ac_executable_extensions; do |
2383 | # AIX install. It has an incompatible calling convention. | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2384 | : | if test $ac_prog = install && |
2385 | elif test $ac_prog = install && | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2386 | grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then | # AIX install. It has an incompatible calling convention. |
2387 | # program-specific install script used by HP pwplus--don't use. | : |
2388 | : | elif test $ac_prog = install && |
2389 | else | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2390 | ac_cv_path_install="$ac_dir/$ac_prog -c" | # program-specific install script used by HP pwplus--don't use. |
2391 | break 2 | : |
2392 | fi | else |
2393 | fi | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2394 | break 3 | |
2395 | fi | |
2396 | fi | |
2397 | done | done |
2398 | ;; | done |
2399 | esac | ;; |
2400 | done | esac |
2401 | done | |
2402 | ||
2403 | ||
2404 | fi | fi |
2405 | if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
# | Line 1857 fi | Line 2412 fi |
2412 | INSTALL=$ac_install_sh | INSTALL=$ac_install_sh |
2413 | fi | fi |
2414 | fi | fi |
2415 | echo "$as_me:1864: result: $INSTALL" >&5 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2416 | echo "${ECHO_T}$INSTALL" >&6 | echo "${ECHO_T}$INSTALL" >&6 |
2417 | ||
2418 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# | Line 1868 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 2423 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
2423 | ||
2424 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2425 | ||
if test -n "$ac_tool_prefix"; then | ||
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
echo "$as_me:1878: checking for $ac_word" >&5 | ||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
if test "${ac_cv_prog_RANLIB+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
if test -n "$RANLIB"; then | ||
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
else | ||
ac_save_IFS=$IFS; IFS=$ac_path_separator | ||
ac_dummy="$PATH" | ||
for ac_dir in $ac_dummy; do | ||
IFS=$ac_save_IFS | ||
test -z "$ac_dir" && ac_dir=. | ||
$as_executable_p "$ac_dir/$ac_word" || continue | ||
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
echo "$as_me:1893: found $ac_dir/$ac_word" >&5 | ||
break | ||
done | ||
fi | ||
fi | ||
RANLIB=$ac_cv_prog_RANLIB | ||
if test -n "$RANLIB"; then | ||
echo "$as_me:1901: result: $RANLIB" >&5 | ||
echo "${ECHO_T}$RANLIB" >&6 | ||
else | ||
echo "$as_me:1904: result: no" >&5 | ||
echo "${ECHO_T}no" >&6 | ||
fi | ||
2426 | ||
2427 | fi | # Check whether --enable-shared or --disable-shared was given. |
2428 | if test -z "$ac_cv_prog_RANLIB"; then | if test "${enable_shared+set}" = set; then |
2429 | ac_ct_RANLIB=$RANLIB | enableval="$enable_shared" |
2430 | # Extract the first word of "ranlib", so it can be a program name with args. | p=${PACKAGE-default} |
2431 | set dummy ranlib; ac_word=$2 | case $enableval in |
2432 | echo "$as_me:1913: checking for $ac_word" >&5 | yes) enable_shared=yes ;; |
2433 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | no) enable_shared=no ;; |
2434 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | *) |
2435 | echo $ECHO_N "(cached) $ECHO_C" >&6 | enable_shared=no |
2436 | else | # Look at the argument we got. We use all the common list separators. |
2437 | if test -n "$ac_ct_RANLIB"; then | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
2438 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | for pkg in $enableval; do |
2439 | else | if test "X$pkg" = "X$p"; then |
2440 | ac_save_IFS=$IFS; IFS=$ac_path_separator | enable_shared=yes |
2441 | ac_dummy="$PATH" | fi |
2442 | for ac_dir in $ac_dummy; do | done |
2443 | IFS=$ac_save_IFS | IFS="$ac_save_ifs" |
2444 | test -z "$ac_dir" && ac_dir=. | ;; |
2445 | $as_executable_p "$ac_dir/$ac_word" || continue | esac |
2446 | ac_cv_prog_ac_ct_RANLIB="ranlib" | else |
2447 | echo "$as_me:1928: found $ac_dir/$ac_word" >&5 | enable_shared=yes |
2448 | break | fi; |
2449 | done | # Check whether --enable-static or --disable-static was given. |
2450 | if test "${enable_static+set}" = set; then | |
2451 | enableval="$enable_static" | |
2452 | p=${PACKAGE-default} | |
2453 | case $enableval in | |
2454 | yes) enable_static=yes ;; | |
2455 | no) enable_static=no ;; | |
2456 | *) | |
2457 | enable_static=no | |
2458 | # Look at the argument we got. We use all the common list separators. | |
2459 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
2460 | for pkg in $enableval; do | |
2461 | if test "X$pkg" = "X$p"; then | |
2462 | enable_static=yes | |
2463 | fi | |
2464 | done | |
2465 | IFS="$ac_save_ifs" | |
2466 | ;; | |
2467 | esac | |
2468 | else | |
2469 | enable_static=yes | |
2470 | fi; | |
2471 | # Check whether --enable-fast-install or --disable-fast-install was given. | |
2472 | if test "${enable_fast_install+set}" = set; then | |
2473 | enableval="$enable_fast_install" | |
2474 | p=${PACKAGE-default} | |
2475 | case $enableval in | |
2476 | yes) enable_fast_install=yes ;; | |
2477 | no) enable_fast_install=no ;; | |
2478 | *) | |
2479 | enable_fast_install=no | |
2480 | # Look at the argument we got. We use all the common list separators. | |
2481 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
2482 | for pkg in $enableval; do | |
2483 | if test "X$pkg" = "X$p"; then | |
2484 | enable_fast_install=yes | |
2485 | fi | |
2486 | done | |
2487 | IFS="$ac_save_ifs" | |
2488 | ;; | |
2489 | esac | |
2490 | else | |
2491 | enable_fast_install=yes | |
2492 | fi; | |
2493 | # Make sure we can run config.sub. | |
2494 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
2495 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
2496 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
2497 | { (exit 1); exit 1; }; } | |
2498 | ||
2499 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | echo "$as_me:$LINENO: checking build system type" >&5 |
2500 | fi | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2501 | fi | if test "${ac_cv_build+set}" = set; then |
2502 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | echo $ECHO_N "(cached) $ECHO_C" >&6 |
if test -n "$ac_ct_RANLIB"; then | ||
echo "$as_me:1937: result: $ac_ct_RANLIB" >&5 | ||
echo "${ECHO_T}$ac_ct_RANLIB" >&6 | ||
2503 | else | else |
2504 | echo "$as_me:1940: result: no" >&5 | ac_cv_build_alias=$build_alias |
2505 | echo "${ECHO_T}no" >&6 | test -z "$ac_cv_build_alias" && |
2506 | ac_cv_build_alias=`$ac_config_guess` | |
2507 | test -z "$ac_cv_build_alias" && | |
2508 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
2509 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2510 | { (exit 1); exit 1; }; } | |
2511 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
2512 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
2513 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
2514 | { (exit 1); exit 1; }; } | |
2515 | ||
2516 | fi | fi |
2517 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
2518 | echo "${ECHO_T}$ac_cv_build" >&6 | |
2519 | build=$ac_cv_build | |
2520 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2521 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2522 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2523 | ||
2524 | RANLIB=$ac_ct_RANLIB | |
2525 | echo "$as_me:$LINENO: checking host system type" >&5 | |
2526 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
2527 | if test "${ac_cv_host+set}" = set; then | |
2528 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2529 | else | else |
2530 | RANLIB="$ac_cv_prog_RANLIB" | ac_cv_host_alias=$host_alias |
2531 | test -z "$ac_cv_host_alias" && | |
2532 | ac_cv_host_alias=$ac_cv_build_alias | |
2533 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
2534 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
2535 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
2536 | { (exit 1); exit 1; }; } | |
2537 | ||
2538 | fi | fi |
2539 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
2540 | echo "${ECHO_T}$ac_cv_host" >&6 | |
2541 | host=$ac_cv_host | |
2542 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2543 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2544 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2545 | ||
2546 | ac_ext=c | |
2547 | ac_cpp='$CPP $CPPFLAGS' | |
2548 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
2549 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | if test "${with_gnu_ld+set}" = set; then |
2550 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | withval="$with_gnu_ld" |
2551 | echo "$as_me:1954: checking how to run the C preprocessor" >&5 | test "$withval" = no || with_gnu_ld=yes |
2552 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | else |
2553 | # On Suns, sometimes $CPP names a directory. | with_gnu_ld=no |
2554 | if test -n "$CPP" && test -d "$CPP"; then | fi; |
2555 | CPP= | ac_prog=ld |
2556 | if test "$GCC" = yes; then | |
2557 | # Check if gcc -print-prog-name=ld gives a path. | |
2558 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5 | |
2559 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | |
2560 | case $host in | |
2561 | *-*-mingw*) | |
2562 | # gcc leaves a trailing carriage return which upsets mingw | |
2563 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
2564 | *) | |
2565 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
2566 | esac | |
2567 | case $ac_prog in | |
2568 | # Accept absolute paths. | |
2569 | [\\/]* | [A-Za-z]:[\\/]*) | |
2570 | re_direlt='/[^/][^/]*/\.\./' | |
2571 | # Canonicalize the path of ld | |
2572 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | |
2573 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |
2574 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |
2575 | done | |
2576 | test -z "$LD" && LD="$ac_prog" | |
2577 | ;; | |
2578 | "") | |
2579 | # If it fails, then pretend we aren't using GCC. | |
2580 | ac_prog=ld | |
2581 | ;; | |
2582 | *) | |
2583 | # If it is relative, then search for the first ld in PATH. | |
2584 | with_gnu_ld=unknown | |
2585 | ;; | |
2586 | esac | |
2587 | elif test "$with_gnu_ld" = yes; then | |
2588 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | |
2589 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | |
2590 | else | |
2591 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | |
2592 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | |
2593 | fi | fi |
2594 | if test -z "$CPP"; then | if test "${lt_cv_path_LD+set}" = set; then |
if test "${ac_cv_prog_CPP+set}" = set; then | ||
2595 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2596 | else | else |
2597 | # Double quotes because CPP needs to be expanded | if test -z "$LD"; then |
2598 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
2599 | do | for ac_dir in $PATH; do |
2600 | # break 2 since there is a loop in there. | test -z "$ac_dir" && ac_dir=. |
2601 | ac_preproc_ok=false | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
2602 | for ac_c_preproc_warn_flag in '' yes | lt_cv_path_LD="$ac_dir/$ac_prog" |
2603 | do | # Check to see if the program is GNU ld. I'd rather use --version, |
2604 | # Use a header file that comes with gcc, so configuring glibc | # but apparently some GNU ld's only accept -v. |
2605 | # with a fresh cross-compiler works. | # Break only if it was the GNU/non-GNU ld that we prefer. |
2606 | # On the NeXT, cc -E runs the code through the compiler's parser, | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
2607 | # not just through cpp. "Syntax error" is here to catch this case. | test "$with_gnu_ld" != no && break |
2608 | cat >conftest.$ac_ext <<_ACEOF | else |
2609 | #line 1976 "configure" | test "$with_gnu_ld" != yes && break |
2610 | #include "confdefs.h" | fi |
2611 | #include <assert.h> | fi |
2612 | Syntax error | done |
2613 | _ACEOF | IFS="$ac_save_ifs" |
if { (eval echo "$as_me:1981: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
ac_status=$? | ||
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:1987: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
else | ||
ac_cpp_err= | ||
fi | ||
2614 | else | else |
2615 | ac_cpp_err=yes | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
2616 | fi | fi |
if test -z "$ac_cpp_err"; then | ||
: | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
# Broken: fails on valid input. | ||
continue | ||
2617 | fi | fi |
rm -f conftest.err conftest.$ac_ext | ||
2618 | ||
2619 | # OK, works on sane cases. Now check whether non-existent headers | LD="$lt_cv_path_LD" |
2620 | # can be detected and how. | if test -n "$LD"; then |
2621 | cat >conftest.$ac_ext <<_ACEOF | echo "$as_me:$LINENO: result: $LD" >&5 |
2622 | #line 2010 "configure" | echo "${ECHO_T}$LD" >&6 |
#include "confdefs.h" | ||
#include <ac_nonexistent.h> | ||
_ACEOF | ||
if { (eval echo "$as_me:2014: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
ac_status=$? | ||
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:2020: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
else | ||
ac_cpp_err= | ||
fi | ||
2623 | else | else |
2624 | ac_cpp_err=yes | echo "$as_me:$LINENO: result: no" >&5 |
2625 | echo "${ECHO_T}no" >&6 | |
2626 | fi | fi |
2627 | if test -z "$ac_cpp_err"; then | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
2628 | # Broken: success on invalid input. | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
2629 | continue | { (exit 1); exit 1; }; } |
2630 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | |
2631 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | |
2632 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | |
2633 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2634 | else | else |
2635 | echo "$as_me: failed program was:" >&5 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
2636 | cat conftest.$ac_ext >&5 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
2637 | # Passes both tests. | lt_cv_prog_gnu_ld=yes |
2638 | ac_preproc_ok=: | else |
2639 | break | lt_cv_prog_gnu_ld=no |
2640 | fi | fi |
rm -f conftest.err conftest.$ac_ext | ||
done | ||
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
rm -f conftest.err conftest.$ac_ext | ||
if $ac_preproc_ok; then | ||
break 2 | ||
2641 | fi | fi |
2642 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | |
2643 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | |
2644 | with_gnu_ld=$lt_cv_prog_gnu_ld | |
2645 | ||
done | ||
ac_cv_prog_CPP=$CPP | ||
2646 | ||
2647 | fi | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
2648 | CPP=$ac_cv_prog_CPP | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
2649 | else | if test "${lt_cv_ld_reload_flag+set}" = set; then |
2650 | ac_cv_prog_CPP=$CPP | echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi | ||
echo "$as_me:2057: result: $CPP" >&5 | ||
echo "${ECHO_T}$CPP" >&6 | ||
ac_preproc_ok=false | ||
for ac_c_preproc_warn_flag in '' yes | ||
do | ||
# Use a header file that comes with gcc, so configuring glibc | ||
# with a fresh cross-compiler works. | ||
# On the NeXT, cc -E runs the code through the compiler's parser, | ||
# not just through cpp. "Syntax error" is here to catch this case. | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2067 "configure" | ||
#include "confdefs.h" | ||
#include <assert.h> | ||
Syntax error | ||
_ACEOF | ||
if { (eval echo "$as_me:2072: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
ac_status=$? | ||
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:2078: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
else | ||
ac_cpp_err= | ||
fi | ||
else | ||
ac_cpp_err=yes | ||
fi | ||
if test -z "$ac_cpp_err"; then | ||
: | ||
2651 | else | else |
2652 | echo "$as_me: failed program was:" >&5 | lt_cv_ld_reload_flag='-r' |
cat conftest.$ac_ext >&5 | ||
# Broken: fails on valid input. | ||
continue | ||
2653 | fi | fi |
2654 | rm -f conftest.err conftest.$ac_ext | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
2655 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | |
2656 | reload_flag=$lt_cv_ld_reload_flag | |
2657 | test -n "$reload_flag" && reload_flag=" $reload_flag" | |
2658 | ||
2659 | # OK, works on sane cases. Now check whether non-existent headers | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
2660 | # can be detected and how. | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
2661 | cat >conftest.$ac_ext <<_ACEOF | if test "${lt_cv_path_NM+set}" = set; then |
2662 | #line 2101 "configure" | echo $ECHO_N "(cached) $ECHO_C" >&6 |
#include "confdefs.h" | ||
#include <ac_nonexistent.h> | ||
_ACEOF | ||
if { (eval echo "$as_me:2105: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
ac_status=$? | ||
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:2111: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
else | ||
ac_cpp_err= | ||
fi | ||
2663 | else | else |
2664 | ac_cpp_err=yes | if test -n "$NM"; then |
2665 | fi | # Let the user override the test. |
2666 | if test -z "$ac_cpp_err"; then | lt_cv_path_NM="$NM" |
# Broken: success on invalid input. | ||
continue | ||
2667 | else | else |
2668 | echo "$as_me: failed program was:" >&5 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
2669 | cat conftest.$ac_ext >&5 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
2670 | # Passes both tests. | test -z "$ac_dir" && ac_dir=. |
2671 | ac_preproc_ok=: | tmp_nm=$ac_dir/${ac_tool_prefix}nm |
2672 | break | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then |
2673 | # Check to see if the nm accepts a BSD-compat flag. | |
2674 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
2675 | # nm: unknown option "B" ignored | |
2676 | # Tru64's nm complains that /dev/null is an invalid object file | |
2677 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | |
2678 | lt_cv_path_NM="$tmp_nm -B" | |
2679 | break | |
2680 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | |
2681 | lt_cv_path_NM="$tmp_nm -p" | |
2682 | break | |
2683 | else | |
2684 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
2685 | continue # so that we can try to find one that supports BSD flags | |
2686 | fi | |
2687 | fi | |
2688 | done | |
2689 | IFS="$ac_save_ifs" | |
2690 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | |
2691 | fi | |
2692 | fi | fi |
rm -f conftest.err conftest.$ac_ext | ||
2693 | ||
2694 | done | NM="$lt_cv_path_NM" |
2695 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | echo "$as_me:$LINENO: result: $NM" >&5 |
2696 | rm -f conftest.err conftest.$ac_ext | echo "${ECHO_T}$NM" >&6 |
2697 | if $ac_preproc_ok; then | |
2698 | : | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2699 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
2700 | LN_S=$as_ln_s | |
2701 | if test "$LN_S" = "ln -s"; then | |
2702 | echo "$as_me:$LINENO: result: yes" >&5 | |
2703 | echo "${ECHO_T}yes" >&6 | |
2704 | else | else |
2705 | { { echo "$as_me:2139: error: C preprocessor \"$CPP\" fails sanity check" >&5 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2706 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | echo "${ECHO_T}no, using $LN_S" >&6 |
{ (exit 1); exit 1; }; } | ||
2707 | fi | fi |
2708 | ||
2709 | ac_ext=c | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
2710 | ac_cpp='$CPP $CPPFLAGS' | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
2711 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | if test "${lt_cv_deplibs_check_method+set}" = set; then |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
echo "$as_me:2150: checking for ANSI C header files" >&5 | ||
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
if test "${ac_cv_header_stdc+set}" = set; then | ||
2712 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2713 | else | else |
2714 | cat >conftest.$ac_ext <<_ACEOF | lt_cv_file_magic_cmd='$MAGIC_CMD' |
2715 | #line 2156 "configure" | lt_cv_file_magic_test_file= |
2716 | #include "confdefs.h" | lt_cv_deplibs_check_method='unknown' |
2717 | #include <stdlib.h> | # Need to set the preceding variable on all platforms that support |
2718 | #include <stdarg.h> | # interlibrary dependencies. |
2719 | #include <string.h> | # 'none' -- dependencies not supported. |
2720 | #include <float.h> | # `unknown' -- same as none, but documents that we really don't know. |
2721 | # 'pass_all' -- all dependencies passed with no checks. | |
2722 | # 'test_compile' -- check by making test program. | |
2723 | # ['file_magic [regex]'] -- check by looking for files in library path | |
2724 | # which responds to the $file_magic_cmd with a given egrep regex. | |
2725 | # If you have `file' or equivalent on your system and you're not sure | |
2726 | # whether `pass_all' will *always* work, you probably want this one. | |
2727 | ||
2728 | _ACEOF | case $host_os in |
2729 | if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5 | aix4* | aix5*) |
2730 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | lt_cv_deplibs_check_method=pass_all |
2731 | ac_status=$? | ;; |
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:2170: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
else | ||
ac_cpp_err= | ||
fi | ||
else | ||
ac_cpp_err=yes | ||
fi | ||
if test -z "$ac_cpp_err"; then | ||
ac_cv_header_stdc=yes | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
ac_cv_header_stdc=no | ||
fi | ||
rm -f conftest.err conftest.$ac_ext | ||
2732 | ||
2733 | if test $ac_cv_header_stdc = yes; then | beos*) |
2734 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | lt_cv_deplibs_check_method=pass_all |
2735 | cat >conftest.$ac_ext <<_ACEOF | ;; |
#line 2192 "configure" | ||
#include "confdefs.h" | ||
#include <string.h> | ||
2736 | ||
2737 | _ACEOF | bsdi4*) |
2738 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
2739 | egrep "memchr" >/dev/null 2>&1; then | lt_cv_file_magic_cmd='/usr/bin/file -L' |
2740 | : | lt_cv_file_magic_test_file=/shlib/libc.so |
2741 | else | ;; |
ac_cv_header_stdc=no | ||
fi | ||
rm -f conftest* | ||
2742 | ||
2743 | fi | cygwin* | mingw* | pw32*) |
2744 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | |
2745 | lt_cv_file_magic_cmd='$OBJDUMP -f' | |
2746 | ;; | |
2747 | ||
2748 | if test $ac_cv_header_stdc = yes; then | darwin* | rhapsody*) |
2749 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
2750 | cat >conftest.$ac_ext <<_ACEOF | lt_cv_file_magic_cmd='/usr/bin/file -L' |
2751 | #line 2210 "configure" | case "$host_os" in |
2752 | #include "confdefs.h" | rhapsody* | darwin1.012) |
2753 | #include <stdlib.h> | lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` |
2754 | ;; | |
2755 | *) # Darwin 1.3 on | |
2756 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | |
2757 | ;; | |
2758 | esac | |
2759 | ;; | |
2760 | ||
2761 | _ACEOF | freebsd*) |
2762 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
2763 | egrep "free" >/dev/null 2>&1; then | case $host_cpu in |
2764 | : | i*86 ) |
2765 | else | # Not sure whether the presence of OpenBSD here was a mistake. |
2766 | ac_cv_header_stdc=no | # Let's accept both of them until this is cleared up. |
2767 | fi | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
2768 | rm -f conftest* | lt_cv_file_magic_cmd=/usr/bin/file |
2769 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
2770 | ;; | |
2771 | esac | |
2772 | else | |
2773 | lt_cv_deplibs_check_method=pass_all | |
2774 | fi | |
2775 | ;; | |
2776 | ||
2777 | fi | gnu*) |
2778 | lt_cv_deplibs_check_method=pass_all | |
2779 | ;; | |
2780 | ||
2781 | if test $ac_cv_header_stdc = yes; then | hpux10.20*|hpux11*) |
2782 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
2783 | if test "$cross_compiling" = yes; then | lt_cv_file_magic_cmd=/usr/bin/file |
2784 | : | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
2785 | else | ;; |
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2231 "configure" | ||
#include "confdefs.h" | ||
#include <ctype.h> | ||
#if ((' ' & 0x0FF) == 0x020) | ||
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
#else | ||
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | ||
|| ('j' <= (c) && (c) <= 'r') \ | ||
|| ('s' <= (c) && (c) <= 'z')) | ||
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
#endif | ||
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
int | ||
main () | ||
{ | ||
int i; | ||
for (i = 0; i < 256; i++) | ||
if (XOR (islower (i), ISLOWER (i)) | ||
|| toupper (i) != TOUPPER (i)) | ||
exit(2); | ||
exit (0); | ||
} | ||
_ACEOF | ||
rm -f conftest$ac_exeext | ||
if { (eval echo "$as_me:2257: \"$ac_link\"") >&5 | ||
(eval $ac_link) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2260: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
{ (eval echo "$as_me:2262: \"$ac_try\"") >&5 | ||
(eval $ac_try) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2265: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
: | ||
else | ||
echo "$as_me: program exited with status $ac_status" >&5 | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
ac_cv_header_stdc=no | ||
fi | ||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | ||
fi | ||
fi | ||
fi | ||
echo "$as_me:2278: result: $ac_cv_header_stdc" >&5 | ||
echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
if test $ac_cv_header_stdc = yes; then | ||
2786 | ||
2787 | cat >>confdefs.h <<\EOF | irix5* | irix6*) |
2788 | #define STDC_HEADERS 1 | case $host_os in |
2789 | EOF | irix5*) |
2790 | # this will be overridden with pass_all, but let us keep it just in case | |
2791 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | |
2792 | ;; | |
2793 | *) | |
2794 | case $LD in | |
2795 | *-32|*"-32 ") libmagic=32-bit;; | |
2796 | *-n32|*"-n32 ") libmagic=N32;; | |
2797 | *-64|*"-64 ") libmagic=64-bit;; | |
2798 | *) libmagic=never-match;; | |
2799 | esac | |
2800 | # this will be overridden with pass_all, but let us keep it just in case | |
2801 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | |
2802 | ;; | |
2803 | esac | |
2804 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | |
2805 | lt_cv_deplibs_check_method=pass_all | |
2806 | ;; | |
2807 | ||
2808 | fi | # This must be Linux ELF. |
2809 | linux-gnu*) | |
2810 | case $host_cpu in | |
2811 | alpha* | i*86 | powerpc* | sparc* | ia64* ) | |
2812 | lt_cv_deplibs_check_method=pass_all ;; | |
2813 | *) | |
2814 | # glibc up to 2.1.1 does not perform some relocations on ARM | |
2815 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | |
2816 | esac | |
2817 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
2818 | ;; | |
2819 | ||
2820 | for ac_header in limits.h | netbsd*) |
2821 | do | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
2822 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' |
echo "$as_me:2291: checking for $ac_header" >&5 | ||
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
if eval "test \"\${$ac_ac_Header+set}\" = set"; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2297 "configure" | ||
#include "confdefs.h" | ||
#include <$ac_header> | ||
_ACEOF | ||
if { (eval echo "$as_me:2301: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
ac_status=$? | ||
egrep -v '^ *\+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:2307: \$? = $ac_status" >&5 | ||
(exit $ac_status); } >/dev/null; then | ||
if test -s conftest.err; then | ||
ac_cpp_err=$ac_c_preproc_warn_flag | ||
2823 | else | else |
2824 | ac_cpp_err= | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' |
2825 | fi | fi |
2826 | else | ;; |
ac_cpp_err=yes | ||
fi | ||
if test -z "$ac_cpp_err"; then | ||
eval "$ac_ac_Header=yes" | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
eval "$ac_ac_Header=no" | ||
fi | ||
rm -f conftest.err conftest.$ac_ext | ||
fi | ||
echo "$as_me:2326: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | ||
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | ||
if test `eval echo '${'$ac_ac_Header'}'` = yes; then | ||
cat >>confdefs.h <<EOF | ||
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | ||
EOF | ||
2827 | ||
2828 | fi | newos6*) |
2829 | done | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
2830 | lt_cv_file_magic_cmd=/usr/bin/file | |
2831 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
2832 | ;; | |
2833 | ||
2834 | echo "$as_me:2336: checking for $CC option to accept ANSI C" >&5 | osf3* | osf4* | osf5*) |
2835 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | # this will be overridden with pass_all, but let us keep it just in case |
2836 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
2837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | lt_cv_file_magic_test_file=/shlib/libc.so |
2838 | else | lt_cv_deplibs_check_method=pass_all |
2839 | ac_cv_prog_cc_stdc=no | ;; |
ac_save_CC=$CC | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2344 "configure" | ||
#include "confdefs.h" | ||
#include <stdarg.h> | ||
#include <stdio.h> | ||
#include <sys/types.h> | ||
#include <sys/stat.h> | ||
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
struct buf { int x; }; | ||
FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
static char *e (p, i) | ||
char **p; | ||
int i; | ||
{ | ||
return p[i]; | ||
} | ||
static char *f (char * (*g) (char **, int), char **p, ...) | ||
{ | ||
char *s; | ||
va_list v; | ||
va_start (v,p); | ||
s = g (p, va_arg (v,int)); | ||
va_end (v); | ||
return s; | ||
} | ||
int test (int i, double x); | ||
struct s1 {int (*f) (int a);}; | ||
struct s2 {int (*f) (double a);}; | ||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
int argc; | ||
char **argv; | ||
int | ||
main () | ||
{ | ||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
; | ||
return 0; | ||
} | ||
_ACEOF | ||
# Don't try gcc -ansi; that turns off useful extensions and | ||
# breaks some systems' header files. | ||
# AIX -qlanglvl=ansi | ||
# Ultrix and OSF/1 -std1 | ||
# HP-UX 10.20 and later -Ae | ||
# HP-UX older versions -Aa -D_HPUX_SOURCE | ||
# SVR4 -Xc -D__EXTENSIONS__ | ||
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
do | ||
CC="$ac_save_CC $ac_arg" | ||
rm -f conftest.$ac_objext | ||
if { (eval echo "$as_me:2393: \"$ac_compile\"") >&5 | ||
(eval $ac_compile) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2396: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && | ||
{ ac_try='test -s conftest.$ac_objext' | ||
{ (eval echo "$as_me:2399: \"$ac_try\"") >&5 | ||
(eval $ac_try) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2402: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
ac_cv_prog_cc_stdc=$ac_arg | ||
break | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
fi | ||
rm -f conftest.$ac_objext | ||
done | ||
rm -f conftest.$ac_ext conftest.$ac_objext | ||
CC=$ac_save_CC | ||
2840 | ||
2841 | fi | sco3.2v5*) |
2842 | lt_cv_deplibs_check_method=pass_all | |
2843 | ;; | |
2844 | ||
2845 | case "x$ac_cv_prog_cc_stdc" in | solaris*) |
2846 | x|xno) | lt_cv_deplibs_check_method=pass_all |
2847 | echo "$as_me:2419: result: none needed" >&5 | lt_cv_file_magic_test_file=/lib/libc.so |
2848 | echo "${ECHO_T}none needed" >&6 ;; | ;; |
2849 | *) | |
2850 | echo "$as_me:2422: result: $ac_cv_prog_cc_stdc" >&5 | sysv5uw[78]* | sysv4*uw2*) |
2851 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | lt_cv_deplibs_check_method=pass_all |
2852 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ;; |
2853 | ||
2854 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
2855 | case $host_vendor in | |
2856 | motorola) | |
2857 | 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]' | |
2858 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
2859 | ;; | |
2860 | ncr) | |
2861 | lt_cv_deplibs_check_method=pass_all | |
2862 | ;; | |
2863 | sequent) | |
2864 | lt_cv_file_magic_cmd='/bin/file' | |
2865 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | |
2866 | ;; | |
2867 | sni) | |
2868 | lt_cv_file_magic_cmd='/bin/file' | |
2869 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | |
2870 | lt_cv_file_magic_test_file=/lib/libc.so | |
2871 | ;; | |
2872 | esac | |
2873 | ;; | |
2874 | esac | esac |
2875 | ||
2876 | echo "$as_me:2427: checking for an ANSI C-conforming const" >&5 | fi |
2877 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
2878 | if test "${ac_cv_c_const+set}" = set; then | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
2879 | file_magic_cmd=$lt_cv_file_magic_cmd | |
2880 | deplibs_check_method=$lt_cv_deplibs_check_method | |
2881 | ||
2882 | ||
2883 | ||
2884 | ||
2885 | ||
2886 | ||
2887 | ||
2888 | ||
2889 | # Check for command to grab the raw symbol name followed by C symbol from nm. | |
2890 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 | |
2891 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | |
2892 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | |
2893 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2894 | else | else |
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2433 "configure" | ||
#include "confdefs.h" | ||
2895 | ||
2896 | int | # These are sane defaults that work on at least a few old systems. |
2897 | main () | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
{ | ||
/* FIXME: Include the comments suggested by Paul. */ | ||
#ifndef __cplusplus | ||
/* Ultrix mips cc rejects this. */ | ||
typedef int charset[2]; | ||
const charset x; | ||
/* SunOS 4.1.1 cc rejects this. */ | ||
char const *const *ccp; | ||
char **p; | ||
/* NEC SVR4.0.2 mips cc rejects this. */ | ||
struct point {int x, y;}; | ||
static struct point const zero = {0,0}; | ||
/* AIX XL C 1.02.0.0 rejects this. | ||
It does not let you subtract one const X* pointer from another in | ||
an arm of an if-expression whose if-part is not a constant | ||
expression */ | ||
const char *g = "string"; | ||
ccp = &g + (g ? g-g : 0); | ||
/* HPUX 7.0 cc rejects these. */ | ||
++ccp; | ||
p = (char**) ccp; | ||
ccp = (char const *const *) p; | ||
{ /* SCO 3.2v4 cc rejects this. */ | ||
char *t; | ||
char const *s = 0 ? (char *) 0 : (char const *) 0; | ||
2898 | ||
2899 | *t++ = 0; | # Character class describing NM global symbol codes. |
2900 | } | symcode='[BCDEGRST]' |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | ||
int x[] = {25, 17}; | ||
const int *foo = &x[0]; | ||
++foo; | ||
} | ||
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | ||
typedef const int *iptr; | ||
iptr p = 0; | ||
++p; | ||
} | ||
{ /* AIX XL C 1.02.0.0 rejects this saying | ||
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | ||
struct s { int j; const int *ap[3]; }; | ||
struct s *b; b->j = 5; | ||
} | ||
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | ||
const int foo = 10; | ||
} | ||
#endif | ||
2901 | ||
2902 | ; | # Regexp to match symbols that can be accessed directly from C. |
2903 | return 0; | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
2904 | ||
2905 | # Transform the above into a raw symbol and a C symbol. | |
2906 | symxfrm='\1 \2\3 \3' | |
2907 | ||
2908 | # Transform an extracted symbol line into a proper C declaration | |
2909 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | |
2910 | ||
2911 | # Define system-specific variables. | |
2912 | case $host_os in | |
2913 | aix*) | |
2914 | symcode='[BCDT]' | |
2915 | ;; | |
2916 | cygwin* | mingw* | pw32*) | |
2917 | symcode='[ABCDGISTW]' | |
2918 | ;; | |
2919 | hpux*) # Its linker distinguishes data from code symbols | |
2920 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
2921 | ;; | |
2922 | irix*) | |
2923 | symcode='[BCDEGRST]' | |
2924 | ;; | |
2925 | solaris* | sysv5*) | |
2926 | symcode='[BDT]' | |
2927 | ;; | |
2928 | sysv4) | |
2929 | symcode='[DFNSTU]' | |
2930 | ;; | |
2931 | esac | |
2932 | ||
2933 | # Handle CRLF in mingw tool chain | |
2934 | opt_cr= | |
2935 | case $host_os in | |
2936 | mingw*) | |
2937 | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | |
2938 | ;; | |
2939 | esac | |
2940 | ||
2941 | # If we're using GNU nm, then use its standard symbol codes. | |
2942 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | |
2943 | symcode='[ABCDGISTW]' | |
2944 | fi | |
2945 | ||
2946 | # Try without a prefix undercore, then with it. | |
2947 | for ac_symprfx in "" "_"; do | |
2948 | ||
2949 | # Write the raw and C identifiers. | |
2950 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | |
2951 | ||
2952 | # Check to see that the pipe works correctly. | |
2953 | pipe_works=no | |
2954 | rm -f conftest* | |
2955 | cat > conftest.$ac_ext <<EOF | |
2956 | #ifdef __cplusplus | |
2957 | extern "C" { | |
2958 | #endif | |
2959 | char nm_test_var; | |
2960 | void nm_test_func(){} | |
2961 | #ifdef __cplusplus | |
2962 | } | } |
2963 | _ACEOF | #endif |
2964 | rm -f conftest.$ac_objext | int main(){nm_test_var='a';nm_test_func();return(0);} |
2965 | if { (eval echo "$as_me:2491: \"$ac_compile\"") >&5 | EOF |
2966 | ||
2967 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2968 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2969 | ac_status=$? | ac_status=$? |
2970 | echo "$as_me:2494: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2971 | (exit $ac_status); } && | (exit $ac_status); }; then |
2972 | { ac_try='test -s conftest.$ac_objext' | # Now try to grab the symbols. |
2973 | { (eval echo "$as_me:2497: \"$ac_try\"") >&5 | nlist=conftest.nm |
2974 | (eval $ac_try) 2>&5 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
2975 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | |
2976 | ac_status=$? | ac_status=$? |
2977 | echo "$as_me:2500: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2978 | (exit $ac_status); }; }; then | (exit $ac_status); } && test -s "$nlist"; then |
2979 | ac_cv_c_const=yes | # Try sorting and uniquifying the output. |
2980 | else | if sort "$nlist" | uniq > "$nlist"T; then |
2981 | echo "$as_me: failed program was:" >&5 | mv -f "$nlist"T "$nlist" |
2982 | cat conftest.$ac_ext >&5 | else |
2983 | ac_cv_c_const=no | rm -f "$nlist"T |
2984 | fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | ||
fi | ||
echo "$as_me:2510: result: $ac_cv_c_const" >&5 | ||
echo "${ECHO_T}$ac_cv_c_const" >&6 | ||
if test $ac_cv_c_const = no; then | ||
2985 | ||
2986 | cat >>confdefs.h <<\EOF | # Make sure that we snagged all the symbols we need. |
2987 | #define const | if egrep ' nm_test_var$' "$nlist" >/dev/null; then |
2988 | if egrep ' nm_test_func$' "$nlist" >/dev/null; then | |
2989 | cat <<EOF > conftest.$ac_ext | |
2990 | #ifdef __cplusplus | |
2991 | extern "C" { | |
2992 | #endif | |
2993 | ||
2994 | EOF | |
2995 | # Now generate the symbol file. | |
2996 | eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' | |
2997 | ||
2998 | cat <<EOF >> conftest.$ac_ext | |
2999 | #if defined (__STDC__) && __STDC__ | |
3000 | # define lt_ptr_t void * | |
3001 | #else | |
3002 | # define lt_ptr_t char * | |
3003 | # define const | |
3004 | #endif | |
3005 | ||
3006 | /* The mapping between symbol names and symbols. */ | |
3007 | const struct { | |
3008 | const char *name; | |
3009 | lt_ptr_t address; | |
3010 | } | |
3011 | lt_preloaded_symbols[] = | |
3012 | { | |
3013 | EOF | |
3014 | sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext | |
3015 | cat <<\EOF >> conftest.$ac_ext | |
3016 | {0, (lt_ptr_t) 0} | |
3017 | }; | |
3018 | ||
3019 | #ifdef __cplusplus | |
3020 | } | |
3021 | #endif | |
3022 | EOF | EOF |
3023 | # Now try linking the two files. | |
3024 | mv conftest.$ac_objext conftstm.$ac_objext | |
3025 | save_LIBS="$LIBS" | |
3026 | save_CFLAGS="$CFLAGS" | |
3027 | LIBS="conftstm.$ac_objext" | |
3028 | CFLAGS="$CFLAGS$no_builtin_flag" | |
3029 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3030 | (eval $ac_link) 2>&5 | |
3031 | ac_status=$? | |
3032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3033 | (exit $ac_status); } && test -s conftest; then | |
3034 | pipe_works=yes | |
3035 | fi | |
3036 | LIBS="$save_LIBS" | |
3037 | CFLAGS="$save_CFLAGS" | |
3038 | else | |
3039 | echo "cannot find nm_test_func in $nlist" >&5 | |
3040 | fi | |
3041 | else | |
3042 | echo "cannot find nm_test_var in $nlist" >&5 | |
3043 | fi | |
3044 | else | |
3045 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
3046 | fi | |
3047 | else | |
3048 | echo "$progname: failed program was:" >&5 | |
3049 | cat conftest.$ac_ext >&5 | |
3050 | fi | |
3051 | rm -f conftest* conftst* | |
3052 | ||
3053 | # Do not use the global_symbol_pipe unless it works. | |
3054 | if test "$pipe_works" = yes; then | |
3055 | break | |
3056 | else | |
3057 | lt_cv_sys_global_symbol_pipe= | |
3058 | fi | |
3059 | done | |
3060 | ||
3061 | fi | fi |
3062 | ||
3063 | for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" |
3064 | do | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
3065 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | global_symbol_to_cdecl= |
3066 | echo "$as_me:2523: checking for $ac_header" >&5 | else |
3067 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" |
3068 | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | fi |
3069 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then | |
3070 | echo "$as_me:$LINENO: result: failed" >&5 | |
3071 | echo "${ECHO_T}failed" >&6 | |
3072 | else | |
3073 | echo "$as_me:$LINENO: result: ok" >&5 | |
3074 | echo "${ECHO_T}ok" >&6 | |
3075 | fi | |
3076 | ||
3077 | ac_ext=c | |
3078 | ac_cpp='$CPP $CPPFLAGS' | |
3079 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3080 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3081 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3082 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
3083 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | |
3084 | # On Suns, sometimes $CPP names a directory. | |
3085 | if test -n "$CPP" && test -d "$CPP"; then | |
3086 | CPP= | |
3087 | fi | |
3088 | if test -z "$CPP"; then | |
3089 | if test "${ac_cv_prog_CPP+set}" = set; then | |
3090 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3091 | else | else |
3092 | # Double quotes because CPP needs to be expanded | |
3093 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3094 | do | |
3095 | ac_preproc_ok=false | |
3096 | for ac_c_preproc_warn_flag in '' yes | |
3097 | do | |
3098 | # Use a header file that comes with gcc, so configuring glibc | |
3099 | # with a fresh cross-compiler works. | |
3100 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3101 | # <limits.h> exists even on freestanding compilers. | |
3102 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3103 | # not just through cpp. "Syntax error" is here to catch this case. | |
3104 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
3105 | #line 2529 "configure" | #line $LINENO "configure" |
3106 | #include "confdefs.h" | /* confdefs.h. */ |
3107 | #include <$ac_header> | _ACEOF |
3108 | cat confdefs.h >>conftest.$ac_ext | |
3109 | cat >>conftest.$ac_ext <<_ACEOF | |
3110 | /* end confdefs.h. */ | |
3111 | #ifdef __STDC__ | |
3112 | # include <limits.h> | |
3113 | #else | |
3114 | # include <assert.h> | |
3115 | #endif | |
3116 | Syntax error | |
3117 | _ACEOF | _ACEOF |
3118 | if { (eval echo "$as_me:2533: \"$ac_cpp conftest.$ac_ext\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3119 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3120 | ac_status=$? | ac_status=$? |
3121 | egrep -v '^ *\+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
3122 | rm -f conftest.er1 | rm -f conftest.er1 |
3123 | cat conftest.err >&5 | cat conftest.err >&5 |
3124 | echo "$as_me:2539: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3125 | (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
3126 | if test -s conftest.err; then | if test -s conftest.err; then |
3127 | ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
# | Line 2543 else | Line 3132 else |
3132 | ac_cpp_err=yes | ac_cpp_err=yes |
3133 | fi | fi |
3134 | if test -z "$ac_cpp_err"; then | if test -z "$ac_cpp_err"; then |
3135 | eval "$ac_ac_Header=yes" | : |
3136 | else | else |
3137 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
3138 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
3139 | eval "$ac_ac_Header=no" | |
3140 | # Broken: fails on valid input. | |
3141 | continue | |
3142 | fi | fi |
3143 | rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.$ac_ext |
fi | ||
echo "$as_me:2558: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | ||
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | ||
if test `eval echo '${'$ac_ac_Header'}'` = yes; then | ||
cat >>confdefs.h <<EOF | ||
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | ||
EOF | ||
3144 | ||
3145 | # OK, works on sane cases. Now check whether non-existent headers | |
3146 | # can be detected and how. | |
3147 | cat >conftest.$ac_ext <<_ACEOF | |
3148 | #line $LINENO "configure" | |
3149 | /* confdefs.h. */ | |
3150 | _ACEOF | |
3151 | cat confdefs.h >>conftest.$ac_ext | |
3152 | cat >>conftest.$ac_ext <<_ACEOF | |
3153 | /* end confdefs.h. */ | |
3154 | #include <ac_nonexistent.h> | |
3155 | _ACEOF | |
3156 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3157 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3158 | ac_status=$? | |
3159 | grep -v '^ *+' conftest.er1 >conftest.err | |
3160 | rm -f conftest.er1 | |
3161 | cat conftest.err >&5 | |
3162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3163 | (exit $ac_status); } >/dev/null; then | |
3164 | if test -s conftest.err; then | |
3165 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3166 | else | |
3167 | ac_cpp_err= | |
3168 | fi | |
3169 | else | |
3170 | ac_cpp_err=yes | |
3171 | fi | |
3172 | if test -z "$ac_cpp_err"; then | |
3173 | # Broken: success on invalid input. | |
3174 | continue | |
3175 | else | |
3176 | echo "$as_me: failed program was:" >&5 | |
3177 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3178 | ||
3179 | # Passes both tests. | |
3180 | ac_preproc_ok=: | |
3181 | break | |
3182 | fi | fi |
3183 | rm -f conftest.err conftest.$ac_ext | |
3184 | ||
3185 | done | done |
3186 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3187 | rm -f conftest.err conftest.$ac_ext | |
3188 | if $ac_preproc_ok; then | |
3189 | break | |
3190 | fi | |
3191 | ||
3192 | echo "$as_me:2568: checking for size_t" >&5 | done |
3193 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | ac_cv_prog_CPP=$CPP |
3194 | if test "${ac_cv_type_size_t+set}" = set; then | |
3195 | fi | |
3196 | CPP=$ac_cv_prog_CPP | |
3197 | else | |
3198 | ac_cv_prog_CPP=$CPP | |
3199 | fi | |
3200 | echo "$as_me:$LINENO: result: $CPP" >&5 | |
3201 | echo "${ECHO_T}$CPP" >&6 | |
3202 | ac_preproc_ok=false | |
3203 | for ac_c_preproc_warn_flag in '' yes | |
3204 | do | |
3205 | # Use a header file that comes with gcc, so configuring glibc | |
3206 | # with a fresh cross-compiler works. | |
3207 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3208 | # <limits.h> exists even on freestanding compilers. | |
3209 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3210 | # not just through cpp. "Syntax error" is here to catch this case. | |
3211 | cat >conftest.$ac_ext <<_ACEOF | |
3212 | #line $LINENO "configure" | |
3213 | /* confdefs.h. */ | |
3214 | _ACEOF | |
3215 | cat confdefs.h >>conftest.$ac_ext | |
3216 | cat >>conftest.$ac_ext <<_ACEOF | |
3217 | /* end confdefs.h. */ | |
3218 | #ifdef __STDC__ | |
3219 | # include <limits.h> | |
3220 | #else | |
3221 | # include <assert.h> | |
3222 | #endif | |
3223 | Syntax error | |
3224 | _ACEOF | |
3225 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3226 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3227 | ac_status=$? | |
3228 | grep -v '^ *+' conftest.er1 >conftest.err | |
3229 | rm -f conftest.er1 | |
3230 | cat conftest.err >&5 | |
3231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3232 | (exit $ac_status); } >/dev/null; then | |
3233 | if test -s conftest.err; then | |
3234 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3235 | else | |
3236 | ac_cpp_err= | |
3237 | fi | |
3238 | else | |
3239 | ac_cpp_err=yes | |
3240 | fi | |
3241 | if test -z "$ac_cpp_err"; then | |
3242 | : | |
3243 | else | |
3244 | echo "$as_me: failed program was:" >&5 | |
3245 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3246 | ||
3247 | # Broken: fails on valid input. | |
3248 | continue | |
3249 | fi | |
3250 | rm -f conftest.err conftest.$ac_ext | |
3251 | ||
3252 | # OK, works on sane cases. Now check whether non-existent headers | |
3253 | # can be detected and how. | |
3254 | cat >conftest.$ac_ext <<_ACEOF | |
3255 | #line $LINENO "configure" | |
3256 | /* confdefs.h. */ | |
3257 | _ACEOF | |
3258 | cat confdefs.h >>conftest.$ac_ext | |
3259 | cat >>conftest.$ac_ext <<_ACEOF | |
3260 | /* end confdefs.h. */ | |
3261 | #include <ac_nonexistent.h> | |
3262 | _ACEOF | |
3263 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3264 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3265 | ac_status=$? | |
3266 | grep -v '^ *+' conftest.er1 >conftest.err | |
3267 | rm -f conftest.er1 | |
3268 | cat conftest.err >&5 | |
3269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3270 | (exit $ac_status); } >/dev/null; then | |
3271 | if test -s conftest.err; then | |
3272 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3273 | else | |
3274 | ac_cpp_err= | |
3275 | fi | |
3276 | else | |
3277 | ac_cpp_err=yes | |
3278 | fi | |
3279 | if test -z "$ac_cpp_err"; then | |
3280 | # Broken: success on invalid input. | |
3281 | continue | |
3282 | else | |
3283 | echo "$as_me: failed program was:" >&5 | |
3284 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3285 | ||
3286 | # Passes both tests. | |
3287 | ac_preproc_ok=: | |
3288 | break | |
3289 | fi | |
3290 | rm -f conftest.err conftest.$ac_ext | |
3291 | ||
3292 | done | |
3293 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3294 | rm -f conftest.err conftest.$ac_ext | |
3295 | if $ac_preproc_ok; then | |
3296 | : | |
3297 | else | |
3298 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
3299 | See \`config.log' for more details." >&5 | |
3300 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3301 | See \`config.log' for more details." >&2;} | |
3302 | { (exit 1); exit 1; }; } | |
3303 | fi | |
3304 | ||
3305 | ac_ext=c | |
3306 | ac_cpp='$CPP $CPPFLAGS' | |
3307 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3308 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3309 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3310 | ||
3311 | ||
3312 | echo "$as_me:$LINENO: checking for egrep" >&5 | |
3313 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
3314 | if test "${ac_cv_prog_egrep+set}" = set; then | |
3315 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3316 | else | |
3317 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | |
3318 | then ac_cv_prog_egrep='grep -E' | |
3319 | else ac_cv_prog_egrep='egrep' | |
3320 | fi | |
3321 | fi | |
3322 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | |
3323 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
3324 | EGREP=$ac_cv_prog_egrep | |
3325 | ||
3326 | ||
3327 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
3328 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | |
3329 | if test "${ac_cv_header_stdc+set}" = set; then | |
3330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3331 | else | else |
3332 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
3333 | #line 2574 "configure" | #line $LINENO "configure" |
3334 | #include "confdefs.h" | /* confdefs.h. */ |
3335 | $ac_includes_default | _ACEOF |
3336 | cat confdefs.h >>conftest.$ac_ext | |
3337 | cat >>conftest.$ac_ext <<_ACEOF | |
3338 | /* end confdefs.h. */ | |
3339 | #include <stdlib.h> | |
3340 | #include <stdarg.h> | |
3341 | #include <string.h> | |
3342 | #include <float.h> | |
3343 | ||
3344 | int | int |
3345 | main () | main () |
3346 | { | { |
3347 | if ((size_t *) 0) | |
return 0; | ||
if (sizeof (size_t)) | ||
return 0; | ||
3348 | ; | ; |
3349 | return 0; | return 0; |
3350 | } | } |
3351 | _ACEOF | _ACEOF |
3352 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
3353 | if { (eval echo "$as_me:2589: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3354 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
3355 | ac_status=$? | ac_status=$? |
3356 | echo "$as_me:2592: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3357 | (exit $ac_status); } && | (exit $ac_status); } && |
3358 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
3359 | { (eval echo "$as_me:2595: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3360 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
3361 | ac_status=$? | ac_status=$? |
3362 | echo "$as_me:2598: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3363 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
3364 | ac_cv_type_size_t=yes | ac_cv_header_stdc=yes |
3365 | else | else |
3366 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
3367 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
3368 | ac_cv_type_size_t=no | |
3369 | ac_cv_header_stdc=no | |
3370 | fi | fi |
3371 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
3372 | fi | |
3373 | echo "$as_me:2608: result: $ac_cv_type_size_t" >&5 | if test $ac_cv_header_stdc = yes; then |
3374 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3375 | if test $ac_cv_type_size_t = yes; then | cat >conftest.$ac_ext <<_ACEOF |
3376 | #line $LINENO "configure" | |
3377 | /* confdefs.h. */ | |
3378 | _ACEOF | |
3379 | cat confdefs.h >>conftest.$ac_ext | |
3380 | cat >>conftest.$ac_ext <<_ACEOF | |
3381 | /* end confdefs.h. */ | |
3382 | #include <string.h> | |
3383 | ||
3384 | _ACEOF | |
3385 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
3386 | $EGREP "memchr" >/dev/null 2>&1; then | |
3387 | : | : |
3388 | else | else |
3389 | ac_cv_header_stdc=no | |
3390 | fi | |
3391 | rm -f conftest* | |
3392 | ||
3393 | cat >>confdefs.h <<EOF | fi |
3394 | #define size_t unsigned | |
3395 | EOF | if test $ac_cv_header_stdc = yes; then |
3396 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
3397 | cat >conftest.$ac_ext <<_ACEOF | |
3398 | #line $LINENO "configure" | |
3399 | /* confdefs.h. */ | |
3400 | _ACEOF | |
3401 | cat confdefs.h >>conftest.$ac_ext | |
3402 | cat >>conftest.$ac_ext <<_ACEOF | |
3403 | /* end confdefs.h. */ | |
3404 | #include <stdlib.h> | |
3405 | ||
3406 | _ACEOF | |
3407 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
3408 | $EGREP "free" >/dev/null 2>&1; then | |
3409 | : | |
3410 | else | |
3411 | ac_cv_header_stdc=no | |
3412 | fi | |
3413 | rm -f conftest* | |
3414 | ||
3415 | fi | fi |
3416 | ||
3417 | for ac_func in bcopy memmove strerror | if test $ac_cv_header_stdc = yes; then |
3418 | do | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3419 | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | if test "$cross_compiling" = yes; then |
3420 | echo "$as_me:2623: checking for $ac_func" >&5 | : |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
if eval "test \"\${$ac_ac_var+set}\" = set"; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3421 | else | else |
3422 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
3423 | #line 2629 "configure" | #line $LINENO "configure" |
3424 | #include "confdefs.h" | /* confdefs.h. */ |
3425 | /* System header to define __stub macros and hopefully few prototypes, | _ACEOF |
3426 | which can conflict with char $ac_func (); below. */ | cat confdefs.h >>conftest.$ac_ext |
3427 | #include <assert.h> | cat >>conftest.$ac_ext <<_ACEOF |
3428 | /* Override any gcc2 internal prototype to avoid an error. */ | /* end confdefs.h. */ |
3429 | #ifdef __cplusplus | #include <ctype.h> |
3430 | extern "C" | #if ((' ' & 0x0FF) == 0x020) |
3431 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
3432 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
3433 | #else | |
3434 | # define ISLOWER(c) \ | |
3435 | (('a' <= (c) && (c) <= 'i') \ | |
3436 | || ('j' <= (c) && (c) <= 'r') \ | |
3437 | || ('s' <= (c) && (c) <= 'z')) | |
3438 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
3439 | #endif | #endif |
/* We use char because int might match the return type of a gcc2 | ||
builtin and then its argument prototype would still apply. */ | ||
char $ac_func (); | ||
char (*f) (); | ||
3440 | ||
3441 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
3442 | int | int |
3443 | main () | main () |
3444 | { | { |
3445 | /* The GNU C library defines this for functions which it implements | int i; |
3446 | to always fail with ENOSYS. Some functions are actually named | for (i = 0; i < 256; i++) |
3447 | something starting with __ and the normal name is an alias. */ | if (XOR (islower (i), ISLOWER (i)) |
3448 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | || toupper (i) != TOUPPER (i)) |
3449 | choke me | exit(2); |
3450 | #else | exit (0); |
f = $ac_func; | ||
#endif | ||
; | ||
return 0; | ||
3451 | } | } |
3452 | _ACEOF | _ACEOF |
3453 | rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest$ac_exeext |
3454 | if { (eval echo "$as_me:2660: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3455 | (eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
3456 | ac_status=$? | ac_status=$? |
3457 | echo "$as_me:2663: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3458 | (exit $ac_status); } && | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3459 | { ac_try='test -s conftest$ac_exeext' | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:2666: \"$ac_try\"") >&5 | ||
3460 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
3461 | ac_status=$? | ac_status=$? |
3462 | echo "$as_me:2669: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3463 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
3464 | eval "$ac_ac_var=yes" | : |
3465 | else | else |
3466 | echo "$as_me: failed program was:" >&5 | echo "$as_me: program exited with status $ac_status" >&5 |
3467 | cat conftest.$ac_ext >&5 | echo "$as_me: failed program was:" >&5 |
3468 | eval "$ac_ac_var=no" | sed 's/^/| /' conftest.$ac_ext >&5 |
3469 | ||
3470 | ( exit $ac_status ) | |
3471 | ac_cv_header_stdc=no | |
3472 | fi | fi |
3473 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3474 | fi | fi |
echo "$as_me:2679: result: `eval echo '${'$ac_ac_var'}'`" >&5 | ||
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | ||
if test `eval echo '${'$ac_ac_var'}'` = yes; then | ||
cat >>confdefs.h <<EOF | ||
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | ||
EOF | ||
3475 | fi | fi |
done | ||
# Check whether --enable-utf8 or --disable-utf8 was given. | ||
if test "${enable_utf8+set}" = set; then | ||
enableval="$enable_utf8" | ||
if test "$enableval" = "yes"; then | ||
UTF8=-DSUPPORT_UTF8 | ||
3476 | fi | fi |
3477 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
3478 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
3479 | if test $ac_cv_header_stdc = yes; then | |
3480 | ||
3481 | fi; | cat >>confdefs.h <<\_ACEOF |
3482 | #define STDC_HEADERS 1 | |
3483 | _ACEOF | |
3484 | ||
# Check whether --enable-newline-is-cr or --disable-newline-is-cr was given. | ||
if test "${enable_newline_is_cr+set}" = set; then | ||
enableval="$enable_newline_is_cr" | ||
if test "$enableval" = "yes"; then | ||
NEWLINE=-DNEWLINE=13 | ||
3485 | fi | fi |
3486 | ||
3487 | fi; | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3488 | ||
# Check whether --enable-newline-is-lf or --disable-newline-is-lf was given. | ||
if test "${enable_newline_is_lf+set}" = set; then | ||
enableval="$enable_newline_is_lf" | ||
if test "$enableval" = "yes"; then | ||
NEWLINE=-DNEWLINE=10 | ||
fi | ||
3489 | ||
fi; | ||
3490 | ||
# Check whether --enable-shared or --disable-shared was given. | ||
if test "${enable_shared+set}" = set; then | ||
enableval="$enable_shared" | ||
p=${PACKAGE-default} | ||
case $enableval in | ||
yes) enable_shared=yes ;; | ||
no) enable_shared=no ;; | ||
*) | ||
enable_shared=no | ||
# Look at the argument we got. We use all the common list separators. | ||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
for pkg in $enableval; do | ||
if test "X$pkg" = "X$p"; then | ||
enable_shared=yes | ||
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
;; | ||
esac | ||
else | ||
enable_shared=yes | ||
fi; | ||
# Check whether --enable-static or --disable-static was given. | ||
if test "${enable_static+set}" = set; then | ||
enableval="$enable_static" | ||
p=${PACKAGE-default} | ||
case $enableval in | ||
yes) enable_static=yes ;; | ||
no) enable_static=no ;; | ||
*) | ||
enable_static=no | ||
# Look at the argument we got. We use all the common list separators. | ||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
for pkg in $enableval; do | ||
if test "X$pkg" = "X$p"; then | ||
enable_static=yes | ||
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
;; | ||
esac | ||
else | ||
enable_static=yes | ||
fi; | ||
# Check whether --enable-fast-install or --disable-fast-install was given. | ||
if test "${enable_fast_install+set}" = set; then | ||
enableval="$enable_fast_install" | ||
p=${PACKAGE-default} | ||
case $enableval in | ||
yes) enable_fast_install=yes ;; | ||
no) enable_fast_install=no ;; | ||
*) | ||
enable_fast_install=no | ||
# Look at the argument we got. We use all the common list separators. | ||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
for pkg in $enableval; do | ||
if test "X$pkg" = "X$p"; then | ||
enable_fast_install=yes | ||
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
;; | ||
esac | ||
else | ||
enable_fast_install=yes | ||
fi; | ||
# Make sure we can run config.sub. | ||
$ac_config_sub sun4 >/dev/null 2>&1 || | ||
{ { echo "$as_me:2784: error: cannot run $ac_config_sub" >&5 | ||
echo "$as_me: error: cannot run $ac_config_sub" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3491 | ||
3492 | echo "$as_me:2788: checking build system type" >&5 | |
3493 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
3494 | if test "${ac_cv_build+set}" = set; then | |
3495 | ||
3496 | ||
3497 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
3498 | inttypes.h stdint.h unistd.h | |
3499 | do | |
3500 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
3501 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
3502 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3503 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3505 | else | else |
3506 | ac_cv_build_alias=$build_alias | cat >conftest.$ac_ext <<_ACEOF |
3507 | test -z "$ac_cv_build_alias" && | #line $LINENO "configure" |
3508 | ac_cv_build_alias=`$ac_config_guess` | /* confdefs.h. */ |
3509 | test -z "$ac_cv_build_alias" && | _ACEOF |
3510 | { { echo "$as_me:2797: error: cannot guess build type; you must specify one" >&5 | cat confdefs.h >>conftest.$ac_ext |
3511 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | cat >>conftest.$ac_ext <<_ACEOF |
3512 | { (exit 1); exit 1; }; } | /* end confdefs.h. */ |
3513 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | $ac_includes_default |
3514 | { { echo "$as_me:2801: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | |
3515 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | #include <$ac_header> |
3516 | { (exit 1); exit 1; }; } | _ACEOF |
3517 | rm -f conftest.$ac_objext | |
3518 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3519 | (eval $ac_compile) 2>&5 | |
3520 | ac_status=$? | |
3521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3522 | (exit $ac_status); } && | |
3523 | { ac_try='test -s conftest.$ac_objext' | |
3524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3525 | (eval $ac_try) 2>&5 | |
3526 | ac_status=$? | |
3527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3528 | (exit $ac_status); }; }; then | |
3529 | eval "$as_ac_Header=yes" | |
3530 | else | |
3531 | echo "$as_me: failed program was:" >&5 | |
3532 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3533 | ||
3534 | eval "$as_ac_Header=no" | |
3535 | fi | fi |
3536 | echo "$as_me:2806: result: $ac_cv_build" >&5 | rm -f conftest.$ac_objext conftest.$ac_ext |
3537 | echo "${ECHO_T}$ac_cv_build" >&6 | fi |
3538 | build=$ac_cv_build | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3539 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3540 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3541 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | cat >>confdefs.h <<_ACEOF |
3542 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
3543 | _ACEOF | |
3544 | ||
3545 | echo "$as_me:2813: checking host system type" >&5 | fi |
3546 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
3547 | if test "${ac_cv_host+set}" = set; then | done |
3548 | ||
3549 | ||
3550 | ||
3551 | for ac_header in dlfcn.h | |
3552 | do | |
3553 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
3554 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3555 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
3556 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3557 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3558 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3559 | fi | |
3560 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3561 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3562 | else | else |
3563 | ac_cv_host_alias=$host_alias | # Is the header compilable? |
3564 | test -z "$ac_cv_host_alias" && | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3565 | ac_cv_host_alias=$ac_cv_build_alias | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
3566 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | cat >conftest.$ac_ext <<_ACEOF |
3567 | { { echo "$as_me:2822: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | #line $LINENO "configure" |
3568 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | /* confdefs.h. */ |
3569 | { (exit 1); exit 1; }; } | _ACEOF |
3570 | cat confdefs.h >>conftest.$ac_ext | |
3571 | cat >>conftest.$ac_ext <<_ACEOF | |
3572 | /* end confdefs.h. */ | |
3573 | $ac_includes_default | |
3574 | #include <$ac_header> | |
3575 | _ACEOF | |
3576 | rm -f conftest.$ac_objext | |
3577 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3578 | (eval $ac_compile) 2>&5 | |
3579 | ac_status=$? | |
3580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3581 | (exit $ac_status); } && | |
3582 | { ac_try='test -s conftest.$ac_objext' | |
3583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3584 | (eval $ac_try) 2>&5 | |
3585 | ac_status=$? | |
3586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3587 | (exit $ac_status); }; }; then | |
3588 | ac_header_compiler=yes | |
3589 | else | |
3590 | echo "$as_me: failed program was:" >&5 | |
3591 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3592 | ||
3593 | ac_header_compiler=no | |
3594 | fi | fi |
3595 | echo "$as_me:2827: result: $ac_cv_host" >&5 | rm -f conftest.$ac_objext conftest.$ac_ext |
3596 | echo "${ECHO_T}$ac_cv_host" >&6 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3597 | host=$ac_cv_host | echo "${ECHO_T}$ac_header_compiler" >&6 |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
3598 | ||
3599 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | # Is the header present? |
3600 | if test "${with_gnu_ld+set}" = set; then | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3601 | withval="$with_gnu_ld" | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
3602 | test "$withval" = no || with_gnu_ld=yes | cat >conftest.$ac_ext <<_ACEOF |
3603 | #line $LINENO "configure" | |
3604 | /* confdefs.h. */ | |
3605 | _ACEOF | |
3606 | cat confdefs.h >>conftest.$ac_ext | |
3607 | cat >>conftest.$ac_ext <<_ACEOF | |
3608 | /* end confdefs.h. */ | |
3609 | #include <$ac_header> | |
3610 | _ACEOF | |
3611 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3612 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3613 | ac_status=$? | |
3614 | grep -v '^ *+' conftest.er1 >conftest.err | |
3615 | rm -f conftest.er1 | |
3616 | cat conftest.err >&5 | |
3617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3618 | (exit $ac_status); } >/dev/null; then | |
3619 | if test -s conftest.err; then | |
3620 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3621 | else | |
3622 | ac_cpp_err= | |
3623 | fi | |
3624 | else | else |
3625 | with_gnu_ld=no | ac_cpp_err=yes |
3626 | fi; | fi |
3627 | ac_prog=ld | if test -z "$ac_cpp_err"; then |
3628 | if test "$GCC" = yes; then | ac_header_preproc=yes |
# Check if gcc -print-prog-name=ld gives a path. | ||
echo "$as_me:2844: checking for ld used by GCC" >&5 | ||
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | ||
case $host in | ||
*-*-mingw*) | ||
# gcc leaves a trailing carriage return which upsets mingw | ||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | ||
*) | ||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | ||
esac | ||
case $ac_prog in | ||
# Accept absolute paths. | ||
[\\/]* | [A-Za-z]:[\\/]*) | ||
re_direlt='/[^/][^/]*/\.\./' | ||
# Canonicalize the path of ld | ||
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | ||
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | ||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | ||
done | ||
test -z "$LD" && LD="$ac_prog" | ||
;; | ||
"") | ||
# If it fails, then pretend we aren't using GCC. | ||
ac_prog=ld | ||
;; | ||
*) | ||
# If it is relative, then search for the first ld in PATH. | ||
with_gnu_ld=unknown | ||
;; | ||
esac | ||
elif test "$with_gnu_ld" = yes; then | ||
echo "$as_me:2874: checking for GNU ld" >&5 | ||
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | ||
3629 | else | else |
3630 | echo "$as_me:2877: checking for non-GNU ld" >&5 | echo "$as_me: failed program was:" >&5 |
3631 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | sed 's/^/| /' conftest.$ac_ext >&5 |
3632 | ||
3633 | ac_header_preproc=no | |
3634 | fi | fi |
3635 | if test "${lt_cv_path_LD+set}" = set; then | rm -f conftest.err conftest.$ac_ext |
3636 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
3637 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
3638 | ||
3639 | # So? What about this header? | |
3640 | case $ac_header_compiler:$ac_header_preproc in | |
3641 | yes:no ) | |
3642 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
3643 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
3644 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
3645 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
3646 | ( | |
3647 | cat <<\_ASBOX | |
3648 | ## ------------------------------------ ## | |
3649 | ## Report this to bug-autoconf@gnu.org. ## | |
3650 | ## ------------------------------------ ## | |
3651 | _ASBOX | |
3652 | ) | | |
3653 | sed "s/^/$as_me: WARNING: /" >&2 | |
3654 | ;; | |
3655 | no:yes ) | |
3656 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
3657 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
3658 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
3659 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
3660 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
3661 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
3662 | ( | |
3663 | cat <<\_ASBOX | |
3664 | ## ------------------------------------ ## | |
3665 | ## Report this to bug-autoconf@gnu.org. ## | |
3666 | ## ------------------------------------ ## | |
3667 | _ASBOX | |
3668 | ) | | |
3669 | sed "s/^/$as_me: WARNING: /" >&2 | |
3670 | ;; | |
3671 | esac | |
3672 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
3673 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3674 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3675 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3676 | else | else |
3677 | if test -z "$LD"; then | eval "$as_ac_Header=$ac_header_preproc" |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | ||
for ac_dir in $PATH; do | ||
test -z "$ac_dir" && ac_dir=. | ||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | ||
lt_cv_path_LD="$ac_dir/$ac_prog" | ||
# Check to see if the program is GNU ld. I'd rather use --version, | ||
# but apparently some GNU ld's only accept -v. | ||
# Break only if it was the GNU/non-GNU ld that we prefer. | ||
if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | ||
test "$with_gnu_ld" != no && break | ||
else | ||
test "$with_gnu_ld" != yes && break | ||
fi | ||
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
else | ||
lt_cv_path_LD="$LD" # Let the user override the test with a path. | ||
3678 | fi | fi |
3679 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3680 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3681 | ||
3682 | fi | fi |
3683 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
3684 | cat >>confdefs.h <<_ACEOF | |
3685 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
3686 | _ACEOF | |
3687 | ||
LD="$lt_cv_path_LD" | ||
if test -n "$LD"; then | ||
echo "$as_me:2907: result: $LD" >&5 | ||
echo "${ECHO_T}$LD" >&6 | ||
else | ||
echo "$as_me:2910: result: no" >&5 | ||
echo "${ECHO_T}no" >&6 | ||
3688 | fi | fi |
test -z "$LD" && { { echo "$as_me:2913: error: no acceptable ld found in \$PATH" >&5 | ||
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
echo "$as_me:2916: checking if the linker ($LD) is GNU ld" >&5 | ||
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | ||
if test "${lt_cv_prog_gnu_ld+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
# I'd rather use --version here, but apparently some GNU ld's only accept -v. | ||
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | ||
lt_cv_prog_gnu_ld=yes | ||
else | ||
lt_cv_prog_gnu_ld=no | ||
fi | ||
fi | ||
echo "$as_me:2928: result: $lt_cv_prog_gnu_ld" >&5 | ||
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | ||
with_gnu_ld=$lt_cv_prog_gnu_ld | ||
3689 | ||
3690 | echo "$as_me:2932: checking for $LD option to reload object files" >&5 | done |
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | ||
if test "${lt_cv_ld_reload_flag+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
lt_cv_ld_reload_flag='-r' | ||
fi | ||
echo "$as_me:2939: result: $lt_cv_ld_reload_flag" >&5 | ||
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | ||
reload_flag=$lt_cv_ld_reload_flag | ||
test -n "$reload_flag" && reload_flag=" $reload_flag" | ||
3691 | ||
3692 | echo "$as_me:2944: checking for BSD-compatible nm" >&5 | |
3693 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | |
3694 | if test "${lt_cv_path_NM+set}" = set; then | |
3695 | ||
3696 | # Only perform the check for file, if the check method requires it | |
3697 | case $deplibs_check_method in | |
3698 | file_magic*) | |
3699 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | |
3700 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | |
3701 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | |
3702 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | |
3703 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3704 | else | else |
3705 | if test -n "$NM"; then | case $MAGIC_CMD in |
3706 | # Let the user override the test. | /*) |
3707 | lt_cv_path_NM="$NM" | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
3708 | else | ;; |
3709 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | ?:/*) |
3710 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. |