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