1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.59. |
4 |
# |
5 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
6 |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
8 |
## --------------------- ## |
9 |
## M4sh Initialization. ## |
10 |
## --------------------- ## |
11 |
|
12 |
# Be Bourne compatible |
13 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14 |
emulate sh |
15 |
NULLCMD=: |
16 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
17 |
# is contrary to our usage. Disable this feature. |
18 |
alias -g '${1+"$@"}'='"$@"' |
19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
set -o posix |
21 |
fi |
22 |
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
24 |
# Support unset when possible. |
25 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
as_unset=unset |
27 |
else |
28 |
as_unset=false |
29 |
fi |
30 |
|
31 |
|
32 |
# Work around bugs in pre-3.0 UWIN ksh. |
33 |
$as_unset ENV MAIL MAILPATH |
34 |
PS1='$ ' |
35 |
PS2='> ' |
36 |
PS4='+ ' |
37 |
|
38 |
# NLS nuisances. |
39 |
for as_var in \ |
40 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
43 |
do |
44 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
46 |
else |
47 |
$as_unset $as_var |
48 |
fi |
49 |
done |
50 |
|
51 |
# Required to use basename. |
52 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
53 |
as_expr=expr |
54 |
else |
55 |
as_expr=false |
56 |
fi |
57 |
|
58 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
59 |
as_basename=basename |
60 |
else |
61 |
as_basename=false |
62 |
fi |
63 |
|
64 |
|
65 |
# Name of the executable. |
66 |
as_me=`$as_basename "$0" || |
67 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
68 |
X"$0" : 'X\(//\)$' \| \ |
69 |
X"$0" : 'X\(/\)$' \| \ |
70 |
. : '\(.\)' 2>/dev/null || |
71 |
echo X/"$0" | |
72 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
73 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
74 |
/^X\/\(\/\).*/{ s//\1/; q; } |
75 |
s/.*/./; q'` |
76 |
|
77 |
|
78 |
# PATH needs CR, and LINENO needs CR and PATH. |
79 |
# Avoid depending upon Character Ranges. |
80 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
82 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
83 |
as_cr_digits='0123456789' |
84 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
85 |
|
86 |
# The user is always right. |
87 |
if test "${PATH_SEPARATOR+set}" != set; then |
88 |
echo "#! /bin/sh" >conf$$.sh |
89 |
echo "exit 0" >>conf$$.sh |
90 |
chmod +x conf$$.sh |
91 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
92 |
PATH_SEPARATOR=';' |
93 |
else |
94 |
PATH_SEPARATOR=: |
95 |
fi |
96 |
rm -f conf$$.sh |
97 |
fi |
98 |
|
99 |
|
100 |
as_lineno_1=$LINENO |
101 |
as_lineno_2=$LINENO |
102 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
103 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
104 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
105 |
# Find who we are. Look in the path if we contain no path at all |
106 |
# relative or not. |
107 |
case $0 in |
108 |
*[\\/]* ) as_myself=$0 ;; |
109 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
110 |
for as_dir in $PATH |
111 |
do |
112 |
IFS=$as_save_IFS |
113 |
test -z "$as_dir" && as_dir=. |
114 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
115 |
done |
116 |
|
117 |
;; |
118 |
esac |
119 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
120 |
# in which case we are not to be found in the path. |
121 |
if test "x$as_myself" = x; then |
122 |
as_myself=$0 |
123 |
fi |
124 |
if test ! -f "$as_myself"; then |
125 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
126 |
{ (exit 1); exit 1; }; } |
127 |
fi |
128 |
case $CONFIG_SHELL in |
129 |
'') |
130 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
131 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
132 |
do |
133 |
IFS=$as_save_IFS |
134 |
test -z "$as_dir" && as_dir=. |
135 |
for as_base in sh bash ksh sh5; do |
136 |
case $as_dir in |
137 |
/*) |
138 |
if ("$as_dir/$as_base" -c ' |
139 |
as_lineno_1=$LINENO |
140 |
as_lineno_2=$LINENO |
141 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
142 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
143 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
144 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
145 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
146 |
CONFIG_SHELL=$as_dir/$as_base |
147 |
export CONFIG_SHELL |
148 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
149 |
fi;; |
150 |
esac |
151 |
done |
152 |
done |
153 |
;; |
154 |
esac |
155 |
|
156 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
157 |
# uniformly replaced by the line number. The first 'sed' inserts a |
158 |
# line-number line before each line; the second 'sed' does the real |
159 |
# work. The second script uses 'N' to pair each line-number line |
160 |
# with the numbered line, and appends trailing '-' during |
161 |
# substitution so that $LINENO is not a special case at line end. |
162 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
163 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
164 |
sed '=' <$as_myself | |
165 |
sed ' |
166 |
N |
167 |
s,$,-, |
168 |
: loop |
169 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
170 |
t loop |
171 |
s,-$,, |
172 |
s,^['$as_cr_digits']*\n,, |
173 |
' >$as_me.lineno && |
174 |
chmod +x $as_me.lineno || |
175 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
176 |
{ (exit 1); exit 1; }; } |
177 |
|
178 |
# Don't try to exec as it changes $[0], causing all sort of problems |
179 |
# (the dirname of $[0] is not the place where we might find the |
180 |
# original and so on. Autoconf is especially sensible to this). |
181 |
. ./$as_me.lineno |
182 |
# Exit status is that of the last command. |
183 |
exit |
184 |
} |
185 |
|
186 |
|
187 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
188 |
*c*,-n*) ECHO_N= ECHO_C=' |
189 |
' ECHO_T=' ' ;; |
190 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
191 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
192 |
esac |
193 |
|
194 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
195 |
as_expr=expr |
196 |
else |
197 |
as_expr=false |
198 |
fi |
199 |
|
200 |
rm -f conf$$ conf$$.exe conf$$.file |
201 |
echo >conf$$.file |
202 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
203 |
# We could just check for DJGPP; but this test a) works b) is more generic |
204 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
205 |
if test -f conf$$.exe; then |
206 |
# Don't use ln at all; we don't have any links |
207 |
as_ln_s='cp -p' |
208 |
else |
209 |
as_ln_s='ln -s' |
210 |
fi |
211 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
212 |
as_ln_s=ln |
213 |
else |
214 |
as_ln_s='cp -p' |
215 |
fi |
216 |
rm -f conf$$ conf$$.exe conf$$.file |
217 |
|
218 |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
220 |
else |
221 |
test -d ./-p && rmdir ./-p |
222 |
as_mkdir_p=false |
223 |
fi |
224 |
|
225 |
as_executable_p="test -f" |
226 |
|
227 |
# Sed expression to map a string onto a valid CPP name. |
228 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
|
230 |
# Sed expression to map a string onto a valid variable name. |
231 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
|
233 |
|
234 |
# IFS |
235 |
# We need space, tab and new line, in precisely that order. |
236 |
as_nl=' |
237 |
' |
238 |
IFS=" $as_nl" |
239 |
|
240 |
# CDPATH. |
241 |
$as_unset CDPATH |
242 |
|
243 |
|
244 |
# Name of the host. |
245 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
246 |
# so uname gets run too. |
247 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
248 |
|
249 |
exec 6>&1 |
250 |
|
251 |
# |
252 |
# Initializations. |
253 |
# |
254 |
ac_default_prefix=/usr/local |
255 |
ac_config_libobj_dir=. |
256 |
cross_compiling=no |
257 |
subdirs= |
258 |
MFLAGS= |
259 |
MAKEFLAGS= |
260 |
SHELL=${CONFIG_SHELL-/bin/sh} |
261 |
|
262 |
# Maximum number of lines to put in a shell here document. |
263 |
# This variable seems obsolete. It should probably be removed, and |
264 |
# only ac_max_sed_lines should be used. |
265 |
: ${ac_max_here_lines=38} |
266 |
|
267 |
# Identity of this package. |
268 |
PACKAGE_NAME= |
269 |
PACKAGE_TARNAME= |
270 |
PACKAGE_VERSION= |
271 |
PACKAGE_STRING= |
272 |
PACKAGE_BUGREPORT= |
273 |
|
274 |
ac_unique_file="src/vped.C" |
275 |
# Factoring default headers for most tests. |
276 |
ac_includes_default="\ |
277 |
#include <stdio.h> |
278 |
#if HAVE_SYS_TYPES_H |
279 |
# include <sys/types.h> |
280 |
#endif |
281 |
#if HAVE_SYS_STAT_H |
282 |
# include <sys/stat.h> |
283 |
#endif |
284 |
#if STDC_HEADERS |
285 |
# include <stdlib.h> |
286 |
# include <stddef.h> |
287 |
#else |
288 |
# if HAVE_STDLIB_H |
289 |
# include <stdlib.h> |
290 |
# endif |
291 |
#endif |
292 |
#if HAVE_STRING_H |
293 |
# if !STDC_HEADERS && HAVE_MEMORY_H |
294 |
# include <memory.h> |
295 |
# endif |
296 |
# include <string.h> |
297 |
#endif |
298 |
#if HAVE_STRINGS_H |
299 |
# include <strings.h> |
300 |
#endif |
301 |
#if HAVE_INTTYPES_H |
302 |
# include <inttypes.h> |
303 |
#else |
304 |
# if HAVE_STDINT_H |
305 |
# include <stdint.h> |
306 |
# endif |
307 |
#endif |
308 |
#if HAVE_UNISTD_H |
309 |
# include <unistd.h> |
310 |
#endif" |
311 |
|
312 |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP ROHC_TRUE ROHC_FALSE INCLUDES LIBOBJS LTLIBOBJS' |
313 |
ac_subst_files='' |
314 |
|
315 |
# Initialize some variables set by options. |
316 |
ac_init_help= |
317 |
ac_init_version=false |
318 |
# The variables have the same names as the options, with |
319 |
# dashes changed to underlines. |
320 |
cache_file=/dev/null |
321 |
exec_prefix=NONE |
322 |
no_create= |
323 |
no_recursion= |
324 |
prefix=NONE |
325 |
program_prefix=NONE |
326 |
program_suffix=NONE |
327 |
program_transform_name=s,x,x, |
328 |
silent= |
329 |
site= |
330 |
srcdir= |
331 |
verbose= |
332 |
x_includes=NONE |
333 |
x_libraries=NONE |
334 |
|
335 |
# Installation directory options. |
336 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
337 |
# and all the variables that are supposed to be based on exec_prefix |
338 |
# by default will actually change. |
339 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
340 |
bindir='${exec_prefix}/bin' |
341 |
sbindir='${exec_prefix}/sbin' |
342 |
libexecdir='${exec_prefix}/libexec' |
343 |
datadir='${prefix}/share' |
344 |
sysconfdir='${prefix}/etc' |
345 |
sharedstatedir='${prefix}/com' |
346 |
localstatedir='${prefix}/var' |
347 |
libdir='${exec_prefix}/lib' |
348 |
includedir='${prefix}/include' |
349 |
oldincludedir='/usr/include' |
350 |
infodir='${prefix}/info' |
351 |
mandir='${prefix}/man' |
352 |
|
353 |
ac_prev= |
354 |
for ac_option |
355 |
do |
356 |
# If the previous option needs an argument, assign it. |
357 |
if test -n "$ac_prev"; then |
358 |
eval "$ac_prev=\$ac_option" |
359 |
ac_prev= |
360 |
continue |
361 |
fi |
362 |
|
363 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
364 |
|
365 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
366 |
|
367 |
case $ac_option in |
368 |
|
369 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
370 |
ac_prev=bindir ;; |
371 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
372 |
bindir=$ac_optarg ;; |
373 |
|
374 |
-build | --build | --buil | --bui | --bu) |
375 |
ac_prev=build_alias ;; |
376 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
377 |
build_alias=$ac_optarg ;; |
378 |
|
379 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
380 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
381 |
ac_prev=cache_file ;; |
382 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
383 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
384 |
cache_file=$ac_optarg ;; |
385 |
|
386 |
--config-cache | -C) |
387 |
cache_file=config.cache ;; |
388 |
|
389 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
390 |
ac_prev=datadir ;; |
391 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
392 |
| --da=*) |
393 |
datadir=$ac_optarg ;; |
394 |
|
395 |
-disable-* | --disable-*) |
396 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
397 |
# Reject names that are not valid shell variable names. |
398 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
399 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
400 |
{ (exit 1); exit 1; }; } |
401 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
402 |
eval "enable_$ac_feature=no" ;; |
403 |
|
404 |
-enable-* | --enable-*) |
405 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
406 |
# Reject names that are not valid shell variable names. |
407 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
408 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
409 |
{ (exit 1); exit 1; }; } |
410 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
411 |
case $ac_option in |
412 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
413 |
*) ac_optarg=yes ;; |
414 |
esac |
415 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
416 |
|
417 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
418 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
419 |
| --exec | --exe | --ex) |
420 |
ac_prev=exec_prefix ;; |
421 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
422 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
423 |
| --exec=* | --exe=* | --ex=*) |
424 |
exec_prefix=$ac_optarg ;; |
425 |
|
426 |
-gas | --gas | --ga | --g) |
427 |
# Obsolete; use --with-gas. |
428 |
with_gas=yes ;; |
429 |
|
430 |
-help | --help | --hel | --he | -h) |
431 |
ac_init_help=long ;; |
432 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
433 |
ac_init_help=recursive ;; |
434 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
435 |
ac_init_help=short ;; |
436 |
|
437 |
-host | --host | --hos | --ho) |
438 |
ac_prev=host_alias ;; |
439 |
-host=* | --host=* | --hos=* | --ho=*) |
440 |
host_alias=$ac_optarg ;; |
441 |
|
442 |
-includedir | --includedir | --includedi | --included | --include \ |
443 |
| --includ | --inclu | --incl | --inc) |
444 |
ac_prev=includedir ;; |
445 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
446 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
447 |
includedir=$ac_optarg ;; |
448 |
|
449 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
450 |
ac_prev=infodir ;; |
451 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
452 |
infodir=$ac_optarg ;; |
453 |
|
454 |
-libdir | --libdir | --libdi | --libd) |
455 |
ac_prev=libdir ;; |
456 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
457 |
libdir=$ac_optarg ;; |
458 |
|
459 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
460 |
| --libexe | --libex | --libe) |
461 |
ac_prev=libexecdir ;; |
462 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
463 |
| --libexe=* | --libex=* | --libe=*) |
464 |
libexecdir=$ac_optarg ;; |
465 |
|
466 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
467 |
| --localstate | --localstat | --localsta | --localst \ |
468 |
| --locals | --local | --loca | --loc | --lo) |
469 |
ac_prev=localstatedir ;; |
470 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
471 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
472 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
473 |
localstatedir=$ac_optarg ;; |
474 |
|
475 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
476 |
ac_prev=mandir ;; |
477 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
478 |
mandir=$ac_optarg ;; |
479 |
|
480 |
-nfp | --nfp | --nf) |
481 |
# Obsolete; use --without-fp. |
482 |
with_fp=no ;; |
483 |
|
484 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
485 |
| --no-cr | --no-c | -n) |
486 |
no_create=yes ;; |
487 |
|
488 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
489 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
490 |
no_recursion=yes ;; |
491 |
|
492 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
493 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
494 |
| --oldin | --oldi | --old | --ol | --o) |
495 |
ac_prev=oldincludedir ;; |
496 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
497 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
498 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
499 |
oldincludedir=$ac_optarg ;; |
500 |
|
501 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
502 |
ac_prev=prefix ;; |
503 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
504 |
prefix=$ac_optarg ;; |
505 |
|
506 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
507 |
| --program-pre | --program-pr | --program-p) |
508 |
ac_prev=program_prefix ;; |
509 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
510 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
511 |
program_prefix=$ac_optarg ;; |
512 |
|
513 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
514 |
| --program-suf | --program-su | --program-s) |
515 |
ac_prev=program_suffix ;; |
516 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
517 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
518 |
program_suffix=$ac_optarg ;; |
519 |
|
520 |
-program-transform-name | --program-transform-name \ |
521 |
| --program-transform-nam | --program-transform-na \ |
522 |
| --program-transform-n | --program-transform- \ |
523 |
| --program-transform | --program-transfor \ |
524 |
| --program-transfo | --program-transf \ |
525 |
| --program-trans | --program-tran \ |
526 |
| --progr-tra | --program-tr | --program-t) |
527 |
ac_prev=program_transform_name ;; |
528 |
-program-transform-name=* | --program-transform-name=* \ |
529 |
| --program-transform-nam=* | --program-transform-na=* \ |
530 |
| --program-transform-n=* | --program-transform-=* \ |
531 |
| --program-transform=* | --program-transfor=* \ |
532 |
| --program-transfo=* | --program-transf=* \ |
533 |
| --program-trans=* | --program-tran=* \ |
534 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
535 |
program_transform_name=$ac_optarg ;; |
536 |
|
537 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
538 |
| -silent | --silent | --silen | --sile | --sil) |
539 |
silent=yes ;; |
540 |
|
541 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
542 |
ac_prev=sbindir ;; |
543 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
544 |
| --sbi=* | --sb=*) |
545 |
sbindir=$ac_optarg ;; |
546 |
|
547 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
548 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
549 |
| --sharedst | --shareds | --shared | --share | --shar \ |
550 |
| --sha | --sh) |
551 |
ac_prev=sharedstatedir ;; |
552 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
553 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
554 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
555 |
| --sha=* | --sh=*) |
556 |
sharedstatedir=$ac_optarg ;; |
557 |
|
558 |
-site | --site | --sit) |
559 |
ac_prev=site ;; |
560 |
-site=* | --site=* | --sit=*) |
561 |
site=$ac_optarg ;; |
562 |
|
563 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
564 |
ac_prev=srcdir ;; |
565 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
566 |
srcdir=$ac_optarg ;; |
567 |
|
568 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
569 |
| --syscon | --sysco | --sysc | --sys | --sy) |
570 |
ac_prev=sysconfdir ;; |
571 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
572 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
573 |
sysconfdir=$ac_optarg ;; |
574 |
|
575 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
576 |
ac_prev=target_alias ;; |
577 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
578 |
target_alias=$ac_optarg ;; |
579 |
|
580 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
581 |
verbose=yes ;; |
582 |
|
583 |
-version | --version | --versio | --versi | --vers | -V) |
584 |
ac_init_version=: ;; |
585 |
|
586 |
-with-* | --with-*) |
587 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
588 |
# Reject names that are not valid shell variable names. |
589 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
590 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
591 |
{ (exit 1); exit 1; }; } |
592 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
593 |
case $ac_option in |
594 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
595 |
*) ac_optarg=yes ;; |
596 |
esac |
597 |
eval "with_$ac_package='$ac_optarg'" ;; |
598 |
|
599 |
-without-* | --without-*) |
600 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
601 |
# Reject names that are not valid shell variable names. |
602 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
603 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
604 |
{ (exit 1); exit 1; }; } |
605 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
606 |
eval "with_$ac_package=no" ;; |
607 |
|
608 |
--x) |
609 |
# Obsolete; use --with-x. |
610 |
with_x=yes ;; |
611 |
|
612 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
613 |
| --x-incl | --x-inc | --x-in | --x-i) |
614 |
ac_prev=x_includes ;; |
615 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
616 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
617 |
x_includes=$ac_optarg ;; |
618 |
|
619 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
620 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
621 |
ac_prev=x_libraries ;; |
622 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
623 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
624 |
x_libraries=$ac_optarg ;; |
625 |
|
626 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
627 |
Try \`$0 --help' for more information." >&2 |
628 |
{ (exit 1); exit 1; }; } |
629 |
;; |
630 |
|
631 |
*=*) |
632 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
633 |
# Reject names that are not valid shell variable names. |
634 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
635 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
636 |
{ (exit 1); exit 1; }; } |
637 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
638 |
eval "$ac_envvar='$ac_optarg'" |
639 |
export $ac_envvar ;; |
640 |
|
641 |
*) |
642 |
# FIXME: should be removed in autoconf 3.0. |
643 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
644 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
645 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
646 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
647 |
;; |
648 |
|
649 |
esac |
650 |
done |
651 |
|
652 |
if test -n "$ac_prev"; then |
653 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
654 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
655 |
{ (exit 1); exit 1; }; } |
656 |
fi |
657 |
|
658 |
# Be sure to have absolute paths. |
659 |
for ac_var in exec_prefix prefix |
660 |
do |
661 |
eval ac_val=$`echo $ac_var` |
662 |
case $ac_val in |
663 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
664 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
665 |
{ (exit 1); exit 1; }; };; |
666 |
esac |
667 |
done |
668 |
|
669 |
# Be sure to have absolute paths. |
670 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
671 |
localstatedir libdir includedir oldincludedir infodir mandir |
672 |
do |
673 |
eval ac_val=$`echo $ac_var` |
674 |
case $ac_val in |
675 |
[\\/$]* | ?:[\\/]* ) ;; |
676 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
677 |
{ (exit 1); exit 1; }; };; |
678 |
esac |
679 |
done |
680 |
|
681 |
# There might be people who depend on the old broken behavior: `$host' |
682 |
# used to hold the argument of --host etc. |
683 |
# FIXME: To remove some day. |
684 |
build=$build_alias |
685 |
host=$host_alias |
686 |
target=$target_alias |
687 |
|
688 |
# FIXME: To remove some day. |
689 |
if test "x$host_alias" != x; then |
690 |
if test "x$build_alias" = x; then |
691 |
cross_compiling=maybe |
692 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
693 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
694 |
elif test "x$build_alias" != "x$host_alias"; then |
695 |
cross_compiling=yes |
696 |
fi |
697 |
fi |
698 |
|
699 |
ac_tool_prefix= |
700 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
701 |
|
702 |
test "$silent" = yes && exec 6>/dev/null |
703 |
|
704 |
|
705 |
# Find the source files, if location was not specified. |
706 |
if test -z "$srcdir"; then |
707 |
ac_srcdir_defaulted=yes |
708 |
# Try the directory containing this script, then its parent. |
709 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
710 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
711 |
X"$0" : 'X\(//\)[^/]' \| \ |
712 |
X"$0" : 'X\(//\)$' \| \ |
713 |
X"$0" : 'X\(/\)' \| \ |
714 |
. : '\(.\)' 2>/dev/null || |
715 |
echo X"$0" | |
716 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
717 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
718 |
/^X\(\/\/\)$/{ s//\1/; q; } |
719 |
/^X\(\/\).*/{ s//\1/; q; } |
720 |
s/.*/./; q'` |
721 |
srcdir=$ac_confdir |
722 |
if test ! -r $srcdir/$ac_unique_file; then |
723 |
srcdir=.. |
724 |
fi |
725 |
else |
726 |
ac_srcdir_defaulted=no |
727 |
fi |
728 |
if test ! -r $srcdir/$ac_unique_file; then |
729 |
if test "$ac_srcdir_defaulted" = yes; then |
730 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
731 |
{ (exit 1); exit 1; }; } |
732 |
else |
733 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
734 |
{ (exit 1); exit 1; }; } |
735 |
fi |
736 |
fi |
737 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
738 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
739 |
{ (exit 1); exit 1; }; } |
740 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
741 |
ac_env_build_alias_set=${build_alias+set} |
742 |
ac_env_build_alias_value=$build_alias |
743 |
ac_cv_env_build_alias_set=${build_alias+set} |
744 |
ac_cv_env_build_alias_value=$build_alias |
745 |
ac_env_host_alias_set=${host_alias+set} |
746 |
ac_env_host_alias_value=$host_alias |
747 |
ac_cv_env_host_alias_set=${host_alias+set} |
748 |
ac_cv_env_host_alias_value=$host_alias |
749 |
ac_env_target_alias_set=${target_alias+set} |
750 |
ac_env_target_alias_value=$target_alias |
751 |
ac_cv_env_target_alias_set=${target_alias+set} |
752 |
ac_cv_env_target_alias_value=$target_alias |
753 |
ac_env_CC_set=${CC+set} |
754 |
ac_env_CC_value=$CC |
755 |
ac_cv_env_CC_set=${CC+set} |
756 |
ac_cv_env_CC_value=$CC |
757 |
ac_env_CFLAGS_set=${CFLAGS+set} |
758 |
ac_env_CFLAGS_value=$CFLAGS |
759 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
760 |
ac_cv_env_CFLAGS_value=$CFLAGS |
761 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
762 |
ac_env_LDFLAGS_value=$LDFLAGS |
763 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
764 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
765 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
766 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
767 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
768 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
769 |
ac_env_CPP_set=${CPP+set} |
770 |
ac_env_CPP_value=$CPP |
771 |
ac_cv_env_CPP_set=${CPP+set} |
772 |
ac_cv_env_CPP_value=$CPP |
773 |
ac_env_CXX_set=${CXX+set} |
774 |
ac_env_CXX_value=$CXX |
775 |
ac_cv_env_CXX_set=${CXX+set} |
776 |
ac_cv_env_CXX_value=$CXX |
777 |
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
778 |
ac_env_CXXFLAGS_value=$CXXFLAGS |
779 |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
780 |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
781 |
ac_env_CXXCPP_set=${CXXCPP+set} |
782 |
ac_env_CXXCPP_value=$CXXCPP |
783 |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
784 |
ac_cv_env_CXXCPP_value=$CXXCPP |
785 |
|
786 |
# |
787 |
# Report the --help message. |
788 |
# |
789 |
if test "$ac_init_help" = "long"; then |
790 |
# Omit some internal or obsolete options to make the list less imposing. |
791 |
# This message is too long to be a string in the A/UX 3.1 sh. |
792 |
cat <<_ACEOF |
793 |
\`configure' configures this package to adapt to many kinds of systems. |
794 |
|
795 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
796 |
|
797 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
798 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
799 |
|
800 |
Defaults for the options are specified in brackets. |
801 |
|
802 |
Configuration: |
803 |
-h, --help display this help and exit |
804 |
--help=short display options specific to this package |
805 |
--help=recursive display the short help of all the included packages |
806 |
-V, --version display version information and exit |
807 |
-q, --quiet, --silent do not print \`checking...' messages |
808 |
--cache-file=FILE cache test results in FILE [disabled] |
809 |
-C, --config-cache alias for \`--cache-file=config.cache' |
810 |
-n, --no-create do not create output files |
811 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
812 |
|
813 |
_ACEOF |
814 |
|
815 |
cat <<_ACEOF |
816 |
Installation directories: |
817 |
--prefix=PREFIX install architecture-independent files in PREFIX |
818 |
[$ac_default_prefix] |
819 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
820 |
[PREFIX] |
821 |
|
822 |
By default, \`make install' will install all the files in |
823 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
824 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
825 |
for instance \`--prefix=\$HOME'. |
826 |
|
827 |
For better control, use the options below. |
828 |
|
829 |
Fine tuning of the installation directories: |
830 |
--bindir=DIR user executables [EPREFIX/bin] |
831 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
832 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
833 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
834 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
835 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
836 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
837 |
--libdir=DIR object code libraries [EPREFIX/lib] |
838 |
--includedir=DIR C header files [PREFIX/include] |
839 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
840 |
--infodir=DIR info documentation [PREFIX/info] |
841 |
--mandir=DIR man documentation [PREFIX/man] |
842 |
_ACEOF |
843 |
|
844 |
cat <<\_ACEOF |
845 |
|
846 |
Program names: |
847 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
848 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
849 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
850 |
|
851 |
System types: |
852 |
--build=BUILD configure for building on BUILD [guessed] |
853 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
854 |
--target=TARGET configure for building compilers for TARGET [HOST] |
855 |
_ACEOF |
856 |
fi |
857 |
|
858 |
if test -n "$ac_init_help"; then |
859 |
|
860 |
cat <<\_ACEOF |
861 |
|
862 |
Optional Features: |
863 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
864 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
865 |
--enable-maintainer-mode enable make rules and dependencies not useful |
866 |
(and sometimes confusing) to the casual installer |
867 |
--disable-dependency-tracking Speeds up one-time builds |
868 |
--enable-dependency-tracking Do not reject slow dependency extractors |
869 |
--disable-rpath do not hardcode runtime library paths |
870 |
--disable-nls do not use Native Language Support |
871 |
--enable-iftype=TYPE/SUBTYPE |
872 |
Use kernel/net device interface TYPE/SUBTYPE. |
873 |
Working combinations are: "native/linux" |
874 |
"tincd/linux" "tincd/freebsd" "tincd/openbsd" |
875 |
"tincd/darwin" "native/cygwin"; Untested |
876 |
combinations are: "tincd/netbsd" "tincd/solaris" |
877 |
"tincd/mingw"; Broken combinations are: |
878 |
"tincd/cygwin"; The default is to autodetect. |
879 |
--enable-rohc enable robust header compression (rfc3095). |
880 |
--enable-icmp enable icmp protocol support (default disabled). |
881 |
--enable-tcp enable tcp protocol support (default disabled). |
882 |
--enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
883 |
--enable-http-proxy enable http proxy connect support (default |
884 |
disabled). |
885 |
--enable-hmac-length=BYTES |
886 |
use a hmac of length BYTES bytes (default 12). |
887 |
Allowed values are 4, 8, 12, 16. |
888 |
--enable-rand-length=BYTES |
889 |
use BYTES bytes of extra randomness (default 8). |
890 |
Allowed values are 0, 4, 8. |
891 |
--enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
892 |
Use 9100 for jumbogram support. |
893 |
--disable-compression Disable compression support. |
894 |
--enable-cipher Select the symmetric cipher (default "bf"). Must be |
895 |
one of "bf" (blowfish), "aes-128" (rijndael), |
896 |
"aes-192" or "aes-256". |
897 |
--enable-digest Select the digets algorithm to use (default "sha1"). |
898 |
Must be one of "sha1", "ripemd160", "md5" or "md4" |
899 |
(insecure). |
900 |
|
901 |
Optional Packages: |
902 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
903 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
904 |
--with-gnu-ld assume the C compiler uses GNU ld default=no |
905 |
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib |
906 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir |
907 |
--with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
908 |
--without-libintl-prefix don't search for libintl in includedir and libdir |
909 |
--with-kernel=dir give the directory with kernel sources |
910 |
(default: /usr/src/linux) |
911 |
--with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
912 |
--with-openssl-lib=DIR OpenSSL library directory |
913 |
|
914 |
Some influential environment variables: |
915 |
CC C compiler command |
916 |
CFLAGS C compiler flags |
917 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
918 |
nonstandard directory <lib dir> |
919 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
920 |
headers in a nonstandard directory <include dir> |
921 |
CPP C preprocessor |
922 |
CXX C++ compiler command |
923 |
CXXFLAGS C++ compiler flags |
924 |
CXXCPP C++ preprocessor |
925 |
|
926 |
Use these variables to override the choices made by `configure' or to help |
927 |
it to find libraries and programs with nonstandard names/locations. |
928 |
|
929 |
_ACEOF |
930 |
fi |
931 |
|
932 |
if test "$ac_init_help" = "recursive"; then |
933 |
# If there are subdirs, report their specific --help. |
934 |
ac_popdir=`pwd` |
935 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
936 |
test -d $ac_dir || continue |
937 |
ac_builddir=. |
938 |
|
939 |
if test "$ac_dir" != .; then |
940 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
941 |
# A "../" for each directory in $ac_dir_suffix. |
942 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
943 |
else |
944 |
ac_dir_suffix= ac_top_builddir= |
945 |
fi |
946 |
|
947 |
case $srcdir in |
948 |
.) # No --srcdir option. We are building in place. |
949 |
ac_srcdir=. |
950 |
if test -z "$ac_top_builddir"; then |
951 |
ac_top_srcdir=. |
952 |
else |
953 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
954 |
fi ;; |
955 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
956 |
ac_srcdir=$srcdir$ac_dir_suffix; |
957 |
ac_top_srcdir=$srcdir ;; |
958 |
*) # Relative path. |
959 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
960 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
961 |
esac |
962 |
|
963 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
964 |
# the directories may not exist. |
965 |
case `pwd` in |
966 |
.) ac_abs_builddir="$ac_dir";; |
967 |
*) |
968 |
case "$ac_dir" in |
969 |
.) ac_abs_builddir=`pwd`;; |
970 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
971 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
972 |
esac;; |
973 |
esac |
974 |
case $ac_abs_builddir in |
975 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
976 |
*) |
977 |
case ${ac_top_builddir}. in |
978 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
979 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
980 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
981 |
esac;; |
982 |
esac |
983 |
case $ac_abs_builddir in |
984 |
.) ac_abs_srcdir=$ac_srcdir;; |
985 |
*) |
986 |
case $ac_srcdir in |
987 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
988 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
989 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
990 |
esac;; |
991 |
esac |
992 |
case $ac_abs_builddir in |
993 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
994 |
*) |
995 |
case $ac_top_srcdir in |
996 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
997 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
998 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
999 |
esac;; |
1000 |
esac |
1001 |
|
1002 |
cd $ac_dir |
1003 |
# Check for guested configure; otherwise get Cygnus style configure. |
1004 |
if test -f $ac_srcdir/configure.gnu; then |
1005 |
echo |
1006 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
1007 |
elif test -f $ac_srcdir/configure; then |
1008 |
echo |
1009 |
$SHELL $ac_srcdir/configure --help=recursive |
1010 |
elif test -f $ac_srcdir/configure.ac || |
1011 |
test -f $ac_srcdir/configure.in; then |
1012 |
echo |
1013 |
$ac_configure --help |
1014 |
else |
1015 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1016 |
fi |
1017 |
cd "$ac_popdir" |
1018 |
done |
1019 |
fi |
1020 |
|
1021 |
test -n "$ac_init_help" && exit 0 |
1022 |
if $ac_init_version; then |
1023 |
cat <<\_ACEOF |
1024 |
|
1025 |
Copyright (C) 2003 Free Software Foundation, Inc. |
1026 |
This configure script is free software; the Free Software Foundation |
1027 |
gives unlimited permission to copy, distribute and modify it. |
1028 |
_ACEOF |
1029 |
exit 0 |
1030 |
fi |
1031 |
exec 5>config.log |
1032 |
cat >&5 <<_ACEOF |
1033 |
This file contains any messages produced by compilers while |
1034 |
running configure, to aid debugging if configure makes a mistake. |
1035 |
|
1036 |
It was created by $as_me, which was |
1037 |
generated by GNU Autoconf 2.59. Invocation command line was |
1038 |
|
1039 |
$ $0 $@ |
1040 |
|
1041 |
_ACEOF |
1042 |
{ |
1043 |
cat <<_ASUNAME |
1044 |
## --------- ## |
1045 |
## Platform. ## |
1046 |
## --------- ## |
1047 |
|
1048 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1049 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1050 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1051 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1052 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1053 |
|
1054 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1055 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1056 |
|
1057 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1058 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1059 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1060 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1061 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1062 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1063 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1064 |
|
1065 |
_ASUNAME |
1066 |
|
1067 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1068 |
for as_dir in $PATH |
1069 |
do |
1070 |
IFS=$as_save_IFS |
1071 |
test -z "$as_dir" && as_dir=. |
1072 |
echo "PATH: $as_dir" |
1073 |
done |
1074 |
|
1075 |
} >&5 |
1076 |
|
1077 |
cat >&5 <<_ACEOF |
1078 |
|
1079 |
|
1080 |
## ----------- ## |
1081 |
## Core tests. ## |
1082 |
## ----------- ## |
1083 |
|
1084 |
_ACEOF |
1085 |
|
1086 |
|
1087 |
# Keep a trace of the command line. |
1088 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1089 |
# Strip out --silent because we don't want to record it for future runs. |
1090 |
# Also quote any args containing shell meta-characters. |
1091 |
# Make two passes to allow for proper duplicate-argument suppression. |
1092 |
ac_configure_args= |
1093 |
ac_configure_args0= |
1094 |
ac_configure_args1= |
1095 |
ac_sep= |
1096 |
ac_must_keep_next=false |
1097 |
for ac_pass in 1 2 |
1098 |
do |
1099 |
for ac_arg |
1100 |
do |
1101 |
case $ac_arg in |
1102 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1103 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1104 |
| -silent | --silent | --silen | --sile | --sil) |
1105 |
continue ;; |
1106 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1107 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1108 |
esac |
1109 |
case $ac_pass in |
1110 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1111 |
2) |
1112 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1113 |
if test $ac_must_keep_next = true; then |
1114 |
ac_must_keep_next=false # Got value, back to normal. |
1115 |
else |
1116 |
case $ac_arg in |
1117 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1118 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1119 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1120 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1121 |
case "$ac_configure_args0 " in |
1122 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1123 |
esac |
1124 |
;; |
1125 |
-* ) ac_must_keep_next=true ;; |
1126 |
esac |
1127 |
fi |
1128 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1129 |
# Get rid of the leading space. |
1130 |
ac_sep=" " |
1131 |
;; |
1132 |
esac |
1133 |
done |
1134 |
done |
1135 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1136 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1137 |
|
1138 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1139 |
# config.log. We remove comments because anyway the quotes in there |
1140 |
# would cause problems or look ugly. |
1141 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1142 |
# such as our DU 5.0 friend, will then `close' the trap. |
1143 |
trap 'exit_status=$? |
1144 |
# Save into config.log some information that might help in debugging. |
1145 |
{ |
1146 |
echo |
1147 |
|
1148 |
cat <<\_ASBOX |
1149 |
## ---------------- ## |
1150 |
## Cache variables. ## |
1151 |
## ---------------- ## |
1152 |
_ASBOX |
1153 |
echo |
1154 |
# The following way of writing the cache mishandles newlines in values, |
1155 |
{ |
1156 |
(set) 2>&1 | |
1157 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1158 |
*ac_space=\ *) |
1159 |
sed -n \ |
1160 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1161 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1162 |
;; |
1163 |
*) |
1164 |
sed -n \ |
1165 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1166 |
;; |
1167 |
esac; |
1168 |
} |
1169 |
echo |
1170 |
|
1171 |
cat <<\_ASBOX |
1172 |
## ----------------- ## |
1173 |
## Output variables. ## |
1174 |
## ----------------- ## |
1175 |
_ASBOX |
1176 |
echo |
1177 |
for ac_var in $ac_subst_vars |
1178 |
do |
1179 |
eval ac_val=$`echo $ac_var` |
1180 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1181 |
done | sort |
1182 |
echo |
1183 |
|
1184 |
if test -n "$ac_subst_files"; then |
1185 |
cat <<\_ASBOX |
1186 |
## ------------- ## |
1187 |
## Output files. ## |
1188 |
## ------------- ## |
1189 |
_ASBOX |
1190 |
echo |
1191 |
for ac_var in $ac_subst_files |
1192 |
do |
1193 |
eval ac_val=$`echo $ac_var` |
1194 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1195 |
done | sort |
1196 |
echo |
1197 |
fi |
1198 |
|
1199 |
if test -s confdefs.h; then |
1200 |
cat <<\_ASBOX |
1201 |
## ----------- ## |
1202 |
## confdefs.h. ## |
1203 |
## ----------- ## |
1204 |
_ASBOX |
1205 |
echo |
1206 |
sed "/^$/d" confdefs.h | sort |
1207 |
echo |
1208 |
fi |
1209 |
test "$ac_signal" != 0 && |
1210 |
echo "$as_me: caught signal $ac_signal" |
1211 |
echo "$as_me: exit $exit_status" |
1212 |
} >&5 |
1213 |
rm -f core *.core && |
1214 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1215 |
exit $exit_status |
1216 |
' 0 |
1217 |
for ac_signal in 1 2 13 15; do |
1218 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1219 |
done |
1220 |
ac_signal=0 |
1221 |
|
1222 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1223 |
rm -rf conftest* confdefs.h |
1224 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1225 |
echo >confdefs.h |
1226 |
|
1227 |
# Predefined preprocessor variables. |
1228 |
|
1229 |
cat >>confdefs.h <<_ACEOF |
1230 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1231 |
_ACEOF |
1232 |
|
1233 |
|
1234 |
cat >>confdefs.h <<_ACEOF |
1235 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1236 |
_ACEOF |
1237 |
|
1238 |
|
1239 |
cat >>confdefs.h <<_ACEOF |
1240 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1241 |
_ACEOF |
1242 |
|
1243 |
|
1244 |
cat >>confdefs.h <<_ACEOF |
1245 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1246 |
_ACEOF |
1247 |
|
1248 |
|
1249 |
cat >>confdefs.h <<_ACEOF |
1250 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1251 |
_ACEOF |
1252 |
|
1253 |
|
1254 |
# Let the site file select an alternate cache file if it wants to. |
1255 |
# Prefer explicitly selected file to automatically selected ones. |
1256 |
if test -z "$CONFIG_SITE"; then |
1257 |
if test "x$prefix" != xNONE; then |
1258 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1259 |
else |
1260 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1261 |
fi |
1262 |
fi |
1263 |
for ac_site_file in $CONFIG_SITE; do |
1264 |
if test -r "$ac_site_file"; then |
1265 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1266 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1267 |
sed 's/^/| /' "$ac_site_file" >&5 |
1268 |
. "$ac_site_file" |
1269 |
fi |
1270 |
done |
1271 |
|
1272 |
if test -r "$cache_file"; then |
1273 |
# Some versions of bash will fail to source /dev/null (special |
1274 |
# files actually), so we avoid doing that. |
1275 |
if test -f "$cache_file"; then |
1276 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1277 |
echo "$as_me: loading cache $cache_file" >&6;} |
1278 |
case $cache_file in |
1279 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1280 |
*) . ./$cache_file;; |
1281 |
esac |
1282 |
fi |
1283 |
else |
1284 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1285 |
echo "$as_me: creating cache $cache_file" >&6;} |
1286 |
>$cache_file |
1287 |
fi |
1288 |
|
1289 |
# Check that the precious variables saved in the cache have kept the same |
1290 |
# value. |
1291 |
ac_cache_corrupted=false |
1292 |
for ac_var in `(set) 2>&1 | |
1293 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1294 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1295 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1296 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1297 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
1298 |
case $ac_old_set,$ac_new_set in |
1299 |
set,) |
1300 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1301 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1302 |
ac_cache_corrupted=: ;; |
1303 |
,set) |
1304 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1305 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1306 |
ac_cache_corrupted=: ;; |
1307 |
,);; |
1308 |
*) |
1309 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1310 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1311 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1312 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1313 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1314 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1315 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1316 |
ac_cache_corrupted=: |
1317 |
fi;; |
1318 |
esac |
1319 |
# Pass precious variables to config.status. |
1320 |
if test "$ac_new_set" = set; then |
1321 |
case $ac_new_val in |
1322 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1323 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1324 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1325 |
esac |
1326 |
case " $ac_configure_args " in |
1327 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1328 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1329 |
esac |
1330 |
fi |
1331 |
done |
1332 |
if $ac_cache_corrupted; then |
1333 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1334 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1335 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1336 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1337 |
{ (exit 1); exit 1; }; } |
1338 |
fi |
1339 |
|
1340 |
ac_ext=c |
1341 |
ac_cpp='$CPP $CPPFLAGS' |
1342 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1343 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1344 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1345 |
|
1346 |
|
1347 |
|
1348 |
|
1349 |
|
1350 |
|
1351 |
|
1352 |
|
1353 |
|
1354 |
|
1355 |
|
1356 |
|
1357 |
|
1358 |
|
1359 |
|
1360 |
|
1361 |
|
1362 |
|
1363 |
|
1364 |
ac_aux_dir= |
1365 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1366 |
if test -f $ac_dir/install-sh; then |
1367 |
ac_aux_dir=$ac_dir |
1368 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1369 |
break |
1370 |
elif test -f $ac_dir/install.sh; then |
1371 |
ac_aux_dir=$ac_dir |
1372 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1373 |
break |
1374 |
elif test -f $ac_dir/shtool; then |
1375 |
ac_aux_dir=$ac_dir |
1376 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1377 |
break |
1378 |
fi |
1379 |
done |
1380 |
if test -z "$ac_aux_dir"; then |
1381 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1382 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1383 |
{ (exit 1); exit 1; }; } |
1384 |
fi |
1385 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1386 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1387 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1388 |
|
1389 |
# Make sure we can run config.sub. |
1390 |
$ac_config_sub sun4 >/dev/null 2>&1 || |
1391 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1392 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1393 |
{ (exit 1); exit 1; }; } |
1394 |
|
1395 |
echo "$as_me:$LINENO: checking build system type" >&5 |
1396 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1397 |
if test "${ac_cv_build+set}" = set; then |
1398 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1399 |
else |
1400 |
ac_cv_build_alias=$build_alias |
1401 |
test -z "$ac_cv_build_alias" && |
1402 |
ac_cv_build_alias=`$ac_config_guess` |
1403 |
test -z "$ac_cv_build_alias" && |
1404 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1405 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1406 |
{ (exit 1); exit 1; }; } |
1407 |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1408 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1409 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1410 |
{ (exit 1); exit 1; }; } |
1411 |
|
1412 |
fi |
1413 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1414 |
echo "${ECHO_T}$ac_cv_build" >&6 |
1415 |
build=$ac_cv_build |
1416 |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1417 |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1418 |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1419 |
|
1420 |
|
1421 |
echo "$as_me:$LINENO: checking host system type" >&5 |
1422 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1423 |
if test "${ac_cv_host+set}" = set; then |
1424 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1425 |
else |
1426 |
ac_cv_host_alias=$host_alias |
1427 |
test -z "$ac_cv_host_alias" && |
1428 |
ac_cv_host_alias=$ac_cv_build_alias |
1429 |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1430 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1431 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1432 |
{ (exit 1); exit 1; }; } |
1433 |
|
1434 |
fi |
1435 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1436 |
echo "${ECHO_T}$ac_cv_host" >&6 |
1437 |
host=$ac_cv_host |
1438 |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1439 |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1440 |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1441 |
|
1442 |
|
1443 |
echo "$as_me:$LINENO: checking target system type" >&5 |
1444 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
1445 |
if test "${ac_cv_target+set}" = set; then |
1446 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1447 |
else |
1448 |
ac_cv_target_alias=$target_alias |
1449 |
test "x$ac_cv_target_alias" = "x" && |
1450 |
ac_cv_target_alias=$ac_cv_host_alias |
1451 |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
1452 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
1453 |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
1454 |
{ (exit 1); exit 1; }; } |
1455 |
|
1456 |
fi |
1457 |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
1458 |
echo "${ECHO_T}$ac_cv_target" >&6 |
1459 |
target=$ac_cv_target |
1460 |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1461 |
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1462 |
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1463 |
|
1464 |
|
1465 |
# The aliases save the names the user supplied, while $host etc. |
1466 |
# will get canonicalized. |
1467 |
test -n "$target_alias" && |
1468 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
1469 |
NONENONEs,x,x, && |
1470 |
program_prefix=${target_alias}- |
1471 |
am__api_version="1.7" |
1472 |
# Find a good install program. We prefer a C program (faster), |
1473 |
# so one script is as good as another. But avoid the broken or |
1474 |
# incompatible versions: |
1475 |
# SysV /etc/install, /usr/sbin/install |
1476 |
# SunOS /usr/etc/install |
1477 |
# IRIX /sbin/install |
1478 |
# AIX /bin/install |
1479 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1480 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1481 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1482 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1483 |
# OS/2's system install, which has a completely different semantic |
1484 |
# ./install, which can be erroneously created by make from ./install.sh. |
1485 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1486 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1487 |
if test -z "$INSTALL"; then |
1488 |
if test "${ac_cv_path_install+set}" = set; then |
1489 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1490 |
else |
1491 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1492 |
for as_dir in $PATH |
1493 |
do |
1494 |
IFS=$as_save_IFS |
1495 |
test -z "$as_dir" && as_dir=. |
1496 |
# Account for people who put trailing slashes in PATH elements. |
1497 |
case $as_dir/ in |
1498 |
./ | .// | /cC/* | \ |
1499 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1500 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1501 |
/usr/ucb/* ) ;; |
1502 |
*) |
1503 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1504 |
# Don't use installbsd from OSF since it installs stuff as root |
1505 |
# by default. |
1506 |
for ac_prog in ginstall scoinst install; do |
1507 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1508 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1509 |
if test $ac_prog = install && |
1510 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1511 |
# AIX install. It has an incompatible calling convention. |
1512 |
: |
1513 |
elif test $ac_prog = install && |
1514 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1515 |
# program-specific install script used by HP pwplus--don't use. |
1516 |
: |
1517 |
else |
1518 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1519 |
break 3 |
1520 |
fi |
1521 |
fi |
1522 |
done |
1523 |
done |
1524 |
;; |
1525 |
esac |
1526 |
done |
1527 |
|
1528 |
|
1529 |
fi |
1530 |
if test "${ac_cv_path_install+set}" = set; then |
1531 |
INSTALL=$ac_cv_path_install |
1532 |
else |
1533 |
# As a last resort, use the slow shell script. We don't cache a |
1534 |
# path for INSTALL within a source directory, because that will |
1535 |
# break other packages using the cache if that directory is |
1536 |
# removed, or if the path is relative. |
1537 |
INSTALL=$ac_install_sh |
1538 |
fi |
1539 |
fi |
1540 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1541 |
echo "${ECHO_T}$INSTALL" >&6 |
1542 |
|
1543 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1544 |
# It thinks the first close brace ends the variable substitution. |
1545 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1546 |
|
1547 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1548 |
|
1549 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1550 |
|
1551 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1552 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
1553 |
# Just in case |
1554 |
sleep 1 |
1555 |
echo timestamp > conftest.file |
1556 |
# Do `set' in a subshell so we don't clobber the current shell's |
1557 |
# arguments. Must try -L first in case configure is actually a |
1558 |
# symlink; some systems play weird games with the mod time of symlinks |
1559 |
# (eg FreeBSD returns the mod time of the symlink's containing |
1560 |
# directory). |
1561 |
if ( |
1562 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
1563 |
if test "$*" = "X"; then |
1564 |
# -L didn't work. |
1565 |
set X `ls -t $srcdir/configure conftest.file` |
1566 |
fi |
1567 |
rm -f conftest.file |
1568 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
1569 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
1570 |
|
1571 |
# If neither matched, then we have a broken ls. This can happen |
1572 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
1573 |
# broken ls alias from the environment. This has actually |
1574 |
# happened. Such a system could not be considered "sane". |
1575 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1576 |
alias in your environment" >&5 |
1577 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1578 |
alias in your environment" >&2;} |
1579 |
{ (exit 1); exit 1; }; } |
1580 |
fi |
1581 |
|
1582 |
test "$2" = conftest.file |
1583 |
) |
1584 |
then |
1585 |
# Ok. |
1586 |
: |
1587 |
else |
1588 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1589 |
Check your system clock" >&5 |
1590 |
echo "$as_me: error: newly created file is older than distributed files! |
1591 |
Check your system clock" >&2;} |
1592 |
{ (exit 1); exit 1; }; } |
1593 |
fi |
1594 |
echo "$as_me:$LINENO: result: yes" >&5 |
1595 |
echo "${ECHO_T}yes" >&6 |
1596 |
test "$program_prefix" != NONE && |
1597 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1598 |
# Use a double $ so make ignores it. |
1599 |
test "$program_suffix" != NONE && |
1600 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
1601 |
# Double any \ or $. echo might interpret backslashes. |
1602 |
# By default was `s,x,x', remove it if useless. |
1603 |
cat <<\_ACEOF >conftest.sed |
1604 |
s/[\\$]/&&/g;s/;s,x,x,$// |
1605 |
_ACEOF |
1606 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1607 |
rm conftest.sed |
1608 |
|
1609 |
|
1610 |
# expand $ac_aux_dir to an absolute path |
1611 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
1612 |
|
1613 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1614 |
# Use eval to expand $SHELL |
1615 |
if eval "$MISSING --run true"; then |
1616 |
am_missing_run="$MISSING --run " |
1617 |
else |
1618 |
am_missing_run= |
1619 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
1620 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1621 |
fi |
1622 |
|
1623 |
for ac_prog in gawk mawk nawk awk |
1624 |
do |
1625 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1626 |
set dummy $ac_prog; ac_word=$2 |
1627 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1628 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1629 |
if test "${ac_cv_prog_AWK+set}" = set; then |
1630 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1631 |
else |
1632 |
if test -n "$AWK"; then |
1633 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1634 |
else |
1635 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1636 |
for as_dir in $PATH |
1637 |
do |
1638 |
IFS=$as_save_IFS |
1639 |
test -z "$as_dir" && as_dir=. |
1640 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1641 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1642 |
ac_cv_prog_AWK="$ac_prog" |
1643 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1644 |
break 2 |
1645 |
fi |
1646 |
done |
1647 |
done |
1648 |
|
1649 |
fi |
1650 |
fi |
1651 |
AWK=$ac_cv_prog_AWK |
1652 |
if test -n "$AWK"; then |
1653 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
1654 |
echo "${ECHO_T}$AWK" >&6 |
1655 |
else |
1656 |
echo "$as_me:$LINENO: result: no" >&5 |
1657 |
echo "${ECHO_T}no" >&6 |
1658 |
fi |
1659 |
|
1660 |
test -n "$AWK" && break |
1661 |
done |
1662 |
|
1663 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1664 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1665 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1666 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1667 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1668 |
else |
1669 |
cat >conftest.make <<\_ACEOF |
1670 |
all: |
1671 |
@echo 'ac_maketemp="$(MAKE)"' |
1672 |
_ACEOF |
1673 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1674 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1675 |
if test -n "$ac_maketemp"; then |
1676 |
eval ac_cv_prog_make_${ac_make}_set=yes |
1677 |
else |
1678 |
eval ac_cv_prog_make_${ac_make}_set=no |
1679 |
fi |
1680 |
rm -f conftest.make |
1681 |
fi |
1682 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1683 |
echo "$as_me:$LINENO: result: yes" >&5 |
1684 |
echo "${ECHO_T}yes" >&6 |
1685 |
SET_MAKE= |
1686 |
else |
1687 |
echo "$as_me:$LINENO: result: no" >&5 |
1688 |
echo "${ECHO_T}no" >&6 |
1689 |
SET_MAKE="MAKE=${MAKE-make}" |
1690 |
fi |
1691 |
|
1692 |
rm -rf .tst 2>/dev/null |
1693 |
mkdir .tst 2>/dev/null |
1694 |
if test -d .tst; then |
1695 |
am__leading_dot=. |
1696 |
else |
1697 |
am__leading_dot=_ |
1698 |
fi |
1699 |
rmdir .tst 2>/dev/null |
1700 |
|
1701 |
# test to see if srcdir already configured |
1702 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
1703 |
test -f $srcdir/config.status; then |
1704 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1705 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1706 |
{ (exit 1); exit 1; }; } |
1707 |
fi |
1708 |
|
1709 |
# test whether we have cygpath |
1710 |
if test -z "$CYGPATH_W"; then |
1711 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
1712 |
CYGPATH_W='cygpath -w' |
1713 |
else |
1714 |
CYGPATH_W=echo |
1715 |
fi |
1716 |
fi |
1717 |
|
1718 |
|
1719 |
# Define the identity of the package. |
1720 |
PACKAGE=vpe |
1721 |
VERSION=1.5 |
1722 |
|
1723 |
|
1724 |
cat >>confdefs.h <<_ACEOF |
1725 |
#define PACKAGE "$PACKAGE" |
1726 |
_ACEOF |
1727 |
|
1728 |
|
1729 |
cat >>confdefs.h <<_ACEOF |
1730 |
#define VERSION "$VERSION" |
1731 |
_ACEOF |
1732 |
|
1733 |
# Some tools Automake needs. |
1734 |
|
1735 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
1736 |
|
1737 |
|
1738 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
1739 |
|
1740 |
|
1741 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
1742 |
|
1743 |
|
1744 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1745 |
|
1746 |
|
1747 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1748 |
|
1749 |
|
1750 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
1751 |
|
1752 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1753 |
|
1754 |
# Installed binaries are usually stripped using `strip' when the user |
1755 |
# run `make install-strip'. However `strip' might not be the right |
1756 |
# tool to use in cross-compilation environments, therefore Automake |
1757 |
# will honor the `STRIP' environment variable to overrule this program. |
1758 |
if test "$cross_compiling" != no; then |
1759 |
if test -n "$ac_tool_prefix"; then |
1760 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1761 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1762 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1763 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1764 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
1765 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1766 |
else |
1767 |
if test -n "$STRIP"; then |
1768 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
1769 |
else |
1770 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1771 |
for as_dir in $PATH |
1772 |
do |
1773 |
IFS=$as_save_IFS |
1774 |
test -z "$as_dir" && as_dir=. |
1775 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1776 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1777 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1778 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1779 |
break 2 |
1780 |
fi |
1781 |
done |
1782 |
done |
1783 |
|
1784 |
fi |
1785 |
fi |
1786 |
STRIP=$ac_cv_prog_STRIP |
1787 |
if test -n "$STRIP"; then |
1788 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
1789 |
echo "${ECHO_T}$STRIP" >&6 |
1790 |
else |
1791 |
echo "$as_me:$LINENO: result: no" >&5 |
1792 |
echo "${ECHO_T}no" >&6 |
1793 |
fi |
1794 |
|
1795 |
fi |
1796 |
if test -z "$ac_cv_prog_STRIP"; then |
1797 |
ac_ct_STRIP=$STRIP |
1798 |
# Extract the first word of "strip", so it can be a program name with args. |
1799 |
set dummy strip; ac_word=$2 |
1800 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1801 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1802 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1803 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1804 |
else |
1805 |
if test -n "$ac_ct_STRIP"; then |
1806 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
1807 |
else |
1808 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1809 |
for as_dir in $PATH |
1810 |
do |
1811 |
IFS=$as_save_IFS |
1812 |
test -z "$as_dir" && as_dir=. |
1813 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1814 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1815 |
ac_cv_prog_ac_ct_STRIP="strip" |
1816 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1817 |
break 2 |
1818 |
fi |
1819 |
done |
1820 |
done |
1821 |
|
1822 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
1823 |
fi |
1824 |
fi |
1825 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1826 |
if test -n "$ac_ct_STRIP"; then |
1827 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1828 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
1829 |
else |
1830 |
echo "$as_me:$LINENO: result: no" >&5 |
1831 |
echo "${ECHO_T}no" >&6 |
1832 |
fi |
1833 |
|
1834 |
STRIP=$ac_ct_STRIP |
1835 |
else |
1836 |
STRIP="$ac_cv_prog_STRIP" |
1837 |
fi |
1838 |
|
1839 |
fi |
1840 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
1841 |
|
1842 |
# We need awk for the "check" target. The system "awk" is bad on |
1843 |
# some platforms. |
1844 |
|
1845 |
|
1846 |
|
1847 |
ac_config_headers="$ac_config_headers config.h" |
1848 |
|
1849 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1850 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
1851 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
1852 |
if test "${enable_maintainer_mode+set}" = set; then |
1853 |
enableval="$enable_maintainer_mode" |
1854 |
USE_MAINTAINER_MODE=$enableval |
1855 |
else |
1856 |
USE_MAINTAINER_MODE=no |
1857 |
fi; |
1858 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
1859 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
1860 |
|
1861 |
|
1862 |
if test $USE_MAINTAINER_MODE = yes; then |
1863 |
MAINTAINER_MODE_TRUE= |
1864 |
MAINTAINER_MODE_FALSE='#' |
1865 |
else |
1866 |
MAINTAINER_MODE_TRUE='#' |
1867 |
MAINTAINER_MODE_FALSE= |
1868 |
fi |
1869 |
|
1870 |
MAINT=$MAINTAINER_MODE_TRUE |
1871 |
|
1872 |
|
1873 |
|
1874 |
|
1875 |
|
1876 |
|
1877 |
|
1878 |
|
1879 |
|
1880 |
|
1881 |
test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
1882 |
|
1883 |
for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done |
1884 |
|
1885 |
|
1886 |
|
1887 |
MKINSTALLDIRS= |
1888 |
if test -n "$ac_aux_dir"; then |
1889 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
1890 |
fi |
1891 |
if test -z "$MKINSTALLDIRS"; then |
1892 |
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
1893 |
fi |
1894 |
|
1895 |
|
1896 |
|
1897 |
|
1898 |
|
1899 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
1900 |
set dummy msgfmt; ac_word=$2 |
1901 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1902 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1903 |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
1904 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1905 |
else |
1906 |
case "$MSGFMT" in |
1907 |
/*) |
1908 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
1909 |
;; |
1910 |
*) |
1911 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1912 |
for ac_dir in $PATH; do |
1913 |
test -z "$ac_dir" && ac_dir=. |
1914 |
if test -f $ac_dir/$ac_word; then |
1915 |
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && |
1916 |
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
1917 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
1918 |
break |
1919 |
fi |
1920 |
fi |
1921 |
done |
1922 |
IFS="$ac_save_ifs" |
1923 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
1924 |
;; |
1925 |
esac |
1926 |
fi |
1927 |
MSGFMT="$ac_cv_path_MSGFMT" |
1928 |
if test "$MSGFMT" != ":"; then |
1929 |
echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
1930 |
echo "${ECHO_T}$MSGFMT" >&6 |
1931 |
else |
1932 |
echo "$as_me:$LINENO: result: no" >&5 |
1933 |
echo "${ECHO_T}no" >&6 |
1934 |
fi |
1935 |
|
1936 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
1937 |
set dummy gmsgfmt; ac_word=$2 |
1938 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1939 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1940 |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
1941 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1942 |
else |
1943 |
case $GMSGFMT in |
1944 |
[\\/]* | ?:[\\/]*) |
1945 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
1946 |
;; |
1947 |
*) |
1948 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1949 |
for as_dir in $PATH |
1950 |
do |
1951 |
IFS=$as_save_IFS |
1952 |
test -z "$as_dir" && as_dir=. |
1953 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1954 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1955 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
1956 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1957 |
break 2 |
1958 |
fi |
1959 |
done |
1960 |
done |
1961 |
|
1962 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
1963 |
;; |
1964 |
esac |
1965 |
fi |
1966 |
GMSGFMT=$ac_cv_path_GMSGFMT |
1967 |
|
1968 |
if test -n "$GMSGFMT"; then |
1969 |
echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
1970 |
echo "${ECHO_T}$GMSGFMT" >&6 |
1971 |
else |
1972 |
echo "$as_me:$LINENO: result: no" >&5 |
1973 |
echo "${ECHO_T}no" >&6 |
1974 |
fi |
1975 |
|
1976 |
|
1977 |
# Extract the first word of "xgettext", so it can be a program name with args. |
1978 |
set dummy xgettext; ac_word=$2 |
1979 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1980 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1981 |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
1982 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1983 |
else |
1984 |
case "$XGETTEXT" in |
1985 |
/*) |
1986 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
1987 |
;; |
1988 |
*) |
1989 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1990 |
for ac_dir in $PATH; do |
1991 |
test -z "$ac_dir" && ac_dir=. |
1992 |
if test -f $ac_dir/$ac_word; then |
1993 |
if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
1994 |
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
1995 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
1996 |
break |
1997 |
fi |
1998 |
fi |
1999 |
done |
2000 |
IFS="$ac_save_ifs" |
2001 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
2002 |
;; |
2003 |
esac |
2004 |
fi |
2005 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
2006 |
if test "$XGETTEXT" != ":"; then |
2007 |
echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
2008 |
echo "${ECHO_T}$XGETTEXT" >&6 |
2009 |
else |
2010 |
echo "$as_me:$LINENO: result: no" >&5 |
2011 |
echo "${ECHO_T}no" >&6 |
2012 |
fi |
2013 |
|
2014 |
rm -f messages.po |
2015 |
|
2016 |
# Extract the first word of "msgmerge", so it can be a program name with args. |
2017 |
set dummy msgmerge; ac_word=$2 |
2018 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2019 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2020 |
if test "${ac_cv_path_MSGMERGE+set}" = set; then |
2021 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2022 |
else |
2023 |
case "$MSGMERGE" in |
2024 |
/*) |
2025 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
2026 |
;; |
2027 |
*) |
2028 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2029 |
for ac_dir in $PATH; do |
2030 |
test -z "$ac_dir" && ac_dir=. |
2031 |
if test -f $ac_dir/$ac_word; then |
2032 |
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then |
2033 |
ac_cv_path_MSGMERGE="$ac_dir/$ac_word" |
2034 |
break |
2035 |
fi |
2036 |
fi |
2037 |
done |
2038 |
IFS="$ac_save_ifs" |
2039 |
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
2040 |
;; |
2041 |
esac |
2042 |
fi |
2043 |
MSGMERGE="$ac_cv_path_MSGMERGE" |
2044 |
if test "$MSGMERGE" != ":"; then |
2045 |
echo "$as_me:$LINENO: result: $MSGMERGE" >&5 |
2046 |
echo "${ECHO_T}$MSGMERGE" >&6 |
2047 |
else |
2048 |
echo "$as_me:$LINENO: result: no" >&5 |
2049 |
echo "${ECHO_T}no" >&6 |
2050 |
fi |
2051 |
|
2052 |
|
2053 |
if test "$GMSGFMT" != ":"; then |
2054 |
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && |
2055 |
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
2056 |
: ; |
2057 |
else |
2058 |
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` |
2059 |
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 |
2060 |
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 |
2061 |
GMSGFMT=":" |
2062 |
fi |
2063 |
fi |
2064 |
|
2065 |
if test "$XGETTEXT" != ":"; then |
2066 |
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
2067 |
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
2068 |
: ; |
2069 |
else |
2070 |
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
2071 |
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 |
2072 |
XGETTEXT=":" |
2073 |
fi |
2074 |
rm -f messages.po |
2075 |
fi |
2076 |
|
2077 |
ac_config_commands="$ac_config_commands default-1" |
2078 |
|
2079 |
|
2080 |
|
2081 |
if test "X$prefix" = "XNONE"; then |
2082 |
acl_final_prefix="$ac_default_prefix" |
2083 |
else |
2084 |
acl_final_prefix="$prefix" |
2085 |
fi |
2086 |
if test "X$exec_prefix" = "XNONE"; then |
2087 |
acl_final_exec_prefix='${prefix}' |
2088 |
else |
2089 |
acl_final_exec_prefix="$exec_prefix" |
2090 |
fi |
2091 |
acl_save_prefix="$prefix" |
2092 |
prefix="$acl_final_prefix" |
2093 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
2094 |
prefix="$acl_save_prefix" |
2095 |
|
2096 |
DEPDIR="${am__leading_dot}deps" |
2097 |
|
2098 |
ac_config_commands="$ac_config_commands depfiles" |
2099 |
|
2100 |
|
2101 |
am_make=${MAKE-make} |
2102 |
cat > confinc << 'END' |
2103 |
am__doit: |
2104 |
@echo done |
2105 |
.PHONY: am__doit |
2106 |
END |
2107 |
# If we don't find an include directive, just comment out the code. |
2108 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2109 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
2110 |
am__include="#" |
2111 |
am__quote= |
2112 |
_am_result=none |
2113 |
# First try GNU make style include. |
2114 |
echo "include confinc" > confmf |
2115 |
# We grep out `Entering directory' and `Leaving directory' |
2116 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
2117 |
# In particular we don't look at `^make:' because GNU make might |
2118 |
# be invoked under some other name (usually "gmake"), in which |
2119 |
# case it prints its new name instead of `make'. |
2120 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
2121 |
am__include=include |
2122 |
am__quote= |
2123 |
_am_result=GNU |
2124 |
fi |
2125 |
# Now try BSD make style include. |
2126 |
if test "$am__include" = "#"; then |
2127 |
echo '.include "confinc"' > confmf |
2128 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
2129 |
am__include=.include |
2130 |
am__quote="\"" |
2131 |
_am_result=BSD |
2132 |
fi |
2133 |
fi |
2134 |
|
2135 |
|
2136 |
echo "$as_me:$LINENO: result: $_am_result" >&5 |
2137 |
echo "${ECHO_T}$_am_result" >&6 |
2138 |
rm -f confinc confmf |
2139 |
|
2140 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
2141 |
if test "${enable_dependency_tracking+set}" = set; then |
2142 |
enableval="$enable_dependency_tracking" |
2143 |
|
2144 |
fi; |
2145 |
if test "x$enable_dependency_tracking" != xno; then |
2146 |
am_depcomp="$ac_aux_dir/depcomp" |
2147 |
AMDEPBACKSLASH='\' |
2148 |
fi |
2149 |
|
2150 |
|
2151 |
if test "x$enable_dependency_tracking" != xno; then |
2152 |
AMDEP_TRUE= |
2153 |
AMDEP_FALSE='#' |
2154 |
else |
2155 |
AMDEP_TRUE='#' |
2156 |
AMDEP_FALSE= |
2157 |
fi |
2158 |
|
2159 |
|
2160 |
|
2161 |
ac_ext=c |
2162 |
ac_cpp='$CPP $CPPFLAGS' |
2163 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2164 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2165 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2166 |
if test -n "$ac_tool_prefix"; then |
2167 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2168 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2169 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2170 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2171 |
if test "${ac_cv_prog_CC+set}" = set; then |
2172 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2173 |
else |
2174 |
if test -n "$CC"; then |
2175 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2176 |
else |
2177 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2178 |
for as_dir in $PATH |
2179 |
do |
2180 |
IFS=$as_save_IFS |
2181 |
test -z "$as_dir" && as_dir=. |
2182 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2183 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2184 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2185 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2186 |
break 2 |
2187 |
fi |
2188 |
done |
2189 |
done |
2190 |
|
2191 |
fi |
2192 |
fi |
2193 |
CC=$ac_cv_prog_CC |
2194 |
if test -n "$CC"; then |
2195 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2196 |
echo "${ECHO_T}$CC" >&6 |
2197 |
else |
2198 |
echo "$as_me:$LINENO: result: no" >&5 |
2199 |
echo "${ECHO_T}no" >&6 |
2200 |
fi |
2201 |
|
2202 |
fi |
2203 |
if test -z "$ac_cv_prog_CC"; then |
2204 |
ac_ct_CC=$CC |
2205 |
# Extract the first word of "gcc", so it can be a program name with args. |
2206 |
set dummy gcc; ac_word=$2 |
2207 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2208 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2209 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2210 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2211 |
else |
2212 |
if test -n "$ac_ct_CC"; then |
2213 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2214 |
else |
2215 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2216 |
for as_dir in $PATH |
2217 |
do |
2218 |
IFS=$as_save_IFS |
2219 |
test -z "$as_dir" && as_dir=. |
2220 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2221 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2222 |
ac_cv_prog_ac_ct_CC="gcc" |
2223 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2224 |
break 2 |
2225 |
fi |
2226 |
done |
2227 |
done |
2228 |
|
2229 |
fi |
2230 |
fi |
2231 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2232 |
if test -n "$ac_ct_CC"; then |
2233 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2234 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2235 |
else |
2236 |
echo "$as_me:$LINENO: result: no" >&5 |
2237 |
echo "${ECHO_T}no" >&6 |
2238 |
fi |
2239 |
|
2240 |
CC=$ac_ct_CC |
2241 |
else |
2242 |
CC="$ac_cv_prog_CC" |
2243 |
fi |
2244 |
|
2245 |
if test -z "$CC"; then |
2246 |
if test -n "$ac_tool_prefix"; then |
2247 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2248 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2249 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2250 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2251 |
if test "${ac_cv_prog_CC+set}" = set; then |
2252 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2253 |
else |
2254 |
if test -n "$CC"; then |
2255 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2256 |
else |
2257 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2258 |
for as_dir in $PATH |
2259 |
do |
2260 |
IFS=$as_save_IFS |
2261 |
test -z "$as_dir" && as_dir=. |
2262 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2263 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2264 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
2265 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2266 |
break 2 |
2267 |
fi |
2268 |
done |
2269 |
done |
2270 |
|
2271 |
fi |
2272 |
fi |
2273 |
CC=$ac_cv_prog_CC |
2274 |
if test -n "$CC"; then |
2275 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2276 |
echo "${ECHO_T}$CC" >&6 |
2277 |
else |
2278 |
echo "$as_me:$LINENO: result: no" >&5 |
2279 |
echo "${ECHO_T}no" >&6 |
2280 |
fi |
2281 |
|
2282 |
fi |
2283 |
if test -z "$ac_cv_prog_CC"; then |
2284 |
ac_ct_CC=$CC |
2285 |
# Extract the first word of "cc", so it can be a program name with args. |
2286 |
set dummy cc; ac_word=$2 |
2287 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2288 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2289 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2290 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2291 |
else |
2292 |
if test -n "$ac_ct_CC"; then |
2293 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2294 |
else |
2295 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2296 |
for as_dir in $PATH |
2297 |
do |
2298 |
IFS=$as_save_IFS |
2299 |
test -z "$as_dir" && as_dir=. |
2300 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2301 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2302 |
ac_cv_prog_ac_ct_CC="cc" |
2303 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2304 |
break 2 |
2305 |
fi |
2306 |
done |
2307 |
done |
2308 |
|
2309 |
fi |
2310 |
fi |
2311 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2312 |
if test -n "$ac_ct_CC"; then |
2313 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2314 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2315 |
else |
2316 |
echo "$as_me:$LINENO: result: no" >&5 |
2317 |
echo "${ECHO_T}no" >&6 |
2318 |
fi |
2319 |
|
2320 |
CC=$ac_ct_CC |
2321 |
else |
2322 |
CC="$ac_cv_prog_CC" |
2323 |
fi |
2324 |
|
2325 |
fi |
2326 |
if test -z "$CC"; then |
2327 |
# Extract the first word of "cc", so it can be a program name with args. |
2328 |
set dummy cc; ac_word=$2 |
2329 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2330 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2331 |
if test "${ac_cv_prog_CC+set}" = set; then |
2332 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2333 |
else |
2334 |
if test -n "$CC"; then |
2335 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2336 |
else |
2337 |
ac_prog_rejected=no |
2338 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2339 |
for as_dir in $PATH |
2340 |
do |
2341 |
IFS=$as_save_IFS |
2342 |
test -z "$as_dir" && as_dir=. |
2343 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2344 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2345 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2346 |
ac_prog_rejected=yes |
2347 |
continue |
2348 |
fi |
2349 |
ac_cv_prog_CC="cc" |
2350 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2351 |
break 2 |
2352 |
fi |
2353 |
done |
2354 |
done |
2355 |
|
2356 |
if test $ac_prog_rejected = yes; then |
2357 |
# We found a bogon in the path, so make sure we never use it. |
2358 |
set dummy $ac_cv_prog_CC |
2359 |
shift |
2360 |
if test $# != 0; then |
2361 |
# We chose a different compiler from the bogus one. |
2362 |
# However, it has the same basename, so the bogon will be chosen |
2363 |
# first if we set CC to just the basename; use the full file name. |
2364 |
shift |
2365 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2366 |
fi |
2367 |
fi |
2368 |
fi |
2369 |
fi |
2370 |
CC=$ac_cv_prog_CC |
2371 |
if test -n "$CC"; then |
2372 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2373 |
echo "${ECHO_T}$CC" >&6 |
2374 |
else |
2375 |
echo "$as_me:$LINENO: result: no" >&5 |
2376 |
echo "${ECHO_T}no" >&6 |
2377 |
fi |
2378 |
|
2379 |
fi |
2380 |
if test -z "$CC"; then |
2381 |
if test -n "$ac_tool_prefix"; then |
2382 |
for ac_prog in cl |
2383 |
do |
2384 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2385 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2386 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2387 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2388 |
if test "${ac_cv_prog_CC+set}" = set; then |
2389 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2390 |
else |
2391 |
if test -n "$CC"; then |
2392 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2393 |
else |
2394 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2395 |
for as_dir in $PATH |
2396 |
do |
2397 |
IFS=$as_save_IFS |
2398 |
test -z "$as_dir" && as_dir=. |
2399 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2400 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2401 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2402 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2403 |
break 2 |
2404 |
fi |
2405 |
done |
2406 |
done |
2407 |
|
2408 |
fi |
2409 |
fi |
2410 |
CC=$ac_cv_prog_CC |
2411 |
if test -n "$CC"; then |
2412 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2413 |
echo "${ECHO_T}$CC" >&6 |
2414 |
else |
2415 |
echo "$as_me:$LINENO: result: no" >&5 |
2416 |
echo "${ECHO_T}no" >&6 |
2417 |
fi |
2418 |
|
2419 |
test -n "$CC" && break |
2420 |
done |
2421 |
fi |
2422 |
if test -z "$CC"; then |
2423 |
ac_ct_CC=$CC |
2424 |
for ac_prog in cl |
2425 |
do |
2426 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2427 |
set dummy $ac_prog; ac_word=$2 |
2428 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2429 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2430 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2431 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2432 |
else |
2433 |
if test -n "$ac_ct_CC"; then |
2434 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2435 |
else |
2436 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2437 |
for as_dir in $PATH |
2438 |
do |
2439 |
IFS=$as_save_IFS |
2440 |
test -z "$as_dir" && as_dir=. |
2441 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2442 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2443 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
2444 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2445 |
break 2 |
2446 |
fi |
2447 |
done |
2448 |
done |
2449 |
|
2450 |
fi |
2451 |
fi |
2452 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2453 |
if test -n "$ac_ct_CC"; then |
2454 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2455 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2456 |
else |
2457 |
echo "$as_me:$LINENO: result: no" >&5 |
2458 |
echo "${ECHO_T}no" >&6 |
2459 |
fi |
2460 |
|
2461 |
test -n "$ac_ct_CC" && break |
2462 |
done |
2463 |
|
2464 |
CC=$ac_ct_CC |
2465 |
fi |
2466 |
|
2467 |
fi |
2468 |
|
2469 |
|
2470 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2471 |
See \`config.log' for more details." >&5 |
2472 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2473 |
See \`config.log' for more details." >&2;} |
2474 |
{ (exit 1); exit 1; }; } |
2475 |
|
2476 |
# Provide some information about the compiler. |
2477 |
echo "$as_me:$LINENO:" \ |
2478 |
"checking for C compiler version" >&5 |
2479 |
ac_compiler=`set X $ac_compile; echo $2` |
2480 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2481 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2482 |
ac_status=$? |
2483 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2484 |
(exit $ac_status); } |
2485 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2486 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2487 |
ac_status=$? |
2488 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2489 |
(exit $ac_status); } |
2490 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2491 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2492 |
ac_status=$? |
2493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2494 |
(exit $ac_status); } |
2495 |
|
2496 |
cat >conftest.$ac_ext <<_ACEOF |
2497 |
/* confdefs.h. */ |
2498 |
_ACEOF |
2499 |
cat confdefs.h >>conftest.$ac_ext |
2500 |
cat >>conftest.$ac_ext <<_ACEOF |
2501 |
/* end confdefs.h. */ |
2502 |
|
2503 |
int |
2504 |
main () |
2505 |
{ |
2506 |
|
2507 |
; |
2508 |
return 0; |
2509 |
} |
2510 |
_ACEOF |
2511 |
ac_clean_files_save=$ac_clean_files |
2512 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2513 |
# Try to create an executable without -o first, disregard a.out. |
2514 |
# It will help us diagnose broken compilers, and finding out an intuition |
2515 |
# of exeext. |
2516 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2517 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2518 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2519 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2520 |
(eval $ac_link_default) 2>&5 |
2521 |
ac_status=$? |
2522 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2523 |
(exit $ac_status); }; then |
2524 |
# Find the output, starting from the most likely. This scheme is |
2525 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2526 |
# resort. |
2527 |
|
2528 |
# Be careful to initialize this variable, since it used to be cached. |
2529 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2530 |
ac_cv_exeext= |
2531 |
# b.out is created by i960 compilers. |
2532 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2533 |
do |
2534 |
test -f "$ac_file" || continue |
2535 |
case $ac_file in |
2536 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2537 |
;; |
2538 |
conftest.$ac_ext ) |
2539 |
# This is the source file. |
2540 |
;; |
2541 |
[ab].out ) |
2542 |
# We found the default executable, but exeext='' is most |
2543 |
# certainly right. |
2544 |
break;; |
2545 |
*.* ) |
2546 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2547 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2548 |
# but it would be cool to find out if it's true. Does anybody |
2549 |
# maintain Libtool? --akim. |
2550 |
export ac_cv_exeext |
2551 |
break;; |
2552 |
* ) |
2553 |
break;; |
2554 |
esac |
2555 |
done |
2556 |
else |
2557 |
echo "$as_me: failed program was:" >&5 |
2558 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2559 |
|
2560 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2561 |
See \`config.log' for more details." >&5 |
2562 |
echo "$as_me: error: C compiler cannot create executables |
2563 |
See \`config.log' for more details." >&2;} |
2564 |
{ (exit 77); exit 77; }; } |
2565 |
fi |
2566 |
|
2567 |
ac_exeext=$ac_cv_exeext |
2568 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2569 |
echo "${ECHO_T}$ac_file" >&6 |
2570 |
|
2571 |
# Check the compiler produces executables we can run. If not, either |
2572 |
# the compiler is broken, or we cross compile. |
2573 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2574 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2575 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2576 |
# If not cross compiling, check that we can run a simple program. |
2577 |
if test "$cross_compiling" != yes; then |
2578 |
if { ac_try='./$ac_file' |
2579 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2580 |
(eval $ac_try) 2>&5 |
2581 |
ac_status=$? |
2582 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2583 |
(exit $ac_status); }; }; then |
2584 |
cross_compiling=no |
2585 |
else |
2586 |
if test "$cross_compiling" = maybe; then |
2587 |
cross_compiling=yes |
2588 |
else |
2589 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2590 |
If you meant to cross compile, use \`--host'. |
2591 |
See \`config.log' for more details." >&5 |
2592 |
echo "$as_me: error: cannot run C compiled programs. |
2593 |
If you meant to cross compile, use \`--host'. |
2594 |
See \`config.log' for more details." >&2;} |
2595 |
{ (exit 1); exit 1; }; } |
2596 |
fi |
2597 |
fi |
2598 |
fi |
2599 |
echo "$as_me:$LINENO: result: yes" >&5 |
2600 |
echo "${ECHO_T}yes" >&6 |
2601 |
|
2602 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2603 |
ac_clean_files=$ac_clean_files_save |
2604 |
# Check the compiler produces executables we can run. If not, either |
2605 |
# the compiler is broken, or we cross compile. |
2606 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2607 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2608 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2609 |
echo "${ECHO_T}$cross_compiling" >&6 |
2610 |
|
2611 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2612 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2613 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2614 |
(eval $ac_link) 2>&5 |
2615 |
ac_status=$? |
2616 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2617 |
(exit $ac_status); }; then |
2618 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2619 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2620 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2621 |
# `rm'. |
2622 |
for ac_file in conftest.exe conftest conftest.*; do |
2623 |
test -f "$ac_file" || continue |
2624 |
case $ac_file in |
2625 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2626 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2627 |
export ac_cv_exeext |
2628 |
break;; |
2629 |
* ) break;; |
2630 |
esac |
2631 |
done |
2632 |
else |
2633 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2634 |
See \`config.log' for more details." >&5 |
2635 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2636 |
See \`config.log' for more details." >&2;} |
2637 |
{ (exit 1); exit 1; }; } |
2638 |
fi |
2639 |
|
2640 |
rm -f conftest$ac_cv_exeext |
2641 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2642 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2643 |
|
2644 |
rm -f conftest.$ac_ext |
2645 |
EXEEXT=$ac_cv_exeext |
2646 |
ac_exeext=$EXEEXT |
2647 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2648 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2649 |
if test "${ac_cv_objext+set}" = set; then |
2650 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2651 |
else |
2652 |
cat >conftest.$ac_ext <<_ACEOF |
2653 |
/* confdefs.h. */ |
2654 |
_ACEOF |
2655 |
cat confdefs.h >>conftest.$ac_ext |
2656 |
cat >>conftest.$ac_ext <<_ACEOF |
2657 |
/* end confdefs.h. */ |
2658 |
|
2659 |
int |
2660 |
main () |
2661 |
{ |
2662 |
|
2663 |
; |
2664 |
return 0; |
2665 |
} |
2666 |
_ACEOF |
2667 |
rm -f conftest.o conftest.obj |
2668 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2669 |
(eval $ac_compile) 2>&5 |
2670 |
ac_status=$? |
2671 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2672 |
(exit $ac_status); }; then |
2673 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2674 |
case $ac_file in |
2675 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2676 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2677 |
break;; |
2678 |
esac |
2679 |
done |
2680 |
else |
2681 |
echo "$as_me: failed program was:" >&5 |
2682 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2683 |
|
2684 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2685 |
See \`config.log' for more details." >&5 |
2686 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2687 |
See \`config.log' for more details." >&2;} |
2688 |
{ (exit 1); exit 1; }; } |
2689 |
fi |
2690 |
|
2691 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2692 |
fi |
2693 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2694 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2695 |
OBJEXT=$ac_cv_objext |
2696 |
ac_objext=$OBJEXT |
2697 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2698 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2699 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2700 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2701 |
else |
2702 |
cat >conftest.$ac_ext <<_ACEOF |
2703 |
/* confdefs.h. */ |
2704 |
_ACEOF |
2705 |
cat confdefs.h >>conftest.$ac_ext |
2706 |
cat >>conftest.$ac_ext <<_ACEOF |
2707 |
/* end confdefs.h. */ |
2708 |
|
2709 |
int |
2710 |
main () |
2711 |
{ |
2712 |
#ifndef __GNUC__ |
2713 |
choke me |
2714 |
#endif |
2715 |
|
2716 |
; |
2717 |
return 0; |
2718 |
} |
2719 |
_ACEOF |
2720 |
rm -f conftest.$ac_objext |
2721 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2722 |
(eval $ac_compile) 2>conftest.er1 |
2723 |
ac_status=$? |
2724 |
grep -v '^ *+' conftest.er1 >conftest.err |
2725 |
rm -f conftest.er1 |
2726 |
cat conftest.err >&5 |
2727 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2728 |
(exit $ac_status); } && |
2729 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2730 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2731 |
(eval $ac_try) 2>&5 |
2732 |
ac_status=$? |
2733 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2734 |
(exit $ac_status); }; } && |
2735 |
{ ac_try='test -s conftest.$ac_objext' |
2736 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2737 |
(eval $ac_try) 2>&5 |
2738 |
ac_status=$? |
2739 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2740 |
(exit $ac_status); }; }; then |
2741 |
ac_compiler_gnu=yes |
2742 |
else |
2743 |
echo "$as_me: failed program was:" >&5 |
2744 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2745 |
|
2746 |
ac_compiler_gnu=no |
2747 |
fi |
2748 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2749 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2750 |
|
2751 |
fi |
2752 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2753 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2754 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2755 |
ac_test_CFLAGS=${CFLAGS+set} |
2756 |
ac_save_CFLAGS=$CFLAGS |
2757 |
CFLAGS="-g" |
2758 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2759 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2760 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2761 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2762 |
else |
2763 |
cat >conftest.$ac_ext <<_ACEOF |
2764 |
/* confdefs.h. */ |
2765 |
_ACEOF |
2766 |
cat confdefs.h >>conftest.$ac_ext |
2767 |
cat >>conftest.$ac_ext <<_ACEOF |
2768 |
/* end confdefs.h. */ |
2769 |
|
2770 |
int |
2771 |
main () |
2772 |
{ |
2773 |
|
2774 |
; |
2775 |
return 0; |
2776 |
} |
2777 |
_ACEOF |
2778 |
rm -f conftest.$ac_objext |
2779 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2780 |
(eval $ac_compile) 2>conftest.er1 |
2781 |
ac_status=$? |
2782 |
grep -v '^ *+' conftest.er1 >conftest.err |
2783 |
rm -f conftest.er1 |
2784 |
cat conftest.err >&5 |
2785 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2786 |
(exit $ac_status); } && |
2787 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2788 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2789 |
(eval $ac_try) 2>&5 |
2790 |
ac_status=$? |
2791 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2792 |
(exit $ac_status); }; } && |
2793 |
{ ac_try='test -s conftest.$ac_objext' |
2794 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2795 |
(eval $ac_try) 2>&5 |
2796 |
ac_status=$? |
2797 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2798 |
(exit $ac_status); }; }; then |
2799 |
ac_cv_prog_cc_g=yes |
2800 |
else |
2801 |
echo "$as_me: failed program was:" >&5 |
2802 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2803 |
|
2804 |
ac_cv_prog_cc_g=no |
2805 |
fi |
2806 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2807 |
fi |
2808 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2809 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2810 |
if test "$ac_test_CFLAGS" = set; then |
2811 |
CFLAGS=$ac_save_CFLAGS |
2812 |
elif test $ac_cv_prog_cc_g = yes; then |
2813 |
if test "$GCC" = yes; then |
2814 |
CFLAGS="-g -O2" |
2815 |
else |
2816 |
CFLAGS="-g" |
2817 |
fi |
2818 |
else |
2819 |
if test "$GCC" = yes; then |
2820 |
CFLAGS="-O2" |
2821 |
else |
2822 |
CFLAGS= |
2823 |
fi |
2824 |
fi |
2825 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2826 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2827 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2828 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2829 |
else |
2830 |
ac_cv_prog_cc_stdc=no |
2831 |
ac_save_CC=$CC |
2832 |
cat >conftest.$ac_ext <<_ACEOF |
2833 |
/* confdefs.h. */ |
2834 |
_ACEOF |
2835 |
cat confdefs.h >>conftest.$ac_ext |
2836 |
cat >>conftest.$ac_ext <<_ACEOF |
2837 |
/* end confdefs.h. */ |
2838 |
#include <stdarg.h> |
2839 |
#include <stdio.h> |
2840 |
#include <sys/types.h> |
2841 |
#include <sys/stat.h> |
2842 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2843 |
struct buf { int x; }; |
2844 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2845 |
static char *e (p, i) |
2846 |
char **p; |
2847 |
int i; |
2848 |
{ |
2849 |
return p[i]; |
2850 |
} |
2851 |
static char *f (char * (*g) (char **, int), char **p, ...) |
2852 |
{ |
2853 |
char *s; |
2854 |
va_list v; |
2855 |
va_start (v,p); |
2856 |
s = g (p, va_arg (v,int)); |
2857 |
va_end (v); |
2858 |
return s; |
2859 |
} |
2860 |
|
2861 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2862 |
function prototypes and stuff, but not '\xHH' hex character constants. |
2863 |
These don't provoke an error unfortunately, instead are silently treated |
2864 |
as 'x'. The following induces an error, until -std1 is added to get |
2865 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2866 |
array size at least. It's necessary to write '\x00'==0 to get something |
2867 |
that's true only with -std1. */ |
2868 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2869 |
|
2870 |
int test (int i, double x); |
2871 |
struct s1 {int (*f) (int a);}; |
2872 |
struct s2 {int (*f) (double a);}; |
2873 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2874 |
int argc; |
2875 |
char **argv; |
2876 |
int |
2877 |
main () |
2878 |
{ |
2879 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2880 |
; |
2881 |
return 0; |
2882 |
} |
2883 |
_ACEOF |
2884 |
# Don't try gcc -ansi; that turns off useful extensions and |
2885 |
# breaks some systems' header files. |
2886 |
# AIX -qlanglvl=ansi |
2887 |
# Ultrix and OSF/1 -std1 |
2888 |
# HP-UX 10.20 and later -Ae |
2889 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2890 |
# SVR4 -Xc -D__EXTENSIONS__ |
2891 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2892 |
do |
2893 |
CC="$ac_save_CC $ac_arg" |
2894 |
rm -f conftest.$ac_objext |
2895 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2896 |
(eval $ac_compile) 2>conftest.er1 |
2897 |
ac_status=$? |
2898 |
grep -v '^ *+' conftest.er1 >conftest.err |
2899 |
rm -f conftest.er1 |
2900 |
cat conftest.err >&5 |
2901 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2902 |
(exit $ac_status); } && |
2903 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2904 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2905 |
(eval $ac_try) 2>&5 |
2906 |
ac_status=$? |
2907 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2908 |
(exit $ac_status); }; } && |
2909 |
{ ac_try='test -s conftest.$ac_objext' |
2910 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2911 |
(eval $ac_try) 2>&5 |
2912 |
ac_status=$? |
2913 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2914 |
(exit $ac_status); }; }; then |
2915 |
ac_cv_prog_cc_stdc=$ac_arg |
2916 |
break |
2917 |
else |
2918 |
echo "$as_me: failed program was:" >&5 |
2919 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2920 |
|
2921 |
fi |
2922 |
rm -f conftest.err conftest.$ac_objext |
2923 |
done |
2924 |
rm -f conftest.$ac_ext conftest.$ac_objext |
2925 |
CC=$ac_save_CC |
2926 |
|
2927 |
fi |
2928 |
|
2929 |
case "x$ac_cv_prog_cc_stdc" in |
2930 |
x|xno) |
2931 |
echo "$as_me:$LINENO: result: none needed" >&5 |
2932 |
echo "${ECHO_T}none needed" >&6 ;; |
2933 |
*) |
2934 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2935 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2936 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2937 |
esac |
2938 |
|
2939 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2940 |
# in C++ we need to declare it. In case someone uses the same compiler |
2941 |
# for both compiling C and C++ we need to have the C++ compiler decide |
2942 |
# the declaration of exit, since it's the most demanding environment. |
2943 |
cat >conftest.$ac_ext <<_ACEOF |
2944 |
#ifndef __cplusplus |
2945 |
choke me |
2946 |
#endif |
2947 |
_ACEOF |
2948 |
rm -f conftest.$ac_objext |
2949 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2950 |
(eval $ac_compile) 2>conftest.er1 |
2951 |
ac_status=$? |
2952 |
grep -v '^ *+' conftest.er1 >conftest.err |
2953 |
rm -f conftest.er1 |
2954 |
cat conftest.err >&5 |
2955 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2956 |
(exit $ac_status); } && |
2957 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2958 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2959 |
(eval $ac_try) 2>&5 |
2960 |
ac_status=$? |
2961 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2962 |
(exit $ac_status); }; } && |
2963 |
{ ac_try='test -s conftest.$ac_objext' |
2964 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2965 |
(eval $ac_try) 2>&5 |
2966 |
ac_status=$? |
2967 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2968 |
(exit $ac_status); }; }; then |
2969 |
for ac_declaration in \ |
2970 |
'' \ |
2971 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2972 |
'extern "C" void std::exit (int); using std::exit;' \ |
2973 |
'extern "C" void exit (int) throw ();' \ |
2974 |
'extern "C" void exit (int);' \ |
2975 |
'void exit (int);' |
2976 |
do |
2977 |
cat >conftest.$ac_ext <<_ACEOF |
2978 |
/* confdefs.h. */ |
2979 |
_ACEOF |
2980 |
cat confdefs.h >>conftest.$ac_ext |
2981 |
cat >>conftest.$ac_ext <<_ACEOF |
2982 |
/* end confdefs.h. */ |
2983 |
$ac_declaration |
2984 |
#include <stdlib.h> |
2985 |
int |
2986 |
main () |
2987 |
{ |
2988 |
exit (42); |
2989 |
; |
2990 |
return 0; |
2991 |
} |
2992 |
_ACEOF |
2993 |
rm -f conftest.$ac_objext |
2994 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2995 |
(eval $ac_compile) 2>conftest.er1 |
2996 |
ac_status=$? |
2997 |
grep -v '^ *+' conftest.er1 >conftest.err |
2998 |
rm -f conftest.er1 |
2999 |
cat conftest.err >&5 |
3000 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3001 |
(exit $ac_status); } && |
3002 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3003 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3004 |
(eval $ac_try) 2>&5 |
3005 |
ac_status=$? |
3006 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3007 |
(exit $ac_status); }; } && |
3008 |
{ ac_try='test -s conftest.$ac_objext' |
3009 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3010 |
(eval $ac_try) 2>&5 |
3011 |
ac_status=$? |
3012 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3013 |
(exit $ac_status); }; }; then |
3014 |
: |
3015 |
else |
3016 |
echo "$as_me: failed program was:" >&5 |
3017 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3018 |
|
3019 |
continue |
3020 |
fi |
3021 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3022 |
cat >conftest.$ac_ext <<_ACEOF |
3023 |
/* confdefs.h. */ |
3024 |
_ACEOF |
3025 |
cat confdefs.h >>conftest.$ac_ext |
3026 |
cat >>conftest.$ac_ext <<_ACEOF |
3027 |
/* end confdefs.h. */ |
3028 |
$ac_declaration |
3029 |
int |
3030 |
main () |
3031 |
{ |
3032 |
exit (42); |
3033 |
; |
3034 |
return 0; |
3035 |
} |
3036 |
_ACEOF |
3037 |
rm -f conftest.$ac_objext |
3038 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3039 |
(eval $ac_compile) 2>conftest.er1 |
3040 |
ac_status=$? |
3041 |
grep -v '^ *+' conftest.er1 >conftest.err |
3042 |
rm -f conftest.er1 |
3043 |
cat conftest.err >&5 |
3044 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3045 |
(exit $ac_status); } && |
3046 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3047 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3048 |
(eval $ac_try) 2>&5 |
3049 |
ac_status=$? |
3050 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3051 |
(exit $ac_status); }; } && |
3052 |
{ ac_try='test -s conftest.$ac_objext' |
3053 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3054 |
(eval $ac_try) 2>&5 |
3055 |
ac_status=$? |
3056 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3057 |
(exit $ac_status); }; }; then |
3058 |
break |
3059 |
else |
3060 |
echo "$as_me: failed program was:" >&5 |
3061 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3062 |
|
3063 |
fi |
3064 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3065 |
done |
3066 |
rm -f conftest* |
3067 |
if test -n "$ac_declaration"; then |
3068 |
echo '#ifdef __cplusplus' >>confdefs.h |
3069 |
echo $ac_declaration >>confdefs.h |
3070 |
echo '#endif' >>confdefs.h |
3071 |
fi |
3072 |
|
3073 |
else |
3074 |
echo "$as_me: failed program was:" >&5 |
3075 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3076 |
|
3077 |
fi |
3078 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3079 |
ac_ext=c |
3080 |
ac_cpp='$CPP $CPPFLAGS' |
3081 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3082 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3083 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3084 |
|
3085 |
depcc="$CC" am_compiler_list= |
3086 |
|
3087 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3088 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3089 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3090 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3091 |
else |
3092 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3093 |
# We make a subdir and do the tests there. Otherwise we can end up |
3094 |
# making bogus files that we don't know about and never remove. For |
3095 |
# instance it was reported that on HP-UX the gcc test will end up |
3096 |
# making a dummy file named `D' -- because `-MD' means `put the output |
3097 |
# in D'. |
3098 |
mkdir conftest.dir |
3099 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
3100 |
# using a relative directory. |
3101 |
cp "$am_depcomp" conftest.dir |
3102 |
cd conftest.dir |
3103 |
# We will build objects and dependencies in a subdirectory because |
3104 |
# it helps to detect inapplicable dependency modes. For instance |
3105 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
3106 |
# side effect of compilation, but ICC will put the dependencies in |
3107 |
# the current directory while Tru64 will put them in the object |
3108 |
# directory. |
3109 |
mkdir sub |
3110 |
|
3111 |
am_cv_CC_dependencies_compiler_type=none |
3112 |
if test "$am_compiler_list" = ""; then |
3113 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3114 |
fi |
3115 |
for depmode in $am_compiler_list; do |
3116 |
# Setup a source with many dependencies, because some compilers |
3117 |
# like to wrap large dependency lists on column 80 (with \), and |
3118 |
# we should not choose a depcomp mode which is confused by this. |
3119 |
# |
3120 |
# We need to recreate these files for each test, as the compiler may |
3121 |
# overwrite some of them when testing with obscure command lines. |
3122 |
# This happens at least with the AIX C compiler. |
3123 |
: > sub/conftest.c |
3124 |
for i in 1 2 3 4 5 6; do |
3125 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3126 |
: > sub/conftst$i.h |
3127 |
done |
3128 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3129 |
|
3130 |
case $depmode in |
3131 |
nosideeffect) |
3132 |
# after this tag, mechanisms are not by side-effect, so they'll |
3133 |
# only be used when explicitly requested |
3134 |
if test "x$enable_dependency_tracking" = xyes; then |
3135 |
continue |
3136 |
else |
3137 |
break |
3138 |
fi |
3139 |
;; |
3140 |
none) break ;; |
3141 |
esac |
3142 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3143 |
# mode. It turns out that the SunPro C++ compiler does not properly |
3144 |
# handle `-M -o', and we need to detect this. |
3145 |
if depmode=$depmode \ |
3146 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
3147 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3148 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
3149 |
>/dev/null 2>conftest.err && |
3150 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3151 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3152 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3153 |
# icc doesn't choke on unknown options, it will just issue warnings |
3154 |
# (even with -Werror). So we grep stderr for any message |
3155 |
# that says an option was ignored. |
3156 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
3157 |
am_cv_CC_dependencies_compiler_type=$depmode |
3158 |
break |
3159 |
fi |
3160 |
fi |
3161 |
done |
3162 |
|
3163 |
cd .. |
3164 |
rm -rf conftest.dir |
3165 |
else |
3166 |
am_cv_CC_dependencies_compiler_type=none |
3167 |
fi |
3168 |
|
3169 |
fi |
3170 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3171 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3172 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3173 |
|
3174 |
|
3175 |
|
3176 |
if |
3177 |
test "x$enable_dependency_tracking" != xno \ |
3178 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3179 |
am__fastdepCC_TRUE= |
3180 |
am__fastdepCC_FALSE='#' |
3181 |
else |
3182 |
am__fastdepCC_TRUE='#' |
3183 |
am__fastdepCC_FALSE= |
3184 |
fi |
3185 |
|
3186 |
|
3187 |
|
3188 |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
3189 |
if test "${with_gnu_ld+set}" = set; then |
3190 |
withval="$with_gnu_ld" |
3191 |
test "$withval" = no || with_gnu_ld=yes |
3192 |
else |
3193 |
with_gnu_ld=no |
3194 |
fi; |
3195 |
ac_prog=ld |
3196 |
if test "$GCC" = yes; then |
3197 |
# Check if gcc -print-prog-name=ld gives a path. |
3198 |
echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
3199 |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
3200 |
case $host in |
3201 |
*-*-mingw*) |
3202 |
# gcc leaves a trailing carriage return which upsets mingw |
3203 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
3204 |
*) |
3205 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
3206 |
esac |
3207 |
case $ac_prog in |
3208 |
# Accept absolute paths. |
3209 |
[\\/]* | [A-Za-z]:[\\/]*) |
3210 |
re_direlt='/[^/][^/]*/\.\./' |
3211 |
# Canonicalize the path of ld |
3212 |
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
3213 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
3214 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
3215 |
done |
3216 |
test -z "$LD" && LD="$ac_prog" |
3217 |
;; |
3218 |
"") |
3219 |
# If it fails, then pretend we aren't using GCC. |
3220 |
ac_prog=ld |
3221 |
;; |
3222 |
*) |
3223 |
# If it is relative, then search for the first ld in PATH. |
3224 |
with_gnu_ld=unknown |
3225 |
;; |
3226 |
esac |
3227 |
elif test "$with_gnu_ld" = yes; then |
3228 |
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
3229 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
3230 |
else |
3231 |
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
3232 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
3233 |
fi |
3234 |
if test "${acl_cv_path_LD+set}" = set; then |
3235 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3236 |
else |
3237 |
if test -z "$LD"; then |
3238 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
3239 |
for ac_dir in $PATH; do |
3240 |
test -z "$ac_dir" && ac_dir=. |
3241 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
3242 |
acl_cv_path_LD="$ac_dir/$ac_prog" |
3243 |
# Check to see if the program is GNU ld. I'd rather use --version, |
3244 |
# but apparently some GNU ld's only accept -v. |
3245 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
3246 |
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
3247 |
test "$with_gnu_ld" != no && break |
3248 |
else |
3249 |
test "$with_gnu_ld" != yes && break |
3250 |
fi |
3251 |
fi |
3252 |
done |
3253 |
IFS="$ac_save_ifs" |
3254 |
else |
3255 |
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
3256 |
fi |
3257 |
fi |
3258 |
|
3259 |
LD="$acl_cv_path_LD" |
3260 |
if test -n "$LD"; then |
3261 |
echo "$as_me:$LINENO: result: $LD" >&5 |
3262 |
echo "${ECHO_T}$LD" >&6 |
3263 |
else |
3264 |
echo "$as_me:$LINENO: result: no" >&5 |
3265 |
echo "${ECHO_T}no" >&6 |
3266 |
fi |
3267 |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
3268 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
3269 |
{ (exit 1); exit 1; }; } |
3270 |
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
3271 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
3272 |
if test "${acl_cv_prog_gnu_ld+set}" = set; then |
3273 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3274 |
else |
3275 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
3276 |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
3277 |
acl_cv_prog_gnu_ld=yes |
3278 |
else |
3279 |
acl_cv_prog_gnu_ld=no |
3280 |
fi |
3281 |
fi |
3282 |
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 |
3283 |
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 |
3284 |
with_gnu_ld=$acl_cv_prog_gnu_ld |
3285 |
|
3286 |
|
3287 |
|
3288 |
echo "$as_me:$LINENO: checking for shared library run path origin" >&5 |
3289 |
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 |
3290 |
if test "${acl_cv_rpath+set}" = set; then |
3291 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3292 |
else |
3293 |
|
3294 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
3295 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
3296 |
. ./conftest.sh |
3297 |
rm -f ./conftest.sh |
3298 |
acl_cv_rpath=done |
3299 |
|
3300 |
fi |
3301 |
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 |
3302 |
echo "${ECHO_T}$acl_cv_rpath" >&6 |
3303 |
wl="$acl_cv_wl" |
3304 |
libext="$acl_cv_libext" |
3305 |
shlibext="$acl_cv_shlibext" |
3306 |
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
3307 |
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
3308 |
hardcode_direct="$acl_cv_hardcode_direct" |
3309 |
hardcode_minus_L="$acl_cv_hardcode_minus_L" |
3310 |
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" |
3311 |
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" |
3312 |
# Check whether --enable-rpath or --disable-rpath was given. |
3313 |
if test "${enable_rpath+set}" = set; then |
3314 |
enableval="$enable_rpath" |
3315 |
: |
3316 |
else |
3317 |
enable_rpath=yes |
3318 |
fi; |
3319 |
|
3320 |
|
3321 |
|
3322 |
|
3323 |
|
3324 |
|
3325 |
|
3326 |
use_additional=yes |
3327 |
|
3328 |
acl_save_prefix="$prefix" |
3329 |
prefix="$acl_final_prefix" |
3330 |
acl_save_exec_prefix="$exec_prefix" |
3331 |
exec_prefix="$acl_final_exec_prefix" |
3332 |
|
3333 |
eval additional_includedir=\"$includedir\" |
3334 |
eval additional_libdir=\"$libdir\" |
3335 |
|
3336 |
exec_prefix="$acl_save_exec_prefix" |
3337 |
prefix="$acl_save_prefix" |
3338 |
|
3339 |
|
3340 |
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. |
3341 |
if test "${with_libiconv_prefix+set}" = set; then |
3342 |
withval="$with_libiconv_prefix" |
3343 |
|
3344 |
if test "X$withval" = "Xno"; then |
3345 |
use_additional=no |
3346 |
else |
3347 |
if test "X$withval" = "X"; then |
3348 |
|
3349 |
acl_save_prefix="$prefix" |
3350 |
prefix="$acl_final_prefix" |
3351 |
acl_save_exec_prefix="$exec_prefix" |
3352 |
exec_prefix="$acl_final_exec_prefix" |
3353 |
|
3354 |
eval additional_includedir=\"$includedir\" |
3355 |
eval additional_libdir=\"$libdir\" |
3356 |
|
3357 |
exec_prefix="$acl_save_exec_prefix" |
3358 |
prefix="$acl_save_prefix" |
3359 |
|
3360 |
else |
3361 |
additional_includedir="$withval/include" |
3362 |
additional_libdir="$withval/lib" |
3363 |
fi |
3364 |
fi |
3365 |
|
3366 |
fi; |
3367 |
LIBICONV= |
3368 |
LTLIBICONV= |
3369 |
INCICONV= |
3370 |
rpathdirs= |
3371 |
ltrpathdirs= |
3372 |
names_already_handled= |
3373 |
names_next_round='iconv ' |
3374 |
while test -n "$names_next_round"; do |
3375 |
names_this_round="$names_next_round" |
3376 |
names_next_round= |
3377 |
for name in $names_this_round; do |
3378 |
already_handled= |
3379 |
for n in $names_already_handled; do |
3380 |
if test "$n" = "$name"; then |
3381 |
already_handled=yes |
3382 |
break |
3383 |
fi |
3384 |
done |
3385 |
if test -z "$already_handled"; then |
3386 |
names_already_handled="$names_already_handled $name" |
3387 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
3388 |
eval value=\"\$HAVE_LIB$uppername\" |
3389 |
if test -n "$value"; then |
3390 |
if test "$value" = yes; then |
3391 |
eval value=\"\$LIB$uppername\" |
3392 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
3393 |
eval value=\"\$LTLIB$uppername\" |
3394 |
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
3395 |
else |
3396 |
: |
3397 |
fi |
3398 |
else |
3399 |
found_dir= |
3400 |
found_la= |
3401 |
found_so= |
3402 |
found_a= |
3403 |
if test $use_additional = yes; then |
3404 |
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then |
3405 |
found_dir="$additional_libdir" |
3406 |
found_so="$additional_libdir/lib$name.$shlibext" |
3407 |
if test -f "$additional_libdir/lib$name.la"; then |
3408 |
found_la="$additional_libdir/lib$name.la" |
3409 |
fi |
3410 |
else |
3411 |
if test -f "$additional_libdir/lib$name.$libext"; then |
3412 |
found_dir="$additional_libdir" |
3413 |
found_a="$additional_libdir/lib$name.$libext" |
3414 |
if test -f "$additional_libdir/lib$name.la"; then |
3415 |
found_la="$additional_libdir/lib$name.la" |
3416 |
fi |
3417 |
fi |
3418 |
fi |
3419 |
fi |
3420 |
if test "X$found_dir" = "X"; then |
3421 |
for x in $LDFLAGS $LTLIBICONV; do |
3422 |
|
3423 |
acl_save_prefix="$prefix" |
3424 |
prefix="$acl_final_prefix" |
3425 |
acl_save_exec_prefix="$exec_prefix" |
3426 |
exec_prefix="$acl_final_exec_prefix" |
3427 |
eval x=\"$x\" |
3428 |
exec_prefix="$acl_save_exec_prefix" |
3429 |
prefix="$acl_save_prefix" |
3430 |
|
3431 |
case "$x" in |
3432 |
-L*) |
3433 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
3434 |
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then |
3435 |
found_dir="$dir" |
3436 |
found_so="$dir/lib$name.$shlibext" |
3437 |
if test -f "$dir/lib$name.la"; then |
3438 |
found_la="$dir/lib$name.la" |
3439 |
fi |
3440 |
else |
3441 |
if test -f "$dir/lib$name.$libext"; then |
3442 |
found_dir="$dir" |
3443 |
found_a="$dir/lib$name.$libext" |
3444 |
if test -f "$dir/lib$name.la"; then |
3445 |
found_la="$dir/lib$name.la" |
3446 |
fi |
3447 |
fi |
3448 |
fi |
3449 |
;; |
3450 |
esac |
3451 |
if test "X$found_dir" != "X"; then |
3452 |
break |
3453 |
fi |
3454 |
done |
3455 |
fi |
3456 |
if test "X$found_dir" != "X"; then |
3457 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
3458 |
if test "X$found_so" != "X"; then |
3459 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then |
3460 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
3461 |
else |
3462 |
haveit= |
3463 |
for x in $ltrpathdirs; do |
3464 |
if test "X$x" = "X$found_dir"; then |
3465 |
haveit=yes |
3466 |
break |
3467 |
fi |
3468 |
done |
3469 |
if test -z "$haveit"; then |
3470 |
ltrpathdirs="$ltrpathdirs $found_dir" |
3471 |
fi |
3472 |
if test "$hardcode_direct" = yes; then |
3473 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
3474 |
else |
3475 |
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then |
3476 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
3477 |
haveit= |
3478 |
for x in $rpathdirs; do |
3479 |
if test "X$x" = "X$found_dir"; then |
3480 |
haveit=yes |
3481 |
break |
3482 |
fi |
3483 |
done |
3484 |
if test -z "$haveit"; then |
3485 |
rpathdirs="$rpathdirs $found_dir" |
3486 |
fi |
3487 |
else |
3488 |
haveit= |
3489 |
for x in $LDFLAGS $LIBICONV; do |
3490 |
|
3491 |
acl_save_prefix="$prefix" |
3492 |
prefix="$acl_final_prefix" |
3493 |
acl_save_exec_prefix="$exec_prefix" |
3494 |
exec_prefix="$acl_final_exec_prefix" |
3495 |
eval x=\"$x\" |
3496 |
exec_prefix="$acl_save_exec_prefix" |
3497 |
prefix="$acl_save_prefix" |
3498 |
|
3499 |
if test "X$x" = "X-L$found_dir"; then |
3500 |
haveit=yes |
3501 |
break |
3502 |
fi |
3503 |
done |
3504 |
if test -z "$haveit"; then |
3505 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
3506 |
fi |
3507 |
if test "$hardcode_minus_L" != no; then |
3508 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
3509 |
else |
3510 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
3511 |
fi |
3512 |
fi |
3513 |
fi |
3514 |
fi |
3515 |
else |
3516 |
if test "X$found_a" != "X"; then |
3517 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
3518 |
else |
3519 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
3520 |
fi |
3521 |
fi |
3522 |
additional_includedir= |
3523 |
case "$found_dir" in |
3524 |
*/lib | */lib/) |
3525 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` |
3526 |
additional_includedir="$basedir/include" |
3527 |
;; |
3528 |
esac |
3529 |
if test "X$additional_includedir" != "X"; then |
3530 |
if test "X$additional_includedir" != "X/usr/include"; then |
3531 |
haveit= |
3532 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
3533 |
if test -n "$GCC"; then |
3534 |
case $host_os in |
3535 |
linux*) haveit=yes;; |
3536 |
esac |
3537 |
fi |
3538 |
fi |
3539 |
if test -z "$haveit"; then |
3540 |
for x in $CPPFLAGS $INCICONV; do |
3541 |
|
3542 |
acl_save_prefix="$prefix" |
3543 |
prefix="$acl_final_prefix" |
3544 |
acl_save_exec_prefix="$exec_prefix" |
3545 |
exec_prefix="$acl_final_exec_prefix" |
3546 |
eval x=\"$x\" |
3547 |
exec_prefix="$acl_save_exec_prefix" |
3548 |
prefix="$acl_save_prefix" |
3549 |
|
3550 |
if test "X$x" = "X-I$additional_includedir"; then |
3551 |
haveit=yes |
3552 |
break |
3553 |
fi |
3554 |
done |
3555 |
if test -z "$haveit"; then |
3556 |
if test -d "$additional_includedir"; then |
3557 |
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
3558 |
fi |
3559 |
fi |
3560 |
fi |
3561 |
fi |
3562 |
fi |
3563 |
if test -n "$found_la"; then |
3564 |
save_libdir="$libdir" |
3565 |
case "$found_la" in |
3566 |
*/* | *\\*) . "$found_la" ;; |
3567 |
*) . "./$found_la" ;; |
3568 |
esac |
3569 |
libdir="$save_libdir" |
3570 |
for dep in $dependency_libs; do |
3571 |
case "$dep" in |
3572 |
-L*) |
3573 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
3574 |
if test "X$additional_libdir" != "X/usr/lib"; then |
3575 |
haveit= |
3576 |
if test "X$additional_libdir" = "X/usr/local/lib"; then |
3577 |
if test -n "$GCC"; then |
3578 |
case $host_os in |
3579 |
linux*) haveit=yes;; |
3580 |
esac |
3581 |
fi |
3582 |
fi |
3583 |
if test -z "$haveit"; then |
3584 |
haveit= |
3585 |
for x in $LDFLAGS $LIBICONV; do |
3586 |
|
3587 |
acl_save_prefix="$prefix" |
3588 |
prefix="$acl_final_prefix" |
3589 |
acl_save_exec_prefix="$exec_prefix" |
3590 |
exec_prefix="$acl_final_exec_prefix" |
3591 |
eval x=\"$x\" |
3592 |
exec_prefix="$acl_save_exec_prefix" |
3593 |
prefix="$acl_save_prefix" |
3594 |
|
3595 |
if test "X$x" = "X-L$additional_libdir"; then |
3596 |
haveit=yes |
3597 |
break |
3598 |
fi |
3599 |
done |
3600 |
if test -z "$haveit"; then |
3601 |
if test -d "$additional_libdir"; then |
3602 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
3603 |
fi |
3604 |
fi |
3605 |
haveit= |
3606 |
for x in $LDFLAGS $LTLIBICONV; do |
3607 |
|
3608 |
acl_save_prefix="$prefix" |
3609 |
prefix="$acl_final_prefix" |
3610 |
acl_save_exec_prefix="$exec_prefix" |
3611 |
exec_prefix="$acl_final_exec_prefix" |
3612 |
eval x=\"$x\" |
3613 |
exec_prefix="$acl_save_exec_prefix" |
3614 |
prefix="$acl_save_prefix" |
3615 |
|
3616 |
if test "X$x" = "X-L$additional_libdir"; then |
3617 |
haveit=yes |
3618 |
break |
3619 |
fi |
3620 |
done |
3621 |
if test -z "$haveit"; then |
3622 |
if test -d "$additional_libdir"; then |
3623 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
3624 |
fi |
3625 |
fi |
3626 |
fi |
3627 |
fi |
3628 |
;; |
3629 |
-R*) |
3630 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
3631 |
if test "$enable_rpath" != no; then |
3632 |
haveit= |
3633 |
for x in $rpathdirs; do |
3634 |
if test "X$x" = "X$dir"; then |
3635 |
haveit=yes |
3636 |
break |
3637 |
fi |
3638 |
done |
3639 |
if test -z "$haveit"; then |
3640 |
rpathdirs="$rpathdirs $dir" |
3641 |
fi |
3642 |
haveit= |
3643 |
for x in $ltrpathdirs; do |
3644 |
if test "X$x" = "X$dir"; then |
3645 |
haveit=yes |
3646 |
break |
3647 |
fi |
3648 |
done |
3649 |
if test -z "$haveit"; then |
3650 |
ltrpathdirs="$ltrpathdirs $dir" |
3651 |
fi |
3652 |
fi |
3653 |
;; |
3654 |
-l*) |
3655 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
3656 |
;; |
3657 |
*.la) |
3658 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
3659 |
;; |
3660 |
*) |
3661 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
3662 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
3663 |
;; |
3664 |
esac |
3665 |
done |
3666 |
fi |
3667 |
else |
3668 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
3669 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
3670 |
fi |
3671 |
fi |
3672 |
fi |
3673 |
done |
3674 |
done |
3675 |
if test "X$rpathdirs" != "X"; then |
3676 |
if test -n "$hardcode_libdir_separator"; then |
3677 |
alldirs= |
3678 |
for found_dir in $rpathdirs; do |
3679 |
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" |
3680 |
done |
3681 |
acl_save_libdir="$libdir" |
3682 |
libdir="$alldirs" |
3683 |
eval flag=\"$hardcode_libdir_flag_spec\" |
3684 |
libdir="$acl_save_libdir" |
3685 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
3686 |
else |
3687 |
for found_dir in $rpathdirs; do |
3688 |
acl_save_libdir="$libdir" |
3689 |
libdir="$found_dir" |
3690 |
eval flag=\"$hardcode_libdir_flag_spec\" |
3691 |
libdir="$acl_save_libdir" |
3692 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
3693 |
done |
3694 |
fi |
3695 |
fi |
3696 |
if test "X$ltrpathdirs" != "X"; then |
3697 |
for found_dir in $ltrpathdirs; do |
3698 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
3699 |
done |
3700 |
fi |
3701 |
|
3702 |
|
3703 |
|
3704 |
|
3705 |
|
3706 |
|
3707 |
|
3708 |
|
3709 |
|
3710 |
|
3711 |
|
3712 |
|
3713 |
|
3714 |
|
3715 |
|
3716 |
|
3717 |
|
3718 |
|
3719 |
echo "$as_me:$LINENO: checking whether NLS is requested" >&5 |
3720 |
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 |
3721 |
# Check whether --enable-nls or --disable-nls was given. |
3722 |
if test "${enable_nls+set}" = set; then |
3723 |
enableval="$enable_nls" |
3724 |
USE_NLS=$enableval |
3725 |
else |
3726 |
USE_NLS=yes |
3727 |
fi; |
3728 |
echo "$as_me:$LINENO: result: $USE_NLS" >&5 |
3729 |
echo "${ECHO_T}$USE_NLS" >&6 |
3730 |
|
3731 |
|
3732 |
|
3733 |
LIBINTL= |
3734 |
LTLIBINTL= |
3735 |
POSUB= |
3736 |
|
3737 |
if test "$USE_NLS" = "yes"; then |
3738 |
gt_use_preinstalled_gnugettext=no |
3739 |
|
3740 |
|
3741 |
|
3742 |
|
3743 |
|
3744 |
|
3745 |
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 |
3746 |
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3747 |
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3748 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3749 |
else |
3750 |
cat >conftest.$ac_ext <<_ACEOF |
3751 |
/* confdefs.h. */ |
3752 |
_ACEOF |
3753 |
cat confdefs.h >>conftest.$ac_ext |
3754 |
cat >>conftest.$ac_ext <<_ACEOF |
3755 |
/* end confdefs.h. */ |
3756 |
#include <libintl.h> |
3757 |
extern int _nl_msg_cat_cntr; |
3758 |
extern int *_nl_domain_bindings; |
3759 |
int |
3760 |
main () |
3761 |
{ |
3762 |
bindtextdomain ("", ""); |
3763 |
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings |
3764 |
; |
3765 |
return 0; |
3766 |
} |
3767 |
_ACEOF |
3768 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3769 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3770 |
(eval $ac_link) 2>conftest.er1 |
3771 |
ac_status=$? |
3772 |
grep -v '^ *+' conftest.er1 >conftest.err |
3773 |
rm -f conftest.er1 |
3774 |
cat conftest.err >&5 |
3775 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3776 |
(exit $ac_status); } && |
3777 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3778 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3779 |
(eval $ac_try) 2>&5 |
3780 |
ac_status=$? |
3781 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3782 |
(exit $ac_status); }; } && |
3783 |
{ ac_try='test -s conftest$ac_exeext' |
3784 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3785 |
(eval $ac_try) 2>&5 |
3786 |
ac_status=$? |
3787 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3788 |
(exit $ac_status); }; }; then |
3789 |
gt_cv_func_gnugettext1_libc=yes |
3790 |
else |
3791 |
echo "$as_me: failed program was:" >&5 |
3792 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3793 |
|
3794 |
gt_cv_func_gnugettext1_libc=no |
3795 |
fi |
3796 |
rm -f conftest.err conftest.$ac_objext \ |
3797 |
conftest$ac_exeext conftest.$ac_ext |
3798 |
fi |
3799 |
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3800 |
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3801 |
|
3802 |
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
3803 |
|
3804 |
|
3805 |
|
3806 |
|
3807 |
|
3808 |
am_save_CPPFLAGS="$CPPFLAGS" |
3809 |
|
3810 |
for element in $INCICONV; do |
3811 |
haveit= |
3812 |
for x in $CPPFLAGS; do |
3813 |
|
3814 |
acl_save_prefix="$prefix" |
3815 |
prefix="$acl_final_prefix" |
3816 |
acl_save_exec_prefix="$exec_prefix" |
3817 |
exec_prefix="$acl_final_exec_prefix" |
3818 |
eval x=\"$x\" |
3819 |
exec_prefix="$acl_save_exec_prefix" |
3820 |
prefix="$acl_save_prefix" |
3821 |
|
3822 |
if test "X$x" = "X$element"; then |
3823 |
haveit=yes |
3824 |
break |
3825 |
fi |
3826 |
done |
3827 |
if test -z "$haveit"; then |
3828 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
3829 |
fi |
3830 |
done |
3831 |
|
3832 |
|
3833 |
echo "$as_me:$LINENO: checking for iconv" >&5 |
3834 |
echo $ECHO_N "checking for iconv... $ECHO_C" >&6 |
3835 |
if test "${am_cv_func_iconv+set}" = set; then |
3836 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3837 |
else |
3838 |
|
3839 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
3840 |
am_cv_lib_iconv=no |
3841 |
cat >conftest.$ac_ext <<_ACEOF |
3842 |
/* confdefs.h. */ |
3843 |
_ACEOF |
3844 |
cat confdefs.h >>conftest.$ac_ext |
3845 |
cat >>conftest.$ac_ext <<_ACEOF |
3846 |
/* end confdefs.h. */ |
3847 |
#include <stdlib.h> |
3848 |
#include <iconv.h> |
3849 |
int |
3850 |
main () |
3851 |
{ |
3852 |
iconv_t cd = iconv_open("",""); |
3853 |
iconv(cd,NULL,NULL,NULL,NULL); |
3854 |
iconv_close(cd); |
3855 |
; |
3856 |
return 0; |
3857 |
} |
3858 |
_ACEOF |
3859 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3860 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3861 |
(eval $ac_link) 2>conftest.er1 |
3862 |
ac_status=$? |
3863 |
grep -v '^ *+' conftest.er1 >conftest.err |
3864 |
rm -f conftest.er1 |
3865 |
cat conftest.err >&5 |
3866 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3867 |
(exit $ac_status); } && |
3868 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3869 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3870 |
(eval $ac_try) 2>&5 |
3871 |
ac_status=$? |
3872 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3873 |
(exit $ac_status); }; } && |
3874 |
{ ac_try='test -s conftest$ac_exeext' |
3875 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3876 |
(eval $ac_try) 2>&5 |
3877 |
ac_status=$? |
3878 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3879 |
(exit $ac_status); }; }; then |
3880 |
am_cv_func_iconv=yes |
3881 |
else |
3882 |
echo "$as_me: failed program was:" >&5 |
3883 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3884 |
|
3885 |
fi |
3886 |
rm -f conftest.err conftest.$ac_objext \ |
3887 |
conftest$ac_exeext conftest.$ac_ext |
3888 |
if test "$am_cv_func_iconv" != yes; then |
3889 |
am_save_LIBS="$LIBS" |
3890 |
LIBS="$LIBS $LIBICONV" |
3891 |
cat >conftest.$ac_ext <<_ACEOF |
3892 |
/* confdefs.h. */ |
3893 |
_ACEOF |
3894 |
cat confdefs.h >>conftest.$ac_ext |
3895 |
cat >>conftest.$ac_ext <<_ACEOF |
3896 |
/* end confdefs.h. */ |
3897 |
#include <stdlib.h> |
3898 |
#include <iconv.h> |
3899 |
int |
3900 |
main () |
3901 |
{ |
3902 |
iconv_t cd = iconv_open("",""); |
3903 |
iconv(cd,NULL,NULL,NULL,NULL); |
3904 |
iconv_close(cd); |
3905 |
; |
3906 |
return 0; |
3907 |
} |
3908 |
_ACEOF |
3909 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3910 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3911 |
(eval $ac_link) 2>conftest.er1 |
3912 |
ac_status=$? |
3913 |
grep -v '^ *+' conftest.er1 >conftest.err |
3914 |
rm -f conftest.er1 |
3915 |
cat conftest.err >&5 |
3916 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3917 |
(exit $ac_status); } && |
3918 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3919 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3920 |
(eval $ac_try) 2>&5 |
3921 |
ac_status=$? |
3922 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3923 |
(exit $ac_status); }; } && |
3924 |
{ ac_try='test -s conftest$ac_exeext' |
3925 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3926 |
(eval $ac_try) 2>&5 |
3927 |
ac_status=$? |
3928 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3929 |
(exit $ac_status); }; }; then |
3930 |
am_cv_lib_iconv=yes |
3931 |
am_cv_func_iconv=yes |
3932 |
else |
3933 |
echo "$as_me: failed program was:" >&5 |
3934 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3935 |
|
3936 |
fi |
3937 |
rm -f conftest.err conftest.$ac_objext \ |
3938 |
conftest$ac_exeext conftest.$ac_ext |
3939 |
LIBS="$am_save_LIBS" |
3940 |
fi |
3941 |
|
3942 |
fi |
3943 |
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
3944 |
echo "${ECHO_T}$am_cv_func_iconv" >&6 |
3945 |
if test "$am_cv_func_iconv" = yes; then |
3946 |
|
3947 |
cat >>confdefs.h <<\_ACEOF |
3948 |
#define HAVE_ICONV 1 |
3949 |
_ACEOF |
3950 |
|
3951 |
fi |
3952 |
if test "$am_cv_lib_iconv" = yes; then |
3953 |
echo "$as_me:$LINENO: checking how to link with libiconv" >&5 |
3954 |
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 |
3955 |
echo "$as_me:$LINENO: result: $LIBICONV" >&5 |
3956 |
echo "${ECHO_T}$LIBICONV" >&6 |
3957 |
else |
3958 |
CPPFLAGS="$am_save_CPPFLAGS" |
3959 |
LIBICONV= |
3960 |
LTLIBICONV= |
3961 |
fi |
3962 |
|
3963 |
|
3964 |
|
3965 |
|
3966 |
|
3967 |
|
3968 |
use_additional=yes |
3969 |
|
3970 |
acl_save_prefix="$prefix" |
3971 |
prefix="$acl_final_prefix" |
3972 |
acl_save_exec_prefix="$exec_prefix" |
3973 |
exec_prefix="$acl_final_exec_prefix" |
3974 |
|
3975 |
eval additional_includedir=\"$includedir\" |
3976 |
eval additional_libdir=\"$libdir\" |
3977 |
|
3978 |
exec_prefix="$acl_save_exec_prefix" |
3979 |
prefix="$acl_save_prefix" |
3980 |
|
3981 |
|
3982 |
# Check whether --with-libintl-prefix or --without-libintl-prefix was given. |
3983 |
if test "${with_libintl_prefix+set}" = set; then |
3984 |
withval="$with_libintl_prefix" |
3985 |
|
3986 |
if test "X$withval" = "Xno"; then |
3987 |
use_additional=no |
3988 |
else |
3989 |
if test "X$withval" = "X"; then |
3990 |
|
3991 |
acl_save_prefix="$prefix" |
3992 |
prefix="$acl_final_prefix" |
3993 |
acl_save_exec_prefix="$exec_prefix" |
3994 |
exec_prefix="$acl_final_exec_prefix" |
3995 |
|
3996 |
eval additional_includedir=\"$includedir\" |
3997 |
eval additional_libdir=\"$libdir\" |
3998 |
|
3999 |
exec_prefix="$acl_save_exec_prefix" |
4000 |
prefix="$acl_save_prefix" |
4001 |
|
4002 |
else |
4003 |
additional_includedir="$withval/include" |
4004 |
additional_libdir="$withval/lib" |
4005 |
fi |
4006 |
fi |
4007 |
|
4008 |
fi; |
4009 |
LIBINTL= |
4010 |
LTLIBINTL= |
4011 |
INCINTL= |
4012 |
rpathdirs= |
4013 |
ltrpathdirs= |
4014 |
names_already_handled= |
4015 |
names_next_round='intl ' |
4016 |
while test -n "$names_next_round"; do |
4017 |
names_this_round="$names_next_round" |
4018 |
names_next_round= |
4019 |
for name in $names_this_round; do |
4020 |
already_handled= |
4021 |
for n in $names_already_handled; do |
4022 |
if test "$n" = "$name"; then |
4023 |
already_handled=yes |
4024 |
break |
4025 |
fi |
4026 |
done |
4027 |
if test -z "$already_handled"; then |
4028 |
names_already_handled="$names_already_handled $name" |
4029 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
4030 |
eval value=\"\$HAVE_LIB$uppername\" |
4031 |
if test -n "$value"; then |
4032 |
if test "$value" = yes; then |
4033 |
eval value=\"\$LIB$uppername\" |
4034 |
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
4035 |
eval value=\"\$LTLIB$uppername\" |
4036 |
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
4037 |
else |
4038 |
: |
4039 |
fi |
4040 |
else |
4041 |
found_dir= |
4042 |
found_la= |
4043 |
found_so= |
4044 |
found_a= |
4045 |
if test $use_additional = yes; then |
4046 |
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then |
4047 |
found_dir="$additional_libdir" |
4048 |
found_so="$additional_libdir/lib$name.$shlibext" |
4049 |
if test -f "$additional_libdir/lib$name.la"; then |
4050 |
found_la="$additional_libdir/lib$name.la" |
4051 |
fi |
4052 |
else |
4053 |
if test -f "$additional_libdir/lib$name.$libext"; then |
4054 |
found_dir="$additional_libdir" |
4055 |
found_a="$additional_libdir/lib$name.$libext" |
4056 |
if test -f "$additional_libdir/lib$name.la"; then |
4057 |
found_la="$additional_libdir/lib$name.la" |
4058 |
fi |
4059 |
fi |
4060 |
fi |
4061 |
fi |
4062 |
if test "X$found_dir" = "X"; then |
4063 |
for x in $LDFLAGS $LTLIBINTL; do |
4064 |
|
4065 |
acl_save_prefix="$prefix" |
4066 |
prefix="$acl_final_prefix" |
4067 |
acl_save_exec_prefix="$exec_prefix" |
4068 |
exec_prefix="$acl_final_exec_prefix" |
4069 |
eval x=\"$x\" |
4070 |
exec_prefix="$acl_save_exec_prefix" |
4071 |
prefix="$acl_save_prefix" |
4072 |
|
4073 |
case "$x" in |
4074 |
-L*) |
4075 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
4076 |
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then |
4077 |
found_dir="$dir" |
4078 |
found_so="$dir/lib$name.$shlibext" |
4079 |
if test -f "$dir/lib$name.la"; then |
4080 |
found_la="$dir/lib$name.la" |
4081 |
fi |
4082 |
else |
4083 |
if test -f "$dir/lib$name.$libext"; then |
4084 |
found_dir="$dir" |
4085 |
found_a="$dir/lib$name.$libext" |
4086 |
if test -f "$dir/lib$name.la"; then |
4087 |
found_la="$dir/lib$name.la" |
4088 |
fi |
4089 |
fi |
4090 |
fi |
4091 |
;; |
4092 |
esac |
4093 |
if test "X$found_dir" != "X"; then |
4094 |
break |
4095 |
fi |
4096 |
done |
4097 |
fi |
4098 |
if test "X$found_dir" != "X"; then |
4099 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
4100 |
if test "X$found_so" != "X"; then |
4101 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then |
4102 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
4103 |
else |
4104 |
haveit= |
4105 |
for x in $ltrpathdirs; do |
4106 |
if test "X$x" = "X$found_dir"; then |
4107 |
haveit=yes |
4108 |
break |
4109 |
fi |
4110 |
done |
4111 |
if test -z "$haveit"; then |
4112 |
ltrpathdirs="$ltrpathdirs $found_dir" |
4113 |
fi |
4114 |
if test "$hardcode_direct" = yes; then |
4115 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
4116 |
else |
4117 |
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then |
4118 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
4119 |
haveit= |
4120 |
for x in $rpathdirs; do |
4121 |
if test "X$x" = "X$found_dir"; then |
4122 |
haveit=yes |
4123 |
break |
4124 |
fi |
4125 |
done |
4126 |
if test -z "$haveit"; then |
4127 |
rpathdirs="$rpathdirs $found_dir" |
4128 |
fi |
4129 |
else |
4130 |
haveit= |
4131 |
for x in $LDFLAGS $LIBINTL; do |
4132 |
|
4133 |
acl_save_prefix="$prefix" |
4134 |
prefix="$acl_final_prefix" |
4135 |
acl_save_exec_prefix="$exec_prefix" |
4136 |
exec_prefix="$acl_final_exec_prefix" |
4137 |
eval x=\"$x\" |
4138 |
exec_prefix="$acl_save_exec_prefix" |
4139 |
prefix="$acl_save_prefix" |
4140 |
|
4141 |
if test "X$x" = "X-L$found_dir"; then |
4142 |
haveit=yes |
4143 |
break |
4144 |
fi |
4145 |
done |
4146 |
if test -z "$haveit"; then |
4147 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
4148 |
fi |
4149 |
if test "$hardcode_minus_L" != no; then |
4150 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
4151 |
else |
4152 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
4153 |
fi |
4154 |
fi |
4155 |
fi |
4156 |
fi |
4157 |
else |
4158 |
if test "X$found_a" != "X"; then |
4159 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
4160 |
else |
4161 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
4162 |
fi |
4163 |
fi |
4164 |
additional_includedir= |
4165 |
case "$found_dir" in |
4166 |
*/lib | */lib/) |
4167 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` |
4168 |
additional_includedir="$basedir/include" |
4169 |
;; |
4170 |
esac |
4171 |
if test "X$additional_includedir" != "X"; then |
4172 |
if test "X$additional_includedir" != "X/usr/include"; then |
4173 |
haveit= |
4174 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
4175 |
if test -n "$GCC"; then |
4176 |
case $host_os in |
4177 |
linux*) haveit=yes;; |
4178 |
esac |
4179 |
fi |
4180 |
fi |
4181 |
if test -z "$haveit"; then |
4182 |
for x in $CPPFLAGS $INCINTL; do |
4183 |
|
4184 |
acl_save_prefix="$prefix" |
4185 |
prefix="$acl_final_prefix" |
4186 |
acl_save_exec_prefix="$exec_prefix" |
4187 |
exec_prefix="$acl_final_exec_prefix" |
4188 |
eval x=\"$x\" |
4189 |
exec_prefix="$acl_save_exec_prefix" |
4190 |
prefix="$acl_save_prefix" |
4191 |
|
4192 |
if test "X$x" = "X-I$additional_includedir"; then |
4193 |
haveit=yes |
4194 |
break |
4195 |
fi |
4196 |
done |
4197 |
if test -z "$haveit"; then |
4198 |
if test -d "$additional_includedir"; then |
4199 |
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
4200 |
fi |
4201 |
fi |
4202 |
fi |
4203 |
fi |
4204 |
fi |
4205 |
if test -n "$found_la"; then |
4206 |
save_libdir="$libdir" |
4207 |
case "$found_la" in |
4208 |
*/* | *\\*) . "$found_la" ;; |
4209 |
*) . "./$found_la" ;; |
4210 |
esac |
4211 |
libdir="$save_libdir" |
4212 |
for dep in $dependency_libs; do |
4213 |
case "$dep" in |
4214 |
-L*) |
4215 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
4216 |
if test "X$additional_libdir" != "X/usr/lib"; then |
4217 |
haveit= |
4218 |
if test "X$additional_libdir" = "X/usr/local/lib"; then |
4219 |
if test -n "$GCC"; then |
4220 |
case $host_os in |
4221 |
linux*) haveit=yes;; |
4222 |
esac |
4223 |
fi |
4224 |
fi |
4225 |
if test -z "$haveit"; then |
4226 |
haveit= |
4227 |
for x in $LDFLAGS $LIBINTL; do |
4228 |
|
4229 |
acl_save_prefix="$prefix" |
4230 |
prefix="$acl_final_prefix" |
4231 |
acl_save_exec_prefix="$exec_prefix" |
4232 |
exec_prefix="$acl_final_exec_prefix" |
4233 |
eval x=\"$x\" |
4234 |
exec_prefix="$acl_save_exec_prefix" |
4235 |
prefix="$acl_save_prefix" |
4236 |
|
4237 |
if test "X$x" = "X-L$additional_libdir"; then |
4238 |
haveit=yes |
4239 |
break |
4240 |
fi |
4241 |
done |
4242 |
if test -z "$haveit"; then |
4243 |
if test -d "$additional_libdir"; then |
4244 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
4245 |
fi |
4246 |
fi |
4247 |
haveit= |
4248 |
for x in $LDFLAGS $LTLIBINTL; do |
4249 |
|
4250 |
acl_save_prefix="$prefix" |
4251 |
prefix="$acl_final_prefix" |
4252 |
acl_save_exec_prefix="$exec_prefix" |
4253 |
exec_prefix="$acl_final_exec_prefix" |
4254 |
eval x=\"$x\" |
4255 |
exec_prefix="$acl_save_exec_prefix" |
4256 |
prefix="$acl_save_prefix" |
4257 |
|
4258 |
if test "X$x" = "X-L$additional_libdir"; then |
4259 |
haveit=yes |
4260 |
break |
4261 |
fi |
4262 |
done |
4263 |
if test -z "$haveit"; then |
4264 |
if test -d "$additional_libdir"; then |
4265 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
4266 |
fi |
4267 |
fi |
4268 |
fi |
4269 |
fi |
4270 |
;; |
4271 |
-R*) |
4272 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
4273 |
if test "$enable_rpath" != no; then |
4274 |
haveit= |
4275 |
for x in $rpathdirs; do |
4276 |
if test "X$x" = "X$dir"; then |
4277 |
haveit=yes |
4278 |
break |
4279 |
fi |
4280 |
done |
4281 |
if test -z "$haveit"; then |
4282 |
rpathdirs="$rpathdirs $dir" |
4283 |
fi |
4284 |
haveit= |
4285 |
for x in $ltrpathdirs; do |
4286 |
if test "X$x" = "X$dir"; then |
4287 |
haveit=yes |
4288 |
break |
4289 |
fi |
4290 |
done |
4291 |
if test -z "$haveit"; then |
4292 |
ltrpathdirs="$ltrpathdirs $dir" |
4293 |
fi |
4294 |
fi |
4295 |
;; |
4296 |
-l*) |
4297 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
4298 |
;; |
4299 |
*.la) |
4300 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
4301 |
;; |
4302 |
*) |
4303 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
4304 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
4305 |
;; |
4306 |
esac |
4307 |
done |
4308 |
fi |
4309 |
else |
4310 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
4311 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
4312 |
fi |
4313 |
fi |
4314 |
fi |
4315 |
done |
4316 |
done |
4317 |
if test "X$rpathdirs" != "X"; then |
4318 |
if test -n "$hardcode_libdir_separator"; then |
4319 |
alldirs= |
4320 |
for found_dir in $rpathdirs; do |
4321 |
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" |
4322 |
done |
4323 |
acl_save_libdir="$libdir" |
4324 |
libdir="$alldirs" |
4325 |
eval flag=\"$hardcode_libdir_flag_spec\" |
4326 |
libdir="$acl_save_libdir" |
4327 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
4328 |
else |
4329 |
for found_dir in $rpathdirs; do |
4330 |
acl_save_libdir="$libdir" |
4331 |
libdir="$found_dir" |
4332 |
eval flag=\"$hardcode_libdir_flag_spec\" |
4333 |
libdir="$acl_save_libdir" |
4334 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
4335 |
done |
4336 |
fi |
4337 |
fi |
4338 |
if test "X$ltrpathdirs" != "X"; then |
4339 |
for found_dir in $ltrpathdirs; do |
4340 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
4341 |
done |
4342 |
fi |
4343 |
|
4344 |
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 |
4345 |
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6 |
4346 |
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then |
4347 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4348 |
else |
4349 |
gt_save_CPPFLAGS="$CPPFLAGS" |
4350 |
CPPFLAGS="$CPPFLAGS $INCINTL" |
4351 |
gt_save_LIBS="$LIBS" |
4352 |
LIBS="$LIBS $LIBINTL" |
4353 |
cat >conftest.$ac_ext <<_ACEOF |
4354 |
/* confdefs.h. */ |
4355 |
_ACEOF |
4356 |
cat confdefs.h >>conftest.$ac_ext |
4357 |
cat >>conftest.$ac_ext <<_ACEOF |
4358 |
/* end confdefs.h. */ |
4359 |
#include <libintl.h> |
4360 |
extern int _nl_msg_cat_cntr; |
4361 |
extern |
4362 |
#ifdef __cplusplus |
4363 |
"C" |
4364 |
#endif |
4365 |
const char *_nl_expand_alias (); |
4366 |
int |
4367 |
main () |
4368 |
{ |
4369 |
bindtextdomain ("", ""); |
4370 |
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
4371 |
; |
4372 |
return 0; |
4373 |
} |
4374 |
_ACEOF |
4375 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4376 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4377 |
(eval $ac_link) 2>conftest.er1 |
4378 |
ac_status=$? |
4379 |
grep -v '^ *+' conftest.er1 >conftest.err |
4380 |
rm -f conftest.er1 |
4381 |
cat conftest.err >&5 |
4382 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4383 |
(exit $ac_status); } && |
4384 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4385 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4386 |
(eval $ac_try) 2>&5 |
4387 |
ac_status=$? |
4388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4389 |
(exit $ac_status); }; } && |
4390 |
{ ac_try='test -s conftest$ac_exeext' |
4391 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4392 |
(eval $ac_try) 2>&5 |
4393 |
ac_status=$? |
4394 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4395 |
(exit $ac_status); }; }; then |
4396 |
gt_cv_func_gnugettext1_libintl=yes |
4397 |
else |
4398 |
echo "$as_me: failed program was:" >&5 |
4399 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4400 |
|
4401 |
gt_cv_func_gnugettext1_libintl=no |
4402 |
fi |
4403 |
rm -f conftest.err conftest.$ac_objext \ |
4404 |
conftest$ac_exeext conftest.$ac_ext |
4405 |
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
4406 |
LIBS="$LIBS $LIBICONV" |
4407 |
cat >conftest.$ac_ext <<_ACEOF |
4408 |
/* confdefs.h. */ |
4409 |
_ACEOF |
4410 |
cat confdefs.h >>conftest.$ac_ext |
4411 |
cat >>conftest.$ac_ext <<_ACEOF |
4412 |
/* end confdefs.h. */ |
4413 |
#include <libintl.h> |
4414 |
extern int _nl_msg_cat_cntr; |
4415 |
extern |
4416 |
#ifdef __cplusplus |
4417 |
"C" |
4418 |
#endif |
4419 |
const char *_nl_expand_alias (); |
4420 |
int |
4421 |
main () |
4422 |
{ |
4423 |
bindtextdomain ("", ""); |
4424 |
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
4425 |
; |
4426 |
return 0; |
4427 |
} |
4428 |
_ACEOF |
4429 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4430 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4431 |
(eval $ac_link) 2>conftest.er1 |
4432 |
ac_status=$? |
4433 |
grep -v '^ *+' conftest.er1 >conftest.err |
4434 |
rm -f conftest.er1 |
4435 |
cat conftest.err >&5 |
4436 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4437 |
(exit $ac_status); } && |
4438 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4439 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4440 |
(eval $ac_try) 2>&5 |
4441 |
ac_status=$? |
4442 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4443 |
(exit $ac_status); }; } && |
4444 |
{ ac_try='test -s conftest$ac_exeext' |
4445 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4446 |
(eval $ac_try) 2>&5 |
4447 |
ac_status=$? |
4448 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4449 |
(exit $ac_status); }; }; then |
4450 |
LIBINTL="$LIBINTL $LIBICONV" |
4451 |
LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
4452 |
gt_cv_func_gnugettext1_libintl=yes |
4453 |
|
4454 |
else |
4455 |
echo "$as_me: failed program was:" >&5 |
4456 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4457 |
|
4458 |
fi |
4459 |
rm -f conftest.err conftest.$ac_objext \ |
4460 |
conftest$ac_exeext conftest.$ac_ext |
4461 |
fi |
4462 |
CPPFLAGS="$gt_save_CPPFLAGS" |
4463 |
LIBS="$gt_save_LIBS" |
4464 |
fi |
4465 |
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
4466 |
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6 |
4467 |
fi |
4468 |
|
4469 |
if test "$gt_cv_func_gnugettext1_libc" = "yes" \ |
4470 |
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ |
4471 |
&& test "$PACKAGE" != gettext; }; then |
4472 |
gt_use_preinstalled_gnugettext=yes |
4473 |
else |
4474 |
LIBINTL= |
4475 |
LTLIBINTL= |
4476 |
INCINTL= |
4477 |
fi |
4478 |
|
4479 |
|
4480 |
|
4481 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
4482 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
4483 |
|
4484 |
cat >>confdefs.h <<\_ACEOF |
4485 |
#define ENABLE_NLS 1 |
4486 |
_ACEOF |
4487 |
|
4488 |
else |
4489 |
USE_NLS=no |
4490 |
fi |
4491 |
fi |
4492 |
|
4493 |
if test "$USE_NLS" = "yes"; then |
4494 |
|
4495 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
4496 |
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then |
4497 |
echo "$as_me:$LINENO: checking how to link with libintl" >&5 |
4498 |
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6 |
4499 |
echo "$as_me:$LINENO: result: $LIBINTL" >&5 |
4500 |
echo "${ECHO_T}$LIBINTL" >&6 |
4501 |
|
4502 |
for element in $INCINTL; do |
4503 |
haveit= |
4504 |
for x in $CPPFLAGS; do |
4505 |
|
4506 |
acl_save_prefix="$prefix" |
4507 |
prefix="$acl_final_prefix" |
4508 |
acl_save_exec_prefix="$exec_prefix" |
4509 |
exec_prefix="$acl_final_exec_prefix" |
4510 |
eval x=\"$x\" |
4511 |
exec_prefix="$acl_save_exec_prefix" |
4512 |
prefix="$acl_save_prefix" |
4513 |
|
4514 |
if test "X$x" = "X$element"; then |
4515 |
haveit=yes |
4516 |
break |
4517 |
fi |
4518 |
done |
4519 |
if test -z "$haveit"; then |
4520 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
4521 |
fi |
4522 |
done |
4523 |
|
4524 |
fi |
4525 |
|
4526 |
|
4527 |
cat >>confdefs.h <<\_ACEOF |
4528 |
#define HAVE_GETTEXT 1 |
4529 |
_ACEOF |
4530 |
|
4531 |
|
4532 |
cat >>confdefs.h <<\_ACEOF |
4533 |
#define HAVE_DCGETTEXT 1 |
4534 |
_ACEOF |
4535 |
|
4536 |
fi |
4537 |
|
4538 |
POSUB=po |
4539 |
fi |
4540 |
|
4541 |
|
4542 |
|
4543 |
INTLLIBS="$LIBINTL" |
4544 |
|
4545 |
|
4546 |
|
4547 |
|
4548 |
|
4549 |
|
4550 |
|
4551 |
|
4552 |
# Enable GNU extensions. |
4553 |
# Define this here, not in acconfig's @TOP@ section, since definitions |
4554 |
# in the latter don't make it into the configure-time tests. |
4555 |
|
4556 |
cat >>confdefs.h <<\_ACEOF |
4557 |
#define _GNU_SOURCE 1 |
4558 |
_ACEOF |
4559 |
|
4560 |
|
4561 |
# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
4562 |
|
4563 |
ALL_LINGUAS="" |
4564 |
|
4565 |
ac_ext=c |
4566 |
ac_cpp='$CPP $CPPFLAGS' |
4567 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4568 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4569 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4570 |
if test -n "$ac_tool_prefix"; then |
4571 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4572 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4573 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4574 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4575 |
if test "${ac_cv_prog_CC+set}" = set; then |
4576 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4577 |
else |
4578 |
if test -n "$CC"; then |
4579 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4580 |
else |
4581 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4582 |
for as_dir in $PATH |
4583 |
do |
4584 |
IFS=$as_save_IFS |
4585 |
test -z "$as_dir" && as_dir=. |
4586 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4587 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4588 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4589 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4590 |
break 2 |
4591 |
fi |
4592 |
done |
4593 |
done |
4594 |
|
4595 |
fi |
4596 |
fi |
4597 |
CC=$ac_cv_prog_CC |
4598 |
if test -n "$CC"; then |
4599 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4600 |
echo "${ECHO_T}$CC" >&6 |
4601 |
else |
4602 |
echo "$as_me:$LINENO: result: no" >&5 |
4603 |
echo "${ECHO_T}no" >&6 |
4604 |
fi |
4605 |
|
4606 |
fi |
4607 |
if test -z "$ac_cv_prog_CC"; then |
4608 |
ac_ct_CC=$CC |
4609 |
# Extract the first word of "gcc", so it can be a program name with args. |
4610 |
set dummy gcc; ac_word=$2 |
4611 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4612 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4613 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4614 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4615 |
else |
4616 |
if test -n "$ac_ct_CC"; then |
4617 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4618 |
else |
4619 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4620 |
for as_dir in $PATH |
4621 |
do |
4622 |
IFS=$as_save_IFS |
4623 |
test -z "$as_dir" && as_dir=. |
4624 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4625 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4626 |
ac_cv_prog_ac_ct_CC="gcc" |
4627 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4628 |
break 2 |
4629 |
fi |
4630 |
done |
4631 |
done |
4632 |
|
4633 |
fi |
4634 |
fi |
4635 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4636 |
if test -n "$ac_ct_CC"; then |
4637 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4638 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
4639 |
else |
4640 |
echo "$as_me:$LINENO: result: no" >&5 |
4641 |
echo "${ECHO_T}no" >&6 |
4642 |
fi |
4643 |
|
4644 |
CC=$ac_ct_CC |
4645 |
else |
4646 |
CC="$ac_cv_prog_CC" |
4647 |
fi |
4648 |
|
4649 |
if test -z "$CC"; then |
4650 |
if test -n "$ac_tool_prefix"; then |
4651 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4652 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4653 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4654 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4655 |
if test "${ac_cv_prog_CC+set}" = set; then |
4656 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4657 |
else |
4658 |
if test -n "$CC"; then |
4659 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4660 |
else |
4661 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4662 |
for as_dir in $PATH |
4663 |
do |
4664 |
IFS=$as_save_IFS |
4665 |
test -z "$as_dir" && as_dir=. |
4666 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4667 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4668 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
4669 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4670 |
break 2 |
4671 |
fi |
4672 |
done |
4673 |
done |
4674 |
|
4675 |
fi |
4676 |
fi |
4677 |
CC=$ac_cv_prog_CC |
4678 |
if test -n "$CC"; then |
4679 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4680 |
echo "${ECHO_T}$CC" >&6 |
4681 |
else |
4682 |
echo "$as_me:$LINENO: result: no" >&5 |
4683 |
echo "${ECHO_T}no" >&6 |
4684 |
fi |
4685 |
|
4686 |
fi |
4687 |
if test -z "$ac_cv_prog_CC"; then |
4688 |
ac_ct_CC=$CC |
4689 |
# Extract the first word of "cc", so it can be a program name with args. |
4690 |
set dummy cc; ac_word=$2 |
4691 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4692 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4693 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4694 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4695 |
else |
4696 |
if test -n "$ac_ct_CC"; then |
4697 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4698 |
else |
4699 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4700 |
for as_dir in $PATH |
4701 |
do |
4702 |
IFS=$as_save_IFS |
4703 |
test -z "$as_dir" && as_dir=. |
4704 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4705 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4706 |
ac_cv_prog_ac_ct_CC="cc" |
4707 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4708 |
break 2 |
4709 |
fi |
4710 |
done |
4711 |
done |
4712 |
|
4713 |
fi |
4714 |
fi |
4715 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4716 |
if test -n "$ac_ct_CC"; then |
4717 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4718 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
4719 |
else |
4720 |
echo "$as_me:$LINENO: result: no" >&5 |
4721 |
echo "${ECHO_T}no" >&6 |
4722 |
fi |
4723 |
|
4724 |
CC=$ac_ct_CC |
4725 |
else |
4726 |
CC="$ac_cv_prog_CC" |
4727 |
fi |
4728 |
|
4729 |
fi |
4730 |
if test -z "$CC"; then |
4731 |
# Extract the first word of "cc", so it can be a program name with args. |
4732 |
set dummy cc; ac_word=$2 |
4733 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4734 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4735 |
if test "${ac_cv_prog_CC+set}" = set; then |
4736 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4737 |
else |
4738 |
if test -n "$CC"; then |
4739 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4740 |
else |
4741 |
ac_prog_rejected=no |
4742 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4743 |
for as_dir in $PATH |
4744 |
do |
4745 |
IFS=$as_save_IFS |
4746 |
test -z "$as_dir" && as_dir=. |
4747 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4748 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4749 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4750 |
ac_prog_rejected=yes |
4751 |
continue |
4752 |
fi |
4753 |
ac_cv_prog_CC="cc" |
4754 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4755 |
break 2 |
4756 |
fi |
4757 |
done |
4758 |
done |
4759 |
|
4760 |
if test $ac_prog_rejected = yes; then |
4761 |
# We found a bogon in the path, so make sure we never use it. |
4762 |
set dummy $ac_cv_prog_CC |
4763 |
shift |
4764 |
if test $# != 0; then |
4765 |
# We chose a different compiler from the bogus one. |
4766 |
# However, it has the same basename, so the bogon will be chosen |
4767 |
# first if we set CC to just the basename; use the full file name. |
4768 |
shift |
4769 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
4770 |
fi |
4771 |
fi |
4772 |
fi |
4773 |
fi |
4774 |
CC=$ac_cv_prog_CC |
4775 |
if test -n "$CC"; then |
4776 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4777 |
echo "${ECHO_T}$CC" >&6 |
4778 |
else |
4779 |
echo "$as_me:$LINENO: result: no" >&5 |
4780 |
echo "${ECHO_T}no" >&6 |
4781 |
fi |
4782 |
|
4783 |
fi |
4784 |
if test -z "$CC"; then |
4785 |
if test -n "$ac_tool_prefix"; then |
4786 |
for ac_prog in cl |
4787 |
do |
4788 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4789 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4790 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4791 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4792 |
if test "${ac_cv_prog_CC+set}" = set; then |
4793 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4794 |
else |
4795 |
if test -n "$CC"; then |
4796 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4797 |
else |
4798 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4799 |
for as_dir in $PATH |
4800 |
do |
4801 |
IFS=$as_save_IFS |
4802 |
test -z "$as_dir" && as_dir=. |
4803 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4804 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4805 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4806 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4807 |
break 2 |
4808 |
fi |
4809 |
done |
4810 |
done |
4811 |
|
4812 |
fi |
4813 |
fi |
4814 |
CC=$ac_cv_prog_CC |
4815 |
if test -n "$CC"; then |
4816 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4817 |
echo "${ECHO_T}$CC" >&6 |
4818 |
else |
4819 |
echo "$as_me:$LINENO: result: no" >&5 |
4820 |
echo "${ECHO_T}no" >&6 |
4821 |
fi |
4822 |
|
4823 |
test -n "$CC" && break |
4824 |
done |
4825 |
fi |
4826 |
if test -z "$CC"; then |
4827 |
ac_ct_CC=$CC |
4828 |
for ac_prog in cl |
4829 |
do |
4830 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4831 |
set dummy $ac_prog; ac_word=$2 |
4832 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4833 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4834 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4835 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4836 |
else |
4837 |
if test -n "$ac_ct_CC"; then |
4838 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4839 |
else |
4840 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4841 |
for as_dir in $PATH |
4842 |
do |
4843 |
IFS=$as_save_IFS |
4844 |
test -z "$as_dir" && as_dir=. |
4845 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4846 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4847 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
4848 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4849 |
break 2 |
4850 |
fi |
4851 |
done |
4852 |
done |
4853 |
|
4854 |
fi |
4855 |
fi |
4856 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4857 |
if test -n "$ac_ct_CC"; then |
4858 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4859 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
4860 |
else |
4861 |
echo "$as_me:$LINENO: result: no" >&5 |
4862 |
echo "${ECHO_T}no" >&6 |
4863 |
fi |
4864 |
|
4865 |
test -n "$ac_ct_CC" && break |
4866 |
done |
4867 |
|
4868 |
CC=$ac_ct_CC |
4869 |
fi |
4870 |
|
4871 |
fi |
4872 |
|
4873 |
|
4874 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
4875 |
See \`config.log' for more details." >&5 |
4876 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
4877 |
See \`config.log' for more details." >&2;} |
4878 |
{ (exit 1); exit 1; }; } |
4879 |
|
4880 |
# Provide some information about the compiler. |
4881 |
echo "$as_me:$LINENO:" \ |
4882 |
"checking for C compiler version" >&5 |
4883 |
ac_compiler=`set X $ac_compile; echo $2` |
4884 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
4885 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
4886 |
ac_status=$? |
4887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4888 |
(exit $ac_status); } |
4889 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
4890 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
4891 |
ac_status=$? |
4892 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4893 |
(exit $ac_status); } |
4894 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
4895 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
4896 |
ac_status=$? |
4897 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4898 |
(exit $ac_status); } |
4899 |
|
4900 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4901 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4902 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4903 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4904 |
else |
4905 |
cat >conftest.$ac_ext <<_ACEOF |
4906 |
/* confdefs.h. */ |
4907 |
_ACEOF |
4908 |
cat confdefs.h >>conftest.$ac_ext |
4909 |
cat >>conftest.$ac_ext <<_ACEOF |
4910 |
/* end confdefs.h. */ |
4911 |
|
4912 |
int |
4913 |
main () |
4914 |
{ |
4915 |
#ifndef __GNUC__ |
4916 |
choke me |
4917 |
#endif |
4918 |
|
4919 |
; |
4920 |
return 0; |
4921 |
} |
4922 |
_ACEOF |
4923 |
rm -f conftest.$ac_objext |
4924 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4925 |
(eval $ac_compile) 2>conftest.er1 |
4926 |
ac_status=$? |
4927 |
grep -v '^ *+' conftest.er1 >conftest.err |
4928 |
rm -f conftest.er1 |
4929 |
cat conftest.err >&5 |
4930 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4931 |
(exit $ac_status); } && |
4932 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4933 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4934 |
(eval $ac_try) 2>&5 |
4935 |
ac_status=$? |
4936 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4937 |
(exit $ac_status); }; } && |
4938 |
{ ac_try='test -s conftest.$ac_objext' |
4939 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4940 |
(eval $ac_try) 2>&5 |
4941 |
ac_status=$? |
4942 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4943 |
(exit $ac_status); }; }; then |
4944 |
ac_compiler_gnu=yes |
4945 |
else |
4946 |
echo "$as_me: failed program was:" >&5 |
4947 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4948 |
|
4949 |
ac_compiler_gnu=no |
4950 |
fi |
4951 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4952 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4953 |
|
4954 |
fi |
4955 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4956 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
4957 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
4958 |
ac_test_CFLAGS=${CFLAGS+set} |
4959 |
ac_save_CFLAGS=$CFLAGS |
4960 |
CFLAGS="-g" |
4961 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4962 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4963 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
4964 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4965 |
else |
4966 |
cat >conftest.$ac_ext <<_ACEOF |
4967 |
/* confdefs.h. */ |
4968 |
_ACEOF |
4969 |
cat confdefs.h >>conftest.$ac_ext |
4970 |
cat >>conftest.$ac_ext <<_ACEOF |
4971 |
/* end confdefs.h. */ |
4972 |
|
4973 |
int |
4974 |
main () |
4975 |
{ |
4976 |
|
4977 |
; |
4978 |
return 0; |
4979 |
} |
4980 |
_ACEOF |
4981 |
rm -f conftest.$ac_objext |
4982 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4983 |
(eval $ac_compile) 2>conftest.er1 |
4984 |
ac_status=$? |
4985 |
grep -v '^ *+' conftest.er1 >conftest.err |
4986 |
rm -f conftest.er1 |
4987 |
cat conftest.err >&5 |
4988 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4989 |
(exit $ac_status); } && |
4990 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4991 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4992 |
(eval $ac_try) 2>&5 |
4993 |
ac_status=$? |
4994 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4995 |
(exit $ac_status); }; } && |
4996 |
{ ac_try='test -s conftest.$ac_objext' |
4997 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4998 |
(eval $ac_try) 2>&5 |
4999 |
ac_status=$? |
5000 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5001 |
(exit $ac_status); }; }; then |
5002 |
ac_cv_prog_cc_g=yes |
5003 |
else |
5004 |
echo "$as_me: failed program was:" >&5 |
5005 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5006 |
|
5007 |
ac_cv_prog_cc_g=no |
5008 |
fi |
5009 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5010 |
fi |
5011 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
5012 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
5013 |
if test "$ac_test_CFLAGS" = set; then |
5014 |
CFLAGS=$ac_save_CFLAGS |
5015 |
elif test $ac_cv_prog_cc_g = yes; then |
5016 |
if test "$GCC" = yes; then |
5017 |
CFLAGS="-g -O2" |
5018 |
else |
5019 |
CFLAGS="-g" |
5020 |
fi |
5021 |
else |
5022 |
if test "$GCC" = yes; then |
5023 |
CFLAGS="-O2" |
5024 |
else |
5025 |
CFLAGS= |
5026 |
fi |
5027 |
fi |
5028 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
5029 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
5030 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
5031 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5032 |
else |
5033 |
ac_cv_prog_cc_stdc=no |
5034 |
ac_save_CC=$CC |
5035 |
cat >conftest.$ac_ext <<_ACEOF |
5036 |
/* confdefs.h. */ |
5037 |
_ACEOF |
5038 |
cat confdefs.h >>conftest.$ac_ext |
5039 |
cat >>conftest.$ac_ext <<_ACEOF |
5040 |
/* end confdefs.h. */ |
5041 |
#include <stdarg.h> |
5042 |
#include <stdio.h> |
5043 |
#include <sys/types.h> |
5044 |
#include <sys/stat.h> |
5045 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
5046 |
struct buf { int x; }; |
5047 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
5048 |
static char *e (p, i) |
5049 |
char **p; |
5050 |
int i; |
5051 |
{ |
5052 |
return p[i]; |
5053 |
} |
5054 |
static char *f (char * (*g) (char **, int), char **p, ...) |
5055 |
{ |
5056 |
char *s; |
5057 |
va_list v; |
5058 |
va_start (v,p); |
5059 |
s = g (p, va_arg (v,int)); |
5060 |
va_end (v); |
5061 |
return s; |
5062 |
} |
5063 |
|
5064 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
5065 |
function prototypes and stuff, but not '\xHH' hex character constants. |
5066 |
These don't provoke an error unfortunately, instead are silently treated |
5067 |
as 'x'. The following induces an error, until -std1 is added to get |
5068 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
5069 |
array size at least. It's necessary to write '\x00'==0 to get something |
5070 |
that's true only with -std1. */ |
5071 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
5072 |
|
5073 |
int test (int i, double x); |
5074 |
struct s1 {int (*f) (int a);}; |
5075 |
struct s2 {int (*f) (double a);}; |
5076 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5077 |
int argc; |
5078 |
char **argv; |
5079 |
int |
5080 |
main () |
5081 |
|