1
by James Morrison
Import upstream version 0.1.5 |
1 |
#! /bin/sh
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3 |
# Generated by GNU Autoconf 2.53.
|
1
by James Morrison
Import upstream version 0.1.5 |
4 |
#
|
4.1.2
by Luca Niccoli
* Adopt package. |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
6 |
# Free Software Foundation, Inc.
|
|
1
by James Morrison
Import upstream version 0.1.5 |
7 |
# This configure script is free software; the Free Software Foundation
|
8 |
# gives unlimited permission to copy, distribute and modify it.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
9 |
|
10 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
11 |
as_expr=expr |
|
12 |
else
|
|
13 |
as_expr=false |
|
14 |
fi
|
|
15 |
||
16 |
||
1
by James Morrison
Import upstream version 0.1.5 |
17 |
## --------------------- ##
|
18 |
## M4sh Initialization. ##
|
|
19 |
## --------------------- ##
|
|
20 |
||
21 |
# Be Bourne compatible
|
|
22 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
23 |
emulate sh |
|
24 |
NULLCMD=: |
|
25 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
26 |
set -o posix
|
|
27 |
fi
|
|
28 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
29 |
# NLS nuisances.
|
1
by James Morrison
Import upstream version 0.1.5 |
30 |
# Support unset when possible.
|
4.1.2
by Luca Niccoli
* Adopt package. |
31 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
1
by James Morrison
Import upstream version 0.1.5 |
32 |
as_unset=unset |
33 |
else
|
|
34 |
as_unset=false |
|
35 |
fi
|
|
36 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
37 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
38 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
|
39 |
{ LANG=C; export LANG; } |
|
40 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
|
41 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
|
42 |
{ LC_ALL=C; export LC_ALL; } |
|
43 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
|
44 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
|
45 |
{ LC_TIME=C; export LC_TIME; } |
|
46 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
|
47 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
|
48 |
{ LC_CTYPE=C; export LC_CTYPE; } |
|
49 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
|
50 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
|
51 |
{ LANGUAGE=C; export LANGUAGE; } |
|
52 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
|
53 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
|
54 |
{ LC_COLLATE=C; export LC_COLLATE; } |
|
55 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
|
56 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
|
57 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
|
58 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
|
59 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
|
60 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
|
1
by James Morrison
Import upstream version 0.1.5 |
61 |
|
62 |
||
63 |
# Name of the executable.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
64 |
as_me=`(basename "$0") 2>/dev/null || |
1
by James Morrison
Import upstream version 0.1.5 |
65 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
66 |
X"$0" : 'X\(//\)$' \| \ |
|
67 |
X"$0" : 'X\(/\)$' \| \ |
|
68 |
. : '\(.\)' 2>/dev/null || |
|
69 |
echo X/"$0" | |
|
70 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
71 |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
72 |
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
73 |
s/.*/./; q'` |
|
74 |
||
75 |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
76 |
# Avoid depending upon Character Ranges.
|
|
77 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
78 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
79 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
80 |
as_cr_digits='0123456789' |
|
81 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
82 |
||
83 |
# The user is always right.
|
|
84 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
4.1.2
by Luca Niccoli
* Adopt package. |
85 |
echo "#! /bin/sh" >conftest.sh |
86 |
echo "exit 0" >>conftest.sh |
|
87 |
chmod +x conftest.sh |
|
88 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
|
1
by James Morrison
Import upstream version 0.1.5 |
89 |
PATH_SEPARATOR=';' |
90 |
else
|
|
91 |
PATH_SEPARATOR=: |
|
92 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
93 |
rm -f conftest.sh |
1
by James Morrison
Import upstream version 0.1.5 |
94 |
fi
|
95 |
||
96 |
||
97 |
as_lineno_1=$LINENO |
|
98 |
as_lineno_2=$LINENO |
|
99 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
100 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
101 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
102 |
# Find who we are. Look in the path if we contain no path at all
|
|
103 |
# relative or not.
|
|
104 |
case $0 in |
|
105 |
*[\\/]* ) as_myself=$0 ;; |
|
106 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
107 |
for as_dir in $PATH |
|
108 |
do
|
|
109 |
IFS=$as_save_IFS |
|
110 |
test -z "$as_dir" && as_dir=. |
|
111 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
112 |
done
|
|
113 |
||
114 |
;;
|
|
115 |
esac
|
|
116 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
117 |
# in which case we are not to be found in the path.
|
|
118 |
if test "x$as_myself" = x; then |
|
119 |
as_myself=$0 |
|
120 |
fi
|
|
121 |
if test ! -f "$as_myself"; then |
|
122 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
|
123 |
{ (exit 1); exit 1; }; } |
|
124 |
fi
|
|
125 |
case $CONFIG_SHELL in |
|
126 |
'') |
|
127 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
128 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
129 |
do
|
|
130 |
IFS=$as_save_IFS |
|
131 |
test -z "$as_dir" && as_dir=. |
|
132 |
for as_base in sh bash ksh sh5; do |
|
133 |
case $as_dir in |
|
134 |
/*)
|
|
135 |
if ("$as_dir/$as_base" -c ' |
|
136 |
as_lineno_1=$LINENO
|
|
137 |
as_lineno_2=$LINENO
|
|
138 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
139 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
140 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
141 |
CONFIG_SHELL=$as_dir/$as_base |
|
142 |
export CONFIG_SHELL
|
|
143 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
144 |
fi;; |
|
145 |
esac
|
|
146 |
done
|
|
147 |
done
|
|
148 |
;;
|
|
149 |
esac
|
|
150 |
||
151 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
152 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
153 |
# line-number line before each line; the second 'sed' does the real
|
|
154 |
# work. The second script uses 'N' to pair each line-number line
|
|
155 |
# with the numbered line, and appends trailing '-' during
|
|
156 |
# substitution so that $LINENO is not a special case at line end.
|
|
157 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
158 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|
159 |
sed '=' <$as_myself | |
|
160 |
sed '
|
|
161 |
N
|
|
162 |
s,$,-,
|
|
163 |
: loop
|
|
164 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
165 |
t loop
|
|
166 |
s,-$,,
|
|
167 |
s,^['$as_cr_digits']*\n,, |
|
168 |
' >$as_me.lineno && |
|
169 |
chmod +x $as_me.lineno || |
|
170 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
171 |
{ (exit 1); exit 1; }; } |
|
172 |
||
173 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
174 |
# (the dirname of $[0] is not the place where we might find the
|
|
175 |
# original and so on. Autoconf is especially sensible to this).
|
|
176 |
. ./$as_me.lineno
|
|
177 |
# Exit status is that of the last command.
|
|
178 |
exit
|
|
179 |
}
|
|
180 |
||
181 |
||
182 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
183 |
*c*,-n*) ECHO_N= ECHO_C=' |
|
184 |
' ECHO_T=' ' ;; |
|
185 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
186 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
187 |
esac
|
|
188 |
||
189 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
190 |
as_expr=expr |
|
191 |
else
|
|
192 |
as_expr=false |
|
193 |
fi
|
|
194 |
||
195 |
rm -f conf$$ conf$$.exe conf$$.file |
|
196 |
echo >conf$$.file |
|
197 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
198 |
# We could just check for DJGPP; but this test a) works b) is more generic
|
|
199 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|
200 |
if test -f conf$$.exe; then |
|
201 |
# Don't use ln at all; we don't have any links
|
|
202 |
as_ln_s='cp -p' |
|
203 |
else
|
|
204 |
as_ln_s='ln -s' |
|
205 |
fi
|
|
206 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
207 |
as_ln_s=ln |
|
208 |
else
|
|
209 |
as_ln_s='cp -p' |
|
210 |
fi
|
|
211 |
rm -f conf$$ conf$$.exe conf$$.file |
|
212 |
||
213 |
as_executable_p="test -f" |
|
214 |
||
215 |
# Sed expression to map a string onto a valid CPP name.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
216 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
1
by James Morrison
Import upstream version 0.1.5 |
217 |
|
218 |
# Sed expression to map a string onto a valid variable name.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
219 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
1
by James Morrison
Import upstream version 0.1.5 |
220 |
|
221 |
||
222 |
# IFS
|
|
223 |
# We need space, tab and new line, in precisely that order.
|
|
224 |
as_nl=' |
|
225 |
'
|
|
226 |
IFS=" $as_nl" |
|
227 |
||
228 |
# CDPATH.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
229 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
1
by James Morrison
Import upstream version 0.1.5 |
230 |
|
231 |
||
232 |
# Name of the host.
|
|
233 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
234 |
# so uname gets run too.
|
|
235 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
236 |
||
237 |
exec 6>&1 |
|
238 |
||
239 |
#
|
|
240 |
# Initializations.
|
|
241 |
#
|
|
242 |
ac_default_prefix=/usr/local |
|
243 |
cross_compiling=no |
|
244 |
subdirs= |
|
245 |
MFLAGS= |
|
246 |
MAKEFLAGS= |
|
247 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
248 |
||
249 |
# Maximum number of lines to put in a shell here document.
|
|
250 |
# This variable seems obsolete. It should probably be removed, and
|
|
251 |
# only ac_max_sed_lines should be used.
|
|
252 |
: ${ac_max_here_lines=38} |
|
253 |
||
254 |
# Identity of this package.
|
|
255 |
PACKAGE_NAME= |
|
256 |
PACKAGE_TARNAME= |
|
257 |
PACKAGE_VERSION= |
|
258 |
PACKAGE_STRING= |
|
259 |
PACKAGE_BUGREPORT= |
|
260 |
||
261 |
ac_unique_file="configure.in" |
|
262 |
# Factoring default headers for most tests.
|
|
263 |
ac_includes_default="\ |
|
264 |
#include <stdio.h>
|
|
265 |
#if HAVE_SYS_TYPES_H
|
|
266 |
# include <sys/types.h>
|
|
267 |
#endif
|
|
268 |
#if HAVE_SYS_STAT_H
|
|
269 |
# include <sys/stat.h>
|
|
270 |
#endif
|
|
271 |
#if STDC_HEADERS
|
|
272 |
# include <stdlib.h>
|
|
273 |
# include <stddef.h>
|
|
274 |
#else
|
|
275 |
# if HAVE_STDLIB_H
|
|
276 |
# include <stdlib.h>
|
|
277 |
# endif
|
|
278 |
#endif
|
|
279 |
#if HAVE_STRING_H
|
|
280 |
# if !STDC_HEADERS && HAVE_MEMORY_H
|
|
281 |
# include <memory.h>
|
|
282 |
# endif
|
|
283 |
# include <string.h>
|
|
284 |
#endif
|
|
285 |
#if HAVE_STRINGS_H
|
|
286 |
# include <strings.h>
|
|
287 |
#endif
|
|
288 |
#if HAVE_INTTYPES_H
|
|
289 |
# include <inttypes.h>
|
|
290 |
#else
|
|
291 |
# if HAVE_STDINT_H
|
|
292 |
# include <stdint.h>
|
|
293 |
# endif
|
|
294 |
#endif
|
|
295 |
#if HAVE_UNISTD_H
|
|
296 |
# include <unistd.h>
|
|
297 |
#endif"
|
|
298 |
||
299 |
||
300 |
# Initialize some variables set by options.
|
|
301 |
ac_init_help= |
|
302 |
ac_init_version=false |
|
303 |
# The variables have the same names as the options, with
|
|
304 |
# dashes changed to underlines.
|
|
305 |
cache_file=/dev/null |
|
306 |
exec_prefix=NONE |
|
307 |
no_create= |
|
308 |
no_recursion= |
|
309 |
prefix=NONE |
|
310 |
program_prefix=NONE |
|
311 |
program_suffix=NONE |
|
312 |
program_transform_name=s,x,x, |
|
313 |
silent= |
|
314 |
site= |
|
315 |
srcdir= |
|
316 |
verbose= |
|
317 |
x_includes=NONE |
|
318 |
x_libraries=NONE |
|
319 |
||
320 |
# Installation directory options.
|
|
321 |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
322 |
# and all the variables that are supposed to be based on exec_prefix
|
|
323 |
# by default will actually change.
|
|
324 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
325 |
bindir='${exec_prefix}/bin' |
|
326 |
sbindir='${exec_prefix}/sbin' |
|
327 |
libexecdir='${exec_prefix}/libexec' |
|
328 |
datadir='${prefix}/share' |
|
329 |
sysconfdir='${prefix}/etc' |
|
330 |
sharedstatedir='${prefix}/com' |
|
331 |
localstatedir='${prefix}/var' |
|
332 |
libdir='${exec_prefix}/lib' |
|
333 |
includedir='${prefix}/include' |
|
334 |
oldincludedir='/usr/include' |
|
335 |
infodir='${prefix}/info' |
|
336 |
mandir='${prefix}/man' |
|
337 |
||
338 |
ac_prev= |
|
339 |
for ac_option
|
|
340 |
do
|
|
341 |
# If the previous option needs an argument, assign it.
|
|
342 |
if test -n "$ac_prev"; then |
|
343 |
eval "$ac_prev=\$ac_option" |
|
344 |
ac_prev= |
|
345 |
continue
|
|
346 |
fi
|
|
347 |
||
348 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
349 |
||
350 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
351 |
||
352 |
case $ac_option in |
|
353 |
||
354 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
355 |
ac_prev=bindir ;; |
|
356 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
357 |
bindir=$ac_optarg ;; |
|
358 |
||
359 |
-build | --build | --buil | --bui | --bu) |
|
360 |
ac_prev=build_alias ;; |
|
361 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
362 |
build_alias=$ac_optarg ;; |
|
363 |
||
364 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
365 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
366 |
ac_prev=cache_file ;; |
|
367 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
368 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
369 |
cache_file=$ac_optarg ;; |
|
370 |
||
371 |
--config-cache | -C) |
|
372 |
cache_file=config.cache ;; |
|
373 |
||
374 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
|
375 |
ac_prev=datadir ;; |
|
376 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
|
377 |
| --da=*) |
|
378 |
datadir=$ac_optarg ;; |
|
379 |
||
380 |
-disable-* | --disable-*) |
|
381 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
382 |
# Reject names that are not valid shell variable names.
|
|
383 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
384 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|
385 |
{ (exit 1); exit 1; }; } |
|
386 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
|
387 |
eval "enable_$ac_feature=no" ;; |
|
388 |
||
389 |
-enable-* | --enable-*) |
|
390 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
391 |
# Reject names that are not valid shell variable names.
|
|
392 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
393 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|
394 |
{ (exit 1); exit 1; }; } |
|
395 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
|
396 |
case $ac_option in |
|
397 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
398 |
*) ac_optarg=yes ;; |
|
399 |
esac
|
|
400 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
|
401 |
||
402 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
403 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
404 |
| --exec | --exe | --ex) |
|
405 |
ac_prev=exec_prefix ;; |
|
406 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
407 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
408 |
| --exec=* | --exe=* | --ex=*) |
|
409 |
exec_prefix=$ac_optarg ;; |
|
410 |
||
411 |
-gas | --gas | --ga | --g) |
|
412 |
# Obsolete; use --with-gas.
|
|
413 |
with_gas=yes ;; |
|
414 |
||
415 |
-help | --help | --hel | --he | -h) |
|
416 |
ac_init_help=long ;; |
|
417 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
418 |
ac_init_help=recursive ;; |
|
419 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
420 |
ac_init_help=short ;; |
|
421 |
||
422 |
-host | --host | --hos | --ho) |
|
423 |
ac_prev=host_alias ;; |
|
424 |
-host=* | --host=* | --hos=* | --ho=*) |
|
425 |
host_alias=$ac_optarg ;; |
|
426 |
||
427 |
-includedir | --includedir | --includedi | --included | --include \ |
|
428 |
| --includ | --inclu | --incl | --inc) |
|
429 |
ac_prev=includedir ;; |
|
430 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
431 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
432 |
includedir=$ac_optarg ;; |
|
433 |
||
434 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
435 |
ac_prev=infodir ;; |
|
436 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
437 |
infodir=$ac_optarg ;; |
|
438 |
||
439 |
-libdir | --libdir | --libdi | --libd) |
|
440 |
ac_prev=libdir ;; |
|
441 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
442 |
libdir=$ac_optarg ;; |
|
443 |
||
444 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
445 |
| --libexe | --libex | --libe) |
|
446 |
ac_prev=libexecdir ;; |
|
447 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
448 |
| --libexe=* | --libex=* | --libe=*) |
|
449 |
libexecdir=$ac_optarg ;; |
|
450 |
||
451 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
452 |
| --localstate | --localstat | --localsta | --localst \ |
|
453 |
| --locals | --local | --loca | --loc | --lo) |
|
454 |
ac_prev=localstatedir ;; |
|
455 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
456 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
|
457 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
458 |
localstatedir=$ac_optarg ;; |
|
459 |
||
460 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
461 |
ac_prev=mandir ;; |
|
462 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
463 |
mandir=$ac_optarg ;; |
|
464 |
||
465 |
-nfp | --nfp | --nf) |
|
466 |
# Obsolete; use --without-fp.
|
|
467 |
with_fp=no ;; |
|
468 |
||
469 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
470 |
| --no-cr | --no-c | -n) |
|
471 |
no_create=yes ;; |
|
472 |
||
473 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
474 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
475 |
no_recursion=yes ;; |
|
476 |
||
477 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
478 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
479 |
| --oldin | --oldi | --old | --ol | --o) |
|
480 |
ac_prev=oldincludedir ;; |
|
481 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
482 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
483 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
484 |
oldincludedir=$ac_optarg ;; |
|
485 |
||
486 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
487 |
ac_prev=prefix ;; |
|
488 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
489 |
prefix=$ac_optarg ;; |
|
490 |
||
491 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
492 |
| --program-pre | --program-pr | --program-p) |
|
493 |
ac_prev=program_prefix ;; |
|
494 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
495 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
496 |
program_prefix=$ac_optarg ;; |
|
497 |
||
498 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
499 |
| --program-suf | --program-su | --program-s) |
|
500 |
ac_prev=program_suffix ;; |
|
501 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
502 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
503 |
program_suffix=$ac_optarg ;; |
|
504 |
||
505 |
-program-transform-name | --program-transform-name \ |
|
506 |
| --program-transform-nam | --program-transform-na \ |
|
507 |
| --program-transform-n | --program-transform- \ |
|
508 |
| --program-transform | --program-transfor \ |
|
509 |
| --program-transfo | --program-transf \ |
|
510 |
| --program-trans | --program-tran \ |
|
511 |
| --progr-tra | --program-tr | --program-t) |
|
512 |
ac_prev=program_transform_name ;; |
|
513 |
-program-transform-name=* | --program-transform-name=* \ |
|
514 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
515 |
| --program-transform-n=* | --program-transform-=* \ |
|
516 |
| --program-transform=* | --program-transfor=* \ |
|
517 |
| --program-transfo=* | --program-transf=* \ |
|
518 |
| --program-trans=* | --program-tran=* \ |
|
519 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
520 |
program_transform_name=$ac_optarg ;; |
|
521 |
||
522 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
523 |
| -silent | --silent | --silen | --sile | --sil) |
|
524 |
silent=yes ;; |
|
525 |
||
526 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
527 |
ac_prev=sbindir ;; |
|
528 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
529 |
| --sbi=* | --sb=*) |
|
530 |
sbindir=$ac_optarg ;; |
|
531 |
||
532 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
533 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
534 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
535 |
| --sha | --sh) |
|
536 |
ac_prev=sharedstatedir ;; |
|
537 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
538 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
539 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
540 |
| --sha=* | --sh=*) |
|
541 |
sharedstatedir=$ac_optarg ;; |
|
542 |
||
543 |
-site | --site | --sit) |
|
544 |
ac_prev=site ;; |
|
545 |
-site=* | --site=* | --sit=*) |
|
546 |
site=$ac_optarg ;; |
|
547 |
||
548 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
549 |
ac_prev=srcdir ;; |
|
550 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
551 |
srcdir=$ac_optarg ;; |
|
552 |
||
553 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
554 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
555 |
ac_prev=sysconfdir ;; |
|
556 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
557 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
558 |
sysconfdir=$ac_optarg ;; |
|
559 |
||
560 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
561 |
ac_prev=target_alias ;; |
|
562 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
563 |
target_alias=$ac_optarg ;; |
|
564 |
||
565 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
566 |
verbose=yes ;; |
|
567 |
||
568 |
-version | --version | --versio | --versi | --vers | -V) |
|
569 |
ac_init_version=: ;; |
|
570 |
||
571 |
-with-* | --with-*) |
|
572 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
573 |
# Reject names that are not valid shell variable names.
|
|
574 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
575 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
|
576 |
{ (exit 1); exit 1; }; } |
|
577 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
578 |
case $ac_option in |
|
579 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
580 |
*) ac_optarg=yes ;; |
|
581 |
esac
|
|
582 |
eval "with_$ac_package='$ac_optarg'" ;; |
|
583 |
||
584 |
-without-* | --without-*) |
|
585 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
586 |
# Reject names that are not valid shell variable names.
|
|
587 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
588 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
|
589 |
{ (exit 1); exit 1; }; } |
|
590 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
|
591 |
eval "with_$ac_package=no" ;; |
|
592 |
||
593 |
--x)
|
|
594 |
# Obsolete; use --with-x.
|
|
595 |
with_x=yes ;; |
|
596 |
||
597 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
598 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
599 |
ac_prev=x_includes ;; |
|
600 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
601 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
602 |
x_includes=$ac_optarg ;; |
|
603 |
||
604 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
605 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
606 |
ac_prev=x_libraries ;; |
|
607 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
608 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
609 |
x_libraries=$ac_optarg ;; |
|
610 |
||
611 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
|
612 |
Try \`$0 --help' for more information." >&2 |
|
613 |
{ (exit 1); exit 1; }; } |
|
614 |
;;
|
|
615 |
||
616 |
*=*) |
|
617 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
618 |
# Reject names that are not valid shell variable names.
|
|
619 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
620 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
621 |
{ (exit 1); exit 1; }; } |
|
622 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
623 |
eval "$ac_envvar='$ac_optarg'" |
|
624 |
export $ac_envvar ;; |
|
625 |
||
626 |
*)
|
|
627 |
# FIXME: should be removed in autoconf 3.0.
|
|
628 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
629 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
630 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
631 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
632 |
;;
|
|
633 |
||
634 |
esac
|
|
635 |
done
|
|
636 |
||
637 |
if test -n "$ac_prev"; then |
|
638 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
639 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
|
640 |
{ (exit 1); exit 1; }; } |
|
641 |
fi
|
|
642 |
||
643 |
# Be sure to have absolute paths.
|
|
644 |
for ac_var in exec_prefix prefix
|
|
645 |
do
|
|
646 |
eval ac_val=$`echo $ac_var` |
|
647 |
case $ac_val in |
|
648 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
|
649 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
650 |
{ (exit 1); exit 1; }; };; |
|
651 |
esac
|
|
652 |
done
|
|
653 |
||
654 |
# Be sure to have absolute paths.
|
|
655 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
|
4.1.2
by Luca Niccoli
* Adopt package. |
656 |
localstatedir libdir includedir oldincludedir infodir mandir |
1
by James Morrison
Import upstream version 0.1.5 |
657 |
do
|
658 |
eval ac_val=$`echo $ac_var` |
|
659 |
case $ac_val in |
|
660 |
[\\/$]* | ?:[\\/]* ) ;; |
|
661 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
662 |
{ (exit 1); exit 1; }; };; |
|
663 |
esac
|
|
664 |
done
|
|
665 |
||
666 |
# There might be people who depend on the old broken behavior: `$host'
|
|
667 |
# used to hold the argument of --host etc.
|
|
668 |
# FIXME: To remove some day.
|
|
669 |
build=$build_alias |
|
670 |
host=$host_alias |
|
671 |
target=$target_alias |
|
672 |
||
673 |
# FIXME: To remove some day.
|
|
674 |
if test "x$host_alias" != x; then |
|
675 |
if test "x$build_alias" = x; then |
|
676 |
cross_compiling=maybe |
|
677 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
678 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
|
679 |
elif test "x$build_alias" != "x$host_alias"; then |
|
680 |
cross_compiling=yes |
|
681 |
fi
|
|
682 |
fi
|
|
683 |
||
684 |
ac_tool_prefix= |
|
685 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
686 |
||
687 |
test "$silent" = yes && exec 6>/dev/null |
|
688 |
||
689 |
||
690 |
# Find the source files, if location was not specified.
|
|
691 |
if test -z "$srcdir"; then |
|
692 |
ac_srcdir_defaulted=yes |
|
693 |
# Try the directory containing this script, then its parent.
|
|
694 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
|
695 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4.1.2
by Luca Niccoli
* Adopt package. |
696 |
X"$0" : 'X\(//\)[^/]' \| \ |
697 |
X"$0" : 'X\(//\)$' \| \ |
|
698 |
X"$0" : 'X\(/\)' \| \ |
|
699 |
. : '\(.\)' 2>/dev/null || |
|
1
by James Morrison
Import upstream version 0.1.5 |
700 |
echo X"$0" | |
701 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
702 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
703 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
704 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
705 |
s/.*/./; q'` |
|
706 |
srcdir=$ac_confdir |
|
707 |
if test ! -r $srcdir/$ac_unique_file; then |
|
708 |
srcdir=.. |
|
709 |
fi
|
|
710 |
else
|
|
711 |
ac_srcdir_defaulted=no |
|
712 |
fi
|
|
713 |
if test ! -r $srcdir/$ac_unique_file; then |
|
714 |
if test "$ac_srcdir_defaulted" = yes; then |
|
715 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
|
716 |
{ (exit 1); exit 1; }; } |
|
717 |
else
|
|
718 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
719 |
{ (exit 1); exit 1; }; } |
|
720 |
fi
|
|
721 |
fi
|
|
722 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
|
723 |
ac_env_build_alias_set=${build_alias+set} |
|
724 |
ac_env_build_alias_value=$build_alias |
|
725 |
ac_cv_env_build_alias_set=${build_alias+set} |
|
726 |
ac_cv_env_build_alias_value=$build_alias |
|
727 |
ac_env_host_alias_set=${host_alias+set} |
|
728 |
ac_env_host_alias_value=$host_alias |
|
729 |
ac_cv_env_host_alias_set=${host_alias+set} |
|
730 |
ac_cv_env_host_alias_value=$host_alias |
|
731 |
ac_env_target_alias_set=${target_alias+set} |
|
732 |
ac_env_target_alias_value=$target_alias |
|
733 |
ac_cv_env_target_alias_set=${target_alias+set} |
|
734 |
ac_cv_env_target_alias_value=$target_alias |
|
735 |
ac_env_CC_set=${CC+set} |
|
736 |
ac_env_CC_value=$CC |
|
737 |
ac_cv_env_CC_set=${CC+set} |
|
738 |
ac_cv_env_CC_value=$CC |
|
739 |
ac_env_CFLAGS_set=${CFLAGS+set} |
|
740 |
ac_env_CFLAGS_value=$CFLAGS |
|
741 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
742 |
ac_cv_env_CFLAGS_value=$CFLAGS |
|
743 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
744 |
ac_env_LDFLAGS_value=$LDFLAGS |
|
745 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
746 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
747 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
748 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
749 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
750 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
751 |
ac_env_CPP_set=${CPP+set} |
|
752 |
ac_env_CPP_value=$CPP |
|
753 |
ac_cv_env_CPP_set=${CPP+set} |
|
754 |
ac_cv_env_CPP_value=$CPP |
|
755 |
||
756 |
#
|
|
757 |
# Report the --help message.
|
|
758 |
#
|
|
759 |
if test "$ac_init_help" = "long"; then |
|
760 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
761 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
762 |
cat <<_ACEOF
|
|
763 |
\`configure' configures this package to adapt to many kinds of systems.
|
|
764 |
||
765 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
766 |
||
767 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
768 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
769 |
||
770 |
Defaults for the options are specified in brackets.
|
|
771 |
||
772 |
Configuration:
|
|
773 |
-h, --help display this help and exit
|
|
774 |
--help=short display options specific to this package
|
|
775 |
--help=recursive display the short help of all the included packages
|
|
776 |
-V, --version display version information and exit
|
|
777 |
-q, --quiet, --silent do not print \`checking...' messages
|
|
778 |
--cache-file=FILE cache test results in FILE [disabled]
|
|
779 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
780 |
-n, --no-create do not create output files
|
|
781 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
782 |
||
783 |
_ACEOF
|
|
784 |
||
785 |
cat <<_ACEOF
|
|
786 |
Installation directories:
|
|
787 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
788 |
[$ac_default_prefix]
|
1
by James Morrison
Import upstream version 0.1.5 |
789 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
4.1.2
by Luca Niccoli
* Adopt package. |
790 |
[PREFIX]
|
1
by James Morrison
Import upstream version 0.1.5 |
791 |
|
792 |
By default, \`make install' will install all the files in
|
|
793 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
794 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
795 |
for instance \`--prefix=\$HOME'.
|
|
796 |
||
797 |
For better control, use the options below.
|
|
798 |
||
799 |
Fine tuning of the installation directories:
|
|
800 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
801 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
802 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
803 |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
|
804 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
805 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
806 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
807 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
808 |
--includedir=DIR C header files [PREFIX/include]
|
|
809 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
810 |
--infodir=DIR info documentation [PREFIX/info]
|
|
811 |
--mandir=DIR man documentation [PREFIX/man]
|
|
812 |
_ACEOF
|
|
813 |
||
814 |
cat <<\_ACEOF
|
|
815 |
||
816 |
Program names:
|
|
817 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
818 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
819 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
820 |
_ACEOF
|
|
821 |
fi
|
|
822 |
||
823 |
if test -n "$ac_init_help"; then |
|
824 |
||
825 |
cat <<\_ACEOF
|
|
826 |
||
827 |
Optional Features:
|
|
828 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
829 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
830 |
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
831 |
(and sometimes confusing) to the casual installer
|
|
832 |
--enable-compile-warnings=no/minimum/yes/maximum/error Turn on compiler warnings.
|
|
833 |
--enable-iso-c Try to warn if code is not ISO C
|
|
834 |
||
835 |
Some influential environment variables:
|
|
836 |
CC C compiler command
|
|
837 |
CFLAGS C compiler flags
|
|
838 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
839 |
nonstandard directory <lib dir>
|
|
840 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
|
841 |
headers in a nonstandard directory <include dir>
|
|
842 |
CPP C preprocessor
|
|
843 |
||
844 |
Use these variables to override the choices made by `configure' or to help
|
|
845 |
it to find libraries and programs with nonstandard names/locations.
|
|
846 |
||
847 |
_ACEOF
|
|
848 |
fi
|
|
849 |
||
850 |
if test "$ac_init_help" = "recursive"; then |
|
851 |
# If there are subdirs, report their specific --help.
|
|
852 |
ac_popdir=`pwd` |
|
853 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
854 |
test -d $ac_dir || continue |
|
855 |
ac_builddir=. |
|
856 |
||
857 |
if test "$ac_dir" != .; then |
|
858 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
859 |
# A "../" for each directory in $ac_dir_suffix.
|
|
860 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
861 |
else
|
|
862 |
ac_dir_suffix= ac_top_builddir= |
|
863 |
fi
|
|
864 |
||
865 |
case $srcdir in |
|
866 |
.) # No --srcdir option. We are building in place. |
|
867 |
ac_srcdir=. |
|
868 |
if test -z "$ac_top_builddir"; then |
|
869 |
ac_top_srcdir=. |
|
870 |
else
|
|
871 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
872 |
fi ;; |
|
873 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
874 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
875 |
ac_top_srcdir=$srcdir ;; |
|
876 |
*) # Relative path. |
|
877 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
878 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
879 |
esac
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
880 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
881 |
# absolute.
|
|
882 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
|
883 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
|
884 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
885 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
1
by James Morrison
Import upstream version 0.1.5 |
886 |
|
887 |
cd $ac_dir |
|
888 |
# Check for guested configure; otherwise get Cygnus style configure.
|
|
889 |
if test -f $ac_srcdir/configure.gnu; then |
|
890 |
echo
|
|
891 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
|
892 |
elif test -f $ac_srcdir/configure; then |
|
893 |
echo
|
|
894 |
$SHELL $ac_srcdir/configure --help=recursive |
|
895 |
elif test -f $ac_srcdir/configure.ac || |
|
4.1.2
by Luca Niccoli
* Adopt package. |
896 |
test -f $ac_srcdir/configure.in; then |
1
by James Morrison
Import upstream version 0.1.5 |
897 |
echo
|
898 |
$ac_configure --help
|
|
899 |
else
|
|
900 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
901 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
902 |
cd $ac_popdir |
1
by James Morrison
Import upstream version 0.1.5 |
903 |
done
|
904 |
fi
|
|
905 |
||
906 |
test -n "$ac_init_help" && exit 0 |
|
907 |
if $ac_init_version; then |
|
908 |
cat <<\_ACEOF
|
|
909 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
910 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
911 |
Free Software Foundation, Inc.
|
|
1
by James Morrison
Import upstream version 0.1.5 |
912 |
This configure script is free software; the Free Software Foundation
|
913 |
gives unlimited permission to copy, distribute and modify it.
|
|
914 |
_ACEOF
|
|
915 |
exit 0 |
|
916 |
fi
|
|
917 |
exec 5>config.log |
|
918 |
cat >&5 <<_ACEOF |
|
919 |
This file contains any messages produced by compilers while
|
|
920 |
running configure, to aid debugging if configure makes a mistake.
|
|
921 |
||
922 |
It was created by $as_me, which was
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
923 |
generated by GNU Autoconf 2.53. Invocation command line was
|
1
by James Morrison
Import upstream version 0.1.5 |
924 |
|
925 |
$ $0 $@
|
|
926 |
||
927 |
_ACEOF
|
|
928 |
{
|
|
929 |
cat <<_ASUNAME
|
|
930 |
## --------- ##
|
|
931 |
## Platform. ##
|
|
932 |
## --------- ##
|
|
933 |
||
934 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
935 |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
936 |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
937 |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
938 |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
939 |
||
940 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
941 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
942 |
||
943 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
944 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
945 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
946 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
947 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|
948 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
949 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
950 |
||
951 |
_ASUNAME
|
|
952 |
||
953 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
954 |
for as_dir in $PATH |
|
955 |
do
|
|
956 |
IFS=$as_save_IFS |
|
957 |
test -z "$as_dir" && as_dir=. |
|
958 |
echo "PATH: $as_dir" |
|
959 |
done
|
|
960 |
||
961 |
} >&5 |
|
962 |
||
963 |
cat >&5 <<_ACEOF |
|
964 |
||
965 |
||
966 |
## ----------- ##
|
|
967 |
## Core tests. ##
|
|
968 |
## ----------- ##
|
|
969 |
||
970 |
_ACEOF
|
|
971 |
||
972 |
||
973 |
# Keep a trace of the command line.
|
|
974 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
975 |
# Also quote any args containing shell meta-characters.
|
|
976 |
ac_configure_args= |
|
977 |
ac_sep= |
|
4.1.2
by Luca Niccoli
* Adopt package. |
978 |
for ac_arg
|
1
by James Morrison
Import upstream version 0.1.5 |
979 |
do
|
4.1.2
by Luca Niccoli
* Adopt package. |
980 |
case $ac_arg in |
981 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
982 |
| --no-cr | --no-c | -n ) continue ;; |
|
983 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
984 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
985 |
continue ;; |
|
986 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
987 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
988 |
esac
|
|
989 |
case " $ac_configure_args " in |
|
990 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
991 |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
992 |
ac_sep=" " ;; |
|
993 |
esac
|
|
994 |
# Get rid of the leading space.
|
|
1
by James Morrison
Import upstream version 0.1.5 |
995 |
done
|
996 |
||
997 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
998 |
# config.log. We remove comments because anyway the quotes in there
|
|
999 |
# would cause problems or look ugly.
|
|
1000 |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
|
1001 |
# such as our DU 5.0 friend, will then `close' the trap.
|
|
1002 |
trap 'exit_status=$? |
|
1003 |
# Save into config.log some information that might help in debugging.
|
|
1004 |
{
|
|
1005 |
echo
|
|
1006 |
cat <<\_ASBOX
|
|
1007 |
## ---------------- ##
|
|
1008 |
## Cache variables. ##
|
|
1009 |
## ---------------- ##
|
|
1010 |
_ASBOX
|
|
1011 |
echo
|
|
1012 |
# The following way of writing the cache mishandles newlines in values,
|
|
1013 |
{
|
|
1014 |
(set) 2>&1 |
|
|
1015 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
1016 |
*ac_space=\ *)
|
|
1017 |
sed -n \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1018 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1019 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
|
1
by James Morrison
Import upstream version 0.1.5 |
1020 |
;;
|
1021 |
*)
|
|
1022 |
sed -n \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1023 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1
by James Morrison
Import upstream version 0.1.5 |
1024 |
;;
|
1025 |
esac;
|
|
1026 |
}
|
|
1027 |
echo
|
|
1028 |
if test -s confdefs.h; then
|
|
1029 |
cat <<\_ASBOX
|
|
1030 |
## ----------- ##
|
|
1031 |
## confdefs.h. ##
|
|
1032 |
## ----------- ##
|
|
1033 |
_ASBOX
|
|
1034 |
echo
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1035 |
sed "/^$/d" confdefs.h
|
1
by James Morrison
Import upstream version 0.1.5 |
1036 |
echo
|
1037 |
fi
|
|
1038 |
test "$ac_signal" != 0 &&
|
|
1039 |
echo "$as_me: caught signal $ac_signal"
|
|
1040 |
echo "$as_me: exit $exit_status"
|
|
1041 |
} >&5
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1042 |
rm -f core core.* *.core &&
|
1
by James Morrison
Import upstream version 0.1.5 |
1043 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
1044 |
exit $exit_status
|
|
1045 |
' 0 |
|
1046 |
for ac_signal in 1 2 13 15; do |
|
1047 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
1048 |
done
|
|
1049 |
ac_signal=0 |
|
1050 |
||
1051 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
1052 |
rm -rf conftest* confdefs.h |
|
1053 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|
1054 |
echo >confdefs.h
|
|
1055 |
||
1056 |
# Predefined preprocessor variables.
|
|
1057 |
||
1058 |
cat >>confdefs.h <<_ACEOF
|
|
1059 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
|
1060 |
_ACEOF
|
|
1061 |
||
1062 |
||
1063 |
cat >>confdefs.h <<_ACEOF
|
|
1064 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
1065 |
_ACEOF
|
|
1066 |
||
1067 |
||
1068 |
cat >>confdefs.h <<_ACEOF
|
|
1069 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
1070 |
_ACEOF
|
|
1071 |
||
1072 |
||
1073 |
cat >>confdefs.h <<_ACEOF
|
|
1074 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
|
1075 |
_ACEOF
|
|
1076 |
||
1077 |
||
1078 |
cat >>confdefs.h <<_ACEOF
|
|
1079 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
1080 |
_ACEOF
|
|
1081 |
||
1082 |
||
1083 |
# Let the site file select an alternate cache file if it wants to.
|
|
1084 |
# Prefer explicitly selected file to automatically selected ones.
|
|
1085 |
if test -z "$CONFIG_SITE"; then |
|
1086 |
if test "x$prefix" != xNONE; then |
|
1087 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
|
1088 |
else
|
|
1089 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
|
1090 |
fi
|
|
1091 |
fi
|
|
1092 |
for ac_site_file in $CONFIG_SITE; do |
|
1093 |
if test -r "$ac_site_file"; then |
|
1094 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|
1095 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1096 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
1097 |
. "$ac_site_file" |
|
1098 |
fi
|
|
1099 |
done
|
|
1100 |
||
1101 |
if test -r "$cache_file"; then |
|
1102 |
# Some versions of bash will fail to source /dev/null (special
|
|
1103 |
# files actually), so we avoid doing that.
|
|
1104 |
if test -f "$cache_file"; then |
|
1105 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|
1106 |
echo "$as_me: loading cache $cache_file" >&6;} |
|
1107 |
case $cache_file in |
|
1108 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
|
1109 |
*) . ./$cache_file;; |
|
1110 |
esac
|
|
1111 |
fi
|
|
1112 |
else
|
|
1113 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|
1114 |
echo "$as_me: creating cache $cache_file" >&6;} |
|
1115 |
>$cache_file
|
|
1116 |
fi
|
|
1117 |
||
1118 |
# Check that the precious variables saved in the cache have kept the same
|
|
1119 |
# value.
|
|
1120 |
ac_cache_corrupted=false |
|
1121 |
for ac_var in `(set) 2>&1 | |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1122 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1
by James Morrison
Import upstream version 0.1.5 |
1123 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1124 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1125 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
|
1126 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
|
1127 |
case $ac_old_set,$ac_new_set in |
|
1128 |
set,)
|
|
1129 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
1130 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1131 |
ac_cache_corrupted=: ;; |
|
1132 |
,set)
|
|
1133 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|
1134 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1135 |
ac_cache_corrupted=: ;; |
|
1136 |
,);; |
|
1137 |
*)
|
|
1138 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1139 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
1140 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
4.1.2
by Luca Niccoli
* Adopt package. |
1141 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
1142 |
echo "$as_me: former value: $ac_old_val" >&2;} |
4.1.2
by Luca Niccoli
* Adopt package. |
1143 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
1144 |
echo "$as_me: current value: $ac_new_val" >&2;} |
4.1.2
by Luca Niccoli
* Adopt package. |
1145 |
ac_cache_corrupted=: |
1
by James Morrison
Import upstream version 0.1.5 |
1146 |
fi;; |
1147 |
esac
|
|
1148 |
# Pass precious variables to config.status.
|
|
1149 |
if test "$ac_new_set" = set; then |
|
1150 |
case $ac_new_val in |
|
1151 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
1152 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1153 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
1154 |
esac
|
|
1155 |
case " $ac_configure_args " in |
|
1156 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1157 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
1158 |
esac
|
|
1159 |
fi
|
|
1160 |
done
|
|
1161 |
if $ac_cache_corrupted; then |
|
1162 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
1163 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
1164 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
1165 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1166 |
{ (exit 1); exit 1; }; } |
|
1167 |
fi
|
|
1168 |
||
1169 |
ac_ext=c |
|
1170 |
ac_cpp='$CPP $CPPFLAGS' |
|
1171 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
1172 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
1173 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1174 |
||
1175 |
||
1176 |
||
1177 |
||
1178 |
||
1179 |
||
1180 |
||
1181 |
||
1182 |
||
1183 |
||
1184 |
||
1185 |
||
1186 |
||
1187 |
||
1188 |
||
1189 |
||
1190 |
||
1191 |
||
1192 |
am__api_version="1.4" |
|
1193 |
ac_aux_dir= |
|
1194 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
1195 |
if test -f $ac_dir/install-sh; then |
|
1196 |
ac_aux_dir=$ac_dir |
|
1197 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
1198 |
break
|
|
1199 |
elif test -f $ac_dir/install.sh; then |
|
1200 |
ac_aux_dir=$ac_dir |
|
1201 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
1202 |
break
|
|
1203 |
elif test -f $ac_dir/shtool; then |
|
1204 |
ac_aux_dir=$ac_dir |
|
1205 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
1206 |
break
|
|
1207 |
fi
|
|
1208 |
done
|
|
1209 |
if test -z "$ac_aux_dir"; then |
|
1210 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
1211 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
|
1212 |
{ (exit 1); exit 1; }; } |
|
1213 |
fi
|
|
1214 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
1215 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
1216 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
1217 |
||
1218 |
# Find a good install program. We prefer a C program (faster),
|
|
1219 |
# so one script is as good as another. But avoid the broken or
|
|
1220 |
# incompatible versions:
|
|
1221 |
# SysV /etc/install, /usr/sbin/install
|
|
1222 |
# SunOS /usr/etc/install
|
|
1223 |
# IRIX /sbin/install
|
|
1224 |
# AIX /bin/install
|
|
1225 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
1226 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
1227 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
1228 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
1229 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
1230 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
1231 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
1232 |
if test -z "$INSTALL"; then |
|
1233 |
if test "${ac_cv_path_install+set}" = set; then |
|
1234 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1235 |
else
|
|
1236 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1237 |
for as_dir in $PATH |
|
1238 |
do
|
|
1239 |
IFS=$as_save_IFS |
|
1240 |
test -z "$as_dir" && as_dir=. |
|
1241 |
# Account for people who put trailing slashes in PATH elements.
|
|
1242 |
case $as_dir/ in |
|
1243 |
./ | .// | /cC/* | \ |
|
1244 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
1245 |
/usr/ucb/* ) ;; |
|
1246 |
*)
|
|
1247 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1248 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
1249 |
# by default.
|
|
1250 |
for ac_prog in ginstall scoinst install; do |
|
1251 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1252 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1253 |
if test $ac_prog = install && |
|
1254 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1255 |
# AIX install. It has an incompatible calling convention.
|
|
1256 |
: |
|
1257 |
elif test $ac_prog = install && |
|
1258 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1259 |
# program-specific install script used by HP pwplus--don't use.
|
|
1260 |
: |
|
1261 |
else
|
|
1262 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
1263 |
break 3 |
|
1264 |
fi
|
|
1265 |
fi
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1266 |
done
|
1267 |
done
|
|
1268 |
;;
|
|
1269 |
esac
|
|
1270 |
done
|
|
1271 |
||
1272 |
||
1273 |
fi
|
|
1274 |
if test "${ac_cv_path_install+set}" = set; then |
|
1275 |
INSTALL=$ac_cv_path_install |
|
1276 |
else
|
|
1277 |
# As a last resort, use the slow shell script. We don't cache a
|
|
1278 |
# path for INSTALL within a source directory, because that will
|
|
1279 |
# break other packages using the cache if that directory is
|
|
1280 |
# removed, or if the path is relative.
|
|
1281 |
INSTALL=$ac_install_sh |
|
1282 |
fi
|
|
1283 |
fi
|
|
1284 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
1285 |
echo "${ECHO_T}$INSTALL" >&6 |
|
1286 |
||
1287 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
1288 |
# It thinks the first close brace ends the variable substitution.
|
|
1289 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
1290 |
||
1291 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
1292 |
||
1293 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
1294 |
||
1295 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|
1296 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
|
1297 |
# Just in case
|
|
1298 |
sleep 1
|
|
1299 |
echo timestamp > conftestfile
|
|
1300 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
1301 |
# arguments. Must try -L first in case configure is actually a
|
|
1302 |
# symlink; some systems play weird games with the mod time of symlinks
|
|
1303 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
1304 |
# directory).
|
|
1305 |
if ( |
|
1306 |
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
|
1307 |
if test "$*" = "X"; then |
|
1308 |
# -L didn't work.
|
|
1309 |
set X `ls -t $srcdir/configure conftestfile` |
|
1310 |
fi
|
|
1311 |
if test "$*" != "X $srcdir/configure conftestfile" \ |
|
1312 |
&& test "$*" != "X conftestfile $srcdir/configure"; then |
|
1313 |
||
1314 |
# If neither matched, then we have a broken ls. This can happen
|
|
1315 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
1316 |
# broken ls alias from the environment. This has actually
|
|
1317 |
# happened. Such a system could not be considered "sane".
|
|
1318 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
1319 |
alias in your environment" >&5 |
|
1320 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|
1321 |
alias in your environment" >&2;} |
|
1322 |
{ (exit 1); exit 1; }; } |
|
1323 |
fi
|
|
1324 |
||
1325 |
test "$2" = conftestfile |
|
1326 |
)
|
|
1327 |
then
|
|
1328 |
# Ok.
|
|
1329 |
: |
|
1330 |
else
|
|
1331 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
1332 |
Check your system clock" >&5 |
|
1333 |
echo "$as_me: error: newly created file is older than distributed files! |
|
1334 |
Check your system clock" >&2;} |
|
1335 |
{ (exit 1); exit 1; }; } |
|
1336 |
fi
|
|
1337 |
rm -f conftest* |
|
1338 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
1339 |
echo "${ECHO_T}yes" >&6 |
|
1340 |
test "$program_prefix" != NONE && |
|
1341 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
1342 |
# Use a double $ so make ignores it.
|
|
1343 |
test "$program_suffix" != NONE && |
|
1344 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
1345 |
# Double any \ or $. echo might interpret backslashes.
|
|
1346 |
# By default was `s,x,x', remove it if useless.
|
|
1347 |
cat <<\_ACEOF >conftest.sed
|
|
1348 |
s/[\\$]/&&/g;s/;s,x,x,$//
|
|
1349 |
_ACEOF
|
|
1350 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
1351 |
rm conftest.sed |
|
1352 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
1353 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1354 |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
|
1355 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
|
1
by James Morrison
Import upstream version 0.1.5 |
1356 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1357 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1358 |
else
|
|
1359 |
cat >conftest.make <<\_ACEOF
|
|
1360 |
all:
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1361 |
@echo 'ac_maketemp="${MAKE}"'
|
1
by James Morrison
Import upstream version 0.1.5 |
1362 |
_ACEOF
|
1363 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
1364 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
1365 |
if test -n "$ac_maketemp"; then |
|
1366 |
eval ac_cv_prog_make_${ac_make}_set=yes |
|
1367 |
else
|
|
1368 |
eval ac_cv_prog_make_${ac_make}_set=no |
|
1369 |
fi
|
|
1370 |
rm -f conftest.make |
|
1371 |
fi
|
|
1372 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
1373 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
1374 |
echo "${ECHO_T}yes" >&6 |
|
1375 |
SET_MAKE= |
|
1376 |
else
|
|
1377 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1378 |
echo "${ECHO_T}no" >&6 |
|
1379 |
SET_MAKE="MAKE=${MAKE-make}" |
|
1380 |
fi
|
|
1381 |
||
1382 |
||
1383 |
PACKAGE=grcm |
|
1384 |
||
1385 |
VERSION=0.1.5 |
|
1386 |
||
1387 |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
|
1388 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
1389 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
1390 |
{ (exit 1); exit 1; }; } |
|
1391 |
fi
|
|
1392 |
||
1393 |
cat >>confdefs.h <<_ACEOF
|
|
1394 |
#define PACKAGE "$PACKAGE"
|
|
1395 |
_ACEOF
|
|
1396 |
||
1397 |
||
1398 |
cat >>confdefs.h <<_ACEOF
|
|
1399 |
#define VERSION "$VERSION"
|
|
1400 |
_ACEOF
|
|
1401 |
||
1402 |
||
1403 |
||
1404 |
missing_dir=`cd $ac_aux_dir && pwd` |
|
1405 |
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 |
|
1406 |
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6 |
|
1407 |
# Run test in a subshell; some versions of sh will print an error if
|
|
1408 |
# an executable is not found, even if stderr is redirected.
|
|
1409 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
1410 |
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
|
1411 |
ACLOCAL=aclocal-${am__api_version} |
|
1412 |
echo "$as_me:$LINENO: result: found" >&5 |
|
1413 |
echo "${ECHO_T}found" >&6 |
|
1414 |
else
|
|
1415 |
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" |
|
1416 |
echo "$as_me:$LINENO: result: missing" >&5 |
|
1417 |
echo "${ECHO_T}missing" >&6 |
|
1418 |
fi
|
|
1419 |
||
1420 |
echo "$as_me:$LINENO: checking for working autoconf" >&5 |
|
1421 |
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 |
|
1422 |
# Run test in a subshell; some versions of sh will print an error if
|
|
1423 |
# an executable is not found, even if stderr is redirected.
|
|
1424 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
1425 |
if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
|
1426 |
AUTOCONF=autoconf |
|
1427 |
echo "$as_me:$LINENO: result: found" >&5 |
|
1428 |
echo "${ECHO_T}found" >&6 |
|
1429 |
else
|
|
1430 |
AUTOCONF="$missing_dir/missing autoconf" |
|
1431 |
echo "$as_me:$LINENO: result: missing" >&5 |
|
1432 |
echo "${ECHO_T}missing" >&6 |
|
1433 |
fi
|
|
1434 |
||
1435 |
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 |
|
1436 |
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6 |
|
1437 |
# Run test in a subshell; some versions of sh will print an error if
|
|
1438 |
# an executable is not found, even if stderr is redirected.
|
|
1439 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
1440 |
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
|
1441 |
AUTOMAKE=automake-${am__api_version} |
|
1442 |
echo "$as_me:$LINENO: result: found" >&5 |
|
1443 |
echo "${ECHO_T}found" >&6 |
|
1444 |
else
|
|
1445 |
AUTOMAKE="$missing_dir/missing automake-${am__api_version}" |
|
1446 |
echo "$as_me:$LINENO: result: missing" >&5 |
|
1447 |
echo "${ECHO_T}missing" >&6 |
|
1448 |
fi
|
|
1449 |
||
1450 |
echo "$as_me:$LINENO: checking for working autoheader" >&5 |
|
1451 |
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 |
|
1452 |
# Run test in a subshell; some versions of sh will print an error if
|
|
1453 |
# an executable is not found, even if stderr is redirected.
|
|
1454 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
1455 |
if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
|
1456 |
AUTOHEADER=autoheader |
|
1457 |
echo "$as_me:$LINENO: result: found" >&5 |
|
1458 |
echo "${ECHO_T}found" >&6 |
|
1459 |
else
|
|
1460 |
AUTOHEADER="$missing_dir/missing autoheader" |
|
1461 |
echo "$as_me:$LINENO: result: missing" >&5 |
|
1462 |
echo "${ECHO_T}missing" >&6 |
|
1463 |
fi
|
|
1464 |
||
1465 |
echo "$as_me:$LINENO: checking for working makeinfo" >&5 |
|
1466 |
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 |
|
1467 |
# Run test in a subshell; some versions of sh will print an error if
|
|
1468 |
# an executable is not found, even if stderr is redirected.
|
|
1469 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
1470 |
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
|
1471 |
MAKEINFO=makeinfo |
|
1472 |
echo "$as_me:$LINENO: result: found" >&5 |
|
1473 |
echo "${ECHO_T}found" >&6 |
|
1474 |
else
|
|
1475 |
MAKEINFO="$missing_dir/missing makeinfo" |
|
1476 |
echo "$as_me:$LINENO: result: missing" >&5 |
|
1477 |
echo "${ECHO_T}missing" >&6 |
|
1478 |
fi
|
|
1479 |
||
1480 |
||
1481 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
1482 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
|
1483 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|
1484 |
if test "${enable_maintainer_mode+set}" = set; then |
|
1485 |
enableval="$enable_maintainer_mode" |
|
1486 |
USE_MAINTAINER_MODE=$enableval |
|
1487 |
else
|
|
1488 |
USE_MAINTAINER_MODE=no |
|
1489 |
fi; |
|
1490 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
|
1491 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
|
1492 |
||
1493 |
||
1494 |
if test $USE_MAINTAINER_MODE = yes; then |
|
1495 |
MAINTAINER_MODE_TRUE= |
|
1496 |
MAINTAINER_MODE_FALSE='#' |
|
1497 |
else
|
|
1498 |
MAINTAINER_MODE_TRUE='#' |
|
1499 |
MAINTAINER_MODE_FALSE= |
|
1500 |
fi
|
|
1501 |
MAINT=$MAINTAINER_MODE_TRUE |
|
1502 |
||
1503 |
||
1504 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
1505 |
ac_config_headers="$ac_config_headers config.h" |
1
by James Morrison
Import upstream version 0.1.5 |
1506 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1507 |
ac_config_commands="$ac_config_commands default-1" |
1
by James Morrison
Import upstream version 0.1.5 |
1508 |
|
1509 |
||
1510 |
ac_ext=c |
|
1511 |
ac_cpp='$CPP $CPPFLAGS' |
|
1512 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
1513 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
1514 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1515 |
if test -n "$ac_tool_prefix"; then |
|
1516 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
1517 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1518 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1519 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1520 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
1521 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1522 |
else
|
|
1523 |
if test -n "$CC"; then |
|
1524 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1525 |
else
|
|
1526 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1527 |
for as_dir in $PATH |
|
1528 |
do
|
|
1529 |
IFS=$as_save_IFS |
|
1530 |
test -z "$as_dir" && as_dir=. |
|
1531 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1532 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1533 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
1534 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1535 |
break 2 |
|
1536 |
fi
|
|
1537 |
done
|
|
1538 |
done
|
|
1539 |
||
1540 |
fi
|
|
1541 |
fi
|
|
1542 |
CC=$ac_cv_prog_CC |
|
1543 |
if test -n "$CC"; then |
|
1544 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
1545 |
echo "${ECHO_T}$CC" >&6 |
|
1546 |
else
|
|
1547 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1548 |
echo "${ECHO_T}no" >&6 |
|
1549 |
fi
|
|
1550 |
||
1551 |
fi
|
|
1552 |
if test -z "$ac_cv_prog_CC"; then |
|
1553 |
ac_ct_CC=$CC |
|
1554 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
1555 |
set dummy gcc; ac_word=$2 |
|
1556 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1557 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1558 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
1559 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1560 |
else
|
|
1561 |
if test -n "$ac_ct_CC"; then |
|
1562 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
1563 |
else
|
|
1564 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1565 |
for as_dir in $PATH |
|
1566 |
do
|
|
1567 |
IFS=$as_save_IFS |
|
1568 |
test -z "$as_dir" && as_dir=. |
|
1569 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1570 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1571 |
ac_cv_prog_ac_ct_CC="gcc" |
|
1572 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1573 |
break 2 |
|
1574 |
fi
|
|
1575 |
done
|
|
1576 |
done
|
|
1577 |
||
1578 |
fi
|
|
1579 |
fi
|
|
1580 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
1581 |
if test -n "$ac_ct_CC"; then |
|
1582 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
1583 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
1584 |
else
|
|
1585 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1586 |
echo "${ECHO_T}no" >&6 |
|
1587 |
fi
|
|
1588 |
||
1589 |
CC=$ac_ct_CC |
|
1590 |
else
|
|
1591 |
CC="$ac_cv_prog_CC" |
|
1592 |
fi
|
|
1593 |
||
1594 |
if test -z "$CC"; then |
|
1595 |
if test -n "$ac_tool_prefix"; then |
|
1596 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
1597 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
1598 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1599 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1600 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
1601 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1602 |
else
|
|
1603 |
if test -n "$CC"; then |
|
1604 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1605 |
else
|
|
1606 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1607 |
for as_dir in $PATH |
|
1608 |
do
|
|
1609 |
IFS=$as_save_IFS |
|
1610 |
test -z "$as_dir" && as_dir=. |
|
1611 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1612 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1613 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
1614 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1615 |
break 2 |
|
1616 |
fi
|
|
1617 |
done
|
|
1618 |
done
|
|
1619 |
||
1620 |
fi
|
|
1621 |
fi
|
|
1622 |
CC=$ac_cv_prog_CC |
|
1623 |
if test -n "$CC"; then |
|
1624 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
1625 |
echo "${ECHO_T}$CC" >&6 |
|
1626 |
else
|
|
1627 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1628 |
echo "${ECHO_T}no" >&6 |
|
1629 |
fi
|
|
1630 |
||
1631 |
fi
|
|
1632 |
if test -z "$ac_cv_prog_CC"; then |
|
1633 |
ac_ct_CC=$CC |
|
1634 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
1635 |
set dummy cc; ac_word=$2 |
|
1636 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1637 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1638 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
1639 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1640 |
else
|
|
1641 |
if test -n "$ac_ct_CC"; then |
|
1642 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
1643 |
else
|
|
1644 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1645 |
for as_dir in $PATH |
|
1646 |
do
|
|
1647 |
IFS=$as_save_IFS |
|
1648 |
test -z "$as_dir" && as_dir=. |
|
1649 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1650 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1651 |
ac_cv_prog_ac_ct_CC="cc" |
|
1652 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1653 |
break 2 |
|
1654 |
fi
|
|
1655 |
done
|
|
1656 |
done
|
|
1657 |
||
1658 |
fi
|
|
1659 |
fi
|
|
1660 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
1661 |
if test -n "$ac_ct_CC"; then |
|
1662 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
1663 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
1664 |
else
|
|
1665 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1666 |
echo "${ECHO_T}no" >&6 |
|
1667 |
fi
|
|
1668 |
||
1669 |
CC=$ac_ct_CC |
|
1670 |
else
|
|
1671 |
CC="$ac_cv_prog_CC" |
|
1672 |
fi
|
|
1673 |
||
1674 |
fi
|
|
1675 |
if test -z "$CC"; then |
|
1676 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
1677 |
set dummy cc; ac_word=$2 |
|
1678 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1679 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1680 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
1681 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1682 |
else
|
|
1683 |
if test -n "$CC"; then |
|
1684 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1685 |
else
|
|
1686 |
ac_prog_rejected=no |
|
1687 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1688 |
for as_dir in $PATH |
|
1689 |
do
|
|
1690 |
IFS=$as_save_IFS |
|
1691 |
test -z "$as_dir" && as_dir=. |
|
1692 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1693 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1694 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
1695 |
ac_prog_rejected=yes |
|
1696 |
continue
|
|
1697 |
fi
|
|
1698 |
ac_cv_prog_CC="cc" |
|
1699 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1700 |
break 2 |
|
1701 |
fi
|
|
1702 |
done
|
|
1703 |
done
|
|
1704 |
||
1705 |
if test $ac_prog_rejected = yes; then |
|
1706 |
# We found a bogon in the path, so make sure we never use it.
|
|
1707 |
set dummy $ac_cv_prog_CC |
|
1708 |
shift
|
|
1709 |
if test $# != 0; then |
|
1710 |
# We chose a different compiler from the bogus one.
|
|
1711 |
# However, it has the same basename, so the bogon will be chosen
|
|
1712 |
# first if we set CC to just the basename; use the full file name.
|
|
1713 |
shift
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1714 |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
1715 |
shift
|
|
1716 |
ac_cv_prog_CC="$@" |
|
1
by James Morrison
Import upstream version 0.1.5 |
1717 |
fi
|
1718 |
fi
|
|
1719 |
fi
|
|
1720 |
fi
|
|
1721 |
CC=$ac_cv_prog_CC |
|
1722 |
if test -n "$CC"; then |
|
1723 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
1724 |
echo "${ECHO_T}$CC" >&6 |
|
1725 |
else
|
|
1726 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1727 |
echo "${ECHO_T}no" >&6 |
|
1728 |
fi
|
|
1729 |
||
1730 |
fi
|
|
1731 |
if test -z "$CC"; then |
|
1732 |
if test -n "$ac_tool_prefix"; then |
|
1733 |
for ac_prog in cl
|
|
1734 |
do
|
|
1735 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
1736 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1737 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1738 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1739 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
1740 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1741 |
else
|
|
1742 |
if test -n "$CC"; then |
|
1743 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1744 |
else
|
|
1745 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1746 |
for as_dir in $PATH |
|
1747 |
do
|
|
1748 |
IFS=$as_save_IFS |
|
1749 |
test -z "$as_dir" && as_dir=. |
|
1750 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1751 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1752 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
1753 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1754 |
break 2 |
|
1755 |
fi
|
|
1756 |
done
|
|
1757 |
done
|
|
1758 |
||
1759 |
fi
|
|
1760 |
fi
|
|
1761 |
CC=$ac_cv_prog_CC |
|
1762 |
if test -n "$CC"; then |
|
1763 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
1764 |
echo "${ECHO_T}$CC" >&6 |
|
1765 |
else
|
|
1766 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1767 |
echo "${ECHO_T}no" >&6 |
|
1768 |
fi
|
|
1769 |
||
1770 |
test -n "$CC" && break |
|
1771 |
done
|
|
1772 |
fi
|
|
1773 |
if test -z "$CC"; then |
|
1774 |
ac_ct_CC=$CC |
|
1775 |
for ac_prog in cl
|
|
1776 |
do
|
|
1777 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
1778 |
set dummy $ac_prog; ac_word=$2 |
|
1779 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1780 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1781 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
1782 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1783 |
else
|
|
1784 |
if test -n "$ac_ct_CC"; then |
|
1785 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
1786 |
else
|
|
1787 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1788 |
for as_dir in $PATH |
|
1789 |
do
|
|
1790 |
IFS=$as_save_IFS |
|
1791 |
test -z "$as_dir" && as_dir=. |
|
1792 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1793 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1794 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
1795 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1796 |
break 2 |
|
1797 |
fi
|
|
1798 |
done
|
|
1799 |
done
|
|
1800 |
||
1801 |
fi
|
|
1802 |
fi
|
|
1803 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
1804 |
if test -n "$ac_ct_CC"; then |
|
1805 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
1806 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
1807 |
else
|
|
1808 |
echo "$as_me:$LINENO: result: no" >&5 |
|
1809 |
echo "${ECHO_T}no" >&6 |
|
1810 |
fi
|
|
1811 |
||
1812 |
test -n "$ac_ct_CC" && break |
|
1813 |
done
|
|
1814 |
||
1815 |
CC=$ac_ct_CC |
|
1816 |
fi
|
|
1817 |
||
1818 |
fi
|
|
1819 |
||
1820 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
1821 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
1822 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
1823 |
{ (exit 1); exit 1; }; } |
1824 |
||
1825 |
# Provide some information about the compiler.
|
|
1826 |
echo "$as_me:$LINENO:" \ |
|
1827 |
"checking for C compiler version" >&5 |
|
1828 |
ac_compiler=`set X $ac_compile; echo $2` |
|
1829 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
1830 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
1831 |
ac_status=$? |
|
1832 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1833 |
(exit $ac_status); } |
|
1834 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
1835 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
1836 |
ac_status=$? |
|
1837 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1838 |
(exit $ac_status); } |
|
1839 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
1840 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
1841 |
ac_status=$? |
|
1842 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1843 |
(exit $ac_status); } |
|
1844 |
||
1845 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1846 |
#line $LINENO "configure"
|
1847 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1848 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1849 |
#ifdef F77_DUMMY_MAIN
|
1850 |
# ifdef __cplusplus
|
|
1851 |
extern "C"
|
|
1852 |
# endif
|
|
1853 |
int F77_DUMMY_MAIN() { return 1; }
|
|
1854 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1855 |
int
|
1856 |
main ()
|
|
1857 |
{
|
|
1858 |
||
1859 |
;
|
|
1860 |
return 0;
|
|
1861 |
}
|
|
1862 |
_ACEOF
|
|
1863 |
ac_clean_files_save=$ac_clean_files |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1864 |
ac_clean_files="$ac_clean_files a.out a.exe" |
1
by James Morrison
Import upstream version 0.1.5 |
1865 |
# Try to create an executable without -o first, disregard a.out.
|
1866 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
1867 |
# of exeext.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1868 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
1869 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
|
1
by James Morrison
Import upstream version 0.1.5 |
1870 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1871 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
|
1872 |
(eval $ac_link_default) 2>&5 |
|
1873 |
ac_status=$? |
|
1874 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1875 |
(exit $ac_status); }; then |
|
1876 |
# Find the output, starting from the most likely. This scheme is
|
|
1877 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
|
1878 |
# resort.
|
|
1879 |
||
1880 |
# Be careful to initialize this variable, since it used to be cached.
|
|
1881 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
|
1882 |
ac_cv_exeext= |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1883 |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
1884 |
ls a.out conftest 2>/dev/null; |
|
1885 |
ls a.* conftest.* 2>/dev/null`; do |
|
1
by James Morrison
Import upstream version 0.1.5 |
1886 |
case $ac_file in |
4.1.2
by Luca Niccoli
* Adopt package. |
1887 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
1888 |
a.out ) # We found the default executable, but exeext='' is most |
|
1889 |
# certainly right.
|
|
1890 |
break;;
|
|
1891 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
1892 |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
|
|
1893 |
export ac_cv_exeext
|
|
1894 |
break;;
|
|
1895 |
* ) break;; |
|
1
by James Morrison
Import upstream version 0.1.5 |
1896 |
esac
|
1897 |
done
|
|
1898 |
else
|
|
1899 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1900 |
cat conftest.$ac_ext >&5 |
1901 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
|
1902 |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
1903 |
{ (exit 77); exit 77; }; } |
1904 |
fi
|
|
1905 |
||
1906 |
ac_exeext=$ac_cv_exeext |
|
1907 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
1908 |
echo "${ECHO_T}$ac_file" >&6 |
|
1909 |
||
1910 |
# Check the compiler produces executables we can run. If not, either
|
|
1911 |
# the compiler is broken, or we cross compile.
|
|
1912 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
1913 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
|
1914 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
1915 |
# If not cross compiling, check that we can run a simple program.
|
|
1916 |
if test "$cross_compiling" != yes; then |
|
1917 |
if { ac_try='./$ac_file' |
|
1918 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
1919 |
(eval $ac_try) 2>&5 |
|
1920 |
ac_status=$? |
|
1921 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1922 |
(exit $ac_status); }; }; then |
|
1923 |
cross_compiling=no |
|
1924 |
else
|
|
1925 |
if test "$cross_compiling" = maybe; then |
|
1926 |
cross_compiling=yes |
|
1927 |
else
|
|
1928 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1929 |
If you meant to cross compile, use \`--host'." >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
1930 |
echo "$as_me: error: cannot run C compiled programs. |
4.1.2
by Luca Niccoli
* Adopt package. |
1931 |
If you meant to cross compile, use \`--host'." >&2;} |
1
by James Morrison
Import upstream version 0.1.5 |
1932 |
{ (exit 1); exit 1; }; } |
1933 |
fi
|
|
1934 |
fi
|
|
1935 |
fi
|
|
1936 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
1937 |
echo "${ECHO_T}yes" >&6 |
|
1938 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
1939 |
rm -f a.out a.exe conftest$ac_cv_exeext
|
1
by James Morrison
Import upstream version 0.1.5 |
1940 |
ac_clean_files=$ac_clean_files_save |
1941 |
# Check the compiler produces executables we can run. If not, either
|
|
1942 |
# the compiler is broken, or we cross compile.
|
|
1943 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
1944 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
|
1945 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
1946 |
echo "${ECHO_T}$cross_compiling" >&6 |
|
1947 |
||
1948 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|
1949 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
|
1950 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
1951 |
(eval $ac_link) 2>&5 |
|
1952 |
ac_status=$? |
|
1953 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1954 |
(exit $ac_status); }; then |
|
1955 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
|
1956 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
1957 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
1958 |
# `rm'.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1959 |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
1
by James Morrison
Import upstream version 0.1.5 |
1960 |
case $ac_file in |
4.1.2
by Luca Niccoli
* Adopt package. |
1961 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1
by James Morrison
Import upstream version 0.1.5 |
1962 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4.1.2
by Luca Niccoli
* Adopt package. |
1963 |
export ac_cv_exeext
|
1964 |
break;;
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1965 |
* ) break;; |
1966 |
esac
|
|
1967 |
done
|
|
1968 |
else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
1969 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
1970 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
1971 |
{ (exit 1); exit 1; }; } |
1972 |
fi
|
|
1973 |
||
1974 |
rm -f conftest$ac_cv_exeext
|
|
1975 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|
1976 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
1977 |
||
1978 |
rm -f conftest.$ac_ext
|
|
1979 |
EXEEXT=$ac_cv_exeext |
|
1980 |
ac_exeext=$EXEEXT |
|
1981 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
1982 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
|
1983 |
if test "${ac_cv_objext+set}" = set; then |
|
1984 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1985 |
else
|
|
1986 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1987 |
#line $LINENO "configure"
|
1988 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1989 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
1990 |
#ifdef F77_DUMMY_MAIN
|
1991 |
# ifdef __cplusplus
|
|
1992 |
extern "C"
|
|
1993 |
# endif
|
|
1994 |
int F77_DUMMY_MAIN() { return 1; }
|
|
1995 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
1996 |
int
|
1997 |
main ()
|
|
1998 |
{
|
|
1999 |
||
2000 |
;
|
|
2001 |
return 0;
|
|
2002 |
}
|
|
2003 |
_ACEOF
|
|
2004 |
rm -f conftest.o conftest.obj |
|
2005 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2006 |
(eval $ac_compile) 2>&5 |
|
2007 |
ac_status=$? |
|
2008 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2009 |
(exit $ac_status); }; then |
|
2010 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
|
2011 |
case $ac_file in |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2012 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1
by James Morrison
Import upstream version 0.1.5 |
2013 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2014 |
break;;
|
|
2015 |
esac
|
|
2016 |
done
|
|
2017 |
else
|
|
2018 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2019 |
cat conftest.$ac_ext >&5 |
2020 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
|
2021 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
2022 |
{ (exit 1); exit 1; }; } |
2023 |
fi
|
|
2024 |
||
2025 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
2026 |
fi
|
|
2027 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|
2028 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
|
2029 |
OBJEXT=$ac_cv_objext |
|
2030 |
ac_objext=$OBJEXT |
|
2031 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
2032 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
|
2033 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
2034 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2035 |
else
|
|
2036 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2037 |
#line $LINENO "configure"
|
2038 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2039 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2040 |
#ifdef F77_DUMMY_MAIN
|
2041 |
# ifdef __cplusplus
|
|
2042 |
extern "C"
|
|
2043 |
# endif
|
|
2044 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2045 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2046 |
int
|
2047 |
main ()
|
|
2048 |
{
|
|
2049 |
#ifndef __GNUC__
|
|
2050 |
choke me
|
|
2051 |
#endif
|
|
2052 |
||
2053 |
;
|
|
2054 |
return 0;
|
|
2055 |
}
|
|
2056 |
_ACEOF
|
|
2057 |
rm -f conftest.$ac_objext
|
|
2058 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2059 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2060 |
ac_status=$? |
2061 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2062 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2063 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2064 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2065 |
(eval $ac_try) 2>&5 |
|
2066 |
ac_status=$? |
|
2067 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2068 |
(exit $ac_status); }; }; then |
|
2069 |
ac_compiler_gnu=yes |
|
2070 |
else
|
|
2071 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2072 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2073 |
ac_compiler_gnu=no |
2074 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2075 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2076 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2077 |
||
2078 |
fi
|
|
2079 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
2080 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
|
2081 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
|
2082 |
ac_test_CFLAGS=${CFLAGS+set} |
|
2083 |
ac_save_CFLAGS=$CFLAGS |
|
2084 |
CFLAGS="-g" |
|
2085 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
2086 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
|
2087 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
|
2088 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2089 |
else
|
|
2090 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2091 |
#line $LINENO "configure"
|
2092 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2093 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2094 |
#ifdef F77_DUMMY_MAIN
|
2095 |
# ifdef __cplusplus
|
|
2096 |
extern "C"
|
|
2097 |
# endif
|
|
2098 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2099 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2100 |
int
|
2101 |
main ()
|
|
2102 |
{
|
|
2103 |
||
2104 |
;
|
|
2105 |
return 0;
|
|
2106 |
}
|
|
2107 |
_ACEOF
|
|
2108 |
rm -f conftest.$ac_objext
|
|
2109 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2110 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2111 |
ac_status=$? |
2112 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2113 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2114 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2115 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2116 |
(eval $ac_try) 2>&5 |
|
2117 |
ac_status=$? |
|
2118 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2119 |
(exit $ac_status); }; }; then |
|
2120 |
ac_cv_prog_cc_g=yes |
|
2121 |
else
|
|
2122 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2123 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2124 |
ac_cv_prog_cc_g=no |
2125 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2126 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2127 |
fi
|
2128 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
2129 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
|
2130 |
if test "$ac_test_CFLAGS" = set; then |
|
2131 |
CFLAGS=$ac_save_CFLAGS |
|
2132 |
elif test $ac_cv_prog_cc_g = yes; then |
|
2133 |
if test "$GCC" = yes; then |
|
2134 |
CFLAGS="-g -O2" |
|
2135 |
else
|
|
2136 |
CFLAGS="-g" |
|
2137 |
fi
|
|
2138 |
else
|
|
2139 |
if test "$GCC" = yes; then |
|
2140 |
CFLAGS="-O2" |
|
2141 |
else
|
|
2142 |
CFLAGS= |
|
2143 |
fi
|
|
2144 |
fi
|
|
2145 |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
|
2146 |
# in C++ we need to declare it. In case someone uses the same compiler
|
|
2147 |
# for both compiling C and C++ we need to have the C++ compiler decide
|
|
2148 |
# the declaration of exit, since it's the most demanding environment.
|
|
2149 |
cat >conftest.$ac_ext <<_ACEOF |
|
2150 |
#ifndef __cplusplus
|
|
2151 |
choke me
|
|
2152 |
#endif
|
|
2153 |
_ACEOF
|
|
2154 |
rm -f conftest.$ac_objext
|
|
2155 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2156 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2157 |
ac_status=$? |
2158 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2159 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2160 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2161 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2162 |
(eval $ac_try) 2>&5 |
|
2163 |
ac_status=$? |
|
2164 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2165 |
(exit $ac_status); }; }; then |
|
2166 |
for ac_declaration in \ |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2167 |
''\ |
2168 |
'#include <stdlib.h>' \ |
|
1
by James Morrison
Import upstream version 0.1.5 |
2169 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2170 |
'extern "C" void std::exit (int); using std::exit;' \ |
|
2171 |
'extern "C" void exit (int) throw ();' \ |
|
2172 |
'extern "C" void exit (int);' \ |
|
2173 |
'void exit (int);'
|
|
2174 |
do
|
|
2175 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2176 |
#line $LINENO "configure"
|
2177 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2178 |
#include <stdlib.h>
|
4.1.2
by Luca Niccoli
* Adopt package. |
2179 |
$ac_declaration
|
2180 |
#ifdef F77_DUMMY_MAIN
|
|
2181 |
# ifdef __cplusplus
|
|
2182 |
extern "C"
|
|
2183 |
# endif
|
|
2184 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2185 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2186 |
int
|
2187 |
main ()
|
|
2188 |
{
|
|
2189 |
exit (42);
|
|
2190 |
;
|
|
2191 |
return 0;
|
|
2192 |
}
|
|
2193 |
_ACEOF
|
|
2194 |
rm -f conftest.$ac_objext
|
|
2195 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2196 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2197 |
ac_status=$? |
2198 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2199 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2200 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2201 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2202 |
(eval $ac_try) 2>&5 |
|
2203 |
ac_status=$? |
|
2204 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2205 |
(exit $ac_status); }; }; then |
|
2206 |
: |
|
2207 |
else
|
|
2208 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2209 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2210 |
continue
|
2211 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2212 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2213 |
cat >conftest.$ac_ext <<_ACEOF |
4.1.2
by Luca Niccoli
* Adopt package. |
2214 |
#line $LINENO "configure"
|
2215 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2216 |
$ac_declaration
|
4.1.2
by Luca Niccoli
* Adopt package. |
2217 |
#ifdef F77_DUMMY_MAIN
|
2218 |
# ifdef __cplusplus
|
|
2219 |
extern "C"
|
|
2220 |
# endif
|
|
2221 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2222 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2223 |
int
|
2224 |
main ()
|
|
2225 |
{
|
|
2226 |
exit (42);
|
|
2227 |
;
|
|
2228 |
return 0;
|
|
2229 |
}
|
|
2230 |
_ACEOF
|
|
2231 |
rm -f conftest.$ac_objext
|
|
2232 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2233 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2234 |
ac_status=$? |
2235 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2236 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2237 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2238 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2239 |
(eval $ac_try) 2>&5 |
|
2240 |
ac_status=$? |
|
2241 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2242 |
(exit $ac_status); }; }; then |
|
2243 |
break
|
|
2244 |
else
|
|
2245 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2246 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2247 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
2248 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2249 |
done
|
2250 |
rm -f conftest* |
|
2251 |
if test -n "$ac_declaration"; then |
|
2252 |
echo '#ifdef __cplusplus' >>confdefs.h |
|
2253 |
echo $ac_declaration >>confdefs.h |
|
2254 |
echo '#endif' >>confdefs.h |
|
2255 |
fi
|
|
2256 |
||
2257 |
else
|
|
2258 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2259 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2260 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
2261 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2262 |
ac_ext=c |
2263 |
ac_cpp='$CPP $CPPFLAGS' |
|
2264 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2265 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2266 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2267 |
||
2268 |
||
2269 |
||
2270 |
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
|
2271 |
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
|
2272 |
if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
|
2273 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2274 |
else
|
|
2275 |
ac_check_lib_save_LIBS=$LIBS |
|
2276 |
LIBS="-lcposix $LIBS" |
|
2277 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2278 |
#line $LINENO "configure"
|
2279 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2280 |
|
2281 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
2282 |
#ifdef __cplusplus
|
|
2283 |
extern "C"
|
|
2284 |
#endif
|
|
2285 |
/* We use char because int might match the return type of a gcc2
|
|
2286 |
builtin and then its argument prototype would still apply. */
|
|
2287 |
char strerror ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2288 |
#ifdef F77_DUMMY_MAIN
|
2289 |
# ifdef __cplusplus
|
|
2290 |
extern "C"
|
|
2291 |
# endif
|
|
2292 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2293 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2294 |
int
|
2295 |
main ()
|
|
2296 |
{
|
|
2297 |
strerror ();
|
|
2298 |
;
|
|
2299 |
return 0;
|
|
2300 |
}
|
|
2301 |
_ACEOF
|
|
2302 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
2303 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2304 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2305 |
ac_status=$? |
2306 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2307 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2308 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
2309 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2310 |
(eval $ac_try) 2>&5 |
|
2311 |
ac_status=$? |
|
2312 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2313 |
(exit $ac_status); }; }; then |
|
2314 |
ac_cv_lib_cposix_strerror=yes |
|
2315 |
else
|
|
2316 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2317 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2318 |
ac_cv_lib_cposix_strerror=no |
2319 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2320 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2321 |
LIBS=$ac_check_lib_save_LIBS |
2322 |
fi
|
|
2323 |
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
|
2324 |
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
|
2325 |
if test $ac_cv_lib_cposix_strerror = yes; then |
|
2326 |
LIBS="$LIBS -lcposix" |
|
2327 |
fi
|
|
2328 |
||
2329 |
||
2330 |
||
2331 |
ac_ext=c |
|
2332 |
ac_cpp='$CPP $CPPFLAGS' |
|
2333 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2334 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2335 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2336 |
if test -n "$ac_tool_prefix"; then |
|
2337 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
2338 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2339 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2340 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2341 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
2342 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2343 |
else
|
|
2344 |
if test -n "$CC"; then |
|
2345 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2346 |
else
|
|
2347 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2348 |
for as_dir in $PATH |
|
2349 |
do
|
|
2350 |
IFS=$as_save_IFS |
|
2351 |
test -z "$as_dir" && as_dir=. |
|
2352 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2353 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2354 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2355 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2356 |
break 2 |
|
2357 |
fi
|
|
2358 |
done
|
|
2359 |
done
|
|
2360 |
||
2361 |
fi
|
|
2362 |
fi
|
|
2363 |
CC=$ac_cv_prog_CC |
|
2364 |
if test -n "$CC"; then |
|
2365 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
2366 |
echo "${ECHO_T}$CC" >&6 |
|
2367 |
else
|
|
2368 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2369 |
echo "${ECHO_T}no" >&6 |
|
2370 |
fi
|
|
2371 |
||
2372 |
fi
|
|
2373 |
if test -z "$ac_cv_prog_CC"; then |
|
2374 |
ac_ct_CC=$CC |
|
2375 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
2376 |
set dummy gcc; ac_word=$2 |
|
2377 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2378 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2379 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
2380 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2381 |
else
|
|
2382 |
if test -n "$ac_ct_CC"; then |
|
2383 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2384 |
else
|
|
2385 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2386 |
for as_dir in $PATH |
|
2387 |
do
|
|
2388 |
IFS=$as_save_IFS |
|
2389 |
test -z "$as_dir" && as_dir=. |
|
2390 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2391 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2392 |
ac_cv_prog_ac_ct_CC="gcc" |
|
2393 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2394 |
break 2 |
|
2395 |
fi
|
|
2396 |
done
|
|
2397 |
done
|
|
2398 |
||
2399 |
fi
|
|
2400 |
fi
|
|
2401 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2402 |
if test -n "$ac_ct_CC"; then |
|
2403 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
2404 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
2405 |
else
|
|
2406 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2407 |
echo "${ECHO_T}no" >&6 |
|
2408 |
fi
|
|
2409 |
||
2410 |
CC=$ac_ct_CC |
|
2411 |
else
|
|
2412 |
CC="$ac_cv_prog_CC" |
|
2413 |
fi
|
|
2414 |
||
2415 |
if test -z "$CC"; then |
|
2416 |
if test -n "$ac_tool_prefix"; then |
|
2417 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2418 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2419 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2420 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2421 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
2422 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2423 |
else
|
|
2424 |
if test -n "$CC"; then |
|
2425 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2426 |
else
|
|
2427 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2428 |
for as_dir in $PATH |
|
2429 |
do
|
|
2430 |
IFS=$as_save_IFS |
|
2431 |
test -z "$as_dir" && as_dir=. |
|
2432 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2433 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2434 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
2435 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2436 |
break 2 |
|
2437 |
fi
|
|
2438 |
done
|
|
2439 |
done
|
|
2440 |
||
2441 |
fi
|
|
2442 |
fi
|
|
2443 |
CC=$ac_cv_prog_CC |
|
2444 |
if test -n "$CC"; then |
|
2445 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
2446 |
echo "${ECHO_T}$CC" >&6 |
|
2447 |
else
|
|
2448 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2449 |
echo "${ECHO_T}no" >&6 |
|
2450 |
fi
|
|
2451 |
||
2452 |
fi
|
|
2453 |
if test -z "$ac_cv_prog_CC"; then |
|
2454 |
ac_ct_CC=$CC |
|
2455 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
2456 |
set dummy cc; ac_word=$2 |
|
2457 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2458 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2459 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
2460 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2461 |
else
|
|
2462 |
if test -n "$ac_ct_CC"; then |
|
2463 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2464 |
else
|
|
2465 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2466 |
for as_dir in $PATH |
|
2467 |
do
|
|
2468 |
IFS=$as_save_IFS |
|
2469 |
test -z "$as_dir" && as_dir=. |
|
2470 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2471 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2472 |
ac_cv_prog_ac_ct_CC="cc" |
|
2473 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2474 |
break 2 |
|
2475 |
fi
|
|
2476 |
done
|
|
2477 |
done
|
|
2478 |
||
2479 |
fi
|
|
2480 |
fi
|
|
2481 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2482 |
if test -n "$ac_ct_CC"; then |
|
2483 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
2484 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
2485 |
else
|
|
2486 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2487 |
echo "${ECHO_T}no" >&6 |
|
2488 |
fi
|
|
2489 |
||
2490 |
CC=$ac_ct_CC |
|
2491 |
else
|
|
2492 |
CC="$ac_cv_prog_CC" |
|
2493 |
fi
|
|
2494 |
||
2495 |
fi
|
|
2496 |
if test -z "$CC"; then |
|
2497 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
2498 |
set dummy cc; ac_word=$2 |
|
2499 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2500 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2501 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
2502 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2503 |
else
|
|
2504 |
if test -n "$CC"; then |
|
2505 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2506 |
else
|
|
2507 |
ac_prog_rejected=no |
|
2508 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2509 |
for as_dir in $PATH |
|
2510 |
do
|
|
2511 |
IFS=$as_save_IFS |
|
2512 |
test -z "$as_dir" && as_dir=. |
|
2513 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2514 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2515 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
2516 |
ac_prog_rejected=yes |
|
2517 |
continue
|
|
2518 |
fi
|
|
2519 |
ac_cv_prog_CC="cc" |
|
2520 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2521 |
break 2 |
|
2522 |
fi
|
|
2523 |
done
|
|
2524 |
done
|
|
2525 |
||
2526 |
if test $ac_prog_rejected = yes; then |
|
2527 |
# We found a bogon in the path, so make sure we never use it.
|
|
2528 |
set dummy $ac_cv_prog_CC |
|
2529 |
shift
|
|
2530 |
if test $# != 0; then |
|
2531 |
# We chose a different compiler from the bogus one.
|
|
2532 |
# However, it has the same basename, so the bogon will be chosen
|
|
2533 |
# first if we set CC to just the basename; use the full file name.
|
|
2534 |
shift
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2535 |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
2536 |
shift
|
|
2537 |
ac_cv_prog_CC="$@" |
|
1
by James Morrison
Import upstream version 0.1.5 |
2538 |
fi
|
2539 |
fi
|
|
2540 |
fi
|
|
2541 |
fi
|
|
2542 |
CC=$ac_cv_prog_CC |
|
2543 |
if test -n "$CC"; then |
|
2544 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
2545 |
echo "${ECHO_T}$CC" >&6 |
|
2546 |
else
|
|
2547 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2548 |
echo "${ECHO_T}no" >&6 |
|
2549 |
fi
|
|
2550 |
||
2551 |
fi
|
|
2552 |
if test -z "$CC"; then |
|
2553 |
if test -n "$ac_tool_prefix"; then |
|
2554 |
for ac_prog in cl
|
|
2555 |
do
|
|
2556 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
2557 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2558 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2559 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2560 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
2561 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2562 |
else
|
|
2563 |
if test -n "$CC"; then |
|
2564 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2565 |
else
|
|
2566 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2567 |
for as_dir in $PATH |
|
2568 |
do
|
|
2569 |
IFS=$as_save_IFS |
|
2570 |
test -z "$as_dir" && as_dir=. |
|
2571 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2572 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2573 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
2574 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2575 |
break 2 |
|
2576 |
fi
|
|
2577 |
done
|
|
2578 |
done
|
|
2579 |
||
2580 |
fi
|
|
2581 |
fi
|
|
2582 |
CC=$ac_cv_prog_CC |
|
2583 |
if test -n "$CC"; then |
|
2584 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
2585 |
echo "${ECHO_T}$CC" >&6 |
|
2586 |
else
|
|
2587 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2588 |
echo "${ECHO_T}no" >&6 |
|
2589 |
fi
|
|
2590 |
||
2591 |
test -n "$CC" && break |
|
2592 |
done
|
|
2593 |
fi
|
|
2594 |
if test -z "$CC"; then |
|
2595 |
ac_ct_CC=$CC |
|
2596 |
for ac_prog in cl
|
|
2597 |
do
|
|
2598 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2599 |
set dummy $ac_prog; ac_word=$2 |
|
2600 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2601 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2602 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
2603 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2604 |
else
|
|
2605 |
if test -n "$ac_ct_CC"; then |
|
2606 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2607 |
else
|
|
2608 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2609 |
for as_dir in $PATH |
|
2610 |
do
|
|
2611 |
IFS=$as_save_IFS |
|
2612 |
test -z "$as_dir" && as_dir=. |
|
2613 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2614 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2615 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
2616 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2617 |
break 2 |
|
2618 |
fi
|
|
2619 |
done
|
|
2620 |
done
|
|
2621 |
||
2622 |
fi
|
|
2623 |
fi
|
|
2624 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2625 |
if test -n "$ac_ct_CC"; then |
|
2626 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
2627 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
2628 |
else
|
|
2629 |
echo "$as_me:$LINENO: result: no" >&5 |
|
2630 |
echo "${ECHO_T}no" >&6 |
|
2631 |
fi
|
|
2632 |
||
2633 |
test -n "$ac_ct_CC" && break |
|
2634 |
done
|
|
2635 |
||
2636 |
CC=$ac_ct_CC |
|
2637 |
fi
|
|
2638 |
||
2639 |
fi
|
|
2640 |
||
2641 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
2642 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
2643 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
2644 |
{ (exit 1); exit 1; }; } |
2645 |
||
2646 |
# Provide some information about the compiler.
|
|
2647 |
echo "$as_me:$LINENO:" \ |
|
2648 |
"checking for C compiler version" >&5 |
|
2649 |
ac_compiler=`set X $ac_compile; echo $2` |
|
2650 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
2651 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
2652 |
ac_status=$? |
|
2653 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2654 |
(exit $ac_status); } |
|
2655 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
2656 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
2657 |
ac_status=$? |
|
2658 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2659 |
(exit $ac_status); } |
|
2660 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
2661 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
2662 |
ac_status=$? |
|
2663 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2664 |
(exit $ac_status); } |
|
2665 |
||
2666 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
2667 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
|
2668 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
2669 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2670 |
else
|
|
2671 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2672 |
#line $LINENO "configure"
|
2673 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2674 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2675 |
#ifdef F77_DUMMY_MAIN
|
2676 |
# ifdef __cplusplus
|
|
2677 |
extern "C"
|
|
2678 |
# endif
|
|
2679 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2680 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2681 |
int
|
2682 |
main ()
|
|
2683 |
{
|
|
2684 |
#ifndef __GNUC__
|
|
2685 |
choke me
|
|
2686 |
#endif
|
|
2687 |
||
2688 |
;
|
|
2689 |
return 0;
|
|
2690 |
}
|
|
2691 |
_ACEOF
|
|
2692 |
rm -f conftest.$ac_objext
|
|
2693 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2694 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2695 |
ac_status=$? |
2696 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2697 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2698 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2699 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2700 |
(eval $ac_try) 2>&5 |
|
2701 |
ac_status=$? |
|
2702 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2703 |
(exit $ac_status); }; }; then |
|
2704 |
ac_compiler_gnu=yes |
|
2705 |
else
|
|
2706 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2707 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2708 |
ac_compiler_gnu=no |
2709 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2710 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2711 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2712 |
||
2713 |
fi
|
|
2714 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
2715 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
|
2716 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
|
2717 |
ac_test_CFLAGS=${CFLAGS+set} |
|
2718 |
ac_save_CFLAGS=$CFLAGS |
|
2719 |
CFLAGS="-g" |
|
2720 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
2721 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
|
2722 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
|
2723 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2724 |
else
|
|
2725 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2726 |
#line $LINENO "configure"
|
2727 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2728 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2729 |
#ifdef F77_DUMMY_MAIN
|
2730 |
# ifdef __cplusplus
|
|
2731 |
extern "C"
|
|
2732 |
# endif
|
|
2733 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2734 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2735 |
int
|
2736 |
main ()
|
|
2737 |
{
|
|
2738 |
||
2739 |
;
|
|
2740 |
return 0;
|
|
2741 |
}
|
|
2742 |
_ACEOF
|
|
2743 |
rm -f conftest.$ac_objext
|
|
2744 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2745 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2746 |
ac_status=$? |
2747 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2748 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2749 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2750 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2751 |
(eval $ac_try) 2>&5 |
|
2752 |
ac_status=$? |
|
2753 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2754 |
(exit $ac_status); }; }; then |
|
2755 |
ac_cv_prog_cc_g=yes |
|
2756 |
else
|
|
2757 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2758 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2759 |
ac_cv_prog_cc_g=no |
2760 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2761 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2762 |
fi
|
2763 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
2764 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
|
2765 |
if test "$ac_test_CFLAGS" = set; then |
|
2766 |
CFLAGS=$ac_save_CFLAGS |
|
2767 |
elif test $ac_cv_prog_cc_g = yes; then |
|
2768 |
if test "$GCC" = yes; then |
|
2769 |
CFLAGS="-g -O2" |
|
2770 |
else
|
|
2771 |
CFLAGS="-g" |
|
2772 |
fi
|
|
2773 |
else
|
|
2774 |
if test "$GCC" = yes; then |
|
2775 |
CFLAGS="-O2" |
|
2776 |
else
|
|
2777 |
CFLAGS= |
|
2778 |
fi
|
|
2779 |
fi
|
|
2780 |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
|
2781 |
# in C++ we need to declare it. In case someone uses the same compiler
|
|
2782 |
# for both compiling C and C++ we need to have the C++ compiler decide
|
|
2783 |
# the declaration of exit, since it's the most demanding environment.
|
|
2784 |
cat >conftest.$ac_ext <<_ACEOF |
|
2785 |
#ifndef __cplusplus
|
|
2786 |
choke me
|
|
2787 |
#endif
|
|
2788 |
_ACEOF
|
|
2789 |
rm -f conftest.$ac_objext
|
|
2790 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2791 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2792 |
ac_status=$? |
2793 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2794 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2795 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2796 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2797 |
(eval $ac_try) 2>&5 |
|
2798 |
ac_status=$? |
|
2799 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2800 |
(exit $ac_status); }; }; then |
|
2801 |
for ac_declaration in \ |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2802 |
''\ |
2803 |
'#include <stdlib.h>' \ |
|
1
by James Morrison
Import upstream version 0.1.5 |
2804 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2805 |
'extern "C" void std::exit (int); using std::exit;' \ |
|
2806 |
'extern "C" void exit (int) throw ();' \ |
|
2807 |
'extern "C" void exit (int);' \ |
|
2808 |
'void exit (int);'
|
|
2809 |
do
|
|
2810 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2811 |
#line $LINENO "configure"
|
2812 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2813 |
#include <stdlib.h>
|
4.1.2
by Luca Niccoli
* Adopt package. |
2814 |
$ac_declaration
|
2815 |
#ifdef F77_DUMMY_MAIN
|
|
2816 |
# ifdef __cplusplus
|
|
2817 |
extern "C"
|
|
2818 |
# endif
|
|
2819 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2820 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2821 |
int
|
2822 |
main ()
|
|
2823 |
{
|
|
2824 |
exit (42);
|
|
2825 |
;
|
|
2826 |
return 0;
|
|
2827 |
}
|
|
2828 |
_ACEOF
|
|
2829 |
rm -f conftest.$ac_objext
|
|
2830 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2831 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2832 |
ac_status=$? |
2833 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2834 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2835 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2836 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2837 |
(eval $ac_try) 2>&5 |
|
2838 |
ac_status=$? |
|
2839 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2840 |
(exit $ac_status); }; }; then |
|
2841 |
: |
|
2842 |
else
|
|
2843 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2844 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2845 |
continue
|
2846 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
2847 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2848 |
cat >conftest.$ac_ext <<_ACEOF |
4.1.2
by Luca Niccoli
* Adopt package. |
2849 |
#line $LINENO "configure"
|
2850 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2851 |
$ac_declaration
|
4.1.2
by Luca Niccoli
* Adopt package. |
2852 |
#ifdef F77_DUMMY_MAIN
|
2853 |
# ifdef __cplusplus
|
|
2854 |
extern "C"
|
|
2855 |
# endif
|
|
2856 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2857 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2858 |
int
|
2859 |
main ()
|
|
2860 |
{
|
|
2861 |
exit (42);
|
|
2862 |
;
|
|
2863 |
return 0;
|
|
2864 |
}
|
|
2865 |
_ACEOF
|
|
2866 |
rm -f conftest.$ac_objext
|
|
2867 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2868 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2869 |
ac_status=$? |
2870 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2871 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2872 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2873 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2874 |
(eval $ac_try) 2>&5 |
|
2875 |
ac_status=$? |
|
2876 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2877 |
(exit $ac_status); }; }; then |
|
2878 |
break
|
|
2879 |
else
|
|
2880 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2881 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2882 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
2883 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2884 |
done
|
2885 |
rm -f conftest* |
|
2886 |
if test -n "$ac_declaration"; then |
|
2887 |
echo '#ifdef __cplusplus' >>confdefs.h |
|
2888 |
echo $ac_declaration >>confdefs.h |
|
2889 |
echo '#endif' >>confdefs.h |
|
2890 |
fi
|
|
2891 |
||
2892 |
else
|
|
2893 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2894 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2895 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
2896 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2897 |
ac_ext=c |
2898 |
ac_cpp='$CPP $CPPFLAGS' |
|
2899 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2900 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2901 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2902 |
||
2903 |
||
2904 |
||
2905 |
||
2906 |
echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 |
|
2907 |
echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 |
|
2908 |
if test "${am_cv_prog_cc_stdc+set}" = set; then |
|
2909 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2910 |
else
|
|
2911 |
am_cv_prog_cc_stdc=no |
|
2912 |
ac_save_CC="$CC" |
|
2913 |
# Don't try gcc -ansi; that turns off useful extensions and
|
|
2914 |
# breaks some systems' header files.
|
|
2915 |
# AIX -qlanglvl=ansi
|
|
2916 |
# Ultrix and OSF/1 -std1
|
|
2917 |
# HP-UX -Aa -D_HPUX_SOURCE
|
|
2918 |
# SVR4 -Xc -D__EXTENSIONS__
|
|
2919 |
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
2920 |
do
|
|
2921 |
CC="$ac_save_CC $ac_arg" |
|
2922 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2923 |
#line $LINENO "configure"
|
2924 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2925 |
#include <stdarg.h>
|
2926 |
#include <stdio.h>
|
|
2927 |
#include <sys/types.h>
|
|
2928 |
#include <sys/stat.h>
|
|
2929 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
2930 |
struct buf { int x; };
|
|
2931 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2932 |
static char *e (p, i)
|
|
2933 |
char **p;
|
|
2934 |
int i;
|
|
2935 |
{
|
|
2936 |
return p[i];
|
|
2937 |
}
|
|
2938 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
2939 |
{
|
|
2940 |
char *s;
|
|
2941 |
va_list v;
|
|
2942 |
va_start (v,p);
|
|
2943 |
s = g (p, va_arg (v,int));
|
|
2944 |
va_end (v);
|
|
2945 |
return s;
|
|
2946 |
}
|
|
2947 |
int test (int i, double x);
|
|
2948 |
struct s1 {int (*f) (int a);};
|
|
2949 |
struct s2 {int (*f) (double a);};
|
|
2950 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
2951 |
int argc;
|
|
2952 |
char **argv;
|
|
2953 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
2954 |
#ifdef F77_DUMMY_MAIN
|
2955 |
# ifdef __cplusplus
|
|
2956 |
extern "C"
|
|
2957 |
# endif
|
|
2958 |
int F77_DUMMY_MAIN() { return 1; }
|
|
2959 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
2960 |
int
|
2961 |
main ()
|
|
2962 |
{
|
|
2963 |
||
2964 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
2965 |
||
2966 |
;
|
|
2967 |
return 0;
|
|
2968 |
}
|
|
2969 |
_ACEOF
|
|
2970 |
rm -f conftest.$ac_objext
|
|
2971 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2972 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2973 |
ac_status=$? |
2974 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2975 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2976 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
2977 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2978 |
(eval $ac_try) 2>&5 |
|
2979 |
ac_status=$? |
|
2980 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2981 |
(exit $ac_status); }; }; then |
|
2982 |
am_cv_prog_cc_stdc="$ac_arg"; break |
|
2983 |
else
|
|
2984 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
2985 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
2986 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
2987 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
2988 |
done
|
2989 |
CC="$ac_save_CC" |
|
2990 |
||
2991 |
fi
|
|
2992 |
||
2993 |
if test -z "$am_cv_prog_cc_stdc"; then |
|
2994 |
echo "$as_me:$LINENO: result: none needed" >&5 |
|
2995 |
echo "${ECHO_T}none needed" >&6 |
|
2996 |
else
|
|
2997 |
echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5 |
|
2998 |
echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 |
|
2999 |
fi
|
|
3000 |
case "x$am_cv_prog_cc_stdc" in |
|
3001 |
x|xno) ;; |
|
3002 |
*) CC="$CC $am_cv_prog_cc_stdc" ;; |
|
3003 |
esac
|
|
3004 |
||
3005 |
ac_ext=c |
|
3006 |
ac_cpp='$CPP $CPPFLAGS' |
|
3007 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3008 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3009 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3010 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|
3011 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
|
3012 |
# On Suns, sometimes $CPP names a directory.
|
|
3013 |
if test -n "$CPP" && test -d "$CPP"; then |
|
3014 |
CPP= |
|
3015 |
fi
|
|
3016 |
if test -z "$CPP"; then |
|
3017 |
if test "${ac_cv_prog_CPP+set}" = set; then |
|
3018 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3019 |
else
|
|
3020 |
# Double quotes because CPP needs to be expanded
|
|
3021 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
3022 |
do
|
|
3023 |
ac_preproc_ok=false |
|
3024 |
for ac_c_preproc_warn_flag in '' yes |
|
3025 |
do
|
|
3026 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3027 |
# with a fresh cross-compiler works.
|
|
3028 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3029 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
3030 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3031 |
#line $LINENO "configure"
|
3032 |
#include "confdefs.h"
|
|
3033 |
#include <assert.h>
|
|
3034 |
Syntax error
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3035 |
_ACEOF
|
3036 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
3037 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
3038 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3039 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
3040 |
rm -f conftest.er1 |
3041 |
cat conftest.err >&5 |
|
3042 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3043 |
(exit $ac_status); } >/dev/null; then |
|
3044 |
if test -s conftest.err; then |
|
3045 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
3046 |
else
|
|
3047 |
ac_cpp_err= |
|
3048 |
fi
|
|
3049 |
else
|
|
3050 |
ac_cpp_err=yes |
|
3051 |
fi
|
|
3052 |
if test -z "$ac_cpp_err"; then |
|
3053 |
: |
|
3054 |
else
|
|
3055 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3056 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3057 |
# Broken: fails on valid input.
|
3058 |
continue
|
|
3059 |
fi
|
|
3060 |
rm -f conftest.err conftest.$ac_ext
|
|
3061 |
||
3062 |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3063 |
# can be detected and how.
|
|
3064 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3065 |
#line $LINENO "configure"
|
3066 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3067 |
#include <ac_nonexistent.h>
|
3068 |
_ACEOF
|
|
3069 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
3070 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
3071 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3072 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
3073 |
rm -f conftest.er1 |
3074 |
cat conftest.err >&5 |
|
3075 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3076 |
(exit $ac_status); } >/dev/null; then |
|
3077 |
if test -s conftest.err; then |
|
3078 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
3079 |
else
|
|
3080 |
ac_cpp_err= |
|
3081 |
fi
|
|
3082 |
else
|
|
3083 |
ac_cpp_err=yes |
|
3084 |
fi
|
|
3085 |
if test -z "$ac_cpp_err"; then |
|
3086 |
# Broken: success on invalid input.
|
|
3087 |
continue
|
|
3088 |
else
|
|
3089 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3090 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3091 |
# Passes both tests.
|
3092 |
ac_preproc_ok=: |
|
3093 |
break
|
|
3094 |
fi
|
|
3095 |
rm -f conftest.err conftest.$ac_ext
|
|
3096 |
||
3097 |
done
|
|
3098 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
3099 |
rm -f conftest.err conftest.$ac_ext
|
|
3100 |
if $ac_preproc_ok; then |
|
3101 |
break
|
|
3102 |
fi
|
|
3103 |
||
3104 |
done
|
|
3105 |
ac_cv_prog_CPP=$CPP |
|
3106 |
||
3107 |
fi
|
|
3108 |
CPP=$ac_cv_prog_CPP |
|
3109 |
else
|
|
3110 |
ac_cv_prog_CPP=$CPP |
|
3111 |
fi
|
|
3112 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
|
3113 |
echo "${ECHO_T}$CPP" >&6 |
|
3114 |
ac_preproc_ok=false |
|
3115 |
for ac_c_preproc_warn_flag in '' yes |
|
3116 |
do
|
|
3117 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3118 |
# with a fresh cross-compiler works.
|
|
3119 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3120 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
3121 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3122 |
#line $LINENO "configure"
|
3123 |
#include "confdefs.h"
|
|
3124 |
#include <assert.h>
|
|
3125 |
Syntax error
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3126 |
_ACEOF
|
3127 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
3128 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
3129 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3130 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
3131 |
rm -f conftest.er1 |
3132 |
cat conftest.err >&5 |
|
3133 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3134 |
(exit $ac_status); } >/dev/null; then |
|
3135 |
if test -s conftest.err; then |
|
3136 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
3137 |
else
|
|
3138 |
ac_cpp_err= |
|
3139 |
fi
|
|
3140 |
else
|
|
3141 |
ac_cpp_err=yes |
|
3142 |
fi
|
|
3143 |
if test -z "$ac_cpp_err"; then |
|
3144 |
: |
|
3145 |
else
|
|
3146 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3147 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3148 |
# Broken: fails on valid input.
|
3149 |
continue
|
|
3150 |
fi
|
|
3151 |
rm -f conftest.err conftest.$ac_ext
|
|
3152 |
||
3153 |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3154 |
# can be detected and how.
|
|
3155 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3156 |
#line $LINENO "configure"
|
3157 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3158 |
#include <ac_nonexistent.h>
|
3159 |
_ACEOF
|
|
3160 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
3161 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
3162 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3163 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
3164 |
rm -f conftest.er1 |
3165 |
cat conftest.err >&5 |
|
3166 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3167 |
(exit $ac_status); } >/dev/null; then |
|
3168 |
if test -s conftest.err; then |
|
3169 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
3170 |
else
|
|
3171 |
ac_cpp_err= |
|
3172 |
fi
|
|
3173 |
else
|
|
3174 |
ac_cpp_err=yes |
|
3175 |
fi
|
|
3176 |
if test -z "$ac_cpp_err"; then |
|
3177 |
# Broken: success on invalid input.
|
|
3178 |
continue
|
|
3179 |
else
|
|
3180 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3181 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3182 |
# Passes both tests.
|
3183 |
ac_preproc_ok=: |
|
3184 |
break
|
|
3185 |
fi
|
|
3186 |
rm -f conftest.err conftest.$ac_ext
|
|
3187 |
||
3188 |
done
|
|
3189 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
3190 |
rm -f conftest.err conftest.$ac_ext
|
|
3191 |
if $ac_preproc_ok; then |
|
3192 |
: |
|
3193 |
else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3194 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3195 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
3196 |
{ (exit 1); exit 1; }; } |
3197 |
fi
|
|
3198 |
||
3199 |
ac_ext=c |
|
3200 |
ac_cpp='$CPP $CPPFLAGS' |
|
3201 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3202 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3203 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3204 |
||
3205 |
||
3206 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
3207 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
3208 |
if test "${ac_cv_header_stdc+set}" = set; then |
|
3209 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3210 |
else
|
|
3211 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3212 |
#line $LINENO "configure"
|
3213 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3214 |
#include <stdlib.h>
|
3215 |
#include <stdarg.h>
|
|
3216 |
#include <string.h>
|
|
3217 |
#include <float.h>
|
|
3218 |
||
3219 |
_ACEOF
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3220 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3221 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
1
by James Morrison
Import upstream version 0.1.5 |
3222 |
ac_status=$? |
4.1.2
by Luca Niccoli
* Adopt package. |
3223 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
3224 |
rm -f conftest.er1 |
3225 |
cat conftest.err >&5 |
|
3226 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3227 |
(exit $ac_status); } >/dev/null; then |
3228 |
if test -s conftest.err; then |
|
3229 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
3230 |
else
|
|
3231 |
ac_cpp_err= |
|
3232 |
fi
|
|
3233 |
else
|
|
3234 |
ac_cpp_err=yes |
|
3235 |
fi
|
|
3236 |
if test -z "$ac_cpp_err"; then |
|
1
by James Morrison
Import upstream version 0.1.5 |
3237 |
ac_cv_header_stdc=yes |
3238 |
else
|
|
3239 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3240 |
cat conftest.$ac_ext >&5 |
3241 |
ac_cv_header_stdc=no |
|
1
by James Morrison
Import upstream version 0.1.5 |
3242 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
3243 |
rm -f conftest.err conftest.$ac_ext
|
1
by James Morrison
Import upstream version 0.1.5 |
3244 |
|
3245 |
if test $ac_cv_header_stdc = yes; then |
|
3246 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
3247 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3248 |
#line $LINENO "configure"
|
3249 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3250 |
#include <string.h>
|
3251 |
||
3252 |
_ACEOF
|
|
3253 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3254 |
egrep "memchr" >/dev/null 2>&1; then |
1
by James Morrison
Import upstream version 0.1.5 |
3255 |
: |
3256 |
else
|
|
3257 |
ac_cv_header_stdc=no |
|
3258 |
fi
|
|
3259 |
rm -f conftest* |
|
3260 |
||
3261 |
fi
|
|
3262 |
||
3263 |
if test $ac_cv_header_stdc = yes; then |
|
3264 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
3265 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3266 |
#line $LINENO "configure"
|
3267 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3268 |
#include <stdlib.h>
|
3269 |
||
3270 |
_ACEOF
|
|
3271 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3272 |
egrep "free" >/dev/null 2>&1; then |
1
by James Morrison
Import upstream version 0.1.5 |
3273 |
: |
3274 |
else
|
|
3275 |
ac_cv_header_stdc=no |
|
3276 |
fi
|
|
3277 |
rm -f conftest* |
|
3278 |
||
3279 |
fi
|
|
3280 |
||
3281 |
if test $ac_cv_header_stdc = yes; then |
|
3282 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
3283 |
if test "$cross_compiling" = yes; then |
|
3284 |
: |
|
3285 |
else
|
|
3286 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3287 |
#line $LINENO "configure"
|
3288 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3289 |
#include <ctype.h>
|
3290 |
#if ((' ' & 0x0FF) == 0x020)
|
|
3291 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
3292 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
3293 |
#else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3294 |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
3295 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
3296 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3297 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
3298 |
#endif
|
|
3299 |
||
3300 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
3301 |
int
|
|
3302 |
main ()
|
|
3303 |
{
|
|
3304 |
int i;
|
|
3305 |
for (i = 0; i < 256; i++)
|
|
3306 |
if (XOR (islower (i), ISLOWER (i))
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3307 |
|| toupper (i) != TOUPPER (i))
|
1
by James Morrison
Import upstream version 0.1.5 |
3308 |
exit(2);
|
3309 |
exit (0);
|
|
3310 |
}
|
|
3311 |
_ACEOF
|
|
3312 |
rm -f conftest$ac_exeext
|
|
3313 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
3314 |
(eval $ac_link) 2>&5 |
|
3315 |
ac_status=$? |
|
3316 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3317 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
3318 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3319 |
(eval $ac_try) 2>&5 |
|
3320 |
ac_status=$? |
|
3321 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3322 |
(exit $ac_status); }; }; then |
|
3323 |
: |
|
3324 |
else
|
|
3325 |
echo "$as_me: program exited with status $ac_status" >&5 |
|
3326 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3327 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3328 |
( exit $ac_status ) |
3329 |
ac_cv_header_stdc=no |
|
3330 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3331 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
3332 |
fi
|
3333 |
fi
|
|
3334 |
fi
|
|
3335 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
3336 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
3337 |
if test $ac_cv_header_stdc = yes; then |
|
3338 |
||
3339 |
cat >>confdefs.h <<\_ACEOF
|
|
3340 |
#define STDC_HEADERS 1
|
|
3341 |
_ACEOF
|
|
3342 |
||
3343 |
fi
|
|
3344 |
||
3345 |
||
3346 |
||
3347 |
||
3348 |
if test -z "" ; then |
|
3349 |
default_compile_warnings=no |
|
3350 |
else
|
|
3351 |
default_compile_warnings="" |
|
3352 |
fi
|
|
3353 |
||
3354 |
# Check whether --enable-compile-warnings or --disable-compile-warnings was given.
|
|
3355 |
if test "${enable_compile_warnings+set}" = set; then |
|
3356 |
enableval="$enable_compile_warnings" |
|
3357 |
enable_compile_warnings="$default_compile_warnings" |
|
3358 |
else
|
|
3359 |
enable_compile_warnings=yes |
|
3360 |
fi; |
|
3361 |
||
3362 |
warnCFLAGS= |
|
3363 |
if test "x$GCC" != xyes; then |
|
3364 |
enable_compile_warnings=no |
|
3365 |
fi
|
|
3366 |
||
3367 |
warning_flags= |
|
3368 |
realsave_CFLAGS="$CFLAGS" |
|
3369 |
||
3370 |
case "$enable_compile_warnings" in |
|
3371 |
no)
|
|
3372 |
warning_flags= |
|
3373 |
;;
|
|
3374 |
minimum)
|
|
3375 |
warning_flags="-Wall -Wunused" |
|
3376 |
;;
|
|
3377 |
yes)
|
|
3378 |
warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations" |
|
3379 |
;;
|
|
3380 |
maximum|error) |
|
3381 |
warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith" |
|
3382 |
CFLAGS="$warning_flags $CFLAGS" |
|
3383 |
for option in -Wsign-promo -Wno-sign-compare; do |
|
3384 |
SAVE_CFLAGS="$CFLAGS" |
|
3385 |
CFLAGS="$CFLAGS $option" |
|
3386 |
echo "$as_me:$LINENO: checking whether gcc understands $option" >&5 |
|
3387 |
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6 |
|
3388 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3389 |
#line $LINENO "configure"
|
3390 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3391 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3392 |
#ifdef F77_DUMMY_MAIN
|
3393 |
# ifdef __cplusplus
|
|
3394 |
extern "C"
|
|
3395 |
# endif
|
|
3396 |
int F77_DUMMY_MAIN() { return 1; }
|
|
3397 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3398 |
int
|
3399 |
main ()
|
|
3400 |
{
|
|
3401 |
||
3402 |
;
|
|
3403 |
return 0;
|
|
3404 |
}
|
|
3405 |
_ACEOF
|
|
3406 |
rm -f conftest.$ac_objext
|
|
3407 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3408 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3409 |
ac_status=$? |
3410 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3411 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3412 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
3413 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3414 |
(eval $ac_try) 2>&5 |
|
3415 |
ac_status=$? |
|
3416 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3417 |
(exit $ac_status); }; }; then |
|
3418 |
has_option=yes |
|
3419 |
else
|
|
3420 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3421 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3422 |
has_option=no |
3423 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3424 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
3425 |
CFLAGS="$SAVE_CFLAGS" |
3426 |
echo "$as_me:$LINENO: result: $has_option" >&5 |
|
3427 |
echo "${ECHO_T}$has_option" >&6 |
|
3428 |
if test $has_option = yes; then |
|
3429 |
warning_flags="$warning_flags $option" |
|
3430 |
fi
|
|
3431 |
unset has_option
|
|
3432 |
unset SAVE_CFLAGS
|
|
3433 |
done
|
|
3434 |
unset option
|
|
3435 |
if test "$enable_compile_warnings" = "error" ; then |
|
3436 |
warning_flags="$warning_flags -Werror" |
|
3437 |
fi
|
|
3438 |
;;
|
|
3439 |
*)
|
|
3440 |
{ { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5 |
|
3441 |
echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;} |
|
3442 |
{ (exit 1); exit 1; }; } |
|
3443 |
;;
|
|
3444 |
esac
|
|
3445 |
CFLAGS="$realsave_CFLAGS" |
|
3446 |
echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5 |
|
3447 |
echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6 |
|
3448 |
echo "$as_me:$LINENO: result: $warning_flags" >&5 |
|
3449 |
echo "${ECHO_T}$warning_flags" >&6 |
|
3450 |
||
3451 |
# Check whether --enable-iso-c or --disable-iso-c was given.
|
|
3452 |
if test "${enable_iso_c+set}" = set; then |
|
3453 |
enableval="$enable_iso_c" |
|
3454 |
||
3455 |
else
|
|
3456 |
enable_iso_c=no |
|
3457 |
fi; |
|
3458 |
||
3459 |
echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5 |
|
3460 |
echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6 |
|
3461 |
complCFLAGS= |
|
3462 |
if test "x$enable_iso_c" != "xno"; then |
|
3463 |
if test "x$GCC" = "xyes"; then |
|
3464 |
case " $CFLAGS " in |
|
3465 |
*\ \ -ansi\ \ *) ;; |
|
3466 |
*) complCFLAGS="$complCFLAGS -ansi" ;; |
|
3467 |
esac
|
|
3468 |
case " $CFLAGS " in |
|
3469 |
*\ \ -pedantic\ \ *) ;; |
|
3470 |
*) complCFLAGS="$complCFLAGS -pedantic" ;; |
|
3471 |
esac
|
|
3472 |
fi
|
|
3473 |
fi
|
|
3474 |
echo "$as_me:$LINENO: result: $complCFLAGS" >&5 |
|
3475 |
echo "${ECHO_T}$complCFLAGS" >&6 |
|
3476 |
||
3477 |
WARN_CFLAGS="$warning_flags $complCFLAGS" |
|
3478 |
||
3479 |
||
3480 |
||
3481 |
pkg_modules="libgnomeui-2.0" |
|
3482 |
||
3483 |
succeeded=no |
|
3484 |
||
3485 |
if test -z "$PKG_CONFIG"; then |
|
3486 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
|
3487 |
set dummy pkg-config; ac_word=$2 |
|
3488 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
3489 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
3490 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
3491 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3492 |
else
|
|
3493 |
case $PKG_CONFIG in |
|
3494 |
[\\/]* | ?:[\\/]*) |
|
3495 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
3496 |
;;
|
|
3497 |
*)
|
|
3498 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3499 |
for as_dir in $PATH |
|
3500 |
do
|
|
3501 |
IFS=$as_save_IFS |
|
3502 |
test -z "$as_dir" && as_dir=. |
|
3503 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3504 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3505 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
3506 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3507 |
break 2 |
|
3508 |
fi
|
|
3509 |
done
|
|
3510 |
done
|
|
3511 |
||
3512 |
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
3513 |
;;
|
|
3514 |
esac
|
|
3515 |
fi
|
|
3516 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
3517 |
||
3518 |
if test -n "$PKG_CONFIG"; then |
|
3519 |
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
3520 |
echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
3521 |
else
|
|
3522 |
echo "$as_me:$LINENO: result: no" >&5 |
|
3523 |
echo "${ECHO_T}no" >&6 |
|
3524 |
fi
|
|
3525 |
||
3526 |
fi
|
|
3527 |
||
3528 |
if test "$PKG_CONFIG" = "no" ; then |
|
3529 |
echo "*** The pkg-config script could not be found. Make sure it is" |
|
3530 |
echo "*** in your path, or set the PKG_CONFIG environment variable" |
|
3531 |
echo "*** to the full path to pkg-config." |
|
3532 |
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
|
3533 |
else
|
|
3534 |
PKG_CONFIG_MIN_VERSION=0.9.0 |
|
3535 |
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
|
3536 |
echo "$as_me:$LINENO: checking for $pkg_modules" >&5 |
|
3537 |
echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6 |
|
3538 |
||
3539 |
if $PKG_CONFIG --exists "$pkg_modules" ; then |
|
3540 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
3541 |
echo "${ECHO_T}yes" >&6 |
|
3542 |
succeeded=yes |
|
3543 |
||
3544 |
echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5 |
|
3545 |
echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6 |
|
3546 |
PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"` |
|
3547 |
echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5 |
|
3548 |
echo "${ECHO_T}$PACKAGE_CFLAGS" >&6 |
|
3549 |
||
3550 |
echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5 |
|
3551 |
echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6 |
|
3552 |
PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"` |
|
3553 |
echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5 |
|
3554 |
echo "${ECHO_T}$PACKAGE_LIBS" >&6 |
|
3555 |
else
|
|
3556 |
PACKAGE_CFLAGS="" |
|
3557 |
PACKAGE_LIBS="" |
|
3558 |
## If we have a custom action on failure, don't print errors, but
|
|
3559 |
## do set a variable so people can do so.
|
|
3560 |
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"` |
|
3561 |
echo $PACKAGE_PKG_ERRORS |
|
3562 |
fi
|
|
3563 |
||
3564 |
||
3565 |
||
3566 |
else
|
|
3567 |
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
|
3568 |
echo "*** See http://www.freedesktop.org/software/pkgconfig" |
|
3569 |
fi
|
|
3570 |
fi
|
|
3571 |
||
3572 |
if test $succeeded = yes; then |
|
3573 |
: |
|
3574 |
else
|
|
3575 |
{ { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 |
|
3576 |
echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} |
|
3577 |
{ (exit 1); exit 1; }; } |
|
3578 |
fi
|
|
3579 |
||
3580 |
||
3581 |
||
3582 |
||
3583 |
GETTEXT_PACKAGE=grcm |
|
3584 |
||
3585 |
cat >>confdefs.h <<_ACEOF
|
|
3586 |
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
|
|
3587 |
_ACEOF
|
|
3588 |
||
3589 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
3590 |
ALL_LINGUAS="" |
1
by James Morrison
Import upstream version 0.1.5 |
3591 |
if test -n "$ac_tool_prefix"; then |
3592 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
3593 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
3594 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
3595 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
3596 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
3597 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3598 |
else
|
|
3599 |
if test -n "$RANLIB"; then |
|
3600 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
3601 |
else
|
|
3602 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3603 |
for as_dir in $PATH |
|
3604 |
do
|
|
3605 |
IFS=$as_save_IFS |
|
3606 |
test -z "$as_dir" && as_dir=. |
|
3607 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3608 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3609 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
3610 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3611 |
break 2 |
|
3612 |
fi
|
|
3613 |
done
|
|
3614 |
done
|
|
3615 |
||
3616 |
fi
|
|
3617 |
fi
|
|
3618 |
RANLIB=$ac_cv_prog_RANLIB |
|
3619 |
if test -n "$RANLIB"; then |
|
3620 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
3621 |
echo "${ECHO_T}$RANLIB" >&6 |
|
3622 |
else
|
|
3623 |
echo "$as_me:$LINENO: result: no" >&5 |
|
3624 |
echo "${ECHO_T}no" >&6 |
|
3625 |
fi
|
|
3626 |
||
3627 |
fi
|
|
3628 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
3629 |
ac_ct_RANLIB=$RANLIB |
|
3630 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
3631 |
set dummy ranlib; ac_word=$2 |
|
3632 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
3633 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
3634 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
3635 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3636 |
else
|
|
3637 |
if test -n "$ac_ct_RANLIB"; then |
|
3638 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
3639 |
else
|
|
3640 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3641 |
for as_dir in $PATH |
|
3642 |
do
|
|
3643 |
IFS=$as_save_IFS |
|
3644 |
test -z "$as_dir" && as_dir=. |
|
3645 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3646 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3647 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
3648 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3649 |
break 2 |
|
3650 |
fi
|
|
3651 |
done
|
|
3652 |
done
|
|
3653 |
||
3654 |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
3655 |
fi
|
|
3656 |
fi
|
|
3657 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
3658 |
if test -n "$ac_ct_RANLIB"; then |
|
3659 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
3660 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
|
3661 |
else
|
|
3662 |
echo "$as_me:$LINENO: result: no" >&5 |
|
3663 |
echo "${ECHO_T}no" >&6 |
|
3664 |
fi
|
|
3665 |
||
3666 |
RANLIB=$ac_ct_RANLIB |
|
3667 |
else
|
|
3668 |
RANLIB="$ac_cv_prog_RANLIB" |
|
3669 |
fi
|
|
3670 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
3671 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
3672 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
3673 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
3674 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3675 |
else
|
|
3676 |
ac_cv_prog_cc_stdc=no |
|
3677 |
ac_save_CC=$CC |
|
3678 |
cat >conftest.$ac_ext <<_ACEOF |
|
3679 |
#line $LINENO "configure"
|
|
3680 |
#include "confdefs.h"
|
|
3681 |
#include <stdarg.h>
|
|
3682 |
#include <stdio.h>
|
|
3683 |
#include <sys/types.h>
|
|
3684 |
#include <sys/stat.h>
|
|
3685 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
3686 |
struct buf { int x; };
|
|
3687 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3688 |
static char *e (p, i)
|
|
3689 |
char **p;
|
|
3690 |
int i;
|
|
3691 |
{
|
|
3692 |
return p[i];
|
|
3693 |
}
|
|
3694 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
3695 |
{
|
|
3696 |
char *s;
|
|
3697 |
va_list v;
|
|
3698 |
va_start (v,p);
|
|
3699 |
s = g (p, va_arg (v,int));
|
|
3700 |
va_end (v);
|
|
3701 |
return s;
|
|
3702 |
}
|
|
3703 |
int test (int i, double x);
|
|
3704 |
struct s1 {int (*f) (int a);};
|
|
3705 |
struct s2 {int (*f) (double a);};
|
|
3706 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
3707 |
int argc;
|
|
3708 |
char **argv;
|
|
3709 |
#ifdef F77_DUMMY_MAIN
|
|
3710 |
# ifdef __cplusplus
|
|
3711 |
extern "C"
|
|
3712 |
# endif
|
|
3713 |
int F77_DUMMY_MAIN() { return 1; }
|
|
3714 |
#endif
|
|
3715 |
int
|
|
3716 |
main ()
|
|
3717 |
{
|
|
3718 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
3719 |
;
|
|
3720 |
return 0;
|
|
3721 |
}
|
|
3722 |
_ACEOF
|
|
3723 |
# Don't try gcc -ansi; that turns off useful extensions and
|
|
3724 |
# breaks some systems' header files.
|
|
3725 |
# AIX -qlanglvl=ansi
|
|
3726 |
# Ultrix and OSF/1 -std1
|
|
3727 |
# HP-UX 10.20 and later -Ae
|
|
3728 |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
|
3729 |
# SVR4 -Xc -D__EXTENSIONS__
|
|
3730 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3731 |
do
|
|
3732 |
CC="$ac_save_CC $ac_arg" |
|
3733 |
rm -f conftest.$ac_objext
|
|
3734 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
3735 |
(eval $ac_compile) 2>&5 |
|
3736 |
ac_status=$? |
|
3737 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3738 |
(exit $ac_status); } && |
|
3739 |
{ ac_try='test -s conftest.$ac_objext' |
|
3740 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3741 |
(eval $ac_try) 2>&5 |
|
3742 |
ac_status=$? |
|
3743 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3744 |
(exit $ac_status); }; }; then |
|
3745 |
ac_cv_prog_cc_stdc=$ac_arg |
|
3746 |
break
|
|
3747 |
else
|
|
3748 |
echo "$as_me: failed program was:" >&5 |
|
3749 |
cat conftest.$ac_ext >&5 |
|
3750 |
fi
|
|
3751 |
rm -f conftest.$ac_objext
|
|
3752 |
done
|
|
3753 |
rm -f conftest.$ac_ext conftest.$ac_objext |
|
3754 |
CC=$ac_save_CC |
|
3755 |
||
3756 |
fi
|
|
3757 |
||
3758 |
case "x$ac_cv_prog_cc_stdc" in |
|
3759 |
x|xno) |
|
3760 |
echo "$as_me:$LINENO: result: none needed" >&5 |
|
3761 |
echo "${ECHO_T}none needed" >&6 ;; |
|
3762 |
*)
|
|
3763 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
3764 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
3765 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
3766 |
esac
|
|
3767 |
||
1
by James Morrison
Import upstream version 0.1.5 |
3768 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
3769 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
|
3770 |
if test "${ac_cv_c_const+set}" = set; then |
|
3771 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3772 |
else
|
|
3773 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3774 |
#line $LINENO "configure"
|
3775 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3776 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3777 |
#ifdef F77_DUMMY_MAIN
|
3778 |
# ifdef __cplusplus
|
|
3779 |
extern "C"
|
|
3780 |
# endif
|
|
3781 |
int F77_DUMMY_MAIN() { return 1; }
|
|
3782 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3783 |
int
|
3784 |
main ()
|
|
3785 |
{
|
|
3786 |
/* FIXME: Include the comments suggested by Paul. */
|
|
3787 |
#ifndef __cplusplus
|
|
3788 |
/* Ultrix mips cc rejects this. */
|
|
3789 |
typedef int charset[2];
|
|
3790 |
const charset x;
|
|
3791 |
/* SunOS 4.1.1 cc rejects this. */
|
|
3792 |
char const *const *ccp;
|
|
3793 |
char **p;
|
|
3794 |
/* NEC SVR4.0.2 mips cc rejects this. */
|
|
3795 |
struct point {int x, y;};
|
|
3796 |
static struct point const zero = {0,0};
|
|
3797 |
/* AIX XL C 1.02.0.0 rejects this.
|
|
3798 |
It does not let you subtract one const X* pointer from another in
|
|
3799 |
an arm of an if-expression whose if-part is not a constant
|
|
3800 |
expression */
|
|
3801 |
const char *g = "string";
|
|
3802 |
ccp = &g + (g ? g-g : 0);
|
|
3803 |
/* HPUX 7.0 cc rejects these. */
|
|
3804 |
++ccp;
|
|
3805 |
p = (char**) ccp;
|
|
3806 |
ccp = (char const *const *) p;
|
|
3807 |
{ /* SCO 3.2v4 cc rejects this. */
|
|
3808 |
char *t;
|
|
3809 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
3810 |
||
3811 |
*t++ = 0;
|
|
3812 |
}
|
|
3813 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
3814 |
int x[] = {25, 17};
|
|
3815 |
const int *foo = &x[0];
|
|
3816 |
++foo;
|
|
3817 |
}
|
|
3818 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
3819 |
typedef const int *iptr;
|
|
3820 |
iptr p = 0;
|
|
3821 |
++p;
|
|
3822 |
}
|
|
3823 |
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
3824 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
3825 |
struct s { int j; const int *ap[3]; };
|
|
3826 |
struct s *b; b->j = 5;
|
|
3827 |
}
|
|
3828 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
3829 |
const int foo = 10;
|
|
3830 |
}
|
|
3831 |
#endif
|
|
3832 |
||
3833 |
;
|
|
3834 |
return 0;
|
|
3835 |
}
|
|
3836 |
_ACEOF
|
|
3837 |
rm -f conftest.$ac_objext
|
|
3838 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3839 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3840 |
ac_status=$? |
3841 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3842 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3843 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
3844 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3845 |
(eval $ac_try) 2>&5 |
|
3846 |
ac_status=$? |
|
3847 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3848 |
(exit $ac_status); }; }; then |
|
3849 |
ac_cv_c_const=yes |
|
3850 |
else
|
|
3851 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3852 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3853 |
ac_cv_c_const=no |
3854 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3855 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
3856 |
fi
|
3857 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
3858 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
|
3859 |
if test $ac_cv_c_const = no; then |
|
3860 |
||
3861 |
cat >>confdefs.h <<\_ACEOF
|
|
3862 |
#define const
|
|
3863 |
_ACEOF
|
|
3864 |
||
3865 |
fi
|
|
3866 |
||
3867 |
echo "$as_me:$LINENO: checking for inline" >&5 |
|
3868 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
|
3869 |
if test "${ac_cv_c_inline+set}" = set; then |
|
3870 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3871 |
else
|
|
3872 |
ac_cv_c_inline=no |
|
3873 |
for ac_kw in inline __inline__ __inline; do |
|
3874 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3875 |
#line $LINENO "configure"
|
3876 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3877 |
#ifndef __cplusplus
|
4.1.2
by Luca Niccoli
* Adopt package. |
3878 |
static $ac_kw int static_foo () {return 0; }
|
3879 |
$ac_kw int foo () {return 0; }
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3880 |
#endif
|
3881 |
||
3882 |
_ACEOF
|
|
3883 |
rm -f conftest.$ac_objext
|
|
3884 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3885 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3886 |
ac_status=$? |
3887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3888 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3889 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
3890 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3891 |
(eval $ac_try) 2>&5 |
|
3892 |
ac_status=$? |
|
3893 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3894 |
(exit $ac_status); }; }; then |
|
3895 |
ac_cv_c_inline=$ac_kw; break |
|
3896 |
else
|
|
3897 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3898 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3899 |
fi
|
4.1.2
by Luca Niccoli
* Adopt package. |
3900 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
3901 |
done
|
3902 |
||
3903 |
fi
|
|
3904 |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
3905 |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
3906 |
case $ac_cv_c_inline in |
|
3907 |
inline | yes) ;; |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3908 |
no)
|
3909 |
cat >>confdefs.h <<\_ACEOF
|
|
3910 |
#define inline
|
|
3911 |
_ACEOF
|
|
3912 |
;;
|
|
3913 |
*) cat >>confdefs.h <<_ACEOF |
|
3914 |
#define inline $ac_cv_c_inline
|
|
3915 |
_ACEOF
|
|
3916 |
;;
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3917 |
esac
|
3918 |
||
3919 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
3920 |
||
3921 |
||
3922 |
||
3923 |
||
3924 |
||
3925 |
||
3926 |
||
3927 |
||
3928 |
||
3929 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3930 |
inttypes.h stdint.h unistd.h |
1
by James Morrison
Import upstream version 0.1.5 |
3931 |
do
|
3932 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
3933 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
3934 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
3935 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
3936 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3937 |
else
|
|
3938 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3939 |
#line $LINENO "configure"
|
3940 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3941 |
$ac_includes_default
|
3942 |
||
3943 |
#include <$ac_header>
|
|
3944 |
_ACEOF
|
|
3945 |
rm -f conftest.$ac_objext
|
|
3946 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3947 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3948 |
ac_status=$? |
3949 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3950 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3951 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
3952 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3953 |
(eval $ac_try) 2>&5 |
|
3954 |
ac_status=$? |
|
3955 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3956 |
(exit $ac_status); }; }; then |
|
3957 |
eval "$as_ac_Header=yes" |
|
3958 |
else
|
|
3959 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3960 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
3961 |
eval "$as_ac_Header=no" |
3962 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
3963 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
3964 |
fi
|
3965 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
3966 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
3967 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
3968 |
cat >>confdefs.h <<_ACEOF
|
|
3969 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
3970 |
_ACEOF
|
|
3971 |
||
3972 |
fi
|
|
3973 |
||
3974 |
done
|
|
3975 |
||
3976 |
||
3977 |
echo "$as_me:$LINENO: checking for off_t" >&5 |
|
3978 |
echo $ECHO_N "checking for off_t... $ECHO_C" >&6 |
|
3979 |
if test "${ac_cv_type_off_t+set}" = set; then |
|
3980 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3981 |
else
|
|
3982 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
3983 |
#line $LINENO "configure"
|
3984 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3985 |
$ac_includes_default
|
4.1.2
by Luca Niccoli
* Adopt package. |
3986 |
#ifdef F77_DUMMY_MAIN
|
3987 |
# ifdef __cplusplus
|
|
3988 |
extern "C"
|
|
3989 |
# endif
|
|
3990 |
int F77_DUMMY_MAIN() { return 1; }
|
|
3991 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
3992 |
int
|
3993 |
main ()
|
|
3994 |
{
|
|
3995 |
if ((off_t *) 0)
|
|
3996 |
return 0;
|
|
3997 |
if (sizeof (off_t))
|
|
3998 |
return 0;
|
|
3999 |
;
|
|
4000 |
return 0;
|
|
4001 |
}
|
|
4002 |
_ACEOF
|
|
4003 |
rm -f conftest.$ac_objext
|
|
4004 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4005 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4006 |
ac_status=$? |
4007 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4008 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4009 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
4010 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4011 |
(eval $ac_try) 2>&5 |
|
4012 |
ac_status=$? |
|
4013 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4014 |
(exit $ac_status); }; }; then |
|
4015 |
ac_cv_type_off_t=yes |
|
4016 |
else
|
|
4017 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4018 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4019 |
ac_cv_type_off_t=no |
4020 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4021 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4022 |
fi
|
4023 |
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 |
|
4024 |
echo "${ECHO_T}$ac_cv_type_off_t" >&6 |
|
4025 |
if test $ac_cv_type_off_t = yes; then |
|
4026 |
: |
|
4027 |
else
|
|
4028 |
||
4029 |
cat >>confdefs.h <<_ACEOF
|
|
4030 |
#define off_t long
|
|
4031 |
_ACEOF
|
|
4032 |
||
4033 |
fi
|
|
4034 |
||
4035 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
|
4036 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
|
4037 |
if test "${ac_cv_type_size_t+set}" = set; then |
|
4038 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4039 |
else
|
|
4040 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4041 |
#line $LINENO "configure"
|
4042 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4043 |
$ac_includes_default
|
4.1.2
by Luca Niccoli
* Adopt package. |
4044 |
#ifdef F77_DUMMY_MAIN
|
4045 |
# ifdef __cplusplus
|
|
4046 |
extern "C"
|
|
4047 |
# endif
|
|
4048 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4049 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4050 |
int
|
4051 |
main ()
|
|
4052 |
{
|
|
4053 |
if ((size_t *) 0)
|
|
4054 |
return 0;
|
|
4055 |
if (sizeof (size_t))
|
|
4056 |
return 0;
|
|
4057 |
;
|
|
4058 |
return 0;
|
|
4059 |
}
|
|
4060 |
_ACEOF
|
|
4061 |
rm -f conftest.$ac_objext
|
|
4062 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4063 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4064 |
ac_status=$? |
4065 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4066 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4067 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
4068 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4069 |
(eval $ac_try) 2>&5 |
|
4070 |
ac_status=$? |
|
4071 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4072 |
(exit $ac_status); }; }; then |
|
4073 |
ac_cv_type_size_t=yes |
|
4074 |
else
|
|
4075 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4076 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4077 |
ac_cv_type_size_t=no |
4078 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4079 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4080 |
fi
|
4081 |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
|
4082 |
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
|
4083 |
if test $ac_cv_type_size_t = yes; then |
|
4084 |
: |
|
4085 |
else
|
|
4086 |
||
4087 |
cat >>confdefs.h <<_ACEOF
|
|
4088 |
#define size_t unsigned
|
|
4089 |
_ACEOF
|
|
4090 |
||
4091 |
fi
|
|
4092 |
||
4093 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
4094 |
# for constant arguments. Useless!
|
|
4095 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
|
4096 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
|
4097 |
if test "${ac_cv_working_alloca_h+set}" = set; then |
|
4098 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4099 |
else
|
|
4100 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4101 |
#line $LINENO "configure"
|
4102 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4103 |
#include <alloca.h>
|
4.1.2
by Luca Niccoli
* Adopt package. |
4104 |
#ifdef F77_DUMMY_MAIN
|
4105 |
# ifdef __cplusplus
|
|
4106 |
extern "C"
|
|
4107 |
# endif
|
|
4108 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4109 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4110 |
int
|
4111 |
main ()
|
|
4112 |
{
|
|
4113 |
char *p = (char *) alloca (2 * sizeof (int));
|
|
4114 |
;
|
|
4115 |
return 0;
|
|
4116 |
}
|
|
4117 |
_ACEOF
|
|
4118 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4119 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4120 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4121 |
ac_status=$? |
4122 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4123 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4124 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
4125 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4126 |
(eval $ac_try) 2>&5 |
|
4127 |
ac_status=$? |
|
4128 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4129 |
(exit $ac_status); }; }; then |
|
4130 |
ac_cv_working_alloca_h=yes |
|
4131 |
else
|
|
4132 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4133 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4134 |
ac_cv_working_alloca_h=no |
4135 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4136 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4137 |
fi
|
4138 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
|
4139 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
|
4140 |
if test $ac_cv_working_alloca_h = yes; then |
|
4141 |
||
4142 |
cat >>confdefs.h <<\_ACEOF
|
|
4143 |
#define HAVE_ALLOCA_H 1
|
|
4144 |
_ACEOF
|
|
4145 |
||
4146 |
fi
|
|
4147 |
||
4148 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
|
4149 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
|
4150 |
if test "${ac_cv_func_alloca_works+set}" = set; then |
|
4151 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4152 |
else
|
|
4153 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4154 |
#line $LINENO "configure"
|
4155 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4156 |
#ifdef __GNUC__
|
4157 |
# define alloca __builtin_alloca
|
|
4158 |
#else
|
|
4159 |
# ifdef _MSC_VER
|
|
4160 |
# include <malloc.h>
|
|
4161 |
# define alloca _alloca
|
|
4162 |
# else
|
|
4163 |
# if HAVE_ALLOCA_H
|
|
4164 |
# include <alloca.h>
|
|
4165 |
# else
|
|
4166 |
# ifdef _AIX
|
|
4167 |
#pragma alloca
|
|
4168 |
# else
|
|
4169 |
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
|
4170 |
char *alloca ();
|
|
4171 |
# endif
|
|
4172 |
# endif
|
|
4173 |
# endif
|
|
4174 |
# endif
|
|
4175 |
#endif
|
|
4176 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
4177 |
#ifdef F77_DUMMY_MAIN
|
4178 |
# ifdef __cplusplus
|
|
4179 |
extern "C"
|
|
4180 |
# endif
|
|
4181 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4182 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4183 |
int
|
4184 |
main ()
|
|
4185 |
{
|
|
4186 |
char *p = (char *) alloca (1);
|
|
4187 |
;
|
|
4188 |
return 0;
|
|
4189 |
}
|
|
4190 |
_ACEOF
|
|
4191 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4192 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4193 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4194 |
ac_status=$? |
4195 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4196 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4197 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
4198 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4199 |
(eval $ac_try) 2>&5 |
|
4200 |
ac_status=$? |
|
4201 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4202 |
(exit $ac_status); }; }; then |
|
4203 |
ac_cv_func_alloca_works=yes |
|
4204 |
else
|
|
4205 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4206 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4207 |
ac_cv_func_alloca_works=no |
4208 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4209 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4210 |
fi
|
4211 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
|
4212 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
|
4213 |
||
4214 |
if test $ac_cv_func_alloca_works = yes; then |
|
4215 |
||
4216 |
cat >>confdefs.h <<\_ACEOF
|
|
4217 |
#define HAVE_ALLOCA 1
|
|
4218 |
_ACEOF
|
|
4219 |
||
4220 |
else
|
|
4221 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
4222 |
# that cause trouble. Some versions do not even contain alloca or
|
|
4223 |
# contain a buggy version. If you still want to use their alloca,
|
|
4224 |
# use ar to extract alloca.o from them instead of compiling alloca.c.
|
|
4225 |
||
4226 |
ALLOCA=alloca.$ac_objext |
|
4227 |
||
4228 |
cat >>confdefs.h <<\_ACEOF
|
|
4229 |
#define C_ALLOCA 1
|
|
4230 |
_ACEOF
|
|
4231 |
||
4232 |
||
4233 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
|
4234 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
|
4235 |
if test "${ac_cv_os_cray+set}" = set; then |
|
4236 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4237 |
else
|
|
4238 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4239 |
#line $LINENO "configure"
|
4240 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4241 |
#if defined(CRAY) && ! defined(CRAY2)
|
4242 |
webecray
|
|
4243 |
#else
|
|
4244 |
wenotbecray
|
|
4245 |
#endif
|
|
4246 |
||
4247 |
_ACEOF
|
|
4248 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4249 |
egrep "webecray" >/dev/null 2>&1; then |
1
by James Morrison
Import upstream version 0.1.5 |
4250 |
ac_cv_os_cray=yes |
4251 |
else
|
|
4252 |
ac_cv_os_cray=no |
|
4253 |
fi
|
|
4254 |
rm -f conftest* |
|
4255 |
||
4256 |
fi
|
|
4257 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
|
4258 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
|
4259 |
if test $ac_cv_os_cray = yes; then |
|
4260 |
for ac_func in _getb67 GETB67 getb67; do |
|
4261 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
4262 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
4263 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
4264 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
4265 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4266 |
else
|
|
4267 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4268 |
#line $LINENO "configure"
|
4269 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4270 |
/* System header to define __stub macros and hopefully few prototypes,
|
4.1.2
by Luca Niccoli
* Adopt package. |
4271 |
which can conflict with char $ac_func (); below. */
|
4272 |
#include <assert.h>
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4273 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4274 |
#ifdef __cplusplus
|
|
4275 |
extern "C"
|
|
4276 |
#endif
|
|
4277 |
/* We use char because int might match the return type of a gcc2
|
|
4278 |
builtin and then its argument prototype would still apply. */
|
|
4279 |
char $ac_func ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4280 |
char (*f) ();
|
4281 |
||
4282 |
#ifdef F77_DUMMY_MAIN
|
|
4283 |
# ifdef __cplusplus
|
|
4284 |
extern "C"
|
|
4285 |
# endif
|
|
4286 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4287 |
#endif
|
|
4288 |
int
|
|
4289 |
main ()
|
|
4290 |
{
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4291 |
/* The GNU C library defines this for functions which it implements
|
4292 |
to always fail with ENOSYS. Some functions are actually named
|
|
4293 |
something starting with __ and the normal name is an alias. */
|
|
4294 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
4295 |
choke me
|
|
4296 |
#else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4297 |
f = $ac_func;
|
1
by James Morrison
Import upstream version 0.1.5 |
4298 |
#endif
|
4299 |
||
4300 |
;
|
|
4301 |
return 0;
|
|
4302 |
}
|
|
4303 |
_ACEOF
|
|
4304 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4305 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4306 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4307 |
ac_status=$? |
4308 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4309 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4310 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
4311 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4312 |
(eval $ac_try) 2>&5 |
|
4313 |
ac_status=$? |
|
4314 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4315 |
(exit $ac_status); }; }; then |
|
4316 |
eval "$as_ac_var=yes" |
|
4317 |
else
|
|
4318 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4319 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4320 |
eval "$as_ac_var=no" |
4321 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4322 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4323 |
fi
|
4324 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
4325 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
4326 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
4327 |
||
4328 |
cat >>confdefs.h <<_ACEOF
|
|
4329 |
#define CRAY_STACKSEG_END $ac_func
|
|
4330 |
_ACEOF
|
|
4331 |
||
4332 |
break
|
|
4333 |
fi
|
|
4334 |
||
4335 |
done
|
|
4336 |
fi
|
|
4337 |
||
4338 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
|
4339 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
|
4340 |
if test "${ac_cv_c_stack_direction+set}" = set; then |
|
4341 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4342 |
else
|
|
4343 |
if test "$cross_compiling" = yes; then |
|
4344 |
ac_cv_c_stack_direction=0 |
|
4345 |
else
|
|
4346 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4347 |
#line $LINENO "configure"
|
4348 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4349 |
int
|
4350 |
find_stack_direction ()
|
|
4351 |
{
|
|
4352 |
static char *addr = 0;
|
|
4353 |
auto char dummy;
|
|
4354 |
if (addr == 0)
|
|
4355 |
{
|
|
4356 |
addr = &dummy;
|
|
4357 |
return find_stack_direction ();
|
|
4358 |
}
|
|
4359 |
else
|
|
4360 |
return (&dummy > addr) ? 1 : -1;
|
|
4361 |
}
|
|
4362 |
||
4363 |
int
|
|
4364 |
main ()
|
|
4365 |
{
|
|
4366 |
exit (find_stack_direction () < 0);
|
|
4367 |
}
|
|
4368 |
_ACEOF
|
|
4369 |
rm -f conftest$ac_exeext
|
|
4370 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4371 |
(eval $ac_link) 2>&5 |
|
4372 |
ac_status=$? |
|
4373 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4374 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
4375 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4376 |
(eval $ac_try) 2>&5 |
|
4377 |
ac_status=$? |
|
4378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4379 |
(exit $ac_status); }; }; then |
|
4380 |
ac_cv_c_stack_direction=1 |
|
4381 |
else
|
|
4382 |
echo "$as_me: program exited with status $ac_status" >&5 |
|
4383 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4384 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4385 |
( exit $ac_status ) |
4386 |
ac_cv_c_stack_direction=-1 |
|
4387 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4388 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4389 |
fi
|
4390 |
fi
|
|
4391 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
|
4392 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
|
4393 |
||
4394 |
cat >>confdefs.h <<_ACEOF
|
|
4395 |
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
|
4396 |
_ACEOF
|
|
4397 |
||
4398 |
||
4399 |
fi
|
|
4400 |
||
4401 |
||
4402 |
||
4403 |
for ac_header in stdlib.h unistd.h
|
|
4404 |
do
|
|
4405 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4406 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4407 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4408 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4409 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4410 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4411 |
fi
|
|
4412 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4413 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4414 |
else
|
|
4415 |
# Is the header compilable?
|
|
4416 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
4417 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
4418 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4419 |
#line $LINENO "configure"
|
4420 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4421 |
$ac_includes_default
|
4422 |
#include <$ac_header>
|
|
4423 |
_ACEOF
|
|
4424 |
rm -f conftest.$ac_objext
|
|
4425 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4426 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4427 |
ac_status=$? |
4428 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4429 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4430 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
4431 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4432 |
(eval $ac_try) 2>&5 |
|
4433 |
ac_status=$? |
|
4434 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4435 |
(exit $ac_status); }; }; then |
|
4436 |
ac_header_compiler=yes |
|
4437 |
else
|
|
4438 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4439 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4440 |
ac_header_compiler=no |
4441 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4442 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4443 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4444 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
4445 |
||
4446 |
# Is the header present?
|
|
4447 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
4448 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
4449 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4450 |
#line $LINENO "configure"
|
4451 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4452 |
#include <$ac_header>
|
4453 |
_ACEOF
|
|
4454 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4455 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4456 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4457 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
4458 |
rm -f conftest.er1 |
4459 |
cat conftest.err >&5 |
|
4460 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4461 |
(exit $ac_status); } >/dev/null; then |
|
4462 |
if test -s conftest.err; then |
|
4463 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
4464 |
else
|
|
4465 |
ac_cpp_err= |
|
4466 |
fi
|
|
4467 |
else
|
|
4468 |
ac_cpp_err=yes |
|
4469 |
fi
|
|
4470 |
if test -z "$ac_cpp_err"; then |
|
4471 |
ac_header_preproc=yes |
|
4472 |
else
|
|
4473 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4474 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4475 |
ac_header_preproc=no |
4476 |
fi
|
|
4477 |
rm -f conftest.err conftest.$ac_ext
|
|
4478 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
4479 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
4480 |
||
4481 |
# So? What about this header?
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4482 |
case $ac_header_compiler:$ac_header_preproc in |
4483 |
yes:no )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4484 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4485 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4486 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4487 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
|
4488 |
no:yes )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4489 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4490 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4491 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4492 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
4493 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4.1.2
by Luca Niccoli
* Adopt package. |
4494 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
1
by James Morrison
Import upstream version 0.1.5 |
4495 |
esac
|
4496 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4497 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4498 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4499 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4500 |
else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4501 |
eval "$as_ac_Header=$ac_header_preproc" |
1
by James Morrison
Import upstream version 0.1.5 |
4502 |
fi
|
4503 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4504 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4505 |
||
4506 |
fi
|
|
4507 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
4508 |
cat >>confdefs.h <<_ACEOF
|
|
4509 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4510 |
_ACEOF
|
|
4511 |
||
4512 |
fi
|
|
4513 |
||
4514 |
done
|
|
4515 |
||
4516 |
||
4517 |
for ac_func in getpagesize
|
|
4518 |
do
|
|
4519 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
4520 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
4521 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
4522 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
4523 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4524 |
else
|
|
4525 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4526 |
#line $LINENO "configure"
|
4527 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4528 |
/* System header to define __stub macros and hopefully few prototypes,
|
4.1.2
by Luca Niccoli
* Adopt package. |
4529 |
which can conflict with char $ac_func (); below. */
|
4530 |
#include <assert.h>
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4531 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4532 |
#ifdef __cplusplus
|
|
4533 |
extern "C"
|
|
4534 |
#endif
|
|
4535 |
/* We use char because int might match the return type of a gcc2
|
|
4536 |
builtin and then its argument prototype would still apply. */
|
|
4537 |
char $ac_func ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4538 |
char (*f) ();
|
4539 |
||
4540 |
#ifdef F77_DUMMY_MAIN
|
|
4541 |
# ifdef __cplusplus
|
|
4542 |
extern "C"
|
|
4543 |
# endif
|
|
4544 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4545 |
#endif
|
|
4546 |
int
|
|
4547 |
main ()
|
|
4548 |
{
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4549 |
/* The GNU C library defines this for functions which it implements
|
4550 |
to always fail with ENOSYS. Some functions are actually named
|
|
4551 |
something starting with __ and the normal name is an alias. */
|
|
4552 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
4553 |
choke me
|
|
4554 |
#else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4555 |
f = $ac_func;
|
1
by James Morrison
Import upstream version 0.1.5 |
4556 |
#endif
|
4557 |
||
4558 |
;
|
|
4559 |
return 0;
|
|
4560 |
}
|
|
4561 |
_ACEOF
|
|
4562 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4563 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4564 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4565 |
ac_status=$? |
4566 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4567 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4568 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
4569 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4570 |
(eval $ac_try) 2>&5 |
|
4571 |
ac_status=$? |
|
4572 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4573 |
(exit $ac_status); }; }; then |
|
4574 |
eval "$as_ac_var=yes" |
|
4575 |
else
|
|
4576 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4577 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4578 |
eval "$as_ac_var=no" |
4579 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4580 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4581 |
fi
|
4582 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
4583 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
4584 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
4585 |
cat >>confdefs.h <<_ACEOF
|
|
4586 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
4587 |
_ACEOF
|
|
4588 |
||
4589 |
fi
|
|
4590 |
done
|
|
4591 |
||
4592 |
echo "$as_me:$LINENO: checking for working mmap" >&5 |
|
4593 |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
|
4594 |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
|
4595 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4596 |
else
|
|
4597 |
if test "$cross_compiling" = yes; then |
|
4598 |
ac_cv_func_mmap_fixed_mapped=no |
|
4599 |
else
|
|
4600 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4601 |
#line $LINENO "configure"
|
4602 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4603 |
$ac_includes_default
|
4604 |
/* malloc might have been renamed as rpl_malloc. */
|
|
4605 |
#undef malloc
|
|
4606 |
||
4607 |
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
4608 |
Here is a matrix of mmap possibilities:
|
|
4609 |
mmap private not fixed
|
|
4610 |
mmap private fixed at somewhere currently unmapped
|
|
4611 |
mmap private fixed at somewhere already mapped
|
|
4612 |
mmap shared not fixed
|
|
4613 |
mmap shared fixed at somewhere currently unmapped
|
|
4614 |
mmap shared fixed at somewhere already mapped
|
|
4615 |
For private mappings, we should verify that changes cannot be read()
|
|
4616 |
back from the file, nor mmap's back from the file at a different
|
|
4617 |
address. (There have been systems where private was not correctly
|
|
4618 |
implemented like the infamous i386 svr4.0, and systems where the
|
|
4619 |
VM page cache was not coherent with the file system buffer cache
|
|
4620 |
like early versions of FreeBSD and possibly contemporary NetBSD.)
|
|
4621 |
For shared mappings, we should conversely verify that changes get
|
|
4622 |
propagated back to all the places they're supposed to be.
|
|
4623 |
||
4624 |
Grep wants private fixed already mapped.
|
|
4625 |
The main things grep needs to know about mmap are:
|
|
4626 |
* does it exist and is it safe to write into the mmap'd area
|
|
4627 |
* how to use it (BSD variants) */
|
|
4628 |
||
4629 |
#include <fcntl.h>
|
|
4630 |
#include <sys/mman.h>
|
|
4631 |
||
4632 |
#if !STDC_HEADERS && !HAVE_STDLIB_H
|
|
4633 |
char *malloc ();
|
|
4634 |
#endif
|
|
4635 |
||
4636 |
/* This mess was copied from the GNU getpagesize.h. */
|
|
4637 |
#if !HAVE_GETPAGESIZE
|
|
4638 |
/* Assume that all systems that can run configure have sys/param.h. */
|
|
4639 |
# if !HAVE_SYS_PARAM_H
|
|
4640 |
# define HAVE_SYS_PARAM_H 1
|
|
4641 |
# endif
|
|
4642 |
||
4643 |
# ifdef _SC_PAGESIZE
|
|
4644 |
# define getpagesize() sysconf(_SC_PAGESIZE)
|
|
4645 |
# else /* no _SC_PAGESIZE */
|
|
4646 |
# if HAVE_SYS_PARAM_H
|
|
4647 |
# include <sys/param.h>
|
|
4648 |
# ifdef EXEC_PAGESIZE
|
|
4649 |
# define getpagesize() EXEC_PAGESIZE
|
|
4650 |
# else /* no EXEC_PAGESIZE */
|
|
4651 |
# ifdef NBPG
|
|
4652 |
# define getpagesize() NBPG * CLSIZE
|
|
4653 |
# ifndef CLSIZE
|
|
4654 |
# define CLSIZE 1
|
|
4655 |
# endif /* no CLSIZE */
|
|
4656 |
# else /* no NBPG */
|
|
4657 |
# ifdef NBPC
|
|
4658 |
# define getpagesize() NBPC
|
|
4659 |
# else /* no NBPC */
|
|
4660 |
# ifdef PAGESIZE
|
|
4661 |
# define getpagesize() PAGESIZE
|
|
4662 |
# endif /* PAGESIZE */
|
|
4663 |
# endif /* no NBPC */
|
|
4664 |
# endif /* no NBPG */
|
|
4665 |
# endif /* no EXEC_PAGESIZE */
|
|
4666 |
# else /* no HAVE_SYS_PARAM_H */
|
|
4667 |
# define getpagesize() 8192 /* punt totally */
|
|
4668 |
# endif /* no HAVE_SYS_PARAM_H */
|
|
4669 |
# endif /* no _SC_PAGESIZE */
|
|
4670 |
||
4671 |
#endif /* no HAVE_GETPAGESIZE */
|
|
4672 |
||
4673 |
int
|
|
4674 |
main ()
|
|
4675 |
{
|
|
4676 |
char *data, *data2, *data3;
|
|
4677 |
int i, pagesize;
|
|
4678 |
int fd;
|
|
4679 |
||
4680 |
pagesize = getpagesize ();
|
|
4681 |
||
4682 |
/* First, make a file with some known garbage in it. */
|
|
4683 |
data = (char *) malloc (pagesize);
|
|
4684 |
if (!data)
|
|
4685 |
exit (1);
|
|
4686 |
for (i = 0; i < pagesize; ++i)
|
|
4687 |
*(data + i) = rand ();
|
|
4688 |
umask (0);
|
|
4689 |
fd = creat ("conftest.mmap", 0600);
|
|
4690 |
if (fd < 0)
|
|
4691 |
exit (1);
|
|
4692 |
if (write (fd, data, pagesize) != pagesize)
|
|
4693 |
exit (1);
|
|
4694 |
close (fd);
|
|
4695 |
||
4696 |
/* Next, try to mmap the file at a fixed address which already has
|
|
4697 |
something else allocated at it. If we can, also make sure that
|
|
4698 |
we see the same garbage. */
|
|
4699 |
fd = open ("conftest.mmap", O_RDWR);
|
|
4700 |
if (fd < 0)
|
|
4701 |
exit (1);
|
|
4702 |
data2 = (char *) malloc (2 * pagesize);
|
|
4703 |
if (!data2)
|
|
4704 |
exit (1);
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4705 |
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
|
1
by James Morrison
Import upstream version 0.1.5 |
4706 |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
4.1.2
by Luca Niccoli
* Adopt package. |
4707 |
MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
1
by James Morrison
Import upstream version 0.1.5 |
4708 |
exit (1);
|
4709 |
for (i = 0; i < pagesize; ++i)
|
|
4710 |
if (*(data + i) != *(data2 + i))
|
|
4711 |
exit (1);
|
|
4712 |
||
4713 |
/* Finally, make sure that changes to the mapped area do not
|
|
4714 |
percolate back to the file as seen by read(). (This is a bug on
|
|
4715 |
some variants of i386 svr4.0.) */
|
|
4716 |
for (i = 0; i < pagesize; ++i)
|
|
4717 |
*(data2 + i) = *(data2 + i) + 1;
|
|
4718 |
data3 = (char *) malloc (pagesize);
|
|
4719 |
if (!data3)
|
|
4720 |
exit (1);
|
|
4721 |
if (read (fd, data3, pagesize) != pagesize)
|
|
4722 |
exit (1);
|
|
4723 |
for (i = 0; i < pagesize; ++i)
|
|
4724 |
if (*(data + i) != *(data3 + i))
|
|
4725 |
exit (1);
|
|
4726 |
close (fd);
|
|
4727 |
exit (0);
|
|
4728 |
}
|
|
4729 |
_ACEOF
|
|
4730 |
rm -f conftest$ac_exeext
|
|
4731 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4732 |
(eval $ac_link) 2>&5 |
|
4733 |
ac_status=$? |
|
4734 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4735 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
4736 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4737 |
(eval $ac_try) 2>&5 |
|
4738 |
ac_status=$? |
|
4739 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4740 |
(exit $ac_status); }; }; then |
|
4741 |
ac_cv_func_mmap_fixed_mapped=yes |
|
4742 |
else
|
|
4743 |
echo "$as_me: program exited with status $ac_status" >&5 |
|
4744 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4745 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4746 |
( exit $ac_status ) |
4747 |
ac_cv_func_mmap_fixed_mapped=no |
|
4748 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4749 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4750 |
fi
|
4751 |
fi
|
|
4752 |
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
|
4753 |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
|
4754 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
|
4755 |
||
4756 |
cat >>confdefs.h <<\_ACEOF
|
|
4757 |
#define HAVE_MMAP 1
|
|
4758 |
_ACEOF
|
|
4759 |
||
4760 |
fi
|
|
4761 |
rm -f conftest.mmap |
|
4762 |
||
4763 |
||
4764 |
||
4765 |
||
4766 |
||
4767 |
||
4768 |
||
4769 |
||
4770 |
||
4771 |
||
4772 |
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ |
|
4773 |
unistd.h sys/param.h |
|
4774 |
do
|
|
4775 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4776 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4777 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4778 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4779 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4780 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4781 |
fi
|
|
4782 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4783 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4784 |
else
|
|
4785 |
# Is the header compilable?
|
|
4786 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
4787 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
4788 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4789 |
#line $LINENO "configure"
|
4790 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4791 |
$ac_includes_default
|
4792 |
#include <$ac_header>
|
|
4793 |
_ACEOF
|
|
4794 |
rm -f conftest.$ac_objext
|
|
4795 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4796 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4797 |
ac_status=$? |
4798 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4799 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4800 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
4801 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4802 |
(eval $ac_try) 2>&5 |
|
4803 |
ac_status=$? |
|
4804 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4805 |
(exit $ac_status); }; }; then |
|
4806 |
ac_header_compiler=yes |
|
4807 |
else
|
|
4808 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4809 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4810 |
ac_header_compiler=no |
4811 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4812 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4813 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4814 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
4815 |
||
4816 |
# Is the header present?
|
|
4817 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
4818 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
4819 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4820 |
#line $LINENO "configure"
|
4821 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4822 |
#include <$ac_header>
|
4823 |
_ACEOF
|
|
4824 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4825 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4826 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4827 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
4828 |
rm -f conftest.er1 |
4829 |
cat conftest.err >&5 |
|
4830 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4831 |
(exit $ac_status); } >/dev/null; then |
|
4832 |
if test -s conftest.err; then |
|
4833 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
4834 |
else
|
|
4835 |
ac_cpp_err= |
|
4836 |
fi
|
|
4837 |
else
|
|
4838 |
ac_cpp_err=yes |
|
4839 |
fi
|
|
4840 |
if test -z "$ac_cpp_err"; then |
|
4841 |
ac_header_preproc=yes |
|
4842 |
else
|
|
4843 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4844 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4845 |
ac_header_preproc=no |
4846 |
fi
|
|
4847 |
rm -f conftest.err conftest.$ac_ext
|
|
4848 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
4849 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
4850 |
||
4851 |
# So? What about this header?
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4852 |
case $ac_header_compiler:$ac_header_preproc in |
4853 |
yes:no )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4854 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4855 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4856 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4857 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
|
4858 |
no:yes )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4859 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4860 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4861 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4862 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
4863 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4.1.2
by Luca Niccoli
* Adopt package. |
4864 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
1
by James Morrison
Import upstream version 0.1.5 |
4865 |
esac
|
4866 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4867 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4868 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4869 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4870 |
else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4871 |
eval "$as_ac_Header=$ac_header_preproc" |
1
by James Morrison
Import upstream version 0.1.5 |
4872 |
fi
|
4873 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4874 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4875 |
||
4876 |
fi
|
|
4877 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
4878 |
cat >>confdefs.h <<_ACEOF
|
|
4879 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4880 |
_ACEOF
|
|
4881 |
||
4882 |
fi
|
|
4883 |
||
4884 |
done
|
|
4885 |
||
4886 |
||
4887 |
||
4888 |
||
4889 |
||
4890 |
||
4891 |
||
4892 |
||
4893 |
||
4894 |
||
4895 |
||
4896 |
||
4897 |
for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ |
|
4898 |
strdup __argz_count __argz_stringify __argz_next |
|
4899 |
do
|
|
4900 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
4901 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
4902 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
4903 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
4904 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4905 |
else
|
|
4906 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4907 |
#line $LINENO "configure"
|
4908 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4909 |
/* System header to define __stub macros and hopefully few prototypes,
|
4.1.2
by Luca Niccoli
* Adopt package. |
4910 |
which can conflict with char $ac_func (); below. */
|
4911 |
#include <assert.h>
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4912 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4913 |
#ifdef __cplusplus
|
|
4914 |
extern "C"
|
|
4915 |
#endif
|
|
4916 |
/* We use char because int might match the return type of a gcc2
|
|
4917 |
builtin and then its argument prototype would still apply. */
|
|
4918 |
char $ac_func ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4919 |
char (*f) ();
|
4920 |
||
4921 |
#ifdef F77_DUMMY_MAIN
|
|
4922 |
# ifdef __cplusplus
|
|
4923 |
extern "C"
|
|
4924 |
# endif
|
|
4925 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4926 |
#endif
|
|
4927 |
int
|
|
4928 |
main ()
|
|
4929 |
{
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4930 |
/* The GNU C library defines this for functions which it implements
|
4931 |
to always fail with ENOSYS. Some functions are actually named
|
|
4932 |
something starting with __ and the normal name is an alias. */
|
|
4933 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
4934 |
choke me
|
|
4935 |
#else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4936 |
f = $ac_func;
|
1
by James Morrison
Import upstream version 0.1.5 |
4937 |
#endif
|
4938 |
||
4939 |
;
|
|
4940 |
return 0;
|
|
4941 |
}
|
|
4942 |
_ACEOF
|
|
4943 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4944 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4945 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4946 |
ac_status=$? |
4947 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4948 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4949 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
4950 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4951 |
(eval $ac_try) 2>&5 |
|
4952 |
ac_status=$? |
|
4953 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4954 |
(exit $ac_status); }; }; then |
|
4955 |
eval "$as_ac_var=yes" |
|
4956 |
else
|
|
4957 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4958 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
4959 |
eval "$as_ac_var=no" |
4960 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
4961 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
4962 |
fi
|
4963 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
4964 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
4965 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
4966 |
cat >>confdefs.h <<_ACEOF
|
|
4967 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
4968 |
_ACEOF
|
|
4969 |
||
4970 |
fi
|
|
4971 |
done
|
|
4972 |
||
4973 |
||
4974 |
if test $ac_cv_header_locale_h = yes; then |
|
4975 |
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
|
4976 |
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
|
4977 |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
|
4978 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4979 |
else
|
|
4980 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
4981 |
#line $LINENO "configure"
|
4982 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4983 |
#include <locale.h>
|
4.1.2
by Luca Niccoli
* Adopt package. |
4984 |
#ifdef F77_DUMMY_MAIN
|
4985 |
# ifdef __cplusplus
|
|
4986 |
extern "C"
|
|
4987 |
# endif
|
|
4988 |
int F77_DUMMY_MAIN() { return 1; }
|
|
4989 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
4990 |
int
|
4991 |
main ()
|
|
4992 |
{
|
|
4993 |
return LC_MESSAGES
|
|
4994 |
;
|
|
4995 |
return 0;
|
|
4996 |
}
|
|
4997 |
_ACEOF
|
|
4998 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
4999 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5000 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5001 |
ac_status=$? |
5002 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5003 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5004 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5005 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5006 |
(eval $ac_try) 2>&5 |
|
5007 |
ac_status=$? |
|
5008 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5009 |
(exit $ac_status); }; }; then |
|
5010 |
am_cv_val_LC_MESSAGES=yes |
|
5011 |
else
|
|
5012 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5013 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5014 |
am_cv_val_LC_MESSAGES=no |
5015 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5016 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5017 |
fi
|
5018 |
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 |
|
5019 |
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 |
|
5020 |
if test $am_cv_val_LC_MESSAGES = yes; then |
|
5021 |
||
5022 |
cat >>confdefs.h <<\_ACEOF
|
|
5023 |
#define HAVE_LC_MESSAGES 1
|
|
5024 |
_ACEOF
|
|
5025 |
||
5026 |
fi
|
|
5027 |
fi
|
|
5028 |
USE_NLS=yes |
|
5029 |
||
5030 |
||
5031 |
nls_cv_force_use_gnu_gettext="no" |
|
5032 |
||
5033 |
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" |
|
5034 |
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then |
|
5035 |
nls_cv_header_intl= |
|
5036 |
nls_cv_header_libgt= |
|
5037 |
CATOBJEXT=NONE |
|
5038 |
XGETTEXT=: |
|
5039 |
||
5040 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
|
5041 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
|
5042 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
|
5043 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
|
5044 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5045 |
fi
|
|
5046 |
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
|
5047 |
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
|
5048 |
else
|
|
5049 |
# Is the header compilable?
|
|
5050 |
echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
|
5051 |
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
|
5052 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5053 |
#line $LINENO "configure"
|
5054 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5055 |
$ac_includes_default
|
5056 |
#include <libintl.h>
|
|
5057 |
_ACEOF
|
|
5058 |
rm -f conftest.$ac_objext
|
|
5059 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5060 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5061 |
ac_status=$? |
5062 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5063 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5064 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
5065 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5066 |
(eval $ac_try) 2>&5 |
|
5067 |
ac_status=$? |
|
5068 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5069 |
(exit $ac_status); }; }; then |
|
5070 |
ac_header_compiler=yes |
|
5071 |
else
|
|
5072 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5073 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5074 |
ac_header_compiler=no |
5075 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5076 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5077 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5078 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
5079 |
||
5080 |
# Is the header present?
|
|
5081 |
echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
|
5082 |
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
|
5083 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5084 |
#line $LINENO "configure"
|
5085 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5086 |
#include <libintl.h>
|
5087 |
_ACEOF
|
|
5088 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
5089 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
5090 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5091 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
5092 |
rm -f conftest.er1 |
5093 |
cat conftest.err >&5 |
|
5094 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5095 |
(exit $ac_status); } >/dev/null; then |
|
5096 |
if test -s conftest.err; then |
|
5097 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
5098 |
else
|
|
5099 |
ac_cpp_err= |
|
5100 |
fi
|
|
5101 |
else
|
|
5102 |
ac_cpp_err=yes |
|
5103 |
fi
|
|
5104 |
if test -z "$ac_cpp_err"; then |
|
5105 |
ac_header_preproc=yes |
|
5106 |
else
|
|
5107 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5108 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5109 |
ac_header_preproc=no |
5110 |
fi
|
|
5111 |
rm -f conftest.err conftest.$ac_ext
|
|
5112 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
5113 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
5114 |
||
5115 |
# So? What about this header?
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5116 |
case $ac_header_compiler:$ac_header_preproc in |
5117 |
yes:no )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5118 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5119 |
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5120 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
5121 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; |
|
5122 |
no:yes )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5123 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
5124 |
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5125 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
5126 |
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
5127 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
4.1.2
by Luca Niccoli
* Adopt package. |
5128 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; |
1
by James Morrison
Import upstream version 0.1.5 |
5129 |
esac
|
5130 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
|
5131 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
|
5132 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
|
5133 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5134 |
else
|
|
5135 |
ac_cv_header_libintl_h=$ac_header_preproc |
|
5136 |
fi
|
|
5137 |
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
|
5138 |
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
|
5139 |
||
5140 |
fi
|
|
5141 |
if test $ac_cv_header_libintl_h = yes; then |
|
5142 |
echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
|
5143 |
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 |
|
5144 |
if test "${gt_cv_func_dgettext_libc+set}" = set; then |
|
5145 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5146 |
else
|
|
5147 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5148 |
#line $LINENO "configure"
|
5149 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5150 |
#include <libintl.h>
|
4.1.2
by Luca Niccoli
* Adopt package. |
5151 |
#ifdef F77_DUMMY_MAIN
|
5152 |
# ifdef __cplusplus
|
|
5153 |
extern "C"
|
|
5154 |
# endif
|
|
5155 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5156 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5157 |
int
|
5158 |
main ()
|
|
5159 |
{
|
|
5160 |
return (int) dgettext ("","")
|
|
5161 |
;
|
|
5162 |
return 0;
|
|
5163 |
}
|
|
5164 |
_ACEOF
|
|
5165 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5166 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5167 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5168 |
ac_status=$? |
5169 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5170 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5171 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5172 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5173 |
(eval $ac_try) 2>&5 |
|
5174 |
ac_status=$? |
|
5175 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5176 |
(exit $ac_status); }; }; then |
|
5177 |
gt_cv_func_dgettext_libc=yes |
|
5178 |
else
|
|
5179 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5180 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5181 |
gt_cv_func_dgettext_libc=no |
5182 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5183 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5184 |
fi
|
5185 |
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
|
5186 |
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 |
|
5187 |
||
5188 |
gt_cv_func_dgettext_libintl="no" |
|
5189 |
libintl_extra_libs="" |
|
5190 |
||
5191 |
if test "$gt_cv_func_dgettext_libc" != "yes" ; then |
|
5192 |
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
|
5193 |
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
|
5194 |
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
|
5195 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5196 |
else
|
|
5197 |
ac_check_lib_save_LIBS=$LIBS |
|
5198 |
LIBS="-lintl $LIBS" |
|
5199 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5200 |
#line $LINENO "configure"
|
5201 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5202 |
|
5203 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5204 |
#ifdef __cplusplus
|
|
5205 |
extern "C"
|
|
5206 |
#endif
|
|
5207 |
/* We use char because int might match the return type of a gcc2
|
|
5208 |
builtin and then its argument prototype would still apply. */
|
|
5209 |
char bindtextdomain ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5210 |
#ifdef F77_DUMMY_MAIN
|
5211 |
# ifdef __cplusplus
|
|
5212 |
extern "C"
|
|
5213 |
# endif
|
|
5214 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5215 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5216 |
int
|
5217 |
main ()
|
|
5218 |
{
|
|
5219 |
bindtextdomain ();
|
|
5220 |
;
|
|
5221 |
return 0;
|
|
5222 |
}
|
|
5223 |
_ACEOF
|
|
5224 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5225 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5226 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5227 |
ac_status=$? |
5228 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5229 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5230 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5231 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5232 |
(eval $ac_try) 2>&5 |
|
5233 |
ac_status=$? |
|
5234 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5235 |
(exit $ac_status); }; }; then |
|
5236 |
ac_cv_lib_intl_bindtextdomain=yes |
|
5237 |
else
|
|
5238 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5239 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5240 |
ac_cv_lib_intl_bindtextdomain=no |
5241 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5242 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5243 |
LIBS=$ac_check_lib_save_LIBS |
5244 |
fi
|
|
5245 |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
|
5246 |
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 |
|
5247 |
if test $ac_cv_lib_intl_bindtextdomain = yes; then |
|
5248 |
echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
|
5249 |
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
|
5250 |
if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
|
5251 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5252 |
else
|
|
5253 |
ac_check_lib_save_LIBS=$LIBS |
|
5254 |
LIBS="-lintl $LIBS" |
|
5255 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5256 |
#line $LINENO "configure"
|
5257 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5258 |
|
5259 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5260 |
#ifdef __cplusplus
|
|
5261 |
extern "C"
|
|
5262 |
#endif
|
|
5263 |
/* We use char because int might match the return type of a gcc2
|
|
5264 |
builtin and then its argument prototype would still apply. */
|
|
5265 |
char dgettext ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5266 |
#ifdef F77_DUMMY_MAIN
|
5267 |
# ifdef __cplusplus
|
|
5268 |
extern "C"
|
|
5269 |
# endif
|
|
5270 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5271 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5272 |
int
|
5273 |
main ()
|
|
5274 |
{
|
|
5275 |
dgettext ();
|
|
5276 |
;
|
|
5277 |
return 0;
|
|
5278 |
}
|
|
5279 |
_ACEOF
|
|
5280 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5281 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5282 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5283 |
ac_status=$? |
5284 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5285 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5286 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5287 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5288 |
(eval $ac_try) 2>&5 |
|
5289 |
ac_status=$? |
|
5290 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5291 |
(exit $ac_status); }; }; then |
|
5292 |
ac_cv_lib_intl_dgettext=yes |
|
5293 |
else
|
|
5294 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5295 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5296 |
ac_cv_lib_intl_dgettext=no |
5297 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5298 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5299 |
LIBS=$ac_check_lib_save_LIBS |
5300 |
fi
|
|
5301 |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
|
5302 |
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
|
5303 |
if test $ac_cv_lib_intl_dgettext = yes; then |
|
5304 |
gt_cv_func_dgettext_libintl=yes |
|
5305 |
fi
|
|
5306 |
||
5307 |
fi
|
|
5308 |
||
5309 |
||
5310 |
if test "$gt_cv_func_dgettext_libc" != "yes" ; then |
|
5311 |
echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
|
5312 |
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 |
|
5313 |
echo "$as_me:$LINENO: result: " >&5 |
|
5314 |
echo "${ECHO_T}" >&6 |
|
5315 |
echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
|
5316 |
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 |
|
5317 |
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
|
5318 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5319 |
else
|
|
5320 |
ac_check_lib_save_LIBS=$LIBS |
|
5321 |
LIBS="-lintl -liconv $LIBS" |
|
5322 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5323 |
#line $LINENO "configure"
|
5324 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5325 |
|
5326 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5327 |
#ifdef __cplusplus
|
|
5328 |
extern "C"
|
|
5329 |
#endif
|
|
5330 |
/* We use char because int might match the return type of a gcc2
|
|
5331 |
builtin and then its argument prototype would still apply. */
|
|
5332 |
char dcgettext ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5333 |
#ifdef F77_DUMMY_MAIN
|
5334 |
# ifdef __cplusplus
|
|
5335 |
extern "C"
|
|
5336 |
# endif
|
|
5337 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5338 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5339 |
int
|
5340 |
main ()
|
|
5341 |
{
|
|
5342 |
dcgettext ();
|
|
5343 |
;
|
|
5344 |
return 0;
|
|
5345 |
}
|
|
5346 |
_ACEOF
|
|
5347 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5348 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5349 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5350 |
ac_status=$? |
5351 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5352 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5353 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5354 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5355 |
(eval $ac_try) 2>&5 |
|
5356 |
ac_status=$? |
|
5357 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5358 |
(exit $ac_status); }; }; then |
|
5359 |
ac_cv_lib_intl_dcgettext=yes |
|
5360 |
else
|
|
5361 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5362 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5363 |
ac_cv_lib_intl_dcgettext=no |
5364 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5365 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5366 |
LIBS=$ac_check_lib_save_LIBS |
5367 |
fi
|
|
5368 |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
|
5369 |
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 |
|
5370 |
if test $ac_cv_lib_intl_dcgettext = yes; then |
|
5371 |
gt_cv_func_dgettext_libintl=yes |
|
5372 |
libintl_extra_libs=-liconv |
|
5373 |
else
|
|
5374 |
: |
|
5375 |
fi
|
|
5376 |
||
5377 |
fi
|
|
5378 |
fi
|
|
5379 |
||
5380 |
if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
5381 |
LIBS="$LIBS -lintl $libintl_extra_libs"; |
|
5382 |
fi
|
|
5383 |
||
5384 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
|
5385 |
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
5386 |
||
5387 |
cat >>confdefs.h <<\_ACEOF
|
|
5388 |
#define HAVE_GETTEXT 1
|
|
5389 |
_ACEOF
|
|
5390 |
||
5391 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
5392 |
set dummy msgfmt; ac_word=$2 |
|
5393 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5394 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
5395 |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
|
5396 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5397 |
else
|
|
5398 |
case "$MSGFMT" in |
|
5399 |
/*)
|
|
5400 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
5401 |
;;
|
|
5402 |
*)
|
|
5403 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
5404 |
for ac_dir in $PATH; do |
|
5405 |
test -z "$ac_dir" && ac_dir=. |
|
5406 |
if test -f $ac_dir/$ac_word; then |
|
5407 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
|
5408 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
|
5409 |
break
|
|
5410 |
fi
|
|
5411 |
fi
|
|
5412 |
done
|
|
5413 |
IFS="$ac_save_ifs" |
|
5414 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
|
5415 |
;;
|
|
5416 |
esac
|
|
5417 |
fi
|
|
5418 |
MSGFMT="$ac_cv_path_MSGFMT" |
|
5419 |
if test "$MSGFMT" != "no"; then |
|
5420 |
echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
|
5421 |
echo "${ECHO_T}$MSGFMT" >&6 |
|
5422 |
else
|
|
5423 |
echo "$as_me:$LINENO: result: no" >&5 |
|
5424 |
echo "${ECHO_T}no" >&6 |
|
5425 |
fi
|
|
5426 |
if test "$MSGFMT" != "no"; then |
|
5427 |
||
5428 |
for ac_func in dcgettext
|
|
5429 |
do
|
|
5430 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
5431 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
5432 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
5433 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
5434 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5435 |
else
|
|
5436 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5437 |
#line $LINENO "configure"
|
5438 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5439 |
/* System header to define __stub macros and hopefully few prototypes,
|
4.1.2
by Luca Niccoli
* Adopt package. |
5440 |
which can conflict with char $ac_func (); below. */
|
5441 |
#include <assert.h>
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5442 |
/* Override any gcc2 internal prototype to avoid an error. */
|
5443 |
#ifdef __cplusplus
|
|
5444 |
extern "C"
|
|
5445 |
#endif
|
|
5446 |
/* We use char because int might match the return type of a gcc2
|
|
5447 |
builtin and then its argument prototype would still apply. */
|
|
5448 |
char $ac_func ();
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5449 |
char (*f) ();
|
5450 |
||
5451 |
#ifdef F77_DUMMY_MAIN
|
|
5452 |
# ifdef __cplusplus
|
|
5453 |
extern "C"
|
|
5454 |
# endif
|
|
5455 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5456 |
#endif
|
|
5457 |
int
|
|
5458 |
main ()
|
|
5459 |
{
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5460 |
/* The GNU C library defines this for functions which it implements
|
5461 |
to always fail with ENOSYS. Some functions are actually named
|
|
5462 |
something starting with __ and the normal name is an alias. */
|
|
5463 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
5464 |
choke me
|
|
5465 |
#else
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5466 |
f = $ac_func;
|
1
by James Morrison
Import upstream version 0.1.5 |
5467 |
#endif
|
5468 |
||
5469 |
;
|
|
5470 |
return 0;
|
|
5471 |
}
|
|
5472 |
_ACEOF
|
|
5473 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5474 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5475 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5476 |
ac_status=$? |
5477 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5478 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5479 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5480 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5481 |
(eval $ac_try) 2>&5 |
|
5482 |
ac_status=$? |
|
5483 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5484 |
(exit $ac_status); }; }; then |
|
5485 |
eval "$as_ac_var=yes" |
|
5486 |
else
|
|
5487 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5488 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5489 |
eval "$as_ac_var=no" |
5490 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5491 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5492 |
fi
|
5493 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
5494 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
5495 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
5496 |
cat >>confdefs.h <<_ACEOF
|
|
5497 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
5498 |
_ACEOF
|
|
5499 |
||
5500 |
fi
|
|
5501 |
done
|
|
5502 |
||
5503 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
5504 |
set dummy gmsgfmt; ac_word=$2 |
|
5505 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5506 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
5507 |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
|
5508 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5509 |
else
|
|
5510 |
case $GMSGFMT in |
|
5511 |
[\\/]* | ?:[\\/]*) |
|
5512 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
5513 |
;;
|
|
5514 |
*)
|
|
5515 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5516 |
for as_dir in $PATH |
|
5517 |
do
|
|
5518 |
IFS=$as_save_IFS |
|
5519 |
test -z "$as_dir" && as_dir=. |
|
5520 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5521 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5522 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
5523 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5524 |
break 2 |
|
5525 |
fi
|
|
5526 |
done
|
|
5527 |
done
|
|
5528 |
||
5529 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
5530 |
;;
|
|
5531 |
esac
|
|
5532 |
fi
|
|
5533 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
5534 |
||
5535 |
if test -n "$GMSGFMT"; then |
|
5536 |
echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
|
5537 |
echo "${ECHO_T}$GMSGFMT" >&6 |
|
5538 |
else
|
|
5539 |
echo "$as_me:$LINENO: result: no" >&5 |
|
5540 |
echo "${ECHO_T}no" >&6 |
|
5541 |
fi
|
|
5542 |
||
5543 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
5544 |
set dummy xgettext; ac_word=$2 |
|
5545 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5546 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
5547 |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
|
5548 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5549 |
else
|
|
5550 |
case "$XGETTEXT" in |
|
5551 |
/*)
|
|
5552 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
5553 |
;;
|
|
5554 |
*)
|
|
5555 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
5556 |
for ac_dir in $PATH; do |
|
5557 |
test -z "$ac_dir" && ac_dir=. |
|
5558 |
if test -f $ac_dir/$ac_word; then |
|
5559 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
|
5560 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
|
5561 |
break
|
|
5562 |
fi
|
|
5563 |
fi
|
|
5564 |
done
|
|
5565 |
IFS="$ac_save_ifs" |
|
5566 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
|
5567 |
;;
|
|
5568 |
esac
|
|
5569 |
fi
|
|
5570 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
|
5571 |
if test "$XGETTEXT" != ":"; then |
|
5572 |
echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
|
5573 |
echo "${ECHO_T}$XGETTEXT" >&6 |
|
5574 |
else
|
|
5575 |
echo "$as_me:$LINENO: result: no" >&5 |
|
5576 |
echo "${ECHO_T}no" >&6 |
|
5577 |
fi
|
|
5578 |
||
5579 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5580 |
#line $LINENO "configure"
|
5581 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5582 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5583 |
#ifdef F77_DUMMY_MAIN
|
5584 |
# ifdef __cplusplus
|
|
5585 |
extern "C"
|
|
5586 |
# endif
|
|
5587 |
int F77_DUMMY_MAIN() { return 1; }
|
|
5588 |
#endif
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5589 |
int
|
5590 |
main ()
|
|
5591 |
{
|
|
5592 |
extern int _nl_msg_cat_cntr;
|
|
5593 |
return _nl_msg_cat_cntr
|
|
5594 |
;
|
|
5595 |
return 0;
|
|
5596 |
}
|
|
5597 |
_ACEOF
|
|
5598 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5599 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5600 |
(eval $ac_link) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5601 |
ac_status=$? |
5602 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5603 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5604 |
{ ac_try='test -s conftest$ac_exeext' |
1
by James Morrison
Import upstream version 0.1.5 |
5605 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5606 |
(eval $ac_try) 2>&5 |
|
5607 |
ac_status=$? |
|
5608 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5609 |
(exit $ac_status); }; }; then |
|
5610 |
CATOBJEXT=.gmo |
|
5611 |
DATADIRNAME=share |
|
5612 |
else
|
|
5613 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5614 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5615 |
CATOBJEXT=.mo |
5616 |
DATADIRNAME=lib |
|
5617 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5618 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5619 |
INSTOBJEXT=.mo |
5620 |
fi
|
|
5621 |
fi
|
|
5622 |
||
5623 |
# Added by Martin Baulig 12/15/98 for libc5 systems
|
|
5624 |
if test "$gt_cv_func_dgettext_libc" != "yes" \ |
|
5625 |
&& test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
5626 |
INTLLIBS="-lintl $libintl_extra_libs" |
|
5627 |
LIBS=`echo $LIBS | sed -e 's/-lintl//'` |
|
5628 |
fi
|
|
5629 |
||
5630 |
fi
|
|
5631 |
||
5632 |
||
5633 |
||
5634 |
if test "$CATOBJEXT" = "NONE"; then |
|
5635 |
nls_cv_use_gnu_gettext=yes |
|
5636 |
fi
|
|
5637 |
fi
|
|
5638 |
||
5639 |
if test "$nls_cv_use_gnu_gettext" != "yes"; then |
|
5640 |
||
5641 |
cat >>confdefs.h <<\_ACEOF
|
|
5642 |
#define ENABLE_NLS 1
|
|
5643 |
_ACEOF
|
|
5644 |
||
5645 |
else
|
|
5646 |
CATOBJEXT= |
|
5647 |
fi
|
|
5648 |
||
5649 |
if test "$XGETTEXT" != ":"; then |
|
5650 |
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
|
5651 |
: ;
|
|
5652 |
else
|
|
5653 |
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
|
5654 |
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 |
|
5655 |
XGETTEXT=":" |
|
5656 |
fi
|
|
5657 |
fi
|
|
5658 |
||
5659 |
# We need to process the po/ directory.
|
|
5660 |
POSUB=po |
|
5661 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
5662 |
ac_config_commands="$ac_config_commands default-2" |
1
by James Morrison
Import upstream version 0.1.5 |
5663 |
|
5664 |
||
5665 |
for lang in $ALL_LINGUAS; do |
|
5666 |
GMOFILES="$GMOFILES $lang.gmo" |
|
5667 |
POFILES="$POFILES $lang.po" |
|
5668 |
done
|
|
5669 |
||
5670 |
||
5671 |
||
5672 |
||
5673 |
||
5674 |
||
5675 |
||
5676 |
||
5677 |
||
5678 |
||
5679 |
||
5680 |
||
5681 |
||
5682 |
if test "x$CATOBJEXT" != "x"; then |
|
5683 |
if test "x$ALL_LINGUAS" = "x"; then |
|
5684 |
LINGUAS= |
|
5685 |
else
|
|
5686 |
echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 |
|
5687 |
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 |
|
5688 |
NEW_LINGUAS= |
|
5689 |
for lang in ${LINGUAS=$ALL_LINGUAS}; do |
|
5690 |
case "$ALL_LINGUAS" in |
|
5691 |
*$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; |
|
5692 |
esac
|
|
5693 |
done
|
|
5694 |
LINGUAS=$NEW_LINGUAS |
|
5695 |
echo "$as_me:$LINENO: result: $LINGUAS" >&5 |
|
5696 |
echo "${ECHO_T}$LINGUAS" >&6 |
|
5697 |
fi
|
|
5698 |
||
5699 |
if test -n "$LINGUAS"; then |
|
5700 |
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
|
5701 |
fi
|
|
5702 |
fi
|
|
5703 |
||
5704 |
test -d po || mkdir po |
|
5705 |
if test "$CATOBJEXT" = ".cat"; then |
|
5706 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
|
5707 |
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
|
5708 |
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
|
5709 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
|
5710 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5711 |
fi
|
|
5712 |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
|
5713 |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
|
5714 |
else
|
|
5715 |
# Is the header compilable?
|
|
5716 |
echo "$as_me:$LINENO: checking linux/version.h usability" >&5 |
|
5717 |
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 |
|
5718 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5719 |
#line $LINENO "configure"
|
5720 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5721 |
$ac_includes_default
|
5722 |
#include <linux/version.h>
|
|
5723 |
_ACEOF
|
|
5724 |
rm -f conftest.$ac_objext
|
|
5725 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5726 |
(eval $ac_compile) 2>&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5727 |
ac_status=$? |
5728 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5729 |
(exit $ac_status); } && |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5730 |
{ ac_try='test -s conftest.$ac_objext' |
1
by James Morrison
Import upstream version 0.1.5 |
5731 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5732 |
(eval $ac_try) 2>&5 |
|
5733 |
ac_status=$? |
|
5734 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5735 |
(exit $ac_status); }; }; then |
|
5736 |
ac_header_compiler=yes |
|
5737 |
else
|
|
5738 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5739 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5740 |
ac_header_compiler=no |
5741 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5742 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1
by James Morrison
Import upstream version 0.1.5 |
5743 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5744 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
5745 |
||
5746 |
# Is the header present?
|
|
5747 |
echo "$as_me:$LINENO: checking linux/version.h presence" >&5 |
|
5748 |
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 |
|
5749 |
cat >conftest.$ac_ext <<_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5750 |
#line $LINENO "configure"
|
5751 |
#include "confdefs.h"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5752 |
#include <linux/version.h>
|
5753 |
_ACEOF
|
|
5754 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
5755 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
5756 |
ac_status=$? |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5757 |
egrep -v '^ *\+' conftest.er1 >conftest.err
|
1
by James Morrison
Import upstream version 0.1.5 |
5758 |
rm -f conftest.er1 |
5759 |
cat conftest.err >&5 |
|
5760 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5761 |
(exit $ac_status); } >/dev/null; then |
|
5762 |
if test -s conftest.err; then |
|
5763 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
5764 |
else
|
|
5765 |
ac_cpp_err= |
|
5766 |
fi
|
|
5767 |
else
|
|
5768 |
ac_cpp_err=yes |
|
5769 |
fi
|
|
5770 |
if test -z "$ac_cpp_err"; then |
|
5771 |
ac_header_preproc=yes |
|
5772 |
else
|
|
5773 |
echo "$as_me: failed program was:" >&5 |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5774 |
cat conftest.$ac_ext >&5 |
1
by James Morrison
Import upstream version 0.1.5 |
5775 |
ac_header_preproc=no |
5776 |
fi
|
|
5777 |
rm -f conftest.err conftest.$ac_ext
|
|
5778 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
5779 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
5780 |
||
5781 |
# So? What about this header?
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5782 |
case $ac_header_compiler:$ac_header_preproc in |
5783 |
yes:no )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5784 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5785 |
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5786 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 |
5787 |
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};; |
|
5788 |
no:yes )
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5789 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 |
5790 |
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5791 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 |
5792 |
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} |
|
1
by James Morrison
Import upstream version 0.1.5 |
5793 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 |
4.1.2
by Luca Niccoli
* Adopt package. |
5794 |
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};; |
1
by James Morrison
Import upstream version 0.1.5 |
5795 |
esac
|
5796 |
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
|
5797 |
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
|
5798 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
|
5799 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5800 |
else
|
|
5801 |
ac_cv_header_linux_version_h=$ac_header_preproc |
|
5802 |
fi
|
|
5803 |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
|
5804 |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
|
5805 |
||
5806 |
fi
|
|
5807 |
if test $ac_cv_header_linux_version_h = yes; then |
|
5808 |
msgformat=linux |
|
5809 |
else
|
|
5810 |
msgformat=xopen |
|
5811 |
fi
|
|
5812 |
||
5813 |
||
5814 |
||
5815 |
sed -e '/^#/d' $srcdir/po/$msgformat-msg.sed > po/po2msg.sed |
|
5816 |
fi
|
|
5817 |
||
5818 |
MKINSTALLDIRS= |
|
5819 |
if test -n "$ac_aux_dir"; then |
|
5820 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
|
5821 |
fi
|
|
5822 |
if test -z "$MKINSTALLDIRS"; then |
|
5823 |
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
|
5824 |
fi
|
|
5825 |
||
5826 |
||
5827 |
test -d po || mkdir po |
|
5828 |
if test "x$srcdir" != "x."; then |
|
5829 |
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
|
5830 |
posrcprefix="$srcdir/" |
|
5831 |
else
|
|
5832 |
posrcprefix="../$srcdir/" |
|
5833 |
fi
|
|
5834 |
else
|
|
5835 |
posrcprefix="../" |
|
5836 |
fi
|
|
5837 |
rm -f po/POTFILES |
|
5838 |
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
|
5839 |
< $srcdir/po/POTFILES.in > po/POTFILES
|
|
5840 |
||
5841 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
5842 |
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in help/Makefile help/C/Makefile pixmaps/Makefile" |
1
by James Morrison
Import upstream version 0.1.5 |
5843 |
cat >confcache <<\_ACEOF
|
5844 |
# This file is a shell script that caches the results of configure
|
|
5845 |
# tests run on this system so they can be shared between configure
|
|
5846 |
# scripts and configure runs, see configure's option --config-cache.
|
|
5847 |
# It is not useful on other systems. If it contains results you don't
|
|
5848 |
# want to keep, you may remove or edit it.
|
|
5849 |
#
|
|
5850 |
# config.status only pays attention to the cache file if you give it
|
|
5851 |
# the --recheck option to rerun configure.
|
|
5852 |
#
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5853 |
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
1
by James Morrison
Import upstream version 0.1.5 |
5854 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
5855 |
# following values.
|
|
5856 |
||
5857 |
_ACEOF
|
|
5858 |
||
5859 |
# The following way of writing the cache mishandles newlines in values,
|
|
5860 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
5861 |
# So, don't put newlines in cache variables' values.
|
|
5862 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
5863 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
5864 |
{
|
|
5865 |
(set) 2>&1 | |
|
5866 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
|
5867 |
*ac_space=\ *) |
|
5868 |
# `set' does not quote correctly, so add quotes (double-quote
|
|
5869 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
5870 |
sed -n \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5871 |
"s/'/'\\\\''/g;
|
5872 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
1
by James Morrison
Import upstream version 0.1.5 |
5873 |
;;
|
5874 |
*)
|
|
5875 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
5876 |
sed -n \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5877 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1
by James Morrison
Import upstream version 0.1.5 |
5878 |
;;
|
5879 |
esac; |
|
5880 |
} | |
|
5881 |
sed '
|
|
5882 |
t clear
|
|
5883 |
: clear
|
|
5884 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
5885 |
t end
|
|
5886 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
5887 |
: end' >>confcache
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5888 |
if cmp -s $cache_file confcache; then :; else |
1
by James Morrison
Import upstream version 0.1.5 |
5889 |
if test -w $cache_file; then |
5890 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
|
5891 |
cat confcache >$cache_file
|
|
5892 |
else
|
|
5893 |
echo "not updating unwritable cache $cache_file" |
|
5894 |
fi
|
|
5895 |
fi
|
|
5896 |
rm -f confcache |
|
5897 |
||
5898 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
5899 |
# Let make expand exec_prefix.
|
|
5900 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
5901 |
||
5902 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
5903 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
5904 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
5905 |
# (actually we leave an empty line to preserve line numbers).
|
|
5906 |
if test "x$srcdir" = x.; then |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5907 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
1
by James Morrison
Import upstream version 0.1.5 |
5908 |
s/:*\$(srcdir):*/:/;
|
5909 |
s/:*\${srcdir}:*/:/;
|
|
5910 |
s/:*@srcdir@:*/:/;
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5911 |
s/^\([^=]*=[ ]*\):*/\1/;
|
1
by James Morrison
Import upstream version 0.1.5 |
5912 |
s/:*$//;
|
4.1.2
by Luca Niccoli
* Adopt package. |
5913 |
s/^[^=]*=[ ]*$//;
|
1
by James Morrison
Import upstream version 0.1.5 |
5914 |
}'
|
5915 |
fi
|
|
5916 |
||
5917 |
DEFS=-DHAVE_CONFIG_H |
|
5918 |
||
5919 |
||
5920 |
: ${CONFIG_STATUS=./config.status} |
|
5921 |
ac_clean_files_save=$ac_clean_files |
|
5922 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
5923 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|
5924 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
5925 |
cat >$CONFIG_STATUS <<_ACEOF |
|
5926 |
#! $SHELL
|
|
5927 |
# Generated by $as_me.
|
|
5928 |
# Run this file to recreate the current configuration.
|
|
5929 |
# Compiler output produced by configure, useful for debugging
|
|
5930 |
# configure, is in config.log if it exists.
|
|
5931 |
||
5932 |
debug=false
|
|
5933 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
|
5934 |
_ACEOF
|
|
5935 |
||
5936 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
4.1.2
by Luca Niccoli
* Adopt package. |
5937 |
|
1
by James Morrison
Import upstream version 0.1.5 |
5938 |
## --------------------- ##
|
5939 |
## M4sh Initialization. ##
|
|
5940 |
## --------------------- ##
|
|
5941 |
||
5942 |
# Be Bourne compatible
|
|
5943 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
5944 |
emulate sh
|
|
5945 |
NULLCMD=:
|
|
5946 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
5947 |
set -o posix
|
|
5948 |
fi
|
|
5949 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
5950 |
# NLS nuisances.
|
1
by James Morrison
Import upstream version 0.1.5 |
5951 |
# Support unset when possible.
|
4.1.2
by Luca Niccoli
* Adopt package. |
5952 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
1
by James Morrison
Import upstream version 0.1.5 |
5953 |
as_unset=unset
|
5954 |
else
|
|
5955 |
as_unset=false
|
|
5956 |
fi
|
|
5957 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
5958 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
|
5959 |
{ $as_unset LANG || test "${LANG+set}" != set; } ||
|
|
5960 |
{ LANG=C; export LANG; }
|
|
5961 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
|
|
5962 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
|
|
5963 |
{ LC_ALL=C; export LC_ALL; }
|
|
5964 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
|
|
5965 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
|
|
5966 |
{ LC_TIME=C; export LC_TIME; }
|
|
5967 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
|
|
5968 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
|
|
5969 |
{ LC_CTYPE=C; export LC_CTYPE; }
|
|
5970 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
|
|
5971 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
|
|
5972 |
{ LANGUAGE=C; export LANGUAGE; }
|
|
5973 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
|
|
5974 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
|
|
5975 |
{ LC_COLLATE=C; export LC_COLLATE; }
|
|
5976 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
|
|
5977 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
|
|
5978 |
{ LC_NUMERIC=C; export LC_NUMERIC; }
|
|
5979 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
|
|
5980 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
|
|
5981 |
{ LC_MESSAGES=C; export LC_MESSAGES; }
|
|
1
by James Morrison
Import upstream version 0.1.5 |
5982 |
|
5983 |
||
5984 |
# Name of the executable.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
5985 |
as_me=`(basename "$0") 2>/dev/null ||
|
1
by James Morrison
Import upstream version 0.1.5 |
5986 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5987 |
X"$0" : 'X\(//\)$' \| \
|
|
5988 |
X"$0" : 'X\(/\)$' \| \
|
|
5989 |
. : '\(.\)' 2>/dev/null ||
|
|
5990 |
echo X/"$0" |
|
|
5991 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
5992 |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
5993 |
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
5994 |
s/.*/./; q'`
|
|
5995 |
||
5996 |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
5997 |
# Avoid depending upon Character Ranges.
|
|
5998 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
5999 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6000 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
6001 |
as_cr_digits='0123456789'
|
|
6002 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
6003 |
||
6004 |
# The user is always right.
|
|
6005 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6006 |
echo "#! /bin/sh" >conftest.sh
|
6007 |
echo "exit 0" >>conftest.sh
|
|
6008 |
chmod +x conftest.sh
|
|
6009 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6010 |
PATH_SEPARATOR=';'
|
6011 |
else
|
|
6012 |
PATH_SEPARATOR=:
|
|
6013 |
fi
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6014 |
rm -f conftest.sh
|
1
by James Morrison
Import upstream version 0.1.5 |
6015 |
fi
|
6016 |
||
6017 |
||
6018 |
as_lineno_1=$LINENO
|
|
6019 |
as_lineno_2=$LINENO
|
|
6020 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
6021 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
6022 |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
|
6023 |
# Find who we are. Look in the path if we contain no path at all
|
|
6024 |
# relative or not.
|
|
6025 |
case $0 in
|
|
6026 |
*[\\/]* ) as_myself=$0 ;;
|
|
6027 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
6028 |
for as_dir in $PATH
|
|
6029 |
do
|
|
6030 |
IFS=$as_save_IFS
|
|
6031 |
test -z "$as_dir" && as_dir=.
|
|
6032 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
6033 |
done
|
|
6034 |
||
6035 |
;;
|
|
6036 |
esac
|
|
6037 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
6038 |
# in which case we are not to be found in the path.
|
|
6039 |
if test "x$as_myself" = x; then
|
|
6040 |
as_myself=$0
|
|
6041 |
fi
|
|
6042 |
if test ! -f "$as_myself"; then
|
|
6043 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
|
6044 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
|
6045 |
{ (exit 1); exit 1; }; }
|
|
6046 |
fi
|
|
6047 |
case $CONFIG_SHELL in
|
|
6048 |
'')
|
|
6049 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
6050 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
6051 |
do
|
|
6052 |
IFS=$as_save_IFS
|
|
6053 |
test -z "$as_dir" && as_dir=.
|
|
6054 |
for as_base in sh bash ksh sh5; do
|
|
6055 |
case $as_dir in
|
|
6056 |
/*)
|
|
6057 |
if ("$as_dir/$as_base" -c '
|
|
6058 |
as_lineno_1=$LINENO
|
|
6059 |
as_lineno_2=$LINENO
|
|
6060 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
6061 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
6062 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
|
6063 |
CONFIG_SHELL=$as_dir/$as_base
|
|
6064 |
export CONFIG_SHELL
|
|
6065 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
|
6066 |
fi;;
|
|
6067 |
esac
|
|
6068 |
done
|
|
6069 |
done
|
|
6070 |
;;
|
|
6071 |
esac
|
|
6072 |
||
6073 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
6074 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
6075 |
# line-number line before each line; the second 'sed' does the real
|
|
6076 |
# work. The second script uses 'N' to pair each line-number line
|
|
6077 |
# with the numbered line, and appends trailing '-' during
|
|
6078 |
# substitution so that $LINENO is not a special case at line end.
|
|
6079 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
6080 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|
6081 |
sed '=' <$as_myself |
|
|
6082 |
sed '
|
|
6083 |
N
|
|
6084 |
s,$,-,
|
|
6085 |
: loop
|
|
6086 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
6087 |
t loop
|
|
6088 |
s,-$,,
|
|
6089 |
s,^['$as_cr_digits']*\n,,
|
|
6090 |
' >$as_me.lineno &&
|
|
6091 |
chmod +x $as_me.lineno ||
|
|
6092 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
|
6093 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|
6094 |
{ (exit 1); exit 1; }; }
|
|
6095 |
||
6096 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
6097 |
# (the dirname of $[0] is not the place where we might find the
|
|
6098 |
# original and so on. Autoconf is especially sensible to this).
|
|
6099 |
. ./$as_me.lineno
|
|
6100 |
# Exit status is that of the last command.
|
|
6101 |
exit
|
|
6102 |
}
|
|
6103 |
||
6104 |
||
6105 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
|
6106 |
*c*,-n*) ECHO_N= ECHO_C='
|
|
6107 |
' ECHO_T=' ' ;;
|
|
6108 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
|
6109 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|
6110 |
esac
|
|
6111 |
||
6112 |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
6113 |
as_expr=expr
|
|
6114 |
else
|
|
6115 |
as_expr=false
|
|
6116 |
fi
|
|
6117 |
||
6118 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
6119 |
echo >conf$$.file
|
|
6120 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
6121 |
# We could just check for DJGPP; but this test a) works b) is more generic
|
|
6122 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|
6123 |
if test -f conf$$.exe; then
|
|
6124 |
# Don't use ln at all; we don't have any links
|
|
6125 |
as_ln_s='cp -p'
|
|
6126 |
else
|
|
6127 |
as_ln_s='ln -s'
|
|
6128 |
fi
|
|
6129 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
6130 |
as_ln_s=ln
|
|
6131 |
else
|
|
6132 |
as_ln_s='cp -p'
|
|
6133 |
fi
|
|
6134 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
6135 |
||
6136 |
as_executable_p="test -f"
|
|
6137 |
||
6138 |
# Sed expression to map a string onto a valid CPP name.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6139 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
1
by James Morrison
Import upstream version 0.1.5 |
6140 |
|
6141 |
# Sed expression to map a string onto a valid variable name.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6142 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
1
by James Morrison
Import upstream version 0.1.5 |
6143 |
|
6144 |
||
6145 |
# IFS
|
|
6146 |
# We need space, tab and new line, in precisely that order.
|
|
6147 |
as_nl='
|
|
6148 |
'
|
|
6149 |
IFS=" $as_nl"
|
|
6150 |
||
6151 |
# CDPATH.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6152 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
|
1
by James Morrison
Import upstream version 0.1.5 |
6153 |
|
6154 |
exec 6>&1
|
|
6155 |
||
6156 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
6157 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
6158 |
# values after options handling. Logging --version etc. is OK.
|
|
6159 |
exec 5>>config.log
|
|
6160 |
{
|
|
6161 |
echo
|
|
6162 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
6163 |
## Running $as_me. ##
|
|
6164 |
_ASBOX
|
|
6165 |
} >&5
|
|
6166 |
cat >&5 <<_CSEOF
|
|
6167 |
||
6168 |
This file was extended by $as_me, which was
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6169 |
generated by GNU Autoconf 2.53. Invocation command line was
|
1
by James Morrison
Import upstream version 0.1.5 |
6170 |
|
6171 |
CONFIG_FILES = $CONFIG_FILES
|
|
6172 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
6173 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
6174 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
6175 |
$ $0 $@
|
|
6176 |
||
6177 |
_CSEOF
|
|
6178 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
|
6179 |
echo >&5
|
|
6180 |
_ACEOF
|
|
6181 |
||
6182 |
# Files that config.status was made for.
|
|
6183 |
if test -n "$ac_config_files"; then |
|
6184 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
|
6185 |
fi
|
|
6186 |
||
6187 |
if test -n "$ac_config_headers"; then |
|
6188 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
6189 |
fi
|
|
6190 |
||
6191 |
if test -n "$ac_config_links"; then |
|
6192 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
6193 |
fi
|
|
6194 |
||
6195 |
if test -n "$ac_config_commands"; then |
|
6196 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
6197 |
fi
|
|
6198 |
||
6199 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6200 |
||
6201 |
ac_cs_usage="\
|
|
6202 |
\`$as_me' instantiates files from templates according to the
|
|
6203 |
current configuration.
|
|
6204 |
||
6205 |
Usage: $0 [OPTIONS] [FILE]...
|
|
6206 |
||
6207 |
-h, --help print this help, then exit
|
|
6208 |
-V, --version print version number, then exit
|
|
6209 |
-d, --debug don't remove temporary files
|
|
6210 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
6211 |
--file=FILE[:TEMPLATE]
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6212 |
instantiate the configuration file FILE
|
1
by James Morrison
Import upstream version 0.1.5 |
6213 |
--header=FILE[:TEMPLATE]
|
4.1.2
by Luca Niccoli
* Adopt package. |
6214 |
instantiate the configuration header FILE
|
1
by James Morrison
Import upstream version 0.1.5 |
6215 |
|
6216 |
Configuration files:
|
|
6217 |
$config_files
|
|
6218 |
||
6219 |
Configuration headers:
|
|
6220 |
$config_headers
|
|
6221 |
||
6222 |
Configuration commands:
|
|
6223 |
$config_commands
|
|
6224 |
||
6225 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
6226 |
_ACEOF
|
|
6227 |
||
6228 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
6229 |
ac_cs_version="\\
|
|
6230 |
config.status
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6231 |
configured by $0, generated by GNU Autoconf 2.53,
|
1
by James Morrison
Import upstream version 0.1.5 |
6232 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
6233 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
6234 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
6235 |
Free Software Foundation, Inc.
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6236 |
This config.status script is free software; the Free Software Foundation
|
6237 |
gives unlimited permission to copy, distribute and modify it."
|
|
6238 |
srcdir=$srcdir
|
|
6239 |
INSTALL="$INSTALL"
|
|
6240 |
_ACEOF
|
|
6241 |
||
6242 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6243 |
# If no file are specified by the user, then we need to provide default
|
|
6244 |
# value. By we need to know if files were specified by the user.
|
|
6245 |
ac_need_defaults=:
|
|
6246 |
while test $# != 0
|
|
6247 |
do
|
|
6248 |
case $1 in
|
|
6249 |
--*=*)
|
|
6250 |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
|
6251 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6252 |
shift
|
6253 |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
|
6254 |
shift
|
|
6255 |
;;
|
|
6256 |
-*);;
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6257 |
*) # This is not an option, so the user has probably given explicit
|
6258 |
# arguments.
|
|
6259 |
ac_need_defaults=false;;
|
|
6260 |
esac
|
|
6261 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
6262 |
case $1 in
|
1
by James Morrison
Import upstream version 0.1.5 |
6263 |
# Handling of the options.
|
6264 |
_ACEOF
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6265 |
cat >>$CONFIG_STATUS <<_ACEOF |
1
by James Morrison
Import upstream version 0.1.5 |
6266 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
4.1.2
by Luca Niccoli
* Adopt package. |
6267 |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
6268 |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
|
6269 |
_ACEOF
|
|
6270 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
1
by James Morrison
Import upstream version 0.1.5 |
6271 |
--version | --vers* | -V )
|
6272 |
echo "$ac_cs_version"; exit 0 ;;
|
|
6273 |
--he | --h)
|
|
6274 |
# Conflict between --help and --header
|
|
6275 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
|
6276 |
Try \`$0 --help' for more information." >&5
|
|
6277 |
echo "$as_me: error: ambiguous option: $1
|
|
6278 |
Try \`$0 --help' for more information." >&2;}
|
|
6279 |
{ (exit 1); exit 1; }; };;
|
|
6280 |
--help | --hel | -h )
|
|
6281 |
echo "$ac_cs_usage"; exit 0 ;;
|
|
6282 |
--debug | --d* | -d )
|
|
6283 |
debug=: ;;
|
|
6284 |
--file | --fil | --fi | --f )
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6285 |
shift
|
6286 |
CONFIG_FILES="$CONFIG_FILES $1"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6287 |
ac_need_defaults=false;;
|
6288 |
--header | --heade | --head | --hea )
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6289 |
shift
|
6290 |
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6291 |
ac_need_defaults=false;;
|
6292 |
||
6293 |
# This is an error.
|
|
6294 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
|
6295 |
Try \`$0 --help' for more information." >&5
|
|
6296 |
echo "$as_me: error: unrecognized option: $1
|
|
6297 |
Try \`$0 --help' for more information." >&2;}
|
|
6298 |
{ (exit 1); exit 1; }; } ;;
|
|
6299 |
||
6300 |
*) ac_config_targets="$ac_config_targets $1" ;;
|
|
6301 |
||
6302 |
esac
|
|
6303 |
shift
|
|
6304 |
done
|
|
6305 |
||
6306 |
_ACEOF
|
|
6307 |
||
6308 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
6309 |
#
|
|
6310 |
# INIT-COMMANDS section.
|
|
6311 |
#
|
|
6312 |
||
6313 |
||
6314 |
||
6315 |
||
6316 |
_ACEOF
|
|
6317 |
||
6318 |
||
6319 |
||
6320 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6321 |
for ac_config_target in $ac_config_targets
|
|
6322 |
do
|
|
6323 |
case "$ac_config_target" in
|
|
6324 |
# Handling of arguments.
|
|
6325 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
6326 |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
6327 |
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
|
6328 |
"help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
|
|
6329 |
"help/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/C/Makefile" ;;
|
|
6330 |
"pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
|
|
6331 |
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
|
6332 |
"default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
|
|
6333 |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
6334 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
6335 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
6336 |
{ (exit 1); exit 1; }; };;
|
|
6337 |
esac
|
|
6338 |
done
|
|
6339 |
||
6340 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
6341 |
# then the envvar interface is used. Set only those that are not.
|
|
6342 |
# We use the long form for the default assignment because of an extremely
|
|
6343 |
# bizarre bug on SunOS 4.1.3.
|
|
6344 |
if $ac_need_defaults; then
|
|
6345 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
6346 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
6347 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
6348 |
fi
|
|
6349 |
||
6350 |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
6351 |
$debug ||
|
|
6352 |
{
|
|
6353 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
6354 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
6355 |
}
|
|
6356 |
||
6357 |
# Create a (secure) tmp directory for tmp files.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6358 |
: ${TMPDIR=/tmp}
|
1
by James Morrison
Import upstream version 0.1.5 |
6359 |
{
|
4.1.2
by Luca Niccoli
* Adopt package. |
6360 |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
1
by James Morrison
Import upstream version 0.1.5 |
6361 |
test -n "$tmp" && test -d "$tmp"
|
6362 |
} ||
|
|
6363 |
{
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6364 |
tmp=$TMPDIR/cs$$-$RANDOM
|
1
by James Morrison
Import upstream version 0.1.5 |
6365 |
(umask 077 && mkdir $tmp)
|
6366 |
} ||
|
|
6367 |
{
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6368 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
1
by James Morrison
Import upstream version 0.1.5 |
6369 |
{ (exit 1); exit 1; }
|
6370 |
}
|
|
6371 |
||
6372 |
_ACEOF
|
|
6373 |
||
6374 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
6375 |
||
6376 |
#
|
|
6377 |
# CONFIG_FILES section.
|
|
6378 |
#
|
|
6379 |
||
6380 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
|
6381 |
# This happens for instance when ./config.status config.h
|
|
6382 |
if test -n "\$CONFIG_FILES"; then
|
|
6383 |
# Protect against being on the right side of a sed subst in config.status.
|
|
6384 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
|
6385 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
|
6386 |
s,@SHELL@,$SHELL,;t t
|
|
6387 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
|
6388 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
|
6389 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
|
6390 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
|
6391 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
|
6392 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
|
6393 |
s,@exec_prefix@,$exec_prefix,;t t
|
|
6394 |
s,@prefix@,$prefix,;t t
|
|
6395 |
s,@program_transform_name@,$program_transform_name,;t t
|
|
6396 |
s,@bindir@,$bindir,;t t
|
|
6397 |
s,@sbindir@,$sbindir,;t t
|
|
6398 |
s,@libexecdir@,$libexecdir,;t t
|
|
6399 |
s,@datadir@,$datadir,;t t
|
|
6400 |
s,@sysconfdir@,$sysconfdir,;t t
|
|
6401 |
s,@sharedstatedir@,$sharedstatedir,;t t
|
|
6402 |
s,@localstatedir@,$localstatedir,;t t
|
|
6403 |
s,@libdir@,$libdir,;t t
|
|
6404 |
s,@includedir@,$includedir,;t t
|
|
6405 |
s,@oldincludedir@,$oldincludedir,;t t
|
|
6406 |
s,@infodir@,$infodir,;t t
|
|
6407 |
s,@mandir@,$mandir,;t t
|
|
6408 |
s,@build_alias@,$build_alias,;t t
|
|
6409 |
s,@host_alias@,$host_alias,;t t
|
|
6410 |
s,@target_alias@,$target_alias,;t t
|
|
6411 |
s,@DEFS@,$DEFS,;t t
|
|
6412 |
s,@ECHO_C@,$ECHO_C,;t t
|
|
6413 |
s,@ECHO_N@,$ECHO_N,;t t
|
|
6414 |
s,@ECHO_T@,$ECHO_T,;t t
|
|
6415 |
s,@LIBS@,$LIBS,;t t
|
|
6416 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
|
6417 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
|
6418 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
|
6419 |
s,@PACKAGE@,$PACKAGE,;t t
|
|
6420 |
s,@VERSION@,$VERSION,;t t
|
|
6421 |
s,@ACLOCAL@,$ACLOCAL,;t t
|
|
6422 |
s,@AUTOCONF@,$AUTOCONF,;t t
|
|
6423 |
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
|
6424 |
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
|
6425 |
s,@MAKEINFO@,$MAKEINFO,;t t
|
|
6426 |
s,@SET_MAKE@,$SET_MAKE,;t t
|
|
6427 |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
|
6428 |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
|
6429 |
s,@MAINT@,$MAINT,;t t
|
|
6430 |
s,@CC@,$CC,;t t
|
|
6431 |
s,@CFLAGS@,$CFLAGS,;t t
|
|
6432 |
s,@LDFLAGS@,$LDFLAGS,;t t
|
|
6433 |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
|
6434 |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
|
6435 |
s,@EXEEXT@,$EXEEXT,;t t
|
|
6436 |
s,@OBJEXT@,$OBJEXT,;t t
|
|
6437 |
s,@CPP@,$CPP,;t t
|
|
6438 |
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
|
|
6439 |
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
|
|
6440 |
s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
|
|
6441 |
s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
|
|
6442 |
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
|
|
6443 |
s,@RANLIB@,$RANLIB,;t t
|
|
6444 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|
6445 |
s,@ALLOCA@,$ALLOCA,;t t
|
|
6446 |
s,@USE_NLS@,$USE_NLS,;t t
|
|
6447 |
s,@MSGFMT@,$MSGFMT,;t t
|
|
6448 |
s,@GMSGFMT@,$GMSGFMT,;t t
|
|
6449 |
s,@XGETTEXT@,$XGETTEXT,;t t
|
|
6450 |
s,@CATALOGS@,$CATALOGS,;t t
|
|
6451 |
s,@CATOBJEXT@,$CATOBJEXT,;t t
|
|
6452 |
s,@DATADIRNAME@,$DATADIRNAME,;t t
|
|
6453 |
s,@GMOFILES@,$GMOFILES,;t t
|
|
6454 |
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
|
|
6455 |
s,@INTLDEPS@,$INTLDEPS,;t t
|
|
6456 |
s,@INTLLIBS@,$INTLLIBS,;t t
|
|
6457 |
s,@INTLOBJS@,$INTLOBJS,;t t
|
|
6458 |
s,@POFILES@,$POFILES,;t t
|
|
6459 |
s,@POSUB@,$POSUB,;t t
|
|
6460 |
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
|
|
6461 |
CEOF
|
|
6462 |
||
6463 |
_ACEOF
|
|
6464 |
||
6465 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6466 |
# Split the substitutions into bite-sized pieces for seds with
|
|
6467 |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
|
6468 |
ac_max_sed_lines=48
|
|
6469 |
ac_sed_frag=1 # Number of current file.
|
|
6470 |
ac_beg=1 # First line for current file.
|
|
6471 |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
|
6472 |
ac_more_lines=:
|
|
6473 |
ac_sed_cmds=
|
|
6474 |
while $ac_more_lines; do
|
|
6475 |
if test $ac_beg -gt 1; then
|
|
6476 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
6477 |
else
|
|
6478 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
6479 |
fi
|
|
6480 |
if test ! -s $tmp/subs.frag; then
|
|
6481 |
ac_more_lines=false
|
|
6482 |
else
|
|
6483 |
# The purpose of the label and of the branching condition is to
|
|
6484 |
# speed up the sed processing (if there are no `@' at all, there
|
|
6485 |
# is no need to browse any of the substitutions).
|
|
6486 |
# These are the two extra sed commands mentioned above.
|
|
6487 |
(echo ':t
|
|
6488 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|
6489 |
if test -z "$ac_sed_cmds"; then
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6490 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
1
by James Morrison
Import upstream version 0.1.5 |
6491 |
else
|
4.1.2
by Luca Niccoli
* Adopt package. |
6492 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
1
by James Morrison
Import upstream version 0.1.5 |
6493 |
fi
|
6494 |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
|
6495 |
ac_beg=$ac_end
|
|
6496 |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
|
6497 |
fi
|
|
6498 |
done
|
|
6499 |
if test -z "$ac_sed_cmds"; then
|
|
6500 |
ac_sed_cmds=cat
|
|
6501 |
fi
|
|
6502 |
fi # test -n "$CONFIG_FILES"
|
|
6503 |
||
6504 |
_ACEOF
|
|
6505 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6506 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|
6507 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
6508 |
case $ac_file in
|
|
6509 |
- | *:- | *:-:* ) # input from stdin
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6510 |
cat >$tmp/stdin
|
6511 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
6512 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6513 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4.1.2
by Luca Niccoli
* Adopt package. |
6514 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6515 |
* ) ac_file_in=$ac_file.in ;;
|
6516 |
esac
|
|
6517 |
||
6518 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|
6519 |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
6520 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6521 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6522 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
6523 |
X"$ac_file" : 'X\(/\)' \| \
|
|
6524 |
. : '\(.\)' 2>/dev/null ||
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6525 |
echo X"$ac_file" |
|
6526 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
6527 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
6528 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
6529 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
6530 |
s/.*/./; q'`
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6531 |
{ case "$ac_dir" in
|
6532 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
|
6533 |
*) as_incr_dir=.;;
|
|
6534 |
esac
|
|
6535 |
as_dummy="$ac_dir"
|
|
6536 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
|
6537 |
case $as_mkdir_dir in
|
|
6538 |
# Skip DOS drivespec
|
|
6539 |
?:) as_incr_dir=$as_mkdir_dir ;;
|
|
6540 |
*)
|
|
6541 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
|
6542 |
test -d "$as_incr_dir" ||
|
|
6543 |
mkdir "$as_incr_dir" ||
|
|
6544 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
|
|
6545 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
|
|
6546 |
{ (exit 1); exit 1; }; }
|
|
6547 |
;;
|
|
6548 |
esac
|
|
6549 |
done; }
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6550 |
|
6551 |
ac_builddir=.
|
|
6552 |
||
6553 |
if test "$ac_dir" != .; then
|
|
6554 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
6555 |
# A "../" for each directory in $ac_dir_suffix.
|
|
6556 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|
6557 |
else
|
|
6558 |
ac_dir_suffix= ac_top_builddir=
|
|
6559 |
fi
|
|
6560 |
||
6561 |
case $srcdir in
|
|
6562 |
.) # No --srcdir option. We are building in place.
|
|
6563 |
ac_srcdir=.
|
|
6564 |
if test -z "$ac_top_builddir"; then
|
|
6565 |
ac_top_srcdir=.
|
|
6566 |
else
|
|
6567 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
6568 |
fi ;;
|
|
6569 |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
6570 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
6571 |
ac_top_srcdir=$srcdir ;;
|
|
6572 |
*) # Relative path.
|
|
6573 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
6574 |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
6575 |
esac
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6576 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
6577 |
# absolute.
|
|
6578 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
6579 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
|
|
6580 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
6581 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6582 |
|
6583 |
||
6584 |
case $INSTALL in
|
|
6585 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
6586 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
6587 |
esac
|
|
6588 |
||
4.1.2
by Luca Niccoli
* Adopt package. |
6589 |
if test x"$ac_file" != x-; then
|
6590 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
6591 |
echo "$as_me: creating $ac_file" >&6;}
|
|
6592 |
rm -f "$ac_file"
|
|
6593 |
fi
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6594 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
6595 |
# use $as_me), people would be surprised to read:
|
|
6596 |
# /* config.h. Generated by config.status. */
|
|
6597 |
if test x"$ac_file" = x-; then
|
|
6598 |
configure_input=
|
|
6599 |
else
|
|
6600 |
configure_input="$ac_file. "
|
|
6601 |
fi
|
|
6602 |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6603 |
sed 's,.*/,,'` by configure."
|
1
by James Morrison
Import upstream version 0.1.5 |
6604 |
|
6605 |
# First look for the input files in the build tree, otherwise in the
|
|
6606 |
# src tree.
|
|
6607 |
ac_file_inputs=`IFS=:
|
|
6608 |
for f in $ac_file_in; do
|
|
6609 |
case $f in
|
|
6610 |
-) echo $tmp/stdin ;;
|
|
6611 |
[\\/$]*)
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6612 |
# Absolute (can't be DOS-style, as IFS=:)
|
6613 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6614 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6615 |
{ (exit 1); exit 1; }; }
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6616 |
echo $f;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6617 |
*) # Relative
|
4.1.2
by Luca Niccoli
* Adopt package. |
6618 |
if test -f "$f"; then
|
6619 |
# Build tree
|
|
6620 |
echo $f
|
|
6621 |
elif test -f "$srcdir/$f"; then
|
|
6622 |
# Source tree
|
|
6623 |
echo $srcdir/$f
|
|
6624 |
else
|
|
6625 |
# /dev/null tree
|
|
6626 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6627 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6628 |
{ (exit 1); exit 1; }; }
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6629 |
fi;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6630 |
esac
|
6631 |
done` || { (exit 1); exit 1; }
|
|
6632 |
_ACEOF
|
|
6633 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
6634 |
sed "$ac_vpsub
|
|
6635 |
$extrasub
|
|
6636 |
_ACEOF
|
|
6637 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6638 |
:t
|
|
6639 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
6640 |
s,@configure_input@,$configure_input,;t t
|
|
6641 |
s,@srcdir@,$ac_srcdir,;t t
|
|
6642 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
|
6643 |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
|
6644 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
|
6645 |
s,@builddir@,$ac_builddir,;t t
|
|
6646 |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
|
6647 |
s,@top_builddir@,$ac_top_builddir,;t t
|
|
6648 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
|
6649 |
s,@INSTALL@,$ac_INSTALL,;t t
|
|
6650 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
|
6651 |
rm -f $tmp/stdin
|
|
6652 |
if test x"$ac_file" != x-; then
|
|
6653 |
mv $tmp/out $ac_file
|
|
6654 |
else
|
|
6655 |
cat $tmp/out
|
|
6656 |
rm -f $tmp/out
|
|
6657 |
fi
|
|
6658 |
||
6659 |
done
|
|
6660 |
_ACEOF
|
|
6661 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6662 |
||
6663 |
#
|
|
6664 |
# CONFIG_HEADER section.
|
|
6665 |
#
|
|
6666 |
||
6667 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
6668 |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
6669 |
#
|
|
6670 |
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6671 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
6672 |
ac_dB='[ ].*$,\1#\2'
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6673 |
ac_dC=' '
|
6674 |
ac_dD=',;t'
|
|
6675 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6676 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
1
by James Morrison
Import upstream version 0.1.5 |
6677 |
ac_uB='$,\1#\2define\3'
|
6678 |
ac_uC=' '
|
|
6679 |
ac_uD=',;t'
|
|
6680 |
||
6681 |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
|
6682 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
6683 |
case $ac_file in
|
|
6684 |
- | *:- | *:-:* ) # input from stdin
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6685 |
cat >$tmp/stdin
|
6686 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
6687 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6688 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4.1.2
by Luca Niccoli
* Adopt package. |
6689 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6690 |
* ) ac_file_in=$ac_file.in ;;
|
6691 |
esac
|
|
6692 |
||
6693 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
6694 |
echo "$as_me: creating $ac_file" >&6;}
|
|
6695 |
||
6696 |
# First look for the input files in the build tree, otherwise in the
|
|
6697 |
# src tree.
|
|
6698 |
ac_file_inputs=`IFS=:
|
|
6699 |
for f in $ac_file_in; do
|
|
6700 |
case $f in
|
|
6701 |
-) echo $tmp/stdin ;;
|
|
6702 |
[\\/$]*)
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6703 |
# Absolute (can't be DOS-style, as IFS=:)
|
6704 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6705 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6706 |
{ (exit 1); exit 1; }; }
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6707 |
echo $f;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6708 |
*) # Relative
|
4.1.2
by Luca Niccoli
* Adopt package. |
6709 |
if test -f "$f"; then
|
6710 |
# Build tree
|
|
6711 |
echo $f
|
|
6712 |
elif test -f "$srcdir/$f"; then
|
|
6713 |
# Source tree
|
|
6714 |
echo $srcdir/$f
|
|
6715 |
else
|
|
6716 |
# /dev/null tree
|
|
6717 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6718 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6719 |
{ (exit 1); exit 1; }; }
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6720 |
fi;;
|
1
by James Morrison
Import upstream version 0.1.5 |
6721 |
esac
|
6722 |
done` || { (exit 1); exit 1; }
|
|
6723 |
# Remove the trailing spaces.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6724 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
1
by James Morrison
Import upstream version 0.1.5 |
6725 |
|
6726 |
_ACEOF
|
|
6727 |
||
6728 |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
|
6729 |
# `conftest.undefs', that substitutes the proper values into
|
|
6730 |
# config.h.in to produce config.h. The first handles `#define'
|
|
6731 |
# templates, and the second `#undef' templates.
|
|
6732 |
# And first: Protect against being on the right side of a sed subst in
|
|
6733 |
# config.status. Protect against being in an unquoted here document
|
|
6734 |
# in config.status.
|
|
6735 |
rm -f conftest.defines conftest.undefs |
|
6736 |
# Using a here document instead of a string reduces the quoting nightmare.
|
|
6737 |
# Putting comments in sed scripts is not portable.
|
|
6738 |
#
|
|
6739 |
# `end' is used to avoid that the second main sed command (meant for
|
|
6740 |
# 0-ary CPP macros) applies to n-ary macro definitions.
|
|
6741 |
# See the Autoconf documentation for `clear'.
|
|
6742 |
cat >confdef2sed.sed <<\_ACEOF
|
|
6743 |
s/[\\&,]/\\&/g
|
|
6744 |
s,[\\$`],\\&,g
|
|
6745 |
t clear
|
|
6746 |
: clear
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6747 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
1
by James Morrison
Import upstream version 0.1.5 |
6748 |
t end
|
4.1.2
by Luca Niccoli
* Adopt package. |
6749 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
1
by James Morrison
Import upstream version 0.1.5 |
6750 |
: end
|
6751 |
_ACEOF
|
|
6752 |
# If some macros were called several times there might be several times
|
|
6753 |
# the same #defines, which is useless. Nevertheless, we may not want to
|
|
6754 |
# sort them, since we want the *last* AC-DEFINE to be honored.
|
|
6755 |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
|
6756 |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
|
6757 |
rm -f confdef2sed.sed |
|
6758 |
||
6759 |
# This sed command replaces #undef with comments. This is necessary, for
|
|
6760 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
6761 |
# on some systems where configure will not decide to define it.
|
|
6762 |
cat >>conftest.undefs <<\_ACEOF
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6763 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
1
by James Morrison
Import upstream version 0.1.5 |
6764 |
_ACEOF
|
6765 |
||
6766 |
# Break up conftest.defines because some shells have a limit on the size
|
|
6767 |
# of here documents, and old seds have small limits too (100 cmds).
|
|
6768 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
4.1.2
by Luca Niccoli
* Adopt package. |
6769 |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
1
by James Morrison
Import upstream version 0.1.5 |
6770 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
6771 |
echo ' :' >>$CONFIG_STATUS |
|
6772 |
rm -f conftest.tail |
|
6773 |
while grep . conftest.defines >/dev/null
|
|
6774 |
do
|
|
6775 |
# Write a limited-size here document to $tmp/defines.sed.
|
|
6776 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
|
6777 |
# Speed up: don't consider the non `#define' lines.
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6778 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
1
by James Morrison
Import upstream version 0.1.5 |
6779 |
# Work around the forget-to-reset-the-flag bug.
|
6780 |
echo 't clr' >>$CONFIG_STATUS |
|
6781 |
echo ': clr' >>$CONFIG_STATUS |
|
6782 |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
|
6783 |
echo 'CEOF |
|
6784 |
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
|
6785 |
rm -f $tmp/in
|
|
6786 |
mv $tmp/out $tmp/in
|
|
6787 |
' >>$CONFIG_STATUS |
|
6788 |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
|
6789 |
rm -f conftest.defines |
|
6790 |
mv conftest.tail conftest.defines |
|
6791 |
done
|
|
6792 |
rm -f conftest.defines |
|
4.1.2
by Luca Niccoli
* Adopt package. |
6793 |
echo ' fi # egrep' >>$CONFIG_STATUS |
1
by James Morrison
Import upstream version 0.1.5 |
6794 |
echo >>$CONFIG_STATUS |
6795 |
||
6796 |
# Break up conftest.undefs because some shells have a limit on the size
|
|
6797 |
# of here documents, and old seds have small limits too (100 cmds).
|
|
6798 |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
6799 |
rm -f conftest.tail |
|
6800 |
while grep . conftest.undefs >/dev/null
|
|
6801 |
do
|
|
6802 |
# Write a limited-size here document to $tmp/undefs.sed.
|
|
6803 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
6804 |
# Speed up: don't consider the non `#undef'
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6805 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
1
by James Morrison
Import upstream version 0.1.5 |
6806 |
# Work around the forget-to-reset-the-flag bug.
|
6807 |
echo 't clr' >>$CONFIG_STATUS |
|
6808 |
echo ': clr' >>$CONFIG_STATUS |
|
6809 |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
6810 |
echo 'CEOF |
|
6811 |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
|
6812 |
rm -f $tmp/in
|
|
6813 |
mv $tmp/out $tmp/in
|
|
6814 |
' >>$CONFIG_STATUS |
|
6815 |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
6816 |
rm -f conftest.undefs |
|
6817 |
mv conftest.tail conftest.undefs |
|
6818 |
done
|
|
6819 |
rm -f conftest.undefs |
|
6820 |
||
6821 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6822 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
6823 |
# use $as_me), people would be surprised to read:
|
|
6824 |
# /* config.h. Generated by config.status. */
|
|
6825 |
if test x"$ac_file" = x-; then
|
|
6826 |
echo "/* Generated by configure. */" >$tmp/config.h
|
|
6827 |
else
|
|
6828 |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
|
6829 |
fi
|
|
6830 |
cat $tmp/in >>$tmp/config.h
|
|
6831 |
rm -f $tmp/in
|
|
6832 |
if test x"$ac_file" != x-; then
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6833 |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
|
1
by James Morrison
Import upstream version 0.1.5 |
6834 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
6835 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
|
6836 |
else
|
|
6837 |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
6838 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6839 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6840 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
6841 |
X"$ac_file" : 'X\(/\)' \| \
|
|
6842 |
. : '\(.\)' 2>/dev/null ||
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6843 |
echo X"$ac_file" |
|
6844 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
6845 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
6846 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
6847 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
6848 |
s/.*/./; q'`
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6849 |
{ case "$ac_dir" in
|
6850 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
|
6851 |
*) as_incr_dir=.;;
|
|
6852 |
esac
|
|
6853 |
as_dummy="$ac_dir"
|
|
6854 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
|
6855 |
case $as_mkdir_dir in
|
|
6856 |
# Skip DOS drivespec
|
|
6857 |
?:) as_incr_dir=$as_mkdir_dir ;;
|
|
6858 |
*)
|
|
6859 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
|
6860 |
test -d "$as_incr_dir" ||
|
|
6861 |
mkdir "$as_incr_dir" ||
|
|
6862 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
|
|
6863 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
|
|
6864 |
{ (exit 1); exit 1; }; }
|
|
6865 |
;;
|
|
6866 |
esac
|
|
6867 |
done; }
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6868 |
|
6869 |
rm -f $ac_file
|
|
6870 |
mv $tmp/config.h $ac_file
|
|
6871 |
fi
|
|
6872 |
else
|
|
6873 |
cat $tmp/config.h
|
|
6874 |
rm -f $tmp/config.h
|
|
6875 |
fi
|
|
6876 |
done
|
|
6877 |
_ACEOF
|
|
6878 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6879 |
||
6880 |
#
|
|
6881 |
# CONFIG_COMMANDS section.
|
|
6882 |
#
|
|
6883 |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
|
6884 |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
|
6885 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
6886 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
|
6887 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6888 |
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
6889 |
X"$ac_dest" : 'X\(//\)$' \| \
|
|
6890 |
X"$ac_dest" : 'X\(/\)' \| \
|
|
6891 |
. : '\(.\)' 2>/dev/null ||
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6892 |
echo X"$ac_dest" |
|
6893 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
6894 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
6895 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
6896 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
6897 |
s/.*/./; q'`
|
|
6898 |
ac_builddir=.
|
|
6899 |
||
6900 |
if test "$ac_dir" != .; then
|
|
6901 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
6902 |
# A "../" for each directory in $ac_dir_suffix.
|
|
6903 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|
6904 |
else
|
|
6905 |
ac_dir_suffix= ac_top_builddir=
|
|
6906 |
fi
|
|
6907 |
||
6908 |
case $srcdir in
|
|
6909 |
.) # No --srcdir option. We are building in place.
|
|
6910 |
ac_srcdir=.
|
|
6911 |
if test -z "$ac_top_builddir"; then
|
|
6912 |
ac_top_srcdir=.
|
|
6913 |
else
|
|
6914 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
6915 |
fi ;;
|
|
6916 |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
6917 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
6918 |
ac_top_srcdir=$srcdir ;;
|
|
6919 |
*) # Relative path.
|
|
6920 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
6921 |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
6922 |
esac
|
|
4.1.2
by Luca Niccoli
* Adopt package. |
6923 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
6924 |
# absolute.
|
|
6925 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
6926 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
|
|
6927 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
6928 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
1
by James Morrison
Import upstream version 0.1.5 |
6929 |
|
6930 |
||
6931 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
|
6932 |
echo "$as_me: executing $ac_dest commands" >&6;}
|
|
6933 |
case $ac_dest in
|
|
6934 |
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
|
|
6935 |
default-2 ) case "$CONFIG_FILES" in *po/Makefile.in*)
|
|
6936 |
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
|
6937 |
esac ;;
|
|
6938 |
esac
|
|
6939 |
done
|
|
6940 |
_ACEOF
|
|
6941 |
||
6942 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
6943 |
||
6944 |
{ (exit 0); exit 0; }
|
|
6945 |
_ACEOF
|
|
6946 |
chmod +x $CONFIG_STATUS
|
|
6947 |
ac_clean_files=$ac_clean_files_save |
|
6948 |
||
6949 |
||
6950 |
# configure is writing to config.log, and then calls config.status.
|
|
6951 |
# config.status does its own redirection, appending to config.log.
|
|
6952 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
6953 |
# by configure, so config.status won't be able to write to it; its
|
|
6954 |
# output is simply discarded. So we exec the FD to /dev/null,
|
|
6955 |
# effectively closing config.log, so it can be properly (re)opened and
|
|
6956 |
# appended to by config.status. When coming back to configure, we
|
|
6957 |
# need to make the FD available again.
|
|
6958 |
if test "$no_create" != yes; then |
|
6959 |
ac_cs_success=: |
|
6960 |
exec 5>/dev/null |
|
4.1.2
by Luca Niccoli
* Adopt package. |
6961 |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
1
by James Morrison
Import upstream version 0.1.5 |
6962 |
exec 5>>config.log |
6963 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
6964 |
# would make configure fail if this is the last instruction.
|
|
6965 |
$ac_cs_success || { (exit 1); exit 1; } |
|
6966 |
fi
|
|
6967 |
||
6968 |