Parent Directory
|
Revision Log
|
Patch
code/trunk/configure revision 53 by nigel, Sat Feb 24 21:39:42 2007 UTC | code/tags/pcre-4.1/configure revision 66 by nigel, Sat Feb 24 21:40:10 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 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 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 741 if test "$ac_init_help" = "long"; then | Line 939 if test "$ac_init_help" = "long"; then |
939 | # The list generated by autoconf has been trimmed to remove many | # The list generated by autoconf has been trimmed to remove many |
940 | # options that are totally irrelevant to PCRE (e.g. relating to X), | # options that are totally irrelevant to PCRE (e.g. relating to X), |
941 | # or are not supported by its Makefile. | # or are not supported by its Makefile. |
# The list generated by autoconf has been trimmed to remove many | ||
# options that are totally irrelevant to PCRE (e.g. relating to X), | ||
# or are not supported by its Makefile. | ||
# The list generated by autoconf has been trimmed to remove many | ||
# options that are totally irrelevant to PCRE (e.g. relating to X), | ||
# or are not supported by its Makefile. | ||
942 | # 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. |
943 | cat <<EOF | cat <<_ACEOF |
944 | \`configure' configures this package to adapt to many kinds of systems. | \`configure' configures this package to adapt to many kinds of systems. |
945 | ||
946 | Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
# | Line 769 Configuration: | Line 961 Configuration: |
961 | -n, --no-create do not create output files | -n, --no-create do not create output files |
962 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
963 | ||
964 | EOF | _ACEOF |
965 | ||
966 | cat <<EOF | cat <<_ACEOF |
967 | Installation directories: | Installation directories: |
968 | --prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
969 | [$ac_default_prefix] | [$ac_default_prefix] |
# | Line 790 Fine tuning of the installation director | Line 982 Fine tuning of the installation director |
982 | --libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] |
983 | --includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] |
984 | --mandir=DIR man documentation [PREFIX/man] | --mandir=DIR man documentation [PREFIX/man] |
985 | EOF | _ACEOF |
986 | ||
987 | cat <<\EOF | cat <<\_ACEOF |
988 | ||
989 | EOF | _ACEOF |
990 | fi | fi |
991 | ||
992 | if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then |
993 | ||
994 | cat <<\EOF | cat <<\_ACEOF |
995 | ||
996 | Optional Features: | Optional Features: |
997 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
998 | --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 | ||
999 | --enable-shared build shared libraries default=yes | --enable-shared build shared libraries default=yes |
1000 | --enable-static build static libraries default=yes | --enable-static build static libraries default=yes |
1001 | --enable-fast-install optimize for fast installation default=yes | --enable-fast-install optimize for fast installation default=yes |
1002 | --disable-libtool-lock avoid locking (might break parallel builds) | --disable-libtool-lock avoid locking (might break parallel builds) |
1003 | --enable-utf8 enable UTF8 support | |
1004 | --enable-newline-is-cr use CR as the newline character | |
1005 | --enable-newline-is-lf use LF as the newline character | |
1006 | ||
1007 | Optional Packages: | Optional Packages: |
1008 | --with-gnu-ld assume the C compiler uses GNU ld default=no | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1009 | --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 |
1010 | --with-posix-malloc-threshold=5 threshold for POSIX malloc usage | |
1011 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | |
1012 | --with-match-limit=10000000 default limit on internal looping) | |
1013 | ||
1014 | Some influential environment variables: | Some influential environment variables: |
1015 | CC C compiler command | CC C compiler command |
# | Line 828 Some influential environment variables: | Line 1023 Some influential environment variables: |
1023 | 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 |
1024 | it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
1025 | ||
1026 | EOF | _ACEOF |
1027 | fi | fi |
1028 | ||
1029 | if test "$ac_init_help" = "recursive"; then | if test "$ac_init_help" = "recursive"; then |
1030 | # If there are subdirs, report their specific --help. | # If there are subdirs, report their specific --help. |
1031 | ac_popdir=`pwd` | ac_popdir=`pwd` |
1032 | 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 |
1033 | cd $ac_subdir | test -d $ac_dir || continue |
1034 | # A "../" for each directory in /$ac_subdir. | ac_builddir=. |
1035 | ac_dots=`echo $ac_subdir | | |
1036 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` | if test "$ac_dir" != .; then |
1037 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
1038 | case $srcdir in | # A "../" for each directory in $ac_dir_suffix. |
1039 | .) # No --srcdir option. We are building in place. | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
1040 | ac_sub_srcdir=$srcdir ;; | else |
1041 | [\\/]* | ?:[\\/]* ) # Absolute path. | ac_dir_suffix= ac_top_builddir= |
1042 | ac_sub_srcdir=$srcdir/$ac_subdir ;; | fi |
1043 | *) # Relative path. | |
1044 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | case $srcdir in |
1045 | esac | .) # No --srcdir option. We are building in place. |
1046 | ac_srcdir=. | |
1047 | if test -z "$ac_top_builddir"; then | |
1048 | ac_top_srcdir=. | |
1049 | else | |
1050 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
1051 | fi ;; | |
1052 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
1053 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1054 | ac_top_srcdir=$srcdir ;; | |
1055 | *) # Relative path. | |
1056 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
1057 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
1058 | esac | |
1059 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
1060 | # absolute. | |
1061 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
1062 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
1063 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
1064 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
1065 | ||
1066 | cd $ac_dir | |
1067 | # Check for guested configure; otherwise get Cygnus style configure. | # Check for guested configure; otherwise get Cygnus style configure. |
1068 | if test -f $ac_sub_srcdir/configure.gnu; then | if test -f $ac_srcdir/configure.gnu; then |
1069 | echo | echo |
1070 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1071 | elif test -f $ac_sub_srcdir/configure; then | elif test -f $ac_srcdir/configure; then |
1072 | echo | echo |
1073 | $SHELL $ac_sub_srcdir/configure --help=recursive | $SHELL $ac_srcdir/configure --help=recursive |
1074 | elif test -f $ac_sub_srcdir/configure.ac || | elif test -f $ac_srcdir/configure.ac || |
1075 | test -f $ac_sub_srcdir/configure.in; then | test -f $ac_srcdir/configure.in; then |
1076 | echo | echo |
1077 | $ac_configure --help | $ac_configure --help |
1078 | else | else |
1079 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1080 | fi | fi |
1081 | cd $ac_popdir | cd $ac_popdir |
1082 | done | done |
# | Line 869 fi | Line 1084 fi |
1084 | ||
1085 | test -n "$ac_init_help" && exit 0 | test -n "$ac_init_help" && exit 0 |
1086 | if $ac_init_version; then | if $ac_init_version; then |
1087 | cat <<\EOF | cat <<\_ACEOF |
1088 | ||
1089 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
1090 | Free Software Foundation, Inc. | Free Software Foundation, Inc. |
1091 | This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
1092 | gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
1093 | EOF | _ACEOF |
1094 | exit 0 | exit 0 |
1095 | fi | fi |
1096 | exec 5>config.log | exec 5>config.log |
1097 | cat >&5 <<EOF | cat >&5 <<_ACEOF |
1098 | This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
1099 | running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
1100 | ||
1101 | It was created by $as_me, which was | It was created by $as_me, which was |
1102 | generated by GNU Autoconf 2.50. Invocation command line was | generated by GNU Autoconf 2.57. Invocation command line was |
1103 | ||
1104 | $ $0 $@ | $ $0 $@ |
1105 | ||
1106 | EOF | _ACEOF |
1107 | { | { |
1108 | cat <<_ASUNAME | cat <<_ASUNAME |
1109 | ## ---------- ## | ## --------- ## |
1110 | ## Platform. ## | ## Platform. ## |
1111 | ## ---------- ## | ## --------- ## |
1112 | ||
1113 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1114 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
# | Line 912 hostinfo = `(hostinfo) 2>/ | Line 1127 hostinfo = `(hostinfo) 2>/ |
1127 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1128 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1129 | ||
PATH = $PATH | ||
1130 | _ASUNAME | _ASUNAME |
1131 | ||
1132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1133 | for as_dir in $PATH | |
1134 | do | |
1135 | IFS=$as_save_IFS | |
1136 | test -z "$as_dir" && as_dir=. | |
1137 | echo "PATH: $as_dir" | |
1138 | done | |
1139 | ||
1140 | } >&5 | } >&5 |
1141 | ||
1142 | cat >&5 <<EOF | cat >&5 <<_ACEOF |
1143 | ## ------------ ## | |
1144 | ## Core tests. ## | |
1145 | ## ------------ ## | ## ----------- ## |
1146 | ## Core tests. ## | |
1147 | ## ----------- ## | |
1148 | ||
1149 | _ACEOF | |
1150 | ||
EOF | ||
1151 | ||
1152 | # Keep a trace of the command line. | # Keep a trace of the command line. |
1153 | # 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. |
1154 | # Strip out --silent because we don't want to record it for future runs. | |
1155 | # Also quote any args containing shell meta-characters. | # Also quote any args containing shell meta-characters. |
1156 | # Make two passes to allow for proper duplicate-argument suppression. | |
1157 | ac_configure_args= | ac_configure_args= |
1158 | ac_configure_args0= | |
1159 | ac_configure_args1= | |
1160 | ac_sep= | ac_sep= |
1161 | for ac_arg | ac_must_keep_next=false |
1162 | for ac_pass in 1 2 | |
1163 | do | do |
1164 | case $ac_arg in | for ac_arg |
1165 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | do |
1166 | | --no-cr | --no-c) ;; | case $ac_arg in |
1167 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1168 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1169 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | | -silent | --silent | --silen | --sile | --sil) |
1170 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | continue ;; |
1171 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1172 | ac_sep=" " ;; | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1173 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | esac |
1174 | ac_sep=" " ;; | case $ac_pass in |
1175 | esac | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1176 | # Get rid of the leading space. | 2) |
1177 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1178 | if test $ac_must_keep_next = true; then | |
1179 | ac_must_keep_next=false # Got value, back to normal. | |
1180 | else | |
1181 | case $ac_arg in | |
1182 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1183 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1184 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1185 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1186 | case "$ac_configure_args0 " in | |
1187 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1188 | esac | |
1189 | ;; | |
1190 | -* ) ac_must_keep_next=true ;; | |
1191 | esac | |
1192 | fi | |
1193 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
1194 | # Get rid of the leading space. | |
1195 | ac_sep=" " | |
1196 | ;; | |
1197 | esac | |
1198 | done | |
1199 | done | done |
1200 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1201 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1202 | ||
1203 | # When interrupted or exit'd, cleanup temporary files, and complete | # When interrupted or exit'd, cleanup temporary files, and complete |
1204 | # config.log. We remove comments because anyway the quotes in there | # config.log. We remove comments because anyway the quotes in there |
1205 | # would cause problems or look ugly. | # would cause problems or look ugly. |
1206 | # WARNING: Be sure not to use single quotes in there, as some shells, | |
1207 | # such as our DU 5.0 friend, will then `close' the trap. | |
1208 | trap 'exit_status=$? | trap 'exit_status=$? |
1209 | # Save into config.log some information that might help in debugging. | # Save into config.log some information that might help in debugging. |
1210 | echo >&5 | { |
1211 | echo "## ----------------- ##" >&5 | echo |
1212 | echo "## Cache variables. ##" >&5 | |
1213 | echo "## ----------------- ##" >&5 | cat <<\_ASBOX |
1214 | echo >&5 | ## ---------------- ## |
1215 | # The following way of writing the cache mishandles newlines in values, | ## Cache variables. ## |
1216 | ## ---------------- ## | |
1217 | _ASBOX | |
1218 | echo | |
1219 | # The following way of writing the cache mishandles newlines in values, | |
1220 | { | { |
1221 | (set) 2>&1 | | (set) 2>&1 | |
1222 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1223 | *ac_space=\ *) | *ac_space=\ *) |
1224 | sed -n \ | sed -n \ |
1225 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1226 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1227 | ;; | ;; |
1228 | *) | *) |
1229 | sed -n \ | sed -n \ |
1230 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1231 | ;; | ;; |
1232 | esac; | esac; |
1233 | } >&5 | } |
1234 | sed "/^$/d" confdefs.h >conftest.log | echo |
if test -s conftest.log; then | ||
echo >&5 | ||
echo "## ------------ ##" >&5 | ||
echo "## confdefs.h. ##" >&5 | ||
echo "## ------------ ##" >&5 | ||
echo >&5 | ||
cat conftest.log >&5 | ||
fi | ||
(echo; echo) >&5 | ||
test "$ac_signal" != 0 && | ||
echo "$as_me: caught signal $ac_signal" >&5 | ||
echo "$as_me: exit $exit_status" >&5 | ||
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | ||
exit $exit_status | ||
' 0 | ||
for ac_signal in 1 2 13 15; do | ||
trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal | ||
done | ||
ac_signal=0 | ||
1235 | ||
1236 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | cat <<\_ASBOX |
1237 | ## ----------------- ## | |
1238 | ## Output variables. ## | |
1239 | ## ----------------- ## | |
1240 | _ASBOX | |
1241 | echo | |
1242 | for ac_var in $ac_subst_vars | |
1243 | do | |
1244 | eval ac_val=$`echo $ac_var` | |
1245 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1246 | done | sort | |
1247 | echo | |
1248 | ||
1249 | if test -n "$ac_subst_files"; then | |
1250 | cat <<\_ASBOX | |
1251 | ## ------------- ## | |
1252 | ## Output files. ## | |
1253 | ## ------------- ## | |
1254 | _ASBOX | |
1255 | echo | |
1256 | for ac_var in $ac_subst_files | |
1257 | do | |
1258 | eval ac_val=$`echo $ac_var` | |
1259 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1260 | done | sort | |
1261 | echo | |
1262 | fi | |
1263 | ||
1264 | if test -s confdefs.h; then | |
1265 | cat <<\_ASBOX | |
1266 | ## ----------- ## | |
1267 | ## confdefs.h. ## | |
1268 | ## ----------- ## | |
1269 | _ASBOX | |
1270 | echo | |
1271 | sed "/^$/d" confdefs.h | sort | |
1272 | echo | |
1273 | fi | |
1274 | test "$ac_signal" != 0 && | |
1275 | echo "$as_me: caught signal $ac_signal" | |
1276 | echo "$as_me: exit $exit_status" | |
1277 | } >&5 | |
1278 | rm -f core core.* *.core && | |
1279 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1280 | exit $exit_status | |
1281 | ' 0 | |
1282 | for ac_signal in 1 2 13 15; do | |
1283 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1284 | done | |
1285 | ac_signal=0 | |
1286 | ||
1287 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1288 | rm -rf conftest* confdefs.h | rm -rf conftest* confdefs.h |
1289 | # 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. |
1290 | echo >confdefs.h | echo >confdefs.h |
1291 | ||
1292 | # Predefined preprocessor variables. | |
1293 | ||
1294 | cat >>confdefs.h <<_ACEOF | |
1295 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1296 | _ACEOF | |
1297 | ||
1298 | ||
1299 | cat >>confdefs.h <<_ACEOF | |
1300 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1301 | _ACEOF | |
1302 | ||
1303 | ||
1304 | cat >>confdefs.h <<_ACEOF | |
1305 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1306 | _ACEOF | |
1307 | ||
1308 | ||
1309 | cat >>confdefs.h <<_ACEOF | |
1310 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1311 | _ACEOF | |
1312 | ||
1313 | ||
1314 | cat >>confdefs.h <<_ACEOF | |
1315 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1316 | _ACEOF | |
1317 | ||
1318 | ||
1319 | # 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. |
1320 | # Prefer explicitly selected file to automatically selected ones. | # Prefer explicitly selected file to automatically selected ones. |
1321 | if test -z "$CONFIG_SITE"; then | if test -z "$CONFIG_SITE"; then |
# | Line 1008 if test -z "$CONFIG_SITE"; then | Line 1327 if test -z "$CONFIG_SITE"; then |
1327 | fi | fi |
1328 | for ac_site_file in $CONFIG_SITE; do | for ac_site_file in $CONFIG_SITE; do |
1329 | if test -r "$ac_site_file"; then | if test -r "$ac_site_file"; then |
1330 | { echo "$as_me:1012: loading site script $ac_site_file" >&5 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1331 | echo "$as_me: loading site script $ac_site_file" >&6;} | echo "$as_me: loading site script $ac_site_file" >&6;} |
1332 | cat "$ac_site_file" >&5 | sed 's/^/| /' "$ac_site_file" >&5 |
1333 | . "$ac_site_file" | . "$ac_site_file" |
1334 | fi | fi |
1335 | done | done |
# | Line 1019 if test -r "$cache_file"; then | Line 1338 if test -r "$cache_file"; then |
1338 | # Some versions of bash will fail to source /dev/null (special | # Some versions of bash will fail to source /dev/null (special |
1339 | # files actually), so we avoid doing that. | # files actually), so we avoid doing that. |
1340 | if test -f "$cache_file"; then | if test -f "$cache_file"; then |
1341 | { echo "$as_me:1023: loading cache $cache_file" >&5 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1342 | echo "$as_me: loading cache $cache_file" >&6;} | echo "$as_me: loading cache $cache_file" >&6;} |
1343 | case $cache_file in | case $cache_file in |
1344 | [\\/]* | ?:[\\/]* ) . $cache_file;; | [\\/]* | ?:[\\/]* ) . $cache_file;; |
# | Line 1027 echo "$as_me: loading cache $cache_file" | Line 1346 echo "$as_me: loading cache $cache_file" |
1346 | esac | esac |
1347 | fi | fi |
1348 | else | else |
1349 | { echo "$as_me:1031: creating cache $cache_file" >&5 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1350 | echo "$as_me: creating cache $cache_file" >&6;} | echo "$as_me: creating cache $cache_file" >&6;} |
1351 | >$cache_file | >$cache_file |
1352 | fi | fi |
1353 | ||
1354 | # 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 |
1355 | # value. | # value. |
1356 | ac_suggest_removing_cache=false | ac_cache_corrupted=false |
1357 | for ac_var in `(set) 2>&1 | | for ac_var in `(set) 2>&1 | |
1358 | 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 |
1359 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
# | Line 1043 for ac_var in `(set) 2>&1 | | Line 1362 for ac_var in `(set) 2>&1 | |
1362 | eval ac_new_val="\$ac_env_${ac_var}_value" | eval ac_new_val="\$ac_env_${ac_var}_value" |
1363 | case $ac_old_set,$ac_new_set in | case $ac_old_set,$ac_new_set in |
1364 | set,) | set,) |
1365 | { 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 |
1366 | 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;} |
1367 | ac_suggest_removing_cache=: ;; | ac_cache_corrupted=: ;; |
1368 | ,set) | ,set) |
1369 | { 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 |
1370 | 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;} |
1371 | ac_suggest_removing_cache=: ;; | ac_cache_corrupted=: ;; |
1372 | ,);; | ,);; |
1373 | *) | *) |
1374 | if test "x$ac_old_val" != "x$ac_new_val"; then | if test "x$ac_old_val" != "x$ac_new_val"; then |
1375 | { 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 |
1376 | 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;} |
1377 | { echo "$as_me:1059: WARNING: former value: $ac_old_val" >&5 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1378 | echo "$as_me: WARNING: former value: $ac_old_val" >&2;} | echo "$as_me: former value: $ac_old_val" >&2;} |
1379 | { echo "$as_me:1061: WARNING: current value: $ac_new_val" >&5 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1380 | echo "$as_me: WARNING: current value: $ac_new_val" >&2;} | echo "$as_me: current value: $ac_new_val" >&2;} |
1381 | ac_suggest_removing_cache=: | ac_cache_corrupted=: |
1382 | fi;; | fi;; |
1383 | esac | esac |
1384 | # Pass precious variables to config.status. | |
1385 | if test "$ac_new_set" = set; then | |
1386 | case $ac_new_val in | |
1387 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1388 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1389 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1390 | esac | |
1391 | case " $ac_configure_args " in | |
1392 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1393 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1394 | esac | |
1395 | fi | |
1396 | done | done |
1397 | if $ac_suggest_removing_cache; then | if $ac_cache_corrupted; then |
1398 | { 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 |
1399 | 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;} |
1400 | { 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 |
1401 | 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;} |
1402 | { (exit 1); exit 1; }; } | |
1403 | fi | fi |
1404 | ||
1405 | ac_ext=c | ac_ext=c |
# | Line 1076 ac_compile='$CC -c $CFLAGS $CPPFLAGS con | Line 1408 ac_compile='$CC -c $CFLAGS $CPPFLAGS con |
1408 | 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' |
1409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1410 | ||
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 | ||
1411 | ||
ac_config_headers="$ac_config_headers config.h:config.in" | ||
1412 | ||
1413 | PCRE_MAJOR=3 | |
1414 | PCRE_MINOR=5 | |
1415 | PCRE_DATE=15-Aug-2001 | |
1416 | ||
1417 | ||
1418 | ||
1419 | ||
1420 | ||
1421 | ||
1422 | ||
1423 | ||
1424 | ||
1425 | ||
1426 | ||
1427 | ||
1428 | ||
1429 | ||
1430 | ac_config_headers="$ac_config_headers config.h:config.in" | |
1431 | ||
1432 | ||
1433 | ||
1434 | PCRE_MAJOR=4 | |
1435 | PCRE_MINOR=1 | |
1436 | PCRE_DATE=12-Mar-2003 | |
1437 | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
1438 | ||
1439 | ||
1440 | POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | |
1441 | ||
1442 | ||
1443 | PCRE_LIB_VERSION=0:1:0 | PCRE_LIB_VERSION=0:1:0 |
1444 | PCRE_POSIXLIB_VERSION=0:0:0 | PCRE_POSIXLIB_VERSION=0:0:0 |
1445 | ||
1446 | ||
1447 | ac_ext=c | ac_ext=c |
1448 | ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
1449 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
# | Line 1115 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 1452 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1452 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
1453 | # 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. |
1454 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1455 | echo "$as_me:1119: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1456 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1457 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1458 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1123 else | Line 1460 else |
1460 | if test -n "$CC"; then | if test -n "$CC"; then |
1461 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1462 | else | else |
1463 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1464 | ac_dummy="$PATH" | for as_dir in $PATH |
1465 | for ac_dir in $ac_dummy; do | do |
1466 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1467 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1468 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1469 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1470 | echo "$as_me:1134: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1471 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1472 | break 2 | |
1473 | fi | |
1474 | done | |
1475 | done | done |
1476 | ||
1477 | fi | fi |
1478 | fi | fi |
1479 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1480 | if test -n "$CC"; then | if test -n "$CC"; then |
1481 | echo "$as_me:1142: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1482 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1483 | else | else |
1484 | echo "$as_me:1145: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1485 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1486 | fi | fi |
1487 | ||
# | Line 1150 if test -z "$ac_cv_prog_CC"; then | Line 1490 if test -z "$ac_cv_prog_CC"; then |
1490 | ac_ct_CC=$CC | ac_ct_CC=$CC |
1491 | # 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. |
1492 | set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
1493 | echo "$as_me:1154: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1494 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1495 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1496 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1158 else | Line 1498 else |
1498 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1499 | 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. |
1500 | else | else |
1501 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1502 | ac_dummy="$PATH" | for as_dir in $PATH |
1503 | for ac_dir in $ac_dummy; do | do |
1504 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1505 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1506 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1507 | ac_cv_prog_ac_ct_CC="gcc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1508 | echo "$as_me:1169: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="gcc" |
1509 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1510 | break 2 | |
1511 | fi | |
1512 | done | |
1513 | done | done |
1514 | ||
1515 | fi | fi |
1516 | fi | fi |
1517 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1518 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1519 | echo "$as_me:1177: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1520 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1521 | else | else |
1522 | echo "$as_me:1180: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1523 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1524 | fi | fi |
1525 | ||
# | Line 1189 if test -z "$CC"; then | Line 1532 if test -z "$CC"; then |
1532 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
1533 | # 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. |
1534 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1535 | echo "$as_me:1193: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1536 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1537 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1538 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1197 else | Line 1540 else |
1540 | if test -n "$CC"; then | if test -n "$CC"; then |
1541 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1542 | else | else |
1543 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1544 | ac_dummy="$PATH" | for as_dir in $PATH |
1545 | for ac_dir in $ac_dummy; do | do |
1546 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1547 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1548 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1549 | ac_cv_prog_CC="${ac_tool_prefix}cc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1550 | echo "$as_me:1208: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1551 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1552 | break 2 | |
1553 | fi | |
1554 | done | |
1555 | done | done |
1556 | ||
1557 | fi | fi |
1558 | fi | fi |
1559 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1560 | if test -n "$CC"; then | if test -n "$CC"; then |
1561 | echo "$as_me:1216: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1562 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1563 | else | else |
1564 | echo "$as_me:1219: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1565 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1566 | fi | fi |
1567 | ||
# | Line 1224 if test -z "$ac_cv_prog_CC"; then | Line 1570 if test -z "$ac_cv_prog_CC"; then |
1570 | ac_ct_CC=$CC | ac_ct_CC=$CC |
1571 | # 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. |
1572 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
1573 | echo "$as_me:1228: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1574 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1575 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1232 else | Line 1578 else |
1578 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1579 | 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. |
1580 | else | else |
1581 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1582 | ac_dummy="$PATH" | for as_dir in $PATH |
1583 | for ac_dir in $ac_dummy; do | do |
1584 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1585 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1586 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1587 | ac_cv_prog_ac_ct_CC="cc" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1588 | echo "$as_me:1243: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="cc" |
1589 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1590 | break 2 | |
1591 | fi | |
1592 | done | |
1593 | done | done |
1594 | ||
1595 | fi | fi |
1596 | fi | fi |
1597 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1598 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1599 | echo "$as_me:1251: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1600 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1601 | else | else |
1602 | echo "$as_me:1254: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1603 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1604 | fi | fi |
1605 | ||
# | Line 1263 fi | Line 1612 fi |
1612 | if test -z "$CC"; then | if test -z "$CC"; then |
1613 | # 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. |
1614 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
1615 | echo "$as_me:1267: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1616 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1617 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1618 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1272 else | Line 1621 else |
1621 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1622 | else | else |
1623 | ac_prog_rejected=no | ac_prog_rejected=no |
1624 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1625 | ac_dummy="$PATH" | for as_dir in $PATH |
1626 | for ac_dir in $ac_dummy; do | do |
1627 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1628 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1629 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1630 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1631 | ac_prog_rejected=yes | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1632 | continue | ac_prog_rejected=yes |
1633 | fi | continue |
1634 | ac_cv_prog_CC="cc" | fi |
1635 | echo "$as_me:1287: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="cc" |
1636 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1637 | break 2 | |
1638 | fi | |
1639 | done | |
1640 | done | done |
1641 | ||
1642 | if test $ac_prog_rejected = yes; then | if test $ac_prog_rejected = yes; then |
# | Line 1296 if test $ac_prog_rejected = yes; then | Line 1648 if test $ac_prog_rejected = yes; then |
1648 | # However, it has the same basename, so the bogon will be chosen | # However, it has the same basename, so the bogon will be chosen |
1649 | # 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. |
1650 | shift | shift |
1651 | set dummy "$ac_dir/$ac_word" ${1+"$@"} | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
shift | ||
ac_cv_prog_CC="$@" | ||
1652 | fi | fi |
1653 | fi | fi |
1654 | fi | fi |
1655 | fi | fi |
1656 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1657 | if test -n "$CC"; then | if test -n "$CC"; then |
1658 | echo "$as_me:1309: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1659 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1660 | else | else |
1661 | echo "$as_me:1312: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1662 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1663 | fi | fi |
1664 | ||
# | Line 1319 if test -z "$CC"; then | Line 1669 if test -z "$CC"; then |
1669 | do | do |
1670 | # 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. |
1671 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1672 | echo "$as_me:1323: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1674 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
1675 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1327 else | Line 1677 else |
1677 | if test -n "$CC"; then | if test -n "$CC"; then |
1678 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
1679 | else | else |
1680 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1681 | ac_dummy="$PATH" | for as_dir in $PATH |
1682 | for ac_dir in $ac_dummy; do | do |
1683 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1684 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1685 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1686 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1687 | echo "$as_me:1338: found $ac_dir/$ac_word" >&5 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1688 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1689 | break 2 | |
1690 | fi | |
1691 | done | |
1692 | done | done |
1693 | ||
1694 | fi | fi |
1695 | fi | fi |
1696 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
1697 | if test -n "$CC"; then | if test -n "$CC"; then |
1698 | echo "$as_me:1346: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
1699 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
1700 | else | else |
1701 | echo "$as_me:1349: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1702 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1703 | fi | fi |
1704 | ||
# | Line 1358 if test -z "$CC"; then | Line 1711 if test -z "$CC"; then |
1711 | do | do |
1712 | # 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. |
1713 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
1714 | echo "$as_me:1362: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1715 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1716 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
# | Line 1366 else | Line 1719 else |
1719 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1720 | 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. |
1721 | else | else |
1722 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1723 | ac_dummy="$PATH" | for as_dir in $PATH |
1724 | for ac_dir in $ac_dummy; do | do |
1725 | IFS=$ac_save_IFS | IFS=$as_save_IFS |
1726 | test -z "$ac_dir" && ac_dir=. | test -z "$as_dir" && as_dir=. |
1727 | $as_executable_p "$ac_dir/$ac_word" || continue | for ac_exec_ext in '' $ac_executable_extensions; do |
1728 | ac_cv_prog_ac_ct_CC="$ac_prog" | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1729 | echo "$as_me:1377: found $ac_dir/$ac_word" >&5 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1730 | break | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1731 | break 2 | |
1732 | fi | |
1733 | done | |
1734 | done | done |
1735 | ||
1736 | fi | fi |
1737 | fi | fi |
1738 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1739 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
1740 | echo "$as_me:1385: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1741 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1742 | else | else |
1743 | echo "$as_me:1388: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
1744 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
1745 | fi | fi |
1746 | ||
# | Line 1396 fi | Line 1752 fi |
1752 | ||
1753 | fi | fi |
1754 | ||
1755 | test -z "$CC" && { { echo "$as_me:1400: error: no acceptable cc found in \$PATH" >&5 | |
1756 | 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 |
1757 | See \`config.log' for more details." >&5 | |
1758 | echo "$as_me: error: no acceptable C compiler found in \$PATH | |
1759 | See \`config.log' for more details." >&2;} | |
1760 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1761 | ||
1762 | # Provide some information about the compiler. | |
1763 | echo "$as_me:$LINENO:" \ | |
1764 | "checking for C compiler version" >&5 | |
1765 | ac_compiler=`set X $ac_compile; echo $2` | |
1766 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
1767 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
1768 | ac_status=$? | |
1769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1770 | (exit $ac_status); } | |
1771 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
1772 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
1773 | ac_status=$? | |
1774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1775 | (exit $ac_status); } | |
1776 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
1777 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
1778 | ac_status=$? | |
1779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1780 | (exit $ac_status); } | |
1781 | ||
1782 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
1783 | #line 1405 "configure" | #line $LINENO "configure" |
1784 | #include "confdefs.h" | /* confdefs.h. */ |
1785 | _ACEOF | |
1786 | cat confdefs.h >>conftest.$ac_ext | |
1787 | cat >>conftest.$ac_ext <<_ACEOF | |
1788 | /* end confdefs.h. */ | |
1789 | ||
1790 | int | int |
1791 | main () | main () |
# | Line 1413 main () | Line 1796 main () |
1796 | } | } |
1797 | _ACEOF | _ACEOF |
1798 | ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files |
1799 | ac_clean_files="$ac_clean_files a.out a.exe" | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1800 | # Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
1801 | # It will help us diagnose broken compiler, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
1802 | # of exeext. | # of exeext. |
1803 | echo "$as_me:1421: checking for C compiler default output" >&5 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
1804 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1805 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1806 | if { (eval echo "$as_me:1424: \"$ac_link_default\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1807 | (eval $ac_link_default) 2>&5 | (eval $ac_link_default) 2>&5 |
1808 | ac_status=$? | ac_status=$? |
1809 | echo "$as_me:1427: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1810 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1811 | 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 |
1812 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1813 | # resort. | |
1814 | ||
1815 | # Be careful to initialize this variable, since it used to be cached. | |
1816 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
1817 | ac_cv_exeext= | |
1818 | # b.out is created by i960 compilers. | |
1819 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
1820 | do | |
1821 | test -f "$ac_file" || continue | |
1822 | case $ac_file in | case $ac_file in |
1823 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1824 | a.out ) # We found the default executable, but exeext='' is most | ;; |
1825 | # certainly right. | conftest.$ac_ext ) |
1826 | break;; | # This is the source file. |
1827 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ;; |
1828 | export ac_cv_exeext | [ab].out ) |
1829 | break;; | # We found the default executable, but exeext='' is most |
1830 | * ) break;; | # certainly right. |
1831 | break;; | |
1832 | *.* ) | |
1833 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1834 | # FIXME: I believe we export ac_cv_exeext for Libtool, | |
1835 | # but it would be cool to find out if it's true. Does anybody | |
1836 | # maintain Libtool? --akim. | |
1837 | export ac_cv_exeext | |
1838 | break;; | |
1839 | * ) | |
1840 | break;; | |
1841 | esac | esac |
1842 | done | done |
1843 | else | else |
1844 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
1845 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
1846 | { { echo "$as_me:1444: error: C compiler cannot create executables" >&5 | |
1847 | echo "$as_me: error: C compiler cannot create executables" >&2;} | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1848 | See \`config.log' for more details." >&5 | |
1849 | echo "$as_me: error: C compiler cannot create executables | |
1850 | See \`config.log' for more details." >&2;} | |
1851 | { (exit 77); exit 77; }; } | { (exit 77); exit 77; }; } |
1852 | fi | fi |
1853 | ||
1854 | ac_exeext=$ac_cv_exeext | ac_exeext=$ac_cv_exeext |
1855 | echo "$as_me:1450: result: $ac_file" >&5 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
1856 | echo "${ECHO_T}$ac_file" >&6 | echo "${ECHO_T}$ac_file" >&6 |
1857 | ||
1858 | # Check the compiler produces executables we can run. If not, either | # Check the compiler produces executables we can run. If not, either |
1859 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
1860 | echo "$as_me:1455: checking whether the C compiler works" >&5 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1861 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1862 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1863 | # If not cross compiling, check that we can run a simple program. | # If not cross compiling, check that we can run a simple program. |
1864 | if test "$cross_compiling" != yes; then | if test "$cross_compiling" != yes; then |
1865 | if { ac_try='./$ac_file' | if { ac_try='./$ac_file' |
1866 | { (eval echo "$as_me:1461: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1867 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
1868 | ac_status=$? | ac_status=$? |
1869 | echo "$as_me:1464: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1870 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
1871 | cross_compiling=no | cross_compiling=no |
1872 | else | else |
1873 | if test "$cross_compiling" = maybe; then | if test "$cross_compiling" = maybe; then |
1874 | cross_compiling=yes | cross_compiling=yes |
1875 | else | else |
1876 | { { echo "$as_me:1471: error: cannot run C compiled programs. | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1877 | If you meant to cross compile, use \`--host'." >&5 | If you meant to cross compile, use \`--host'. |
1878 | See \`config.log' for more details." >&5 | |
1879 | echo "$as_me: error: cannot run C compiled programs. | echo "$as_me: error: cannot run C compiled programs. |
1880 | If you meant to cross compile, use \`--host'." >&2;} | If you meant to cross compile, use \`--host'. |
1881 | See \`config.log' for more details." >&2;} | |
1882 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1883 | fi | fi |
1884 | fi | fi |
1885 | fi | fi |
1886 | echo "$as_me:1479: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
1887 | echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
1888 | ||
1889 | rm -f a.out a.exe conftest$ac_cv_exeext | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1890 | ac_clean_files=$ac_clean_files_save | ac_clean_files=$ac_clean_files_save |
1891 | # Check the compiler produces executables we can run. If not, either | # Check the compiler produces executables we can run. If not, either |
1892 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
1893 | echo "$as_me:1486: checking whether we are cross compiling" >&5 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1894 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1895 | echo "$as_me:1488: result: $cross_compiling" >&5 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1896 | echo "${ECHO_T}$cross_compiling" >&6 | echo "${ECHO_T}$cross_compiling" >&6 |
1897 | ||
1898 | echo "$as_me:1491: checking for executable suffix" >&5 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1899 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1900 | if { (eval echo "$as_me:1493: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1901 | (eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
1902 | ac_status=$? | ac_status=$? |
1903 | echo "$as_me:1496: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1904 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1905 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
1906 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1907 | # 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 |
1908 | # `rm'. | # `rm'. |
1909 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | for ac_file in conftest.exe conftest conftest.*; do |
1910 | test -f "$ac_file" || continue | |
1911 | case $ac_file in | case $ac_file in |
1912 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1913 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1914 | export ac_cv_exeext | export ac_cv_exeext |
1915 | break;; | break;; |
# | Line 1508 for ac_file in `(ls conftest.exe; ls con | Line 1917 for ac_file in `(ls conftest.exe; ls con |
1917 | esac | esac |
1918 | done | done |
1919 | else | else |
1920 | { { 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 |
1921 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | See \`config.log' for more details." >&5 |
1922 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
1923 | See \`config.log' for more details." >&2;} | |
1924 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1925 | fi | fi |
1926 | ||
1927 | rm -f conftest$ac_cv_exeext | rm -f conftest$ac_cv_exeext |
1928 | echo "$as_me:1518: result: $ac_cv_exeext" >&5 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1929 | echo "${ECHO_T}$ac_cv_exeext" >&6 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
1930 | ||
1931 | rm -f conftest.$ac_ext | rm -f conftest.$ac_ext |
1932 | EXEEXT=$ac_cv_exeext | EXEEXT=$ac_cv_exeext |
1933 | ac_exeext=$EXEEXT | ac_exeext=$EXEEXT |
1934 | echo "$as_me:1524: checking for object suffix" >&5 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1935 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1936 | if test "${ac_cv_objext+set}" = set; then | if test "${ac_cv_objext+set}" = set; then |
1937 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1938 | else | else |
1939 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
1940 | #line 1530 "configure" | #line $LINENO "configure" |
1941 | #include "confdefs.h" | /* confdefs.h. */ |
1942 | _ACEOF | |
1943 | cat confdefs.h >>conftest.$ac_ext | |
1944 | cat >>conftest.$ac_ext <<_ACEOF | |
1945 | /* end confdefs.h. */ | |
1946 | ||
1947 | int | int |
1948 | main () | main () |
# | Line 1538 main () | Line 1953 main () |
1953 | } | } |
1954 | _ACEOF | _ACEOF |
1955 | rm -f conftest.o conftest.obj | rm -f conftest.o conftest.obj |
1956 | if { (eval echo "$as_me:1542: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1957 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
1958 | ac_status=$? | ac_status=$? |
1959 | echo "$as_me:1545: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1960 | (exit $ac_status); }; then | (exit $ac_status); }; then |
1961 | 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 |
1962 | case $ac_file in | case $ac_file in |
1963 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1964 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1965 | break;; | break;; |
1966 | esac | esac |
1967 | done | done |
1968 | else | else |
1969 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
1970 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
1971 | { { echo "$as_me:1557: error: cannot compute OBJEXT: cannot compile" >&5 | |
1972 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1973 | See \`config.log' for more details." >&5 | |
1974 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
1975 | See \`config.log' for more details." >&2;} | |
1976 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
1977 | fi | fi |
1978 | ||
1979 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1980 | fi | fi |
1981 | echo "$as_me:1564: result: $ac_cv_objext" >&5 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1982 | echo "${ECHO_T}$ac_cv_objext" >&6 | echo "${ECHO_T}$ac_cv_objext" >&6 |
1983 | OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
1984 | ac_objext=$OBJEXT | ac_objext=$OBJEXT |
1985 | 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 |
1986 | 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 |
1987 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1988 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1989 | else | else |
1990 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
1991 | #line 1574 "configure" | #line $LINENO "configure" |
1992 | #include "confdefs.h" | /* confdefs.h. */ |
1993 | _ACEOF | |
1994 | cat confdefs.h >>conftest.$ac_ext | |
1995 | cat >>conftest.$ac_ext <<_ACEOF | |
1996 | /* end confdefs.h. */ | |
1997 | ||
1998 | int | int |
1999 | main () | main () |
# | Line 1585 main () | Line 2007 main () |
2007 | } | } |
2008 | _ACEOF | _ACEOF |
2009 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2010 | if { (eval echo "$as_me:1589: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2011 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2012 | ac_status=$? | ac_status=$? |
2013 | echo "$as_me:1592: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2014 | (exit $ac_status); } && | (exit $ac_status); } && |
2015 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2016 | { (eval echo "$as_me:1595: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2017 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2018 | ac_status=$? | ac_status=$? |
2019 | echo "$as_me:1598: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2020 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2021 | ac_compiler_gnu=yes | ac_compiler_gnu=yes |
2022 | else | else |
2023 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2024 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2025 | ||
2026 | ac_compiler_gnu=no | ac_compiler_gnu=no |
2027 | fi | fi |
2028 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2029 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2030 | ||
2031 | fi | fi |
2032 | echo "$as_me:1610: result: $ac_cv_c_compiler_gnu" >&5 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2033 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2034 | GCC=`test $ac_compiler_gnu = yes && echo yes` | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2035 | ac_test_CFLAGS=${CFLAGS+set} | ac_test_CFLAGS=${CFLAGS+set} |
2036 | ac_save_CFLAGS=$CFLAGS | ac_save_CFLAGS=$CFLAGS |
2037 | CFLAGS="-g" | CFLAGS="-g" |
2038 | echo "$as_me:1616: checking whether $CC accepts -g" >&5 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2039 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2040 | if test "${ac_cv_prog_cc_g+set}" = set; then | if test "${ac_cv_prog_cc_g+set}" = set; then |
2041 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2042 | else | else |
2043 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2044 | #line 1622 "configure" | #line $LINENO "configure" |
2045 | #include "confdefs.h" | /* confdefs.h. */ |
2046 | _ACEOF | |
2047 | cat confdefs.h >>conftest.$ac_ext | |
2048 | cat >>conftest.$ac_ext <<_ACEOF | |
2049 | /* end confdefs.h. */ | |
2050 | ||
2051 | int | int |
2052 | main () | main () |
# | Line 1630 main () | Line 2057 main () |
2057 | } | } |
2058 | _ACEOF | _ACEOF |
2059 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2060 | if { (eval echo "$as_me:1634: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2061 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2062 | ac_status=$? | ac_status=$? |
2063 | echo "$as_me:1637: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2064 | (exit $ac_status); } && | (exit $ac_status); } && |
2065 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2066 | { (eval echo "$as_me:1640: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2067 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2068 | ac_status=$? | ac_status=$? |
2069 | echo "$as_me:1643: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2070 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2071 | ac_cv_prog_cc_g=yes | ac_cv_prog_cc_g=yes |
2072 | else | else |
2073 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2074 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2075 | ||
2076 | ac_cv_prog_cc_g=no | ac_cv_prog_cc_g=no |
2077 | fi | fi |
2078 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2079 | fi | fi |
2080 | echo "$as_me:1653: result: $ac_cv_prog_cc_g" >&5 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2081 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2082 | if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
2083 | CFLAGS=$ac_save_CFLAGS | CFLAGS=$ac_save_CFLAGS |
# | Line 1666 else | Line 2094 else |
2094 | CFLAGS= | CFLAGS= |
2095 | fi | fi |
2096 | fi | fi |
2097 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
2098 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | |
2099 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
2100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2101 | else | |
2102 | ac_cv_prog_cc_stdc=no | |
2103 | ac_save_CC=$CC | |
2104 | cat >conftest.$ac_ext <<_ACEOF | |
2105 | #line $LINENO "configure" | |
2106 | /* confdefs.h. */ | |
2107 | _ACEOF | |
2108 | cat confdefs.h >>conftest.$ac_ext | |
2109 | cat >>conftest.$ac_ext <<_ACEOF | |
2110 | /* end confdefs.h. */ | |
2111 | #include <stdarg.h> | |
2112 | #include <stdio.h> | |
2113 | #include <sys/types.h> | |
2114 | #include <sys/stat.h> | |
2115 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
2116 | struct buf { int x; }; | |
2117 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
2118 | static char *e (p, i) | |
2119 | char **p; | |
2120 | int i; | |
2121 | { | |
2122 | return p[i]; | |
2123 | } | |
2124 | static char *f (char * (*g) (char **, int), char **p, ...) | |
2125 | { | |
2126 | char *s; | |
2127 | va_list v; | |
2128 | va_start (v,p); | |
2129 | s = g (p, va_arg (v,int)); | |
2130 | va_end (v); | |
2131 | return s; | |
2132 | } | |
2133 | int test (int i, double x); | |
2134 | struct s1 {int (*f) (int a);}; | |
2135 | struct s2 {int (*f) (double a);}; | |
2136 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2137 | int argc; | |
2138 | char **argv; | |
2139 | int | |
2140 | main () | |
2141 | { | |
2142 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
2143 | ; | |
2144 | return 0; | |
2145 | } | |
2146 | _ACEOF | |
2147 | # Don't try gcc -ansi; that turns off useful extensions and | |
2148 | # breaks some systems' header files. | |
2149 | # AIX -qlanglvl=ansi | |
2150 | # Ultrix and OSF/1 -std1 | |
2151 | # HP-UX 10.20 and later -Ae | |
2152 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
2153 | # SVR4 -Xc -D__EXTENSIONS__ | |
2154 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2155 | do | |
2156 | CC="$ac_save_CC $ac_arg" | |
2157 | rm -f conftest.$ac_objext | |
2158 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2159 | (eval $ac_compile) 2>&5 | |
2160 | ac_status=$? | |
2161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2162 | (exit $ac_status); } && | |
2163 | { ac_try='test -s conftest.$ac_objext' | |
2164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2165 | (eval $ac_try) 2>&5 | |
2166 | ac_status=$? | |
2167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2168 | (exit $ac_status); }; }; then | |
2169 | ac_cv_prog_cc_stdc=$ac_arg | |
2170 | break | |
2171 | else | |
2172 | echo "$as_me: failed program was:" >&5 | |
2173 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2174 | ||
2175 | fi | |
2176 | rm -f conftest.$ac_objext | |
2177 | done | |
2178 | rm -f conftest.$ac_ext conftest.$ac_objext | |
2179 | CC=$ac_save_CC | |
2180 | ||
2181 | fi | |
2182 | ||
2183 | case "x$ac_cv_prog_cc_stdc" in | |
2184 | x|xno) | |
2185 | echo "$as_me:$LINENO: result: none needed" >&5 | |
2186 | echo "${ECHO_T}none needed" >&6 ;; | |
2187 | *) | |
2188 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
2189 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
2190 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
2191 | esac | |
2192 | ||
2193 | # 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', |
2194 | # 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 |
2195 | # 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 1676 cat >conftest.$ac_ext <<_ACEOF | Line 2200 cat >conftest.$ac_ext <<_ACEOF |
2200 | #endif | #endif |
2201 | _ACEOF | _ACEOF |
2202 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2203 | if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2204 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2205 | ac_status=$? | ac_status=$? |
2206 | echo "$as_me:1683: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2207 | (exit $ac_status); } && | (exit $ac_status); } && |
2208 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2209 | { (eval echo "$as_me:1686: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2210 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2211 | ac_status=$? | ac_status=$? |
2212 | echo "$as_me:1689: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2213 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2214 | for ac_declaration in \ | for ac_declaration in \ |
2215 | ''\ | ''\ |
# | Line 1697 if { (eval echo "$as_me:1680: \"$ac_comp | Line 2221 if { (eval echo "$as_me:1680: \"$ac_comp |
2221 | 'void exit (int);' | 'void exit (int);' |
2222 | do | do |
2223 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2224 | #line 1701 "configure" | #line $LINENO "configure" |
2225 | #include "confdefs.h" | /* confdefs.h. */ |
2226 | _ACEOF | |
2227 | cat confdefs.h >>conftest.$ac_ext | |
2228 | cat >>conftest.$ac_ext <<_ACEOF | |
2229 | /* end confdefs.h. */ | |
2230 | #include <stdlib.h> | #include <stdlib.h> |
2231 | $ac_declaration | $ac_declaration |
2232 | int | int |
# | Line 1710 exit (42); | Line 2238 exit (42); |
2238 | } | } |
2239 | _ACEOF | _ACEOF |
2240 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2241 | if { (eval echo "$as_me:1714: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2242 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2243 | ac_status=$? | ac_status=$? |
2244 | echo "$as_me:1717: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2245 | (exit $ac_status); } && | (exit $ac_status); } && |
2246 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2247 | { (eval echo "$as_me:1720: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2248 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2249 | ac_status=$? | ac_status=$? |
2250 | echo "$as_me:1723: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2251 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2252 | : | : |
2253 | else | else |
2254 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2255 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2256 | ||
2257 | continue | continue |
2258 | fi | fi |
2259 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2260 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
2261 | #line 1733 "configure" | #line $LINENO "configure" |
2262 | #include "confdefs.h" | /* confdefs.h. */ |
2263 | _ACEOF | |
2264 | cat confdefs.h >>conftest.$ac_ext | |
2265 | cat >>conftest.$ac_ext <<_ACEOF | |
2266 | /* end confdefs.h. */ | |
2267 | $ac_declaration | $ac_declaration |
2268 | int | int |
2269 | main () | main () |
# | Line 1741 exit (42); | Line 2274 exit (42); |
2274 | } | } |
2275 | _ACEOF | _ACEOF |
2276 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
2277 | if { (eval echo "$as_me:1745: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2278 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2279 | ac_status=$? | ac_status=$? |
2280 | echo "$as_me:1748: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2281 | (exit $ac_status); } && | (exit $ac_status); } && |
2282 | { ac_try='test -s conftest.$ac_objext' | { ac_try='test -s conftest.$ac_objext' |
2283 | { (eval echo "$as_me:1751: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2284 | (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
2285 | ac_status=$? | ac_status=$? |
2286 | echo "$as_me:1754: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2287 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
2288 | break | break |
2289 | else | else |
2290 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2291 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2292 | ||
2293 | fi | fi |
2294 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2295 | done | done |
2296 | echo '#ifdef __cplusplus' >>confdefs.h | rm -f conftest* |
2297 | echo $ac_declaration >>confdefs.h | if test -n "$ac_declaration"; then |
2298 | echo '#endif' >>confdefs.h | echo '#ifdef __cplusplus' >>confdefs.h |
2299 | echo $ac_declaration >>confdefs.h | |
2300 | echo '#endif' >>confdefs.h | |
2301 | fi | |
2302 | ||
2303 | else | else |
2304 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
2305 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
2306 | ||
2307 | fi | fi |
2308 | rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
2309 | ac_ext=c | ac_ext=c |
# | Line 1791 for ac_dir in $srcdir $srcdir/.. $srcdir | Line 2329 for ac_dir in $srcdir $srcdir/.. $srcdir |
2329 | fi | fi |
2330 | done | done |
2331 | if test -z "$ac_aux_dir"; then | if test -z "$ac_aux_dir"; then |
2332 | { { 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 |
2333 | 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;} |
2334 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
2335 | fi | fi |
# | Line 1811 ac_configure="$SHELL $ac_aux_dir/configu | Line 2349 ac_configure="$SHELL $ac_aux_dir/configu |
2349 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2350 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2351 | # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
2352 | echo "$as_me:1815: checking for a BSD compatible install" >&5 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2353 | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2354 | if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
2355 | if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
2356 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2357 | else | else |
2358 | ac_save_IFS=$IFS; IFS=$ac_path_separator | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2359 | for ac_dir in $PATH; do | for as_dir in $PATH |
2360 | IFS=$ac_save_IFS | do |
2361 | # Account for people who put trailing slashes in PATH elements. | IFS=$as_save_IFS |
2362 | case $ac_dir/ in | test -z "$as_dir" && as_dir=. |
2363 | / | ./ | .// | /cC/* \ | # Account for people who put trailing slashes in PATH elements. |
2364 | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | case $as_dir/ in |
2365 | | /usr/ucb/* ) ;; | ./ | .// | /cC/* | \ |
2366 | *) | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2367 | # OSF1 and SCO ODT 3.0 have their own names for install. | /usr/ucb/* ) ;; |
2368 | # Don't use installbsd from OSF since it installs stuff as root | *) |
2369 | # by default. | # OSF1 and SCO ODT 3.0 have their own names for install. |
2370 | for ac_prog in ginstall scoinst install; do | # Don't use installbsd from OSF since it installs stuff as root |
2371 | if $as_executable_p "$ac_dir/$ac_prog"; then | # by default. |
2372 | if test $ac_prog = install && | for ac_prog in ginstall scoinst install; do |
2373 | grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then | for ac_exec_ext in '' $ac_executable_extensions; do |
2374 | # AIX install. It has an incompatible calling convention. | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2375 | : | if test $ac_prog = install && |
2376 | elif test $ac_prog = install && | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2377 | grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then | # AIX install. It has an incompatible calling convention. |
2378 | # program-specific install script used by HP pwplus--don't use. | : |
2379 | : | elif test $ac_prog = install && |
2380 | else | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2381 | ac_cv_path_install="$ac_dir/$ac_prog -c" | # program-specific install script used by HP pwplus--don't use. |
2382 | break 2 | : |
2383 | fi | else |
2384 | fi | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2385 | break 3 | |
2386 | fi | |
2387 | fi | |
2388 | done | done |
2389 | ;; | done |
2390 | esac | ;; |
2391 | done | esac |
2392 | done | |
2393 | ||
2394 | ||
2395 | fi | fi |
2396 | if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
# | Line 1860 fi | Line 2403 fi |
2403 | INSTALL=$ac_install_sh | INSTALL=$ac_install_sh |
2404 | fi | fi |
2405 | fi | fi |
2406 | echo "$as_me:1864: result: $INSTALL" >&5 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2407 | echo "${ECHO_T}$INSTALL" >&6 | echo "${ECHO_T}$INSTALL" >&6 |
2408 | ||
2409 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# | Line 1871 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 2414 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
2414 | ||
2415 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2416 | ||
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 | ||
2417 | ||
2418 | fi | # Check whether --enable-shared or --disable-shared was given. |
2419 | if test -z "$ac_cv_prog_RANLIB"; then | if test "${enable_shared+set}" = set; then |
2420 | ac_ct_RANLIB=$RANLIB | enableval="$enable_shared" |
2421 | # Extract the first word of "ranlib", so it can be a program name with args. | p=${PACKAGE-default} |
2422 | set dummy ranlib; ac_word=$2 | case $enableval in |
2423 | echo "$as_me:1913: checking for $ac_word" >&5 | yes) enable_shared=yes ;; |
2424 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | no) enable_shared=no ;; |
2425 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | *) |
2426 | echo $ECHO_N "(cached) $ECHO_C" >&6 | enable_shared=no |
2427 | # Look at the argument we got. We use all the common list separators. | |
2428 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
2429 | for pkg in $enableval; do | |
2430 | if test "X$pkg" = "X$p"; then | |
2431 | enable_shared=yes | |
2432 | fi | |
2433 | done | |
2434 | IFS="$ac_save_ifs" | |
2435 | ;; | |
2436 | esac | |
2437 | else | else |
2438 | if test -n "$ac_ct_RANLIB"; then | enable_shared=yes |
2439 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | fi; |
2440 | # Check whether --enable-static or --disable-static was given. | |
2441 | if test "${enable_static+set}" = set; then | |
2442 | enableval="$enable_static" | |
2443 | p=${PACKAGE-default} | |
2444 | case $enableval in | |
2445 | yes) enable_static=yes ;; | |
2446 | no) enable_static=no ;; | |
2447 | *) | |
2448 | enable_static=no | |
2449 | # Look at the argument we got. We use all the common list separators. | |
2450 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
2451 | for pkg in $enableval; do | |
2452 | if test "X$pkg" = "X$p"; then | |
2453 | enable_static=yes | |
2454 | fi | |
2455 | done | |
2456 | IFS="$ac_save_ifs" | |
2457 | ;; | |
2458 | esac | |
2459 | else | else |
2460 | ac_save_IFS=$IFS; IFS=$ac_path_separator | enable_static=yes |
2461 | ac_dummy="$PATH" | fi; |
2462 | for ac_dir in $ac_dummy; do | # Check whether --enable-fast-install or --disable-fast-install was given. |
2463 | IFS=$ac_save_IFS | if test "${enable_fast_install+set}" = set; then |
2464 | test -z "$ac_dir" && ac_dir=. | enableval="$enable_fast_install" |
2465 | $as_executable_p "$ac_dir/$ac_word" || continue | p=${PACKAGE-default} |
2466 | ac_cv_prog_ac_ct_RANLIB="ranlib" | case $enableval in |
2467 | echo "$as_me:1928: found $ac_dir/$ac_word" >&5 | yes) enable_fast_install=yes ;; |
2468 | break | no) enable_fast_install=no ;; |
2469 | done | *) |
2470 | enable_fast_install=no | |
2471 | # Look at the argument we got. We use all the common list separators. | |
2472 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
2473 | for pkg in $enableval; do | |
2474 | if test "X$pkg" = "X$p"; then | |
2475 | enable_fast_install=yes | |
2476 | fi | |
2477 | done | |
2478 | IFS="$ac_save_ifs" | |
2479 | ;; | |
2480 | esac | |
2481 | else | |
2482 | enable_fast_install=yes | |
2483 | fi; | |
2484 | # Make sure we can run config.sub. | |
2485 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
2486 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
2487 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
2488 | { (exit 1); exit 1; }; } | |
2489 | ||
2490 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | echo "$as_me:$LINENO: checking build system type" >&5 |
2491 | fi | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2492 | fi | if test "${ac_cv_build+set}" = set; then |
2493 | 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 | ||
2494 | else | else |
2495 | echo "$as_me:1940: result: no" >&5 | ac_cv_build_alias=$build_alias |
2496 | echo "${ECHO_T}no" >&6 | test -z "$ac_cv_build_alias" && |
2497 | ac_cv_build_alias=`$ac_config_guess` | |
2498 | test -z "$ac_cv_build_alias" && | |
2499 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
2500 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2501 | { (exit 1); exit 1; }; } | |
2502 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
2503 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
2504 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
2505 | { (exit 1); exit 1; }; } | |
2506 | ||
2507 | fi | fi |
2508 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
2509 | echo "${ECHO_T}$ac_cv_build" >&6 | |
2510 | build=$ac_cv_build | |
2511 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2512 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2513 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2514 | ||
2515 | RANLIB=$ac_ct_RANLIB | |
2516 | echo "$as_me:$LINENO: checking host system type" >&5 | |
2517 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
2518 | if test "${ac_cv_host+set}" = set; then | |
2519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2520 | else | else |
2521 | RANLIB="$ac_cv_prog_RANLIB" | ac_cv_host_alias=$host_alias |
2522 | test -z "$ac_cv_host_alias" && | |
2523 | ac_cv_host_alias=$ac_cv_build_alias | |
2524 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
2525 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
2526 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
2527 | { (exit 1); exit 1; }; } | |
2528 | ||
2529 | fi | fi |
2530 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
2531 | echo "${ECHO_T}$ac_cv_host" >&6 | |
2532 | host=$ac_cv_host | |
2533 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
2534 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
2535 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
2536 | ||
2537 | ac_ext=c | |
2538 | ac_cpp='$CPP $CPPFLAGS' | |
2539 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
2540 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | if test "${with_gnu_ld+set}" = set; then |
2541 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | withval="$with_gnu_ld" |
2542 | echo "$as_me:1954: checking how to run the C preprocessor" >&5 | test "$withval" = no || with_gnu_ld=yes |
2543 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | else |
2544 | # On Suns, sometimes $CPP names a directory. | with_gnu_ld=no |
2545 | if test -n "$CPP" && test -d "$CPP"; then | fi; |
2546 | CPP= | ac_prog=ld |
2547 | if test "$GCC" = yes; then | |
2548 | # Check if gcc -print-prog-name=ld gives a path. | |
2549 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5 | |
2550 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | |
2551 | case $host in | |
2552 | *-*-mingw*) | |
2553 | # gcc leaves a trailing carriage return which upsets mingw | |
2554 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
2555 | *) | |
2556 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
2557 | esac | |
2558 | case $ac_prog in | |
2559 | # Accept absolute paths. | |
2560 | [\\/]* | [A-Za-z]:[\\/]*) | |
2561 | re_direlt='/[^/][^/]*/\.\./' | |
2562 | # Canonicalize the path of ld | |
2563 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | |
2564 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |
2565 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |
2566 | done | |
2567 | test -z "$LD" && LD="$ac_prog" | |
2568 | ;; | |
2569 | "") | |
2570 | # If it fails, then pretend we aren't using GCC. | |
2571 | ac_prog=ld | |
2572 | ;; | |
2573 | *) | |
2574 | # If it is relative, then search for the first ld in PATH. | |
2575 | with_gnu_ld=unknown | |
2576 | ;; | |
2577 | esac | |
2578 | elif test "$with_gnu_ld" = yes; then | |
2579 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | |
2580 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | |
2581 | else | |
2582 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | |
2583 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | |
2584 | fi | fi |
2585 | if test -z "$CPP"; then | if test "${lt_cv_path_LD+set}" = set; then |
if test "${ac_cv_prog_CPP+set}" = set; then | ||
2586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2587 | else | else |
2588 | # Double quotes because CPP needs to be expanded | if test -z "$LD"; then |
2589 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
2590 | do | for ac_dir in $PATH; do |
2591 | # break 2 since there is a loop in there. | test -z "$ac_dir" && ac_dir=. |
2592 | ac_preproc_ok=false | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
2593 | for ac_c_preproc_warn_flag in '' yes | lt_cv_path_LD="$ac_dir/$ac_prog" |
2594 | do | # Check to see if the program is GNU ld. I'd rather use --version, |
2595 | # Use a header file that comes with gcc, so configuring glibc | # but apparently some GNU ld's only accept -v. |
2596 | # with a fresh cross-compiler works. | # Break only if it was the GNU/non-GNU ld that we prefer. |
2597 | # 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 |
2598 | # not just through cpp. "Syntax error" is here to catch this case. | test "$with_gnu_ld" != no && break |
2599 | cat >conftest.$ac_ext <<_ACEOF | else |
2600 | #line 1976 "configure" | test "$with_gnu_ld" != yes && break |
2601 | #include "confdefs.h" | fi |
2602 | #include <assert.h> | fi |
2603 | Syntax error | done |
2604 | _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 | ||
2605 | else | else |
2606 | ac_cpp_err=yes | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
2607 | 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 | ||
2608 | fi | fi |
rm -f conftest.err conftest.$ac_ext | ||
2609 | ||
2610 | # OK, works on sane cases. Now check whether non-existent headers | LD="$lt_cv_path_LD" |
2611 | # can be detected and how. | if test -n "$LD"; then |
2612 | cat >conftest.$ac_ext <<_ACEOF | echo "$as_me:$LINENO: result: $LD" >&5 |
2613 | #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 | ||
2614 | else | else |
2615 | ac_cpp_err=yes | echo "$as_me:$LINENO: result: no" >&5 |
2616 | echo "${ECHO_T}no" >&6 | |
2617 | fi | fi |
2618 | if test -z "$ac_cpp_err"; then | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
2619 | # Broken: success on invalid input. | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
2620 | continue | { (exit 1); exit 1; }; } |
2621 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | |
2622 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | |
2623 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | |
2624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2625 | else | else |
2626 | echo "$as_me: failed program was:" >&5 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
2627 | cat conftest.$ac_ext >&5 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
2628 | # Passes both tests. | lt_cv_prog_gnu_ld=yes |
2629 | ac_preproc_ok=: | else |
2630 | break | lt_cv_prog_gnu_ld=no |
2631 | 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 | ||
2632 | fi | fi |
2633 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | |
2634 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | |
2635 | with_gnu_ld=$lt_cv_prog_gnu_ld | |
2636 | ||
done | ||
ac_cv_prog_CPP=$CPP | ||
2637 | ||
2638 | fi | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
2639 | CPP=$ac_cv_prog_CPP | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
2640 | else | if test "${lt_cv_ld_reload_flag+set}" = set; then |
2641 | 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 | ||
: | ||
2642 | else | else |
2643 | echo "$as_me: failed program was:" >&5 | lt_cv_ld_reload_flag='-r' |
cat conftest.$ac_ext >&5 | ||
# Broken: fails on valid input. | ||
continue | ||
2644 | fi | fi |
2645 | rm -f conftest.err conftest.$ac_ext | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
2646 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | |
2647 | reload_flag=$lt_cv_ld_reload_flag | |
2648 | test -n "$reload_flag" && reload_flag=" $reload_flag" | |
2649 | ||
2650 | # OK, works on sane cases. Now check whether non-existent headers | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
2651 | # can be detected and how. | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
2652 | cat >conftest.$ac_ext <<_ACEOF | if test "${lt_cv_path_NM+set}" = set; then |
2653 | #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 | ||
2654 | else | else |
2655 | ac_cpp_err=yes | if test -n "$NM"; then |
2656 | fi | # Let the user override the test. |
2657 | if test -z "$ac_cpp_err"; then | lt_cv_path_NM="$NM" |
# Broken: success on invalid input. | ||
continue | ||
2658 | else | else |
2659 | echo "$as_me: failed program was:" >&5 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
2660 | cat conftest.$ac_ext >&5 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
2661 | # Passes both tests. | test -z "$ac_dir" && ac_dir=. |
2662 | ac_preproc_ok=: | tmp_nm=$ac_dir/${ac_tool_prefix}nm |
2663 | break | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then |
2664 | # Check to see if the nm accepts a BSD-compat flag. | |
2665 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
2666 | # nm: unknown option "B" ignored | |
2667 | # Tru64's nm complains that /dev/null is an invalid object file | |
2668 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | |
2669 | lt_cv_path_NM="$tmp_nm -B" | |
2670 | break | |
2671 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | |
2672 | lt_cv_path_NM="$tmp_nm -p" | |
2673 | break | |
2674 | else | |
2675 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
2676 | continue # so that we can try to find one that supports BSD flags | |
2677 | fi | |
2678 | fi | |
2679 | done | |
2680 | IFS="$ac_save_ifs" | |
2681 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | |
2682 | fi | |
2683 | fi | fi |
rm -f conftest.err conftest.$ac_ext | ||
2684 | ||
2685 | done | NM="$lt_cv_path_NM" |
2686 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | echo "$as_me:$LINENO: result: $NM" >&5 |
2687 | rm -f conftest.err conftest.$ac_ext | echo "${ECHO_T}$NM" >&6 |
2688 | if $ac_preproc_ok; then | |
2689 | : | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2690 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
2691 | LN_S=$as_ln_s | |
2692 | if test "$LN_S" = "ln -s"; then | |
2693 | echo "$as_me:$LINENO: result: yes" >&5 | |
2694 | echo "${ECHO_T}yes" >&6 | |
2695 | else | else |
2696 | { { echo "$as_me:2139: error: C preprocessor \"$CPP\" fails sanity check" >&5 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2697 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | echo "${ECHO_T}no, using $LN_S" >&6 |
{ (exit 1); exit 1; }; } | ||
2698 | fi | fi |
2699 | ||
2700 | ac_ext=c | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
2701 | ac_cpp='$CPP $CPPFLAGS' | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
2702 | 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 | ||
2703 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2704 | else | else |
2705 | cat >conftest.$ac_ext <<_ACEOF | lt_cv_file_magic_cmd='$MAGIC_CMD' |
2706 | #line 2156 "configure" | lt_cv_file_magic_test_file= |
2707 | #include "confdefs.h" | lt_cv_deplibs_check_method='unknown' |
2708 | #include <stdlib.h> | # Need to set the preceding variable on all platforms that support |
2709 | #include <stdarg.h> | # interlibrary dependencies. |
2710 | #include <string.h> | # 'none' -- dependencies not supported. |
2711 | #include <float.h> | # `unknown' -- same as none, but documents that we really don't know. |
2712 | # 'pass_all' -- all dependencies passed with no checks. | |
2713 | # 'test_compile' -- check by making test program. | |
2714 | # ['file_magic [regex]'] -- check by looking for files in library path | |
2715 | # which responds to the $file_magic_cmd with a given egrep regex. | |
2716 | # If you have `file' or equivalent on your system and you're not sure | |
2717 | # whether `pass_all' will *always* work, you probably want this one. | |
2718 | ||
2719 | _ACEOF | case $host_os in |
2720 | if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5 | aix4* | aix5*) |
2721 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | lt_cv_deplibs_check_method=pass_all |
2722 | 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 | ||
2723 | ||
2724 | if test $ac_cv_header_stdc = yes; then | beos*) |
2725 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | lt_cv_deplibs_check_method=pass_all |
2726 | cat >conftest.$ac_ext <<_ACEOF | ;; |
#line 2192 "configure" | ||
#include "confdefs.h" | ||
#include <string.h> | ||
2727 | ||
2728 | _ACEOF | bsdi4*) |
2729 | 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)' |
2730 | egrep "memchr" >/dev/null 2>&1; then | lt_cv_file_magic_cmd='/usr/bin/file -L' |
2731 | : | lt_cv_file_magic_test_file=/shlib/libc.so |
2732 | else | ;; |
ac_cv_header_stdc=no | ||
fi | ||
rm -f conftest* | ||
2733 | ||
2734 | fi | cygwin* | mingw* | pw32*) |
2735 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | |
2736 | lt_cv_file_magic_cmd='$OBJDUMP -f' | |
2737 | ;; | |
2738 | ||
2739 | if test $ac_cv_header_stdc = yes; then | darwin* | rhapsody*) |
2740 | # 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' |
2741 | cat >conftest.$ac_ext <<_ACEOF | lt_cv_file_magic_cmd='/usr/bin/file -L' |
2742 | #line 2210 "configure" | case "$host_os" in |
2743 | #include "confdefs.h" | rhapsody* | darwin1.012) |
2744 | #include <stdlib.h> | lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` |
2745 | ;; | |
2746 | *) # Darwin 1.3 on | |
2747 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | |
2748 | ;; | |
2749 | esac | |
2750 | ;; | |
2751 | ||
2752 | _ACEOF | freebsd*) |
2753 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
2754 | egrep "free" >/dev/null 2>&1; then | case $host_cpu in |
2755 | : | i*86 ) |
2756 | else | # Not sure whether the presence of OpenBSD here was a mistake. |
2757 | ac_cv_header_stdc=no | # Let's accept both of them until this is cleared up. |
2758 | fi | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
2759 | rm -f conftest* | lt_cv_file_magic_cmd=/usr/bin/file |
2760 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
2761 | ;; | |
2762 | esac | |
2763 | else | |
2764 | lt_cv_deplibs_check_method=pass_all | |
2765 | fi | |
2766 | ;; | |
2767 | ||
2768 | fi | gnu*) |
2769 | lt_cv_deplibs_check_method=pass_all | |
2770 | ;; | |
2771 | ||
2772 | if test $ac_cv_header_stdc = yes; then | hpux10.20*|hpux11*) |
2773 | # /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' |
2774 | if test "$cross_compiling" = yes; then | lt_cv_file_magic_cmd=/usr/bin/file |
2775 | : | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
2776 | 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 | ||
2777 | ||
2778 | cat >>confdefs.h <<\EOF | irix5* | irix6*) |
2779 | #define STDC_HEADERS 1 | case $host_os in |
2780 | EOF | irix5*) |
2781 | # this will be overridden with pass_all, but let us keep it just in case | |
2782 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | |
2783 | ;; | |
2784 | *) | |
2785 | case $LD in | |
2786 | *-32|*"-32 ") libmagic=32-bit;; | |
2787 | *-n32|*"-n32 ") libmagic=N32;; | |
2788 | *-64|*"-64 ") libmagic=64-bit;; | |
2789 | *) libmagic=never-match;; | |
2790 | esac | |
2791 | # this will be overridden with pass_all, but let us keep it just in case | |
2792 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | |
2793 | ;; | |
2794 | esac | |
2795 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | |
2796 | lt_cv_deplibs_check_method=pass_all | |
2797 | ;; | |
2798 | ||
2799 | fi | # This must be Linux ELF. |
2800 | linux-gnu*) | |
2801 | case $host_cpu in | |
2802 | alpha* | i*86 | powerpc* | sparc* | ia64* ) | |
2803 | lt_cv_deplibs_check_method=pass_all ;; | |
2804 | *) | |
2805 | # glibc up to 2.1.1 does not perform some relocations on ARM | |
2806 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | |
2807 | esac | |
2808 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
2809 | ;; | |
2810 | ||
2811 | for ac_header in limits.h | netbsd*) |
2812 | do | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
2813 | 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 | ||
2814 | else | else |
2815 | ac_cpp_err= | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' |
2816 | fi | fi |
2817 | 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 | ||
2818 | ||
2819 | fi | newos6*) |
2820 | done | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
2821 | lt_cv_file_magic_cmd=/usr/bin/file | |
2822 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
2823 | ;; | |
2824 | ||
2825 | echo "$as_me:2336: checking for $CC option to accept ANSI C" >&5 | osf3* | osf4* | osf5*) |
2826 | 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 |
2827 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
2828 | echo $ECHO_N "(cached) $ECHO_C" >&6 | lt_cv_file_magic_test_file=/shlib/libc.so |
2829 | else | lt_cv_deplibs_check_method=pass_all |
2830 | 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 | ||
2831 | ||
2832 | fi | sco3.2v5*) |
2833 | lt_cv_deplibs_check_method=pass_all | |
2834 | ;; | |
2835 | ||
2836 | case "x$ac_cv_prog_cc_stdc" in | solaris*) |
2837 | x|xno) | lt_cv_deplibs_check_method=pass_all |
2838 | echo "$as_me:2419: result: none needed" >&5 | lt_cv_file_magic_test_file=/lib/libc.so |
2839 | echo "${ECHO_T}none needed" >&6 ;; | ;; |
2840 | *) | |
2841 | echo "$as_me:2422: result: $ac_cv_prog_cc_stdc" >&5 | sysv5uw[78]* | sysv4*uw2*) |
2842 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | lt_cv_deplibs_check_method=pass_all |
2843 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ;; |
2844 | ||
2845 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
2846 | case $host_vendor in | |
2847 | motorola) | |
2848 | 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]' | |
2849 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
2850 | ;; | |
2851 | ncr) | |
2852 | lt_cv_deplibs_check_method=pass_all | |
2853 | ;; | |
2854 | sequent) | |
2855 | lt_cv_file_magic_cmd='/bin/file' | |
2856 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | |
2857 | ;; | |
2858 | sni) | |
2859 | lt_cv_file_magic_cmd='/bin/file' | |
2860 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | |
2861 | lt_cv_file_magic_test_file=/lib/libc.so | |
2862 | ;; | |
2863 | esac | |
2864 | ;; | |
2865 | esac | esac |
2866 | ||
2867 | echo "$as_me:2427: checking for an ANSI C-conforming const" >&5 | fi |
2868 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
2869 | if test "${ac_cv_c_const+set}" = set; then | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
2870 | file_magic_cmd=$lt_cv_file_magic_cmd | |
2871 | deplibs_check_method=$lt_cv_deplibs_check_method | |
2872 | ||
2873 | ||
2874 | ||
2875 | ||
2876 | ||
2877 | ||
2878 | ||
2879 | ||
2880 | # Check for command to grab the raw symbol name followed by C symbol from nm. | |
2881 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 | |
2882 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | |
2883 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | |
2884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2885 | else | else |
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2433 "configure" | ||
#include "confdefs.h" | ||
2886 | ||
2887 | int | # These are sane defaults that work on at least a few old systems. |
2888 | 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; | ||
2889 | ||
2890 | *t++ = 0; | # Character class describing NM global symbol codes. |
2891 | } | 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 | ||
2892 | ||
2893 | ; | # Regexp to match symbols that can be accessed directly from C. |
2894 | return 0; | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
} | ||
_ACEOF | ||
rm -f conftest.$ac_objext | ||
if { (eval echo "$as_me:2491: \"$ac_compile\"") >&5 | ||
(eval $ac_compile) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2494: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && | ||
{ ac_try='test -s conftest.$ac_objext' | ||
{ (eval echo "$as_me:2497: \"$ac_try\"") >&5 | ||
(eval $ac_try) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:2500: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
ac_cv_c_const=yes | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
cat conftest.$ac_ext >&5 | ||
ac_cv_c_const=no | ||
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 | ||
2895 | ||
2896 | cat >>confdefs.h <<\EOF | # Transform the above into a raw symbol and a C symbol. |
2897 | #define const | symxfrm='\1 \2\3 \3' |
EOF | ||
2898 | ||
2899 | fi | # Transform an extracted symbol line into a proper C declaration |
2900 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | |
2901 | ||
2902 | for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h | # Define system-specific variables. |
2903 | do | case $host_os in |
2904 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | aix*) |
2905 | echo "$as_me:2523: checking for $ac_header" >&5 | symcode='[BCDT]' |
2906 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ;; |
2907 | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | cygwin* | mingw* | pw32*) |
2908 | echo $ECHO_N "(cached) $ECHO_C" >&6 | symcode='[ABCDGISTW]' |
2909 | else | ;; |
2910 | cat >conftest.$ac_ext <<_ACEOF | hpux*) # Its linker distinguishes data from code symbols |
2911 | #line 2529 "configure" | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
2912 | #include "confdefs.h" | ;; |
2913 | #include <$ac_header> | irix*) |
2914 | _ACEOF | symcode='[BCDEGRST]' |
2915 | if { (eval echo "$as_me:2533: \"$ac_cpp conftest.$ac_ext\"") >&5 | ;; |
2916 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | solaris* | sysv5*) |
2917 | ac_status=$? | symcode='[BDT]' |
2918 | egrep -v '^ *\+' conftest.er1 >conftest.err | ;; |
2919 | rm -f conftest.er1 | sysv4) |
2920 | cat conftest.err >&5 | symcode='[DFNSTU]' |
2921 | echo "$as_me:2539: \$? = $ac_status" >&5 | ;; |
2922 | (exit $ac_status); } >/dev/null; then | esac |
2923 | if test -s conftest.err; then | |
2924 | ac_cpp_err=$ac_c_preproc_warn_flag | # Handle CRLF in mingw tool chain |
2925 | else | opt_cr= |
2926 | ac_cpp_err= | case $host_os in |
2927 | fi | mingw*) |
2928 | else | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
2929 | ac_cpp_err=yes | ;; |
2930 | fi | esac |
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: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 | ||
2931 | ||
2932 | # If we're using GNU nm, then use its standard symbol codes. | |
2933 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | |
2934 | symcode='[ABCDGISTW]' | |
2935 | fi | fi |
done | ||
2936 | ||
2937 | echo "$as_me:2568: checking for size_t" >&5 | # Try without a prefix undercore, then with it. |
2938 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | for ac_symprfx in "" "_"; do |
2939 | if test "${ac_cv_type_size_t+set}" = set; then | |
2940 | echo $ECHO_N "(cached) $ECHO_C" >&6 | # Write the raw and C identifiers. |
2941 | else | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
2942 | cat >conftest.$ac_ext <<_ACEOF | |
2943 | #line 2574 "configure" | # Check to see that the pipe works correctly. |
2944 | #include "confdefs.h" | pipe_works=no |
2945 | $ac_includes_default | rm -f conftest* |
2946 | int | cat > conftest.$ac_ext <<EOF |
2947 | main () | #ifdef __cplusplus |
2948 | { | extern "C" { |
2949 | if ((size_t *) 0) | #endif |
2950 | return 0; | char nm_test_var; |
2951 | if (sizeof (size_t)) | void nm_test_func(){} |
2952 | return 0; | #ifdef __cplusplus |
; | ||
return 0; | ||
2953 | } | } |
2954 | _ACEOF | #endif |
2955 | rm -f conftest.$ac_objext | int main(){nm_test_var='a';nm_test_func();return(0);} |
2956 | if { (eval echo "$as_me:2589: \"$ac_compile\"") >&5 | EOF |
2957 | ||
2958 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2959 | (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>&5 |
2960 | ac_status=$? | ac_status=$? |
2961 | echo "$as_me:2592: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2962 | (exit $ac_status); } && | (exit $ac_status); }; then |
2963 | { ac_try='test -s conftest.$ac_objext' | # Now try to grab the symbols. |
2964 | { (eval echo "$as_me:2595: \"$ac_try\"") >&5 | nlist=conftest.nm |
2965 | (eval $ac_try) 2>&5 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
2966 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | |
2967 | ac_status=$? | ac_status=$? |
2968 | echo "$as_me:2598: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2969 | (exit $ac_status); }; }; then | (exit $ac_status); } && test -s "$nlist"; then |
2970 | ac_cv_type_size_t=yes | # Try sorting and uniquifying the output. |
2971 | else | if sort "$nlist" | uniq > "$nlist"T; then |
2972 | echo "$as_me: failed program was:" >&5 | mv -f "$nlist"T "$nlist" |
2973 | cat conftest.$ac_ext >&5 | else |
2974 | ac_cv_type_size_t=no | rm -f "$nlist"T |
2975 | fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | ||
fi | ||
echo "$as_me:2608: result: $ac_cv_type_size_t" >&5 | ||
echo "${ECHO_T}$ac_cv_type_size_t" >&6 | ||
if test $ac_cv_type_size_t = yes; then | ||
: | ||
else | ||
cat >>confdefs.h <<EOF | ||
#define size_t unsigned | ||
EOF | ||
fi | ||
2976 | ||
2977 | for ac_func in bcopy memmove strerror | # Make sure that we snagged all the symbols we need. |
2978 | do | if egrep ' nm_test_var$' "$nlist" >/dev/null; then |
2979 | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | if egrep ' nm_test_func$' "$nlist" >/dev/null; then |
2980 | echo "$as_me:2623: checking for $ac_func" >&5 | cat <<EOF > conftest.$ac_ext |
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 | ||
else | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line 2629 "configure" | ||
#include "confdefs.h" | ||
/* System header to define __stub macros and hopefully few prototypes, | ||
which can conflict with char $ac_func (); below. */ | ||
#include <assert.h> | ||
/* Override any gcc2 internal prototype to avoid an error. */ | ||
2981 | #ifdef __cplusplus | #ifdef __cplusplus |
2982 | extern "C" | extern "C" { |
2983 | #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) (); | ||
2984 | ||
2985 | int | EOF |
2986 | main () | # Now generate the symbol file. |
2987 | { | eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' |
2988 | /* The GNU C library defines this for functions which it implements | |
2989 | to always fail with ENOSYS. Some functions are actually named | cat <<EOF >> conftest.$ac_ext |
2990 | something starting with __ and the normal name is an alias. */ | #if defined (__STDC__) && __STDC__ |
2991 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | # define lt_ptr_t void * |
choke me | ||
2992 | #else | #else |
2993 | f = $ac_func; | # define lt_ptr_t char * |
2994 | # define const | |
2995 | #endif | #endif |
2996 | ||
2997 | ; | /* The mapping between symbol names and symbols. */ |
2998 | return 0; | const struct { |
2999 | const char *name; | |
3000 | lt_ptr_t address; | |
3001 | } | } |
3002 | _ACEOF | lt_preloaded_symbols[] = |
3003 | rm -f conftest.$ac_objext conftest$ac_exeext | { |
3004 | if { (eval echo "$as_me:2660: \"$ac_link\"") >&5 | EOF |
3005 | sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext | |
3006 | cat <<\EOF >> conftest.$ac_ext | |
3007 | {0, (lt_ptr_t) 0} | |
3008 | }; | |
3009 | ||
3010 | #ifdef __cplusplus | |
3011 | } | |
3012 | #endif | |
3013 | EOF | |
3014 | # Now try linking the two files. | |
3015 | mv conftest.$ac_objext conftstm.$ac_objext | |
3016 | save_LIBS="$LIBS" | |
3017 | save_CFLAGS="$CFLAGS" | |
3018 | LIBS="conftstm.$ac_objext" | |
3019 | CFLAGS="$CFLAGS$no_builtin_flag" | |
3020 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3021 | (eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
3022 | ac_status=$? | ac_status=$? |
3023 | echo "$as_me:2663: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3024 | (exit $ac_status); } && | (exit $ac_status); } && test -s conftest; then |
3025 | { ac_try='test -s conftest$ac_exeext' | pipe_works=yes |
3026 | { (eval echo "$as_me:2666: \"$ac_try\"") >&5 | fi |
3027 | (eval $ac_try) 2>&5 | LIBS="$save_LIBS" |
3028 | CFLAGS="$save_CFLAGS" | |
3029 | else | |
3030 | echo "cannot find nm_test_func in $nlist" >&5 | |
3031 | fi | |
3032 | else | |
3033 | echo "cannot find nm_test_var in $nlist" >&5 | |
3034 | fi | |
3035 | else | |
3036 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
3037 | fi | |
3038 | else | |
3039 | echo "$progname: failed program was:" >&5 | |
3040 | cat conftest.$ac_ext >&5 | |
3041 | fi | |
3042 | rm -f conftest* conftst* | |
3043 | ||
3044 | # Do not use the global_symbol_pipe unless it works. | |
3045 | if test "$pipe_works" = yes; then | |
3046 | break | |
3047 | else | |
3048 | lt_cv_sys_global_symbol_pipe= | |
3049 | fi | |
3050 | done | |
3051 | ||
3052 | fi | |
3053 | ||
3054 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" | |
3055 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | |
3056 | global_symbol_to_cdecl= | |
3057 | else | |
3058 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" | |
3059 | fi | |
3060 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then | |
3061 | echo "$as_me:$LINENO: result: failed" >&5 | |
3062 | echo "${ECHO_T}failed" >&6 | |
3063 | else | |
3064 | echo "$as_me:$LINENO: result: ok" >&5 | |
3065 | echo "${ECHO_T}ok" >&6 | |
3066 | fi | |
3067 | ||
3068 | ac_ext=c | |
3069 | ac_cpp='$CPP $CPPFLAGS' | |
3070 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3071 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3072 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3073 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
3074 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | |
3075 | # On Suns, sometimes $CPP names a directory. | |
3076 | if test -n "$CPP" && test -d "$CPP"; then | |
3077 | CPP= | |
3078 | fi | |
3079 | if test -z "$CPP"; then | |
3080 | if test "${ac_cv_prog_CPP+set}" = set; then | |
3081 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3082 | else | |
3083 | # Double quotes because CPP needs to be expanded | |
3084 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3085 | do | |
3086 | ac_preproc_ok=false | |
3087 | for ac_c_preproc_warn_flag in '' yes | |
3088 | do | |
3089 | # Use a header file that comes with gcc, so configuring glibc | |
3090 | # with a fresh cross-compiler works. | |
3091 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3092 | # <limits.h> exists even on freestanding compilers. | |
3093 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3094 | # not just through cpp. "Syntax error" is here to catch this case. | |
3095 | cat >conftest.$ac_ext <<_ACEOF | |
3096 | #line $LINENO "configure" | |
3097 | /* confdefs.h. */ | |
3098 | _ACEOF | |
3099 | cat confdefs.h >>conftest.$ac_ext | |
3100 | cat >>conftest.$ac_ext <<_ACEOF | |
3101 | /* end confdefs.h. */ | |
3102 | #ifdef __STDC__ | |
3103 | # include <limits.h> | |
3104 | #else | |
3105 | # include <assert.h> | |
3106 | #endif | |
3107 | Syntax error | |
3108 | _ACEOF | |
3109 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3110 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3111 | ac_status=$? | ac_status=$? |
3112 | echo "$as_me:2669: \$? = $ac_status" >&5 | grep -v '^ *+' conftest.er1 >conftest.err |
3113 | (exit $ac_status); }; }; then | rm -f conftest.er1 |
3114 | eval "$ac_ac_var=yes" | cat conftest.err >&5 |
3115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3116 | (exit $ac_status); } >/dev/null; then | |
3117 | if test -s conftest.err; then | |
3118 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3119 | else | |
3120 | ac_cpp_err= | |
3121 | fi | |
3122 | else | |
3123 | ac_cpp_err=yes | |
3124 | fi | |
3125 | if test -z "$ac_cpp_err"; then | |
3126 | : | |
3127 | else | else |
3128 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
3129 | cat conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
3130 | eval "$ac_ac_var=no" | |
3131 | # Broken: fails on valid input. | |
3132 | continue | |
3133 | fi | fi |
3134 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_ext |
3135 | ||
3136 | # OK, works on sane cases. Now check whether non-existent headers | |
3137 | # can be detected and how. | |
3138 | cat >conftest.$ac_ext <<_ACEOF | |
3139 | #line $LINENO "configure" | |
3140 | /* confdefs.h. */ | |
3141 | _ACEOF | |
3142 | cat confdefs.h >>conftest.$ac_ext | |
3143 | cat >>conftest.$ac_ext <<_ACEOF | |
3144 | /* end confdefs.h. */ | |
3145 | #include <ac_nonexistent.h> | |
3146 | _ACEOF | |
3147 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3148 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3149 | ac_status=$? | |
3150 | grep -v '^ *+' conftest.er1 >conftest.err | |
3151 | rm -f conftest.er1 | |
3152 | cat conftest.err >&5 | |
3153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3154 | (exit $ac_status); } >/dev/null; then | |
3155 | if test -s conftest.err; then | |
3156 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3157 | else | |
3158 | ac_cpp_err= | |
3159 | fi | |
3160 | else | |
3161 | ac_cpp_err=yes | |
3162 | fi | fi |
3163 | echo "$as_me:2679: result: `eval echo '${'$ac_ac_var'}'`" >&5 | if test -z "$ac_cpp_err"; then |
3164 | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | # Broken: success on invalid input. |
3165 | if test `eval echo '${'$ac_ac_var'}'` = yes; then | continue |
3166 | cat >>confdefs.h <<EOF | else |
3167 | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | echo "$as_me: failed program was:" >&5 |
3168 | EOF | sed 's/^/| /' conftest.$ac_ext >&5 |
3169 | ||
3170 | # Passes both tests. | |
3171 | ac_preproc_ok=: | |
3172 | break | |
3173 | fi | fi |
3174 | rm -f conftest.err conftest.$ac_ext | |
3175 | ||
3176 | done | done |
3177 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3178 | rm -f conftest.err conftest.$ac_ext | |
3179 | if $ac_preproc_ok; then | |
3180 | break | |
3181 | fi | |
3182 | ||
3183 | # Check whether --enable-utf8 or --disable-utf8 was given. | done |
3184 | if test "${enable_utf8+set}" = set; then | ac_cv_prog_CPP=$CPP |
3185 | enableval="$enable_utf8" | |
3186 | if test "$enableval" = "yes"; then | fi |
3187 | UTF8=-DSUPPORT_UTF8 | CPP=$ac_cv_prog_CPP |
3188 | else | |
3189 | ac_cv_prog_CPP=$CPP | |
3190 | fi | fi |
3191 | echo "$as_me:$LINENO: result: $CPP" >&5 | |
3192 | echo "${ECHO_T}$CPP" >&6 | |
3193 | ac_preproc_ok=false | |
3194 | for ac_c_preproc_warn_flag in '' yes | |
3195 | do | |
3196 | # Use a header file that comes with gcc, so configuring glibc | |
3197 | # with a fresh cross-compiler works. | |
3198 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3199 | # <limits.h> exists even on freestanding compilers. | |
3200 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
3201 | # not just through cpp. "Syntax error" is here to catch this case. | |
3202 | cat >conftest.$ac_ext <<_ACEOF | |
3203 | #line $LINENO "configure" | |
3204 | /* confdefs.h. */ | |
3205 | _ACEOF | |
3206 | cat confdefs.h >>conftest.$ac_ext | |
3207 | cat >>conftest.$ac_ext <<_ACEOF | |
3208 | /* end confdefs.h. */ | |
3209 | #ifdef __STDC__ | |
3210 | # include <limits.h> | |
3211 | #else | |
3212 | # include <assert.h> | |
3213 | #endif | |
3214 | Syntax error | |
3215 | _ACEOF | |
3216 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3217 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3218 | ac_status=$? | |
3219 | grep -v '^ *+' conftest.er1 >conftest.err | |
3220 | rm -f conftest.er1 | |
3221 | cat conftest.err >&5 | |
3222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3223 | (exit $ac_status); } >/dev/null; then | |
3224 | if test -s conftest.err; then | |
3225 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3226 | else | |
3227 | ac_cpp_err= | |
3228 | fi | |
3229 | else | |
3230 | ac_cpp_err=yes | |
3231 | fi | |
3232 | if test -z "$ac_cpp_err"; then | |
3233 | : | |
3234 | else | |
3235 | echo "$as_me: failed program was:" >&5 | |
3236 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3237 | ||
3238 | fi; | # Broken: fails on valid input. |
3239 | continue | |
3240 | fi | |
3241 | rm -f conftest.err conftest.$ac_ext | |
3242 | ||
3243 | # Check whether --enable-newline-is-cr or --disable-newline-is-cr was given. | # OK, works on sane cases. Now check whether non-existent headers |
3244 | if test "${enable_newline_is_cr+set}" = set; then | # can be detected and how. |
3245 | enableval="$enable_newline_is_cr" | cat >conftest.$ac_ext <<_ACEOF |
3246 | if test "$enableval" = "yes"; then | #line $LINENO "configure" |
3247 | NEWLINE=-DNEWLINE=13 | /* confdefs.h. */ |
3248 | _ACEOF | |
3249 | cat confdefs.h >>conftest.$ac_ext | |
3250 | cat >>conftest.$ac_ext <<_ACEOF | |
3251 | /* end confdefs.h. */ | |
3252 | #include <ac_nonexistent.h> | |
3253 | _ACEOF | |
3254 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3255 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3256 | ac_status=$? | |
3257 | grep -v '^ *+' conftest.er1 >conftest.err | |
3258 | rm -f conftest.er1 | |
3259 | cat conftest.err >&5 | |
3260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3261 | (exit $ac_status); } >/dev/null; then | |
3262 | if test -s conftest.err; then | |
3263 | ac_cpp_err=$ac_c_preproc_warn_flag | |
3264 | else | |
3265 | ac_cpp_err= | |
3266 | fi | |
3267 | else | |
3268 | ac_cpp_err=yes | |
3269 | fi | fi |
3270 | if test -z "$ac_cpp_err"; then | |
3271 | # Broken: success on invalid input. | |
3272 | continue | |
3273 | else | |
3274 | echo "$as_me: failed program was:" >&5 | |
3275 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3276 | ||
3277 | fi; | # Passes both tests. |
3278 | ac_preproc_ok=: | |
3279 | break | |
3280 | fi | |
3281 | rm -f conftest.err conftest.$ac_ext | |
3282 | ||
3283 | # Check whether --enable-newline-is-lf or --disable-newline-is-lf was given. | done |
3284 | if test "${enable_newline_is_lf+set}" = set; then | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3285 | enableval="$enable_newline_is_lf" | rm -f conftest.err conftest.$ac_ext |
3286 | if test "$enableval" = "yes"; then | if $ac_preproc_ok; then |
3287 | NEWLINE=-DNEWLINE=10 | : |
3288 | else | |
3289 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
3290 | See \`config.log' for more details." >&5 | |
3291 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3292 | See \`config.log' for more details." >&2;} | |
3293 | { (exit 1); exit 1; }; } | |
3294 | fi | fi |
3295 | ||
3296 | fi; | ac_ext=c |
3297 | ac_cpp='$CPP $CPPFLAGS' | |
3298 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3299 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3300 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3301 | ||
# 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; }; } | ||
3302 | ||
3303 | echo "$as_me:2788: checking build system type" >&5 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3304 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3305 | if test "${ac_cv_build+set}" = set; then | if test "${ac_cv_prog_egrep+set}" = set; then |
3306 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3307 | else | else |
3308 | ac_cv_build_alias=$build_alias | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3309 | test -z "$ac_cv_build_alias" && | then ac_cv_prog_egrep='grep -E' |
3310 | ac_cv_build_alias=`$ac_config_guess` | else ac_cv_prog_egrep='egrep' |
3311 | test -z "$ac_cv_build_alias" && | fi |
{ { echo "$as_me:2797: error: cannot guess build type; you must specify one" >&5 | ||
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
{ { echo "$as_me:2801: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | ||
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3312 | fi | fi |
3313 | echo "$as_me:2806: result: $ac_cv_build" >&5 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3314 | echo "${ECHO_T}$ac_cv_build" >&6 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3315 | build=$ac_cv_build | EGREP=$ac_cv_prog_egrep |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
3316 | ||
3317 | echo "$as_me:2813: checking host system type" >&5 | |
3318 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3319 | if test "${ac_cv_host+set}" = set; then | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3320 | if test "${ac_cv_header_stdc+set}" = set; then | |
3321 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3322 | else | else |
3323 | ac_cv_host_alias=$host_alias | cat >conftest.$ac_ext <<_ACEOF |
3324 | test -z "$ac_cv_host_alias" && | #line $LINENO "configure" |
3325 | ac_cv_host_alias=$ac_cv_build_alias | /* confdefs.h. */ |
3326 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | _ACEOF |
3327 | { { echo "$as_me:2822: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | cat confdefs.h >>conftest.$ac_ext |
3328 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | cat >>conftest.$ac_ext <<_ACEOF |
3329 | { (exit 1); exit 1; }; } | /* end confdefs.h. */ |
3330 | #include <stdlib.h> | |
3331 | #include <stdarg.h> | |
3332 | #include <string.h> | |
3333 | #include <float.h> | |
3334 | ||
3335 | fi | int |
3336 | echo "$as_me:2827: result: $ac_cv_host" >&5 | main () |
3337 | echo "${ECHO_T}$ac_cv_host" >&6 | { |
host=$ac_cv_host | ||
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/'` | ||
3338 | ||
3339 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | ; |
3340 | if test "${with_gnu_ld+set}" = set; then | return 0; |
3341 | withval="$with_gnu_ld" | } |
3342 | test "$withval" = no || with_gnu_ld=yes | _ACEOF |
3343 | else | rm -f conftest.$ac_objext |
3344 | with_gnu_ld=no | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3345 | fi; | (eval $ac_compile) 2>&5 |
3346 | ac_prog=ld | ac_status=$? |
3347 | if test "$GCC" = yes; then | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3348 | # Check if gcc -print-prog-name=ld gives a path. | (exit $ac_status); } && |
3349 | echo "$as_me:2844: checking for ld used by GCC" >&5 | { ac_try='test -s conftest.$ac_objext' |
3350 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3351 | case $host in | (eval $ac_try) 2>&5 |
3352 | *-*-mingw*) | ac_status=$? |
3353 | # gcc leaves a trailing carriage return which upsets mingw | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3354 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | (exit $ac_status); }; }; then |
3355 | *) | ac_cv_header_stdc=yes |
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 | ||
3356 | else | else |
3357 | echo "$as_me:2877: checking for non-GNU ld" >&5 | echo "$as_me: failed program was:" >&5 |
3358 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | sed 's/^/| /' conftest.$ac_ext >&5 |
3359 | ||
3360 | ac_cv_header_stdc=no | |
3361 | fi | fi |
3362 | if test "${lt_cv_path_LD+set}" = set; then | rm -f conftest.$ac_objext conftest.$ac_ext |
3363 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3364 | else | if test $ac_cv_header_stdc = yes; then |
3365 | if test -z "$LD"; then | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3366 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | cat >conftest.$ac_ext <<_ACEOF |
3367 | for ac_dir in $PATH; do | #line $LINENO "configure" |
3368 | test -z "$ac_dir" && ac_dir=. | /* confdefs.h. */ |
3369 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | _ACEOF |
3370 | lt_cv_path_LD="$ac_dir/$ac_prog" | cat confdefs.h >>conftest.$ac_ext |
3371 | # Check to see if the program is GNU ld. I'd rather use --version, | cat >>conftest.$ac_ext <<_ACEOF |
3372 | # but apparently some GNU ld's only accept -v. | /* end confdefs.h. */ |
3373 | # Break only if it was the GNU/non-GNU ld that we prefer. | #include <string.h> |
3374 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
3375 | test "$with_gnu_ld" != no && break | _ACEOF |
3376 | else | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3377 | test "$with_gnu_ld" != yes && break | $EGREP "memchr" >/dev/null 2>&1; then |
3378 | fi | : |
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
3379 | else | else |
3380 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | ac_cv_header_stdc=no |
fi | ||
3381 | fi | fi |
3382 | rm -f conftest* | |
3383 | ||
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 | ||
3384 | fi | fi |
3385 | test -z "$LD" && { { echo "$as_me:2913: error: no acceptable ld found in \$PATH" >&5 | |
3386 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | if test $ac_cv_header_stdc = yes; then |
3387 | { (exit 1); exit 1; }; } | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3388 | echo "$as_me:2916: checking if the linker ($LD) is GNU ld" >&5 | cat >conftest.$ac_ext <<_ACEOF |
3389 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | #line $LINENO "configure" |
3390 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | /* confdefs.h. */ |
3391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | _ACEOF |
3392 | else | cat confdefs.h >>conftest.$ac_ext |
3393 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | cat >>conftest.$ac_ext <<_ACEOF |
3394 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | /* end confdefs.h. */ |
3395 | lt_cv_prog_gnu_ld=yes | #include <stdlib.h> |
3396 | ||
3397 | _ACEOF | |
3398 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
3399 | $EGREP "free" >/dev/null 2>&1; then | |
3400 | : | |
3401 | else | else |
3402 | lt_cv_prog_gnu_ld=no | ac_cv_header_stdc=no |
fi | ||
3403 | fi | fi |
3404 | echo "$as_me:2928: result: $lt_cv_prog_gnu_ld" >&5 | rm -f conftest* |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | ||
with_gnu_ld=$lt_cv_prog_gnu_ld | ||
3405 | ||
echo "$as_me:2932: checking for $LD option to reload object files" >&5 | ||
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' | ||
3406 | fi | 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" | ||
3407 | ||
3408 | echo "$as_me:2944: checking for BSD-compatible nm" >&5 | if test $ac_cv_header_stdc = yes; then |
3409 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3410 | if test "${lt_cv_path_NM+set}" = set; then | if test "$cross_compiling" = yes; then |
3411 | echo $ECHO_N "(cached) $ECHO_C" >&6 | : |
else | ||
if test -n "$NM"; then | ||
# Let the user override the test. | ||
lt_cv_path_NM="$NM" | ||
3412 | else | else |
3413 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | cat >conftest.$ac_ext <<_ACEOF |
3414 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | #line $LINENO "configure" |
3415 | test -z "$ac_dir" && ac_dir=. | /* confdefs.h. */ |
3416 | tmp_nm=$ac_dir/${ac_tool_prefix}nm | _ACEOF |
3417 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | cat confdefs.h >>conftest.$ac_ext |
3418 | # Check to see if the nm accepts a BSD-compat flag. | cat >>conftest.$ac_ext <<_ACEOF |
3419 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | /* end confdefs.h. */ |
3420 | # nm: unknown option "B" ignored | #include <ctype.h> |
3421 | # Tru64's nm complains that /dev/null is an invalid object file | #if ((' ' & 0x0FF) == 0x020) |
3422 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3423 | lt_cv_path_NM="$tmp_nm -B" | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3424 | break | #else |
3425 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | # define ISLOWER(c) \ |
3426 | lt_cv_path_NM="$tmp_nm -p" | (('a' <= (c) && (c) <= 'i') \ |
3427 | break | || ('j' <= (c) && (c) <= 'r') \ |
3428 | else | || ('s' <= (c) && (c) <= 'z')) |
3429 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3430 | continue # so that we can try to find one that supports BSD flags | #endif |
fi | ||
fi | ||
done | ||
IFS="$ac_save_ifs" | ||
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | ||
fi | ||
fi | ||
NM="$lt_cv_path_NM" | ||
echo "$as_me:2980: result: $NM" >&5 | ||
echo "${ECHO_T}$NM" >&6 | ||
3431 | ||
3432 | echo "$as_me:2983: checking whether ln -s works" >&5 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3433 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | int |
3434 | LN_S=$as_ln_s | main () |
3435 | if test "$LN_S" = "ln -s"; then | { |
3436 | echo "$as_me:2987: result: yes" >&5 | int i; |
3437 | echo "${ECHO_T}yes" >&6 | for (i = 0; i < 256; i++) |
3438 | if (XOR (islower (i), ISLOWER (i)) | |
3439 | || toupper (i) != TOUPPER (i)) | |
3440 | exit(2); | |
3441 | exit (0); | |
3442 | } | |
3443 | _ACEOF | |
3444 | rm -f conftest$ac_exeext | |
3445 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3446 | (eval $ac_link) 2>&5 | |
3447 | ac_status=$? | |
3448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3449 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
3450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3451 | (eval $ac_try) 2>&5 | |
3452 | ac_status=$? | |
3453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3454 | (exit $ac_status); }; }; then | |
3455 | : | |
3456 | else | else |
3457 | echo "$as_me:2990: result: no, using $LN_S" >&5 | echo "$as_me: program exited with status $ac_status" >&5 |
3458 | echo "${ECHO_T}no, using $LN_S" >&6 | echo "$as_me: failed program was:" >&5 |
3459 | fi | sed 's/^/| /' conftest.$ac_ext >&5 |
3460 | ||
3461 | echo "$as_me:2994: checking how to recognise dependant libraries" >&5 | ( exit $ac_status ) |
3462 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | ac_cv_header_stdc=no |
3463 | if test "${lt_cv_deplibs_check_method+set}" = set; then | fi |
3464 | echo $ECHO_N "(cached) $ECHO_C" >&6 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3465 | else | fi |
3466 | lt_cv_file_magic_cmd='$MAGIC_CMD' | fi |
3467 | lt_cv_file_magic_test_file= | fi |
3468 | lt_cv_deplibs_check_method='unknown' | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3469 | # Need to set the preceding variable on all platforms that support | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3470 | # interlibrary dependencies. | if test $ac_cv_header_stdc = yes; then |
# 'none' -- dependencies not supported. | ||
# `unknown' -- same as none, but documents that we really don't know. | ||
# 'pass_all' -- all dependencies passed with no checks. | ||
# 'test_compile' -- check by making test program. | ||
# ['file_magic [regex]'] -- check by looking for files in library path | ||
# which responds to the $file_magic_cmd with a given egrep regex. | ||
# If you have `file' or equivalent on your system and you're not sure | ||
# whether `pass_all' will *always* work, you probably want this one. | ||
3471 | ||
3472 | case $host_os in | cat >>confdefs.h <<\_ACEOF |
3473 | aix4* | aix5*) | #define STDC_HEADERS 1 |
3474 | lt_cv_deplibs_check_method=pass_all | _ACEOF |
;; | ||
3475 | ||
3476 | beos*) | fi |
lt_cv_deplibs_check_method=pass_all | ||
;; | ||
3477 | ||
3478 | bsdi4*) | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | ||
lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
lt_cv_file_magic_test_file=/shlib/libc.so | ||
;; | ||
3479 | ||
cygwin* | mingw* | pw32*) | ||
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | ||
lt_cv_file_magic_cmd='$OBJDUMP -f' | ||
;; | ||
3480 | ||
darwin* | rhapsody*) | ||
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | ||
lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
case "$host_os" in | ||
rhapsody* | darwin1.012) | ||
lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` | ||
;; | ||
*) # Darwin 1.3 on | ||
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | ||
;; | ||
esac | ||
;; | ||
3481 | ||
freebsd*) | ||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
case $host_cpu in | ||
i*86 ) | ||
# Not sure whether the presence of OpenBSD here was a mistake. | ||
# Let's accept both of them until this is cleared up. | ||
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | ||
lt_cv_file_magic_cmd=/usr/bin/file | ||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | ||
;; | ||
esac | ||
else | ||
lt_cv_deplibs_check_method=pass_all | ||
fi | ||
;; | ||
3482 | ||
gnu*) | ||
lt_cv_deplibs_check_method=pass_all | ||
;; | ||
3483 | ||
hpux10.20*|hpux11*) | ||
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | ||
lt_cv_file_magic_cmd=/usr/bin/file | ||
lt_cv_file_magic_test_file=/usr/lib/libc.sl | ||
;; | ||
3484 | ||
irix5* | irix6*) | ||
case $host_os in | ||
irix5*) | ||
# this will be overridden with pass_all, but let us keep it just in case | ||
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | ||
;; | ||
*) | ||
case $LD in | ||
*-32|*"-32 ") libmagic=32-bit;; | ||
*-n32|*"-n32 ") libmagic=N32;; | ||
*-64|*"-64 ") libmagic=64-bit;; | ||
*) libmagic=never-match;; | ||
esac | ||
# this will be overridden with pass_all, but let us keep it just in case | ||
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | ||
;; | ||
esac | ||
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | ||
lt_cv_deplibs_check_method=pass_all | ||
;; | ||
3485 | ||
# This must be Linux ELF. | ||
linux-gnu*) | ||
case $host_cpu in | ||
alpha* | i*86 | powerpc* | sparc* | ia64* ) | ||
lt_cv_deplibs_check_method=pass_all ;; | ||
*) | ||
# glibc up to 2.1.1 does not perform some relocations on ARM | ||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | ||
esac | ||
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
;; | ||
3486 | ||
netbsd*) | ||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
else | ||
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | ||
fi | ||
;; | ||
3487 | ||
3488 | newos6*) | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3489 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | inttypes.h stdint.h unistd.h |
3490 | lt_cv_file_magic_cmd=/usr/bin/file | do |
3491 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3492 | ;; | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3493 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3494 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3496 | else | |
3497 | cat >conftest.$ac_ext <<_ACEOF | |
3498 | #line $LINENO "configure" | |
3499 | /* confdefs.h. */ | |
3500 | _ACEOF | |
3501 | cat confdefs.h >>conftest.$ac_ext | |
3502 | cat >>conftest.$ac_ext <<_ACEOF | |
3503 | /* end confdefs.h. */ | |
3504 | $ac_includes_default | |
3505 | ||
3506 | osf3* | osf4* | osf5*) | #include <$ac_header> |
3507 | # this will be overridden with pass_all, but let us keep it just in case | _ACEOF |
3508 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | rm -f conftest.$ac_objext |
3509 | lt_cv_file_magic_test_file=/shlib/libc.so | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3510 | lt_cv_deplibs_check_method=pass_all | (eval $ac_compile) 2>&5 |
3511 | ;; | ac_status=$? |
3512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3513 | (exit $ac_status); } && | |
3514 | { ac_try='test -s conftest.$ac_objext' | |
3515 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3516 | (eval $ac_try) 2>&5 | |
3517 | ac_status=$? | |
3518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3519 | (exit $ac_status); }; }; then | |
3520 | eval "$as_ac_Header=yes" | |
3521 | else | |
3522 | echo "$as_me: failed program was:" >&5 | |
3523 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3524 | ||
3525 | sco3.2v5*) | eval "$as_ac_Header=no" |
3526 | lt_cv_deplibs_check_method=pass_all | fi |
3527 | ;; | rm -f conftest.$ac_objext conftest.$ac_ext |
3528 | fi | |
3529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3530 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3531 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
3532 | cat >>confdefs.h <<_ACEOF | |
3533 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
3534 | _ACEOF | |
3535 | ||
3536 | solaris*) | fi |
lt_cv_deplibs_check_method=pass_all | ||
lt_cv_file_magic_test_file=/lib/libc.so | ||
;; | ||
3537 | ||
3538 | sysv5uw[78]* | sysv4*uw2*) | done |
lt_cv_deplibs_check_method=pass_all | ||
;; | ||
3539 | ||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
case $host_vendor in | ||
motorola) | ||
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]' | ||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | ||
;; | ||
ncr) | ||
lt_cv_deplibs_check_method=pass_all | ||
;; | ||
sequent) | ||
lt_cv_file_magic_cmd='/bin/file' | ||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | ||
;; | ||
sni) | ||
lt_cv_file_magic_cmd='/bin/file' | ||
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |