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