1 |
dpavlin |
2 |
#! /bin/sh |
2 |
|
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
|
|
# Generated by GNU Autoconf 2.59 for hyperestraier 0.5.1. |
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='hyperestraier' |
269 |
|
|
PACKAGE_TARNAME='hyperestraier' |
270 |
|
|
PACKAGE_VERSION='0.5.1' |
271 |
|
|
PACKAGE_STRING='hyperestraier 0.5.1' |
272 |
|
|
PACKAGE_BUGREPORT='' |
273 |
|
|
|
274 |
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LIBVER LIBREV PROTVER MYCFLAGS MYCPPOPTS MYLDOPTS MYMTLIBS MYSKLIBS MYRUNPATH MYPOSTCMD LIBOBJS LTLIBOBJS' |
275 |
|
|
ac_subst_files='' |
276 |
|
|
|
277 |
|
|
# Initialize some variables set by options. |
278 |
|
|
ac_init_help= |
279 |
|
|
ac_init_version=false |
280 |
|
|
# The variables have the same names as the options, with |
281 |
|
|
# dashes changed to underlines. |
282 |
|
|
cache_file=/dev/null |
283 |
|
|
exec_prefix=NONE |
284 |
|
|
no_create= |
285 |
|
|
no_recursion= |
286 |
|
|
prefix=NONE |
287 |
|
|
program_prefix=NONE |
288 |
|
|
program_suffix=NONE |
289 |
|
|
program_transform_name=s,x,x, |
290 |
|
|
silent= |
291 |
|
|
site= |
292 |
|
|
srcdir= |
293 |
|
|
verbose= |
294 |
|
|
x_includes=NONE |
295 |
|
|
x_libraries=NONE |
296 |
|
|
|
297 |
|
|
# Installation directory options. |
298 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo" |
299 |
|
|
# and all the variables that are supposed to be based on exec_prefix |
300 |
|
|
# by default will actually change. |
301 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
302 |
|
|
bindir='${exec_prefix}/bin' |
303 |
|
|
sbindir='${exec_prefix}/sbin' |
304 |
|
|
libexecdir='${exec_prefix}/libexec' |
305 |
|
|
datadir='${prefix}/share' |
306 |
|
|
sysconfdir='${prefix}/etc' |
307 |
|
|
sharedstatedir='${prefix}/com' |
308 |
|
|
localstatedir='${prefix}/var' |
309 |
|
|
libdir='${exec_prefix}/lib' |
310 |
|
|
includedir='${prefix}/include' |
311 |
|
|
oldincludedir='/usr/include' |
312 |
|
|
infodir='${prefix}/info' |
313 |
|
|
mandir='${prefix}/man' |
314 |
|
|
|
315 |
|
|
ac_prev= |
316 |
|
|
for ac_option |
317 |
|
|
do |
318 |
|
|
# If the previous option needs an argument, assign it. |
319 |
|
|
if test -n "$ac_prev"; then |
320 |
|
|
eval "$ac_prev=\$ac_option" |
321 |
|
|
ac_prev= |
322 |
|
|
continue |
323 |
|
|
fi |
324 |
|
|
|
325 |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
326 |
|
|
|
327 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
328 |
|
|
|
329 |
|
|
case $ac_option in |
330 |
|
|
|
331 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
332 |
|
|
ac_prev=bindir ;; |
333 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
334 |
|
|
bindir=$ac_optarg ;; |
335 |
|
|
|
336 |
|
|
-build | --build | --buil | --bui | --bu) |
337 |
|
|
ac_prev=build_alias ;; |
338 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
339 |
|
|
build_alias=$ac_optarg ;; |
340 |
|
|
|
341 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
342 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
343 |
|
|
ac_prev=cache_file ;; |
344 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
345 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
346 |
|
|
cache_file=$ac_optarg ;; |
347 |
|
|
|
348 |
|
|
--config-cache | -C) |
349 |
|
|
cache_file=config.cache ;; |
350 |
|
|
|
351 |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
352 |
|
|
ac_prev=datadir ;; |
353 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
354 |
|
|
| --da=*) |
355 |
|
|
datadir=$ac_optarg ;; |
356 |
|
|
|
357 |
|
|
-disable-* | --disable-*) |
358 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
359 |
|
|
# Reject names that are not valid shell variable names. |
360 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
361 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
362 |
|
|
{ (exit 1); exit 1; }; } |
363 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
364 |
|
|
eval "enable_$ac_feature=no" ;; |
365 |
|
|
|
366 |
|
|
-enable-* | --enable-*) |
367 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
368 |
|
|
# Reject names that are not valid shell variable names. |
369 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
370 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
371 |
|
|
{ (exit 1); exit 1; }; } |
372 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
373 |
|
|
case $ac_option in |
374 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
375 |
|
|
*) ac_optarg=yes ;; |
376 |
|
|
esac |
377 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;; |
378 |
|
|
|
379 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
380 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
381 |
|
|
| --exec | --exe | --ex) |
382 |
|
|
ac_prev=exec_prefix ;; |
383 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
384 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
385 |
|
|
| --exec=* | --exe=* | --ex=*) |
386 |
|
|
exec_prefix=$ac_optarg ;; |
387 |
|
|
|
388 |
|
|
-gas | --gas | --ga | --g) |
389 |
|
|
# Obsolete; use --with-gas. |
390 |
|
|
with_gas=yes ;; |
391 |
|
|
|
392 |
|
|
-help | --help | --hel | --he | -h) |
393 |
|
|
ac_init_help=long ;; |
394 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
395 |
|
|
ac_init_help=recursive ;; |
396 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
397 |
|
|
ac_init_help=short ;; |
398 |
|
|
|
399 |
|
|
-host | --host | --hos | --ho) |
400 |
|
|
ac_prev=host_alias ;; |
401 |
|
|
-host=* | --host=* | --hos=* | --ho=*) |
402 |
|
|
host_alias=$ac_optarg ;; |
403 |
|
|
|
404 |
|
|
-includedir | --includedir | --includedi | --included | --include \ |
405 |
|
|
| --includ | --inclu | --incl | --inc) |
406 |
|
|
ac_prev=includedir ;; |
407 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
408 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*) |
409 |
|
|
includedir=$ac_optarg ;; |
410 |
|
|
|
411 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf) |
412 |
|
|
ac_prev=infodir ;; |
413 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
414 |
|
|
infodir=$ac_optarg ;; |
415 |
|
|
|
416 |
|
|
-libdir | --libdir | --libdi | --libd) |
417 |
|
|
ac_prev=libdir ;; |
418 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
419 |
|
|
libdir=$ac_optarg ;; |
420 |
|
|
|
421 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
422 |
|
|
| --libexe | --libex | --libe) |
423 |
|
|
ac_prev=libexecdir ;; |
424 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
425 |
|
|
| --libexe=* | --libex=* | --libe=*) |
426 |
|
|
libexecdir=$ac_optarg ;; |
427 |
|
|
|
428 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
429 |
|
|
| --localstate | --localstat | --localsta | --localst \ |
430 |
|
|
| --locals | --local | --loca | --loc | --lo) |
431 |
|
|
ac_prev=localstatedir ;; |
432 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
433 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
434 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
435 |
|
|
localstatedir=$ac_optarg ;; |
436 |
|
|
|
437 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
438 |
|
|
ac_prev=mandir ;; |
439 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
440 |
|
|
mandir=$ac_optarg ;; |
441 |
|
|
|
442 |
|
|
-nfp | --nfp | --nf) |
443 |
|
|
# Obsolete; use --without-fp. |
444 |
|
|
with_fp=no ;; |
445 |
|
|
|
446 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
447 |
|
|
| --no-cr | --no-c | -n) |
448 |
|
|
no_create=yes ;; |
449 |
|
|
|
450 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
451 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
452 |
|
|
no_recursion=yes ;; |
453 |
|
|
|
454 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
455 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
456 |
|
|
| --oldin | --oldi | --old | --ol | --o) |
457 |
|
|
ac_prev=oldincludedir ;; |
458 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
459 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
460 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
461 |
|
|
oldincludedir=$ac_optarg ;; |
462 |
|
|
|
463 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
464 |
|
|
ac_prev=prefix ;; |
465 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
466 |
|
|
prefix=$ac_optarg ;; |
467 |
|
|
|
468 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
469 |
|
|
| --program-pre | --program-pr | --program-p) |
470 |
|
|
ac_prev=program_prefix ;; |
471 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
472 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
473 |
|
|
program_prefix=$ac_optarg ;; |
474 |
|
|
|
475 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
476 |
|
|
| --program-suf | --program-su | --program-s) |
477 |
|
|
ac_prev=program_suffix ;; |
478 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
479 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
480 |
|
|
program_suffix=$ac_optarg ;; |
481 |
|
|
|
482 |
|
|
-program-transform-name | --program-transform-name \ |
483 |
|
|
| --program-transform-nam | --program-transform-na \ |
484 |
|
|
| --program-transform-n | --program-transform- \ |
485 |
|
|
| --program-transform | --program-transfor \ |
486 |
|
|
| --program-transfo | --program-transf \ |
487 |
|
|
| --program-trans | --program-tran \ |
488 |
|
|
| --progr-tra | --program-tr | --program-t) |
489 |
|
|
ac_prev=program_transform_name ;; |
490 |
|
|
-program-transform-name=* | --program-transform-name=* \ |
491 |
|
|
| --program-transform-nam=* | --program-transform-na=* \ |
492 |
|
|
| --program-transform-n=* | --program-transform-=* \ |
493 |
|
|
| --program-transform=* | --program-transfor=* \ |
494 |
|
|
| --program-transfo=* | --program-transf=* \ |
495 |
|
|
| --program-trans=* | --program-tran=* \ |
496 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*) |
497 |
|
|
program_transform_name=$ac_optarg ;; |
498 |
|
|
|
499 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
500 |
|
|
| -silent | --silent | --silen | --sile | --sil) |
501 |
|
|
silent=yes ;; |
502 |
|
|
|
503 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
504 |
|
|
ac_prev=sbindir ;; |
505 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
506 |
|
|
| --sbi=* | --sb=*) |
507 |
|
|
sbindir=$ac_optarg ;; |
508 |
|
|
|
509 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
510 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
511 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \ |
512 |
|
|
| --sha | --sh) |
513 |
|
|
ac_prev=sharedstatedir ;; |
514 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
515 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
516 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
517 |
|
|
| --sha=* | --sh=*) |
518 |
|
|
sharedstatedir=$ac_optarg ;; |
519 |
|
|
|
520 |
|
|
-site | --site | --sit) |
521 |
|
|
ac_prev=site ;; |
522 |
|
|
-site=* | --site=* | --sit=*) |
523 |
|
|
site=$ac_optarg ;; |
524 |
|
|
|
525 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
526 |
|
|
ac_prev=srcdir ;; |
527 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
528 |
|
|
srcdir=$ac_optarg ;; |
529 |
|
|
|
530 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
531 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy) |
532 |
|
|
ac_prev=sysconfdir ;; |
533 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
534 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
535 |
|
|
sysconfdir=$ac_optarg ;; |
536 |
|
|
|
537 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t) |
538 |
|
|
ac_prev=target_alias ;; |
539 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
540 |
|
|
target_alias=$ac_optarg ;; |
541 |
|
|
|
542 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
543 |
|
|
verbose=yes ;; |
544 |
|
|
|
545 |
|
|
-version | --version | --versio | --versi | --vers | -V) |
546 |
|
|
ac_init_version=: ;; |
547 |
|
|
|
548 |
|
|
-with-* | --with-*) |
549 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
550 |
|
|
# Reject names that are not valid shell variable names. |
551 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
552 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
553 |
|
|
{ (exit 1); exit 1; }; } |
554 |
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'` |
555 |
|
|
case $ac_option in |
556 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
557 |
|
|
*) ac_optarg=yes ;; |
558 |
|
|
esac |
559 |
|
|
eval "with_$ac_package='$ac_optarg'" ;; |
560 |
|
|
|
561 |
|
|
-without-* | --without-*) |
562 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
563 |
|
|
# Reject names that are not valid shell variable names. |
564 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
565 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
566 |
|
|
{ (exit 1); exit 1; }; } |
567 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'` |
568 |
|
|
eval "with_$ac_package=no" ;; |
569 |
|
|
|
570 |
|
|
--x) |
571 |
|
|
# Obsolete; use --with-x. |
572 |
|
|
with_x=yes ;; |
573 |
|
|
|
574 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
575 |
|
|
| --x-incl | --x-inc | --x-in | --x-i) |
576 |
|
|
ac_prev=x_includes ;; |
577 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
578 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
579 |
|
|
x_includes=$ac_optarg ;; |
580 |
|
|
|
581 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
582 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
583 |
|
|
ac_prev=x_libraries ;; |
584 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
585 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
586 |
|
|
x_libraries=$ac_optarg ;; |
587 |
|
|
|
588 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option |
589 |
|
|
Try \`$0 --help' for more information." >&2 |
590 |
|
|
{ (exit 1); exit 1; }; } |
591 |
|
|
;; |
592 |
|
|
|
593 |
|
|
*=*) |
594 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
595 |
|
|
# Reject names that are not valid shell variable names. |
596 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
597 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
598 |
|
|
{ (exit 1); exit 1; }; } |
599 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
600 |
|
|
eval "$ac_envvar='$ac_optarg'" |
601 |
|
|
export $ac_envvar ;; |
602 |
|
|
|
603 |
|
|
*) |
604 |
|
|
# FIXME: should be removed in autoconf 3.0. |
605 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
606 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
607 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
608 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
609 |
|
|
;; |
610 |
|
|
|
611 |
|
|
esac |
612 |
|
|
done |
613 |
|
|
|
614 |
|
|
if test -n "$ac_prev"; then |
615 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
616 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
617 |
|
|
{ (exit 1); exit 1; }; } |
618 |
|
|
fi |
619 |
|
|
|
620 |
|
|
# Be sure to have absolute paths. |
621 |
|
|
for ac_var in exec_prefix prefix |
622 |
|
|
do |
623 |
|
|
eval ac_val=$`echo $ac_var` |
624 |
|
|
case $ac_val in |
625 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
626 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
627 |
|
|
{ (exit 1); exit 1; }; };; |
628 |
|
|
esac |
629 |
|
|
done |
630 |
|
|
|
631 |
|
|
# Be sure to have absolute paths. |
632 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
633 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir |
634 |
|
|
do |
635 |
|
|
eval ac_val=$`echo $ac_var` |
636 |
|
|
case $ac_val in |
637 |
|
|
[\\/$]* | ?:[\\/]* ) ;; |
638 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
639 |
|
|
{ (exit 1); exit 1; }; };; |
640 |
|
|
esac |
641 |
|
|
done |
642 |
|
|
|
643 |
|
|
# There might be people who depend on the old broken behavior: `$host' |
644 |
|
|
# used to hold the argument of --host etc. |
645 |
|
|
# FIXME: To remove some day. |
646 |
|
|
build=$build_alias |
647 |
|
|
host=$host_alias |
648 |
|
|
target=$target_alias |
649 |
|
|
|
650 |
|
|
# FIXME: To remove some day. |
651 |
|
|
if test "x$host_alias" != x; then |
652 |
|
|
if test "x$build_alias" = x; then |
653 |
|
|
cross_compiling=maybe |
654 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
655 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
656 |
|
|
elif test "x$build_alias" != "x$host_alias"; then |
657 |
|
|
cross_compiling=yes |
658 |
|
|
fi |
659 |
|
|
fi |
660 |
|
|
|
661 |
|
|
ac_tool_prefix= |
662 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
663 |
|
|
|
664 |
|
|
test "$silent" = yes && exec 6>/dev/null |
665 |
|
|
|
666 |
|
|
|
667 |
|
|
# Find the source files, if location was not specified. |
668 |
|
|
if test -z "$srcdir"; then |
669 |
|
|
ac_srcdir_defaulted=yes |
670 |
|
|
# Try the directory containing this script, then its parent. |
671 |
|
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
672 |
|
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
673 |
|
|
X"$0" : 'X\(//\)[^/]' \| \ |
674 |
|
|
X"$0" : 'X\(//\)$' \| \ |
675 |
|
|
X"$0" : 'X\(/\)' \| \ |
676 |
|
|
. : '\(.\)' 2>/dev/null || |
677 |
|
|
echo X"$0" | |
678 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
679 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
680 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
681 |
|
|
/^X\(\/\).*/{ s//\1/; q; } |
682 |
|
|
s/.*/./; q'` |
683 |
|
|
srcdir=$ac_confdir |
684 |
|
|
if test ! -r $srcdir/$ac_unique_file; then |
685 |
|
|
srcdir=.. |
686 |
|
|
fi |
687 |
|
|
else |
688 |
|
|
ac_srcdir_defaulted=no |
689 |
|
|
fi |
690 |
|
|
if test ! -r $srcdir/$ac_unique_file; then |
691 |
|
|
if test "$ac_srcdir_defaulted" = yes; then |
692 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
693 |
|
|
{ (exit 1); exit 1; }; } |
694 |
|
|
else |
695 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
696 |
|
|
{ (exit 1); exit 1; }; } |
697 |
|
|
fi |
698 |
|
|
fi |
699 |
|
|
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
700 |
|
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
701 |
|
|
{ (exit 1); exit 1; }; } |
702 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
703 |
|
|
ac_env_build_alias_set=${build_alias+set} |
704 |
|
|
ac_env_build_alias_value=$build_alias |
705 |
|
|
ac_cv_env_build_alias_set=${build_alias+set} |
706 |
|
|
ac_cv_env_build_alias_value=$build_alias |
707 |
|
|
ac_env_host_alias_set=${host_alias+set} |
708 |
|
|
ac_env_host_alias_value=$host_alias |
709 |
|
|
ac_cv_env_host_alias_set=${host_alias+set} |
710 |
|
|
ac_cv_env_host_alias_value=$host_alias |
711 |
|
|
ac_env_target_alias_set=${target_alias+set} |
712 |
|
|
ac_env_target_alias_value=$target_alias |
713 |
|
|
ac_cv_env_target_alias_set=${target_alias+set} |
714 |
|
|
ac_cv_env_target_alias_value=$target_alias |
715 |
|
|
ac_env_CC_set=${CC+set} |
716 |
|
|
ac_env_CC_value=$CC |
717 |
|
|
ac_cv_env_CC_set=${CC+set} |
718 |
|
|
ac_cv_env_CC_value=$CC |
719 |
|
|
ac_env_CFLAGS_set=${CFLAGS+set} |
720 |
|
|
ac_env_CFLAGS_value=$CFLAGS |
721 |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
722 |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS |
723 |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
724 |
|
|
ac_env_LDFLAGS_value=$LDFLAGS |
725 |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
726 |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
727 |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
728 |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
729 |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
730 |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
731 |
|
|
|
732 |
|
|
# |
733 |
|
|
# Report the --help message. |
734 |
|
|
# |
735 |
|
|
if test "$ac_init_help" = "long"; then |
736 |
|
|
# Omit some internal or obsolete options to make the list less imposing. |
737 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh. |
738 |
|
|
cat <<_ACEOF |
739 |
|
|
\`configure' configures hyperestraier 0.5.1 to adapt to many kinds of systems. |
740 |
|
|
|
741 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
742 |
|
|
|
743 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
744 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables. |
745 |
|
|
|
746 |
|
|
Defaults for the options are specified in brackets. |
747 |
|
|
|
748 |
|
|
Configuration: |
749 |
|
|
-h, --help display this help and exit |
750 |
|
|
--help=short display options specific to this package |
751 |
|
|
--help=recursive display the short help of all the included packages |
752 |
|
|
-V, --version display version information and exit |
753 |
|
|
-q, --quiet, --silent do not print \`checking...' messages |
754 |
|
|
--cache-file=FILE cache test results in FILE [disabled] |
755 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache' |
756 |
|
|
-n, --no-create do not create output files |
757 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
758 |
|
|
|
759 |
|
|
_ACEOF |
760 |
|
|
|
761 |
|
|
cat <<_ACEOF |
762 |
|
|
Installation directories: |
763 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX |
764 |
|
|
[$ac_default_prefix] |
765 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
766 |
|
|
[PREFIX] |
767 |
|
|
|
768 |
|
|
By default, \`make install' will install all the files in |
769 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
770 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
771 |
|
|
for instance \`--prefix=\$HOME'. |
772 |
|
|
|
773 |
|
|
For better control, use the options below. |
774 |
|
|
|
775 |
|
|
Fine tuning of the installation directories: |
776 |
|
|
--bindir=DIR user executables [EPREFIX/bin] |
777 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
778 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
779 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
780 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
781 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
782 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
783 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib] |
784 |
|
|
--includedir=DIR C header files [PREFIX/include] |
785 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
786 |
|
|
--infodir=DIR info documentation [PREFIX/info] |
787 |
|
|
--mandir=DIR man documentation [PREFIX/man] |
788 |
|
|
_ACEOF |
789 |
|
|
|
790 |
|
|
cat <<\_ACEOF |
791 |
|
|
_ACEOF |
792 |
|
|
fi |
793 |
|
|
|
794 |
|
|
if test -n "$ac_init_help"; then |
795 |
|
|
case $ac_init_help in |
796 |
|
|
short | recursive ) echo "Configuration of hyperestraier 0.5.1:";; |
797 |
|
|
esac |
798 |
|
|
cat <<\_ACEOF |
799 |
|
|
|
800 |
|
|
Optional Features: |
801 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
802 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
803 |
|
|
--enable-debug build for debugging |
804 |
|
|
--enable-devel build for development |
805 |
|
|
--enable-profile build for profiling |
806 |
|
|
--enable-static link statically |
807 |
|
|
|
808 |
|
|
Some influential environment variables: |
809 |
|
|
CC C compiler command |
810 |
|
|
CFLAGS C compiler flags |
811 |
|
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
812 |
|
|
nonstandard directory <lib dir> |
813 |
|
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
814 |
|
|
headers in a nonstandard directory <include dir> |
815 |
|
|
|
816 |
|
|
Use these variables to override the choices made by `configure' or to help |
817 |
|
|
it to find libraries and programs with nonstandard names/locations. |
818 |
|
|
|
819 |
|
|
_ACEOF |
820 |
|
|
fi |
821 |
|
|
|
822 |
|
|
if test "$ac_init_help" = "recursive"; then |
823 |
|
|
# If there are subdirs, report their specific --help. |
824 |
|
|
ac_popdir=`pwd` |
825 |
|
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
826 |
|
|
test -d $ac_dir || continue |
827 |
|
|
ac_builddir=. |
828 |
|
|
|
829 |
|
|
if test "$ac_dir" != .; then |
830 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
831 |
|
|
# A "../" for each directory in $ac_dir_suffix. |
832 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
833 |
|
|
else |
834 |
|
|
ac_dir_suffix= ac_top_builddir= |
835 |
|
|
fi |
836 |
|
|
|
837 |
|
|
case $srcdir in |
838 |
|
|
.) # No --srcdir option. We are building in place. |
839 |
|
|
ac_srcdir=. |
840 |
|
|
if test -z "$ac_top_builddir"; then |
841 |
|
|
ac_top_srcdir=. |
842 |
|
|
else |
843 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
844 |
|
|
fi ;; |
845 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
846 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix; |
847 |
|
|
ac_top_srcdir=$srcdir ;; |
848 |
|
|
*) # Relative path. |
849 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
850 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
851 |
|
|
esac |
852 |
|
|
|
853 |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
854 |
|
|
# the directories may not exist. |
855 |
|
|
case `pwd` in |
856 |
|
|
.) ac_abs_builddir="$ac_dir";; |
857 |
|
|
*) |
858 |
|
|
case "$ac_dir" in |
859 |
|
|
.) ac_abs_builddir=`pwd`;; |
860 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
861 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
862 |
|
|
esac;; |
863 |
|
|
esac |
864 |
|
|
case $ac_abs_builddir in |
865 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
866 |
|
|
*) |
867 |
|
|
case ${ac_top_builddir}. in |
868 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
869 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
870 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
871 |
|
|
esac;; |
872 |
|
|
esac |
873 |
|
|
case $ac_abs_builddir in |
874 |
|
|
.) ac_abs_srcdir=$ac_srcdir;; |
875 |
|
|
*) |
876 |
|
|
case $ac_srcdir in |
877 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
878 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
879 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
880 |
|
|
esac;; |
881 |
|
|
esac |
882 |
|
|
case $ac_abs_builddir in |
883 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
884 |
|
|
*) |
885 |
|
|
case $ac_top_srcdir in |
886 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
887 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
888 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
889 |
|
|
esac;; |
890 |
|
|
esac |
891 |
|
|
|
892 |
|
|
cd $ac_dir |
893 |
|
|
# Check for guested configure; otherwise get Cygnus style configure. |
894 |
|
|
if test -f $ac_srcdir/configure.gnu; then |
895 |
|
|
echo |
896 |
|
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
897 |
|
|
elif test -f $ac_srcdir/configure; then |
898 |
|
|
echo |
899 |
|
|
$SHELL $ac_srcdir/configure --help=recursive |
900 |
|
|
elif test -f $ac_srcdir/configure.ac || |
901 |
|
|
test -f $ac_srcdir/configure.in; then |
902 |
|
|
echo |
903 |
|
|
$ac_configure --help |
904 |
|
|
else |
905 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
906 |
|
|
fi |
907 |
|
|
cd $ac_popdir |
908 |
|
|
done |
909 |
|
|
fi |
910 |
|
|
|
911 |
|
|
test -n "$ac_init_help" && exit 0 |
912 |
|
|
if $ac_init_version; then |
913 |
|
|
cat <<\_ACEOF |
914 |
|
|
hyperestraier configure 0.5.1 |
915 |
|
|
generated by GNU Autoconf 2.59 |
916 |
|
|
|
917 |
|
|
Copyright (C) 2003 Free Software Foundation, Inc. |
918 |
|
|
This configure script is free software; the Free Software Foundation |
919 |
|
|
gives unlimited permission to copy, distribute and modify it. |
920 |
|
|
_ACEOF |
921 |
|
|
exit 0 |
922 |
|
|
fi |
923 |
|
|
exec 5>config.log |
924 |
|
|
cat >&5 <<_ACEOF |
925 |
|
|
This file contains any messages produced by compilers while |
926 |
|
|
running configure, to aid debugging if configure makes a mistake. |
927 |
|
|
|
928 |
|
|
It was created by hyperestraier $as_me 0.5.1, which was |
929 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was |
930 |
|
|
|
931 |
|
|
$ $0 $@ |
932 |
|
|
|
933 |
|
|
_ACEOF |
934 |
|
|
{ |
935 |
|
|
cat <<_ASUNAME |
936 |
|
|
## --------- ## |
937 |
|
|
## Platform. ## |
938 |
|
|
## --------- ## |
939 |
|
|
|
940 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
941 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
942 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
943 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
944 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
945 |
|
|
|
946 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
947 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
948 |
|
|
|
949 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
950 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
951 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
952 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
953 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
954 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
955 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
956 |
|
|
|
957 |
|
|
_ASUNAME |
958 |
|
|
|
959 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
960 |
|
|
for as_dir in $PATH |
961 |
|
|
do |
962 |
|
|
IFS=$as_save_IFS |
963 |
|
|
test -z "$as_dir" && as_dir=. |
964 |
|
|
echo "PATH: $as_dir" |
965 |
|
|
done |
966 |
|
|
|
967 |
|
|
} >&5 |
968 |
|
|
|
969 |
|
|
cat >&5 <<_ACEOF |
970 |
|
|
|
971 |
|
|
|
972 |
|
|
## ----------- ## |
973 |
|
|
## Core tests. ## |
974 |
|
|
## ----------- ## |
975 |
|
|
|
976 |
|
|
_ACEOF |
977 |
|
|
|
978 |
|
|
|
979 |
|
|
# Keep a trace of the command line. |
980 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up. |
981 |
|
|
# Strip out --silent because we don't want to record it for future runs. |
982 |
|
|
# Also quote any args containing shell meta-characters. |
983 |
|
|
# Make two passes to allow for proper duplicate-argument suppression. |
984 |
|
|
ac_configure_args= |
985 |
|
|
ac_configure_args0= |
986 |
|
|
ac_configure_args1= |
987 |
|
|
ac_sep= |
988 |
|
|
ac_must_keep_next=false |
989 |
|
|
for ac_pass in 1 2 |
990 |
|
|
do |
991 |
|
|
for ac_arg |
992 |
|
|
do |
993 |
|
|
case $ac_arg in |
994 |
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
995 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
996 |
|
|
| -silent | --silent | --silen | --sile | --sil) |
997 |
|
|
continue ;; |
998 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
999 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1000 |
|
|
esac |
1001 |
|
|
case $ac_pass in |
1002 |
|
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1003 |
|
|
2) |
1004 |
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1005 |
|
|
if test $ac_must_keep_next = true; then |
1006 |
|
|
ac_must_keep_next=false # Got value, back to normal. |
1007 |
|
|
else |
1008 |
|
|
case $ac_arg in |
1009 |
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1010 |
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1011 |
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1012 |
|
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1013 |
|
|
case "$ac_configure_args0 " in |
1014 |
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1015 |
|
|
esac |
1016 |
|
|
;; |
1017 |
|
|
-* ) ac_must_keep_next=true ;; |
1018 |
|
|
esac |
1019 |
|
|
fi |
1020 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1021 |
|
|
# Get rid of the leading space. |
1022 |
|
|
ac_sep=" " |
1023 |
|
|
;; |
1024 |
|
|
esac |
1025 |
|
|
done |
1026 |
|
|
done |
1027 |
|
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1028 |
|
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1029 |
|
|
|
1030 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1031 |
|
|
# config.log. We remove comments because anyway the quotes in there |
1032 |
|
|
# would cause problems or look ugly. |
1033 |
|
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1034 |
|
|
# such as our DU 5.0 friend, will then `close' the trap. |
1035 |
|
|
trap 'exit_status=$? |
1036 |
|
|
# Save into config.log some information that might help in debugging. |
1037 |
|
|
{ |
1038 |
|
|
echo |
1039 |
|
|
|
1040 |
|
|
cat <<\_ASBOX |
1041 |
|
|
## ---------------- ## |
1042 |
|
|
## Cache variables. ## |
1043 |
|
|
## ---------------- ## |
1044 |
|
|
_ASBOX |
1045 |
|
|
echo |
1046 |
|
|
# The following way of writing the cache mishandles newlines in values, |
1047 |
|
|
{ |
1048 |
|
|
(set) 2>&1 | |
1049 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1050 |
|
|
*ac_space=\ *) |
1051 |
|
|
sed -n \ |
1052 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1053 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1054 |
|
|
;; |
1055 |
|
|
*) |
1056 |
|
|
sed -n \ |
1057 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1058 |
|
|
;; |
1059 |
|
|
esac; |
1060 |
|
|
} |
1061 |
|
|
echo |
1062 |
|
|
|
1063 |
|
|
cat <<\_ASBOX |
1064 |
|
|
## ----------------- ## |
1065 |
|
|
## Output variables. ## |
1066 |
|
|
## ----------------- ## |
1067 |
|
|
_ASBOX |
1068 |
|
|
echo |
1069 |
|
|
for ac_var in $ac_subst_vars |
1070 |
|
|
do |
1071 |
|
|
eval ac_val=$`echo $ac_var` |
1072 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1073 |
|
|
done | sort |
1074 |
|
|
echo |
1075 |
|
|
|
1076 |
|
|
if test -n "$ac_subst_files"; then |
1077 |
|
|
cat <<\_ASBOX |
1078 |
|
|
## ------------- ## |
1079 |
|
|
## Output files. ## |
1080 |
|
|
## ------------- ## |
1081 |
|
|
_ASBOX |
1082 |
|
|
echo |
1083 |
|
|
for ac_var in $ac_subst_files |
1084 |
|
|
do |
1085 |
|
|
eval ac_val=$`echo $ac_var` |
1086 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1087 |
|
|
done | sort |
1088 |
|
|
echo |
1089 |
|
|
fi |
1090 |
|
|
|
1091 |
|
|
if test -s confdefs.h; then |
1092 |
|
|
cat <<\_ASBOX |
1093 |
|
|
## ----------- ## |
1094 |
|
|
## confdefs.h. ## |
1095 |
|
|
## ----------- ## |
1096 |
|
|
_ASBOX |
1097 |
|
|
echo |
1098 |
|
|
sed "/^$/d" confdefs.h | sort |
1099 |
|
|
echo |
1100 |
|
|
fi |
1101 |
|
|
test "$ac_signal" != 0 && |
1102 |
|
|
echo "$as_me: caught signal $ac_signal" |
1103 |
|
|
echo "$as_me: exit $exit_status" |
1104 |
|
|
} >&5 |
1105 |
|
|
rm -f core *.core && |
1106 |
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1107 |
|
|
exit $exit_status |
1108 |
|
|
' 0 |
1109 |
|
|
for ac_signal in 1 2 13 15; do |
1110 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1111 |
|
|
done |
1112 |
|
|
ac_signal=0 |
1113 |
|
|
|
1114 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1115 |
|
|
rm -rf conftest* confdefs.h |
1116 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1117 |
|
|
echo >confdefs.h |
1118 |
|
|
|
1119 |
|
|
# Predefined preprocessor variables. |
1120 |
|
|
|
1121 |
|
|
cat >>confdefs.h <<_ACEOF |
1122 |
|
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1123 |
|
|
_ACEOF |
1124 |
|
|
|
1125 |
|
|
|
1126 |
|
|
cat >>confdefs.h <<_ACEOF |
1127 |
|
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1128 |
|
|
_ACEOF |
1129 |
|
|
|
1130 |
|
|
|
1131 |
|
|
cat >>confdefs.h <<_ACEOF |
1132 |
|
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1133 |
|
|
_ACEOF |
1134 |
|
|
|
1135 |
|
|
|
1136 |
|
|
cat >>confdefs.h <<_ACEOF |
1137 |
|
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1138 |
|
|
_ACEOF |
1139 |
|
|
|
1140 |
|
|
|
1141 |
|
|
cat >>confdefs.h <<_ACEOF |
1142 |
|
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1143 |
|
|
_ACEOF |
1144 |
|
|
|
1145 |
|
|
|
1146 |
|
|
# Let the site file select an alternate cache file if it wants to. |
1147 |
|
|
# Prefer explicitly selected file to automatically selected ones. |
1148 |
|
|
if test -z "$CONFIG_SITE"; then |
1149 |
|
|
if test "x$prefix" != xNONE; then |
1150 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1151 |
|
|
else |
1152 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1153 |
|
|
fi |
1154 |
|
|
fi |
1155 |
|
|
for ac_site_file in $CONFIG_SITE; do |
1156 |
|
|
if test -r "$ac_site_file"; then |
1157 |
|
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1158 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1159 |
|
|
sed 's/^/| /' "$ac_site_file" >&5 |
1160 |
|
|
. "$ac_site_file" |
1161 |
|
|
fi |
1162 |
|
|
done |
1163 |
|
|
|
1164 |
|
|
if test -r "$cache_file"; then |
1165 |
|
|
# Some versions of bash will fail to source /dev/null (special |
1166 |
|
|
# files actually), so we avoid doing that. |
1167 |
|
|
if test -f "$cache_file"; then |
1168 |
|
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1169 |
|
|
echo "$as_me: loading cache $cache_file" >&6;} |
1170 |
|
|
case $cache_file in |
1171 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1172 |
|
|
*) . ./$cache_file;; |
1173 |
|
|
esac |
1174 |
|
|
fi |
1175 |
|
|
else |
1176 |
|
|
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1177 |
|
|
echo "$as_me: creating cache $cache_file" >&6;} |
1178 |
|
|
>$cache_file |
1179 |
|
|
fi |
1180 |
|
|
|
1181 |
|
|
# Check that the precious variables saved in the cache have kept the same |
1182 |
|
|
# value. |
1183 |
|
|
ac_cache_corrupted=false |
1184 |
|
|
for ac_var in `(set) 2>&1 | |
1185 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1186 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1187 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1188 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1189 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1190 |
|
|
case $ac_old_set,$ac_new_set in |
1191 |
|
|
set,) |
1192 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1193 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1194 |
|
|
ac_cache_corrupted=: ;; |
1195 |
|
|
,set) |
1196 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1197 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1198 |
|
|
ac_cache_corrupted=: ;; |
1199 |
|
|
,);; |
1200 |
|
|
*) |
1201 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1202 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1203 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1204 |
|
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1205 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1206 |
|
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1207 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1208 |
|
|
ac_cache_corrupted=: |
1209 |
|
|
fi;; |
1210 |
|
|
esac |
1211 |
|
|
# Pass precious variables to config.status. |
1212 |
|
|
if test "$ac_new_set" = set; then |
1213 |
|
|
case $ac_new_val in |
1214 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1215 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1216 |
|
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1217 |
|
|
esac |
1218 |
|
|
case " $ac_configure_args " in |
1219 |
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1220 |
|
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1221 |
|
|
esac |
1222 |
|
|
fi |
1223 |
|
|
done |
1224 |
|
|
if $ac_cache_corrupted; then |
1225 |
|
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1226 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1227 |
|
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1228 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1229 |
|
|
{ (exit 1); exit 1; }; } |
1230 |
|
|
fi |
1231 |
|
|
|
1232 |
|
|
ac_ext=c |
1233 |
|
|
ac_cpp='$CPP $CPPFLAGS' |
1234 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1235 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1236 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1237 |
|
|
|
1238 |
|
|
|
1239 |
|
|
|
1240 |
|
|
|
1241 |
|
|
|
1242 |
|
|
|
1243 |
|
|
|
1244 |
|
|
|
1245 |
|
|
|
1246 |
|
|
|
1247 |
|
|
|
1248 |
|
|
|
1249 |
|
|
|
1250 |
|
|
|
1251 |
|
|
|
1252 |
|
|
|
1253 |
|
|
|
1254 |
|
|
|
1255 |
|
|
|
1256 |
|
|
|
1257 |
|
|
|
1258 |
|
|
|
1259 |
|
|
|
1260 |
|
|
|
1261 |
|
|
|
1262 |
|
|
|
1263 |
|
|
|
1264 |
|
|
|
1265 |
|
|
# Export variables |
1266 |
|
|
LIBVER=2 |
1267 |
|
|
LIBREV=0 |
1268 |
|
|
PROTVER="0.9" |
1269 |
|
|
MYCFLAGS="-Wall -fPIC -fsigned-char -O2 -DNDEBUG" |
1270 |
|
|
MYCPPOPTS="" |
1271 |
|
|
MYLDOPTS="" |
1272 |
|
|
MYMTLIBS="" |
1273 |
|
|
MYSKLIBS="" |
1274 |
|
|
MYRUNPATH="" |
1275 |
|
|
MYPOSTCMD="true" |
1276 |
|
|
|
1277 |
|
|
# Building paths |
1278 |
|
|
pathtmp="$PATH" |
1279 |
|
|
PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" |
1280 |
|
|
PATH="$PATH:/usr/ccs/bin:/usr/ucb:$pathtmp" |
1281 |
|
|
LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" |
1282 |
|
|
LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
1283 |
|
|
CPATH="$HOME/include:/usr/local/include:$CPATH" |
1284 |
|
|
PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" |
1285 |
|
|
export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH |
1286 |
|
|
if type pkg-config > /dev/null 2>&1 |
1287 |
|
|
then |
1288 |
|
|
PATH="$PATH:`pkg-config --variable=bindir qdbm`/bin" |
1289 |
|
|
LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir qdbm`" |
1290 |
|
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir qdbm`" |
1291 |
|
|
CPATH="$CPATH:`pkg-config --variable=includedir qdbm`" |
1292 |
|
|
export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH |
1293 |
|
|
fi |
1294 |
|
|
|
1295 |
|
|
|
1296 |
|
|
|
1297 |
|
|
#================================================================ |
1298 |
|
|
# Options |
1299 |
|
|
#================================================================ |
1300 |
|
|
|
1301 |
|
|
|
1302 |
|
|
# Internal variables |
1303 |
|
|
enables="" |
1304 |
|
|
isregex="" |
1305 |
|
|
|
1306 |
|
|
# Debug mode |
1307 |
|
|
# Check whether --enable-debug or --disable-debug was given. |
1308 |
|
|
if test "${enable_debug+set}" = set; then |
1309 |
|
|
enableval="$enable_debug" |
1310 |
|
|
|
1311 |
|
|
fi; |
1312 |
|
|
if test "$enable_debug" = "yes" |
1313 |
|
|
then |
1314 |
|
|
MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -g" |
1315 |
|
|
MYLDOPTS="-static" |
1316 |
|
|
enables="$enables (debug)" |
1317 |
|
|
fi |
1318 |
|
|
|
1319 |
|
|
# Developping mode |
1320 |
|
|
# Check whether --enable-devel or --disable-devel was given. |
1321 |
|
|
if test "${enable_devel+set}" = set; then |
1322 |
|
|
enableval="$enable_devel" |
1323 |
|
|
|
1324 |
|
|
fi; |
1325 |
|
|
if test "$enable_devel" = "yes" |
1326 |
|
|
then |
1327 |
|
|
MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -g -O2 -pipe" |
1328 |
|
|
MYPOSTCMD="sync ; sync" |
1329 |
|
|
enables="$enables (devel)" |
1330 |
|
|
fi |
1331 |
|
|
|
1332 |
|
|
# Profiling mode |
1333 |
|
|
# Check whether --enable-profile or --disable-profile was given. |
1334 |
|
|
if test "${enable_profile+set}" = set; then |
1335 |
|
|
enableval="$enable_profile" |
1336 |
|
|
|
1337 |
|
|
fi; |
1338 |
|
|
if test "$enable_profile" = "yes" |
1339 |
|
|
then |
1340 |
|
|
MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -g -pg -O2 -Werror" |
1341 |
|
|
enables="$enables (profile)" |
1342 |
|
|
fi |
1343 |
|
|
|
1344 |
|
|
# Static mode |
1345 |
|
|
# Check whether --enable-static or --disable-static was given. |
1346 |
|
|
if test "${enable_static+set}" = set; then |
1347 |
|
|
enableval="$enable_static" |
1348 |
|
|
|
1349 |
|
|
fi; |
1350 |
|
|
if test "$enable_static" = "yes" |
1351 |
|
|
then |
1352 |
|
|
MYLDOPTS="-static" |
1353 |
|
|
enables="$enables (static)" |
1354 |
|
|
fi |
1355 |
|
|
|
1356 |
|
|
|
1357 |
|
|
# Messages |
1358 |
|
|
printf '#================================================================\n' |
1359 |
|
|
printf '# Configuring Hyper Estraier version %s%s.\n' "$PACKAGE_VERSION" "$enables" |
1360 |
|
|
printf '#================================================================\n' |
1361 |
|
|
|
1362 |
|
|
|
1363 |
|
|
|
1364 |
|
|
#================================================================ |
1365 |
|
|
# Checking commands and libraries |
1366 |
|
|
#================================================================ |
1367 |
|
|
|
1368 |
|
|
|
1369 |
|
|
# C compiler |
1370 |
|
|
ac_ext=c |
1371 |
|
|
ac_cpp='$CPP $CPPFLAGS' |
1372 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1373 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1374 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1375 |
|
|
if test -n "$ac_tool_prefix"; then |
1376 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1377 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1378 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1379 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1380 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
1381 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1382 |
|
|
else |
1383 |
|
|
if test -n "$CC"; then |
1384 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1385 |
|
|
else |
1386 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1387 |
|
|
for as_dir in $PATH |
1388 |
|
|
do |
1389 |
|
|
IFS=$as_save_IFS |
1390 |
|
|
test -z "$as_dir" && as_dir=. |
1391 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1392 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1393 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1394 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1395 |
|
|
break 2 |
1396 |
|
|
fi |
1397 |
|
|
done |
1398 |
|
|
done |
1399 |
|
|
|
1400 |
|
|
fi |
1401 |
|
|
fi |
1402 |
|
|
CC=$ac_cv_prog_CC |
1403 |
|
|
if test -n "$CC"; then |
1404 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1405 |
|
|
echo "${ECHO_T}$CC" >&6 |
1406 |
|
|
else |
1407 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1408 |
|
|
echo "${ECHO_T}no" >&6 |
1409 |
|
|
fi |
1410 |
|
|
|
1411 |
|
|
fi |
1412 |
|
|
if test -z "$ac_cv_prog_CC"; then |
1413 |
|
|
ac_ct_CC=$CC |
1414 |
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
1415 |
|
|
set dummy gcc; ac_word=$2 |
1416 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1417 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1418 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1419 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1420 |
|
|
else |
1421 |
|
|
if test -n "$ac_ct_CC"; then |
1422 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1423 |
|
|
else |
1424 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1425 |
|
|
for as_dir in $PATH |
1426 |
|
|
do |
1427 |
|
|
IFS=$as_save_IFS |
1428 |
|
|
test -z "$as_dir" && as_dir=. |
1429 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1430 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1431 |
|
|
ac_cv_prog_ac_ct_CC="gcc" |
1432 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1433 |
|
|
break 2 |
1434 |
|
|
fi |
1435 |
|
|
done |
1436 |
|
|
done |
1437 |
|
|
|
1438 |
|
|
fi |
1439 |
|
|
fi |
1440 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1441 |
|
|
if test -n "$ac_ct_CC"; then |
1442 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1443 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1444 |
|
|
else |
1445 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1446 |
|
|
echo "${ECHO_T}no" >&6 |
1447 |
|
|
fi |
1448 |
|
|
|
1449 |
|
|
CC=$ac_ct_CC |
1450 |
|
|
else |
1451 |
|
|
CC="$ac_cv_prog_CC" |
1452 |
|
|
fi |
1453 |
|
|
|
1454 |
|
|
if test -z "$CC"; then |
1455 |
|
|
if test -n "$ac_tool_prefix"; then |
1456 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1457 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1458 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1459 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1460 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
1461 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1462 |
|
|
else |
1463 |
|
|
if test -n "$CC"; then |
1464 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1465 |
|
|
else |
1466 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1467 |
|
|
for as_dir in $PATH |
1468 |
|
|
do |
1469 |
|
|
IFS=$as_save_IFS |
1470 |
|
|
test -z "$as_dir" && as_dir=. |
1471 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1472 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1473 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1474 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1475 |
|
|
break 2 |
1476 |
|
|
fi |
1477 |
|
|
done |
1478 |
|
|
done |
1479 |
|
|
|
1480 |
|
|
fi |
1481 |
|
|
fi |
1482 |
|
|
CC=$ac_cv_prog_CC |
1483 |
|
|
if test -n "$CC"; then |
1484 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1485 |
|
|
echo "${ECHO_T}$CC" >&6 |
1486 |
|
|
else |
1487 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1488 |
|
|
echo "${ECHO_T}no" >&6 |
1489 |
|
|
fi |
1490 |
|
|
|
1491 |
|
|
fi |
1492 |
|
|
if test -z "$ac_cv_prog_CC"; then |
1493 |
|
|
ac_ct_CC=$CC |
1494 |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
1495 |
|
|
set dummy cc; ac_word=$2 |
1496 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1497 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1498 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1499 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1500 |
|
|
else |
1501 |
|
|
if test -n "$ac_ct_CC"; then |
1502 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1503 |
|
|
else |
1504 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1505 |
|
|
for as_dir in $PATH |
1506 |
|
|
do |
1507 |
|
|
IFS=$as_save_IFS |
1508 |
|
|
test -z "$as_dir" && as_dir=. |
1509 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1510 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1511 |
|
|
ac_cv_prog_ac_ct_CC="cc" |
1512 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1513 |
|
|
break 2 |
1514 |
|
|
fi |
1515 |
|
|
done |
1516 |
|
|
done |
1517 |
|
|
|
1518 |
|
|
fi |
1519 |
|
|
fi |
1520 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1521 |
|
|
if test -n "$ac_ct_CC"; then |
1522 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1523 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1524 |
|
|
else |
1525 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1526 |
|
|
echo "${ECHO_T}no" >&6 |
1527 |
|
|
fi |
1528 |
|
|
|
1529 |
|
|
CC=$ac_ct_CC |
1530 |
|
|
else |
1531 |
|
|
CC="$ac_cv_prog_CC" |
1532 |
|
|
fi |
1533 |
|
|
|
1534 |
|
|
fi |
1535 |
|
|
if test -z "$CC"; then |
1536 |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
1537 |
|
|
set dummy cc; ac_word=$2 |
1538 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1539 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1540 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
1541 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1542 |
|
|
else |
1543 |
|
|
if test -n "$CC"; then |
1544 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1545 |
|
|
else |
1546 |
|
|
ac_prog_rejected=no |
1547 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1548 |
|
|
for as_dir in $PATH |
1549 |
|
|
do |
1550 |
|
|
IFS=$as_save_IFS |
1551 |
|
|
test -z "$as_dir" && as_dir=. |
1552 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1553 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1554 |
|
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1555 |
|
|
ac_prog_rejected=yes |
1556 |
|
|
continue |
1557 |
|
|
fi |
1558 |
|
|
ac_cv_prog_CC="cc" |
1559 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1560 |
|
|
break 2 |
1561 |
|
|
fi |
1562 |
|
|
done |
1563 |
|
|
done |
1564 |
|
|
|
1565 |
|
|
if test $ac_prog_rejected = yes; then |
1566 |
|
|
# We found a bogon in the path, so make sure we never use it. |
1567 |
|
|
set dummy $ac_cv_prog_CC |
1568 |
|
|
shift |
1569 |
|
|
if test $# != 0; then |
1570 |
|
|
# We chose a different compiler from the bogus one. |
1571 |
|
|
# However, it has the same basename, so the bogon will be chosen |
1572 |
|
|
# first if we set CC to just the basename; use the full file name. |
1573 |
|
|
shift |
1574 |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1575 |
|
|
fi |
1576 |
|
|
fi |
1577 |
|
|
fi |
1578 |
|
|
fi |
1579 |
|
|
CC=$ac_cv_prog_CC |
1580 |
|
|
if test -n "$CC"; then |
1581 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1582 |
|
|
echo "${ECHO_T}$CC" >&6 |
1583 |
|
|
else |
1584 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1585 |
|
|
echo "${ECHO_T}no" >&6 |
1586 |
|
|
fi |
1587 |
|
|
|
1588 |
|
|
fi |
1589 |
|
|
if test -z "$CC"; then |
1590 |
|
|
if test -n "$ac_tool_prefix"; then |
1591 |
|
|
for ac_prog in cl |
1592 |
|
|
do |
1593 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1594 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1595 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1596 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1597 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
1598 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1599 |
|
|
else |
1600 |
|
|
if test -n "$CC"; then |
1601 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1602 |
|
|
else |
1603 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1604 |
|
|
for as_dir in $PATH |
1605 |
|
|
do |
1606 |
|
|
IFS=$as_save_IFS |
1607 |
|
|
test -z "$as_dir" && as_dir=. |
1608 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1609 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1610 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1611 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1612 |
|
|
break 2 |
1613 |
|
|
fi |
1614 |
|
|
done |
1615 |
|
|
done |
1616 |
|
|
|
1617 |
|
|
fi |
1618 |
|
|
fi |
1619 |
|
|
CC=$ac_cv_prog_CC |
1620 |
|
|
if test -n "$CC"; then |
1621 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1622 |
|
|
echo "${ECHO_T}$CC" >&6 |
1623 |
|
|
else |
1624 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1625 |
|
|
echo "${ECHO_T}no" >&6 |
1626 |
|
|
fi |
1627 |
|
|
|
1628 |
|
|
test -n "$CC" && break |
1629 |
|
|
done |
1630 |
|
|
fi |
1631 |
|
|
if test -z "$CC"; then |
1632 |
|
|
ac_ct_CC=$CC |
1633 |
|
|
for ac_prog in cl |
1634 |
|
|
do |
1635 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1636 |
|
|
set dummy $ac_prog; ac_word=$2 |
1637 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1638 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1639 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1640 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1641 |
|
|
else |
1642 |
|
|
if test -n "$ac_ct_CC"; then |
1643 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1644 |
|
|
else |
1645 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1646 |
|
|
for as_dir in $PATH |
1647 |
|
|
do |
1648 |
|
|
IFS=$as_save_IFS |
1649 |
|
|
test -z "$as_dir" && as_dir=. |
1650 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1651 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1652 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
1653 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1654 |
|
|
break 2 |
1655 |
|
|
fi |
1656 |
|
|
done |
1657 |
|
|
done |
1658 |
|
|
|
1659 |
|
|
fi |
1660 |
|
|
fi |
1661 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1662 |
|
|
if test -n "$ac_ct_CC"; then |
1663 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1664 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1665 |
|
|
else |
1666 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
1667 |
|
|
echo "${ECHO_T}no" >&6 |
1668 |
|
|
fi |
1669 |
|
|
|
1670 |
|
|
test -n "$ac_ct_CC" && break |
1671 |
|
|
done |
1672 |
|
|
|
1673 |
|
|
CC=$ac_ct_CC |
1674 |
|
|
fi |
1675 |
|
|
|
1676 |
|
|
fi |
1677 |
|
|
|
1678 |
|
|
|
1679 |
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1680 |
|
|
See \`config.log' for more details." >&5 |
1681 |
|
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1682 |
|
|
See \`config.log' for more details." >&2;} |
1683 |
|
|
{ (exit 1); exit 1; }; } |
1684 |
|
|
|
1685 |
|
|
# Provide some information about the compiler. |
1686 |
|
|
echo "$as_me:$LINENO:" \ |
1687 |
|
|
"checking for C compiler version" >&5 |
1688 |
|
|
ac_compiler=`set X $ac_compile; echo $2` |
1689 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1690 |
|
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1691 |
|
|
ac_status=$? |
1692 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1693 |
|
|
(exit $ac_status); } |
1694 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
1695 |
|
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
1696 |
|
|
ac_status=$? |
1697 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1698 |
|
|
(exit $ac_status); } |
1699 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
1700 |
|
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
1701 |
|
|
ac_status=$? |
1702 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1703 |
|
|
(exit $ac_status); } |
1704 |
|
|
|
1705 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
1706 |
|
|
/* confdefs.h. */ |
1707 |
|
|
_ACEOF |
1708 |
|
|
cat confdefs.h >>conftest.$ac_ext |
1709 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
1710 |
|
|
/* end confdefs.h. */ |
1711 |
|
|
|
1712 |
|
|
int |
1713 |
|
|
main () |
1714 |
|
|
{ |
1715 |
|
|
|
1716 |
|
|
; |
1717 |
|
|
return 0; |
1718 |
|
|
} |
1719 |
|
|
_ACEOF |
1720 |
|
|
ac_clean_files_save=$ac_clean_files |
1721 |
|
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1722 |
|
|
# Try to create an executable without -o first, disregard a.out. |
1723 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition |
1724 |
|
|
# of exeext. |
1725 |
|
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1726 |
|
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1727 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1728 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1729 |
|
|
(eval $ac_link_default) 2>&5 |
1730 |
|
|
ac_status=$? |
1731 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1732 |
|
|
(exit $ac_status); }; then |
1733 |
|
|
# Find the output, starting from the most likely. This scheme is |
1734 |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
1735 |
|
|
# resort. |
1736 |
|
|
|
1737 |
|
|
# Be careful to initialize this variable, since it used to be cached. |
1738 |
|
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
1739 |
|
|
ac_cv_exeext= |
1740 |
|
|
# b.out is created by i960 compilers. |
1741 |
|
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
1742 |
|
|
do |
1743 |
|
|
test -f "$ac_file" || continue |
1744 |
|
|
case $ac_file in |
1745 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1746 |
|
|
;; |
1747 |
|
|
conftest.$ac_ext ) |
1748 |
|
|
# This is the source file. |
1749 |
|
|
;; |
1750 |
|
|
[ab].out ) |
1751 |
|
|
# We found the default executable, but exeext='' is most |
1752 |
|
|
# certainly right. |
1753 |
|
|
break;; |
1754 |
|
|
*.* ) |
1755 |
|
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1756 |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1757 |
|
|
# but it would be cool to find out if it's true. Does anybody |
1758 |
|
|
# maintain Libtool? --akim. |
1759 |
|
|
export ac_cv_exeext |
1760 |
|
|
break;; |
1761 |
|
|
* ) |
1762 |
|
|
break;; |
1763 |
|
|
esac |
1764 |
|
|
done |
1765 |
|
|
else |
1766 |
|
|
echo "$as_me: failed program was:" >&5 |
1767 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1768 |
|
|
|
1769 |
|
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1770 |
|
|
See \`config.log' for more details." >&5 |
1771 |
|
|
echo "$as_me: error: C compiler cannot create executables |
1772 |
|
|
See \`config.log' for more details." >&2;} |
1773 |
|
|
{ (exit 77); exit 77; }; } |
1774 |
|
|
fi |
1775 |
|
|
|
1776 |
|
|
ac_exeext=$ac_cv_exeext |
1777 |
|
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1778 |
|
|
echo "${ECHO_T}$ac_file" >&6 |
1779 |
|
|
|
1780 |
|
|
# Check the compiler produces executables we can run. If not, either |
1781 |
|
|
# the compiler is broken, or we cross compile. |
1782 |
|
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1783 |
|
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1784 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1785 |
|
|
# If not cross compiling, check that we can run a simple program. |
1786 |
|
|
if test "$cross_compiling" != yes; then |
1787 |
|
|
if { ac_try='./$ac_file' |
1788 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1789 |
|
|
(eval $ac_try) 2>&5 |
1790 |
|
|
ac_status=$? |
1791 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1792 |
|
|
(exit $ac_status); }; }; then |
1793 |
|
|
cross_compiling=no |
1794 |
|
|
else |
1795 |
|
|
if test "$cross_compiling" = maybe; then |
1796 |
|
|
cross_compiling=yes |
1797 |
|
|
else |
1798 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1799 |
|
|
If you meant to cross compile, use \`--host'. |
1800 |
|
|
See \`config.log' for more details." >&5 |
1801 |
|
|
echo "$as_me: error: cannot run C compiled programs. |
1802 |
|
|
If you meant to cross compile, use \`--host'. |
1803 |
|
|
See \`config.log' for more details." >&2;} |
1804 |
|
|
{ (exit 1); exit 1; }; } |
1805 |
|
|
fi |
1806 |
|
|
fi |
1807 |
|
|
fi |
1808 |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
1809 |
|
|
echo "${ECHO_T}yes" >&6 |
1810 |
|
|
|
1811 |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1812 |
|
|
ac_clean_files=$ac_clean_files_save |
1813 |
|
|
# Check the compiler produces executables we can run. If not, either |
1814 |
|
|
# the compiler is broken, or we cross compile. |
1815 |
|
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1816 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1817 |
|
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1818 |
|
|
echo "${ECHO_T}$cross_compiling" >&6 |
1819 |
|
|
|
1820 |
|
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1821 |
|
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1822 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1823 |
|
|
(eval $ac_link) 2>&5 |
1824 |
|
|
ac_status=$? |
1825 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1826 |
|
|
(exit $ac_status); }; then |
1827 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1828 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1829 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1830 |
|
|
# `rm'. |
1831 |
|
|
for ac_file in conftest.exe conftest conftest.*; do |
1832 |
|
|
test -f "$ac_file" || continue |
1833 |
|
|
case $ac_file in |
1834 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1835 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1836 |
|
|
export ac_cv_exeext |
1837 |
|
|
break;; |
1838 |
|
|
* ) break;; |
1839 |
|
|
esac |
1840 |
|
|
done |
1841 |
|
|
else |
1842 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1843 |
|
|
See \`config.log' for more details." >&5 |
1844 |
|
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1845 |
|
|
See \`config.log' for more details." >&2;} |
1846 |
|
|
{ (exit 1); exit 1; }; } |
1847 |
|
|
fi |
1848 |
|
|
|
1849 |
|
|
rm -f conftest$ac_cv_exeext |
1850 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1851 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1852 |
|
|
|
1853 |
|
|
rm -f conftest.$ac_ext |
1854 |
|
|
EXEEXT=$ac_cv_exeext |
1855 |
|
|
ac_exeext=$EXEEXT |
1856 |
|
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1857 |
|
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1858 |
|
|
if test "${ac_cv_objext+set}" = set; then |
1859 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1860 |
|
|
else |
1861 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
1862 |
|
|
/* confdefs.h. */ |
1863 |
|
|
_ACEOF |
1864 |
|
|
cat confdefs.h >>conftest.$ac_ext |
1865 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
1866 |
|
|
/* end confdefs.h. */ |
1867 |
|
|
|
1868 |
|
|
int |
1869 |
|
|
main () |
1870 |
|
|
{ |
1871 |
|
|
|
1872 |
|
|
; |
1873 |
|
|
return 0; |
1874 |
|
|
} |
1875 |
|
|
_ACEOF |
1876 |
|
|
rm -f conftest.o conftest.obj |
1877 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1878 |
|
|
(eval $ac_compile) 2>&5 |
1879 |
|
|
ac_status=$? |
1880 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1881 |
|
|
(exit $ac_status); }; then |
1882 |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1883 |
|
|
case $ac_file in |
1884 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1885 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1886 |
|
|
break;; |
1887 |
|
|
esac |
1888 |
|
|
done |
1889 |
|
|
else |
1890 |
|
|
echo "$as_me: failed program was:" >&5 |
1891 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1892 |
|
|
|
1893 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1894 |
|
|
See \`config.log' for more details." >&5 |
1895 |
|
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1896 |
|
|
See \`config.log' for more details." >&2;} |
1897 |
|
|
{ (exit 1); exit 1; }; } |
1898 |
|
|
fi |
1899 |
|
|
|
1900 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1901 |
|
|
fi |
1902 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1903 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1904 |
|
|
OBJEXT=$ac_cv_objext |
1905 |
|
|
ac_objext=$OBJEXT |
1906 |
|
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1907 |
|
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1908 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1909 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1910 |
|
|
else |
1911 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
1912 |
|
|
/* confdefs.h. */ |
1913 |
|
|
_ACEOF |
1914 |
|
|
cat confdefs.h >>conftest.$ac_ext |
1915 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
1916 |
|
|
/* end confdefs.h. */ |
1917 |
|
|
|
1918 |
|
|
int |
1919 |
|
|
main () |
1920 |
|
|
{ |
1921 |
|
|
#ifndef __GNUC__ |
1922 |
|
|
choke me |
1923 |
|
|
#endif |
1924 |
|
|
|
1925 |
|
|
; |
1926 |
|
|
return 0; |
1927 |
|
|
} |
1928 |
|
|
_ACEOF |
1929 |
|
|
rm -f conftest.$ac_objext |
1930 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1931 |
|
|
(eval $ac_compile) 2>conftest.er1 |
1932 |
|
|
ac_status=$? |
1933 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
1934 |
|
|
rm -f conftest.er1 |
1935 |
|
|
cat conftest.err >&5 |
1936 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1937 |
|
|
(exit $ac_status); } && |
1938 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
1939 |
|
|
|| test ! -s conftest.err' |
1940 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1941 |
|
|
(eval $ac_try) 2>&5 |
1942 |
|
|
ac_status=$? |
1943 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1944 |
|
|
(exit $ac_status); }; } && |
1945 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
1946 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1947 |
|
|
(eval $ac_try) 2>&5 |
1948 |
|
|
ac_status=$? |
1949 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1950 |
|
|
(exit $ac_status); }; }; then |
1951 |
|
|
ac_compiler_gnu=yes |
1952 |
|
|
else |
1953 |
|
|
echo "$as_me: failed program was:" >&5 |
1954 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1955 |
|
|
|
1956 |
|
|
ac_compiler_gnu=no |
1957 |
|
|
fi |
1958 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1959 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1960 |
|
|
|
1961 |
|
|
fi |
1962 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1963 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1964 |
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
1965 |
|
|
ac_test_CFLAGS=${CFLAGS+set} |
1966 |
|
|
ac_save_CFLAGS=$CFLAGS |
1967 |
|
|
CFLAGS="-g" |
1968 |
|
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1969 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1970 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
1971 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1972 |
|
|
else |
1973 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
1974 |
|
|
/* confdefs.h. */ |
1975 |
|
|
_ACEOF |
1976 |
|
|
cat confdefs.h >>conftest.$ac_ext |
1977 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
1978 |
|
|
/* end confdefs.h. */ |
1979 |
|
|
|
1980 |
|
|
int |
1981 |
|
|
main () |
1982 |
|
|
{ |
1983 |
|
|
|
1984 |
|
|
; |
1985 |
|
|
return 0; |
1986 |
|
|
} |
1987 |
|
|
_ACEOF |
1988 |
|
|
rm -f conftest.$ac_objext |
1989 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1990 |
|
|
(eval $ac_compile) 2>conftest.er1 |
1991 |
|
|
ac_status=$? |
1992 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
1993 |
|
|
rm -f conftest.er1 |
1994 |
|
|
cat conftest.err >&5 |
1995 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1996 |
|
|
(exit $ac_status); } && |
1997 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
1998 |
|
|
|| test ! -s conftest.err' |
1999 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2000 |
|
|
(eval $ac_try) 2>&5 |
2001 |
|
|
ac_status=$? |
2002 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2003 |
|
|
(exit $ac_status); }; } && |
2004 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
2005 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2006 |
|
|
(eval $ac_try) 2>&5 |
2007 |
|
|
ac_status=$? |
2008 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2009 |
|
|
(exit $ac_status); }; }; then |
2010 |
|
|
ac_cv_prog_cc_g=yes |
2011 |
|
|
else |
2012 |
|
|
echo "$as_me: failed program was:" >&5 |
2013 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2014 |
|
|
|
2015 |
|
|
ac_cv_prog_cc_g=no |
2016 |
|
|
fi |
2017 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2018 |
|
|
fi |
2019 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2020 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2021 |
|
|
if test "$ac_test_CFLAGS" = set; then |
2022 |
|
|
CFLAGS=$ac_save_CFLAGS |
2023 |
|
|
elif test $ac_cv_prog_cc_g = yes; then |
2024 |
|
|
if test "$GCC" = yes; then |
2025 |
|
|
CFLAGS="-g -O2" |
2026 |
|
|
else |
2027 |
|
|
CFLAGS="-g" |
2028 |
|
|
fi |
2029 |
|
|
else |
2030 |
|
|
if test "$GCC" = yes; then |
2031 |
|
|
CFLAGS="-O2" |
2032 |
|
|
else |
2033 |
|
|
CFLAGS= |
2034 |
|
|
fi |
2035 |
|
|
fi |
2036 |
|
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2037 |
|
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2038 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2039 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2040 |
|
|
else |
2041 |
|
|
ac_cv_prog_cc_stdc=no |
2042 |
|
|
ac_save_CC=$CC |
2043 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2044 |
|
|
/* confdefs.h. */ |
2045 |
|
|
_ACEOF |
2046 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2047 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2048 |
|
|
/* end confdefs.h. */ |
2049 |
|
|
#include <stdarg.h> |
2050 |
|
|
#include <stdio.h> |
2051 |
|
|
#include <sys/types.h> |
2052 |
|
|
#include <sys/stat.h> |
2053 |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2054 |
|
|
struct buf { int x; }; |
2055 |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2056 |
|
|
static char *e (p, i) |
2057 |
|
|
char **p; |
2058 |
|
|
int i; |
2059 |
|
|
{ |
2060 |
|
|
return p[i]; |
2061 |
|
|
} |
2062 |
|
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2063 |
|
|
{ |
2064 |
|
|
char *s; |
2065 |
|
|
va_list v; |
2066 |
|
|
va_start (v,p); |
2067 |
|
|
s = g (p, va_arg (v,int)); |
2068 |
|
|
va_end (v); |
2069 |
|
|
return s; |
2070 |
|
|
} |
2071 |
|
|
|
2072 |
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2073 |
|
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2074 |
|
|
These don't provoke an error unfortunately, instead are silently treated |
2075 |
|
|
as 'x'. The following induces an error, until -std1 is added to get |
2076 |
|
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2077 |
|
|
array size at least. It's necessary to write '\x00'==0 to get something |
2078 |
|
|
that's true only with -std1. */ |
2079 |
|
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2080 |
|
|
|
2081 |
|
|
int test (int i, double x); |
2082 |
|
|
struct s1 {int (*f) (int a);}; |
2083 |
|
|
struct s2 {int (*f) (double a);}; |
2084 |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2085 |
|
|
int argc; |
2086 |
|
|
char **argv; |
2087 |
|
|
int |
2088 |
|
|
main () |
2089 |
|
|
{ |
2090 |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2091 |
|
|
; |
2092 |
|
|
return 0; |
2093 |
|
|
} |
2094 |
|
|
_ACEOF |
2095 |
|
|
# Don't try gcc -ansi; that turns off useful extensions and |
2096 |
|
|
# breaks some systems' header files. |
2097 |
|
|
# AIX -qlanglvl=ansi |
2098 |
|
|
# Ultrix and OSF/1 -std1 |
2099 |
|
|
# HP-UX 10.20 and later -Ae |
2100 |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2101 |
|
|
# SVR4 -Xc -D__EXTENSIONS__ |
2102 |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2103 |
|
|
do |
2104 |
|
|
CC="$ac_save_CC $ac_arg" |
2105 |
|
|
rm -f conftest.$ac_objext |
2106 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2107 |
|
|
(eval $ac_compile) 2>conftest.er1 |
2108 |
|
|
ac_status=$? |
2109 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2110 |
|
|
rm -f conftest.er1 |
2111 |
|
|
cat conftest.err >&5 |
2112 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2113 |
|
|
(exit $ac_status); } && |
2114 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2115 |
|
|
|| test ! -s conftest.err' |
2116 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2117 |
|
|
(eval $ac_try) 2>&5 |
2118 |
|
|
ac_status=$? |
2119 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2120 |
|
|
(exit $ac_status); }; } && |
2121 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
2122 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2123 |
|
|
(eval $ac_try) 2>&5 |
2124 |
|
|
ac_status=$? |
2125 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2126 |
|
|
(exit $ac_status); }; }; then |
2127 |
|
|
ac_cv_prog_cc_stdc=$ac_arg |
2128 |
|
|
break |
2129 |
|
|
else |
2130 |
|
|
echo "$as_me: failed program was:" >&5 |
2131 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2132 |
|
|
|
2133 |
|
|
fi |
2134 |
|
|
rm -f conftest.err conftest.$ac_objext |
2135 |
|
|
done |
2136 |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2137 |
|
|
CC=$ac_save_CC |
2138 |
|
|
|
2139 |
|
|
fi |
2140 |
|
|
|
2141 |
|
|
case "x$ac_cv_prog_cc_stdc" in |
2142 |
|
|
x|xno) |
2143 |
|
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2144 |
|
|
echo "${ECHO_T}none needed" >&6 ;; |
2145 |
|
|
*) |
2146 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2147 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2148 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2149 |
|
|
esac |
2150 |
|
|
|
2151 |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2152 |
|
|
# in C++ we need to declare it. In case someone uses the same compiler |
2153 |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2154 |
|
|
# the declaration of exit, since it's the most demanding environment. |
2155 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2156 |
|
|
#ifndef __cplusplus |
2157 |
|
|
choke me |
2158 |
|
|
#endif |
2159 |
|
|
_ACEOF |
2160 |
|
|
rm -f conftest.$ac_objext |
2161 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2162 |
|
|
(eval $ac_compile) 2>conftest.er1 |
2163 |
|
|
ac_status=$? |
2164 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2165 |
|
|
rm -f conftest.er1 |
2166 |
|
|
cat conftest.err >&5 |
2167 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2168 |
|
|
(exit $ac_status); } && |
2169 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2170 |
|
|
|| test ! -s conftest.err' |
2171 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2172 |
|
|
(eval $ac_try) 2>&5 |
2173 |
|
|
ac_status=$? |
2174 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2175 |
|
|
(exit $ac_status); }; } && |
2176 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
2177 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2178 |
|
|
(eval $ac_try) 2>&5 |
2179 |
|
|
ac_status=$? |
2180 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2181 |
|
|
(exit $ac_status); }; }; then |
2182 |
|
|
for ac_declaration in \ |
2183 |
|
|
'' \ |
2184 |
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2185 |
|
|
'extern "C" void std::exit (int); using std::exit;' \ |
2186 |
|
|
'extern "C" void exit (int) throw ();' \ |
2187 |
|
|
'extern "C" void exit (int);' \ |
2188 |
|
|
'void exit (int);' |
2189 |
|
|
do |
2190 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2191 |
|
|
/* confdefs.h. */ |
2192 |
|
|
_ACEOF |
2193 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2194 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2195 |
|
|
/* end confdefs.h. */ |
2196 |
|
|
$ac_declaration |
2197 |
|
|
#include <stdlib.h> |
2198 |
|
|
int |
2199 |
|
|
main () |
2200 |
|
|
{ |
2201 |
|
|
exit (42); |
2202 |
|
|
; |
2203 |
|
|
return 0; |
2204 |
|
|
} |
2205 |
|
|
_ACEOF |
2206 |
|
|
rm -f conftest.$ac_objext |
2207 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2208 |
|
|
(eval $ac_compile) 2>conftest.er1 |
2209 |
|
|
ac_status=$? |
2210 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2211 |
|
|
rm -f conftest.er1 |
2212 |
|
|
cat conftest.err >&5 |
2213 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 |
|
|
(exit $ac_status); } && |
2215 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2216 |
|
|
|| test ! -s conftest.err' |
2217 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2218 |
|
|
(eval $ac_try) 2>&5 |
2219 |
|
|
ac_status=$? |
2220 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2221 |
|
|
(exit $ac_status); }; } && |
2222 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
2223 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2224 |
|
|
(eval $ac_try) 2>&5 |
2225 |
|
|
ac_status=$? |
2226 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2227 |
|
|
(exit $ac_status); }; }; then |
2228 |
|
|
: |
2229 |
|
|
else |
2230 |
|
|
echo "$as_me: failed program was:" >&5 |
2231 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2232 |
|
|
|
2233 |
|
|
continue |
2234 |
|
|
fi |
2235 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2236 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2237 |
|
|
/* confdefs.h. */ |
2238 |
|
|
_ACEOF |
2239 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2240 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2241 |
|
|
/* end confdefs.h. */ |
2242 |
|
|
$ac_declaration |
2243 |
|
|
int |
2244 |
|
|
main () |
2245 |
|
|
{ |
2246 |
|
|
exit (42); |
2247 |
|
|
; |
2248 |
|
|
return 0; |
2249 |
|
|
} |
2250 |
|
|
_ACEOF |
2251 |
|
|
rm -f conftest.$ac_objext |
2252 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2253 |
|
|
(eval $ac_compile) 2>conftest.er1 |
2254 |
|
|
ac_status=$? |
2255 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2256 |
|
|
rm -f conftest.er1 |
2257 |
|
|
cat conftest.err >&5 |
2258 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2259 |
|
|
(exit $ac_status); } && |
2260 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2261 |
|
|
|| test ! -s conftest.err' |
2262 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2263 |
|
|
(eval $ac_try) 2>&5 |
2264 |
|
|
ac_status=$? |
2265 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2266 |
|
|
(exit $ac_status); }; } && |
2267 |
|
|
{ ac_try='test -s conftest.$ac_objext' |
2268 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2269 |
|
|
(eval $ac_try) 2>&5 |
2270 |
|
|
ac_status=$? |
2271 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2272 |
|
|
(exit $ac_status); }; }; then |
2273 |
|
|
break |
2274 |
|
|
else |
2275 |
|
|
echo "$as_me: failed program was:" >&5 |
2276 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2277 |
|
|
|
2278 |
|
|
fi |
2279 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2280 |
|
|
done |
2281 |
|
|
rm -f conftest* |
2282 |
|
|
if test -n "$ac_declaration"; then |
2283 |
|
|
echo '#ifdef __cplusplus' >>confdefs.h |
2284 |
|
|
echo $ac_declaration >>confdefs.h |
2285 |
|
|
echo '#endif' >>confdefs.h |
2286 |
|
|
fi |
2287 |
|
|
|
2288 |
|
|
else |
2289 |
|
|
echo "$as_me: failed program was:" >&5 |
2290 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2291 |
|
|
|
2292 |
|
|
fi |
2293 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2294 |
|
|
ac_ext=c |
2295 |
|
|
ac_cpp='$CPP $CPPFLAGS' |
2296 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2297 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2298 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2299 |
|
|
|
2300 |
|
|
|
2301 |
|
|
# Underlying libraries |
2302 |
|
|
|
2303 |
|
|
|
2304 |
|
|
echo "$as_me:$LINENO: checking for main in -lc" >&5 |
2305 |
|
|
echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6 |
2306 |
|
|
if test "${ac_cv_lib_c_main+set}" = set; then |
2307 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2308 |
|
|
else |
2309 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2310 |
|
|
LIBS="-lc $LIBS" |
2311 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2312 |
|
|
/* confdefs.h. */ |
2313 |
|
|
_ACEOF |
2314 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2315 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2316 |
|
|
/* end confdefs.h. */ |
2317 |
|
|
|
2318 |
|
|
|
2319 |
|
|
int |
2320 |
|
|
main () |
2321 |
|
|
{ |
2322 |
|
|
main (); |
2323 |
|
|
; |
2324 |
|
|
return 0; |
2325 |
|
|
} |
2326 |
|
|
_ACEOF |
2327 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2328 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2329 |
|
|
(eval $ac_link) 2>conftest.er1 |
2330 |
|
|
ac_status=$? |
2331 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2332 |
|
|
rm -f conftest.er1 |
2333 |
|
|
cat conftest.err >&5 |
2334 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2335 |
|
|
(exit $ac_status); } && |
2336 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2337 |
|
|
|| test ! -s conftest.err' |
2338 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2339 |
|
|
(eval $ac_try) 2>&5 |
2340 |
|
|
ac_status=$? |
2341 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2342 |
|
|
(exit $ac_status); }; } && |
2343 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2344 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2345 |
|
|
(eval $ac_try) 2>&5 |
2346 |
|
|
ac_status=$? |
2347 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2348 |
|
|
(exit $ac_status); }; }; then |
2349 |
|
|
ac_cv_lib_c_main=yes |
2350 |
|
|
else |
2351 |
|
|
echo "$as_me: failed program was:" >&5 |
2352 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2353 |
|
|
|
2354 |
|
|
ac_cv_lib_c_main=no |
2355 |
|
|
fi |
2356 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2357 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2358 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2359 |
|
|
fi |
2360 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5 |
2361 |
|
|
echo "${ECHO_T}$ac_cv_lib_c_main" >&6 |
2362 |
|
|
if test $ac_cv_lib_c_main = yes; then |
2363 |
|
|
cat >>confdefs.h <<_ACEOF |
2364 |
|
|
#define HAVE_LIBC 1 |
2365 |
|
|
_ACEOF |
2366 |
|
|
|
2367 |
|
|
LIBS="-lc $LIBS" |
2368 |
|
|
|
2369 |
|
|
fi |
2370 |
|
|
|
2371 |
|
|
|
2372 |
|
|
echo "$as_me:$LINENO: checking for main in -lm" >&5 |
2373 |
|
|
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 |
2374 |
|
|
if test "${ac_cv_lib_m_main+set}" = set; then |
2375 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2376 |
|
|
else |
2377 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2378 |
|
|
LIBS="-lm $LIBS" |
2379 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2380 |
|
|
/* confdefs.h. */ |
2381 |
|
|
_ACEOF |
2382 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2383 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2384 |
|
|
/* end confdefs.h. */ |
2385 |
|
|
|
2386 |
|
|
|
2387 |
|
|
int |
2388 |
|
|
main () |
2389 |
|
|
{ |
2390 |
|
|
main (); |
2391 |
|
|
; |
2392 |
|
|
return 0; |
2393 |
|
|
} |
2394 |
|
|
_ACEOF |
2395 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2396 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2397 |
|
|
(eval $ac_link) 2>conftest.er1 |
2398 |
|
|
ac_status=$? |
2399 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2400 |
|
|
rm -f conftest.er1 |
2401 |
|
|
cat conftest.err >&5 |
2402 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2403 |
|
|
(exit $ac_status); } && |
2404 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2405 |
|
|
|| test ! -s conftest.err' |
2406 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2407 |
|
|
(eval $ac_try) 2>&5 |
2408 |
|
|
ac_status=$? |
2409 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2410 |
|
|
(exit $ac_status); }; } && |
2411 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2412 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2413 |
|
|
(eval $ac_try) 2>&5 |
2414 |
|
|
ac_status=$? |
2415 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2416 |
|
|
(exit $ac_status); }; }; then |
2417 |
|
|
ac_cv_lib_m_main=yes |
2418 |
|
|
else |
2419 |
|
|
echo "$as_me: failed program was:" >&5 |
2420 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2421 |
|
|
|
2422 |
|
|
ac_cv_lib_m_main=no |
2423 |
|
|
fi |
2424 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2425 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2426 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2427 |
|
|
fi |
2428 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 |
2429 |
|
|
echo "${ECHO_T}$ac_cv_lib_m_main" >&6 |
2430 |
|
|
if test $ac_cv_lib_m_main = yes; then |
2431 |
|
|
cat >>confdefs.h <<_ACEOF |
2432 |
|
|
#define HAVE_LIBM 1 |
2433 |
|
|
_ACEOF |
2434 |
|
|
|
2435 |
|
|
LIBS="-lm $LIBS" |
2436 |
|
|
|
2437 |
|
|
fi |
2438 |
|
|
|
2439 |
|
|
|
2440 |
|
|
echo "$as_me:$LINENO: checking for main in -liconv" >&5 |
2441 |
|
|
echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 |
2442 |
|
|
if test "${ac_cv_lib_iconv_main+set}" = set; then |
2443 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2444 |
|
|
else |
2445 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2446 |
|
|
LIBS="-liconv $LIBS" |
2447 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2448 |
|
|
/* confdefs.h. */ |
2449 |
|
|
_ACEOF |
2450 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2451 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2452 |
|
|
/* end confdefs.h. */ |
2453 |
|
|
|
2454 |
|
|
|
2455 |
|
|
int |
2456 |
|
|
main () |
2457 |
|
|
{ |
2458 |
|
|
main (); |
2459 |
|
|
; |
2460 |
|
|
return 0; |
2461 |
|
|
} |
2462 |
|
|
_ACEOF |
2463 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2464 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2465 |
|
|
(eval $ac_link) 2>conftest.er1 |
2466 |
|
|
ac_status=$? |
2467 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2468 |
|
|
rm -f conftest.er1 |
2469 |
|
|
cat conftest.err >&5 |
2470 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2471 |
|
|
(exit $ac_status); } && |
2472 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2473 |
|
|
|| test ! -s conftest.err' |
2474 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2475 |
|
|
(eval $ac_try) 2>&5 |
2476 |
|
|
ac_status=$? |
2477 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 |
|
|
(exit $ac_status); }; } && |
2479 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2480 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2481 |
|
|
(eval $ac_try) 2>&5 |
2482 |
|
|
ac_status=$? |
2483 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2484 |
|
|
(exit $ac_status); }; }; then |
2485 |
|
|
ac_cv_lib_iconv_main=yes |
2486 |
|
|
else |
2487 |
|
|
echo "$as_me: failed program was:" >&5 |
2488 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2489 |
|
|
|
2490 |
|
|
ac_cv_lib_iconv_main=no |
2491 |
|
|
fi |
2492 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2493 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2494 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2495 |
|
|
fi |
2496 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 |
2497 |
|
|
echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 |
2498 |
|
|
if test $ac_cv_lib_iconv_main = yes; then |
2499 |
|
|
cat >>confdefs.h <<_ACEOF |
2500 |
|
|
#define HAVE_LIBICONV 1 |
2501 |
|
|
_ACEOF |
2502 |
|
|
|
2503 |
|
|
LIBS="-liconv $LIBS" |
2504 |
|
|
|
2505 |
|
|
fi |
2506 |
|
|
|
2507 |
|
|
|
2508 |
|
|
echo "$as_me:$LINENO: checking for main in -lz" >&5 |
2509 |
|
|
echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6 |
2510 |
|
|
if test "${ac_cv_lib_z_main+set}" = set; then |
2511 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2512 |
|
|
else |
2513 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2514 |
|
|
LIBS="-lz $LIBS" |
2515 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2516 |
|
|
/* confdefs.h. */ |
2517 |
|
|
_ACEOF |
2518 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2519 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2520 |
|
|
/* end confdefs.h. */ |
2521 |
|
|
|
2522 |
|
|
|
2523 |
|
|
int |
2524 |
|
|
main () |
2525 |
|
|
{ |
2526 |
|
|
main (); |
2527 |
|
|
; |
2528 |
|
|
return 0; |
2529 |
|
|
} |
2530 |
|
|
_ACEOF |
2531 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2532 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2533 |
|
|
(eval $ac_link) 2>conftest.er1 |
2534 |
|
|
ac_status=$? |
2535 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2536 |
|
|
rm -f conftest.er1 |
2537 |
|
|
cat conftest.err >&5 |
2538 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2539 |
|
|
(exit $ac_status); } && |
2540 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2541 |
|
|
|| test ! -s conftest.err' |
2542 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2543 |
|
|
(eval $ac_try) 2>&5 |
2544 |
|
|
ac_status=$? |
2545 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2546 |
|
|
(exit $ac_status); }; } && |
2547 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2548 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2549 |
|
|
(eval $ac_try) 2>&5 |
2550 |
|
|
ac_status=$? |
2551 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2552 |
|
|
(exit $ac_status); }; }; then |
2553 |
|
|
ac_cv_lib_z_main=yes |
2554 |
|
|
else |
2555 |
|
|
echo "$as_me: failed program was:" >&5 |
2556 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2557 |
|
|
|
2558 |
|
|
ac_cv_lib_z_main=no |
2559 |
|
|
fi |
2560 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2561 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2562 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2563 |
|
|
fi |
2564 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5 |
2565 |
|
|
echo "${ECHO_T}$ac_cv_lib_z_main" >&6 |
2566 |
|
|
if test $ac_cv_lib_z_main = yes; then |
2567 |
|
|
cat >>confdefs.h <<_ACEOF |
2568 |
|
|
#define HAVE_LIBZ 1 |
2569 |
|
|
_ACEOF |
2570 |
|
|
|
2571 |
|
|
LIBS="-lz $LIBS" |
2572 |
|
|
|
2573 |
|
|
fi |
2574 |
|
|
|
2575 |
|
|
|
2576 |
|
|
echo "$as_me:$LINENO: checking for main in -lqdbm" >&5 |
2577 |
|
|
echo $ECHO_N "checking for main in -lqdbm... $ECHO_C" >&6 |
2578 |
|
|
if test "${ac_cv_lib_qdbm_main+set}" = set; then |
2579 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2580 |
|
|
else |
2581 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2582 |
|
|
LIBS="-lqdbm $LIBS" |
2583 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2584 |
|
|
/* confdefs.h. */ |
2585 |
|
|
_ACEOF |
2586 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2587 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2588 |
|
|
/* end confdefs.h. */ |
2589 |
|
|
|
2590 |
|
|
|
2591 |
|
|
int |
2592 |
|
|
main () |
2593 |
|
|
{ |
2594 |
|
|
main (); |
2595 |
|
|
; |
2596 |
|
|
return 0; |
2597 |
|
|
} |
2598 |
|
|
_ACEOF |
2599 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2600 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2601 |
|
|
(eval $ac_link) 2>conftest.er1 |
2602 |
|
|
ac_status=$? |
2603 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2604 |
|
|
rm -f conftest.er1 |
2605 |
|
|
cat conftest.err >&5 |
2606 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2607 |
|
|
(exit $ac_status); } && |
2608 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2609 |
|
|
|| test ! -s conftest.err' |
2610 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2611 |
|
|
(eval $ac_try) 2>&5 |
2612 |
|
|
ac_status=$? |
2613 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2614 |
|
|
(exit $ac_status); }; } && |
2615 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2616 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2617 |
|
|
(eval $ac_try) 2>&5 |
2618 |
|
|
ac_status=$? |
2619 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2620 |
|
|
(exit $ac_status); }; }; then |
2621 |
|
|
ac_cv_lib_qdbm_main=yes |
2622 |
|
|
else |
2623 |
|
|
echo "$as_me: failed program was:" >&5 |
2624 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2625 |
|
|
|
2626 |
|
|
ac_cv_lib_qdbm_main=no |
2627 |
|
|
fi |
2628 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2629 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2630 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2631 |
|
|
fi |
2632 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_qdbm_main" >&5 |
2633 |
|
|
echo "${ECHO_T}$ac_cv_lib_qdbm_main" >&6 |
2634 |
|
|
if test $ac_cv_lib_qdbm_main = yes; then |
2635 |
|
|
cat >>confdefs.h <<_ACEOF |
2636 |
|
|
#define HAVE_LIBQDBM 1 |
2637 |
|
|
_ACEOF |
2638 |
|
|
|
2639 |
|
|
LIBS="-lqdbm $LIBS" |
2640 |
|
|
|
2641 |
|
|
fi |
2642 |
|
|
|
2643 |
|
|
|
2644 |
|
|
# For libraries of pthreads |
2645 |
|
|
echo "$as_me:$LINENO: checking for main in -lpthread" >&5 |
2646 |
|
|
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 |
2647 |
|
|
if test "${ac_cv_lib_pthread_main+set}" = set; then |
2648 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2649 |
|
|
else |
2650 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2651 |
|
|
LIBS="-lpthread $LIBS" |
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 |
|
|
|
2660 |
|
|
int |
2661 |
|
|
main () |
2662 |
|
|
{ |
2663 |
|
|
main (); |
2664 |
|
|
; |
2665 |
|
|
return 0; |
2666 |
|
|
} |
2667 |
|
|
_ACEOF |
2668 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2669 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2670 |
|
|
(eval $ac_link) 2>conftest.er1 |
2671 |
|
|
ac_status=$? |
2672 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2673 |
|
|
rm -f conftest.er1 |
2674 |
|
|
cat conftest.err >&5 |
2675 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2676 |
|
|
(exit $ac_status); } && |
2677 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2678 |
|
|
|| test ! -s conftest.err' |
2679 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2680 |
|
|
(eval $ac_try) 2>&5 |
2681 |
|
|
ac_status=$? |
2682 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2683 |
|
|
(exit $ac_status); }; } && |
2684 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2685 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2686 |
|
|
(eval $ac_try) 2>&5 |
2687 |
|
|
ac_status=$? |
2688 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2689 |
|
|
(exit $ac_status); }; }; then |
2690 |
|
|
ac_cv_lib_pthread_main=yes |
2691 |
|
|
else |
2692 |
|
|
echo "$as_me: failed program was:" >&5 |
2693 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2694 |
|
|
|
2695 |
|
|
ac_cv_lib_pthread_main=no |
2696 |
|
|
fi |
2697 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2698 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2699 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2700 |
|
|
fi |
2701 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 |
2702 |
|
|
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 |
2703 |
|
|
if test $ac_cv_lib_pthread_main = yes; then |
2704 |
|
|
MYMTLIBS="-lpthread $MYMTLIBS" |
2705 |
|
|
else |
2706 |
|
|
echo "$as_me:$LINENO: checking for main in -lc_r" >&5 |
2707 |
|
|
echo $ECHO_N "checking for main in -lc_r... $ECHO_C" >&6 |
2708 |
|
|
if test "${ac_cv_lib_c_r_main+set}" = set; then |
2709 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2710 |
|
|
else |
2711 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2712 |
|
|
LIBS="-lc_r $LIBS" |
2713 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2714 |
|
|
/* confdefs.h. */ |
2715 |
|
|
_ACEOF |
2716 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2717 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2718 |
|
|
/* end confdefs.h. */ |
2719 |
|
|
|
2720 |
|
|
|
2721 |
|
|
int |
2722 |
|
|
main () |
2723 |
|
|
{ |
2724 |
|
|
main (); |
2725 |
|
|
; |
2726 |
|
|
return 0; |
2727 |
|
|
} |
2728 |
|
|
_ACEOF |
2729 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2730 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2731 |
|
|
(eval $ac_link) 2>conftest.er1 |
2732 |
|
|
ac_status=$? |
2733 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2734 |
|
|
rm -f conftest.er1 |
2735 |
|
|
cat conftest.err >&5 |
2736 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2737 |
|
|
(exit $ac_status); } && |
2738 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2739 |
|
|
|| test ! -s conftest.err' |
2740 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2741 |
|
|
(eval $ac_try) 2>&5 |
2742 |
|
|
ac_status=$? |
2743 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2744 |
|
|
(exit $ac_status); }; } && |
2745 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2746 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2747 |
|
|
(eval $ac_try) 2>&5 |
2748 |
|
|
ac_status=$? |
2749 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2750 |
|
|
(exit $ac_status); }; }; then |
2751 |
|
|
ac_cv_lib_c_r_main=yes |
2752 |
|
|
else |
2753 |
|
|
echo "$as_me: failed program was:" >&5 |
2754 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2755 |
|
|
|
2756 |
|
|
ac_cv_lib_c_r_main=no |
2757 |
|
|
fi |
2758 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2759 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2760 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2761 |
|
|
fi |
2762 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_main" >&5 |
2763 |
|
|
echo "${ECHO_T}$ac_cv_lib_c_r_main" >&6 |
2764 |
|
|
if test $ac_cv_lib_c_r_main = yes; then |
2765 |
|
|
MYMTLIBS="-lc_r $MYMTLIBS" |
2766 |
|
|
fi |
2767 |
|
|
|
2768 |
|
|
fi |
2769 |
|
|
|
2770 |
|
|
|
2771 |
|
|
# For libraries of socket |
2772 |
|
|
echo "$as_me:$LINENO: checking for main in -lnsl" >&5 |
2773 |
|
|
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 |
2774 |
|
|
if test "${ac_cv_lib_nsl_main+set}" = set; then |
2775 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2776 |
|
|
else |
2777 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2778 |
|
|
LIBS="-lnsl $LIBS" |
2779 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2780 |
|
|
/* confdefs.h. */ |
2781 |
|
|
_ACEOF |
2782 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2783 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2784 |
|
|
/* end confdefs.h. */ |
2785 |
|
|
|
2786 |
|
|
|
2787 |
|
|
int |
2788 |
|
|
main () |
2789 |
|
|
{ |
2790 |
|
|
main (); |
2791 |
|
|
; |
2792 |
|
|
return 0; |
2793 |
|
|
} |
2794 |
|
|
_ACEOF |
2795 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2796 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2797 |
|
|
(eval $ac_link) 2>conftest.er1 |
2798 |
|
|
ac_status=$? |
2799 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2800 |
|
|
rm -f conftest.er1 |
2801 |
|
|
cat conftest.err >&5 |
2802 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2803 |
|
|
(exit $ac_status); } && |
2804 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2805 |
|
|
|| test ! -s conftest.err' |
2806 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2807 |
|
|
(eval $ac_try) 2>&5 |
2808 |
|
|
ac_status=$? |
2809 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2810 |
|
|
(exit $ac_status); }; } && |
2811 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2812 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2813 |
|
|
(eval $ac_try) 2>&5 |
2814 |
|
|
ac_status=$? |
2815 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2816 |
|
|
(exit $ac_status); }; }; then |
2817 |
|
|
ac_cv_lib_nsl_main=yes |
2818 |
|
|
else |
2819 |
|
|
echo "$as_me: failed program was:" >&5 |
2820 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2821 |
|
|
|
2822 |
|
|
ac_cv_lib_nsl_main=no |
2823 |
|
|
fi |
2824 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2825 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2826 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2827 |
|
|
fi |
2828 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
2829 |
|
|
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6 |
2830 |
|
|
if test $ac_cv_lib_nsl_main = yes; then |
2831 |
|
|
MYSKLIBS="-lnsl $MYSKLIBS" |
2832 |
|
|
fi |
2833 |
|
|
|
2834 |
|
|
echo "$as_me:$LINENO: checking for main in -lsocket" >&5 |
2835 |
|
|
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6 |
2836 |
|
|
if test "${ac_cv_lib_socket_main+set}" = set; then |
2837 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2838 |
|
|
else |
2839 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2840 |
|
|
LIBS="-lsocket $LIBS" |
2841 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2842 |
|
|
/* confdefs.h. */ |
2843 |
|
|
_ACEOF |
2844 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2845 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2846 |
|
|
/* end confdefs.h. */ |
2847 |
|
|
|
2848 |
|
|
|
2849 |
|
|
int |
2850 |
|
|
main () |
2851 |
|
|
{ |
2852 |
|
|
main (); |
2853 |
|
|
; |
2854 |
|
|
return 0; |
2855 |
|
|
} |
2856 |
|
|
_ACEOF |
2857 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2858 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2859 |
|
|
(eval $ac_link) 2>conftest.er1 |
2860 |
|
|
ac_status=$? |
2861 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2862 |
|
|
rm -f conftest.er1 |
2863 |
|
|
cat conftest.err >&5 |
2864 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2865 |
|
|
(exit $ac_status); } && |
2866 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2867 |
|
|
|| test ! -s conftest.err' |
2868 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2869 |
|
|
(eval $ac_try) 2>&5 |
2870 |
|
|
ac_status=$? |
2871 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2872 |
|
|
(exit $ac_status); }; } && |
2873 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2874 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2875 |
|
|
(eval $ac_try) 2>&5 |
2876 |
|
|
ac_status=$? |
2877 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2878 |
|
|
(exit $ac_status); }; }; then |
2879 |
|
|
ac_cv_lib_socket_main=yes |
2880 |
|
|
else |
2881 |
|
|
echo "$as_me: failed program was:" >&5 |
2882 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2883 |
|
|
|
2884 |
|
|
ac_cv_lib_socket_main=no |
2885 |
|
|
fi |
2886 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2887 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2888 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2889 |
|
|
fi |
2890 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 |
2891 |
|
|
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 |
2892 |
|
|
if test $ac_cv_lib_socket_main = yes; then |
2893 |
|
|
MYSKLIBS="-lsocket $MYSKLIBS" |
2894 |
|
|
fi |
2895 |
|
|
|
2896 |
|
|
echo "$as_me:$LINENO: checking for main in -lresolv" >&5 |
2897 |
|
|
echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6 |
2898 |
|
|
if test "${ac_cv_lib_resolv_main+set}" = set; then |
2899 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2900 |
|
|
else |
2901 |
|
|
ac_check_lib_save_LIBS=$LIBS |
2902 |
|
|
LIBS="-lresolv $LIBS" |
2903 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
2904 |
|
|
/* confdefs.h. */ |
2905 |
|
|
_ACEOF |
2906 |
|
|
cat confdefs.h >>conftest.$ac_ext |
2907 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
2908 |
|
|
/* end confdefs.h. */ |
2909 |
|
|
|
2910 |
|
|
|
2911 |
|
|
int |
2912 |
|
|
main () |
2913 |
|
|
{ |
2914 |
|
|
main (); |
2915 |
|
|
; |
2916 |
|
|
return 0; |
2917 |
|
|
} |
2918 |
|
|
_ACEOF |
2919 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2920 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2921 |
|
|
(eval $ac_link) 2>conftest.er1 |
2922 |
|
|
ac_status=$? |
2923 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
2924 |
|
|
rm -f conftest.er1 |
2925 |
|
|
cat conftest.err >&5 |
2926 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2927 |
|
|
(exit $ac_status); } && |
2928 |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
2929 |
|
|
|| test ! -s conftest.err' |
2930 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2931 |
|
|
(eval $ac_try) 2>&5 |
2932 |
|
|
ac_status=$? |
2933 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2934 |
|
|
(exit $ac_status); }; } && |
2935 |
|
|
{ ac_try='test -s conftest$ac_exeext' |
2936 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2937 |
|
|
(eval $ac_try) 2>&5 |
2938 |
|
|
ac_status=$? |
2939 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2940 |
|
|
(exit $ac_status); }; }; then |
2941 |
|
|
ac_cv_lib_resolv_main=yes |
2942 |
|
|
else |
2943 |
|
|
echo "$as_me: failed program was:" >&5 |
2944 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2945 |
|
|
|
2946 |
|
|
ac_cv_lib_resolv_main=no |
2947 |
|
|
fi |
2948 |
|
|
rm -f conftest.err conftest.$ac_objext \ |
2949 |
|
|
conftest$ac_exeext conftest.$ac_ext |
2950 |
|
|
LIBS=$ac_check_lib_save_LIBS |
2951 |
|
|
fi |
2952 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5 |
2953 |
|
|
echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6 |
2954 |
|
|
if test $ac_cv_lib_resolv_main = yes; then |
2955 |
|
|
MYSKLIBS="-lresolv $MYSKLIBS" |
2956 |
|
|
fi |
2957 |
|
|
|
2958 |
|
|
|
2959 |
|
|
|
2960 |
|
|
# Checking the version of QDBM with pkg-config |
2961 |
|
|
if type pkg-config > /dev/null 2>&1 |
2962 |
|
|
then |
2963 |
|
|
printf 'checking the version of QDBM ... ' |
2964 |
|
|
if pkg-config --atleast-version=1.8.29 qdbm |
2965 |
|
|
then |
2966 |
|
|
printf 'ok (%s)\n' `pkg-config --modversion qdbm` |
2967 |
|
|
MYCPPOPTS="$MYCPPOPTS -I`pkg-config --variable=includedir qdbm`" |
2968 |
|
|
MYLDOPTS="$MYLDOPTS -L`pkg-config --variable=libdir qdbm`" |
2969 |
|
|
MYRUNPATH="$MYRUNPATH:`pkg-config --variable=libdir qdbm`" |
2970 |
|
|
else |
2971 |
|
|
printf 'error (not installed or too old)\n' |
2972 |
|
|
exit 1 |
2973 |
|
|
fi |
2974 |
|
|
fi |
2975 |
|
|
|
2976 |
|
|
|
2977 |
|
|
|
2978 |
|
|
#================================================================ |
2979 |
|
|
# Generic Settings |
2980 |
|
|
#================================================================ |
2981 |
|
|
|
2982 |
|
|
|
2983 |
|
|
# Export variables |
2984 |
|
|
|
2985 |
|
|
|
2986 |
|
|
|
2987 |
|
|
|
2988 |
|
|
|
2989 |
|
|
|
2990 |
|
|
|
2991 |
|
|
|
2992 |
|
|
|
2993 |
|
|
|
2994 |
|
|
|
2995 |
|
|
# Targets |
2996 |
|
|
ac_config_files="$ac_config_files Makefile estconfig hyperestraier.pc" |
2997 |
|
|
cat >confcache <<\_ACEOF |
2998 |
|
|
# This file is a shell script that caches the results of configure |
2999 |
|
|
# tests run on this system so they can be shared between configure |
3000 |
|
|
# scripts and configure runs, see configure's option --config-cache. |
3001 |
|
|
# It is not useful on other systems. If it contains results you don't |
3002 |
|
|
# want to keep, you may remove or edit it. |
3003 |
|
|
# |
3004 |
|
|
# config.status only pays attention to the cache file if you give it |
3005 |
|
|
# the --recheck option to rerun configure. |
3006 |
|
|
# |
3007 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
3008 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
3009 |
|
|
# following values. |
3010 |
|
|
|
3011 |
|
|
_ACEOF |
3012 |
|
|
|
3013 |
|
|
# The following way of writing the cache mishandles newlines in values, |
3014 |
|
|
# but we know of no workaround that is simple, portable, and efficient. |
3015 |
|
|
# So, don't put newlines in cache variables' values. |
3016 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
3017 |
|
|
# and sets the high bit in the cache file unless we assign to the vars. |
3018 |
|
|
{ |
3019 |
|
|
(set) 2>&1 | |
3020 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
3021 |
|
|
*ac_space=\ *) |
3022 |
|
|
# `set' does not quote correctly, so add quotes (double-quote |
3023 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
3024 |
|
|
sed -n \ |
3025 |
|
|
"s/'/'\\\\''/g; |
3026 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3027 |
|
|
;; |
3028 |
|
|
*) |
3029 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
3030 |
|
|
sed -n \ |
3031 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3032 |
|
|
;; |
3033 |
|
|
esac; |
3034 |
|
|
} | |
3035 |
|
|
sed ' |
3036 |
|
|
t clear |
3037 |
|
|
: clear |
3038 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
3039 |
|
|
t end |
3040 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3041 |
|
|
: end' >>confcache |
3042 |
|
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
3043 |
|
|
if test -w $cache_file; then |
3044 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
3045 |
|
|
cat confcache >$cache_file |
3046 |
|
|
else |
3047 |
|
|
echo "not updating unwritable cache $cache_file" |
3048 |
|
|
fi |
3049 |
|
|
fi |
3050 |
|
|
rm -f confcache |
3051 |
|
|
|
3052 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3053 |
|
|
# Let make expand exec_prefix. |
3054 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
3055 |
|
|
|
3056 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
3057 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
3058 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty |
3059 |
|
|
# (actually we leave an empty line to preserve line numbers). |
3060 |
|
|
if test "x$srcdir" = x.; then |
3061 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
3062 |
|
|
s/:*\$(srcdir):*/:/; |
3063 |
|
|
s/:*\${srcdir}:*/:/; |
3064 |
|
|
s/:*@srcdir@:*/:/; |
3065 |
|
|
s/^\([^=]*=[ ]*\):*/\1/; |
3066 |
|
|
s/:*$//; |
3067 |
|
|
s/^[^=]*=[ ]*$//; |
3068 |
|
|
}' |
3069 |
|
|
fi |
3070 |
|
|
|
3071 |
|
|
# Transform confdefs.h into DEFS. |
3072 |
|
|
# Protect against shell expansion while executing Makefile rules. |
3073 |
|
|
# Protect against Makefile macro expansion. |
3074 |
|
|
# |
3075 |
|
|
# If the first sed substitution is executed (which looks for macros that |
3076 |
|
|
# take arguments), then we branch to the quote section. Otherwise, |
3077 |
|
|
# look for a macro that doesn't take arguments. |
3078 |
|
|
cat >confdef2opt.sed <<\_ACEOF |
3079 |
|
|
t clear |
3080 |
|
|
: clear |
3081 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
3082 |
|
|
t quote |
3083 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
3084 |
|
|
t quote |
3085 |
|
|
d |
3086 |
|
|
: quote |
3087 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
3088 |
|
|
s,\[,\\&,g |
3089 |
|
|
s,\],\\&,g |
3090 |
|
|
s,\$,$$,g |
3091 |
|
|
p |
3092 |
|
|
_ACEOF |
3093 |
|
|
# We use echo to avoid assuming a particular line-breaking character. |
3094 |
|
|
# The extra dot is to prevent the shell from consuming trailing |
3095 |
|
|
# line-breaks from the sub-command output. A line-break within |
3096 |
|
|
# single-quotes doesn't work because, if this script is created in a |
3097 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr |
3098 |
|
|
# would break. |
3099 |
|
|
ac_LF_and_DOT=`echo; echo .` |
3100 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
3101 |
|
|
rm -f confdef2opt.sed |
3102 |
|
|
|
3103 |
|
|
|
3104 |
|
|
ac_libobjs= |
3105 |
|
|
ac_ltlibobjs= |
3106 |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3107 |
|
|
# 1. Remove the extension, and $U if already installed. |
3108 |
|
|
ac_i=`echo "$ac_i" | |
3109 |
|
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
3110 |
|
|
# 2. Add them. |
3111 |
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
3112 |
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
3113 |
|
|
done |
3114 |
|
|
LIBOBJS=$ac_libobjs |
3115 |
|
|
|
3116 |
|
|
LTLIBOBJS=$ac_ltlibobjs |
3117 |
|
|
|
3118 |
|
|
|
3119 |
|
|
|
3120 |
|
|
: ${CONFIG_STATUS=./config.status} |
3121 |
|
|
ac_clean_files_save=$ac_clean_files |
3122 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3123 |
|
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
3124 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3125 |
|
|
cat >$CONFIG_STATUS <<_ACEOF |
3126 |
|
|
#! $SHELL |
3127 |
|
|
# Generated by $as_me. |
3128 |
|
|
# Run this file to recreate the current configuration. |
3129 |
|
|
# Compiler output produced by configure, useful for debugging |
3130 |
|
|
# configure, is in config.log if it exists. |
3131 |
|
|
|
3132 |
|
|
debug=false |
3133 |
|
|
ac_cs_recheck=false |
3134 |
|
|
ac_cs_silent=false |
3135 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL} |
3136 |
|
|
_ACEOF |
3137 |
|
|
|
3138 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3139 |
|
|
## --------------------- ## |
3140 |
|
|
## M4sh Initialization. ## |
3141 |
|
|
## --------------------- ## |
3142 |
|
|
|
3143 |
|
|
# Be Bourne compatible |
3144 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3145 |
|
|
emulate sh |
3146 |
|
|
NULLCMD=: |
3147 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
3148 |
|
|
# is contrary to our usage. Disable this feature. |
3149 |
|
|
alias -g '${1+"$@"}'='"$@"' |
3150 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
3151 |
|
|
set -o posix |
3152 |
|
|
fi |
3153 |
|
|
DUALCASE=1; export DUALCASE # for MKS sh |
3154 |
|
|
|
3155 |
|
|
# Support unset when possible. |
3156 |
|
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
3157 |
|
|
as_unset=unset |
3158 |
|
|
else |
3159 |
|
|
as_unset=false |
3160 |
|
|
fi |
3161 |
|
|
|
3162 |
|
|
|
3163 |
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
3164 |
|
|
$as_unset ENV MAIL MAILPATH |
3165 |
|
|
PS1='$ ' |
3166 |
|
|
PS2='> ' |
3167 |
|
|
PS4='+ ' |
3168 |
|
|
|
3169 |
|
|
# NLS nuisances. |
3170 |
|
|
for as_var in \ |
3171 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
3172 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
3173 |
|
|
LC_TELEPHONE LC_TIME |
3174 |
|
|
do |
3175 |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3176 |
|
|
eval $as_var=C; export $as_var |
3177 |
|
|
else |
3178 |
|
|
$as_unset $as_var |
3179 |
|
|
fi |
3180 |
|
|
done |
3181 |
|
|
|
3182 |
|
|
# Required to use basename. |
3183 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
3184 |
|
|
as_expr=expr |
3185 |
|
|
else |
3186 |
|
|
as_expr=false |
3187 |
|
|
fi |
3188 |
|
|
|
3189 |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
3190 |
|
|
as_basename=basename |
3191 |
|
|
else |
3192 |
|
|
as_basename=false |
3193 |
|
|
fi |
3194 |
|
|
|
3195 |
|
|
|
3196 |
|
|
# Name of the executable. |
3197 |
|
|
as_me=`$as_basename "$0" || |
3198 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3199 |
|
|
X"$0" : 'X\(//\)$' \| \ |
3200 |
|
|
X"$0" : 'X\(/\)$' \| \ |
3201 |
|
|
. : '\(.\)' 2>/dev/null || |
3202 |
|
|
echo X/"$0" | |
3203 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
3204 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
3205 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; } |
3206 |
|
|
s/.*/./; q'` |
3207 |
|
|
|
3208 |
|
|
|
3209 |
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
3210 |
|
|
# Avoid depending upon Character Ranges. |
3211 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3212 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3213 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3214 |
|
|
as_cr_digits='0123456789' |
3215 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
3216 |
|
|
|
3217 |
|
|
# The user is always right. |
3218 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then |
3219 |
|
|
echo "#! /bin/sh" >conf$$.sh |
3220 |
|
|
echo "exit 0" >>conf$$.sh |
3221 |
|
|
chmod +x conf$$.sh |
3222 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
3223 |
|
|
PATH_SEPARATOR=';' |
3224 |
|
|
else |
3225 |
|
|
PATH_SEPARATOR=: |
3226 |
|
|
fi |
3227 |
|
|
rm -f conf$$.sh |
3228 |
|
|
fi |
3229 |
|
|
|
3230 |
|
|
|
3231 |
|
|
as_lineno_1=$LINENO |
3232 |
|
|
as_lineno_2=$LINENO |
3233 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
3234 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
3235 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
3236 |
|
|
# Find who we are. Look in the path if we contain no path at all |
3237 |
|
|
# relative or not. |
3238 |
|
|
case $0 in |
3239 |
|
|
*[\\/]* ) as_myself=$0 ;; |
3240 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3241 |
|
|
for as_dir in $PATH |
3242 |
|
|
do |
3243 |
|
|
IFS=$as_save_IFS |
3244 |
|
|
test -z "$as_dir" && as_dir=. |
3245 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3246 |
|
|
done |
3247 |
|
|
|
3248 |
|
|
;; |
3249 |
|
|
esac |
3250 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
3251 |
|
|
# in which case we are not to be found in the path. |
3252 |
|
|
if test "x$as_myself" = x; then |
3253 |
|
|
as_myself=$0 |
3254 |
|
|
fi |
3255 |
|
|
if test ! -f "$as_myself"; then |
3256 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
3257 |
|
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
3258 |
|
|
{ (exit 1); exit 1; }; } |
3259 |
|
|
fi |
3260 |
|
|
case $CONFIG_SHELL in |
3261 |
|
|
'') |
3262 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3263 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
3264 |
|
|
do |
3265 |
|
|
IFS=$as_save_IFS |
3266 |
|
|
test -z "$as_dir" && as_dir=. |
3267 |
|
|
for as_base in sh bash ksh sh5; do |
3268 |
|
|
case $as_dir in |
3269 |
|
|
/*) |
3270 |
|
|
if ("$as_dir/$as_base" -c ' |
3271 |
|
|
as_lineno_1=$LINENO |
3272 |
|
|
as_lineno_2=$LINENO |
3273 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
3274 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
3275 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
3276 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
3277 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
3278 |
|
|
CONFIG_SHELL=$as_dir/$as_base |
3279 |
|
|
export CONFIG_SHELL |
3280 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
3281 |
|
|
fi;; |
3282 |
|
|
esac |
3283 |
|
|
done |
3284 |
|
|
done |
3285 |
|
|
;; |
3286 |
|
|
esac |
3287 |
|
|
|
3288 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
3289 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a |
3290 |
|
|
# line-number line before each line; the second 'sed' does the real |
3291 |
|
|
# work. The second script uses 'N' to pair each line-number line |
3292 |
|
|
# with the numbered line, and appends trailing '-' during |
3293 |
|
|
# substitution so that $LINENO is not a special case at line end. |
3294 |
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
3295 |
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
3296 |
|
|
sed '=' <$as_myself | |
3297 |
|
|
sed ' |
3298 |
|
|
N |
3299 |
|
|
s,$,-, |
3300 |
|
|
: loop |
3301 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
3302 |
|
|
t loop |
3303 |
|
|
s,-$,, |
3304 |
|
|
s,^['$as_cr_digits']*\n,, |
3305 |
|
|
' >$as_me.lineno && |
3306 |
|
|
chmod +x $as_me.lineno || |
3307 |
|
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
3308 |
|
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
3309 |
|
|
{ (exit 1); exit 1; }; } |
3310 |
|
|
|
3311 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
3312 |
|
|
# (the dirname of $[0] is not the place where we might find the |
3313 |
|
|
# original and so on. Autoconf is especially sensible to this). |
3314 |
|
|
. ./$as_me.lineno |
3315 |
|
|
# Exit status is that of the last command. |
3316 |
|
|
exit |
3317 |
|
|
} |
3318 |
|
|
|
3319 |
|
|
|
3320 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
3321 |
|
|
*c*,-n*) ECHO_N= ECHO_C=' |
3322 |
|
|
' ECHO_T=' ' ;; |
3323 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
3324 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
3325 |
|
|
esac |
3326 |
|
|
|
3327 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
3328 |
|
|
as_expr=expr |
3329 |
|
|
else |
3330 |
|
|
as_expr=false |
3331 |
|
|
fi |
3332 |
|
|
|
3333 |
|
|
rm -f conf$$ conf$$.exe conf$$.file |
3334 |
|
|
echo >conf$$.file |
3335 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
3336 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic |
3337 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
3338 |
|
|
if test -f conf$$.exe; then |
3339 |
|
|
# Don't use ln at all; we don't have any links |
3340 |
|
|
as_ln_s='cp -p' |
3341 |
|
|
else |
3342 |
|
|
as_ln_s='ln -s' |
3343 |
|
|
fi |
3344 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
3345 |
|
|
as_ln_s=ln |
3346 |
|
|
else |
3347 |
|
|
as_ln_s='cp -p' |
3348 |
|
|
fi |
3349 |
|
|
rm -f conf$$ conf$$.exe conf$$.file |
3350 |
|
|
|
3351 |
|
|
if mkdir -p . 2>/dev/null; then |
3352 |
|
|
as_mkdir_p=: |
3353 |
|
|
else |
3354 |
|
|
test -d ./-p && rmdir ./-p |
3355 |
|
|
as_mkdir_p=false |
3356 |
|
|
fi |
3357 |
|
|
|
3358 |
|
|
as_executable_p="test -f" |
3359 |
|
|
|
3360 |
|
|
# Sed expression to map a string onto a valid CPP name. |
3361 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3362 |
|
|
|
3363 |
|
|
# Sed expression to map a string onto a valid variable name. |
3364 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
3365 |
|
|
|
3366 |
|
|
|
3367 |
|
|
# IFS |
3368 |
|
|
# We need space, tab and new line, in precisely that order. |
3369 |
|
|
as_nl=' |
3370 |
|
|
' |
3371 |
|
|
IFS=" $as_nl" |
3372 |
|
|
|
3373 |
|
|
# CDPATH. |
3374 |
|
|
$as_unset CDPATH |
3375 |
|
|
|
3376 |
|
|
exec 6>&1 |
3377 |
|
|
|
3378 |
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
3379 |
|
|
# report actual input values of CONFIG_FILES etc. instead of their |
3380 |
|
|
# values after options handling. Logging --version etc. is OK. |
3381 |
|
|
exec 5>>config.log |
3382 |
|
|
{ |
3383 |
|
|
echo |
3384 |
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
3385 |
|
|
## Running $as_me. ## |
3386 |
|
|
_ASBOX |
3387 |
|
|
} >&5 |
3388 |
|
|
cat >&5 <<_CSEOF |
3389 |
|
|
|
3390 |
|
|
This file was extended by hyperestraier $as_me 0.5.1, which was |
3391 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was |
3392 |
|
|
|
3393 |
|
|
CONFIG_FILES = $CONFIG_FILES |
3394 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS |
3395 |
|
|
CONFIG_LINKS = $CONFIG_LINKS |
3396 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
3397 |
|
|
$ $0 $@ |
3398 |
|
|
|
3399 |
|
|
_CSEOF |
3400 |
|
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
3401 |
|
|
echo >&5 |
3402 |
|
|
_ACEOF |
3403 |
|
|
|
3404 |
|
|
# Files that config.status was made for. |
3405 |
|
|
if test -n "$ac_config_files"; then |
3406 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
3407 |
|
|
fi |
3408 |
|
|
|
3409 |
|
|
if test -n "$ac_config_headers"; then |
3410 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
3411 |
|
|
fi |
3412 |
|
|
|
3413 |
|
|
if test -n "$ac_config_links"; then |
3414 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
3415 |
|
|
fi |
3416 |
|
|
|
3417 |
|
|
if test -n "$ac_config_commands"; then |
3418 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
3419 |
|
|
fi |
3420 |
|
|
|
3421 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3422 |
|
|
|
3423 |
|
|
ac_cs_usage="\ |
3424 |
|
|
\`$as_me' instantiates files from templates according to the |
3425 |
|
|
current configuration. |
3426 |
|
|
|
3427 |
|
|
Usage: $0 [OPTIONS] [FILE]... |
3428 |
|
|
|
3429 |
|
|
-h, --help print this help, then exit |
3430 |
|
|
-V, --version print version number, then exit |
3431 |
|
|
-q, --quiet do not print progress messages |
3432 |
|
|
-d, --debug don't remove temporary files |
3433 |
|
|
--recheck update $as_me by reconfiguring in the same conditions |
3434 |
|
|
--file=FILE[:TEMPLATE] |
3435 |
|
|
instantiate the configuration file FILE |
3436 |
|
|
|
3437 |
|
|
Configuration files: |
3438 |
|
|
$config_files |
3439 |
|
|
|
3440 |
|
|
Report bugs to <bug-autoconf@gnu.org>." |
3441 |
|
|
_ACEOF |
3442 |
|
|
|
3443 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
3444 |
|
|
ac_cs_version="\\ |
3445 |
|
|
hyperestraier config.status 0.5.1 |
3446 |
|
|
configured by $0, generated by GNU Autoconf 2.59, |
3447 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
3448 |
|
|
|
3449 |
|
|
Copyright (C) 2003 Free Software Foundation, Inc. |
3450 |
|
|
This config.status script is free software; the Free Software Foundation |
3451 |
|
|
gives unlimited permission to copy, distribute and modify it." |
3452 |
|
|
srcdir=$srcdir |
3453 |
|
|
_ACEOF |
3454 |
|
|
|
3455 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3456 |
|
|
# If no file are specified by the user, then we need to provide default |
3457 |
|
|
# value. By we need to know if files were specified by the user. |
3458 |
|
|
ac_need_defaults=: |
3459 |
|
|
while test $# != 0 |
3460 |
|
|
do |
3461 |
|
|
case $1 in |
3462 |
|
|
--*=*) |
3463 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
3464 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
3465 |
|
|
ac_shift=: |
3466 |
|
|
;; |
3467 |
|
|
-*) |
3468 |
|
|
ac_option=$1 |
3469 |
|
|
ac_optarg=$2 |
3470 |
|
|
ac_shift=shift |
3471 |
|
|
;; |
3472 |
|
|
*) # This is not an option, so the user has probably given explicit |
3473 |
|
|
# arguments. |
3474 |
|
|
ac_option=$1 |
3475 |
|
|
ac_need_defaults=false;; |
3476 |
|
|
esac |
3477 |
|
|
|
3478 |
|
|
case $ac_option in |
3479 |
|
|
# Handling of the options. |
3480 |
|
|
_ACEOF |
3481 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3482 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3483 |
|
|
ac_cs_recheck=: ;; |
3484 |
|
|
--version | --vers* | -V ) |
3485 |
|
|
echo "$ac_cs_version"; exit 0 ;; |
3486 |
|
|
--he | --h) |
3487 |
|
|
# Conflict between --help and --header |
3488 |
|
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
3489 |
|
|
Try \`$0 --help' for more information." >&5 |
3490 |
|
|
echo "$as_me: error: ambiguous option: $1 |
3491 |
|
|
Try \`$0 --help' for more information." >&2;} |
3492 |
|
|
{ (exit 1); exit 1; }; };; |
3493 |
|
|
--help | --hel | -h ) |
3494 |
|
|
echo "$ac_cs_usage"; exit 0 ;; |
3495 |
|
|
--debug | --d* | -d ) |
3496 |
|
|
debug=: ;; |
3497 |
|
|
--file | --fil | --fi | --f ) |
3498 |
|
|
$ac_shift |
3499 |
|
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
3500 |
|
|
ac_need_defaults=false;; |
3501 |
|
|
--header | --heade | --head | --hea ) |
3502 |
|
|
$ac_shift |
3503 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
3504 |
|
|
ac_need_defaults=false;; |
3505 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3506 |
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
3507 |
|
|
ac_cs_silent=: ;; |
3508 |
|
|
|
3509 |
|
|
# This is an error. |
3510 |
|
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
3511 |
|
|
Try \`$0 --help' for more information." >&5 |
3512 |
|
|
echo "$as_me: error: unrecognized option: $1 |
3513 |
|
|
Try \`$0 --help' for more information." >&2;} |
3514 |
|
|
{ (exit 1); exit 1; }; } ;; |
3515 |
|
|
|
3516 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;; |
3517 |
|
|
|
3518 |
|
|
esac |
3519 |
|
|
shift |
3520 |
|
|
done |
3521 |
|
|
|
3522 |
|
|
ac_configure_extra_args= |
3523 |
|
|
|
3524 |
|
|
if $ac_cs_silent; then |
3525 |
|
|
exec 6>/dev/null |
3526 |
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent" |
3527 |
|
|
fi |
3528 |
|
|
|
3529 |
|
|
_ACEOF |
3530 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
3531 |
|
|
if \$ac_cs_recheck; then |
3532 |
|
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
3533 |
|
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
3534 |
|
|
fi |
3535 |
|
|
|
3536 |
|
|
_ACEOF |
3537 |
|
|
|
3538 |
|
|
|
3539 |
|
|
|
3540 |
|
|
|
3541 |
|
|
|
3542 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3543 |
|
|
for ac_config_target in $ac_config_targets |
3544 |
|
|
do |
3545 |
|
|
case "$ac_config_target" in |
3546 |
|
|
# Handling of arguments. |
3547 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3548 |
|
|
"estconfig" ) CONFIG_FILES="$CONFIG_FILES estconfig" ;; |
3549 |
|
|
"hyperestraier.pc" ) CONFIG_FILES="$CONFIG_FILES hyperestraier.pc" ;; |
3550 |
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
3551 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
3552 |
|
|
{ (exit 1); exit 1; }; };; |
3553 |
|
|
esac |
3554 |
|
|
done |
3555 |
|
|
|
3556 |
|
|
# If the user did not use the arguments to specify the items to instantiate, |
3557 |
|
|
# then the envvar interface is used. Set only those that are not. |
3558 |
|
|
# We use the long form for the default assignment because of an extremely |
3559 |
|
|
# bizarre bug on SunOS 4.1.3. |
3560 |
|
|
if $ac_need_defaults; then |
3561 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
3562 |
|
|
fi |
3563 |
|
|
|
3564 |
|
|
# Have a temporary directory for convenience. Make it in the build tree |
3565 |
|
|
# simply because there is no reason to put it here, and in addition, |
3566 |
|
|
# creating and moving files from /tmp can sometimes cause problems. |
3567 |
|
|
# Create a temporary directory, and hook for its removal unless debugging. |
3568 |
|
|
$debug || |
3569 |
|
|
{ |
3570 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
3571 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3572 |
|
|
} |
3573 |
|
|
|
3574 |
|
|
# Create a (secure) tmp directory for tmp files. |
3575 |
|
|
|
3576 |
|
|
{ |
3577 |
|
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
3578 |
|
|
test -n "$tmp" && test -d "$tmp" |
3579 |
|
|
} || |
3580 |
|
|
{ |
3581 |
|
|
tmp=./confstat$$-$RANDOM |
3582 |
|
|
(umask 077 && mkdir $tmp) |
3583 |
|
|
} || |
3584 |
|
|
{ |
3585 |
|
|
echo "$me: cannot create a temporary directory in ." >&2 |
3586 |
|
|
{ (exit 1); exit 1; } |
3587 |
|
|
} |
3588 |
|
|
|
3589 |
|
|
_ACEOF |
3590 |
|
|
|
3591 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
3592 |
|
|
|
3593 |
|
|
# |
3594 |
|
|
# CONFIG_FILES section. |
3595 |
|
|
# |
3596 |
|
|
|
3597 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES. |
3598 |
|
|
# This happens for instance when ./config.status config.h |
3599 |
|
|
if test -n "\$CONFIG_FILES"; then |
3600 |
|
|
# Protect against being on the right side of a sed subst in config.status. |
3601 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
3602 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
3603 |
|
|
s,@SHELL@,$SHELL,;t t |
3604 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
3605 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
3606 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
3607 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
3608 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
3609 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
3610 |
|
|
s,@exec_prefix@,$exec_prefix,;t t |
3611 |
|
|
s,@prefix@,$prefix,;t t |
3612 |
|
|
s,@program_transform_name@,$program_transform_name,;t t |
3613 |
|
|
s,@bindir@,$bindir,;t t |
3614 |
|
|
s,@sbindir@,$sbindir,;t t |
3615 |
|
|
s,@libexecdir@,$libexecdir,;t t |
3616 |
|
|
s,@datadir@,$datadir,;t t |
3617 |
|
|
s,@sysconfdir@,$sysconfdir,;t t |
3618 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t |
3619 |
|
|
s,@localstatedir@,$localstatedir,;t t |
3620 |
|
|
s,@libdir@,$libdir,;t t |
3621 |
|
|
s,@includedir@,$includedir,;t t |
3622 |
|
|
s,@oldincludedir@,$oldincludedir,;t t |
3623 |
|
|
s,@infodir@,$infodir,;t t |
3624 |
|
|
s,@mandir@,$mandir,;t t |
3625 |
|
|
s,@build_alias@,$build_alias,;t t |
3626 |
|
|
s,@host_alias@,$host_alias,;t t |
3627 |
|
|
s,@target_alias@,$target_alias,;t t |
3628 |
|
|
s,@DEFS@,$DEFS,;t t |
3629 |
|
|
s,@ECHO_C@,$ECHO_C,;t t |
3630 |
|
|
s,@ECHO_N@,$ECHO_N,;t t |
3631 |
|
|
s,@ECHO_T@,$ECHO_T,;t t |
3632 |
|
|
s,@LIBS@,$LIBS,;t t |
3633 |
|
|
s,@CC@,$CC,;t t |
3634 |
|
|
s,@CFLAGS@,$CFLAGS,;t t |
3635 |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t |
3636 |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
3637 |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
3638 |
|
|
s,@EXEEXT@,$EXEEXT,;t t |
3639 |
|
|
s,@OBJEXT@,$OBJEXT,;t t |
3640 |
|
|
s,@LIBVER@,$LIBVER,;t t |
3641 |
|
|
s,@LIBREV@,$LIBREV,;t t |
3642 |
|
|
s,@PROTVER@,$PROTVER,;t t |
3643 |
|
|
s,@MYCFLAGS@,$MYCFLAGS,;t t |
3644 |
|
|
s,@MYCPPOPTS@,$MYCPPOPTS,;t t |
3645 |
|
|
s,@MYLDOPTS@,$MYLDOPTS,;t t |
3646 |
|
|
s,@MYMTLIBS@,$MYMTLIBS,;t t |
3647 |
|
|
s,@MYSKLIBS@,$MYSKLIBS,;t t |
3648 |
|
|
s,@MYRUNPATH@,$MYRUNPATH,;t t |
3649 |
|
|
s,@MYPOSTCMD@,$MYPOSTCMD,;t t |
3650 |
|
|
s,@LIBOBJS@,$LIBOBJS,;t t |
3651 |
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
3652 |
|
|
CEOF |
3653 |
|
|
|
3654 |
|
|
_ACEOF |
3655 |
|
|
|
3656 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3657 |
|
|
# Split the substitutions into bite-sized pieces for seds with |
3658 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
3659 |
|
|
ac_max_sed_lines=48 |
3660 |
|
|
ac_sed_frag=1 # Number of current file. |
3661 |
|
|
ac_beg=1 # First line for current file. |
3662 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file. |
3663 |
|
|
ac_more_lines=: |
3664 |
|
|
ac_sed_cmds= |
3665 |
|
|
while $ac_more_lines; do |
3666 |
|
|
if test $ac_beg -gt 1; then |
3667 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
3668 |
|
|
else |
3669 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
3670 |
|
|
fi |
3671 |
|
|
if test ! -s $tmp/subs.frag; then |
3672 |
|
|
ac_more_lines=false |
3673 |
|
|
else |
3674 |
|
|
# The purpose of the label and of the branching condition is to |
3675 |
|
|
# speed up the sed processing (if there are no `@' at all, there |
3676 |
|
|
# is no need to browse any of the substitutions). |
3677 |
|
|
# These are the two extra sed commands mentioned above. |
3678 |
|
|
(echo ':t |
3679 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
3680 |
|
|
if test -z "$ac_sed_cmds"; then |
3681 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
3682 |
|
|
else |
3683 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
3684 |
|
|
fi |
3685 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
3686 |
|
|
ac_beg=$ac_end |
3687 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
3688 |
|
|
fi |
3689 |
|
|
done |
3690 |
|
|
if test -z "$ac_sed_cmds"; then |
3691 |
|
|
ac_sed_cmds=cat |
3692 |
|
|
fi |
3693 |
|
|
fi # test -n "$CONFIG_FILES" |
3694 |
|
|
|
3695 |
|
|
_ACEOF |
3696 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3697 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
3698 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
3699 |
|
|
case $ac_file in |
3700 |
|
|
- | *:- | *:-:* ) # input from stdin |
3701 |
|
|
cat >$tmp/stdin |
3702 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
3703 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
3704 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
3705 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
3706 |
|
|
* ) ac_file_in=$ac_file.in ;; |
3707 |
|
|
esac |
3708 |
|
|
|
3709 |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
3710 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
3711 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3712 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
3713 |
|
|
X"$ac_file" : 'X\(//\)$' \| \ |
3714 |
|
|
X"$ac_file" : 'X\(/\)' \| \ |
3715 |
|
|
. : '\(.\)' 2>/dev/null || |
3716 |
|
|
echo X"$ac_file" | |
3717 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
3718 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
3719 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
3720 |
|
|
/^X\(\/\).*/{ s//\1/; q; } |
3721 |
|
|
s/.*/./; q'` |
3722 |
|
|
{ if $as_mkdir_p; then |
3723 |
|
|
mkdir -p "$ac_dir" |
3724 |
|
|
else |
3725 |
|
|
as_dir="$ac_dir" |
3726 |
|
|
as_dirs= |
3727 |
|
|
while test ! -d "$as_dir"; do |
3728 |
|
|
as_dirs="$as_dir $as_dirs" |
3729 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
3730 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3731 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
3732 |
|
|
X"$as_dir" : 'X\(//\)$' \| \ |
3733 |
|
|
X"$as_dir" : 'X\(/\)' \| \ |
3734 |
|
|
. : '\(.\)' 2>/dev/null || |
3735 |
|
|
echo X"$as_dir" | |
3736 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
3737 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
3738 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
3739 |
|
|
/^X\(\/\).*/{ s//\1/; q; } |
3740 |
|
|
s/.*/./; q'` |
3741 |
|
|
done |
3742 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs |
3743 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
3744 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
3745 |
|
|
{ (exit 1); exit 1; }; }; } |
3746 |
|
|
|
3747 |
|
|
ac_builddir=. |
3748 |
|
|
|
3749 |
|
|
if test "$ac_dir" != .; then |
3750 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
3751 |
|
|
# A "../" for each directory in $ac_dir_suffix. |
3752 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
3753 |
|
|
else |
3754 |
|
|
ac_dir_suffix= ac_top_builddir= |
3755 |
|
|
fi |
3756 |
|
|
|
3757 |
|
|
case $srcdir in |
3758 |
|
|
.) # No --srcdir option. We are building in place. |
3759 |
|
|
ac_srcdir=. |
3760 |
|
|
if test -z "$ac_top_builddir"; then |
3761 |
|
|
ac_top_srcdir=. |
3762 |
|
|
else |
3763 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
3764 |
|
|
fi ;; |
3765 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
3766 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix; |
3767 |
|
|
ac_top_srcdir=$srcdir ;; |
3768 |
|
|
*) # Relative path. |
3769 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
3770 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
3771 |
|
|
esac |
3772 |
|
|
|
3773 |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
3774 |
|
|
# the directories may not exist. |
3775 |
|
|
case `pwd` in |
3776 |
|
|
.) ac_abs_builddir="$ac_dir";; |
3777 |
|
|
*) |
3778 |
|
|
case "$ac_dir" in |
3779 |
|
|
.) ac_abs_builddir=`pwd`;; |
3780 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
3781 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
3782 |
|
|
esac;; |
3783 |
|
|
esac |
3784 |
|
|
case $ac_abs_builddir in |
3785 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
3786 |
|
|
*) |
3787 |
|
|
case ${ac_top_builddir}. in |
3788 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
3789 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
3790 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
3791 |
|
|
esac;; |
3792 |
|
|
esac |
3793 |
|
|
case $ac_abs_builddir in |
3794 |
|
|
.) ac_abs_srcdir=$ac_srcdir;; |
3795 |
|
|
*) |
3796 |
|
|
case $ac_srcdir in |
3797 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
3798 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
3799 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
3800 |
|
|
esac;; |
3801 |
|
|
esac |
3802 |
|
|
case $ac_abs_builddir in |
3803 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
3804 |
|
|
*) |
3805 |
|
|
case $ac_top_srcdir in |
3806 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
3807 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
3808 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
3809 |
|
|
esac;; |
3810 |
|
|
esac |
3811 |
|
|
|
3812 |
|
|
|
3813 |
|
|
|
3814 |
|
|
if test x"$ac_file" != x-; then |
3815 |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
3816 |
|
|
echo "$as_me: creating $ac_file" >&6;} |
3817 |
|
|
rm -f "$ac_file" |
3818 |
|
|
fi |
3819 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
3820 |
|
|
# use $as_me), people would be surprised to read: |
3821 |
|
|
# /* config.h. Generated by config.status. */ |
3822 |
|
|
if test x"$ac_file" = x-; then |
3823 |
|
|
configure_input= |
3824 |
|
|
else |
3825 |
|
|
configure_input="$ac_file. " |
3826 |
|
|
fi |
3827 |
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
3828 |
|
|
sed 's,.*/,,'` by configure." |
3829 |
|
|
|
3830 |
|
|
# First look for the input files in the build tree, otherwise in the |
3831 |
|
|
# src tree. |
3832 |
|
|
ac_file_inputs=`IFS=: |
3833 |
|
|
for f in $ac_file_in; do |
3834 |
|
|
case $f in |
3835 |
|
|
-) echo $tmp/stdin ;; |
3836 |
|
|
[\\/$]*) |
3837 |
|
|
# Absolute (can't be DOS-style, as IFS=:) |
3838 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3839 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
3840 |
|
|
{ (exit 1); exit 1; }; } |
3841 |
|
|
echo "$f";; |
3842 |
|
|
*) # Relative |
3843 |
|
|
if test -f "$f"; then |
3844 |
|
|
# Build tree |
3845 |
|
|
echo "$f" |
3846 |
|
|
elif test -f "$srcdir/$f"; then |
3847 |
|
|
# Source tree |
3848 |
|
|
echo "$srcdir/$f" |
3849 |
|
|
else |
3850 |
|
|
# /dev/null tree |
3851 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3852 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
3853 |
|
|
{ (exit 1); exit 1; }; } |
3854 |
|
|
fi;; |
3855 |
|
|
esac |
3856 |
|
|
done` || { (exit 1); exit 1; } |
3857 |
|
|
_ACEOF |
3858 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
3859 |
|
|
sed "$ac_vpsub |
3860 |
|
|
$extrasub |
3861 |
|
|
_ACEOF |
3862 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3863 |
|
|
:t |
3864 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
3865 |
|
|
s,@configure_input@,$configure_input,;t t |
3866 |
|
|
s,@srcdir@,$ac_srcdir,;t t |
3867 |
|
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
3868 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
3869 |
|
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
3870 |
|
|
s,@builddir@,$ac_builddir,;t t |
3871 |
|
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
3872 |
|
|
s,@top_builddir@,$ac_top_builddir,;t t |
3873 |
|
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
3874 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
3875 |
|
|
rm -f $tmp/stdin |
3876 |
|
|
if test x"$ac_file" != x-; then |
3877 |
|
|
mv $tmp/out $ac_file |
3878 |
|
|
else |
3879 |
|
|
cat $tmp/out |
3880 |
|
|
rm -f $tmp/out |
3881 |
|
|
fi |
3882 |
|
|
|
3883 |
|
|
done |
3884 |
|
|
_ACEOF |
3885 |
|
|
|
3886 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
3887 |
|
|
|
3888 |
|
|
{ (exit 0); exit 0; } |
3889 |
|
|
_ACEOF |
3890 |
|
|
chmod +x $CONFIG_STATUS |
3891 |
|
|
ac_clean_files=$ac_clean_files_save |
3892 |
|
|
|
3893 |
|
|
|
3894 |
|
|
# configure is writing to config.log, and then calls config.status. |
3895 |
|
|
# config.status does its own redirection, appending to config.log. |
3896 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
3897 |
|
|
# by configure, so config.status won't be able to write to it; its |
3898 |
|
|
# output is simply discarded. So we exec the FD to /dev/null, |
3899 |
|
|
# effectively closing config.log, so it can be properly (re)opened and |
3900 |
|
|
# appended to by config.status. When coming back to configure, we |
3901 |
|
|
# need to make the FD available again. |
3902 |
|
|
if test "$no_create" != yes; then |
3903 |
|
|
ac_cs_success=: |
3904 |
|
|
ac_config_status_args= |
3905 |
|
|
test "$silent" = yes && |
3906 |
|
|
ac_config_status_args="$ac_config_status_args --quiet" |
3907 |
|
|
exec 5>/dev/null |
3908 |
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3909 |
|
|
exec 5>>config.log |
3910 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3911 |
|
|
# would make configure fail if this is the last instruction. |
3912 |
|
|
$ac_cs_success || { (exit 1); exit 1; } |
3913 |
|
|
fi |
3914 |
|
|
|
3915 |
|
|
chmod 755 estconfig |
3916 |
|
|
|
3917 |
|
|
# Messages |
3918 |
|
|
printf '#================================================================\n' |
3919 |
|
|
printf '# Ready to make.\n' |
3920 |
|
|
printf '#================================================================\n' |
3921 |
|
|
|
3922 |
|
|
|
3923 |
|
|
|
3924 |
|
|
# END OF FILE |