1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
3 |
# Generated by GNU Autoconf 2.68 for gwibber 3.4.1. |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4 |
# |
5 |
# Report bugs to <https://launchpad.net/gwibber>. |
|
6 |
# |
|
7 |
# |
|
8 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
9 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
10 |
# Foundation, Inc. |
|
11 |
# |
|
12 |
# |
|
13 |
# This configure script is free software; the Free Software Foundation |
|
14 |
# gives unlimited permission to copy, distribute and modify it. |
|
15 |
# |
|
16 |
# Copyright 2010 Canonical |
|
17 |
## -------------------- ## |
|
18 |
## M4sh Initialization. ## |
|
19 |
## -------------------- ## |
|
20 |
||
21 |
# Be more Bourne compatible |
|
22 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
23 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
24 |
emulate sh |
|
25 |
NULLCMD=: |
|
26 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
27 |
# is contrary to our usage. Disable this feature. |
|
28 |
alias -g '${1+"$@"}'='"$@"' |
|
29 |
setopt NO_GLOB_SUBST |
|
30 |
else |
|
31 |
case `(set -o) 2>/dev/null` in #( |
|
32 |
*posix*) : |
|
33 |
set -o posix ;; #( |
|
34 |
*) : |
|
35 |
;; |
|
36 |
esac |
|
37 |
fi |
|
38 |
||
39 |
||
40 |
as_nl=' |
|
41 |
' |
|
42 |
export as_nl |
|
43 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
44 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
45 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
46 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
47 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
48 |
# but without wasting forks for bash or zsh. |
|
49 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
50 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
51 |
as_echo='print -r --' |
|
52 |
as_echo_n='print -rn --' |
|
53 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
54 |
as_echo='printf %s\n' |
|
55 |
as_echo_n='printf %s' |
|
56 |
else |
|
57 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
58 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
59 |
as_echo_n='/usr/ucb/echo -n' |
|
60 |
else |
|
61 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
62 |
as_echo_n_body='eval |
|
63 |
arg=$1; |
|
64 |
case $arg in #( |
|
65 |
*"$as_nl"*) |
|
66 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
67 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
68 |
esac; |
|
69 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
70 |
' |
|
71 |
export as_echo_n_body |
|
72 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
73 |
fi |
|
74 |
export as_echo_body |
|
75 |
as_echo='sh -c $as_echo_body as_echo' |
|
76 |
fi |
|
77 |
||
78 |
# The user is always right. |
|
79 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
80 |
PATH_SEPARATOR=: |
|
81 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
82 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
83 |
PATH_SEPARATOR=';' |
|
84 |
} |
|
85 |
fi |
|
86 |
||
87 |
||
88 |
# IFS |
|
89 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
90 |
# there to prevent editors from complaining about space-tab. |
|
91 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
92 |
# splitting by setting IFS to empty value.) |
|
93 |
IFS=" "" $as_nl" |
|
94 |
||
95 |
# Find who we are. Look in the path if we contain no directory separator. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
96 |
as_myself= |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
97 |
case $0 in #(( |
98 |
*[\\/]* ) as_myself=$0 ;; |
|
99 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
100 |
for as_dir in $PATH |
|
101 |
do |
|
102 |
IFS=$as_save_IFS |
|
103 |
test -z "$as_dir" && as_dir=. |
|
104 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
105 |
done |
|
106 |
IFS=$as_save_IFS |
|
107 |
||
108 |
;; |
|
109 |
esac |
|
110 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
111 |
# in which case we are not to be found in the path. |
|
112 |
if test "x$as_myself" = x; then |
|
113 |
as_myself=$0 |
|
114 |
fi |
|
115 |
if test ! -f "$as_myself"; then |
|
116 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
117 |
exit 1 |
|
118 |
fi |
|
119 |
||
120 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
121 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
122 |
# suppresses any "Segmentation fault" message there. '((' could |
|
123 |
# trigger a bug in pdksh 5.2.14. |
|
124 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
125 |
do eval test x\${$as_var+set} = xset \ |
|
126 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
127 |
done |
|
128 |
PS1='$ ' |
|
129 |
PS2='> ' |
|
130 |
PS4='+ ' |
|
131 |
||
132 |
# NLS nuisances. |
|
133 |
LC_ALL=C |
|
134 |
export LC_ALL |
|
135 |
LANGUAGE=C |
|
136 |
export LANGUAGE |
|
137 |
||
138 |
# CDPATH. |
|
139 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
140 |
||
141 |
if test "x$CONFIG_SHELL" = x; then |
|
142 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
143 |
emulate sh |
|
144 |
NULLCMD=: |
|
145 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
146 |
# is contrary to our usage. Disable this feature. |
|
147 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
148 |
setopt NO_GLOB_SUBST |
|
149 |
else |
|
150 |
case \`(set -o) 2>/dev/null\` in #( |
|
151 |
*posix*) : |
|
152 |
set -o posix ;; #( |
|
153 |
*) : |
|
154 |
;; |
|
155 |
esac |
|
156 |
fi |
|
157 |
" |
|
158 |
as_required="as_fn_return () { (exit \$1); } |
|
159 |
as_fn_success () { as_fn_return 0; } |
|
160 |
as_fn_failure () { as_fn_return 1; } |
|
161 |
as_fn_ret_success () { return 0; } |
|
162 |
as_fn_ret_failure () { return 1; } |
|
163 |
||
164 |
exitcode=0 |
|
165 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
166 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
167 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
168 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
169 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
170 |
||
171 |
else |
|
172 |
exitcode=1; echo positional parameters were not saved. |
|
173 |
fi |
|
174 |
test x\$exitcode = x0 || exit 1" |
|
175 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
176 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
177 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
178 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
179 |
test \$(( 1 + 1 )) = 2 || exit 1 |
180 |
||
181 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
|
182 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
183 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
184 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
185 |
PATH=/empty FPATH=/empty; export PATH FPATH |
|
186 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
|
187 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
188 |
if (eval "$as_required") 2>/dev/null; then : |
189 |
as_have_required=yes |
|
190 |
else |
|
191 |
as_have_required=no |
|
192 |
fi |
|
193 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
194 |
||
195 |
else |
|
196 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
197 |
as_found=false |
|
198 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
199 |
do |
|
200 |
IFS=$as_save_IFS |
|
201 |
test -z "$as_dir" && as_dir=. |
|
202 |
as_found=: |
|
203 |
case $as_dir in #( |
|
204 |
/*) |
|
205 |
for as_base in sh bash ksh sh5; do |
|
206 |
# Try only shells that exist, to save several forks. |
|
207 |
as_shell=$as_dir/$as_base |
|
208 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
209 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
210 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
211 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
212 |
break 2 |
|
213 |
fi |
|
214 |
fi |
|
215 |
done;; |
|
216 |
esac |
|
217 |
as_found=false |
|
218 |
done |
|
219 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
220 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
221 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
222 |
fi; } |
|
223 |
IFS=$as_save_IFS |
|
224 |
||
225 |
||
226 |
if test "x$CONFIG_SHELL" != x; then : |
|
227 |
# We cannot yet assume a decent shell, so we have to provide a |
|
228 |
# neutralization value for shells without unset; and this also |
|
229 |
# works around shells that cannot unset nonexistent variables. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
230 |
# Preserve -v and -x to the replacement shell. |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
231 |
BASH_ENV=/dev/null |
232 |
ENV=/dev/null |
|
233 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
234 |
export CONFIG_SHELL |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
235 |
case $- in # (((( |
236 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
237 |
*v* ) as_opts=-v ;; |
|
238 |
*x* ) as_opts=-x ;; |
|
239 |
* ) as_opts= ;; |
|
240 |
esac |
|
241 |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
242 |
fi |
243 |
||
244 |
if test x$as_have_required = xno; then : |
|
245 |
$as_echo "$0: This script requires a shell more modern than all" |
|
246 |
$as_echo "$0: the shells that I found on your system." |
|
247 |
if test x${ZSH_VERSION+set} = xset ; then |
|
248 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
249 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
250 |
else |
|
251 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
|
252 |
$0: https://launchpad.net/gwibber about your system, |
|
253 |
$0: including any error possibly output before this |
|
254 |
$0: message. Then install a modern shell, or manually run |
|
255 |
$0: the script under such a shell if you do have one." |
|
256 |
fi |
|
257 |
exit 1 |
|
258 |
fi |
|
259 |
fi |
|
260 |
fi |
|
261 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
262 |
export SHELL |
|
263 |
# Unset more variables known to interfere with behavior of common tools. |
|
264 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
265 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
266 |
||
267 |
## --------------------- ## |
|
268 |
## M4sh Shell Functions. ## |
|
269 |
## --------------------- ## |
|
270 |
# as_fn_unset VAR |
|
271 |
# --------------- |
|
272 |
# Portably unset VAR. |
|
273 |
as_fn_unset () |
|
274 |
{ |
|
275 |
{ eval $1=; unset $1;} |
|
276 |
} |
|
277 |
as_unset=as_fn_unset |
|
278 |
||
279 |
# as_fn_set_status STATUS |
|
280 |
# ----------------------- |
|
281 |
# Set $? to STATUS, without forking. |
|
282 |
as_fn_set_status () |
|
283 |
{ |
|
284 |
return $1 |
|
285 |
} # as_fn_set_status |
|
286 |
||
287 |
# as_fn_exit STATUS |
|
288 |
# ----------------- |
|
289 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
290 |
as_fn_exit () |
|
291 |
{ |
|
292 |
set +e |
|
293 |
as_fn_set_status $1 |
|
294 |
exit $1 |
|
295 |
} # as_fn_exit |
|
296 |
||
297 |
# as_fn_mkdir_p |
|
298 |
# ------------- |
|
299 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
300 |
as_fn_mkdir_p () |
|
301 |
{ |
|
302 |
||
303 |
case $as_dir in #( |
|
304 |
-*) as_dir=./$as_dir;; |
|
305 |
esac |
|
306 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
307 |
as_dirs= |
|
308 |
while :; do |
|
309 |
case $as_dir in #( |
|
310 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
311 |
*) as_qdir=$as_dir;; |
|
312 |
esac |
|
313 |
as_dirs="'$as_qdir' $as_dirs" |
|
314 |
as_dir=`$as_dirname -- "$as_dir" || |
|
315 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
316 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
317 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
318 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
319 |
$as_echo X"$as_dir" | |
|
320 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
321 |
s//\1/ |
|
322 |
q |
|
323 |
} |
|
324 |
/^X\(\/\/\)[^/].*/{ |
|
325 |
s//\1/ |
|
326 |
q |
|
327 |
} |
|
328 |
/^X\(\/\/\)$/{ |
|
329 |
s//\1/ |
|
330 |
q |
|
331 |
} |
|
332 |
/^X\(\/\).*/{ |
|
333 |
s//\1/ |
|
334 |
q |
|
335 |
} |
|
336 |
s/.*/./; q'` |
|
337 |
test -d "$as_dir" && break |
|
338 |
done |
|
339 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
340 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
341 |
||
342 |
||
343 |
} # as_fn_mkdir_p |
|
344 |
# as_fn_append VAR VALUE |
|
345 |
# ---------------------- |
|
346 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
347 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
348 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
349 |
# implementations. |
|
350 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
351 |
eval 'as_fn_append () |
|
352 |
{ |
|
353 |
eval $1+=\$2 |
|
354 |
}' |
|
355 |
else |
|
356 |
as_fn_append () |
|
357 |
{ |
|
358 |
eval $1=\$$1\$2 |
|
359 |
} |
|
360 |
fi # as_fn_append |
|
361 |
||
362 |
# as_fn_arith ARG... |
|
363 |
# ------------------ |
|
364 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
365 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
366 |
# must be portable across $(()) and expr. |
|
367 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
368 |
eval 'as_fn_arith () |
|
369 |
{ |
|
370 |
as_val=$(( $* )) |
|
371 |
}' |
|
372 |
else |
|
373 |
as_fn_arith () |
|
374 |
{ |
|
375 |
as_val=`expr "$@" || test $? -eq 1` |
|
376 |
} |
|
377 |
fi # as_fn_arith |
|
378 |
||
379 |
||
380 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
381 |
# ---------------------------------------- |
|
382 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
383 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
384 |
# script with STATUS, using 1 if that was 0. |
|
385 |
as_fn_error () |
|
386 |
{ |
|
387 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
388 |
if test "$4"; then |
|
389 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
390 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
391 |
fi |
|
392 |
$as_echo "$as_me: error: $2" >&2 |
|
393 |
as_fn_exit $as_status |
|
394 |
} # as_fn_error |
|
395 |
||
396 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
397 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
398 |
as_expr=expr |
|
399 |
else |
|
400 |
as_expr=false |
|
401 |
fi |
|
402 |
||
403 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
404 |
as_basename=basename |
|
405 |
else |
|
406 |
as_basename=false |
|
407 |
fi |
|
408 |
||
409 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
410 |
as_dirname=dirname |
|
411 |
else |
|
412 |
as_dirname=false |
|
413 |
fi |
|
414 |
||
415 |
as_me=`$as_basename -- "$0" || |
|
416 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
417 |
X"$0" : 'X\(//\)$' \| \ |
|
418 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
419 |
$as_echo X/"$0" | |
|
420 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
421 |
s//\1/ |
|
422 |
q |
|
423 |
} |
|
424 |
/^X\/\(\/\/\)$/{ |
|
425 |
s//\1/ |
|
426 |
q |
|
427 |
} |
|
428 |
/^X\/\(\/\).*/{ |
|
429 |
s//\1/ |
|
430 |
q |
|
431 |
} |
|
432 |
s/.*/./; q'` |
|
433 |
||
434 |
# Avoid depending upon Character Ranges. |
|
435 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
436 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
437 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
438 |
as_cr_digits='0123456789' |
|
439 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
440 |
||
441 |
||
442 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
443 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
444 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
445 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
446 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
447 |
sed -n ' |
|
448 |
p |
|
449 |
/[$]LINENO/= |
|
450 |
' <$as_myself | |
|
451 |
sed ' |
|
452 |
s/[$]LINENO.*/&-/ |
|
453 |
t lineno |
|
454 |
b |
|
455 |
:lineno |
|
456 |
N |
|
457 |
:loop |
|
458 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
459 |
t loop |
|
460 |
s/-\n.*// |
|
461 |
' >$as_me.lineno && |
|
462 |
chmod +x "$as_me.lineno" || |
|
463 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
464 |
||
465 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
466 |
# (the dirname of $[0] is not the place where we might find the |
|
467 |
# original and so on. Autoconf is especially sensitive to this). |
|
468 |
. "./$as_me.lineno" |
|
469 |
# Exit status is that of the last command. |
|
470 |
exit |
|
471 |
} |
|
472 |
||
473 |
ECHO_C= ECHO_N= ECHO_T= |
|
474 |
case `echo -n x` in #((((( |
|
475 |
-n*) |
|
476 |
case `echo 'xy\c'` in |
|
477 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
478 |
xy) ECHO_C='\c';; |
|
479 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
480 |
ECHO_T=' ';; |
|
481 |
esac;; |
|
482 |
*) |
|
483 |
ECHO_N='-n';; |
|
484 |
esac |
|
485 |
||
486 |
rm -f conf$$ conf$$.exe conf$$.file |
|
487 |
if test -d conf$$.dir; then |
|
488 |
rm -f conf$$.dir/conf$$.file |
|
489 |
else |
|
490 |
rm -f conf$$.dir |
|
491 |
mkdir conf$$.dir 2>/dev/null |
|
492 |
fi |
|
493 |
if (echo >conf$$.file) 2>/dev/null; then |
|
494 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
495 |
as_ln_s='ln -s' |
|
496 |
# ... but there are two gotchas: |
|
497 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
498 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
499 |
# In both cases, we have to default to `cp -p'. |
|
500 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
501 |
as_ln_s='cp -p' |
|
502 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
503 |
as_ln_s=ln |
|
504 |
else |
|
505 |
as_ln_s='cp -p' |
|
506 |
fi |
|
507 |
else |
|
508 |
as_ln_s='cp -p' |
|
509 |
fi |
|
510 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
511 |
rmdir conf$$.dir 2>/dev/null |
|
512 |
||
513 |
if mkdir -p . 2>/dev/null; then |
|
514 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
515 |
else |
|
516 |
test -d ./-p && rmdir ./-p |
|
517 |
as_mkdir_p=false |
|
518 |
fi |
|
519 |
||
520 |
if test -x / >/dev/null 2>&1; then |
|
521 |
as_test_x='test -x' |
|
522 |
else |
|
523 |
if ls -dL / >/dev/null 2>&1; then |
|
524 |
as_ls_L_option=L |
|
525 |
else |
|
526 |
as_ls_L_option= |
|
527 |
fi |
|
528 |
as_test_x=' |
|
529 |
eval sh -c '\'' |
|
530 |
if test -d "$1"; then |
|
531 |
test -d "$1/."; |
|
532 |
else |
|
533 |
case $1 in #( |
|
534 |
-*)set "./$1";; |
|
535 |
esac; |
|
536 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
537 |
???[sx]*):;;*)false;;esac;fi |
|
538 |
'\'' sh |
|
539 |
' |
|
540 |
fi |
|
541 |
as_executable_p=$as_test_x |
|
542 |
||
543 |
# Sed expression to map a string onto a valid CPP name. |
|
544 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
545 |
||
546 |
# Sed expression to map a string onto a valid variable name. |
|
547 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
548 |
||
549 |
as_awk_strverscmp=' |
|
550 |
# Use only awk features that work with 7th edition Unix awk (1978). |
|
551 |
# My, what an old awk you have, Mr. Solaris! |
|
552 |
END { |
|
553 |
while (length(v1) && length(v2)) { |
|
554 |
# Set d1 to be the next thing to compare from v1, and likewise for d2. |
|
555 |
# Normally this is a single character, but if v1 and v2 contain digits, |
|
556 |
# compare them as integers and fractions as strverscmp does. |
|
557 |
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { |
|
558 |
# Split v1 and v2 into their leading digit string components d1 and d2, |
|
559 |
# and advance v1 and v2 past the leading digit strings. |
|
560 |
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue |
|
561 |
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue |
|
562 |
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) |
|
563 |
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) |
|
564 |
if (d1 ~ /^0/) { |
|
565 |
if (d2 ~ /^0/) { |
|
566 |
# Compare two fractions. |
|
567 |
while (d1 ~ /^0/ && d2 ~ /^0/) { |
|
568 |
d1 = substr(d1, 2); len1-- |
|
569 |
d2 = substr(d2, 2); len2-- |
|
570 |
} |
|
571 |
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { |
|
572 |
# The two components differ in length, and the common prefix |
|
573 |
# contains only leading zeros. Consider the longer to be less. |
|
574 |
d1 = -len1 |
|
575 |
d2 = -len2 |
|
576 |
} else { |
|
577 |
# Otherwise, compare as strings. |
|
578 |
d1 = "x" d1 |
|
579 |
d2 = "x" d2 |
|
580 |
} |
|
581 |
} else { |
|
582 |
# A fraction is less than an integer. |
|
583 |
exit 1 |
|
584 |
} |
|
585 |
} else { |
|
586 |
if (d2 ~ /^0/) { |
|
587 |
# An integer is greater than a fraction. |
|
588 |
exit 2 |
|
589 |
} else { |
|
590 |
# Compare two integers. |
|
591 |
d1 += 0 |
|
592 |
d2 += 0 |
|
593 |
} |
|
594 |
} |
|
595 |
} else { |
|
596 |
# The normal case, without worrying about digits. |
|
597 |
d1 = substr(v1, 1, 1); v1 = substr(v1, 2) |
|
598 |
d2 = substr(v2, 1, 1); v2 = substr(v2, 2) |
|
599 |
} |
|
600 |
if (d1 < d2) exit 1 |
|
601 |
if (d1 > d2) exit 2 |
|
602 |
} |
|
603 |
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), |
|
604 |
# which mishandles some comparisons of empty strings to integers. |
|
605 |
if (length(v2)) exit 1 |
|
606 |
if (length(v1)) exit 2 |
|
607 |
} |
|
608 |
' |
|
609 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
610 |
||
611 |
||
612 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
613 |
exec 6>&1 |
|
614 |
||
615 |
# Name of the host. |
|
616 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
617 |
# so uname gets run too. |
|
618 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
619 |
||
620 |
# |
|
621 |
# Initializations. |
|
622 |
# |
|
623 |
ac_default_prefix=/usr/local |
|
624 |
ac_clean_files= |
|
625 |
ac_config_libobj_dir=. |
|
626 |
LIBOBJS= |
|
627 |
cross_compiling=no |
|
628 |
subdirs= |
|
629 |
MFLAGS= |
|
630 |
MAKEFLAGS= |
|
631 |
||
632 |
# Identity of this package. |
|
633 |
PACKAGE_NAME='gwibber' |
|
634 |
PACKAGE_TARNAME='gwibber' |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
635 |
PACKAGE_VERSION='3.4.1' |
636 |
PACKAGE_STRING='gwibber 3.4.1' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
637 |
PACKAGE_BUGREPORT='https://launchpad.net/gwibber' |
638 |
PACKAGE_URL='' |
|
639 |
||
640 |
# Factoring default headers for most tests. |
|
641 |
ac_includes_default="\ |
|
642 |
#include <stdio.h> |
|
643 |
#ifdef HAVE_SYS_TYPES_H |
|
644 |
# include <sys/types.h> |
|
645 |
#endif |
|
646 |
#ifdef HAVE_SYS_STAT_H |
|
647 |
# include <sys/stat.h> |
|
648 |
#endif |
|
649 |
#ifdef STDC_HEADERS |
|
650 |
# include <stdlib.h> |
|
651 |
# include <stddef.h> |
|
652 |
#else |
|
653 |
# ifdef HAVE_STDLIB_H |
|
654 |
# include <stdlib.h> |
|
655 |
# endif |
|
656 |
#endif |
|
657 |
#ifdef HAVE_STRING_H |
|
658 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
659 |
# include <memory.h> |
|
660 |
# endif |
|
661 |
# include <string.h> |
|
662 |
#endif |
|
663 |
#ifdef HAVE_STRINGS_H |
|
664 |
# include <strings.h> |
|
665 |
#endif |
|
666 |
#ifdef HAVE_INTTYPES_H |
|
667 |
# include <inttypes.h> |
|
668 |
#endif |
|
669 |
#ifdef HAVE_STDINT_H |
|
670 |
# include <stdint.h> |
|
671 |
#endif |
|
672 |
#ifdef HAVE_UNISTD_H |
|
673 |
# include <unistd.h> |
|
674 |
#endif" |
|
675 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
676 |
gt_needs= |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
677 |
ac_subst_vars='am__EXEEXT_FALSE |
678 |
am__EXEEXT_TRUE |
|
679 |
LTLIBOBJS |
|
680 |
LIBOBJS |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
681 |
LENSESDIR |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
682 |
UNITY_LIBS |
683 |
UNITY_CFLAGS |
|
684 |
HAVE_UNITY_FALSE |
|
685 |
HAVE_UNITY_TRUE |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
686 |
HAVE_LOCALINSTALL_FALSE |
687 |
HAVE_LOCALINSTALL_TRUE |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
688 |
DBUSSERVICEDIR |
689 |
INTROSPECTION_TEN_FALSE |
|
690 |
INTROSPECTION_TEN_TRUE |
|
691 |
HAVE_INTROSPECTION_FALSE |
|
692 |
HAVE_INTROSPECTION_TRUE |
|
693 |
INTROSPECTION_MAKEFILE |
|
694 |
INTROSPECTION_LIBS |
|
695 |
INTROSPECTION_CFLAGS |
|
696 |
INTROSPECTION_TYPELIBDIR |
|
697 |
INTROSPECTION_GIRDIR |
|
698 |
INTROSPECTION_GENERATE |
|
699 |
INTROSPECTION_COMPILER |
|
700 |
INTROSPECTION_SCANNER |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
701 |
HAVE_GTKSPELL_FALSE |
702 |
HAVE_GTKSPELL_TRUE |
|
703 |
GTKSPELL_PKG |
|
704 |
GTKSPELL_LIBS |
|
705 |
GTKSPELL_CFLAGS |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
706 |
BASE_LIBS |
707 |
BASE_CFLAGS |
|
708 |
DEPRECATED_CFLAGS |
|
709 |
MAINTAINER_VALAFLAGS |
|
710 |
MAINTAINER_CFLAGS |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
711 |
INTLTOOL_LENS_RULE |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
712 |
GSETTINGS_RULES |
713 |
GLIB_COMPILE_SCHEMAS |
|
714 |
gsettingsschemadir |
|
715 |
PKG_CONFIG_LIBDIR |
|
716 |
PKG_CONFIG_PATH |
|
717 |
PKG_CONFIG |
|
718 |
GSETTINGS_DISABLE_SCHEMAS_COMPILE |
|
719 |
LIBGWIBBER_AGE |
|
720 |
LIBGWIBBER_REVISION |
|
721 |
LIBGWIBBER_CURRENT |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
722 |
DATADIRNAME |
723 |
ALL_LINGUAS |
|
724 |
INTLTOOL_PERL |
|
725 |
INTLTOOL_POLICY_RULE |
|
726 |
INTLTOOL_SERVICE_RULE |
|
727 |
INTLTOOL_THEME_RULE |
|
728 |
INTLTOOL_SCHEMAS_RULE |
|
729 |
INTLTOOL_CAVES_RULE |
|
730 |
INTLTOOL_XML_NOMERGE_RULE |
|
731 |
INTLTOOL_XML_RULE |
|
732 |
INTLTOOL_KBD_RULE |
|
733 |
INTLTOOL_XAM_RULE |
|
734 |
INTLTOOL_UI_RULE |
|
735 |
INTLTOOL_SOUNDLIST_RULE |
|
736 |
INTLTOOL_SHEET_RULE |
|
737 |
INTLTOOL_SERVER_RULE |
|
738 |
INTLTOOL_PONG_RULE |
|
739 |
INTLTOOL_OAF_RULE |
|
740 |
INTLTOOL_PROP_RULE |
|
741 |
INTLTOOL_KEYS_RULE |
|
742 |
INTLTOOL_DIRECTORY_RULE |
|
743 |
INTLTOOL_DESKTOP_RULE |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
744 |
intltool__v_merge_options_0 |
745 |
intltool__v_merge_options_ |
|
746 |
INTLTOOL_V_MERGE_OPTIONS |
|
747 |
INTLTOOL__v_MERGE_0 |
|
748 |
INTLTOOL__v_MERGE_ |
|
749 |
INTLTOOL_V_MERGE |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
750 |
INTLTOOL_EXTRACT |
751 |
INTLTOOL_MERGE |
|
752 |
INTLTOOL_UPDATE |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
753 |
POSUB |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
754 |
LTLIBINTL |
755 |
LIBINTL |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
756 |
INTLLIBS |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
757 |
LTLIBICONV |
758 |
LIBICONV |
|
759 |
INTL_MACOSX_LIBS |
|
760 |
XGETTEXT_EXTRA_OPTIONS |
|
761 |
MSGMERGE |
|
762 |
XGETTEXT_015 |
|
763 |
XGETTEXT |
|
764 |
GMSGFMT_015 |
|
765 |
MSGFMT_015 |
|
766 |
GMSGFMT |
|
767 |
MSGFMT |
|
768 |
GETTEXT_MACRO_VERSION |
|
769 |
USE_NLS |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
770 |
GETTEXT_PACKAGE |
771 |
pkgpyexecdir |
|
772 |
pyexecdir |
|
773 |
pkgpythondir |
|
774 |
pythondir |
|
775 |
PYTHON_PLATFORM |
|
776 |
PYTHON_EXEC_PREFIX |
|
777 |
PYTHON_PREFIX |
|
778 |
PYTHON_VERSION |
|
779 |
PYTHON |
|
780 |
OTOOL64 |
|
781 |
OTOOL |
|
782 |
LIPO |
|
783 |
NMEDIT |
|
784 |
DSYMUTIL |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
785 |
MANIFEST_TOOL |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
786 |
RANLIB |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
787 |
ac_ct_AR |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
788 |
AR |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
789 |
DLLTOOL |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
790 |
OBJDUMP |
791 |
LN_S |
|
792 |
NM |
|
793 |
ac_ct_DUMPBIN |
|
794 |
DUMPBIN |
|
795 |
LD |
|
796 |
FGREP |
|
797 |
SED |
|
798 |
host_os |
|
799 |
host_vendor |
|
800 |
host_cpu |
|
801 |
host |
|
802 |
build_os |
|
803 |
build_vendor |
|
804 |
build_cpu |
|
805 |
build |
|
806 |
LIBTOOL |
|
807 |
EGREP |
|
808 |
GREP |
|
809 |
CPP |
|
810 |
am__fastdepCC_FALSE |
|
811 |
am__fastdepCC_TRUE |
|
812 |
CCDEPMODE |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
813 |
am__nodep |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
814 |
AMDEPBACKSLASH |
815 |
AMDEP_FALSE |
|
816 |
AMDEP_TRUE |
|
817 |
am__quote |
|
818 |
am__include |
|
819 |
DEPDIR |
|
820 |
OBJEXT |
|
821 |
EXEEXT |
|
822 |
ac_ct_CC |
|
823 |
CPPFLAGS |
|
824 |
LDFLAGS |
|
825 |
CFLAGS |
|
826 |
CC |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
827 |
VALAC |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
828 |
MAINT |
829 |
MAINTAINER_MODE_FALSE |
|
830 |
MAINTAINER_MODE_TRUE |
|
831 |
GWIBBER_API_VERSION |
|
832 |
GWIBBER_VERSION |
|
833 |
GWIBBER_MICRO_VERSION |
|
834 |
GWIBBER_MINOR_VERSION |
|
835 |
GWIBBER_MAJOR_VERSION |
|
836 |
am__untar |
|
837 |
am__tar |
|
838 |
AMTAR |
|
839 |
am__leading_dot |
|
840 |
SET_MAKE |
|
841 |
AWK |
|
842 |
mkdir_p |
|
843 |
MKDIR_P |
|
844 |
INSTALL_STRIP_PROGRAM |
|
845 |
STRIP |
|
846 |
install_sh |
|
847 |
MAKEINFO |
|
848 |
AUTOHEADER |
|
849 |
AUTOMAKE |
|
850 |
AUTOCONF |
|
851 |
ACLOCAL |
|
852 |
VERSION |
|
853 |
PACKAGE |
|
854 |
CYGPATH_W |
|
855 |
am__isrc |
|
856 |
INSTALL_DATA |
|
857 |
INSTALL_SCRIPT |
|
858 |
INSTALL_PROGRAM |
|
859 |
AM_BACKSLASH |
|
860 |
AM_DEFAULT_VERBOSITY |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
861 |
AM_DEFAULT_V |
862 |
AM_V |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
863 |
target_alias |
864 |
host_alias |
|
865 |
build_alias |
|
866 |
LIBS |
|
867 |
ECHO_T |
|
868 |
ECHO_N |
|
869 |
ECHO_C |
|
870 |
DEFS |
|
871 |
mandir |
|
872 |
localedir |
|
873 |
libdir |
|
874 |
psdir |
|
875 |
pdfdir |
|
876 |
dvidir |
|
877 |
htmldir |
|
878 |
infodir |
|
879 |
docdir |
|
880 |
oldincludedir |
|
881 |
includedir |
|
882 |
localstatedir |
|
883 |
sharedstatedir |
|
884 |
sysconfdir |
|
885 |
datadir |
|
886 |
datarootdir |
|
887 |
libexecdir |
|
888 |
sbindir |
|
889 |
bindir |
|
890 |
program_transform_name |
|
891 |
prefix |
|
892 |
exec_prefix |
|
893 |
PACKAGE_URL |
|
894 |
PACKAGE_BUGREPORT |
|
895 |
PACKAGE_STRING |
|
896 |
PACKAGE_VERSION |
|
897 |
PACKAGE_TARNAME |
|
898 |
PACKAGE_NAME |
|
899 |
PATH_SEPARATOR |
|
900 |
SHELL' |
|
901 |
ac_subst_files='' |
|
902 |
ac_user_opts=' |
|
903 |
enable_option_checking |
|
904 |
enable_silent_rules |
|
905 |
enable_maintainer_mode |
|
906 |
enable_dependency_tracking |
|
907 |
enable_shared |
|
908 |
enable_static |
|
909 |
with_pic |
|
910 |
enable_fast_install |
|
911 |
with_gnu_ld |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
912 |
with_sysroot |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
913 |
enable_libtool_lock |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
914 |
enable_nls |
915 |
enable_rpath |
|
916 |
with_libiconv_prefix |
|
917 |
with_libintl_prefix |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
918 |
enable_schemas_compile |
919 |
enable_maintainer_flags |
|
920 |
enable_deprecated |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
921 |
enable_spell |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
922 |
enable_introspection |
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
923 |
enable_localinstall |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
924 |
enable_unity |
925 |
' |
|
926 |
ac_precious_vars='build_alias |
|
927 |
host_alias |
|
928 |
target_alias |
|
929 |
CC |
|
930 |
CFLAGS |
|
931 |
LDFLAGS |
|
932 |
LIBS |
|
933 |
CPPFLAGS |
|
934 |
CPP |
|
935 |
PKG_CONFIG |
|
936 |
PKG_CONFIG_PATH |
|
937 |
PKG_CONFIG_LIBDIR |
|
938 |
BASE_CFLAGS |
|
939 |
BASE_LIBS |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
940 |
GTKSPELL_CFLAGS |
941 |
GTKSPELL_LIBS |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
942 |
UNITY_CFLAGS |
943 |
UNITY_LIBS' |
|
944 |
||
945 |
||
946 |
# Initialize some variables set by options. |
|
947 |
ac_init_help= |
|
948 |
ac_init_version=false |
|
949 |
ac_unrecognized_opts= |
|
950 |
ac_unrecognized_sep= |
|
951 |
# The variables have the same names as the options, with |
|
952 |
# dashes changed to underlines. |
|
953 |
cache_file=/dev/null |
|
954 |
exec_prefix=NONE |
|
955 |
no_create= |
|
956 |
no_recursion= |
|
957 |
prefix=NONE |
|
958 |
program_prefix=NONE |
|
959 |
program_suffix=NONE |
|
960 |
program_transform_name=s,x,x, |
|
961 |
silent= |
|
962 |
site= |
|
963 |
srcdir= |
|
964 |
verbose= |
|
965 |
x_includes=NONE |
|
966 |
x_libraries=NONE |
|
967 |
||
968 |
# Installation directory options. |
|
969 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
970 |
# and all the variables that are supposed to be based on exec_prefix |
|
971 |
# by default will actually change. |
|
972 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
973 |
# (The list follows the same order as the GNU Coding Standards.) |
|
974 |
bindir='${exec_prefix}/bin' |
|
975 |
sbindir='${exec_prefix}/sbin' |
|
976 |
libexecdir='${exec_prefix}/libexec' |
|
977 |
datarootdir='${prefix}/share' |
|
978 |
datadir='${datarootdir}' |
|
979 |
sysconfdir='${prefix}/etc' |
|
980 |
sharedstatedir='${prefix}/com' |
|
981 |
localstatedir='${prefix}/var' |
|
982 |
includedir='${prefix}/include' |
|
983 |
oldincludedir='/usr/include' |
|
984 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
985 |
infodir='${datarootdir}/info' |
|
986 |
htmldir='${docdir}' |
|
987 |
dvidir='${docdir}' |
|
988 |
pdfdir='${docdir}' |
|
989 |
psdir='${docdir}' |
|
990 |
libdir='${exec_prefix}/lib' |
|
991 |
localedir='${datarootdir}/locale' |
|
992 |
mandir='${datarootdir}/man' |
|
993 |
||
994 |
ac_prev= |
|
995 |
ac_dashdash= |
|
996 |
for ac_option |
|
997 |
do |
|
998 |
# If the previous option needs an argument, assign it. |
|
999 |
if test -n "$ac_prev"; then |
|
1000 |
eval $ac_prev=\$ac_option |
|
1001 |
ac_prev= |
|
1002 |
continue |
|
1003 |
fi |
|
1004 |
||
1005 |
case $ac_option in |
|
1006 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
1007 |
*=) ac_optarg= ;; |
|
1008 |
*) ac_optarg=yes ;; |
|
1009 |
esac |
|
1010 |
||
1011 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
1012 |
||
1013 |
case $ac_dashdash$ac_option in |
|
1014 |
--) |
|
1015 |
ac_dashdash=yes ;; |
|
1016 |
||
1017 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
1018 |
ac_prev=bindir ;; |
|
1019 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
1020 |
bindir=$ac_optarg ;; |
|
1021 |
||
1022 |
-build | --build | --buil | --bui | --bu) |
|
1023 |
ac_prev=build_alias ;; |
|
1024 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
1025 |
build_alias=$ac_optarg ;; |
|
1026 |
||
1027 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
1028 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
1029 |
ac_prev=cache_file ;; |
|
1030 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
1031 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
1032 |
cache_file=$ac_optarg ;; |
|
1033 |
||
1034 |
--config-cache | -C) |
|
1035 |
cache_file=config.cache ;; |
|
1036 |
||
1037 |
-datadir | --datadir | --datadi | --datad) |
|
1038 |
ac_prev=datadir ;; |
|
1039 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
1040 |
datadir=$ac_optarg ;; |
|
1041 |
||
1042 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
1043 |
| --dataroo | --dataro | --datar) |
|
1044 |
ac_prev=datarootdir ;; |
|
1045 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
1046 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
1047 |
datarootdir=$ac_optarg ;; |
|
1048 |
||
1049 |
-disable-* | --disable-*) |
|
1050 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
1051 |
# Reject names that are not valid shell variable names. |
|
1052 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1053 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
1054 |
ac_useropt_orig=$ac_useropt |
|
1055 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1056 |
case $ac_user_opts in |
|
1057 |
*" |
|
1058 |
"enable_$ac_useropt" |
|
1059 |
"*) ;; |
|
1060 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
1061 |
ac_unrecognized_sep=', ';; |
|
1062 |
esac |
|
1063 |
eval enable_$ac_useropt=no ;; |
|
1064 |
||
1065 |
-docdir | --docdir | --docdi | --doc | --do) |
|
1066 |
ac_prev=docdir ;; |
|
1067 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
1068 |
docdir=$ac_optarg ;; |
|
1069 |
||
1070 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
1071 |
ac_prev=dvidir ;; |
|
1072 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
1073 |
dvidir=$ac_optarg ;; |
|
1074 |
||
1075 |
-enable-* | --enable-*) |
|
1076 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
1077 |
# Reject names that are not valid shell variable names. |
|
1078 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1079 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
1080 |
ac_useropt_orig=$ac_useropt |
|
1081 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1082 |
case $ac_user_opts in |
|
1083 |
*" |
|
1084 |
"enable_$ac_useropt" |
|
1085 |
"*) ;; |
|
1086 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
1087 |
ac_unrecognized_sep=', ';; |
|
1088 |
esac |
|
1089 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
1090 |
||
1091 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
1092 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
1093 |
| --exec | --exe | --ex) |
|
1094 |
ac_prev=exec_prefix ;; |
|
1095 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
1096 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
1097 |
| --exec=* | --exe=* | --ex=*) |
|
1098 |
exec_prefix=$ac_optarg ;; |
|
1099 |
||
1100 |
-gas | --gas | --ga | --g) |
|
1101 |
# Obsolete; use --with-gas. |
|
1102 |
with_gas=yes ;; |
|
1103 |
||
1104 |
-help | --help | --hel | --he | -h) |
|
1105 |
ac_init_help=long ;; |
|
1106 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
1107 |
ac_init_help=recursive ;; |
|
1108 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
1109 |
ac_init_help=short ;; |
|
1110 |
||
1111 |
-host | --host | --hos | --ho) |
|
1112 |
ac_prev=host_alias ;; |
|
1113 |
-host=* | --host=* | --hos=* | --ho=*) |
|
1114 |
host_alias=$ac_optarg ;; |
|
1115 |
||
1116 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
1117 |
ac_prev=htmldir ;; |
|
1118 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
1119 |
| --ht=*) |
|
1120 |
htmldir=$ac_optarg ;; |
|
1121 |
||
1122 |
-includedir | --includedir | --includedi | --included | --include \ |
|
1123 |
| --includ | --inclu | --incl | --inc) |
|
1124 |
ac_prev=includedir ;; |
|
1125 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
1126 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
1127 |
includedir=$ac_optarg ;; |
|
1128 |
||
1129 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
1130 |
ac_prev=infodir ;; |
|
1131 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
1132 |
infodir=$ac_optarg ;; |
|
1133 |
||
1134 |
-libdir | --libdir | --libdi | --libd) |
|
1135 |
ac_prev=libdir ;; |
|
1136 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
1137 |
libdir=$ac_optarg ;; |
|
1138 |
||
1139 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
1140 |
| --libexe | --libex | --libe) |
|
1141 |
ac_prev=libexecdir ;; |
|
1142 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
1143 |
| --libexe=* | --libex=* | --libe=*) |
|
1144 |
libexecdir=$ac_optarg ;; |
|
1145 |
||
1146 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
1147 |
ac_prev=localedir ;; |
|
1148 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1149 |
localedir=$ac_optarg ;; |
|
1150 |
||
1151 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
1152 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
1153 |
ac_prev=localstatedir ;; |
|
1154 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1155 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
1156 |
localstatedir=$ac_optarg ;; |
|
1157 |
||
1158 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1159 |
ac_prev=mandir ;; |
|
1160 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1161 |
mandir=$ac_optarg ;; |
|
1162 |
||
1163 |
-nfp | --nfp | --nf) |
|
1164 |
# Obsolete; use --without-fp. |
|
1165 |
with_fp=no ;; |
|
1166 |
||
1167 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1168 |
| --no-cr | --no-c | -n) |
|
1169 |
no_create=yes ;; |
|
1170 |
||
1171 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1172 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1173 |
no_recursion=yes ;; |
|
1174 |
||
1175 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1176 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1177 |
| --oldin | --oldi | --old | --ol | --o) |
|
1178 |
ac_prev=oldincludedir ;; |
|
1179 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1180 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1181 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1182 |
oldincludedir=$ac_optarg ;; |
|
1183 |
||
1184 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1185 |
ac_prev=prefix ;; |
|
1186 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1187 |
prefix=$ac_optarg ;; |
|
1188 |
||
1189 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1190 |
| --program-pre | --program-pr | --program-p) |
|
1191 |
ac_prev=program_prefix ;; |
|
1192 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1193 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1194 |
program_prefix=$ac_optarg ;; |
|
1195 |
||
1196 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1197 |
| --program-suf | --program-su | --program-s) |
|
1198 |
ac_prev=program_suffix ;; |
|
1199 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1200 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1201 |
program_suffix=$ac_optarg ;; |
|
1202 |
||
1203 |
-program-transform-name | --program-transform-name \ |
|
1204 |
| --program-transform-nam | --program-transform-na \ |
|
1205 |
| --program-transform-n | --program-transform- \ |
|
1206 |
| --program-transform | --program-transfor \ |
|
1207 |
| --program-transfo | --program-transf \ |
|
1208 |
| --program-trans | --program-tran \ |
|
1209 |
| --progr-tra | --program-tr | --program-t) |
|
1210 |
ac_prev=program_transform_name ;; |
|
1211 |
-program-transform-name=* | --program-transform-name=* \ |
|
1212 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1213 |
| --program-transform-n=* | --program-transform-=* \ |
|
1214 |
| --program-transform=* | --program-transfor=* \ |
|
1215 |
| --program-transfo=* | --program-transf=* \ |
|
1216 |
| --program-trans=* | --program-tran=* \ |
|
1217 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1218 |
program_transform_name=$ac_optarg ;; |
|
1219 |
||
1220 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1221 |
ac_prev=pdfdir ;; |
|
1222 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1223 |
pdfdir=$ac_optarg ;; |
|
1224 |
||
1225 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1226 |
ac_prev=psdir ;; |
|
1227 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1228 |
psdir=$ac_optarg ;; |
|
1229 |
||
1230 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1231 |
| -silent | --silent | --silen | --sile | --sil) |
|
1232 |
silent=yes ;; |
|
1233 |
||
1234 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1235 |
ac_prev=sbindir ;; |
|
1236 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1237 |
| --sbi=* | --sb=*) |
|
1238 |
sbindir=$ac_optarg ;; |
|
1239 |
||
1240 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1241 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1242 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1243 |
| --sha | --sh) |
|
1244 |
ac_prev=sharedstatedir ;; |
|
1245 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1246 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1247 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1248 |
| --sha=* | --sh=*) |
|
1249 |
sharedstatedir=$ac_optarg ;; |
|
1250 |
||
1251 |
-site | --site | --sit) |
|
1252 |
ac_prev=site ;; |
|
1253 |
-site=* | --site=* | --sit=*) |
|
1254 |
site=$ac_optarg ;; |
|
1255 |
||
1256 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1257 |
ac_prev=srcdir ;; |
|
1258 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1259 |
srcdir=$ac_optarg ;; |
|
1260 |
||
1261 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1262 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1263 |
ac_prev=sysconfdir ;; |
|
1264 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1265 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1266 |
sysconfdir=$ac_optarg ;; |
|
1267 |
||
1268 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1269 |
ac_prev=target_alias ;; |
|
1270 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1271 |
target_alias=$ac_optarg ;; |
|
1272 |
||
1273 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1274 |
verbose=yes ;; |
|
1275 |
||
1276 |
-version | --version | --versio | --versi | --vers | -V) |
|
1277 |
ac_init_version=: ;; |
|
1278 |
||
1279 |
-with-* | --with-*) |
|
1280 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1281 |
# Reject names that are not valid shell variable names. |
|
1282 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1283 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1284 |
ac_useropt_orig=$ac_useropt |
|
1285 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1286 |
case $ac_user_opts in |
|
1287 |
*" |
|
1288 |
"with_$ac_useropt" |
|
1289 |
"*) ;; |
|
1290 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1291 |
ac_unrecognized_sep=', ';; |
|
1292 |
esac |
|
1293 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1294 |
||
1295 |
-without-* | --without-*) |
|
1296 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1297 |
# Reject names that are not valid shell variable names. |
|
1298 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1299 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1300 |
ac_useropt_orig=$ac_useropt |
|
1301 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1302 |
case $ac_user_opts in |
|
1303 |
*" |
|
1304 |
"with_$ac_useropt" |
|
1305 |
"*) ;; |
|
1306 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1307 |
ac_unrecognized_sep=', ';; |
|
1308 |
esac |
|
1309 |
eval with_$ac_useropt=no ;; |
|
1310 |
||
1311 |
--x) |
|
1312 |
# Obsolete; use --with-x. |
|
1313 |
with_x=yes ;; |
|
1314 |
||
1315 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1316 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1317 |
ac_prev=x_includes ;; |
|
1318 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1319 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1320 |
x_includes=$ac_optarg ;; |
|
1321 |
||
1322 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1323 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1324 |
ac_prev=x_libraries ;; |
|
1325 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1326 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1327 |
x_libraries=$ac_optarg ;; |
|
1328 |
||
1329 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1330 |
Try \`$0 --help' for more information" |
|
1331 |
;; |
|
1332 |
||
1333 |
*=*) |
|
1334 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1335 |
# Reject names that are not valid shell variable names. |
|
1336 |
case $ac_envvar in #( |
|
1337 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1338 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1339 |
esac |
|
1340 |
eval $ac_envvar=\$ac_optarg |
|
1341 |
export $ac_envvar ;; |
|
1342 |
||
1343 |
*) |
|
1344 |
# FIXME: should be removed in autoconf 3.0. |
|
1345 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1346 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1347 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1348 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1349 |
;; |
1350 |
||
1351 |
esac |
|
1352 |
done |
|
1353 |
||
1354 |
if test -n "$ac_prev"; then |
|
1355 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1356 |
as_fn_error $? "missing argument to $ac_option" |
|
1357 |
fi |
|
1358 |
||
1359 |
if test -n "$ac_unrecognized_opts"; then |
|
1360 |
case $enable_option_checking in |
|
1361 |
no) ;; |
|
1362 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1363 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1364 |
esac |
|
1365 |
fi |
|
1366 |
||
1367 |
# Check all directory arguments for consistency. |
|
1368 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1369 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1370 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1371 |
libdir localedir mandir |
|
1372 |
do |
|
1373 |
eval ac_val=\$$ac_var |
|
1374 |
# Remove trailing slashes. |
|
1375 |
case $ac_val in |
|
1376 |
*/ ) |
|
1377 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1378 |
eval $ac_var=\$ac_val;; |
|
1379 |
esac |
|
1380 |
# Be sure to have absolute directory names. |
|
1381 |
case $ac_val in |
|
1382 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1383 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1384 |
esac |
|
1385 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1386 |
done |
|
1387 |
||
1388 |
# There might be people who depend on the old broken behavior: `$host' |
|
1389 |
# used to hold the argument of --host etc. |
|
1390 |
# FIXME: To remove some day. |
|
1391 |
build=$build_alias |
|
1392 |
host=$host_alias |
|
1393 |
target=$target_alias |
|
1394 |
||
1395 |
# FIXME: To remove some day. |
|
1396 |
if test "x$host_alias" != x; then |
|
1397 |
if test "x$build_alias" = x; then |
|
1398 |
cross_compiling=maybe |
|
1399 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
1400 |
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
1401 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1402 |
cross_compiling=yes |
|
1403 |
fi |
|
1404 |
fi |
|
1405 |
||
1406 |
ac_tool_prefix= |
|
1407 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1408 |
||
1409 |
test "$silent" = yes && exec 6>/dev/null |
|
1410 |
||
1411 |
||
1412 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1413 |
ac_ls_di=`ls -di .` && |
|
1414 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1415 |
as_fn_error $? "working directory cannot be determined" |
|
1416 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1417 |
as_fn_error $? "pwd does not report name of working directory" |
|
1418 |
||
1419 |
||
1420 |
# Find the source files, if location was not specified. |
|
1421 |
if test -z "$srcdir"; then |
|
1422 |
ac_srcdir_defaulted=yes |
|
1423 |
# Try the directory containing this script, then the parent directory. |
|
1424 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1425 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1426 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1427 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1428 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1429 |
$as_echo X"$as_myself" | |
|
1430 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1431 |
s//\1/ |
|
1432 |
q |
|
1433 |
} |
|
1434 |
/^X\(\/\/\)[^/].*/{ |
|
1435 |
s//\1/ |
|
1436 |
q |
|
1437 |
} |
|
1438 |
/^X\(\/\/\)$/{ |
|
1439 |
s//\1/ |
|
1440 |
q |
|
1441 |
} |
|
1442 |
/^X\(\/\).*/{ |
|
1443 |
s//\1/ |
|
1444 |
q |
|
1445 |
} |
|
1446 |
s/.*/./; q'` |
|
1447 |
srcdir=$ac_confdir |
|
1448 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1449 |
srcdir=.. |
|
1450 |
fi |
|
1451 |
else |
|
1452 |
ac_srcdir_defaulted=no |
|
1453 |
fi |
|
1454 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1455 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1456 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1457 |
fi |
|
1458 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1459 |
ac_abs_confdir=`( |
|
1460 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1461 |
pwd)` |
|
1462 |
# When building in place, set srcdir=. |
|
1463 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1464 |
srcdir=. |
|
1465 |
fi |
|
1466 |
# Remove unnecessary trailing slashes from srcdir. |
|
1467 |
# Double slashes in file names in object file debugging info |
|
1468 |
# mess up M-x gdb in Emacs. |
|
1469 |
case $srcdir in |
|
1470 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1471 |
esac |
|
1472 |
for ac_var in $ac_precious_vars; do |
|
1473 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1474 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1475 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1476 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1477 |
done |
|
1478 |
||
1479 |
# |
|
1480 |
# Report the --help message. |
|
1481 |
# |
|
1482 |
if test "$ac_init_help" = "long"; then |
|
1483 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1484 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1485 |
cat <<_ACEOF |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
1486 |
\`configure' configures gwibber 3.4.1 to adapt to many kinds of systems. |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1487 |
|
1488 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1489 |
||
1490 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1491 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1492 |
||
1493 |
Defaults for the options are specified in brackets. |
|
1494 |
||
1495 |
Configuration: |
|
1496 |
-h, --help display this help and exit |
|
1497 |
--help=short display options specific to this package |
|
1498 |
--help=recursive display the short help of all the included packages |
|
1499 |
-V, --version display version information and exit |
|
1500 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1501 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1502 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1503 |
-n, --no-create do not create output files |
|
1504 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1505 |
||
1506 |
Installation directories: |
|
1507 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1508 |
[$ac_default_prefix] |
|
1509 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1510 |
[PREFIX] |
|
1511 |
||
1512 |
By default, \`make install' will install all the files in |
|
1513 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1514 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1515 |
for instance \`--prefix=\$HOME'. |
|
1516 |
||
1517 |
For better control, use the options below. |
|
1518 |
||
1519 |
Fine tuning of the installation directories: |
|
1520 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1521 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1522 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1523 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1524 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1525 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1526 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1527 |
--includedir=DIR C header files [PREFIX/include] |
|
1528 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1529 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1530 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1531 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1532 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1533 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1534 |
--docdir=DIR documentation root [DATAROOTDIR/doc/gwibber] |
|
1535 |
--htmldir=DIR html documentation [DOCDIR] |
|
1536 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1537 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1538 |
--psdir=DIR ps documentation [DOCDIR] |
|
1539 |
_ACEOF |
|
1540 |
||
1541 |
cat <<\_ACEOF |
|
1542 |
||
1543 |
Program names: |
|
1544 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1545 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1546 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1547 |
||
1548 |
System types: |
|
1549 |
--build=BUILD configure for building on BUILD [guessed] |
|
1550 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1551 |
_ACEOF |
|
1552 |
fi |
|
1553 |
||
1554 |
if test -n "$ac_init_help"; then |
|
1555 |
case $ac_init_help in |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
1556 |
short | recursive ) echo "Configuration of gwibber 3.4.1:";; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1557 |
esac |
1558 |
cat <<\_ACEOF |
|
1559 |
||
1560 |
Optional Features: |
|
1561 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
1562 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1563 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1564 |
--enable-silent-rules less verbose build output (undo: `make V=1') |
|
1565 |
--disable-silent-rules verbose build output (undo: `make V=0') |
|
1566 |
--enable-maintainer-mode enable make rules and dependencies not useful |
|
1567 |
(and sometimes confusing) to the casual installer |
|
1568 |
--disable-dependency-tracking speeds up one-time build |
|
1569 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
1570 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
|
1571 |
--enable-static[=PKGS] build static libraries [default=yes] |
|
1572 |
--enable-fast-install[=PKGS] |
|
1573 |
optimize for fast installation [default=yes] |
|
1574 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
1575 |
--disable-nls do not use Native Language Support |
1576 |
--disable-rpath do not hardcode runtime library paths |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1577 |
--disable-schemas-compile |
1578 |
Disable regeneration of gschemas.compiled on install |
|
1579 |
--enable-maintainer-flags=[no/yes@:>: |
|
1580 |
Use string compiler flags [default=no] |
|
1581 |
--disable-deprecated Add extra compiler flags disabling deprecated APIs |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1582 |
--enable-spell enable gtkspell [default=yes] |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1583 |
--enable-introspection=[no/auto/yes] |
1584 |
Enable introspection for this build |
|
1585 |
--enable-localinstall Install all of the files locally instead of in |
|
1586 |
system directories (for distcheck) |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
1587 |
--enable-unity Enable building of the Unity lens |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1588 |
|
1589 |
Optional Packages: |
|
1590 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1591 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
1592 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1593 |
both] |
1594 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1595 |
--with-sysroot=DIR Search for dependent libraries within DIR |
1596 |
(or the compiler's sysroot if not specified). |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
1597 |
--with-gnu-ld assume the C compiler uses GNU ld default=no |
1598 |
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
|
1599 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir |
|
1600 |
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
|
1601 |
--without-libintl-prefix don't search for libintl in includedir and libdir |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1602 |
|
1603 |
Some influential environment variables: |
|
1604 |
CC C compiler command |
|
1605 |
CFLAGS C compiler flags |
|
1606 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1607 |
nonstandard directory <lib dir> |
|
1608 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
1609 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1610 |
you have headers in a nonstandard directory <include dir> |
|
1611 |
CPP C preprocessor |
|
1612 |
PKG_CONFIG path to pkg-config utility |
|
1613 |
PKG_CONFIG_PATH |
|
1614 |
directories to add to pkg-config's search path |
|
1615 |
PKG_CONFIG_LIBDIR |
|
1616 |
path overriding pkg-config's built-in search path |
|
1617 |
BASE_CFLAGS C compiler flags for BASE, overriding pkg-config |
|
1618 |
BASE_LIBS linker flags for BASE, overriding pkg-config |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1619 |
GTKSPELL_CFLAGS |
1620 |
C compiler flags for GTKSPELL, overriding pkg-config |
|
1621 |
GTKSPELL_LIBS |
|
1622 |
linker flags for GTKSPELL, overriding pkg-config |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1623 |
UNITY_CFLAGS |
1624 |
C compiler flags for UNITY, overriding pkg-config |
|
1625 |
UNITY_LIBS linker flags for UNITY, overriding pkg-config |
|
1626 |
||
1627 |
Use these variables to override the choices made by `configure' or to help |
|
1628 |
it to find libraries and programs with nonstandard names/locations. |
|
1629 |
||
1630 |
Report bugs to <https://launchpad.net/gwibber>. |
|
1631 |
_ACEOF |
|
1632 |
ac_status=$? |
|
1633 |
fi |
|
1634 |
||
1635 |
if test "$ac_init_help" = "recursive"; then |
|
1636 |
# If there are subdirs, report their specific --help. |
|
1637 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1638 |
test -d "$ac_dir" || |
|
1639 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1640 |
continue |
|
1641 |
ac_builddir=. |
|
1642 |
||
1643 |
case "$ac_dir" in |
|
1644 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1645 |
*) |
|
1646 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1647 |
# A ".." for each directory in $ac_dir_suffix. |
|
1648 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1649 |
case $ac_top_builddir_sub in |
|
1650 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1651 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1652 |
esac ;; |
|
1653 |
esac |
|
1654 |
ac_abs_top_builddir=$ac_pwd |
|
1655 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1656 |
# for backward compatibility: |
|
1657 |
ac_top_builddir=$ac_top_build_prefix |
|
1658 |
||
1659 |
case $srcdir in |
|
1660 |
.) # We are building in place. |
|
1661 |
ac_srcdir=. |
|
1662 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1663 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1664 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1665 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1666 |
ac_top_srcdir=$srcdir |
|
1667 |
ac_abs_top_srcdir=$srcdir ;; |
|
1668 |
*) # Relative name. |
|
1669 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1670 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1671 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1672 |
esac |
|
1673 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1674 |
||
1675 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1676 |
# Check for guested configure. |
|
1677 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1678 |
echo && |
|
1679 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1680 |
elif test -f "$ac_srcdir/configure"; then |
|
1681 |
echo && |
|
1682 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1683 |
else |
|
1684 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1685 |
fi || ac_status=$? |
|
1686 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1687 |
done |
|
1688 |
fi |
|
1689 |
||
1690 |
test -n "$ac_init_help" && exit $ac_status |
|
1691 |
if $ac_init_version; then |
|
1692 |
cat <<\_ACEOF |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
1693 |
gwibber configure 3.4.1 |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1694 |
generated by GNU Autoconf 2.68 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1695 |
|
1696 |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
1697 |
This configure script is free software; the Free Software Foundation |
|
1698 |
gives unlimited permission to copy, distribute and modify it. |
|
1699 |
||
1700 |
Copyright 2010 Canonical |
|
1701 |
_ACEOF |
|
1702 |
exit |
|
1703 |
fi |
|
1704 |
||
1705 |
## ------------------------ ## |
|
1706 |
## Autoconf initialization. ## |
|
1707 |
## ------------------------ ## |
|
1708 |
||
1709 |
# ac_fn_c_try_compile LINENO |
|
1710 |
# -------------------------- |
|
1711 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1712 |
ac_fn_c_try_compile () |
|
1713 |
{ |
|
1714 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1715 |
rm -f conftest.$ac_objext |
|
1716 |
if { { ac_try="$ac_compile" |
|
1717 |
case "(($ac_try" in |
|
1718 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1719 |
*) ac_try_echo=$ac_try;; |
|
1720 |
esac |
|
1721 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1722 |
$as_echo "$ac_try_echo"; } >&5 |
|
1723 |
(eval "$ac_compile") 2>conftest.err |
|
1724 |
ac_status=$? |
|
1725 |
if test -s conftest.err; then |
|
1726 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1727 |
cat conftest.er1 >&5 |
|
1728 |
mv -f conftest.er1 conftest.err |
|
1729 |
fi |
|
1730 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1731 |
test $ac_status = 0; } && { |
|
1732 |
test -z "$ac_c_werror_flag" || |
|
1733 |
test ! -s conftest.err |
|
1734 |
} && test -s conftest.$ac_objext; then : |
|
1735 |
ac_retval=0 |
|
1736 |
else |
|
1737 |
$as_echo "$as_me: failed program was:" >&5 |
|
1738 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1739 |
||
1740 |
ac_retval=1 |
|
1741 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1742 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1743 |
as_fn_set_status $ac_retval |
1744 |
||
1745 |
} # ac_fn_c_try_compile |
|
1746 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
1747 |
# ac_fn_c_try_cpp LINENO |
1748 |
# ---------------------- |
|
1749 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1750 |
ac_fn_c_try_cpp () |
|
1751 |
{ |
|
1752 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1753 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1754 |
case "(($ac_try" in |
|
1755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1756 |
*) ac_try_echo=$ac_try;; |
|
1757 |
esac |
|
1758 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1759 |
$as_echo "$ac_try_echo"; } >&5 |
|
1760 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1761 |
ac_status=$? |
|
1762 |
if test -s conftest.err; then |
|
1763 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1764 |
cat conftest.er1 >&5 |
|
1765 |
mv -f conftest.er1 conftest.err |
|
1766 |
fi |
|
1767 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1768 |
test $ac_status = 0; } > conftest.i && { |
|
1769 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1770 |
test ! -s conftest.err |
|
1771 |
}; then : |
|
1772 |
ac_retval=0 |
|
1773 |
else |
|
1774 |
$as_echo "$as_me: failed program was:" >&5 |
|
1775 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1776 |
||
1777 |
ac_retval=1 |
|
1778 |
fi |
|
1779 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1780 |
as_fn_set_status $ac_retval |
|
1781 |
||
1782 |
} # ac_fn_c_try_cpp |
|
1783 |
||
1784 |
# ac_fn_c_try_run LINENO |
|
1785 |
# ---------------------- |
|
1786 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1787 |
# that executables *can* be run. |
|
1788 |
ac_fn_c_try_run () |
|
1789 |
{ |
|
1790 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1791 |
if { { ac_try="$ac_link" |
|
1792 |
case "(($ac_try" in |
|
1793 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1794 |
*) ac_try_echo=$ac_try;; |
|
1795 |
esac |
|
1796 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1797 |
$as_echo "$ac_try_echo"; } >&5 |
|
1798 |
(eval "$ac_link") 2>&5 |
|
1799 |
ac_status=$? |
|
1800 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1801 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1802 |
{ { case "(($ac_try" in |
|
1803 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1804 |
*) ac_try_echo=$ac_try;; |
|
1805 |
esac |
|
1806 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1807 |
$as_echo "$ac_try_echo"; } >&5 |
|
1808 |
(eval "$ac_try") 2>&5 |
|
1809 |
ac_status=$? |
|
1810 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1811 |
test $ac_status = 0; }; }; then : |
|
1812 |
ac_retval=0 |
|
1813 |
else |
|
1814 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1815 |
$as_echo "$as_me: failed program was:" >&5 |
|
1816 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1817 |
||
1818 |
ac_retval=$ac_status |
|
1819 |
fi |
|
1820 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1821 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1822 |
as_fn_set_status $ac_retval |
|
1823 |
||
1824 |
} # ac_fn_c_try_run |
|
1825 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1826 |
# ac_fn_c_try_link LINENO |
1827 |
# ----------------------- |
|
1828 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1829 |
ac_fn_c_try_link () |
|
1830 |
{ |
|
1831 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1832 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1833 |
if { { ac_try="$ac_link" |
|
1834 |
case "(($ac_try" in |
|
1835 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1836 |
*) ac_try_echo=$ac_try;; |
|
1837 |
esac |
|
1838 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1839 |
$as_echo "$ac_try_echo"; } >&5 |
|
1840 |
(eval "$ac_link") 2>conftest.err |
|
1841 |
ac_status=$? |
|
1842 |
if test -s conftest.err; then |
|
1843 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1844 |
cat conftest.er1 >&5 |
|
1845 |
mv -f conftest.er1 conftest.err |
|
1846 |
fi |
|
1847 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1848 |
test $ac_status = 0; } && { |
|
1849 |
test -z "$ac_c_werror_flag" || |
|
1850 |
test ! -s conftest.err |
|
1851 |
} && test -s conftest$ac_exeext && { |
|
1852 |
test "$cross_compiling" = yes || |
|
1853 |
$as_test_x conftest$ac_exeext |
|
1854 |
}; then : |
|
1855 |
ac_retval=0 |
|
1856 |
else |
|
1857 |
$as_echo "$as_me: failed program was:" >&5 |
|
1858 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1859 |
||
1860 |
ac_retval=1 |
|
1861 |
fi |
|
1862 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1863 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1864 |
# interfere with the next link command; also delete a directory that is |
|
1865 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1866 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1867 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1868 |
as_fn_set_status $ac_retval |
1869 |
||
1870 |
} # ac_fn_c_try_link |
|
1871 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
1872 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1873 |
# ------------------------------------------------------- |
|
1874 |
# Tests whether HEADER exists and can be compiled using the include files in |
|
1875 |
# INCLUDES, setting the cache variable VAR accordingly. |
|
1876 |
ac_fn_c_check_header_compile () |
|
1877 |
{ |
|
1878 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1880 |
$as_echo_n "checking for $2... " >&6; } |
|
1881 |
if eval \${$3+:} false; then : |
|
1882 |
$as_echo_n "(cached) " >&6 |
|
1883 |
else |
|
1884 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1885 |
/* end confdefs.h. */ |
|
1886 |
$4 |
|
1887 |
#include <$2> |
|
1888 |
_ACEOF |
|
1889 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1890 |
eval "$3=yes" |
|
1891 |
else |
|
1892 |
eval "$3=no" |
|
1893 |
fi |
|
1894 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1895 |
fi |
|
1896 |
eval ac_res=\$$3 |
|
1897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1898 |
$as_echo "$ac_res" >&6; } |
|
1899 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1900 |
||
1901 |
} # ac_fn_c_check_header_compile |
|
1902 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1903 |
# ac_fn_c_check_func LINENO FUNC VAR |
1904 |
# ---------------------------------- |
|
1905 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1906 |
ac_fn_c_check_func () |
|
1907 |
{ |
|
1908 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1910 |
$as_echo_n "checking for $2... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1911 |
if eval \${$3+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1912 |
$as_echo_n "(cached) " >&6 |
1913 |
else |
|
1914 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1915 |
/* end confdefs.h. */ |
|
1916 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1917 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1918 |
#define $2 innocuous_$2 |
|
1919 |
||
1920 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1921 |
which can conflict with char $2 (); below. |
|
1922 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1923 |
<limits.h> exists even on freestanding compilers. */ |
|
1924 |
||
1925 |
#ifdef __STDC__ |
|
1926 |
# include <limits.h> |
|
1927 |
#else |
|
1928 |
# include <assert.h> |
|
1929 |
#endif |
|
1930 |
||
1931 |
#undef $2 |
|
1932 |
||
1933 |
/* Override any GCC internal prototype to avoid an error. |
|
1934 |
Use char because int might match the return type of a GCC |
|
1935 |
builtin and then its argument prototype would still apply. */ |
|
1936 |
#ifdef __cplusplus |
|
1937 |
extern "C" |
|
1938 |
#endif |
|
1939 |
char $2 (); |
|
1940 |
/* The GNU C library defines this for functions which it implements |
|
1941 |
to always fail with ENOSYS. Some functions are actually named |
|
1942 |
something starting with __ and the normal name is an alias. */ |
|
1943 |
#if defined __stub_$2 || defined __stub___$2 |
|
1944 |
choke me |
|
1945 |
#endif |
|
1946 |
||
1947 |
int |
|
1948 |
main () |
|
1949 |
{ |
|
1950 |
return $2 (); |
|
1951 |
; |
|
1952 |
return 0; |
|
1953 |
} |
|
1954 |
_ACEOF |
|
1955 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1956 |
eval "$3=yes" |
|
1957 |
else |
|
1958 |
eval "$3=no" |
|
1959 |
fi |
|
1960 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1961 |
conftest$ac_exeext conftest.$ac_ext |
|
1962 |
fi |
|
1963 |
eval ac_res=\$$3 |
|
1964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1965 |
$as_echo "$ac_res" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1966 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1967 |
|
1968 |
} # ac_fn_c_check_func |
|
1969 |
cat >config.log <<_ACEOF |
|
1970 |
This file contains any messages produced by compilers while |
|
1971 |
running configure, to aid debugging if configure makes a mistake. |
|
1972 |
||
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
1973 |
It was created by gwibber $as_me 3.4.1, which was |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
1974 |
generated by GNU Autoconf 2.68. Invocation command line was |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
1975 |
|
1976 |
$ $0 $@ |
|
1977 |
||
1978 |
_ACEOF |
|
1979 |
exec 5>>config.log |
|
1980 |
{ |
|
1981 |
cat <<_ASUNAME |
|
1982 |
## --------- ## |
|
1983 |
## Platform. ## |
|
1984 |
## --------- ## |
|
1985 |
||
1986 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1987 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1988 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1989 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1990 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1991 |
||
1992 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1993 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1994 |
||
1995 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1996 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1997 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1998 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1999 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
2000 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
2001 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
2002 |
||
2003 |
_ASUNAME |
|
2004 |
||
2005 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2006 |
for as_dir in $PATH |
|
2007 |
do |
|
2008 |
IFS=$as_save_IFS |
|
2009 |
test -z "$as_dir" && as_dir=. |
|
2010 |
$as_echo "PATH: $as_dir" |
|
2011 |
done |
|
2012 |
IFS=$as_save_IFS |
|
2013 |
||
2014 |
} >&5 |
|
2015 |
||
2016 |
cat >&5 <<_ACEOF |
|
2017 |
||
2018 |
||
2019 |
## ----------- ## |
|
2020 |
## Core tests. ## |
|
2021 |
## ----------- ## |
|
2022 |
||
2023 |
_ACEOF |
|
2024 |
||
2025 |
||
2026 |
# Keep a trace of the command line. |
|
2027 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
2028 |
# Strip out --silent because we don't want to record it for future runs. |
|
2029 |
# Also quote any args containing shell meta-characters. |
|
2030 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
2031 |
ac_configure_args= |
|
2032 |
ac_configure_args0= |
|
2033 |
ac_configure_args1= |
|
2034 |
ac_must_keep_next=false |
|
2035 |
for ac_pass in 1 2 |
|
2036 |
do |
|
2037 |
for ac_arg |
|
2038 |
do |
|
2039 |
case $ac_arg in |
|
2040 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
2041 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2042 |
| -silent | --silent | --silen | --sile | --sil) |
|
2043 |
continue ;; |
|
2044 |
*\'*) |
|
2045 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2046 |
esac |
|
2047 |
case $ac_pass in |
|
2048 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
2049 |
2) |
|
2050 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
2051 |
if test $ac_must_keep_next = true; then |
|
2052 |
ac_must_keep_next=false # Got value, back to normal. |
|
2053 |
else |
|
2054 |
case $ac_arg in |
|
2055 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2056 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2057 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2058 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2059 |
case "$ac_configure_args0 " in |
|
2060 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2061 |
esac |
|
2062 |
;; |
|
2063 |
-* ) ac_must_keep_next=true ;; |
|
2064 |
esac |
|
2065 |
fi |
|
2066 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
2067 |
;; |
|
2068 |
esac |
|
2069 |
done |
|
2070 |
done |
|
2071 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
2072 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
2073 |
||
2074 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2075 |
# config.log. We remove comments because anyway the quotes in there |
|
2076 |
# would cause problems or look ugly. |
|
2077 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
2078 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
2079 |
trap 'exit_status=$? |
|
2080 |
# Save into config.log some information that might help in debugging. |
|
2081 |
{ |
|
2082 |
echo |
|
2083 |
||
2084 |
$as_echo "## ---------------- ## |
|
2085 |
## Cache variables. ## |
|
2086 |
## ---------------- ##" |
|
2087 |
echo |
|
2088 |
# The following way of writing the cache mishandles newlines in values, |
|
2089 |
( |
|
2090 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2091 |
eval ac_val=\$$ac_var |
|
2092 |
case $ac_val in #( |
|
2093 |
*${as_nl}*) |
|
2094 |
case $ac_var in #( |
|
2095 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2096 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2097 |
esac |
|
2098 |
case $ac_var in #( |
|
2099 |
_ | IFS | as_nl) ;; #( |
|
2100 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2101 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2102 |
esac ;; |
|
2103 |
esac |
|
2104 |
done |
|
2105 |
(set) 2>&1 | |
|
2106 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
2107 |
*${as_nl}ac_space=\ *) |
|
2108 |
sed -n \ |
|
2109 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
2110 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2111 |
;; #( |
|
2112 |
*) |
|
2113 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
2114 |
;; |
|
2115 |
esac | |
|
2116 |
sort |
|
2117 |
) |
|
2118 |
echo |
|
2119 |
||
2120 |
$as_echo "## ----------------- ## |
|
2121 |
## Output variables. ## |
|
2122 |
## ----------------- ##" |
|
2123 |
echo |
|
2124 |
for ac_var in $ac_subst_vars |
|
2125 |
do |
|
2126 |
eval ac_val=\$$ac_var |
|
2127 |
case $ac_val in |
|
2128 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2129 |
esac |
|
2130 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2131 |
done | sort |
|
2132 |
echo |
|
2133 |
||
2134 |
if test -n "$ac_subst_files"; then |
|
2135 |
$as_echo "## ------------------- ## |
|
2136 |
## File substitutions. ## |
|
2137 |
## ------------------- ##" |
|
2138 |
echo |
|
2139 |
for ac_var in $ac_subst_files |
|
2140 |
do |
|
2141 |
eval ac_val=\$$ac_var |
|
2142 |
case $ac_val in |
|
2143 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2144 |
esac |
|
2145 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2146 |
done | sort |
|
2147 |
echo |
|
2148 |
fi |
|
2149 |
||
2150 |
if test -s confdefs.h; then |
|
2151 |
$as_echo "## ----------- ## |
|
2152 |
## confdefs.h. ## |
|
2153 |
## ----------- ##" |
|
2154 |
echo |
|
2155 |
cat confdefs.h |
|
2156 |
echo |
|
2157 |
fi |
|
2158 |
test "$ac_signal" != 0 && |
|
2159 |
$as_echo "$as_me: caught signal $ac_signal" |
|
2160 |
$as_echo "$as_me: exit $exit_status" |
|
2161 |
} >&5 |
|
2162 |
rm -f core *.core core.conftest.* && |
|
2163 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
2164 |
exit $exit_status |
|
2165 |
' 0 |
|
2166 |
for ac_signal in 1 2 13 15; do |
|
2167 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
2168 |
done |
|
2169 |
ac_signal=0 |
|
2170 |
||
2171 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
2172 |
rm -f -r conftest* confdefs.h |
|
2173 |
||
2174 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
2175 |
||
2176 |
# Predefined preprocessor variables. |
|
2177 |
||
2178 |
cat >>confdefs.h <<_ACEOF |
|
2179 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2180 |
_ACEOF |
|
2181 |
||
2182 |
cat >>confdefs.h <<_ACEOF |
|
2183 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2184 |
_ACEOF |
|
2185 |
||
2186 |
cat >>confdefs.h <<_ACEOF |
|
2187 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2188 |
_ACEOF |
|
2189 |
||
2190 |
cat >>confdefs.h <<_ACEOF |
|
2191 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2192 |
_ACEOF |
|
2193 |
||
2194 |
cat >>confdefs.h <<_ACEOF |
|
2195 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2196 |
_ACEOF |
|
2197 |
||
2198 |
cat >>confdefs.h <<_ACEOF |
|
2199 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
2200 |
_ACEOF |
|
2201 |
||
2202 |
||
2203 |
# Let the site file select an alternate cache file if it wants to. |
|
2204 |
# Prefer an explicitly selected file to automatically selected ones. |
|
2205 |
ac_site_file1=NONE |
|
2206 |
ac_site_file2=NONE |
|
2207 |
if test -n "$CONFIG_SITE"; then |
|
2208 |
# We do not want a PATH search for config.site. |
|
2209 |
case $CONFIG_SITE in #(( |
|
2210 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2211 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2212 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2213 |
esac |
|
2214 |
elif test "x$prefix" != xNONE; then |
|
2215 |
ac_site_file1=$prefix/share/config.site |
|
2216 |
ac_site_file2=$prefix/etc/config.site |
|
2217 |
else |
|
2218 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2219 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
2220 |
fi |
|
2221 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2222 |
do |
|
2223 |
test "x$ac_site_file" = xNONE && continue |
|
2224 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2226 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2227 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
2228 |
. "$ac_site_file" \ |
|
2229 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2230 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2231 |
as_fn_error $? "failed to load site script $ac_site_file |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2232 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2233 |
fi |
2234 |
done |
|
2235 |
||
2236 |
if test -r "$cache_file"; then |
|
2237 |
# Some versions of bash will fail to source /dev/null (special files |
|
2238 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2239 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2240 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2241 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2242 |
case $cache_file in |
|
2243 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2244 |
*) . "./$cache_file";; |
|
2245 |
esac |
|
2246 |
fi |
|
2247 |
else |
|
2248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2249 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2250 |
>$cache_file |
|
2251 |
fi |
|
2252 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2253 |
gt_needs="$gt_needs " |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2254 |
# Check that the precious variables saved in the cache have kept the same |
2255 |
# value. |
|
2256 |
ac_cache_corrupted=false |
|
2257 |
for ac_var in $ac_precious_vars; do |
|
2258 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2259 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2260 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2261 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2262 |
case $ac_old_set,$ac_new_set in |
|
2263 |
set,) |
|
2264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2265 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2266 |
ac_cache_corrupted=: ;; |
|
2267 |
,set) |
|
2268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2269 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2270 |
ac_cache_corrupted=: ;; |
|
2271 |
,);; |
|
2272 |
*) |
|
2273 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2274 |
# differences in whitespace do not lead to failure. |
|
2275 |
ac_old_val_w=`echo x $ac_old_val` |
|
2276 |
ac_new_val_w=`echo x $ac_new_val` |
|
2277 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2279 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2280 |
ac_cache_corrupted=: |
|
2281 |
else |
|
2282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2283 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2284 |
eval $ac_var=\$ac_old_val |
|
2285 |
fi |
|
2286 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2287 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2288 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2289 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2290 |
fi;; |
|
2291 |
esac |
|
2292 |
# Pass precious variables to config.status. |
|
2293 |
if test "$ac_new_set" = set; then |
|
2294 |
case $ac_new_val in |
|
2295 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2296 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2297 |
esac |
|
2298 |
case " $ac_configure_args " in |
|
2299 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2300 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2301 |
esac |
|
2302 |
fi |
|
2303 |
done |
|
2304 |
if $ac_cache_corrupted; then |
|
2305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2306 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2308 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2309 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2310 |
fi |
|
2311 |
## -------------------- ## |
|
2312 |
## Main body of script. ## |
|
2313 |
## -------------------- ## |
|
2314 |
||
2315 |
ac_ext=c |
|
2316 |
ac_cpp='$CPP $CPPFLAGS' |
|
2317 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2318 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2319 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2320 |
||
2321 |
||
2322 |
||
2323 |
# Check whether --enable-silent-rules was given. |
|
2324 |
if test "${enable_silent_rules+set}" = set; then : |
|
2325 |
enableval=$enable_silent_rules; |
|
2326 |
fi |
|
2327 |
||
2328 |
case $enable_silent_rules in |
|
2329 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
2330 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
2331 |
*) AM_DEFAULT_VERBOSITY=0;; |
|
2332 |
esac |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
2333 |
am_make=${MAKE-make} |
2334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2335 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2336 |
if ${am_cv_make_support_nested_variables+:} false; then : |
|
2337 |
$as_echo_n "(cached) " >&6 |
|
2338 |
else |
|
2339 |
if $as_echo 'TRUE=$(BAR$(V)) |
|
2340 |
BAR0=false |
|
2341 |
BAR1=true |
|
2342 |
V=1 |
|
2343 |
am__doit: |
|
2344 |
@$(TRUE) |
|
2345 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2346 |
am_cv_make_support_nested_variables=yes |
|
2347 |
else |
|
2348 |
am_cv_make_support_nested_variables=no |
|
2349 |
fi |
|
2350 |
fi |
|
2351 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2352 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2353 |
if test $am_cv_make_support_nested_variables = yes; then |
|
2354 |
AM_V='$(V)' |
|
2355 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2356 |
else |
|
2357 |
AM_V=$AM_DEFAULT_VERBOSITY |
|
2358 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2359 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2360 |
AM_BACKSLASH='\' |
2361 |
||
2362 |
||
2363 |
||
2364 |
||
2365 |
ac_config_headers="$ac_config_headers config.h" |
|
2366 |
||
2367 |
am__api_version='1.11' |
|
2368 |
||
2369 |
ac_aux_dir= |
|
2370 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2371 |
if test -f "$ac_dir/install-sh"; then |
|
2372 |
ac_aux_dir=$ac_dir |
|
2373 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2374 |
break |
|
2375 |
elif test -f "$ac_dir/install.sh"; then |
|
2376 |
ac_aux_dir=$ac_dir |
|
2377 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2378 |
break |
|
2379 |
elif test -f "$ac_dir/shtool"; then |
|
2380 |
ac_aux_dir=$ac_dir |
|
2381 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2382 |
break |
|
2383 |
fi |
|
2384 |
done |
|
2385 |
if test -z "$ac_aux_dir"; then |
|
2386 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2387 |
fi |
|
2388 |
||
2389 |
# These three variables are undocumented and unsupported, |
|
2390 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2391 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2392 |
# whose full name contains unusual characters. |
|
2393 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2394 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2395 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2396 |
||
2397 |
||
2398 |
# Find a good install program. We prefer a C program (faster), |
|
2399 |
# so one script is as good as another. But avoid the broken or |
|
2400 |
# incompatible versions: |
|
2401 |
# SysV /etc/install, /usr/sbin/install |
|
2402 |
# SunOS /usr/etc/install |
|
2403 |
# IRIX /sbin/install |
|
2404 |
# AIX /bin/install |
|
2405 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2406 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2407 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2408 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2409 |
# OS/2's system install, which has a completely different semantic |
|
2410 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
2411 |
# Reject install programs that cannot install multiple files. |
|
2412 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2413 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2414 |
if test -z "$INSTALL"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2415 |
if ${ac_cv_path_install+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2416 |
$as_echo_n "(cached) " >&6 |
2417 |
else |
|
2418 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2419 |
for as_dir in $PATH |
|
2420 |
do |
|
2421 |
IFS=$as_save_IFS |
|
2422 |
test -z "$as_dir" && as_dir=. |
|
2423 |
# Account for people who put trailing slashes in PATH elements. |
|
2424 |
case $as_dir/ in #(( |
|
2425 |
./ | .// | /[cC]/* | \ |
|
2426 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2427 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2428 |
/usr/ucb/* ) ;; |
|
2429 |
*) |
|
2430 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2431 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2432 |
# by default. |
|
2433 |
for ac_prog in ginstall scoinst install; do |
|
2434 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2435 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
2436 |
if test $ac_prog = install && |
|
2437 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2438 |
# AIX install. It has an incompatible calling convention. |
|
2439 |
: |
|
2440 |
elif test $ac_prog = install && |
|
2441 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2442 |
# program-specific install script used by HP pwplus--don't use. |
|
2443 |
: |
|
2444 |
else |
|
2445 |
rm -rf conftest.one conftest.two conftest.dir |
|
2446 |
echo one > conftest.one |
|
2447 |
echo two > conftest.two |
|
2448 |
mkdir conftest.dir |
|
2449 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2450 |
test -s conftest.one && test -s conftest.two && |
|
2451 |
test -s conftest.dir/conftest.one && |
|
2452 |
test -s conftest.dir/conftest.two |
|
2453 |
then |
|
2454 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2455 |
break 3 |
|
2456 |
fi |
|
2457 |
fi |
|
2458 |
fi |
|
2459 |
done |
|
2460 |
done |
|
2461 |
;; |
|
2462 |
esac |
|
2463 |
||
2464 |
done |
|
2465 |
IFS=$as_save_IFS |
|
2466 |
||
2467 |
rm -rf conftest.one conftest.two conftest.dir |
|
2468 |
||
2469 |
fi |
|
2470 |
if test "${ac_cv_path_install+set}" = set; then |
|
2471 |
INSTALL=$ac_cv_path_install |
|
2472 |
else |
|
2473 |
# As a last resort, use the slow shell script. Don't cache a |
|
2474 |
# value for INSTALL within a source directory, because that will |
|
2475 |
# break other packages using the cache if that directory is |
|
2476 |
# removed, or if the value is a relative name. |
|
2477 |
INSTALL=$ac_install_sh |
|
2478 |
fi |
|
2479 |
fi |
|
2480 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2481 |
$as_echo "$INSTALL" >&6; } |
|
2482 |
||
2483 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2484 |
# It thinks the first close brace ends the variable substitution. |
|
2485 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2486 |
||
2487 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2488 |
||
2489 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2490 |
||
2491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2492 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2493 |
# Just in case |
|
2494 |
sleep 1 |
|
2495 |
echo timestamp > conftest.file |
|
2496 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
2497 |
# name. Accept space and tab only in the latter. |
|
2498 |
am_lf=' |
|
2499 |
' |
|
2500 |
case `pwd` in |
|
2501 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2502 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2503 |
esac |
2504 |
case $srcdir in |
|
2505 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2506 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2507 |
esac |
2508 |
||
2509 |
# Do `set' in a subshell so we don't clobber the current shell's |
|
2510 |
# arguments. Must try -L first in case configure is actually a |
|
2511 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2512 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2513 |
# directory). |
|
2514 |
if ( |
|
2515 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2516 |
if test "$*" = "X"; then |
|
2517 |
# -L didn't work. |
|
2518 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2519 |
fi |
|
2520 |
rm -f conftest.file |
|
2521 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2522 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2523 |
||
2524 |
# If neither matched, then we have a broken ls. This can happen |
|
2525 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2526 |
# broken ls alias from the environment. This has actually |
|
2527 |
# happened. Such a system could not be considered "sane". |
|
2528 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2529 |
alias in your environment" "$LINENO" 5 |
|
2530 |
fi |
|
2531 |
||
2532 |
test "$2" = conftest.file |
|
2533 |
) |
|
2534 |
then |
|
2535 |
# Ok. |
|
2536 |
: |
|
2537 |
else |
|
2538 |
as_fn_error $? "newly created file is older than distributed files! |
|
2539 |
Check your system clock" "$LINENO" 5 |
|
2540 |
fi |
|
2541 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2542 |
$as_echo "yes" >&6; } |
|
2543 |
test "$program_prefix" != NONE && |
|
2544 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2545 |
# Use a double $ so make ignores it. |
|
2546 |
test "$program_suffix" != NONE && |
|
2547 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2548 |
# Double any \ or $. |
|
2549 |
# By default was `s,x,x', remove it if useless. |
|
2550 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2551 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2552 |
||
2553 |
# expand $ac_aux_dir to an absolute path |
|
2554 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2555 |
||
2556 |
if test x"${MISSING+set}" != xset; then |
|
2557 |
case $am_aux_dir in |
|
2558 |
*\ * | *\ *) |
|
2559 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2560 |
*) |
|
2561 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2562 |
esac |
|
2563 |
fi |
|
2564 |
# Use eval to expand $SHELL |
|
2565 |
if eval "$MISSING --run true"; then |
|
2566 |
am_missing_run="$MISSING --run " |
|
2567 |
else |
|
2568 |
am_missing_run= |
|
2569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
|
2570 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
2571 |
fi |
|
2572 |
||
2573 |
if test x"${install_sh}" != xset; then |
|
2574 |
case $am_aux_dir in |
|
2575 |
*\ * | *\ *) |
|
2576 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2577 |
*) |
|
2578 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2579 |
esac |
|
2580 |
fi |
|
2581 |
||
2582 |
# Installed binaries are usually stripped using `strip' when the user |
|
2583 |
# run `make install-strip'. However `strip' might not be the right |
|
2584 |
# tool to use in cross-compilation environments, therefore Automake |
|
2585 |
# will honor the `STRIP' environment variable to overrule this program. |
|
2586 |
if test "$cross_compiling" != no; then |
|
2587 |
if test -n "$ac_tool_prefix"; then |
|
2588 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2589 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2591 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2592 |
if ${ac_cv_prog_STRIP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2593 |
$as_echo_n "(cached) " >&6 |
2594 |
else |
|
2595 |
if test -n "$STRIP"; then |
|
2596 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2597 |
else |
|
2598 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2599 |
for as_dir in $PATH |
|
2600 |
do |
|
2601 |
IFS=$as_save_IFS |
|
2602 |
test -z "$as_dir" && as_dir=. |
|
2603 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2604 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2605 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2606 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2607 |
break 2 |
|
2608 |
fi |
|
2609 |
done |
|
2610 |
done |
|
2611 |
IFS=$as_save_IFS |
|
2612 |
||
2613 |
fi |
|
2614 |
fi |
|
2615 |
STRIP=$ac_cv_prog_STRIP |
|
2616 |
if test -n "$STRIP"; then |
|
2617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2618 |
$as_echo "$STRIP" >&6; } |
|
2619 |
else |
|
2620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2621 |
$as_echo "no" >&6; } |
|
2622 |
fi |
|
2623 |
||
2624 |
||
2625 |
fi |
|
2626 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2627 |
ac_ct_STRIP=$STRIP |
|
2628 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2629 |
set dummy strip; ac_word=$2 |
|
2630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2631 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2632 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2633 |
$as_echo_n "(cached) " >&6 |
2634 |
else |
|
2635 |
if test -n "$ac_ct_STRIP"; then |
|
2636 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2637 |
else |
|
2638 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2639 |
for as_dir in $PATH |
|
2640 |
do |
|
2641 |
IFS=$as_save_IFS |
|
2642 |
test -z "$as_dir" && as_dir=. |
|
2643 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2644 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2645 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2646 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2647 |
break 2 |
|
2648 |
fi |
|
2649 |
done |
|
2650 |
done |
|
2651 |
IFS=$as_save_IFS |
|
2652 |
||
2653 |
fi |
|
2654 |
fi |
|
2655 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2656 |
if test -n "$ac_ct_STRIP"; then |
|
2657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2658 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2659 |
else |
|
2660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2661 |
$as_echo "no" >&6; } |
|
2662 |
fi |
|
2663 |
||
2664 |
if test "x$ac_ct_STRIP" = x; then |
|
2665 |
STRIP=":" |
|
2666 |
else |
|
2667 |
case $cross_compiling:$ac_tool_warned in |
|
2668 |
yes:) |
|
2669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2670 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2671 |
ac_tool_warned=yes ;; |
|
2672 |
esac |
|
2673 |
STRIP=$ac_ct_STRIP |
|
2674 |
fi |
|
2675 |
else |
|
2676 |
STRIP="$ac_cv_prog_STRIP" |
|
2677 |
fi |
|
2678 |
||
2679 |
fi |
|
2680 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2681 |
||
2682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2683 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2684 |
if test -z "$MKDIR_P"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2685 |
if ${ac_cv_path_mkdir+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2686 |
$as_echo_n "(cached) " >&6 |
2687 |
else |
|
2688 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2689 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2690 |
do |
|
2691 |
IFS=$as_save_IFS |
|
2692 |
test -z "$as_dir" && as_dir=. |
|
2693 |
for ac_prog in mkdir gmkdir; do |
|
2694 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2695 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2696 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2697 |
'mkdir (GNU coreutils) '* | \ |
|
2698 |
'mkdir (coreutils) '* | \ |
|
2699 |
'mkdir (fileutils) '4.1*) |
|
2700 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2701 |
break 3;; |
|
2702 |
esac |
|
2703 |
done |
|
2704 |
done |
|
2705 |
done |
|
2706 |
IFS=$as_save_IFS |
|
2707 |
||
2708 |
fi |
|
2709 |
||
2710 |
test -d ./--version && rmdir ./--version |
|
2711 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2712 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2713 |
else |
|
2714 |
# As a last resort, use the slow shell script. Don't cache a |
|
2715 |
# value for MKDIR_P within a source directory, because that will |
|
2716 |
# break other packages using the cache if that directory is |
|
2717 |
# removed, or if the value is a relative name. |
|
2718 |
MKDIR_P="$ac_install_sh -d" |
|
2719 |
fi |
|
2720 |
fi |
|
2721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2722 |
$as_echo "$MKDIR_P" >&6; } |
|
2723 |
||
2724 |
mkdir_p="$MKDIR_P" |
|
2725 |
case $mkdir_p in |
|
2726 |
[\\/$]* | ?:[\\/]*) ;; |
|
2727 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2728 |
esac |
|
2729 |
||
2730 |
for ac_prog in gawk mawk nawk awk |
|
2731 |
do |
|
2732 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2733 |
set dummy $ac_prog; ac_word=$2 |
|
2734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2735 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2736 |
if ${ac_cv_prog_AWK+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2737 |
$as_echo_n "(cached) " >&6 |
2738 |
else |
|
2739 |
if test -n "$AWK"; then |
|
2740 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2741 |
else |
|
2742 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2743 |
for as_dir in $PATH |
|
2744 |
do |
|
2745 |
IFS=$as_save_IFS |
|
2746 |
test -z "$as_dir" && as_dir=. |
|
2747 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2748 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2749 |
ac_cv_prog_AWK="$ac_prog" |
|
2750 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2751 |
break 2 |
|
2752 |
fi |
|
2753 |
done |
|
2754 |
done |
|
2755 |
IFS=$as_save_IFS |
|
2756 |
||
2757 |
fi |
|
2758 |
fi |
|
2759 |
AWK=$ac_cv_prog_AWK |
|
2760 |
if test -n "$AWK"; then |
|
2761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2762 |
$as_echo "$AWK" >&6; } |
|
2763 |
else |
|
2764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2765 |
$as_echo "no" >&6; } |
|
2766 |
fi |
|
2767 |
||
2768 |
||
2769 |
test -n "$AWK" && break |
|
2770 |
done |
|
2771 |
||
2772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2773 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2774 |
set x ${MAKE-make} |
|
2775 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2776 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2777 |
$as_echo_n "(cached) " >&6 |
2778 |
else |
|
2779 |
cat >conftest.make <<\_ACEOF |
|
2780 |
SHELL = /bin/sh |
|
2781 |
all: |
|
2782 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2783 |
_ACEOF |
|
2784 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2785 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2786 |
*@@@%%%=?*=@@@%%%*) |
|
2787 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2788 |
*) |
|
2789 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2790 |
esac |
|
2791 |
rm -f conftest.make |
|
2792 |
fi |
|
2793 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2794 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2795 |
$as_echo "yes" >&6; } |
|
2796 |
SET_MAKE= |
|
2797 |
else |
|
2798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2799 |
$as_echo "no" >&6; } |
|
2800 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2801 |
fi |
|
2802 |
||
2803 |
rm -rf .tst 2>/dev/null |
|
2804 |
mkdir .tst 2>/dev/null |
|
2805 |
if test -d .tst; then |
|
2806 |
am__leading_dot=. |
|
2807 |
else |
|
2808 |
am__leading_dot=_ |
|
2809 |
fi |
|
2810 |
rmdir .tst 2>/dev/null |
|
2811 |
||
2812 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2813 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2814 |
# is not polluted with repeated "-I." |
|
2815 |
am__isrc=' -I$(srcdir)' |
|
2816 |
# test to see if srcdir already configured |
|
2817 |
if test -f $srcdir/config.status; then |
|
2818 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2819 |
fi |
|
2820 |
fi |
|
2821 |
||
2822 |
# test whether we have cygpath |
|
2823 |
if test -z "$CYGPATH_W"; then |
|
2824 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2825 |
CYGPATH_W='cygpath -w' |
|
2826 |
else |
|
2827 |
CYGPATH_W=echo |
|
2828 |
fi |
|
2829 |
fi |
|
2830 |
||
2831 |
||
2832 |
# Define the identity of the package. |
|
2833 |
PACKAGE=gwibber |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
2834 |
VERSION=3.4.1 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2835 |
|
2836 |
||
2837 |
cat >>confdefs.h <<_ACEOF |
|
2838 |
#define PACKAGE "$PACKAGE" |
|
2839 |
_ACEOF |
|
2840 |
||
2841 |
||
2842 |
cat >>confdefs.h <<_ACEOF |
|
2843 |
#define VERSION "$VERSION" |
|
2844 |
_ACEOF |
|
2845 |
||
2846 |
# Some tools Automake needs. |
|
2847 |
||
2848 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2849 |
||
2850 |
||
2851 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2852 |
||
2853 |
||
2854 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2855 |
||
2856 |
||
2857 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2858 |
||
2859 |
||
2860 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2861 |
||
2862 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2863 |
# some platforms. |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
2864 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2865 |
# in the wild :-( We should find a proper way to deprecate it ... |
|
2866 |
AMTAR='$${TAR-tar}' |
|
2867 |
||
2868 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2869 |
|
2870 |
||
2871 |
||
2872 |
||
2873 |
||
2874 |
||
2875 |
GWIBBER_MAJOR_VERSION=3 |
|
1.1.75
by Ken VanDine
Import upstream version 3.4.0 |
2876 |
GWIBBER_MINOR_VERSION=4 |
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
2877 |
GWIBBER_MICRO_VERSION=1 |
2878 |
GWIBBER_VERSION=3.4.1 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2879 |
GWIBBER_API_VERSION=0.2 |
2880 |
||
2881 |
||
2882 |
||
2883 |
||
2884 |
||
2885 |
||
2886 |
||
1.1.58
by Ken VanDine
Import upstream version 3.1.5.1 |
2887 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2889 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
2890 |
# Check whether --enable-maintainer-mode was given. |
|
2891 |
if test "${enable_maintainer_mode+set}" = set; then : |
|
2892 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
2893 |
else |
|
2894 |
USE_MAINTAINER_MODE=no |
|
2895 |
fi |
|
2896 |
||
2897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
|
2898 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
2899 |
if test $USE_MAINTAINER_MODE = yes; then |
|
2900 |
MAINTAINER_MODE_TRUE= |
|
2901 |
MAINTAINER_MODE_FALSE='#' |
|
2902 |
else |
|
2903 |
MAINTAINER_MODE_TRUE='#' |
|
2904 |
MAINTAINER_MODE_FALSE= |
|
2905 |
fi |
|
2906 |
||
2907 |
MAINT=$MAINTAINER_MODE_TRUE |
|
2908 |
||
2909 |
||
1.1.67
by Ken VanDine
Import upstream version 3.3.3 |
2910 |
for ac_prog in valac-0.16 valac |
2911 |
do |
|
2912 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2913 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2915 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2916 |
if ${ac_cv_path_VALAC+:} false; then : |
|
2917 |
$as_echo_n "(cached) " >&6 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2918 |
else |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2919 |
case $VALAC in |
2920 |
[\\/]* | ?:[\\/]*) |
|
2921 |
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. |
|
2922 |
;; |
|
2923 |
*) |
|
2924 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2925 |
for as_dir in $PATH |
|
2926 |
do |
|
2927 |
IFS=$as_save_IFS |
|
2928 |
test -z "$as_dir" && as_dir=. |
|
2929 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2930 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2931 |
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" |
|
2932 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2933 |
break 2 |
|
2934 |
fi |
|
2935 |
done |
|
2936 |
done |
|
2937 |
IFS=$as_save_IFS |
|
2938 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2939 |
;; |
2940 |
esac |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2941 |
fi |
2942 |
VALAC=$ac_cv_path_VALAC |
|
2943 |
if test -n "$VALAC"; then |
|
2944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 |
|
2945 |
$as_echo "$VALAC" >&6; } |
|
2946 |
else |
|
2947 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2948 |
$as_echo "no" >&6; } |
|
2949 |
fi |
|
2950 |
||
2951 |
||
1.1.67
by Ken VanDine
Import upstream version 3.3.3 |
2952 |
test -n "$VALAC" && break |
2953 |
done |
|
2954 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2955 |
if test -z "$VALAC"; then : |
2956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5 |
|
2957 |
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;} |
|
2958 |
else |
|
1.1.67
by Ken VanDine
Import upstream version 3.3.3 |
2959 |
if test -n "0.15.0"; then : |
2960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.15.0" >&5 |
|
2961 |
$as_echo_n "checking $VALAC is at least version 0.15.0... " >&6; } |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2962 |
am__vala_version=`$VALAC --version | sed 's/Vala *//'` |
1.1.67
by Ken VanDine
Import upstream version 3.3.3 |
2963 |
as_arg_v1=0.15.0 |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2964 |
as_arg_v2="$am__vala_version" |
2965 |
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null |
|
2966 |
case $? in #( |
|
2967 |
1) : |
|
2968 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2969 |
$as_echo "yes" >&6; } ;; #( |
|
2970 |
0) : |
|
2971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2972 |
$as_echo "yes" >&6; } ;; #( |
|
2973 |
2) : |
|
2974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2975 |
$as_echo "no" >&6; } |
|
1.1.67
by Ken VanDine
Import upstream version 3.3.3 |
2976 |
as_fn_error $? "Vala 0.15.0 not found." "$LINENO" 5 ;; #( |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2977 |
*) : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2978 |
;; |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
2979 |
esac |
2980 |
fi |
|
2981 |
fi |
|
2982 |
||
2983 |
||
2984 |
if test -z "$VALAC"; then : |
|
2985 |
as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5 |
|
2986 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2987 |
ac_ext=c |
2988 |
ac_cpp='$CPP $CPPFLAGS' |
|
2989 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2990 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2991 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2992 |
if test -n "$ac_tool_prefix"; then |
|
2993 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2994 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2996 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
2997 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
2998 |
$as_echo_n "(cached) " >&6 |
2999 |
else |
|
3000 |
if test -n "$CC"; then |
|
3001 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3002 |
else |
|
3003 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3004 |
for as_dir in $PATH |
|
3005 |
do |
|
3006 |
IFS=$as_save_IFS |
|
3007 |
test -z "$as_dir" && as_dir=. |
|
3008 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3009 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3010 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
3011 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3012 |
break 2 |
|
3013 |
fi |
|
3014 |
done |
|
3015 |
done |
|
3016 |
IFS=$as_save_IFS |
|
3017 |
||
3018 |
fi |
|
3019 |
fi |
|
3020 |
CC=$ac_cv_prog_CC |
|
3021 |
if test -n "$CC"; then |
|
3022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3023 |
$as_echo "$CC" >&6; } |
|
3024 |
else |
|
3025 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3026 |
$as_echo "no" >&6; } |
|
3027 |
fi |
|
3028 |
||
3029 |
||
3030 |
fi |
|
3031 |
if test -z "$ac_cv_prog_CC"; then |
|
3032 |
ac_ct_CC=$CC |
|
3033 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
3034 |
set dummy gcc; ac_word=$2 |
|
3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3036 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3037 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3038 |
$as_echo_n "(cached) " >&6 |
3039 |
else |
|
3040 |
if test -n "$ac_ct_CC"; then |
|
3041 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3042 |
else |
|
3043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3044 |
for as_dir in $PATH |
|
3045 |
do |
|
3046 |
IFS=$as_save_IFS |
|
3047 |
test -z "$as_dir" && as_dir=. |
|
3048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3049 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3050 |
ac_cv_prog_ac_ct_CC="gcc" |
|
3051 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3052 |
break 2 |
|
3053 |
fi |
|
3054 |
done |
|
3055 |
done |
|
3056 |
IFS=$as_save_IFS |
|
3057 |
||
3058 |
fi |
|
3059 |
fi |
|
3060 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3061 |
if test -n "$ac_ct_CC"; then |
|
3062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3063 |
$as_echo "$ac_ct_CC" >&6; } |
|
3064 |
else |
|
3065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3066 |
$as_echo "no" >&6; } |
|
3067 |
fi |
|
3068 |
||
3069 |
if test "x$ac_ct_CC" = x; then |
|
3070 |
CC="" |
|
3071 |
else |
|
3072 |
case $cross_compiling:$ac_tool_warned in |
|
3073 |
yes:) |
|
3074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3075 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3076 |
ac_tool_warned=yes ;; |
|
3077 |
esac |
|
3078 |
CC=$ac_ct_CC |
|
3079 |
fi |
|
3080 |
else |
|
3081 |
CC="$ac_cv_prog_CC" |
|
3082 |
fi |
|
3083 |
||
3084 |
if test -z "$CC"; then |
|
3085 |
if test -n "$ac_tool_prefix"; then |
|
3086 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
3087 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
3088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3089 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3090 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3091 |
$as_echo_n "(cached) " >&6 |
3092 |
else |
|
3093 |
if test -n "$CC"; then |
|
3094 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3095 |
else |
|
3096 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3097 |
for as_dir in $PATH |
|
3098 |
do |
|
3099 |
IFS=$as_save_IFS |
|
3100 |
test -z "$as_dir" && as_dir=. |
|
3101 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3102 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3103 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
3104 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3105 |
break 2 |
|
3106 |
fi |
|
3107 |
done |
|
3108 |
done |
|
3109 |
IFS=$as_save_IFS |
|
3110 |
||
3111 |
fi |
|
3112 |
fi |
|
3113 |
CC=$ac_cv_prog_CC |
|
3114 |
if test -n "$CC"; then |
|
3115 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3116 |
$as_echo "$CC" >&6; } |
|
3117 |
else |
|
3118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3119 |
$as_echo "no" >&6; } |
|
3120 |
fi |
|
3121 |
||
3122 |
||
3123 |
fi |
|
3124 |
fi |
|
3125 |
if test -z "$CC"; then |
|
3126 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3127 |
set dummy cc; ac_word=$2 |
|
3128 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3129 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3130 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3131 |
$as_echo_n "(cached) " >&6 |
3132 |
else |
|
3133 |
if test -n "$CC"; then |
|
3134 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3135 |
else |
|
3136 |
ac_prog_rejected=no |
|
3137 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3138 |
for as_dir in $PATH |
|
3139 |
do |
|
3140 |
IFS=$as_save_IFS |
|
3141 |
test -z "$as_dir" && as_dir=. |
|
3142 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3143 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3144 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3145 |
ac_prog_rejected=yes |
|
3146 |
continue |
|
3147 |
fi |
|
3148 |
ac_cv_prog_CC="cc" |
|
3149 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3150 |
break 2 |
|
3151 |
fi |
|
3152 |
done |
|
3153 |
done |
|
3154 |
IFS=$as_save_IFS |
|
3155 |
||
3156 |
if test $ac_prog_rejected = yes; then |
|
3157 |
# We found a bogon in the path, so make sure we never use it. |
|
3158 |
set dummy $ac_cv_prog_CC |
|
3159 |
shift |
|
3160 |
if test $# != 0; then |
|
3161 |
# We chose a different compiler from the bogus one. |
|
3162 |
# However, it has the same basename, so the bogon will be chosen |
|
3163 |
# first if we set CC to just the basename; use the full file name. |
|
3164 |
shift |
|
3165 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3166 |
fi |
|
3167 |
fi |
|
3168 |
fi |
|
3169 |
fi |
|
3170 |
CC=$ac_cv_prog_CC |
|
3171 |
if test -n "$CC"; then |
|
3172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3173 |
$as_echo "$CC" >&6; } |
|
3174 |
else |
|
3175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3176 |
$as_echo "no" >&6; } |
|
3177 |
fi |
|
3178 |
||
3179 |
||
3180 |
fi |
|
3181 |
if test -z "$CC"; then |
|
3182 |
if test -n "$ac_tool_prefix"; then |
|
3183 |
for ac_prog in cl.exe |
|
3184 |
do |
|
3185 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3186 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3188 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3189 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3190 |
$as_echo_n "(cached) " >&6 |
3191 |
else |
|
3192 |
if test -n "$CC"; then |
|
3193 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3194 |
else |
|
3195 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3196 |
for as_dir in $PATH |
|
3197 |
do |
|
3198 |
IFS=$as_save_IFS |
|
3199 |
test -z "$as_dir" && as_dir=. |
|
3200 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3201 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3202 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3203 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3204 |
break 2 |
|
3205 |
fi |
|
3206 |
done |
|
3207 |
done |
|
3208 |
IFS=$as_save_IFS |
|
3209 |
||
3210 |
fi |
|
3211 |
fi |
|
3212 |
CC=$ac_cv_prog_CC |
|
3213 |
if test -n "$CC"; then |
|
3214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3215 |
$as_echo "$CC" >&6; } |
|
3216 |
else |
|
3217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3218 |
$as_echo "no" >&6; } |
|
3219 |
fi |
|
3220 |
||
3221 |
||
3222 |
test -n "$CC" && break |
|
3223 |
done |
|
3224 |
fi |
|
3225 |
if test -z "$CC"; then |
|
3226 |
ac_ct_CC=$CC |
|
3227 |
for ac_prog in cl.exe |
|
3228 |
do |
|
3229 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3230 |
set dummy $ac_prog; ac_word=$2 |
|
3231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3232 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3233 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3234 |
$as_echo_n "(cached) " >&6 |
3235 |
else |
|
3236 |
if test -n "$ac_ct_CC"; then |
|
3237 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3238 |
else |
|
3239 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3240 |
for as_dir in $PATH |
|
3241 |
do |
|
3242 |
IFS=$as_save_IFS |
|
3243 |
test -z "$as_dir" && as_dir=. |
|
3244 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3245 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3246 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3247 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3248 |
break 2 |
|
3249 |
fi |
|
3250 |
done |
|
3251 |
done |
|
3252 |
IFS=$as_save_IFS |
|
3253 |
||
3254 |
fi |
|
3255 |
fi |
|
3256 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3257 |
if test -n "$ac_ct_CC"; then |
|
3258 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3259 |
$as_echo "$ac_ct_CC" >&6; } |
|
3260 |
else |
|
3261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3262 |
$as_echo "no" >&6; } |
|
3263 |
fi |
|
3264 |
||
3265 |
||
3266 |
test -n "$ac_ct_CC" && break |
|
3267 |
done |
|
3268 |
||
3269 |
if test "x$ac_ct_CC" = x; then |
|
3270 |
CC="" |
|
3271 |
else |
|
3272 |
case $cross_compiling:$ac_tool_warned in |
|
3273 |
yes:) |
|
3274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3275 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3276 |
ac_tool_warned=yes ;; |
|
3277 |
esac |
|
3278 |
CC=$ac_ct_CC |
|
3279 |
fi |
|
3280 |
fi |
|
3281 |
||
3282 |
fi |
|
3283 |
||
3284 |
||
3285 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3286 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3287 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3288 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3289 |
|
3290 |
# Provide some information about the compiler. |
|
3291 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3292 |
set X $ac_compile |
|
3293 |
ac_compiler=$2 |
|
3294 |
for ac_option in --version -v -V -qversion; do |
|
3295 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3296 |
case "(($ac_try" in |
|
3297 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3298 |
*) ac_try_echo=$ac_try;; |
|
3299 |
esac |
|
3300 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3301 |
$as_echo "$ac_try_echo"; } >&5 |
|
3302 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3303 |
ac_status=$? |
|
3304 |
if test -s conftest.err; then |
|
3305 |
sed '10a\ |
|
3306 |
... rest of stderr output deleted ... |
|
3307 |
10q' conftest.err >conftest.er1 |
|
3308 |
cat conftest.er1 >&5 |
|
3309 |
fi |
|
3310 |
rm -f conftest.er1 conftest.err |
|
3311 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3312 |
test $ac_status = 0; } |
|
3313 |
done |
|
3314 |
||
3315 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3316 |
/* end confdefs.h. */ |
|
3317 |
||
3318 |
int |
|
3319 |
main () |
|
3320 |
{ |
|
3321 |
||
3322 |
; |
|
3323 |
return 0; |
|
3324 |
} |
|
3325 |
_ACEOF |
|
3326 |
ac_clean_files_save=$ac_clean_files |
|
3327 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3328 |
# Try to create an executable without -o first, disregard a.out. |
|
3329 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3330 |
# of exeext. |
|
3331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
3332 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
3333 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3334 |
||
3335 |
# The possible output files: |
|
3336 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3337 |
||
3338 |
ac_rmfiles= |
|
3339 |
for ac_file in $ac_files |
|
3340 |
do |
|
3341 |
case $ac_file in |
|
3342 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3343 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3344 |
esac |
|
3345 |
done |
|
3346 |
rm -f $ac_rmfiles |
|
3347 |
||
3348 |
if { { ac_try="$ac_link_default" |
|
3349 |
case "(($ac_try" in |
|
3350 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3351 |
*) ac_try_echo=$ac_try;; |
|
3352 |
esac |
|
3353 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3354 |
$as_echo "$ac_try_echo"; } >&5 |
|
3355 |
(eval "$ac_link_default") 2>&5 |
|
3356 |
ac_status=$? |
|
3357 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3358 |
test $ac_status = 0; }; then : |
|
3359 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3360 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3361 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3362 |
# so that the user can short-circuit this test for compilers unknown to |
|
3363 |
# Autoconf. |
|
3364 |
for ac_file in $ac_files '' |
|
3365 |
do |
|
3366 |
test -f "$ac_file" || continue |
|
3367 |
case $ac_file in |
|
3368 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3369 |
;; |
|
3370 |
[ab].out ) |
|
3371 |
# We found the default executable, but exeext='' is most |
|
3372 |
# certainly right. |
|
3373 |
break;; |
|
3374 |
*.* ) |
|
3375 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3376 |
then :; else |
|
3377 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3378 |
fi |
|
3379 |
# We set ac_cv_exeext here because the later test for it is not |
|
3380 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3381 |
# argument, so we may need to know it at that point already. |
|
3382 |
# Even if this section looks crufty: it has the advantage of |
|
3383 |
# actually working. |
|
3384 |
break;; |
|
3385 |
* ) |
|
3386 |
break;; |
|
3387 |
esac |
|
3388 |
done |
|
3389 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3390 |
||
3391 |
else |
|
3392 |
ac_file='' |
|
3393 |
fi |
|
3394 |
if test -z "$ac_file"; then : |
|
3395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3396 |
$as_echo "no" >&6; } |
|
3397 |
$as_echo "$as_me: failed program was:" >&5 |
|
3398 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3399 |
||
3400 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3401 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3402 |
as_fn_error 77 "C compiler cannot create executables |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3403 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3404 |
else |
3405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3406 |
$as_echo "yes" >&6; } |
|
3407 |
fi |
|
3408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3409 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3411 |
$as_echo "$ac_file" >&6; } |
|
3412 |
ac_exeext=$ac_cv_exeext |
|
3413 |
||
3414 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3415 |
ac_clean_files=$ac_clean_files_save |
|
3416 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3417 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3418 |
if { { ac_try="$ac_link" |
|
3419 |
case "(($ac_try" in |
|
3420 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3421 |
*) ac_try_echo=$ac_try;; |
|
3422 |
esac |
|
3423 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3424 |
$as_echo "$ac_try_echo"; } >&5 |
|
3425 |
(eval "$ac_link") 2>&5 |
|
3426 |
ac_status=$? |
|
3427 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3428 |
test $ac_status = 0; }; then : |
|
3429 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3430 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3431 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3432 |
# `rm'. |
|
3433 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3434 |
test -f "$ac_file" || continue |
|
3435 |
case $ac_file in |
|
3436 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3437 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3438 |
break;; |
|
3439 |
* ) break;; |
|
3440 |
esac |
|
3441 |
done |
|
3442 |
else |
|
3443 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3444 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3445 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3446 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3447 |
fi |
3448 |
rm -f conftest conftest$ac_cv_exeext |
|
3449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3450 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3451 |
||
3452 |
rm -f conftest.$ac_ext |
|
3453 |
EXEEXT=$ac_cv_exeext |
|
3454 |
ac_exeext=$EXEEXT |
|
3455 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3456 |
/* end confdefs.h. */ |
|
3457 |
#include <stdio.h> |
|
3458 |
int |
|
3459 |
main () |
|
3460 |
{ |
|
3461 |
FILE *f = fopen ("conftest.out", "w"); |
|
3462 |
return ferror (f) || fclose (f) != 0; |
|
3463 |
||
3464 |
; |
|
3465 |
return 0; |
|
3466 |
} |
|
3467 |
_ACEOF |
|
3468 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3469 |
# Check that the compiler produces executables we can run. If not, either |
|
3470 |
# the compiler is broken, or we cross compile. |
|
3471 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3472 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3473 |
if test "$cross_compiling" != yes; then |
|
3474 |
{ { ac_try="$ac_link" |
|
3475 |
case "(($ac_try" in |
|
3476 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3477 |
*) ac_try_echo=$ac_try;; |
|
3478 |
esac |
|
3479 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3480 |
$as_echo "$ac_try_echo"; } >&5 |
|
3481 |
(eval "$ac_link") 2>&5 |
|
3482 |
ac_status=$? |
|
3483 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3484 |
test $ac_status = 0; } |
|
3485 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3486 |
{ { case "(($ac_try" in |
|
3487 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3488 |
*) ac_try_echo=$ac_try;; |
|
3489 |
esac |
|
3490 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3491 |
$as_echo "$ac_try_echo"; } >&5 |
|
3492 |
(eval "$ac_try") 2>&5 |
|
3493 |
ac_status=$? |
|
3494 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3495 |
test $ac_status = 0; }; }; then |
|
3496 |
cross_compiling=no |
|
3497 |
else |
|
3498 |
if test "$cross_compiling" = maybe; then |
|
3499 |
cross_compiling=yes |
|
3500 |
else |
|
3501 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3502 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3503 |
as_fn_error $? "cannot run C compiled programs. |
|
3504 |
If you meant to cross compile, use \`--host'. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3505 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3506 |
fi |
3507 |
fi |
|
3508 |
fi |
|
3509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3510 |
$as_echo "$cross_compiling" >&6; } |
|
3511 |
||
3512 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3513 |
ac_clean_files=$ac_clean_files_save |
|
3514 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3515 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3516 |
if ${ac_cv_objext+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3517 |
$as_echo_n "(cached) " >&6 |
3518 |
else |
|
3519 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3520 |
/* end confdefs.h. */ |
|
3521 |
||
3522 |
int |
|
3523 |
main () |
|
3524 |
{ |
|
3525 |
||
3526 |
; |
|
3527 |
return 0; |
|
3528 |
} |
|
3529 |
_ACEOF |
|
3530 |
rm -f conftest.o conftest.obj |
|
3531 |
if { { ac_try="$ac_compile" |
|
3532 |
case "(($ac_try" in |
|
3533 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3534 |
*) ac_try_echo=$ac_try;; |
|
3535 |
esac |
|
3536 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3537 |
$as_echo "$ac_try_echo"; } >&5 |
|
3538 |
(eval "$ac_compile") 2>&5 |
|
3539 |
ac_status=$? |
|
3540 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3541 |
test $ac_status = 0; }; then : |
|
3542 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3543 |
test -f "$ac_file" || continue; |
|
3544 |
case $ac_file in |
|
3545 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3546 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3547 |
break;; |
|
3548 |
esac |
|
3549 |
done |
|
3550 |
else |
|
3551 |
$as_echo "$as_me: failed program was:" >&5 |
|
3552 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3553 |
||
3554 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3555 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3556 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3557 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3558 |
fi |
3559 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3560 |
fi |
|
3561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3562 |
$as_echo "$ac_cv_objext" >&6; } |
|
3563 |
OBJEXT=$ac_cv_objext |
|
3564 |
ac_objext=$OBJEXT |
|
3565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
3566 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3567 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3568 |
$as_echo_n "(cached) " >&6 |
3569 |
else |
|
3570 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3571 |
/* end confdefs.h. */ |
|
3572 |
||
3573 |
int |
|
3574 |
main () |
|
3575 |
{ |
|
3576 |
#ifndef __GNUC__ |
|
3577 |
choke me |
|
3578 |
#endif |
|
3579 |
||
3580 |
; |
|
3581 |
return 0; |
|
3582 |
} |
|
3583 |
_ACEOF |
|
3584 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3585 |
ac_compiler_gnu=yes |
|
3586 |
else |
|
3587 |
ac_compiler_gnu=no |
|
3588 |
fi |
|
3589 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3590 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3591 |
||
3592 |
fi |
|
3593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
3594 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3595 |
if test $ac_compiler_gnu = yes; then |
|
3596 |
GCC=yes |
|
3597 |
else |
|
3598 |
GCC= |
|
3599 |
fi |
|
3600 |
ac_test_CFLAGS=${CFLAGS+set} |
|
3601 |
ac_save_CFLAGS=$CFLAGS |
|
3602 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
3603 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3604 |
if ${ac_cv_prog_cc_g+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3605 |
$as_echo_n "(cached) " >&6 |
3606 |
else |
|
3607 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3608 |
ac_c_werror_flag=yes |
|
3609 |
ac_cv_prog_cc_g=no |
|
3610 |
CFLAGS="-g" |
|
3611 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3612 |
/* end confdefs.h. */ |
|
3613 |
||
3614 |
int |
|
3615 |
main () |
|
3616 |
{ |
|
3617 |
||
3618 |
; |
|
3619 |
return 0; |
|
3620 |
} |
|
3621 |
_ACEOF |
|
3622 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3623 |
ac_cv_prog_cc_g=yes |
|
3624 |
else |
|
3625 |
CFLAGS="" |
|
3626 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3627 |
/* end confdefs.h. */ |
|
3628 |
||
3629 |
int |
|
3630 |
main () |
|
3631 |
{ |
|
3632 |
||
3633 |
; |
|
3634 |
return 0; |
|
3635 |
} |
|
3636 |
_ACEOF |
|
3637 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3638 |
||
3639 |
else |
|
3640 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3641 |
CFLAGS="-g" |
|
3642 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3643 |
/* end confdefs.h. */ |
|
3644 |
||
3645 |
int |
|
3646 |
main () |
|
3647 |
{ |
|
3648 |
||
3649 |
; |
|
3650 |
return 0; |
|
3651 |
} |
|
3652 |
_ACEOF |
|
3653 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3654 |
ac_cv_prog_cc_g=yes |
|
3655 |
fi |
|
3656 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3657 |
fi |
|
3658 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3659 |
fi |
|
3660 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3661 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3662 |
fi |
|
3663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
3664 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
3665 |
if test "$ac_test_CFLAGS" = set; then |
|
3666 |
CFLAGS=$ac_save_CFLAGS |
|
3667 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3668 |
if test "$GCC" = yes; then |
|
3669 |
CFLAGS="-g -O2" |
|
3670 |
else |
|
3671 |
CFLAGS="-g" |
|
3672 |
fi |
|
3673 |
else |
|
3674 |
if test "$GCC" = yes; then |
|
3675 |
CFLAGS="-O2" |
|
3676 |
else |
|
3677 |
CFLAGS= |
|
3678 |
fi |
|
3679 |
fi |
|
3680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
3681 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3682 |
if ${ac_cv_prog_cc_c89+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3683 |
$as_echo_n "(cached) " >&6 |
3684 |
else |
|
3685 |
ac_cv_prog_cc_c89=no |
|
3686 |
ac_save_CC=$CC |
|
3687 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3688 |
/* end confdefs.h. */ |
|
3689 |
#include <stdarg.h> |
|
3690 |
#include <stdio.h> |
|
3691 |
#include <sys/types.h> |
|
3692 |
#include <sys/stat.h> |
|
3693 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3694 |
struct buf { int x; }; |
|
3695 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3696 |
static char *e (p, i) |
|
3697 |
char **p; |
|
3698 |
int i; |
|
3699 |
{ |
|
3700 |
return p[i]; |
|
3701 |
} |
|
3702 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
3703 |
{ |
|
3704 |
char *s; |
|
3705 |
va_list v; |
|
3706 |
va_start (v,p); |
|
3707 |
s = g (p, va_arg (v,int)); |
|
3708 |
va_end (v); |
|
3709 |
return s; |
|
3710 |
} |
|
3711 |
||
3712 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3713 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
3714 |
These don't provoke an error unfortunately, instead are silently treated |
|
3715 |
as 'x'. The following induces an error, until -std is added to get |
|
3716 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
3717 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
3718 |
that's true only with -std. */ |
|
3719 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3720 |
||
3721 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
3722 |
inside strings and character constants. */ |
|
3723 |
#define FOO(x) 'x' |
|
3724 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3725 |
||
3726 |
int test (int i, double x); |
|
3727 |
struct s1 {int (*f) (int a);}; |
|
3728 |
struct s2 {int (*f) (double a);}; |
|
3729 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3730 |
int argc; |
|
3731 |
char **argv; |
|
3732 |
int |
|
3733 |
main () |
|
3734 |
{ |
|
3735 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3736 |
; |
|
3737 |
return 0; |
|
3738 |
} |
|
3739 |
_ACEOF |
|
3740 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3741 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3742 |
do |
|
3743 |
CC="$ac_save_CC $ac_arg" |
|
3744 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3745 |
ac_cv_prog_cc_c89=$ac_arg |
|
3746 |
fi |
|
3747 |
rm -f core conftest.err conftest.$ac_objext |
|
3748 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3749 |
done |
|
3750 |
rm -f conftest.$ac_ext |
|
3751 |
CC=$ac_save_CC |
|
3752 |
||
3753 |
fi |
|
3754 |
# AC_CACHE_VAL |
|
3755 |
case "x$ac_cv_prog_cc_c89" in |
|
3756 |
x) |
|
3757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
3758 |
$as_echo "none needed" >&6; } ;; |
|
3759 |
xno) |
|
3760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
3761 |
$as_echo "unsupported" >&6; } ;; |
|
3762 |
*) |
|
3763 |
CC="$CC $ac_cv_prog_cc_c89" |
|
3764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
3765 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
3766 |
esac |
|
3767 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
3768 |
||
3769 |
fi |
|
3770 |
||
3771 |
ac_ext=c |
|
3772 |
ac_cpp='$CPP $CPPFLAGS' |
|
3773 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3774 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3775 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
3776 |
DEPDIR="${am__leading_dot}deps" |
3777 |
||
3778 |
ac_config_commands="$ac_config_commands depfiles" |
|
3779 |
||
3780 |
||
3781 |
am_make=${MAKE-make} |
|
3782 |
cat > confinc << 'END' |
|
3783 |
am__doit: |
|
3784 |
@echo this is the am__doit target |
|
3785 |
.PHONY: am__doit |
|
3786 |
END |
|
3787 |
# If we don't find an include directive, just comment out the code. |
|
3788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
3789 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
3790 |
am__include="#" |
|
3791 |
am__quote= |
|
3792 |
_am_result=none |
|
3793 |
# First try GNU make style include. |
|
3794 |
echo "include confinc" > confmf |
|
3795 |
# Ignore all kinds of additional output from `make'. |
|
3796 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3797 |
*the\ am__doit\ target*) |
|
3798 |
am__include=include |
|
3799 |
am__quote= |
|
3800 |
_am_result=GNU |
|
3801 |
;; |
|
3802 |
esac |
|
3803 |
# Now try BSD make style include. |
|
3804 |
if test "$am__include" = "#"; then |
|
3805 |
echo '.include "confinc"' > confmf |
|
3806 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3807 |
*the\ am__doit\ target*) |
|
3808 |
am__include=.include |
|
3809 |
am__quote="\"" |
|
3810 |
_am_result=BSD |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3811 |
;; |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
3812 |
esac |
3813 |
fi |
|
3814 |
||
3815 |
||
3816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
3817 |
$as_echo "$_am_result" >&6; } |
|
3818 |
rm -f confinc confmf |
|
3819 |
||
3820 |
# Check whether --enable-dependency-tracking was given. |
|
3821 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
3822 |
enableval=$enable_dependency_tracking; |
|
3823 |
fi |
|
3824 |
||
3825 |
if test "x$enable_dependency_tracking" != xno; then |
|
3826 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3827 |
AMDEPBACKSLASH='\' |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
3828 |
am__nodep='_no' |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
3829 |
fi |
3830 |
if test "x$enable_dependency_tracking" != xno; then |
|
3831 |
AMDEP_TRUE= |
|
3832 |
AMDEP_FALSE='#' |
|
3833 |
else |
|
3834 |
AMDEP_TRUE='#' |
|
3835 |
AMDEP_FALSE= |
|
3836 |
fi |
|
3837 |
||
3838 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3839 |
|
3840 |
depcc="$CC" am_compiler_list= |
|
3841 |
||
3842 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3843 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3844 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3845 |
$as_echo_n "(cached) " >&6 |
3846 |
else |
|
3847 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3848 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3849 |
# making bogus files that we don't know about and never remove. For |
|
3850 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3851 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
3852 |
# in D'. |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
3853 |
rm -rf conftest.dir |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3854 |
mkdir conftest.dir |
3855 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3856 |
# using a relative directory. |
|
3857 |
cp "$am_depcomp" conftest.dir |
|
3858 |
cd conftest.dir |
|
3859 |
# We will build objects and dependencies in a subdirectory because |
|
3860 |
# it helps to detect inapplicable dependency modes. For instance |
|
3861 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3862 |
# side effect of compilation, but ICC will put the dependencies in |
|
3863 |
# the current directory while Tru64 will put them in the object |
|
3864 |
# directory. |
|
3865 |
mkdir sub |
|
3866 |
||
3867 |
am_cv_CC_dependencies_compiler_type=none |
|
3868 |
if test "$am_compiler_list" = ""; then |
|
3869 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3870 |
fi |
|
3871 |
am__universal=false |
|
3872 |
case " $depcc " in #( |
|
3873 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3874 |
esac |
|
3875 |
||
3876 |
for depmode in $am_compiler_list; do |
|
3877 |
# Setup a source with many dependencies, because some compilers |
|
3878 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3879 |
# we should not choose a depcomp mode which is confused by this. |
|
3880 |
# |
|
3881 |
# We need to recreate these files for each test, as the compiler may |
|
3882 |
# overwrite some of them when testing with obscure command lines. |
|
3883 |
# This happens at least with the AIX C compiler. |
|
3884 |
: > sub/conftest.c |
|
3885 |
for i in 1 2 3 4 5 6; do |
|
3886 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3887 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3888 |
# Solaris 8's {/usr,}/bin/sh. |
|
3889 |
touch sub/conftst$i.h |
|
3890 |
done |
|
3891 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3892 |
||
3893 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
3894 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3895 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
3896 |
# versions had trouble with output in subdirs |
|
3897 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3898 |
am__minus_obj="-o $am__obj" |
|
3899 |
case $depmode in |
|
3900 |
gcc) |
|
3901 |
# This depmode causes a compiler race in universal mode. |
|
3902 |
test "$am__universal" = false || continue |
|
3903 |
;; |
|
3904 |
nosideeffect) |
|
3905 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
3906 |
# only be used when explicitly requested |
|
3907 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3908 |
continue |
|
3909 |
else |
|
3910 |
break |
|
3911 |
fi |
|
3912 |
;; |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
3913 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3914 |
# This compiler won't grok `-c -o', but also, the minuso test has |
3915 |
# not run yet. These depmodes are late enough in the game, and |
|
3916 |
# so weak that their functioning should not be impacted. |
|
3917 |
am__obj=conftest.${OBJEXT-o} |
|
3918 |
am__minus_obj= |
|
3919 |
;; |
|
3920 |
none) break ;; |
|
3921 |
esac |
|
3922 |
if depmode=$depmode \ |
|
3923 |
source=sub/conftest.c object=$am__obj \ |
|
3924 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3925 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3926 |
>/dev/null 2>conftest.err && |
|
3927 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3928 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3929 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3930 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3931 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3932 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3933 |
# that says an option was ignored or not supported. |
|
3934 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3935 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3936 |
# The diagnosis changed in icc 8.0: |
|
3937 |
# icc: Command line remark: option '-MP' not supported |
|
3938 |
if (grep 'ignoring option' conftest.err || |
|
3939 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3940 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3941 |
break |
|
3942 |
fi |
|
3943 |
fi |
|
3944 |
done |
|
3945 |
||
3946 |
cd .. |
|
3947 |
rm -rf conftest.dir |
|
3948 |
else |
|
3949 |
am_cv_CC_dependencies_compiler_type=none |
|
3950 |
fi |
|
3951 |
||
3952 |
fi |
|
3953 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3954 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3955 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3956 |
||
3957 |
if |
|
3958 |
test "x$enable_dependency_tracking" != xno \ |
|
3959 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3960 |
am__fastdepCC_TRUE= |
|
3961 |
am__fastdepCC_FALSE='#' |
|
3962 |
else |
|
3963 |
am__fastdepCC_TRUE='#' |
|
3964 |
am__fastdepCC_FALSE= |
|
3965 |
fi |
|
3966 |
||
3967 |
||
3968 |
if test "x$CC" != xcc; then |
|
3969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 |
|
3970 |
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } |
|
3971 |
else |
|
3972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 |
|
3973 |
$as_echo_n "checking whether cc understands -c and -o together... " >&6; } |
|
3974 |
fi |
|
3975 |
set dummy $CC; ac_cc=`$as_echo "$2" | |
|
3976 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
3977 |
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
3978 |
$as_echo_n "(cached) " >&6 |
3979 |
else |
|
3980 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3981 |
/* end confdefs.h. */ |
|
3982 |
||
3983 |
int |
|
3984 |
main () |
|
3985 |
{ |
|
3986 |
||
3987 |
; |
|
3988 |
return 0; |
|
3989 |
} |
|
3990 |
_ACEOF |
|
3991 |
# Make sure it works both with $CC and with simple cc. |
|
3992 |
# We do the test twice because some compilers refuse to overwrite an |
|
3993 |
# existing .o file with -o, though they will create one. |
|
3994 |
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
|
3995 |
rm -f conftest2.* |
|
3996 |
if { { case "(($ac_try" in |
|
3997 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3998 |
*) ac_try_echo=$ac_try;; |
|
3999 |
esac |
|
4000 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4001 |
$as_echo "$ac_try_echo"; } >&5 |
|
4002 |
(eval "$ac_try") 2>&5 |
|
4003 |
ac_status=$? |
|
4004 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4005 |
test $ac_status = 0; } && |
|
4006 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in |
|
4007 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4008 |
*) ac_try_echo=$ac_try;; |
|
4009 |
esac |
|
4010 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4011 |
$as_echo "$ac_try_echo"; } >&5 |
|
4012 |
(eval "$ac_try") 2>&5 |
|
4013 |
ac_status=$? |
|
4014 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4015 |
test $ac_status = 0; }; |
|
4016 |
then |
|
4017 |
eval ac_cv_prog_cc_${ac_cc}_c_o=yes |
|
4018 |
if test "x$CC" != xcc; then |
|
4019 |
# Test first that cc exists at all. |
|
4020 |
if { ac_try='cc -c conftest.$ac_ext >&5' |
|
4021 |
{ { case "(($ac_try" in |
|
4022 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4023 |
*) ac_try_echo=$ac_try;; |
|
4024 |
esac |
|
4025 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4026 |
$as_echo "$ac_try_echo"; } >&5 |
|
4027 |
(eval "$ac_try") 2>&5 |
|
4028 |
ac_status=$? |
|
4029 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4030 |
test $ac_status = 0; }; }; then |
|
4031 |
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
|
4032 |
rm -f conftest2.* |
|
4033 |
if { { case "(($ac_try" in |
|
4034 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4035 |
*) ac_try_echo=$ac_try;; |
|
4036 |
esac |
|
4037 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4038 |
$as_echo "$ac_try_echo"; } >&5 |
|
4039 |
(eval "$ac_try") 2>&5 |
|
4040 |
ac_status=$? |
|
4041 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4042 |
test $ac_status = 0; } && |
|
4043 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in |
|
4044 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4045 |
*) ac_try_echo=$ac_try;; |
|
4046 |
esac |
|
4047 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4048 |
$as_echo "$ac_try_echo"; } >&5 |
|
4049 |
(eval "$ac_try") 2>&5 |
|
4050 |
ac_status=$? |
|
4051 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4052 |
test $ac_status = 0; }; |
|
4053 |
then |
|
4054 |
# cc works too. |
|
4055 |
: |
|
4056 |
else |
|
4057 |
# cc exists but doesn't like -o. |
|
4058 |
eval ac_cv_prog_cc_${ac_cc}_c_o=no |
|
4059 |
fi |
|
4060 |
fi |
|
4061 |
fi |
|
4062 |
else |
|
4063 |
eval ac_cv_prog_cc_${ac_cc}_c_o=no |
|
4064 |
fi |
|
4065 |
rm -f core conftest* |
|
4066 |
||
4067 |
fi |
|
4068 |
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then |
|
4069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
4070 |
$as_echo "yes" >&6; } |
|
4071 |
else |
|
4072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4073 |
$as_echo "no" >&6; } |
|
4074 |
||
4075 |
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
|
4076 |
||
4077 |
fi |
|
4078 |
||
4079 |
# FIXME: we rely on the cache variable name because |
|
4080 |
# there is no other way. |
|
4081 |
set dummy $CC |
|
4082 |
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
|
4083 |
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
|
4084 |
if test "$am_t" != yes; then |
|
4085 |
# Losing compiler, so override with the script. |
|
4086 |
# FIXME: It is wrong to rewrite CC. |
|
4087 |
# But if we don't then we get into trouble of one sort or another. |
|
4088 |
# A longer-term fix would be to have automake use am__CC in this case, |
|
4089 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
4090 |
CC="$am_aux_dir/compile $CC" |
|
4091 |
fi |
|
4092 |
||
4093 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
4094 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4095 |
ac_ext=c |
4096 |
ac_cpp='$CPP $CPPFLAGS' |
|
4097 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4098 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4099 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
4101 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
4102 |
# On Suns, sometimes $CPP names a directory. |
|
4103 |
if test -n "$CPP" && test -d "$CPP"; then |
|
4104 |
CPP= |
|
4105 |
fi |
|
4106 |
if test -z "$CPP"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4107 |
if ${ac_cv_prog_CPP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4108 |
$as_echo_n "(cached) " >&6 |
4109 |
else |
|
4110 |
# Double quotes because CPP needs to be expanded |
|
4111 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4112 |
do |
|
4113 |
ac_preproc_ok=false |
|
4114 |
for ac_c_preproc_warn_flag in '' yes |
|
4115 |
do |
|
4116 |
# Use a header file that comes with gcc, so configuring glibc |
|
4117 |
# with a fresh cross-compiler works. |
|
4118 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4119 |
# <limits.h> exists even on freestanding compilers. |
|
4120 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
4121 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
4122 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4123 |
/* end confdefs.h. */ |
|
4124 |
#ifdef __STDC__ |
|
4125 |
# include <limits.h> |
|
4126 |
#else |
|
4127 |
# include <assert.h> |
|
4128 |
#endif |
|
4129 |
Syntax error |
|
4130 |
_ACEOF |
|
4131 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4132 |
||
4133 |
else |
|
4134 |
# Broken: fails on valid input. |
|
4135 |
continue |
|
4136 |
fi |
|
4137 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4138 |
||
4139 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
4140 |
# can be detected and how. |
|
4141 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4142 |
/* end confdefs.h. */ |
|
4143 |
#include <ac_nonexistent.h> |
|
4144 |
_ACEOF |
|
4145 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4146 |
# Broken: success on invalid input. |
|
4147 |
continue |
|
4148 |
else |
|
4149 |
# Passes both tests. |
|
4150 |
ac_preproc_ok=: |
|
4151 |
break |
|
4152 |
fi |
|
4153 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4154 |
||
4155 |
done |
|
4156 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4157 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
4158 |
if $ac_preproc_ok; then : |
|
4159 |
break |
|
4160 |
fi |
|
4161 |
||
4162 |
done |
|
4163 |
ac_cv_prog_CPP=$CPP |
|
4164 |
||
4165 |
fi |
|
4166 |
CPP=$ac_cv_prog_CPP |
|
4167 |
else |
|
4168 |
ac_cv_prog_CPP=$CPP |
|
4169 |
fi |
|
4170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
4171 |
$as_echo "$CPP" >&6; } |
|
4172 |
ac_preproc_ok=false |
|
4173 |
for ac_c_preproc_warn_flag in '' yes |
|
4174 |
do |
|
4175 |
# Use a header file that comes with gcc, so configuring glibc |
|
4176 |
# with a fresh cross-compiler works. |
|
4177 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4178 |
# <limits.h> exists even on freestanding compilers. |
|
4179 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
4180 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
4181 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4182 |
/* end confdefs.h. */ |
|
4183 |
#ifdef __STDC__ |
|
4184 |
# include <limits.h> |
|
4185 |
#else |
|
4186 |
# include <assert.h> |
|
4187 |
#endif |
|
4188 |
Syntax error |
|
4189 |
_ACEOF |
|
4190 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4191 |
||
4192 |
else |
|
4193 |
# Broken: fails on valid input. |
|
4194 |
continue |
|
4195 |
fi |
|
4196 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4197 |
||
4198 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
4199 |
# can be detected and how. |
|
4200 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4201 |
/* end confdefs.h. */ |
|
4202 |
#include <ac_nonexistent.h> |
|
4203 |
_ACEOF |
|
4204 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4205 |
# Broken: success on invalid input. |
|
4206 |
continue |
|
4207 |
else |
|
4208 |
# Passes both tests. |
|
4209 |
ac_preproc_ok=: |
|
4210 |
break |
|
4211 |
fi |
|
4212 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4213 |
||
4214 |
done |
|
4215 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4216 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
4217 |
if $ac_preproc_ok; then : |
|
4218 |
||
4219 |
else |
|
4220 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
4221 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4222 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4223 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4224 |
fi |
4225 |
||
4226 |
ac_ext=c |
|
4227 |
ac_cpp='$CPP $CPPFLAGS' |
|
4228 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4229 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4230 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4231 |
||
4232 |
||
4233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
4234 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4235 |
if ${ac_cv_path_GREP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4236 |
$as_echo_n "(cached) " >&6 |
4237 |
else |
|
4238 |
if test -z "$GREP"; then |
|
4239 |
ac_path_GREP_found=false |
|
4240 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4241 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4242 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4243 |
do |
|
4244 |
IFS=$as_save_IFS |
|
4245 |
test -z "$as_dir" && as_dir=. |
|
4246 |
for ac_prog in grep ggrep; do |
|
4247 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4248 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4249 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
4250 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
4251 |
# Check for GNU $ac_path_GREP |
|
4252 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4253 |
*GNU*) |
|
4254 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4255 |
*) |
|
4256 |
ac_count=0 |
|
4257 |
$as_echo_n 0123456789 >"conftest.in" |
|
4258 |
while : |
|
4259 |
do |
|
4260 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4261 |
mv "conftest.tmp" "conftest.in" |
|
4262 |
cp "conftest.in" "conftest.nl" |
|
4263 |
$as_echo 'GREP' >> "conftest.nl" |
|
4264 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4265 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4266 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4267 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4268 |
# Best one so far, save it but keep looking for a better one |
|
4269 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4270 |
ac_path_GREP_max=$ac_count |
|
4271 |
fi |
|
4272 |
# 10*(2^10) chars as input seems more than enough |
|
4273 |
test $ac_count -gt 10 && break |
|
4274 |
done |
|
4275 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4276 |
esac |
|
4277 |
||
4278 |
$ac_path_GREP_found && break 3 |
|
4279 |
done |
|
4280 |
done |
|
4281 |
done |
|
4282 |
IFS=$as_save_IFS |
|
4283 |
if test -z "$ac_cv_path_GREP"; then |
|
4284 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4285 |
fi |
|
4286 |
else |
|
4287 |
ac_cv_path_GREP=$GREP |
|
4288 |
fi |
|
4289 |
||
4290 |
fi |
|
4291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
4292 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
4293 |
GREP="$ac_cv_path_GREP" |
|
4294 |
||
4295 |
||
4296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
4297 |
$as_echo_n "checking for egrep... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4298 |
if ${ac_cv_path_EGREP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4299 |
$as_echo_n "(cached) " >&6 |
4300 |
else |
|
4301 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4302 |
then ac_cv_path_EGREP="$GREP -E" |
|
4303 |
else |
|
4304 |
if test -z "$EGREP"; then |
|
4305 |
ac_path_EGREP_found=false |
|
4306 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4307 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4308 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4309 |
do |
|
4310 |
IFS=$as_save_IFS |
|
4311 |
test -z "$as_dir" && as_dir=. |
|
4312 |
for ac_prog in egrep; do |
|
4313 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4314 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4315 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
4316 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
4317 |
# Check for GNU $ac_path_EGREP |
|
4318 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4319 |
*GNU*) |
|
4320 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4321 |
*) |
|
4322 |
ac_count=0 |
|
4323 |
$as_echo_n 0123456789 >"conftest.in" |
|
4324 |
while : |
|
4325 |
do |
|
4326 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4327 |
mv "conftest.tmp" "conftest.in" |
|
4328 |
cp "conftest.in" "conftest.nl" |
|
4329 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4330 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4331 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4332 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4333 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4334 |
# Best one so far, save it but keep looking for a better one |
|
4335 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4336 |
ac_path_EGREP_max=$ac_count |
|
4337 |
fi |
|
4338 |
# 10*(2^10) chars as input seems more than enough |
|
4339 |
test $ac_count -gt 10 && break |
|
4340 |
done |
|
4341 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4342 |
esac |
|
4343 |
||
4344 |
$ac_path_EGREP_found && break 3 |
|
4345 |
done |
|
4346 |
done |
|
4347 |
done |
|
4348 |
IFS=$as_save_IFS |
|
4349 |
if test -z "$ac_cv_path_EGREP"; then |
|
4350 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4351 |
fi |
|
4352 |
else |
|
4353 |
ac_cv_path_EGREP=$EGREP |
|
4354 |
fi |
|
4355 |
||
4356 |
fi |
|
4357 |
fi |
|
4358 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
4359 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4360 |
EGREP="$ac_cv_path_EGREP" |
|
4361 |
||
4362 |
||
4363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
4364 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4365 |
if ${ac_cv_header_stdc+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4366 |
$as_echo_n "(cached) " >&6 |
4367 |
else |
|
4368 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4369 |
/* end confdefs.h. */ |
|
4370 |
#include <stdlib.h> |
|
4371 |
#include <stdarg.h> |
|
4372 |
#include <string.h> |
|
4373 |
#include <float.h> |
|
4374 |
||
4375 |
int |
|
4376 |
main () |
|
4377 |
{ |
|
4378 |
||
4379 |
; |
|
4380 |
return 0; |
|
4381 |
} |
|
4382 |
_ACEOF |
|
4383 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4384 |
ac_cv_header_stdc=yes |
|
4385 |
else |
|
4386 |
ac_cv_header_stdc=no |
|
4387 |
fi |
|
4388 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4389 |
||
4390 |
if test $ac_cv_header_stdc = yes; then |
|
4391 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
4392 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4393 |
/* end confdefs.h. */ |
|
4394 |
#include <string.h> |
|
4395 |
||
4396 |
_ACEOF |
|
4397 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4398 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
4399 |
||
4400 |
else |
|
4401 |
ac_cv_header_stdc=no |
|
4402 |
fi |
|
4403 |
rm -f conftest* |
|
4404 |
||
4405 |
fi |
|
4406 |
||
4407 |
if test $ac_cv_header_stdc = yes; then |
|
4408 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
4409 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4410 |
/* end confdefs.h. */ |
|
4411 |
#include <stdlib.h> |
|
4412 |
||
4413 |
_ACEOF |
|
4414 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4415 |
$EGREP "free" >/dev/null 2>&1; then : |
|
4416 |
||
4417 |
else |
|
4418 |
ac_cv_header_stdc=no |
|
4419 |
fi |
|
4420 |
rm -f conftest* |
|
4421 |
||
4422 |
fi |
|
4423 |
||
4424 |
if test $ac_cv_header_stdc = yes; then |
|
4425 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
4426 |
if test "$cross_compiling" = yes; then : |
|
4427 |
: |
|
4428 |
else |
|
4429 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4430 |
/* end confdefs.h. */ |
|
4431 |
#include <ctype.h> |
|
4432 |
#include <stdlib.h> |
|
4433 |
#if ((' ' & 0x0FF) == 0x020) |
|
4434 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
4435 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
4436 |
#else |
|
4437 |
# define ISLOWER(c) \ |
|
4438 |
(('a' <= (c) && (c) <= 'i') \ |
|
4439 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
4440 |
|| ('s' <= (c) && (c) <= 'z')) |
|
4441 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
4442 |
#endif |
|
4443 |
||
4444 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
4445 |
int |
|
4446 |
main () |
|
4447 |
{ |
|
4448 |
int i; |
|
4449 |
for (i = 0; i < 256; i++) |
|
4450 |
if (XOR (islower (i), ISLOWER (i)) |
|
4451 |
|| toupper (i) != TOUPPER (i)) |
|
4452 |
return 2; |
|
4453 |
return 0; |
|
4454 |
} |
|
4455 |
_ACEOF |
|
4456 |
if ac_fn_c_try_run "$LINENO"; then : |
|
4457 |
||
4458 |
else |
|
4459 |
ac_cv_header_stdc=no |
|
4460 |
fi |
|
4461 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4462 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4463 |
fi |
|
4464 |
||
4465 |
fi |
|
4466 |
fi |
|
4467 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
4468 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
4469 |
if test $ac_cv_header_stdc = yes; then |
|
4470 |
||
4471 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
4472 |
||
4473 |
fi |
|
4474 |
||
4475 |
case `pwd` in |
|
4476 |
*\ * | *\ *) |
|
4477 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
4478 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
4479 |
esac |
|
4480 |
||
4481 |
||
4482 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
4483 |
macro_version='2.4.2' |
4484 |
macro_revision='1.3337' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4485 |
|
4486 |
||
4487 |
||
4488 |
||
4489 |
||
4490 |
||
4491 |
||
4492 |
||
4493 |
||
4494 |
||
4495 |
||
4496 |
||
4497 |
||
4498 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
4499 |
||
4500 |
# Make sure we can run config.sub. |
|
4501 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
4502 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
4503 |
||
4504 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
4505 |
$as_echo_n "checking build system type... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4506 |
if ${ac_cv_build+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4507 |
$as_echo_n "(cached) " >&6 |
4508 |
else |
|
4509 |
ac_build_alias=$build_alias |
|
4510 |
test "x$ac_build_alias" = x && |
|
4511 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
4512 |
test "x$ac_build_alias" = x && |
|
4513 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
4514 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
4515 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
4516 |
||
4517 |
fi |
|
4518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
4519 |
$as_echo "$ac_cv_build" >&6; } |
|
4520 |
case $ac_cv_build in |
|
4521 |
*-*-*) ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4522 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4523 |
esac |
4524 |
build=$ac_cv_build |
|
4525 |
ac_save_IFS=$IFS; IFS='-' |
|
4526 |
set x $ac_cv_build |
|
4527 |
shift |
|
4528 |
build_cpu=$1 |
|
4529 |
build_vendor=$2 |
|
4530 |
shift; shift |
|
4531 |
# Remember, the first character of IFS is used to create $*, |
|
4532 |
# except with old shells: |
|
4533 |
build_os=$* |
|
4534 |
IFS=$ac_save_IFS |
|
4535 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
4536 |
||
4537 |
||
4538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
4539 |
$as_echo_n "checking host system type... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4540 |
if ${ac_cv_host+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4541 |
$as_echo_n "(cached) " >&6 |
4542 |
else |
|
4543 |
if test "x$host_alias" = x; then |
|
4544 |
ac_cv_host=$ac_cv_build |
|
4545 |
else |
|
4546 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
4547 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
4548 |
fi |
|
4549 |
||
4550 |
fi |
|
4551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
4552 |
$as_echo "$ac_cv_host" >&6; } |
|
4553 |
case $ac_cv_host in |
|
4554 |
*-*-*) ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4555 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4556 |
esac |
4557 |
host=$ac_cv_host |
|
4558 |
ac_save_IFS=$IFS; IFS='-' |
|
4559 |
set x $ac_cv_host |
|
4560 |
shift |
|
4561 |
host_cpu=$1 |
|
4562 |
host_vendor=$2 |
|
4563 |
shift; shift |
|
4564 |
# Remember, the first character of IFS is used to create $*, |
|
4565 |
# except with old shells: |
|
4566 |
host_os=$* |
|
4567 |
IFS=$ac_save_IFS |
|
4568 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
4569 |
||
4570 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4571 |
# Backslashify metacharacters that are still active within |
4572 |
# double-quoted strings. |
|
4573 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
4574 |
||
4575 |
# Same as above, but do not quote variable references. |
|
4576 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
4577 |
||
4578 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
4579 |
# double_quote_subst'ed string. |
|
4580 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
4581 |
||
4582 |
# Sed substitution to delay expansion of an escaped single quote. |
|
4583 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
4584 |
||
4585 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
4586 |
no_glob_subst='s/\*/\\\*/g' |
|
4587 |
||
4588 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
4589 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
4590 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
4591 |
||
4592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
4593 |
$as_echo_n "checking how to print strings... " >&6; } |
|
4594 |
# Test print first, because it will be a builtin if present. |
|
4595 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
4596 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
4597 |
ECHO='print -r --' |
|
4598 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
4599 |
ECHO='printf %s\n' |
|
4600 |
else |
|
4601 |
# Use this function as a fallback that always works. |
|
4602 |
func_fallback_echo () |
|
4603 |
{ |
|
4604 |
eval 'cat <<_LTECHO_EOF |
|
4605 |
$1 |
|
4606 |
_LTECHO_EOF' |
|
4607 |
} |
|
4608 |
ECHO='func_fallback_echo' |
|
4609 |
fi |
|
4610 |
||
4611 |
# func_echo_all arg... |
|
4612 |
# Invoke $ECHO with all args, space-separated. |
|
4613 |
func_echo_all () |
|
4614 |
{ |
|
4615 |
$ECHO "" |
|
4616 |
} |
|
4617 |
||
4618 |
case "$ECHO" in |
|
4619 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
4620 |
$as_echo "printf" >&6; } ;; |
|
4621 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
4622 |
$as_echo "print -r" >&6; } ;; |
|
4623 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
4624 |
$as_echo "cat" >&6; } ;; |
|
4625 |
esac |
|
4626 |
||
4627 |
||
4628 |
||
4629 |
||
4630 |
||
4631 |
||
4632 |
||
4633 |
||
4634 |
||
4635 |
||
4636 |
||
4637 |
||
4638 |
||
4639 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4641 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4642 |
if ${ac_cv_path_SED+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4643 |
$as_echo_n "(cached) " >&6 |
4644 |
else |
|
4645 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
4646 |
for ac_i in 1 2 3 4 5 6 7; do |
|
4647 |
ac_script="$ac_script$as_nl$ac_script" |
|
4648 |
done |
|
4649 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
4650 |
{ ac_script=; unset ac_script;} |
|
4651 |
if test -z "$SED"; then |
|
4652 |
ac_path_SED_found=false |
|
4653 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4654 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4655 |
for as_dir in $PATH |
|
4656 |
do |
|
4657 |
IFS=$as_save_IFS |
|
4658 |
test -z "$as_dir" && as_dir=. |
|
4659 |
for ac_prog in sed gsed; do |
|
4660 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4661 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
4662 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
4663 |
# Check for GNU ac_path_SED and select it if it is found. |
|
4664 |
# Check for GNU $ac_path_SED |
|
4665 |
case `"$ac_path_SED" --version 2>&1` in |
|
4666 |
*GNU*) |
|
4667 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
4668 |
*) |
|
4669 |
ac_count=0 |
|
4670 |
$as_echo_n 0123456789 >"conftest.in" |
|
4671 |
while : |
|
4672 |
do |
|
4673 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4674 |
mv "conftest.tmp" "conftest.in" |
|
4675 |
cp "conftest.in" "conftest.nl" |
|
4676 |
$as_echo '' >> "conftest.nl" |
|
4677 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4678 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4679 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4680 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
4681 |
# Best one so far, save it but keep looking for a better one |
|
4682 |
ac_cv_path_SED="$ac_path_SED" |
|
4683 |
ac_path_SED_max=$ac_count |
|
4684 |
fi |
|
4685 |
# 10*(2^10) chars as input seems more than enough |
|
4686 |
test $ac_count -gt 10 && break |
|
4687 |
done |
|
4688 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4689 |
esac |
|
4690 |
||
4691 |
$ac_path_SED_found && break 3 |
|
4692 |
done |
|
4693 |
done |
|
4694 |
done |
|
4695 |
IFS=$as_save_IFS |
|
4696 |
if test -z "$ac_cv_path_SED"; then |
|
4697 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
4698 |
fi |
|
4699 |
else |
|
4700 |
ac_cv_path_SED=$SED |
|
4701 |
fi |
|
4702 |
||
4703 |
fi |
|
4704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
4705 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
4706 |
SED="$ac_cv_path_SED" |
|
4707 |
rm -f conftest.sed |
|
4708 |
||
4709 |
test -z "$SED" && SED=sed |
|
4710 |
Xsed="$SED -e 1s/^X//" |
|
4711 |
||
4712 |
||
4713 |
||
4714 |
||
4715 |
||
4716 |
||
4717 |
||
4718 |
||
4719 |
||
4720 |
||
4721 |
||
4722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
|
4723 |
$as_echo_n "checking for fgrep... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4724 |
if ${ac_cv_path_FGREP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4725 |
$as_echo_n "(cached) " >&6 |
4726 |
else |
|
4727 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
4728 |
then ac_cv_path_FGREP="$GREP -F" |
|
4729 |
else |
|
4730 |
if test -z "$FGREP"; then |
|
4731 |
ac_path_FGREP_found=false |
|
4732 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4733 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4734 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4735 |
do |
|
4736 |
IFS=$as_save_IFS |
|
4737 |
test -z "$as_dir" && as_dir=. |
|
4738 |
for ac_prog in fgrep; do |
|
4739 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4740 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4741 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
4742 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
4743 |
# Check for GNU $ac_path_FGREP |
|
4744 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
4745 |
*GNU*) |
|
4746 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
4747 |
*) |
|
4748 |
ac_count=0 |
|
4749 |
$as_echo_n 0123456789 >"conftest.in" |
|
4750 |
while : |
|
4751 |
do |
|
4752 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4753 |
mv "conftest.tmp" "conftest.in" |
|
4754 |
cp "conftest.in" "conftest.nl" |
|
4755 |
$as_echo 'FGREP' >> "conftest.nl" |
|
4756 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4757 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4758 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4759 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
4760 |
# Best one so far, save it but keep looking for a better one |
|
4761 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
4762 |
ac_path_FGREP_max=$ac_count |
|
4763 |
fi |
|
4764 |
# 10*(2^10) chars as input seems more than enough |
|
4765 |
test $ac_count -gt 10 && break |
|
4766 |
done |
|
4767 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4768 |
esac |
|
4769 |
||
4770 |
$ac_path_FGREP_found && break 3 |
|
4771 |
done |
|
4772 |
done |
|
4773 |
done |
|
4774 |
IFS=$as_save_IFS |
|
4775 |
if test -z "$ac_cv_path_FGREP"; then |
|
4776 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4777 |
fi |
|
4778 |
else |
|
4779 |
ac_cv_path_FGREP=$FGREP |
|
4780 |
fi |
|
4781 |
||
4782 |
fi |
|
4783 |
fi |
|
4784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
|
4785 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
4786 |
FGREP="$ac_cv_path_FGREP" |
|
4787 |
||
4788 |
||
4789 |
test -z "$GREP" && GREP=grep |
|
4790 |
||
4791 |
||
4792 |
||
4793 |
||
4794 |
||
4795 |
||
4796 |
||
4797 |
||
4798 |
||
4799 |
||
4800 |
||
4801 |
||
4802 |
||
4803 |
||
4804 |
||
4805 |
||
4806 |
||
4807 |
||
4808 |
||
4809 |
# Check whether --with-gnu-ld was given. |
|
4810 |
if test "${with_gnu_ld+set}" = set; then : |
|
4811 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
4812 |
else |
|
4813 |
with_gnu_ld=no |
|
4814 |
fi |
|
4815 |
||
4816 |
ac_prog=ld |
|
4817 |
if test "$GCC" = yes; then |
|
4818 |
# Check if gcc -print-prog-name=ld gives a path. |
|
4819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
|
4820 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
4821 |
case $host in |
|
4822 |
*-*-mingw*) |
|
4823 |
# gcc leaves a trailing carriage return which upsets mingw |
|
4824 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
4825 |
*) |
|
4826 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
4827 |
esac |
|
4828 |
case $ac_prog in |
|
4829 |
# Accept absolute paths. |
|
4830 |
[\\/]* | ?:[\\/]*) |
|
4831 |
re_direlt='/[^/][^/]*/\.\./' |
|
4832 |
# Canonicalize the pathname of ld |
|
4833 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
4834 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
4835 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
4836 |
done |
|
4837 |
test -z "$LD" && LD="$ac_prog" |
|
4838 |
;; |
|
4839 |
"") |
|
4840 |
# If it fails, then pretend we aren't using GCC. |
|
4841 |
ac_prog=ld |
|
4842 |
;; |
|
4843 |
*) |
|
4844 |
# If it is relative, then search for the first ld in PATH. |
|
4845 |
with_gnu_ld=unknown |
|
4846 |
;; |
|
4847 |
esac |
|
4848 |
elif test "$with_gnu_ld" = yes; then |
|
4849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
4850 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
4851 |
else |
|
4852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
4853 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
4854 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4855 |
if ${lt_cv_path_LD+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4856 |
$as_echo_n "(cached) " >&6 |
4857 |
else |
|
4858 |
if test -z "$LD"; then |
|
4859 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4860 |
for ac_dir in $PATH; do |
|
4861 |
IFS="$lt_save_ifs" |
|
4862 |
test -z "$ac_dir" && ac_dir=. |
|
4863 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
4864 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
4865 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
4866 |
# but apparently some variants of GNU ld only accept -v. |
|
4867 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
4868 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
4869 |
*GNU* | *'with BFD'*) |
|
4870 |
test "$with_gnu_ld" != no && break |
|
4871 |
;; |
|
4872 |
*) |
|
4873 |
test "$with_gnu_ld" != yes && break |
|
4874 |
;; |
|
4875 |
esac |
|
4876 |
fi |
|
4877 |
done |
|
4878 |
IFS="$lt_save_ifs" |
|
4879 |
else |
|
4880 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
4881 |
fi |
|
4882 |
fi |
|
4883 |
||
4884 |
LD="$lt_cv_path_LD" |
|
4885 |
if test -n "$LD"; then |
|
4886 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
4887 |
$as_echo "$LD" >&6; } |
|
4888 |
else |
|
4889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4890 |
$as_echo "no" >&6; } |
|
4891 |
fi |
|
4892 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
|
4893 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
4894 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4895 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4896 |
$as_echo_n "(cached) " >&6 |
4897 |
else |
|
4898 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
4899 |
case `$LD -v 2>&1 </dev/null` in |
|
4900 |
*GNU* | *'with BFD'*) |
|
4901 |
lt_cv_prog_gnu_ld=yes |
|
4902 |
;; |
|
4903 |
*) |
|
4904 |
lt_cv_prog_gnu_ld=no |
|
4905 |
;; |
|
4906 |
esac |
|
4907 |
fi |
|
4908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
|
4909 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
4910 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
4911 |
||
4912 |
||
4913 |
||
4914 |
||
4915 |
||
4916 |
||
4917 |
||
4918 |
||
4919 |
||
4920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
4921 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4922 |
if ${lt_cv_path_NM+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4923 |
$as_echo_n "(cached) " >&6 |
4924 |
else |
|
4925 |
if test -n "$NM"; then |
|
4926 |
# Let the user override the test. |
|
4927 |
lt_cv_path_NM="$NM" |
|
4928 |
else |
|
4929 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
4930 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
4931 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
4932 |
fi |
|
4933 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
4934 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4935 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
4936 |
IFS="$lt_save_ifs" |
|
4937 |
test -z "$ac_dir" && ac_dir=. |
|
4938 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
4939 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
4940 |
# Check to see if the nm accepts a BSD-compat flag. |
|
4941 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
4942 |
# nm: unknown option "B" ignored |
|
4943 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
4944 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
4945 |
*/dev/null* | *'Invalid file or object type'*) |
|
4946 |
lt_cv_path_NM="$tmp_nm -B" |
|
4947 |
break |
|
4948 |
;; |
|
4949 |
*) |
|
4950 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
4951 |
*/dev/null*) |
|
4952 |
lt_cv_path_NM="$tmp_nm -p" |
|
4953 |
break |
|
4954 |
;; |
|
4955 |
*) |
|
4956 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
4957 |
continue # so that we can try to find one that supports BSD flags |
|
4958 |
;; |
|
4959 |
esac |
|
4960 |
;; |
|
4961 |
esac |
|
4962 |
fi |
|
4963 |
done |
|
4964 |
IFS="$lt_save_ifs" |
|
4965 |
done |
|
4966 |
: ${lt_cv_path_NM=no} |
|
4967 |
fi |
|
4968 |
fi |
|
4969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
|
4970 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
4971 |
if test "$lt_cv_path_NM" != "no"; then |
|
4972 |
NM="$lt_cv_path_NM" |
|
4973 |
else |
|
4974 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4975 |
if test -n "$DUMPBIN"; then : |
4976 |
# Let the user override the test. |
|
4977 |
else |
|
4978 |
if test -n "$ac_tool_prefix"; then |
|
4979 |
for ac_prog in dumpbin "link -dump" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4980 |
do |
4981 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4982 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4984 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
4985 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
4986 |
$as_echo_n "(cached) " >&6 |
4987 |
else |
|
4988 |
if test -n "$DUMPBIN"; then |
|
4989 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
4990 |
else |
|
4991 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4992 |
for as_dir in $PATH |
|
4993 |
do |
|
4994 |
IFS=$as_save_IFS |
|
4995 |
test -z "$as_dir" && as_dir=. |
|
4996 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4997 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4998 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
4999 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5000 |
break 2 |
|
5001 |
fi |
|
5002 |
done |
|
5003 |
done |
|
5004 |
IFS=$as_save_IFS |
|
5005 |
||
5006 |
fi |
|
5007 |
fi |
|
5008 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
5009 |
if test -n "$DUMPBIN"; then |
|
5010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
|
5011 |
$as_echo "$DUMPBIN" >&6; } |
|
5012 |
else |
|
5013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5014 |
$as_echo "no" >&6; } |
|
5015 |
fi |
|
5016 |
||
5017 |
||
5018 |
test -n "$DUMPBIN" && break |
|
5019 |
done |
|
5020 |
fi |
|
5021 |
if test -z "$DUMPBIN"; then |
|
5022 |
ac_ct_DUMPBIN=$DUMPBIN |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5023 |
for ac_prog in dumpbin "link -dump" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5024 |
do |
5025 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5026 |
set dummy $ac_prog; ac_word=$2 |
|
5027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5028 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5029 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5030 |
$as_echo_n "(cached) " >&6 |
5031 |
else |
|
5032 |
if test -n "$ac_ct_DUMPBIN"; then |
|
5033 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
5034 |
else |
|
5035 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5036 |
for as_dir in $PATH |
|
5037 |
do |
|
5038 |
IFS=$as_save_IFS |
|
5039 |
test -z "$as_dir" && as_dir=. |
|
5040 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5041 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5042 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
5043 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5044 |
break 2 |
|
5045 |
fi |
|
5046 |
done |
|
5047 |
done |
|
5048 |
IFS=$as_save_IFS |
|
5049 |
||
5050 |
fi |
|
5051 |
fi |
|
5052 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
5053 |
if test -n "$ac_ct_DUMPBIN"; then |
|
5054 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
|
5055 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
5056 |
else |
|
5057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5058 |
$as_echo "no" >&6; } |
|
5059 |
fi |
|
5060 |
||
5061 |
||
5062 |
test -n "$ac_ct_DUMPBIN" && break |
|
5063 |
done |
|
5064 |
||
5065 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
5066 |
DUMPBIN=":" |
|
5067 |
else |
|
5068 |
case $cross_compiling:$ac_tool_warned in |
|
5069 |
yes:) |
|
5070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5071 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5072 |
ac_tool_warned=yes ;; |
|
5073 |
esac |
|
5074 |
DUMPBIN=$ac_ct_DUMPBIN |
|
5075 |
fi |
|
5076 |
fi |
|
5077 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5078 |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5079 |
*COFF*) |
|
5080 |
DUMPBIN="$DUMPBIN -symbols" |
|
5081 |
;; |
|
5082 |
*) |
|
5083 |
DUMPBIN=: |
|
5084 |
;; |
|
5085 |
esac |
|
5086 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5087 |
|
5088 |
if test "$DUMPBIN" != ":"; then |
|
5089 |
NM="$DUMPBIN" |
|
5090 |
fi |
|
5091 |
fi |
|
5092 |
test -z "$NM" && NM=nm |
|
5093 |
||
5094 |
||
5095 |
||
5096 |
||
5097 |
||
5098 |
||
5099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
|
5100 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5101 |
if ${lt_cv_nm_interface+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5102 |
$as_echo_n "(cached) " >&6 |
5103 |
else |
|
5104 |
lt_cv_nm_interface="BSD nm" |
|
5105 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5106 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5107 |
(eval "$ac_compile" 2>conftest.err) |
5108 |
cat conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5109 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5110 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5111 |
cat conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5112 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5113 |
cat conftest.out >&5 |
5114 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
5115 |
lt_cv_nm_interface="MS dumpbin" |
|
5116 |
fi |
|
5117 |
rm -f conftest* |
|
5118 |
fi |
|
5119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
|
5120 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
5121 |
||
5122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
5123 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
5124 |
LN_S=$as_ln_s |
|
5125 |
if test "$LN_S" = "ln -s"; then |
|
5126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
5127 |
$as_echo "yes" >&6; } |
|
5128 |
else |
|
5129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
5130 |
$as_echo "no, using $LN_S" >&6; } |
|
5131 |
fi |
|
5132 |
||
5133 |
# find the maximum length of command line arguments |
|
5134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
|
5135 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5136 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5137 |
$as_echo_n "(cached) " >&6 |
5138 |
else |
|
5139 |
i=0 |
|
5140 |
teststring="ABCD" |
|
5141 |
||
5142 |
case $build_os in |
|
5143 |
msdosdjgpp*) |
|
5144 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
5145 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
5146 |
# during glob expansion). Even if it were fixed, the result of this |
|
5147 |
# check would be larger than it should be. |
|
5148 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
5149 |
;; |
|
5150 |
||
5151 |
gnu*) |
|
5152 |
# Under GNU Hurd, this test is not required because there is |
|
5153 |
# no limit to the length of command line arguments. |
|
5154 |
# Libtool will interpret -1 as no limit whatsoever |
|
5155 |
lt_cv_sys_max_cmd_len=-1; |
|
5156 |
;; |
|
5157 |
||
5158 |
cygwin* | mingw* | cegcc*) |
|
5159 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
5160 |
# about 5 minutes as the teststring grows exponentially. |
|
5161 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
5162 |
# you end up with a "frozen" computer, even though with patience |
|
5163 |
# the test eventually succeeds (with a max line length of 256k). |
|
5164 |
# Instead, let's just punt: use the minimum linelength reported by |
|
5165 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
5166 |
lt_cv_sys_max_cmd_len=8192; |
|
5167 |
;; |
|
5168 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5169 |
mint*) |
5170 |
# On MiNT this can take a long time and run out of memory. |
|
5171 |
lt_cv_sys_max_cmd_len=8192; |
|
5172 |
;; |
|
5173 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5174 |
amigaos*) |
5175 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
5176 |
# So we just punt and use a minimum line length of 8192. |
|
5177 |
lt_cv_sys_max_cmd_len=8192; |
|
5178 |
;; |
|
5179 |
||
5180 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
5181 |
# This has been around since 386BSD, at least. Likely further. |
|
5182 |
if test -x /sbin/sysctl; then |
|
5183 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
5184 |
elif test -x /usr/sbin/sysctl; then |
|
5185 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
5186 |
else |
|
5187 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
5188 |
fi |
|
5189 |
# And add a safety zone |
|
5190 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5191 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5192 |
;; |
|
5193 |
||
5194 |
interix*) |
|
5195 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
5196 |
lt_cv_sys_max_cmd_len=196608 |
|
5197 |
;; |
|
5198 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
5199 |
os2*) |
5200 |
# The test takes a long time on OS/2. |
|
5201 |
lt_cv_sys_max_cmd_len=8192 |
|
5202 |
;; |
|
5203 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5204 |
osf*) |
5205 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
5206 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
5207 |
# nice to cause kernel panics so lets avoid the loop below. |
|
5208 |
# First set a reasonable default. |
|
5209 |
lt_cv_sys_max_cmd_len=16384 |
|
5210 |
# |
|
5211 |
if test -x /sbin/sysconfig; then |
|
5212 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
5213 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
5214 |
esac |
|
5215 |
fi |
|
5216 |
;; |
|
5217 |
sco3.2v5*) |
|
5218 |
lt_cv_sys_max_cmd_len=102400 |
|
5219 |
;; |
|
5220 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
5221 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
5222 |
if test -n "$kargmax"; then |
|
5223 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
5224 |
else |
|
5225 |
lt_cv_sys_max_cmd_len=32768 |
|
5226 |
fi |
|
5227 |
;; |
|
5228 |
*) |
|
5229 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
5230 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
5231 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5232 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5233 |
else |
|
5234 |
# Make teststring a little bigger before we do anything with it. |
|
5235 |
# a 1K string should be a reasonable start. |
|
5236 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
5237 |
teststring=$teststring$teststring |
|
5238 |
done |
|
5239 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
5240 |
# If test is not a shell built-in, we'll probably end up computing a |
|
5241 |
# maximum length that is only half of the actual maximum length, but |
|
5242 |
# we can't tell. |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
5243 |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5244 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5245 |
test $i != 17 # 1/2 MB should be enough |
5246 |
do |
|
5247 |
i=`expr $i + 1` |
|
5248 |
teststring=$teststring$teststring |
|
5249 |
done |
|
5250 |
# Only check the string length outside the loop. |
|
5251 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
5252 |
teststring= |
|
5253 |
# Add a significant safety factor because C++ compilers can tack on |
|
5254 |
# massive amounts of additional arguments before passing them to the |
|
5255 |
# linker. It appears as though 1/2 is a usable value. |
|
5256 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
5257 |
fi |
|
5258 |
;; |
|
5259 |
esac |
|
5260 |
||
5261 |
fi |
|
5262 |
||
5263 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
5264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
|
5265 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
5266 |
else |
|
5267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
|
5268 |
$as_echo "none" >&6; } |
|
5269 |
fi |
|
5270 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
5271 |
||
5272 |
||
5273 |
||
5274 |
||
5275 |
||
5276 |
||
5277 |
: ${CP="cp -f"} |
|
5278 |
: ${MV="mv -f"} |
|
5279 |
: ${RM="rm -f"} |
|
5280 |
||
5281 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
|
5282 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
5283 |
# Try some XSI features |
|
5284 |
xsi_shell=no |
|
5285 |
( _lt_dummy="a/b/c" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5286 |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5287 |
= c,a/b,b/c, \ |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5288 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5289 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
5290 |
&& xsi_shell=yes |
|
5291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
|
5292 |
$as_echo "$xsi_shell" >&6; } |
|
5293 |
||
5294 |
||
5295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
|
5296 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
5297 |
lt_shell_append=no |
|
5298 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
5299 |
>/dev/null 2>&1 \ |
|
5300 |
&& lt_shell_append=yes |
|
5301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
|
5302 |
$as_echo "$lt_shell_append" >&6; } |
|
5303 |
||
5304 |
||
5305 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
5306 |
lt_unset=unset |
|
5307 |
else |
|
5308 |
lt_unset=false |
|
5309 |
fi |
|
5310 |
||
5311 |
||
5312 |
||
5313 |
||
5314 |
||
5315 |
# test EBCDIC or ASCII |
|
5316 |
case `echo X|tr X '\101'` in |
|
5317 |
A) # ASCII based system |
|
5318 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
5319 |
lt_SP2NL='tr \040 \012' |
|
5320 |
lt_NL2SP='tr \015\012 \040\040' |
|
5321 |
;; |
|
5322 |
*) # EBCDIC based system |
|
5323 |
lt_SP2NL='tr \100 \n' |
|
5324 |
lt_NL2SP='tr \r\n \100\100' |
|
5325 |
;; |
|
5326 |
esac |
|
5327 |
||
5328 |
||
5329 |
||
5330 |
||
5331 |
||
5332 |
||
5333 |
||
5334 |
||
5335 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5337 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
5338 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
5339 |
$as_echo_n "(cached) " >&6 |
|
5340 |
else |
|
5341 |
case $host in |
|
5342 |
*-*-mingw* ) |
|
5343 |
case $build in |
|
5344 |
*-*-mingw* ) # actually msys |
|
5345 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
5346 |
;; |
|
5347 |
*-*-cygwin* ) |
|
5348 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
5349 |
;; |
|
5350 |
* ) # otherwise, assume *nix |
|
5351 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
5352 |
;; |
|
5353 |
esac |
|
5354 |
;; |
|
5355 |
*-*-cygwin* ) |
|
5356 |
case $build in |
|
5357 |
*-*-mingw* ) # actually msys |
|
5358 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
5359 |
;; |
|
5360 |
*-*-cygwin* ) |
|
5361 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
5362 |
;; |
|
5363 |
* ) # otherwise, assume *nix |
|
5364 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
5365 |
;; |
|
5366 |
esac |
|
5367 |
;; |
|
5368 |
* ) # unhandled hosts (and "normal" native builds) |
|
5369 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
5370 |
;; |
|
5371 |
esac |
|
5372 |
||
5373 |
fi |
|
5374 |
||
5375 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
5376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
5377 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
5378 |
||
5379 |
||
5380 |
||
5381 |
||
5382 |
||
5383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
5384 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
5385 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
5386 |
$as_echo_n "(cached) " >&6 |
|
5387 |
else |
|
5388 |
#assume ordinary cross tools, or native build. |
|
5389 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
5390 |
case $host in |
|
5391 |
*-*-mingw* ) |
|
5392 |
case $build in |
|
5393 |
*-*-mingw* ) # actually msys |
|
5394 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
5395 |
;; |
|
5396 |
esac |
|
5397 |
;; |
|
5398 |
esac |
|
5399 |
||
5400 |
fi |
|
5401 |
||
5402 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
5403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
5404 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
5405 |
||
5406 |
||
5407 |
||
5408 |
||
5409 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5411 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5412 |
if ${lt_cv_ld_reload_flag+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5413 |
$as_echo_n "(cached) " >&6 |
5414 |
else |
|
5415 |
lt_cv_ld_reload_flag='-r' |
|
5416 |
fi |
|
5417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
|
5418 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
5419 |
reload_flag=$lt_cv_ld_reload_flag |
|
5420 |
case $reload_flag in |
|
5421 |
"" | " "*) ;; |
|
5422 |
*) reload_flag=" $reload_flag" ;; |
|
5423 |
esac |
|
5424 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5425 |
case $host_os in |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5426 |
cygwin* | mingw* | pw32* | cegcc*) |
5427 |
if test "$GCC" != yes; then |
|
5428 |
reload_cmds=false |
|
5429 |
fi |
|
5430 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5431 |
darwin*) |
5432 |
if test "$GCC" = yes; then |
|
5433 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
5434 |
else |
|
5435 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5436 |
fi |
|
5437 |
;; |
|
5438 |
esac |
|
5439 |
||
5440 |
||
5441 |
||
5442 |
||
5443 |
||
5444 |
||
5445 |
||
5446 |
||
5447 |
||
5448 |
if test -n "$ac_tool_prefix"; then |
|
5449 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
5450 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
5451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5452 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5453 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5454 |
$as_echo_n "(cached) " >&6 |
5455 |
else |
|
5456 |
if test -n "$OBJDUMP"; then |
|
5457 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
5458 |
else |
|
5459 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5460 |
for as_dir in $PATH |
|
5461 |
do |
|
5462 |
IFS=$as_save_IFS |
|
5463 |
test -z "$as_dir" && as_dir=. |
|
5464 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5465 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5466 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
5467 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5468 |
break 2 |
|
5469 |
fi |
|
5470 |
done |
|
5471 |
done |
|
5472 |
IFS=$as_save_IFS |
|
5473 |
||
5474 |
fi |
|
5475 |
fi |
|
5476 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
5477 |
if test -n "$OBJDUMP"; then |
|
5478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
|
5479 |
$as_echo "$OBJDUMP" >&6; } |
|
5480 |
else |
|
5481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5482 |
$as_echo "no" >&6; } |
|
5483 |
fi |
|
5484 |
||
5485 |
||
5486 |
fi |
|
5487 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
5488 |
ac_ct_OBJDUMP=$OBJDUMP |
|
5489 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
5490 |
set dummy objdump; ac_word=$2 |
|
5491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5492 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5493 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5494 |
$as_echo_n "(cached) " >&6 |
5495 |
else |
|
5496 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5497 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
5498 |
else |
|
5499 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5500 |
for as_dir in $PATH |
|
5501 |
do |
|
5502 |
IFS=$as_save_IFS |
|
5503 |
test -z "$as_dir" && as_dir=. |
|
5504 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5505 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5506 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
5507 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5508 |
break 2 |
|
5509 |
fi |
|
5510 |
done |
|
5511 |
done |
|
5512 |
IFS=$as_save_IFS |
|
5513 |
||
5514 |
fi |
|
5515 |
fi |
|
5516 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
5517 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
|
5519 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
5520 |
else |
|
5521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5522 |
$as_echo "no" >&6; } |
|
5523 |
fi |
|
5524 |
||
5525 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
5526 |
OBJDUMP="false" |
|
5527 |
else |
|
5528 |
case $cross_compiling:$ac_tool_warned in |
|
5529 |
yes:) |
|
5530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5531 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5532 |
ac_tool_warned=yes ;; |
|
5533 |
esac |
|
5534 |
OBJDUMP=$ac_ct_OBJDUMP |
|
5535 |
fi |
|
5536 |
else |
|
5537 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
5538 |
fi |
|
5539 |
||
5540 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
5541 |
||
5542 |
||
5543 |
||
5544 |
||
5545 |
||
5546 |
||
5547 |
||
5548 |
||
5549 |
||
5550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
|
5551 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5552 |
if ${lt_cv_deplibs_check_method+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5553 |
$as_echo_n "(cached) " >&6 |
5554 |
else |
|
5555 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
5556 |
lt_cv_file_magic_test_file= |
|
5557 |
lt_cv_deplibs_check_method='unknown' |
|
5558 |
# Need to set the preceding variable on all platforms that support |
|
5559 |
# interlibrary dependencies. |
|
5560 |
# 'none' -- dependencies not supported. |
|
5561 |
# `unknown' -- same as none, but documents that we really don't know. |
|
5562 |
# 'pass_all' -- all dependencies passed with no checks. |
|
5563 |
# 'test_compile' -- check by making test program. |
|
5564 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
5565 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
5566 |
# If you have `file' or equivalent on your system and you're not sure |
|
5567 |
# whether `pass_all' will *always* work, you probably want this one. |
|
5568 |
||
5569 |
case $host_os in |
|
5570 |
aix[4-9]*) |
|
5571 |
lt_cv_deplibs_check_method=pass_all |
|
5572 |
;; |
|
5573 |
||
5574 |
beos*) |
|
5575 |
lt_cv_deplibs_check_method=pass_all |
|
5576 |
;; |
|
5577 |
||
5578 |
bsdi[45]*) |
|
5579 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
5580 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
5581 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
5582 |
;; |
|
5583 |
||
5584 |
cygwin*) |
|
5585 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
5586 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
5587 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5588 |
;; |
|
5589 |
||
5590 |
mingw* | pw32*) |
|
5591 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
5592 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
5593 |
# unless we find 'file', for example because we are cross-compiling. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5594 |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5595 |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5596 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5597 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5598 |
else |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5599 |
# Keep this pattern in sync with the one in func_win32_libid. |
5600 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5601 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5602 |
fi |
|
5603 |
;; |
|
5604 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5605 |
cegcc*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5606 |
# use the weaker test based on 'objdump'. See mingw*. |
5607 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
5608 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
5609 |
;; |
|
5610 |
||
5611 |
darwin* | rhapsody*) |
|
5612 |
lt_cv_deplibs_check_method=pass_all |
|
5613 |
;; |
|
5614 |
||
5615 |
freebsd* | dragonfly*) |
|
5616 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5617 |
case $host_cpu in |
|
5618 |
i*86 ) |
|
5619 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
5620 |
# Let's accept both of them until this is cleared up. |
|
5621 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
5622 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5623 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
5624 |
;; |
|
5625 |
esac |
|
5626 |
else |
|
5627 |
lt_cv_deplibs_check_method=pass_all |
|
5628 |
fi |
|
5629 |
;; |
|
5630 |
||
5631 |
gnu*) |
|
5632 |
lt_cv_deplibs_check_method=pass_all |
|
5633 |
;; |
|
5634 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5635 |
haiku*) |
5636 |
lt_cv_deplibs_check_method=pass_all |
|
5637 |
;; |
|
5638 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5639 |
hpux10.20* | hpux11*) |
5640 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5641 |
case $host_cpu in |
|
5642 |
ia64*) |
|
5643 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
5644 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
5645 |
;; |
|
5646 |
hppa*64*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5647 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5648 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5649 |
;; |
|
5650 |
*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5651 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5652 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5653 |
;; |
|
5654 |
esac |
|
5655 |
;; |
|
5656 |
||
5657 |
interix[3-9]*) |
|
5658 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
5659 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
5660 |
;; |
|
5661 |
||
5662 |
irix5* | irix6* | nonstopux*) |
|
5663 |
case $LD in |
|
5664 |
*-32|*"-32 ") libmagic=32-bit;; |
|
5665 |
*-n32|*"-n32 ") libmagic=N32;; |
|
5666 |
*-64|*"-64 ") libmagic=64-bit;; |
|
5667 |
*) libmagic=never-match;; |
|
5668 |
esac |
|
5669 |
lt_cv_deplibs_check_method=pass_all |
|
5670 |
;; |
|
5671 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
5672 |
# This must be glibc/ELF. |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5673 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5674 |
lt_cv_deplibs_check_method=pass_all |
|
5675 |
;; |
|
5676 |
||
5677 |
netbsd* | netbsdelf*-gnu) |
|
5678 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5679 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5680 |
else |
|
5681 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
5682 |
fi |
|
5683 |
;; |
|
5684 |
||
5685 |
newos6*) |
|
5686 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
5687 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5688 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
5689 |
;; |
|
5690 |
||
5691 |
*nto* | *qnx*) |
|
5692 |
lt_cv_deplibs_check_method=pass_all |
|
5693 |
;; |
|
5694 |
||
5695 |
openbsd*) |
|
5696 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
5697 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
5698 |
else |
|
5699 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5700 |
fi |
|
5701 |
;; |
|
5702 |
||
5703 |
osf3* | osf4* | osf5*) |
|
5704 |
lt_cv_deplibs_check_method=pass_all |
|
5705 |
;; |
|
5706 |
||
5707 |
rdos*) |
|
5708 |
lt_cv_deplibs_check_method=pass_all |
|
5709 |
;; |
|
5710 |
||
5711 |
solaris*) |
|
5712 |
lt_cv_deplibs_check_method=pass_all |
|
5713 |
;; |
|
5714 |
||
5715 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
5716 |
lt_cv_deplibs_check_method=pass_all |
|
5717 |
;; |
|
5718 |
||
5719 |
sysv4 | sysv4.3*) |
|
5720 |
case $host_vendor in |
|
5721 |
motorola) |
|
5722 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
|
5723 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
5724 |
;; |
|
5725 |
ncr) |
|
5726 |
lt_cv_deplibs_check_method=pass_all |
|
5727 |
;; |
|
5728 |
sequent) |
|
5729 |
lt_cv_file_magic_cmd='/bin/file' |
|
5730 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
5731 |
;; |
|
5732 |
sni) |
|
5733 |
lt_cv_file_magic_cmd='/bin/file' |
|
5734 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
5735 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
5736 |
;; |
|
5737 |
siemens) |
|
5738 |
lt_cv_deplibs_check_method=pass_all |
|
5739 |
;; |
|
5740 |
pc) |
|
5741 |
lt_cv_deplibs_check_method=pass_all |
|
5742 |
;; |
|
5743 |
esac |
|
5744 |
;; |
|
5745 |
||
5746 |
tpf*) |
|
5747 |
lt_cv_deplibs_check_method=pass_all |
|
5748 |
;; |
|
5749 |
esac |
|
5750 |
||
5751 |
fi |
|
5752 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
|
5753 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5754 |
|
5755 |
file_magic_glob= |
|
5756 |
want_nocaseglob=no |
|
5757 |
if test "$build" = "$host"; then |
|
5758 |
case $host_os in |
|
5759 |
mingw* | pw32*) |
|
5760 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
5761 |
want_nocaseglob=yes |
|
5762 |
else |
|
5763 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
5764 |
fi |
|
5765 |
;; |
|
5766 |
esac |
|
5767 |
fi |
|
5768 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5769 |
file_magic_cmd=$lt_cv_file_magic_cmd |
5770 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
5771 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
5772 |
||
5773 |
||
5774 |
||
5775 |
||
5776 |
||
5777 |
||
5778 |
||
5779 |
||
5780 |
||
5781 |
||
5782 |
||
5783 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5784 |
|
5785 |
||
5786 |
||
5787 |
||
5788 |
||
5789 |
||
5790 |
||
5791 |
||
5792 |
||
5793 |
||
5794 |
if test -n "$ac_tool_prefix"; then |
|
5795 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
5796 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
5797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5798 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5799 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
|
5800 |
$as_echo_n "(cached) " >&6 |
|
5801 |
else |
|
5802 |
if test -n "$DLLTOOL"; then |
|
5803 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
5804 |
else |
|
5805 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5806 |
for as_dir in $PATH |
|
5807 |
do |
|
5808 |
IFS=$as_save_IFS |
|
5809 |
test -z "$as_dir" && as_dir=. |
|
5810 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5811 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5812 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
5813 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5814 |
break 2 |
|
5815 |
fi |
|
5816 |
done |
|
5817 |
done |
|
5818 |
IFS=$as_save_IFS |
|
5819 |
||
5820 |
fi |
|
5821 |
fi |
|
5822 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
5823 |
if test -n "$DLLTOOL"; then |
|
5824 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
5825 |
$as_echo "$DLLTOOL" >&6; } |
|
5826 |
else |
|
5827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5828 |
$as_echo "no" >&6; } |
|
5829 |
fi |
|
5830 |
||
5831 |
||
5832 |
fi |
|
5833 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
5834 |
ac_ct_DLLTOOL=$DLLTOOL |
|
5835 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
5836 |
set dummy dlltool; ac_word=$2 |
|
5837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5838 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5839 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
5840 |
$as_echo_n "(cached) " >&6 |
|
5841 |
else |
|
5842 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5843 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
5844 |
else |
|
5845 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5846 |
for as_dir in $PATH |
|
5847 |
do |
|
5848 |
IFS=$as_save_IFS |
|
5849 |
test -z "$as_dir" && as_dir=. |
|
5850 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5851 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5852 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
5853 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5854 |
break 2 |
|
5855 |
fi |
|
5856 |
done |
|
5857 |
done |
|
5858 |
IFS=$as_save_IFS |
|
5859 |
||
5860 |
fi |
|
5861 |
fi |
|
5862 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
5863 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5864 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
5865 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
5866 |
else |
|
5867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5868 |
$as_echo "no" >&6; } |
|
5869 |
fi |
|
5870 |
||
5871 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
5872 |
DLLTOOL="false" |
|
5873 |
else |
|
5874 |
case $cross_compiling:$ac_tool_warned in |
|
5875 |
yes:) |
|
5876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5877 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5878 |
ac_tool_warned=yes ;; |
|
5879 |
esac |
|
5880 |
DLLTOOL=$ac_ct_DLLTOOL |
|
5881 |
fi |
|
5882 |
else |
|
5883 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
5884 |
fi |
|
5885 |
||
5886 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
5887 |
||
5888 |
||
5889 |
||
5890 |
||
5891 |
||
5892 |
||
5893 |
||
5894 |
||
5895 |
||
5896 |
||
5897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
5898 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
5899 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
5900 |
$as_echo_n "(cached) " >&6 |
|
5901 |
else |
|
5902 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
5903 |
||
5904 |
case $host_os in |
|
5905 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5906 |
# two different shell functions defined in ltmain.sh |
|
5907 |
# decide which to use based on capabilities of $DLLTOOL |
|
5908 |
case `$DLLTOOL --help 2>&1` in |
|
5909 |
*--identify-strict*) |
|
5910 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
5911 |
;; |
|
5912 |
*) |
|
5913 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
5914 |
;; |
|
5915 |
esac |
|
5916 |
;; |
|
5917 |
*) |
|
5918 |
# fallback: assume linklib IS sharedlib |
|
5919 |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
|
5920 |
;; |
|
5921 |
esac |
|
5922 |
||
5923 |
fi |
|
5924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
5925 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
5926 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
5927 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
5928 |
||
5929 |
||
5930 |
||
5931 |
||
5932 |
||
5933 |
||
5934 |
||
5935 |
if test -n "$ac_tool_prefix"; then |
|
5936 |
for ac_prog in ar |
|
5937 |
do |
|
5938 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5939 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5941 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5942 |
if ${ac_cv_prog_AR+:} false; then : |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5943 |
$as_echo_n "(cached) " >&6 |
5944 |
else |
|
5945 |
if test -n "$AR"; then |
|
5946 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
5947 |
else |
|
5948 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5949 |
for as_dir in $PATH |
|
5950 |
do |
|
5951 |
IFS=$as_save_IFS |
|
5952 |
test -z "$as_dir" && as_dir=. |
|
5953 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5954 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5955 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5956 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5957 |
break 2 |
|
5958 |
fi |
|
5959 |
done |
|
5960 |
done |
|
5961 |
IFS=$as_save_IFS |
|
5962 |
||
5963 |
fi |
|
5964 |
fi |
|
5965 |
AR=$ac_cv_prog_AR |
|
5966 |
if test -n "$AR"; then |
|
5967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
5968 |
$as_echo "$AR" >&6; } |
|
5969 |
else |
|
5970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5971 |
$as_echo "no" >&6; } |
|
5972 |
fi |
|
5973 |
||
5974 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5975 |
test -n "$AR" && break |
5976 |
done |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5977 |
fi |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5978 |
if test -z "$AR"; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5979 |
ac_ct_AR=$AR |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5980 |
for ac_prog in ar |
5981 |
do |
|
5982 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5983 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5985 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5986 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
5987 |
$as_echo_n "(cached) " >&6 |
5988 |
else |
|
5989 |
if test -n "$ac_ct_AR"; then |
|
5990 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
5991 |
else |
|
5992 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5993 |
for as_dir in $PATH |
|
5994 |
do |
|
5995 |
IFS=$as_save_IFS |
|
5996 |
test -z "$as_dir" && as_dir=. |
|
5997 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5998 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
5999 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6000 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6001 |
break 2 |
|
6002 |
fi |
|
6003 |
done |
|
6004 |
done |
|
6005 |
IFS=$as_save_IFS |
|
6006 |
||
6007 |
fi |
|
6008 |
fi |
|
6009 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
6010 |
if test -n "$ac_ct_AR"; then |
|
6011 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
6012 |
$as_echo "$ac_ct_AR" >&6; } |
|
6013 |
else |
|
6014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6015 |
$as_echo "no" >&6; } |
|
6016 |
fi |
|
6017 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6018 |
|
6019 |
test -n "$ac_ct_AR" && break |
|
6020 |
done |
|
6021 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6022 |
if test "x$ac_ct_AR" = x; then |
6023 |
AR="false" |
|
6024 |
else |
|
6025 |
case $cross_compiling:$ac_tool_warned in |
|
6026 |
yes:) |
|
6027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6028 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6029 |
ac_tool_warned=yes ;; |
|
6030 |
esac |
|
6031 |
AR=$ac_ct_AR |
|
6032 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6033 |
fi |
6034 |
||
6035 |
: ${AR=ar} |
|
6036 |
: ${AR_FLAGS=cru} |
|
6037 |
||
6038 |
||
6039 |
||
6040 |
||
6041 |
||
6042 |
||
6043 |
||
6044 |
||
6045 |
||
6046 |
||
6047 |
||
6048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
6049 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
6050 |
if ${lt_cv_ar_at_file+:} false; then : |
|
6051 |
$as_echo_n "(cached) " >&6 |
|
6052 |
else |
|
6053 |
lt_cv_ar_at_file=no |
|
6054 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6055 |
/* end confdefs.h. */ |
|
6056 |
||
6057 |
int |
|
6058 |
main () |
|
6059 |
{ |
|
6060 |
||
6061 |
; |
|
6062 |
return 0; |
|
6063 |
} |
|
6064 |
_ACEOF |
|
6065 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
6066 |
echo conftest.$ac_objext > conftest.lst |
|
6067 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
6068 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
6069 |
(eval $lt_ar_try) 2>&5 |
|
6070 |
ac_status=$? |
|
6071 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6072 |
test $ac_status = 0; } |
|
6073 |
if test "$ac_status" -eq 0; then |
|
6074 |
# Ensure the archiver fails upon bogus file names. |
|
6075 |
rm -f conftest.$ac_objext libconftest.a |
|
6076 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
6077 |
(eval $lt_ar_try) 2>&5 |
|
6078 |
ac_status=$? |
|
6079 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6080 |
test $ac_status = 0; } |
|
6081 |
if test "$ac_status" -ne 0; then |
|
6082 |
lt_cv_ar_at_file=@ |
|
6083 |
fi |
|
6084 |
fi |
|
6085 |
rm -f conftest.* libconftest.a |
|
6086 |
||
6087 |
fi |
|
6088 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6089 |
||
6090 |
fi |
|
6091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
6092 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
6093 |
||
6094 |
if test "x$lt_cv_ar_at_file" = xno; then |
|
6095 |
archiver_list_spec= |
|
6096 |
else |
|
6097 |
archiver_list_spec=$lt_cv_ar_at_file |
|
6098 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6099 |
|
6100 |
||
6101 |
||
6102 |
||
6103 |
||
6104 |
||
6105 |
||
6106 |
if test -n "$ac_tool_prefix"; then |
|
6107 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
6108 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
6109 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6110 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6111 |
if ${ac_cv_prog_STRIP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6112 |
$as_echo_n "(cached) " >&6 |
6113 |
else |
|
6114 |
if test -n "$STRIP"; then |
|
6115 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
6116 |
else |
|
6117 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6118 |
for as_dir in $PATH |
|
6119 |
do |
|
6120 |
IFS=$as_save_IFS |
|
6121 |
test -z "$as_dir" && as_dir=. |
|
6122 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6123 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6124 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
6125 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6126 |
break 2 |
|
6127 |
fi |
|
6128 |
done |
|
6129 |
done |
|
6130 |
IFS=$as_save_IFS |
|
6131 |
||
6132 |
fi |
|
6133 |
fi |
|
6134 |
STRIP=$ac_cv_prog_STRIP |
|
6135 |
if test -n "$STRIP"; then |
|
6136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
6137 |
$as_echo "$STRIP" >&6; } |
|
6138 |
else |
|
6139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6140 |
$as_echo "no" >&6; } |
|
6141 |
fi |
|
6142 |
||
6143 |
||
6144 |
fi |
|
6145 |
if test -z "$ac_cv_prog_STRIP"; then |
|
6146 |
ac_ct_STRIP=$STRIP |
|
6147 |
# Extract the first word of "strip", so it can be a program name with args. |
|
6148 |
set dummy strip; ac_word=$2 |
|
6149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6150 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6151 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6152 |
$as_echo_n "(cached) " >&6 |
6153 |
else |
|
6154 |
if test -n "$ac_ct_STRIP"; then |
|
6155 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
6156 |
else |
|
6157 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6158 |
for as_dir in $PATH |
|
6159 |
do |
|
6160 |
IFS=$as_save_IFS |
|
6161 |
test -z "$as_dir" && as_dir=. |
|
6162 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6163 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6164 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
6165 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6166 |
break 2 |
|
6167 |
fi |
|
6168 |
done |
|
6169 |
done |
|
6170 |
IFS=$as_save_IFS |
|
6171 |
||
6172 |
fi |
|
6173 |
fi |
|
6174 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
6175 |
if test -n "$ac_ct_STRIP"; then |
|
6176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
6177 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
6178 |
else |
|
6179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6180 |
$as_echo "no" >&6; } |
|
6181 |
fi |
|
6182 |
||
6183 |
if test "x$ac_ct_STRIP" = x; then |
|
6184 |
STRIP=":" |
|
6185 |
else |
|
6186 |
case $cross_compiling:$ac_tool_warned in |
|
6187 |
yes:) |
|
6188 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6189 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6190 |
ac_tool_warned=yes ;; |
|
6191 |
esac |
|
6192 |
STRIP=$ac_ct_STRIP |
|
6193 |
fi |
|
6194 |
else |
|
6195 |
STRIP="$ac_cv_prog_STRIP" |
|
6196 |
fi |
|
6197 |
||
6198 |
test -z "$STRIP" && STRIP=: |
|
6199 |
||
6200 |
||
6201 |
||
6202 |
||
6203 |
||
6204 |
||
6205 |
if test -n "$ac_tool_prefix"; then |
|
6206 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
6207 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
6208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6209 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6210 |
if ${ac_cv_prog_RANLIB+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6211 |
$as_echo_n "(cached) " >&6 |
6212 |
else |
|
6213 |
if test -n "$RANLIB"; then |
|
6214 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
6215 |
else |
|
6216 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6217 |
for as_dir in $PATH |
|
6218 |
do |
|
6219 |
IFS=$as_save_IFS |
|
6220 |
test -z "$as_dir" && as_dir=. |
|
6221 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6222 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6223 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
6224 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6225 |
break 2 |
|
6226 |
fi |
|
6227 |
done |
|
6228 |
done |
|
6229 |
IFS=$as_save_IFS |
|
6230 |
||
6231 |
fi |
|
6232 |
fi |
|
6233 |
RANLIB=$ac_cv_prog_RANLIB |
|
6234 |
if test -n "$RANLIB"; then |
|
6235 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
6236 |
$as_echo "$RANLIB" >&6; } |
|
6237 |
else |
|
6238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6239 |
$as_echo "no" >&6; } |
|
6240 |
fi |
|
6241 |
||
6242 |
||
6243 |
fi |
|
6244 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
6245 |
ac_ct_RANLIB=$RANLIB |
|
6246 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
6247 |
set dummy ranlib; ac_word=$2 |
|
6248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6249 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6250 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6251 |
$as_echo_n "(cached) " >&6 |
6252 |
else |
|
6253 |
if test -n "$ac_ct_RANLIB"; then |
|
6254 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
6255 |
else |
|
6256 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6257 |
for as_dir in $PATH |
|
6258 |
do |
|
6259 |
IFS=$as_save_IFS |
|
6260 |
test -z "$as_dir" && as_dir=. |
|
6261 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6262 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6263 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
6264 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6265 |
break 2 |
|
6266 |
fi |
|
6267 |
done |
|
6268 |
done |
|
6269 |
IFS=$as_save_IFS |
|
6270 |
||
6271 |
fi |
|
6272 |
fi |
|
6273 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
6274 |
if test -n "$ac_ct_RANLIB"; then |
|
6275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
6276 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
6277 |
else |
|
6278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6279 |
$as_echo "no" >&6; } |
|
6280 |
fi |
|
6281 |
||
6282 |
if test "x$ac_ct_RANLIB" = x; then |
|
6283 |
RANLIB=":" |
|
6284 |
else |
|
6285 |
case $cross_compiling:$ac_tool_warned in |
|
6286 |
yes:) |
|
6287 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6288 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6289 |
ac_tool_warned=yes ;; |
|
6290 |
esac |
|
6291 |
RANLIB=$ac_ct_RANLIB |
|
6292 |
fi |
|
6293 |
else |
|
6294 |
RANLIB="$ac_cv_prog_RANLIB" |
|
6295 |
fi |
|
6296 |
||
6297 |
test -z "$RANLIB" && RANLIB=: |
|
6298 |
||
6299 |
||
6300 |
||
6301 |
||
6302 |
||
6303 |
||
6304 |
# Determine commands to create old-style static archives. |
|
6305 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
6306 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
6307 |
old_postuninstall_cmds= |
|
6308 |
||
6309 |
if test -n "$RANLIB"; then |
|
6310 |
case $host_os in |
|
6311 |
openbsd*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6312 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6313 |
;; |
6314 |
*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6315 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6316 |
;; |
6317 |
esac |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6318 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6319 |
fi |
6320 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6321 |
case $host_os in |
6322 |
darwin*) |
|
6323 |
lock_old_archive_extraction=yes ;; |
|
6324 |
*) |
|
6325 |
lock_old_archive_extraction=no ;; |
|
6326 |
esac |
|
6327 |
||
6328 |
||
6329 |
||
6330 |
||
6331 |
||
6332 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6333 |
|
6334 |
||
6335 |
||
6336 |
||
6337 |
||
6338 |
||
6339 |
||
6340 |
||
6341 |
||
6342 |
||
6343 |
||
6344 |
||
6345 |
||
6346 |
||
6347 |
||
6348 |
||
6349 |
||
6350 |
||
6351 |
||
6352 |
||
6353 |
||
6354 |
||
6355 |
||
6356 |
||
6357 |
||
6358 |
||
6359 |
||
6360 |
||
6361 |
||
6362 |
||
6363 |
||
6364 |
||
6365 |
||
6366 |
# If no C compiler was specified, use CC. |
|
6367 |
LTCC=${LTCC-"$CC"} |
|
6368 |
||
6369 |
# If no C compiler flags were specified, use CFLAGS. |
|
6370 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
6371 |
||
6372 |
# Allow CC to be a program name with arguments. |
|
6373 |
compiler=$CC |
|
6374 |
||
6375 |
||
6376 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
6377 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
|
6378 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6379 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6380 |
$as_echo_n "(cached) " >&6 |
6381 |
else |
|
6382 |
||
6383 |
# These are sane defaults that work on at least a few old systems. |
|
6384 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
6385 |
||
6386 |
# Character class describing NM global symbol codes. |
|
6387 |
symcode='[BCDEGRST]' |
|
6388 |
||
6389 |
# Regexp to match symbols that can be accessed directly from C. |
|
6390 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
6391 |
||
6392 |
# Define system-specific variables. |
|
6393 |
case $host_os in |
|
6394 |
aix*) |
|
6395 |
symcode='[BCDT]' |
|
6396 |
;; |
|
6397 |
cygwin* | mingw* | pw32* | cegcc*) |
|
6398 |
symcode='[ABCDGISTW]' |
|
6399 |
;; |
|
6400 |
hpux*) |
|
6401 |
if test "$host_cpu" = ia64; then |
|
6402 |
symcode='[ABCDEGRST]' |
|
6403 |
fi |
|
6404 |
;; |
|
6405 |
irix* | nonstopux*) |
|
6406 |
symcode='[BCDEGRST]' |
|
6407 |
;; |
|
6408 |
osf*) |
|
6409 |
symcode='[BCDEGQRST]' |
|
6410 |
;; |
|
6411 |
solaris*) |
|
6412 |
symcode='[BDRT]' |
|
6413 |
;; |
|
6414 |
sco3.2v5*) |
|
6415 |
symcode='[DT]' |
|
6416 |
;; |
|
6417 |
sysv4.2uw2*) |
|
6418 |
symcode='[DT]' |
|
6419 |
;; |
|
6420 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
6421 |
symcode='[ABDT]' |
|
6422 |
;; |
|
6423 |
sysv4) |
|
6424 |
symcode='[DFNSTU]' |
|
6425 |
;; |
|
6426 |
esac |
|
6427 |
||
6428 |
# If we're using GNU nm, then use its standard symbol codes. |
|
6429 |
case `$NM -V 2>&1` in |
|
6430 |
*GNU* | *'with BFD'*) |
|
6431 |
symcode='[ABCDGIRSTW]' ;; |
|
6432 |
esac |
|
6433 |
||
6434 |
# Transform an extracted symbol line into a proper C declaration. |
|
6435 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
6436 |
# so use this general approach. |
|
6437 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6438 |
||
6439 |
# Transform an extracted symbol line into symbol name and symbol address |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6440 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6441 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6442 |
|
6443 |
# Handle CRLF in mingw tool chain |
|
6444 |
opt_cr= |
|
6445 |
case $build_os in |
|
6446 |
mingw*) |
|
6447 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
6448 |
;; |
|
6449 |
esac |
|
6450 |
||
6451 |
# Try without a prefix underscore, then with it. |
|
6452 |
for ac_symprfx in "" "_"; do |
|
6453 |
||
6454 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
6455 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
6456 |
||
6457 |
# Write the raw and C identifiers. |
|
6458 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6459 |
# Fake it for dumpbin and say T for any non-static function |
|
6460 |
# and D for any global variable. |
|
6461 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
6462 |
# which start with @ or ?. |
|
6463 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
6464 |
" {last_section=section; section=\$ 3};"\ |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6465 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6466 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6467 |
" \$ 0!~/External *\|/{next};"\ |
|
6468 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
6469 |
" {if(hide[section]) next};"\ |
|
6470 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
6471 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
6472 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
6473 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
6474 |
" ' prfx=^$ac_symprfx" |
|
6475 |
else |
|
6476 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
6477 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6478 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6479 |
|
6480 |
# Check to see that the pipe works correctly. |
|
6481 |
pipe_works=no |
|
6482 |
||
6483 |
rm -f conftest* |
|
6484 |
cat > conftest.$ac_ext <<_LT_EOF |
|
6485 |
#ifdef __cplusplus |
|
6486 |
extern "C" { |
|
6487 |
#endif |
|
6488 |
char nm_test_var; |
|
6489 |
void nm_test_func(void); |
|
6490 |
void nm_test_func(void){} |
|
6491 |
#ifdef __cplusplus |
|
6492 |
} |
|
6493 |
#endif |
|
6494 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
6495 |
_LT_EOF |
|
6496 |
||
6497 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6498 |
(eval $ac_compile) 2>&5 |
|
6499 |
ac_status=$? |
|
6500 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6501 |
test $ac_status = 0; }; then |
|
6502 |
# Now try to grab the symbols. |
|
6503 |
nlist=conftest.nm |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6504 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6505 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6506 |
ac_status=$? |
6507 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6508 |
test $ac_status = 0; } && test -s "$nlist"; then |
|
6509 |
# Try sorting and uniquifying the output. |
|
6510 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
6511 |
mv -f "$nlist"T "$nlist" |
|
6512 |
else |
|
6513 |
rm -f "$nlist"T |
|
6514 |
fi |
|
6515 |
||
6516 |
# Make sure that we snagged all the symbols we need. |
|
6517 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
6518 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
6519 |
cat <<_LT_EOF > conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6520 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6521 |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
|
6522 |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
|
6523 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
6524 |
# define LT_DLSYM_CONST |
|
6525 |
#elif defined(__osf__) |
|
6526 |
/* This system does not cope well with relocations in const data. */ |
|
6527 |
# define LT_DLSYM_CONST |
|
6528 |
#else |
|
6529 |
# define LT_DLSYM_CONST const |
|
6530 |
#endif |
|
6531 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6532 |
#ifdef __cplusplus |
6533 |
extern "C" { |
|
6534 |
#endif |
|
6535 |
||
6536 |
_LT_EOF |
|
6537 |
# Now generate the symbol file. |
|
6538 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
6539 |
||
6540 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
6541 |
||
6542 |
/* The mapping between symbol names and symbols. */ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6543 |
LT_DLSYM_CONST struct { |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6544 |
const char *name; |
6545 |
void *address; |
|
6546 |
} |
|
6547 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
6548 |
{ |
|
6549 |
{ "@PROGRAM@", (void *) 0 }, |
|
6550 |
_LT_EOF |
|
6551 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
6552 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
6553 |
{0, (void *) 0} |
|
6554 |
}; |
|
6555 |
||
6556 |
/* This works around a problem in FreeBSD linker */ |
|
6557 |
#ifdef FREEBSD_WORKAROUND |
|
6558 |
static const void *lt_preloaded_setup() { |
|
6559 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
6560 |
} |
|
6561 |
#endif |
|
6562 |
||
6563 |
#ifdef __cplusplus |
|
6564 |
} |
|
6565 |
#endif |
|
6566 |
_LT_EOF |
|
6567 |
# Now try linking the two files. |
|
6568 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6569 |
lt_globsym_save_LIBS=$LIBS |
6570 |
lt_globsym_save_CFLAGS=$CFLAGS |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6571 |
LIBS="conftstm.$ac_objext" |
6572 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
6573 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
6574 |
(eval $ac_link) 2>&5 |
|
6575 |
ac_status=$? |
|
6576 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6577 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
|
6578 |
pipe_works=yes |
|
6579 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6580 |
LIBS=$lt_globsym_save_LIBS |
6581 |
CFLAGS=$lt_globsym_save_CFLAGS |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6582 |
else |
6583 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
6584 |
fi |
|
6585 |
else |
|
6586 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
6587 |
fi |
|
6588 |
else |
|
6589 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
6590 |
fi |
|
6591 |
else |
|
6592 |
echo "$progname: failed program was:" >&5 |
|
6593 |
cat conftest.$ac_ext >&5 |
|
6594 |
fi |
|
6595 |
rm -rf conftest* conftst* |
|
6596 |
||
6597 |
# Do not use the global_symbol_pipe unless it works. |
|
6598 |
if test "$pipe_works" = yes; then |
|
6599 |
break |
|
6600 |
else |
|
6601 |
lt_cv_sys_global_symbol_pipe= |
|
6602 |
fi |
|
6603 |
done |
|
6604 |
||
6605 |
fi |
|
6606 |
||
6607 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
6608 |
lt_cv_sys_global_symbol_to_cdecl= |
|
6609 |
fi |
|
6610 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
6611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
|
6612 |
$as_echo "failed" >&6; } |
|
6613 |
else |
|
6614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
6615 |
$as_echo "ok" >&6; } |
|
6616 |
fi |
|
6617 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6618 |
# Response file support. |
6619 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6620 |
nm_file_list_spec='@' |
|
6621 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
6622 |
nm_file_list_spec='@' |
|
6623 |
fi |
|
6624 |
||
6625 |
||
6626 |
||
6627 |
||
6628 |
||
6629 |
||
6630 |
||
6631 |
||
6632 |
||
6633 |
||
6634 |
||
6635 |
||
6636 |
||
6637 |
||
6638 |
||
6639 |
||
6640 |
||
6641 |
||
6642 |
||
6643 |
||
6644 |
||
6645 |
||
6646 |
||
6647 |
||
6648 |
||
6649 |
||
6650 |
||
6651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
6652 |
$as_echo_n "checking for sysroot... " >&6; } |
|
6653 |
||
6654 |
# Check whether --with-sysroot was given. |
|
6655 |
if test "${with_sysroot+set}" = set; then : |
|
6656 |
withval=$with_sysroot; |
|
6657 |
else |
|
6658 |
with_sysroot=no |
|
6659 |
fi |
|
6660 |
||
6661 |
||
6662 |
lt_sysroot= |
|
6663 |
case ${with_sysroot} in #( |
|
6664 |
yes) |
|
6665 |
if test "$GCC" = yes; then |
|
6666 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
6667 |
fi |
|
6668 |
;; #( |
|
6669 |
/*) |
|
6670 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
6671 |
;; #( |
|
6672 |
no|'') |
|
6673 |
;; #( |
|
6674 |
*) |
|
6675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
|
6676 |
$as_echo "${with_sysroot}" >&6; } |
|
6677 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
6678 |
;; |
|
6679 |
esac |
|
6680 |
||
6681 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
6682 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6683 |
|
6684 |
||
6685 |
||
6686 |
||
6687 |
||
6688 |
# Check whether --enable-libtool-lock was given. |
|
6689 |
if test "${enable_libtool_lock+set}" = set; then : |
|
6690 |
enableval=$enable_libtool_lock; |
|
6691 |
fi |
|
6692 |
||
6693 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
6694 |
||
6695 |
# Some flags need to be propagated to the compiler or linker for good |
|
6696 |
# libtool support. |
|
6697 |
case $host in |
|
6698 |
ia64-*-hpux*) |
|
6699 |
# Find out which ABI we are using. |
|
6700 |
echo 'int i;' > conftest.$ac_ext |
|
6701 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6702 |
(eval $ac_compile) 2>&5 |
|
6703 |
ac_status=$? |
|
6704 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6705 |
test $ac_status = 0; }; then |
|
6706 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6707 |
*ELF-32*) |
|
6708 |
HPUX_IA64_MODE="32" |
|
6709 |
;; |
|
6710 |
*ELF-64*) |
|
6711 |
HPUX_IA64_MODE="64" |
|
6712 |
;; |
|
6713 |
esac |
|
6714 |
fi |
|
6715 |
rm -rf conftest* |
|
6716 |
;; |
|
6717 |
*-*-irix6*) |
|
6718 |
# Find out which ABI we are using. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6719 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6720 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6721 |
(eval $ac_compile) 2>&5 |
|
6722 |
ac_status=$? |
|
6723 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6724 |
test $ac_status = 0; }; then |
|
6725 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
6726 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6727 |
*32-bit*) |
|
6728 |
LD="${LD-ld} -melf32bsmip" |
|
6729 |
;; |
|
6730 |
*N32*) |
|
6731 |
LD="${LD-ld} -melf32bmipn32" |
|
6732 |
;; |
|
6733 |
*64-bit*) |
|
6734 |
LD="${LD-ld} -melf64bmip" |
|
6735 |
;; |
|
6736 |
esac |
|
6737 |
else |
|
6738 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6739 |
*32-bit*) |
|
6740 |
LD="${LD-ld} -32" |
|
6741 |
;; |
|
6742 |
*N32*) |
|
6743 |
LD="${LD-ld} -n32" |
|
6744 |
;; |
|
6745 |
*64-bit*) |
|
6746 |
LD="${LD-ld} -64" |
|
6747 |
;; |
|
6748 |
esac |
|
6749 |
fi |
|
6750 |
fi |
|
6751 |
rm -rf conftest* |
|
6752 |
;; |
|
6753 |
||
6754 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
6755 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
6756 |
# Find out which ABI we are using. |
|
6757 |
echo 'int i;' > conftest.$ac_ext |
|
6758 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6759 |
(eval $ac_compile) 2>&5 |
|
6760 |
ac_status=$? |
|
6761 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6762 |
test $ac_status = 0; }; then |
|
6763 |
case `/usr/bin/file conftest.o` in |
|
6764 |
*32-bit*) |
|
6765 |
case $host in |
|
6766 |
x86_64-*kfreebsd*-gnu) |
|
6767 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
6768 |
;; |
|
6769 |
x86_64-*linux*) |
|
6770 |
LD="${LD-ld} -m elf_i386" |
|
6771 |
;; |
|
6772 |
ppc64-*linux*|powerpc64-*linux*) |
|
6773 |
LD="${LD-ld} -m elf32ppclinux" |
|
6774 |
;; |
|
6775 |
s390x-*linux*) |
|
6776 |
LD="${LD-ld} -m elf_s390" |
|
6777 |
;; |
|
6778 |
sparc64-*linux*) |
|
6779 |
LD="${LD-ld} -m elf32_sparc" |
|
6780 |
;; |
|
6781 |
esac |
|
6782 |
;; |
|
6783 |
*64-bit*) |
|
6784 |
case $host in |
|
6785 |
x86_64-*kfreebsd*-gnu) |
|
6786 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
6787 |
;; |
|
6788 |
x86_64-*linux*) |
|
6789 |
LD="${LD-ld} -m elf_x86_64" |
|
6790 |
;; |
|
6791 |
ppc*-*linux*|powerpc*-*linux*) |
|
6792 |
LD="${LD-ld} -m elf64ppc" |
|
6793 |
;; |
|
6794 |
s390*-*linux*|s390*-*tpf*) |
|
6795 |
LD="${LD-ld} -m elf64_s390" |
|
6796 |
;; |
|
6797 |
sparc*-*linux*) |
|
6798 |
LD="${LD-ld} -m elf64_sparc" |
|
6799 |
;; |
|
6800 |
esac |
|
6801 |
;; |
|
6802 |
esac |
|
6803 |
fi |
|
6804 |
rm -rf conftest* |
|
6805 |
;; |
|
6806 |
||
6807 |
*-*-sco3.2v5*) |
|
6808 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
6809 |
SAVE_CFLAGS="$CFLAGS" |
|
6810 |
CFLAGS="$CFLAGS -belf" |
|
6811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
|
6812 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6813 |
if ${lt_cv_cc_needs_belf+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6814 |
$as_echo_n "(cached) " >&6 |
6815 |
else |
|
6816 |
ac_ext=c |
|
6817 |
ac_cpp='$CPP $CPPFLAGS' |
|
6818 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6819 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6820 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6821 |
||
6822 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6823 |
/* end confdefs.h. */ |
|
6824 |
||
6825 |
int |
|
6826 |
main () |
|
6827 |
{ |
|
6828 |
||
6829 |
; |
|
6830 |
return 0; |
|
6831 |
} |
|
6832 |
_ACEOF |
|
6833 |
if ac_fn_c_try_link "$LINENO"; then : |
|
6834 |
lt_cv_cc_needs_belf=yes |
|
6835 |
else |
|
6836 |
lt_cv_cc_needs_belf=no |
|
6837 |
fi |
|
6838 |
rm -f core conftest.err conftest.$ac_objext \ |
|
6839 |
conftest$ac_exeext conftest.$ac_ext |
|
6840 |
ac_ext=c |
|
6841 |
ac_cpp='$CPP $CPPFLAGS' |
|
6842 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6843 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6844 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6845 |
||
6846 |
fi |
|
6847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
|
6848 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
6849 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
6850 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
6851 |
CFLAGS="$SAVE_CFLAGS" |
|
6852 |
fi |
|
6853 |
;; |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6854 |
*-*solaris*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6855 |
# Find out which ABI we are using. |
6856 |
echo 'int i;' > conftest.$ac_ext |
|
6857 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6858 |
(eval $ac_compile) 2>&5 |
|
6859 |
ac_status=$? |
|
6860 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6861 |
test $ac_status = 0; }; then |
|
6862 |
case `/usr/bin/file conftest.o` in |
|
6863 |
*64-bit*) |
|
6864 |
case $lt_cv_prog_gnu_ld in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
6865 |
yes*) |
6866 |
case $host in |
|
6867 |
i?86-*-solaris*) |
|
6868 |
LD="${LD-ld} -m elf_x86_64" |
|
6869 |
;; |
|
6870 |
sparc*-*-solaris*) |
|
6871 |
LD="${LD-ld} -m elf64_sparc" |
|
6872 |
;; |
|
6873 |
esac |
|
6874 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
|
6875 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
|
6876 |
LD="${LD-ld}_sol2" |
|
6877 |
fi |
|
6878 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
6879 |
*) |
6880 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
6881 |
LD="${LD-ld} -64" |
|
6882 |
fi |
|
6883 |
;; |
|
6884 |
esac |
|
6885 |
;; |
|
6886 |
esac |
|
6887 |
fi |
|
6888 |
rm -rf conftest* |
|
6889 |
;; |
|
6890 |
esac |
|
6891 |
||
6892 |
need_locks="$enable_libtool_lock" |
|
6893 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
6894 |
if test -n "$ac_tool_prefix"; then |
6895 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
6896 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
6897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6898 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6899 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
6900 |
$as_echo_n "(cached) " >&6 |
|
6901 |
else |
|
6902 |
if test -n "$MANIFEST_TOOL"; then |
|
6903 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
6904 |
else |
|
6905 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6906 |
for as_dir in $PATH |
|
6907 |
do |
|
6908 |
IFS=$as_save_IFS |
|
6909 |
test -z "$as_dir" && as_dir=. |
|
6910 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6911 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6912 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
6913 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6914 |
break 2 |
|
6915 |
fi |
|
6916 |
done |
|
6917 |
done |
|
6918 |
IFS=$as_save_IFS |
|
6919 |
||
6920 |
fi |
|
6921 |
fi |
|
6922 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
6923 |
if test -n "$MANIFEST_TOOL"; then |
|
6924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
6925 |
$as_echo "$MANIFEST_TOOL" >&6; } |
|
6926 |
else |
|
6927 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6928 |
$as_echo "no" >&6; } |
|
6929 |
fi |
|
6930 |
||
6931 |
||
6932 |
fi |
|
6933 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
6934 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
6935 |
# Extract the first word of "mt", so it can be a program name with args. |
|
6936 |
set dummy mt; ac_word=$2 |
|
6937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6938 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6939 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
6940 |
$as_echo_n "(cached) " >&6 |
|
6941 |
else |
|
6942 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6943 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
6944 |
else |
|
6945 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6946 |
for as_dir in $PATH |
|
6947 |
do |
|
6948 |
IFS=$as_save_IFS |
|
6949 |
test -z "$as_dir" && as_dir=. |
|
6950 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6951 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6952 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
6953 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6954 |
break 2 |
|
6955 |
fi |
|
6956 |
done |
|
6957 |
done |
|
6958 |
IFS=$as_save_IFS |
|
6959 |
||
6960 |
fi |
|
6961 |
fi |
|
6962 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
6963 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
6965 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
6966 |
else |
|
6967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6968 |
$as_echo "no" >&6; } |
|
6969 |
fi |
|
6970 |
||
6971 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
6972 |
MANIFEST_TOOL=":" |
|
6973 |
else |
|
6974 |
case $cross_compiling:$ac_tool_warned in |
|
6975 |
yes:) |
|
6976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6977 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6978 |
ac_tool_warned=yes ;; |
|
6979 |
esac |
|
6980 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
6981 |
fi |
|
6982 |
else |
|
6983 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
6984 |
fi |
|
6985 |
||
6986 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
6987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
6988 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
6989 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
6990 |
$as_echo_n "(cached) " >&6 |
|
6991 |
else |
|
6992 |
lt_cv_path_mainfest_tool=no |
|
6993 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
6994 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
6995 |
cat conftest.err >&5 |
|
6996 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
6997 |
lt_cv_path_mainfest_tool=yes |
|
6998 |
fi |
|
6999 |
rm -f conftest* |
|
7000 |
fi |
|
7001 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
7002 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
7003 |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
|
7004 |
MANIFEST_TOOL=: |
|
7005 |
fi |
|
7006 |
||
7007 |
||
7008 |
||
7009 |
||
7010 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7011 |
|
7012 |
case $host_os in |
|
7013 |
rhapsody* | darwin*) |
|
7014 |
if test -n "$ac_tool_prefix"; then |
|
7015 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
7016 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
7017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7018 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7019 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7020 |
$as_echo_n "(cached) " >&6 |
7021 |
else |
|
7022 |
if test -n "$DSYMUTIL"; then |
|
7023 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
7024 |
else |
|
7025 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7026 |
for as_dir in $PATH |
|
7027 |
do |
|
7028 |
IFS=$as_save_IFS |
|
7029 |
test -z "$as_dir" && as_dir=. |
|
7030 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7031 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7032 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
7033 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7034 |
break 2 |
|
7035 |
fi |
|
7036 |
done |
|
7037 |
done |
|
7038 |
IFS=$as_save_IFS |
|
7039 |
||
7040 |
fi |
|
7041 |
fi |
|
7042 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
7043 |
if test -n "$DSYMUTIL"; then |
|
7044 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
7045 |
$as_echo "$DSYMUTIL" >&6; } |
|
7046 |
else |
|
7047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7048 |
$as_echo "no" >&6; } |
|
7049 |
fi |
|
7050 |
||
7051 |
||
7052 |
fi |
|
7053 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
7054 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
7055 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
7056 |
set dummy dsymutil; ac_word=$2 |
|
7057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7058 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7059 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7060 |
$as_echo_n "(cached) " >&6 |
7061 |
else |
|
7062 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
7063 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
7064 |
else |
|
7065 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7066 |
for as_dir in $PATH |
|
7067 |
do |
|
7068 |
IFS=$as_save_IFS |
|
7069 |
test -z "$as_dir" && as_dir=. |
|
7070 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7071 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7072 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
7073 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7074 |
break 2 |
|
7075 |
fi |
|
7076 |
done |
|
7077 |
done |
|
7078 |
IFS=$as_save_IFS |
|
7079 |
||
7080 |
fi |
|
7081 |
fi |
|
7082 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
7083 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
7084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
|
7085 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
7086 |
else |
|
7087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7088 |
$as_echo "no" >&6; } |
|
7089 |
fi |
|
7090 |
||
7091 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
7092 |
DSYMUTIL=":" |
|
7093 |
else |
|
7094 |
case $cross_compiling:$ac_tool_warned in |
|
7095 |
yes:) |
|
7096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7097 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7098 |
ac_tool_warned=yes ;; |
|
7099 |
esac |
|
7100 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
7101 |
fi |
|
7102 |
else |
|
7103 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
7104 |
fi |
|
7105 |
||
7106 |
if test -n "$ac_tool_prefix"; then |
|
7107 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
7108 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
7109 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7110 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7111 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7112 |
$as_echo_n "(cached) " >&6 |
7113 |
else |
|
7114 |
if test -n "$NMEDIT"; then |
|
7115 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
7116 |
else |
|
7117 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7118 |
for as_dir in $PATH |
|
7119 |
do |
|
7120 |
IFS=$as_save_IFS |
|
7121 |
test -z "$as_dir" && as_dir=. |
|
7122 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7123 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7124 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
7125 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7126 |
break 2 |
|
7127 |
fi |
|
7128 |
done |
|
7129 |
done |
|
7130 |
IFS=$as_save_IFS |
|
7131 |
||
7132 |
fi |
|
7133 |
fi |
|
7134 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
7135 |
if test -n "$NMEDIT"; then |
|
7136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
|
7137 |
$as_echo "$NMEDIT" >&6; } |
|
7138 |
else |
|
7139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7140 |
$as_echo "no" >&6; } |
|
7141 |
fi |
|
7142 |
||
7143 |
||
7144 |
fi |
|
7145 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
7146 |
ac_ct_NMEDIT=$NMEDIT |
|
7147 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
7148 |
set dummy nmedit; ac_word=$2 |
|
7149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7150 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7151 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7152 |
$as_echo_n "(cached) " >&6 |
7153 |
else |
|
7154 |
if test -n "$ac_ct_NMEDIT"; then |
|
7155 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
7156 |
else |
|
7157 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7158 |
for as_dir in $PATH |
|
7159 |
do |
|
7160 |
IFS=$as_save_IFS |
|
7161 |
test -z "$as_dir" && as_dir=. |
|
7162 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7163 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7164 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
7165 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7166 |
break 2 |
|
7167 |
fi |
|
7168 |
done |
|
7169 |
done |
|
7170 |
IFS=$as_save_IFS |
|
7171 |
||
7172 |
fi |
|
7173 |
fi |
|
7174 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
7175 |
if test -n "$ac_ct_NMEDIT"; then |
|
7176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
|
7177 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
7178 |
else |
|
7179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7180 |
$as_echo "no" >&6; } |
|
7181 |
fi |
|
7182 |
||
7183 |
if test "x$ac_ct_NMEDIT" = x; then |
|
7184 |
NMEDIT=":" |
|
7185 |
else |
|
7186 |
case $cross_compiling:$ac_tool_warned in |
|
7187 |
yes:) |
|
7188 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7189 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7190 |
ac_tool_warned=yes ;; |
|
7191 |
esac |
|
7192 |
NMEDIT=$ac_ct_NMEDIT |
|
7193 |
fi |
|
7194 |
else |
|
7195 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
7196 |
fi |
|
7197 |
||
7198 |
if test -n "$ac_tool_prefix"; then |
|
7199 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
7200 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
7201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7202 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7203 |
if ${ac_cv_prog_LIPO+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7204 |
$as_echo_n "(cached) " >&6 |
7205 |
else |
|
7206 |
if test -n "$LIPO"; then |
|
7207 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
7208 |
else |
|
7209 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7210 |
for as_dir in $PATH |
|
7211 |
do |
|
7212 |
IFS=$as_save_IFS |
|
7213 |
test -z "$as_dir" && as_dir=. |
|
7214 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7215 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7216 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
7217 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7218 |
break 2 |
|
7219 |
fi |
|
7220 |
done |
|
7221 |
done |
|
7222 |
IFS=$as_save_IFS |
|
7223 |
||
7224 |
fi |
|
7225 |
fi |
|
7226 |
LIPO=$ac_cv_prog_LIPO |
|
7227 |
if test -n "$LIPO"; then |
|
7228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
|
7229 |
$as_echo "$LIPO" >&6; } |
|
7230 |
else |
|
7231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7232 |
$as_echo "no" >&6; } |
|
7233 |
fi |
|
7234 |
||
7235 |
||
7236 |
fi |
|
7237 |
if test -z "$ac_cv_prog_LIPO"; then |
|
7238 |
ac_ct_LIPO=$LIPO |
|
7239 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
7240 |
set dummy lipo; ac_word=$2 |
|
7241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7242 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7243 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7244 |
$as_echo_n "(cached) " >&6 |
7245 |
else |
|
7246 |
if test -n "$ac_ct_LIPO"; then |
|
7247 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
7248 |
else |
|
7249 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7250 |
for as_dir in $PATH |
|
7251 |
do |
|
7252 |
IFS=$as_save_IFS |
|
7253 |
test -z "$as_dir" && as_dir=. |
|
7254 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7255 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7256 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
7257 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7258 |
break 2 |
|
7259 |
fi |
|
7260 |
done |
|
7261 |
done |
|
7262 |
IFS=$as_save_IFS |
|
7263 |
||
7264 |
fi |
|
7265 |
fi |
|
7266 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
7267 |
if test -n "$ac_ct_LIPO"; then |
|
7268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
|
7269 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
7270 |
else |
|
7271 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7272 |
$as_echo "no" >&6; } |
|
7273 |
fi |
|
7274 |
||
7275 |
if test "x$ac_ct_LIPO" = x; then |
|
7276 |
LIPO=":" |
|
7277 |
else |
|
7278 |
case $cross_compiling:$ac_tool_warned in |
|
7279 |
yes:) |
|
7280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7281 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7282 |
ac_tool_warned=yes ;; |
|
7283 |
esac |
|
7284 |
LIPO=$ac_ct_LIPO |
|
7285 |
fi |
|
7286 |
else |
|
7287 |
LIPO="$ac_cv_prog_LIPO" |
|
7288 |
fi |
|
7289 |
||
7290 |
if test -n "$ac_tool_prefix"; then |
|
7291 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
7292 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
7293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7294 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7295 |
if ${ac_cv_prog_OTOOL+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7296 |
$as_echo_n "(cached) " >&6 |
7297 |
else |
|
7298 |
if test -n "$OTOOL"; then |
|
7299 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
7300 |
else |
|
7301 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7302 |
for as_dir in $PATH |
|
7303 |
do |
|
7304 |
IFS=$as_save_IFS |
|
7305 |
test -z "$as_dir" && as_dir=. |
|
7306 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7307 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7308 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
7309 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7310 |
break 2 |
|
7311 |
fi |
|
7312 |
done |
|
7313 |
done |
|
7314 |
IFS=$as_save_IFS |
|
7315 |
||
7316 |
fi |
|
7317 |
fi |
|
7318 |
OTOOL=$ac_cv_prog_OTOOL |
|
7319 |
if test -n "$OTOOL"; then |
|
7320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
|
7321 |
$as_echo "$OTOOL" >&6; } |
|
7322 |
else |
|
7323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7324 |
$as_echo "no" >&6; } |
|
7325 |
fi |
|
7326 |
||
7327 |
||
7328 |
fi |
|
7329 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
7330 |
ac_ct_OTOOL=$OTOOL |
|
7331 |
# Extract the first word of "otool", so it can be a program name with args. |
|
7332 |
set dummy otool; ac_word=$2 |
|
7333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7334 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7335 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7336 |
$as_echo_n "(cached) " >&6 |
7337 |
else |
|
7338 |
if test -n "$ac_ct_OTOOL"; then |
|
7339 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
7340 |
else |
|
7341 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7342 |
for as_dir in $PATH |
|
7343 |
do |
|
7344 |
IFS=$as_save_IFS |
|
7345 |
test -z "$as_dir" && as_dir=. |
|
7346 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7347 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7348 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
7349 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7350 |
break 2 |
|
7351 |
fi |
|
7352 |
done |
|
7353 |
done |
|
7354 |
IFS=$as_save_IFS |
|
7355 |
||
7356 |
fi |
|
7357 |
fi |
|
7358 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
7359 |
if test -n "$ac_ct_OTOOL"; then |
|
7360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
|
7361 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
7362 |
else |
|
7363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7364 |
$as_echo "no" >&6; } |
|
7365 |
fi |
|
7366 |
||
7367 |
if test "x$ac_ct_OTOOL" = x; then |
|
7368 |
OTOOL=":" |
|
7369 |
else |
|
7370 |
case $cross_compiling:$ac_tool_warned in |
|
7371 |
yes:) |
|
7372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7373 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7374 |
ac_tool_warned=yes ;; |
|
7375 |
esac |
|
7376 |
OTOOL=$ac_ct_OTOOL |
|
7377 |
fi |
|
7378 |
else |
|
7379 |
OTOOL="$ac_cv_prog_OTOOL" |
|
7380 |
fi |
|
7381 |
||
7382 |
if test -n "$ac_tool_prefix"; then |
|
7383 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
7384 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
7385 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7386 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7387 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7388 |
$as_echo_n "(cached) " >&6 |
7389 |
else |
|
7390 |
if test -n "$OTOOL64"; then |
|
7391 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
7392 |
else |
|
7393 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7394 |
for as_dir in $PATH |
|
7395 |
do |
|
7396 |
IFS=$as_save_IFS |
|
7397 |
test -z "$as_dir" && as_dir=. |
|
7398 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7399 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7400 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
7401 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7402 |
break 2 |
|
7403 |
fi |
|
7404 |
done |
|
7405 |
done |
|
7406 |
IFS=$as_save_IFS |
|
7407 |
||
7408 |
fi |
|
7409 |
fi |
|
7410 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
7411 |
if test -n "$OTOOL64"; then |
|
7412 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
|
7413 |
$as_echo "$OTOOL64" >&6; } |
|
7414 |
else |
|
7415 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7416 |
$as_echo "no" >&6; } |
|
7417 |
fi |
|
7418 |
||
7419 |
||
7420 |
fi |
|
7421 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
7422 |
ac_ct_OTOOL64=$OTOOL64 |
|
7423 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
7424 |
set dummy otool64; ac_word=$2 |
|
7425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7426 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7427 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7428 |
$as_echo_n "(cached) " >&6 |
7429 |
else |
|
7430 |
if test -n "$ac_ct_OTOOL64"; then |
|
7431 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
7432 |
else |
|
7433 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7434 |
for as_dir in $PATH |
|
7435 |
do |
|
7436 |
IFS=$as_save_IFS |
|
7437 |
test -z "$as_dir" && as_dir=. |
|
7438 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7439 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7440 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
7441 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7442 |
break 2 |
|
7443 |
fi |
|
7444 |
done |
|
7445 |
done |
|
7446 |
IFS=$as_save_IFS |
|
7447 |
||
7448 |
fi |
|
7449 |
fi |
|
7450 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
7451 |
if test -n "$ac_ct_OTOOL64"; then |
|
7452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
|
7453 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
7454 |
else |
|
7455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7456 |
$as_echo "no" >&6; } |
|
7457 |
fi |
|
7458 |
||
7459 |
if test "x$ac_ct_OTOOL64" = x; then |
|
7460 |
OTOOL64=":" |
|
7461 |
else |
|
7462 |
case $cross_compiling:$ac_tool_warned in |
|
7463 |
yes:) |
|
7464 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7465 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7466 |
ac_tool_warned=yes ;; |
|
7467 |
esac |
|
7468 |
OTOOL64=$ac_ct_OTOOL64 |
|
7469 |
fi |
|
7470 |
else |
|
7471 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
7472 |
fi |
|
7473 |
||
7474 |
||
7475 |
||
7476 |
||
7477 |
||
7478 |
||
7479 |
||
7480 |
||
7481 |
||
7482 |
||
7483 |
||
7484 |
||
7485 |
||
7486 |
||
7487 |
||
7488 |
||
7489 |
||
7490 |
||
7491 |
||
7492 |
||
7493 |
||
7494 |
||
7495 |
||
7496 |
||
7497 |
||
7498 |
||
7499 |
||
7500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
|
7501 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7502 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7503 |
$as_echo_n "(cached) " >&6 |
7504 |
else |
|
7505 |
lt_cv_apple_cc_single_mod=no |
|
7506 |
if test -z "${LT_MULTI_MODULE}"; then |
|
7507 |
# By default we will add the -single_module flag. You can override |
|
7508 |
# by either setting the environment variable LT_MULTI_MODULE |
|
7509 |
# non-empty at configure time, or by adding -multi_module to the |
|
7510 |
# link flags. |
|
7511 |
rm -rf libconftest.dylib* |
|
7512 |
echo "int foo(void){return 1;}" > conftest.c |
|
7513 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7514 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
7515 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7516 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
7517 |
_lt_result=$? |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7518 |
# If there is a non-empty error log, and "single_module" |
7519 |
# appears in it, assume the flag caused a linker warning |
|
7520 |
if test -s conftest.err && $GREP single_module conftest.err; then |
|
7521 |
cat conftest.err >&5 |
|
7522 |
# Otherwise, if the output was created with a 0 exit code from |
|
7523 |
# the compiler, it worked. |
|
7524 |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7525 |
lt_cv_apple_cc_single_mod=yes |
7526 |
else |
|
7527 |
cat conftest.err >&5 |
|
7528 |
fi |
|
7529 |
rm -rf libconftest.dylib* |
|
7530 |
rm -f conftest.* |
|
7531 |
fi |
|
7532 |
fi |
|
7533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
|
7534 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7535 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7537 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7538 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7539 |
$as_echo_n "(cached) " >&6 |
7540 |
else |
|
7541 |
lt_cv_ld_exported_symbols_list=no |
|
7542 |
save_LDFLAGS=$LDFLAGS |
|
7543 |
echo "_main" > conftest.sym |
|
7544 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
7545 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7546 |
/* end confdefs.h. */ |
|
7547 |
||
7548 |
int |
|
7549 |
main () |
|
7550 |
{ |
|
7551 |
||
7552 |
; |
|
7553 |
return 0; |
|
7554 |
} |
|
7555 |
_ACEOF |
|
7556 |
if ac_fn_c_try_link "$LINENO"; then : |
|
7557 |
lt_cv_ld_exported_symbols_list=yes |
|
7558 |
else |
|
7559 |
lt_cv_ld_exported_symbols_list=no |
|
7560 |
fi |
|
7561 |
rm -f core conftest.err conftest.$ac_objext \ |
|
7562 |
conftest$ac_exeext conftest.$ac_ext |
|
7563 |
LDFLAGS="$save_LDFLAGS" |
|
7564 |
||
7565 |
fi |
|
7566 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
7567 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7568 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7570 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
|
7571 |
if ${lt_cv_ld_force_load+:} false; then : |
|
7572 |
$as_echo_n "(cached) " >&6 |
|
7573 |
else |
|
7574 |
lt_cv_ld_force_load=no |
|
7575 |
cat > conftest.c << _LT_EOF |
|
7576 |
int forced_loaded() { return 2;} |
|
7577 |
_LT_EOF |
|
7578 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
|
7579 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
|
7580 |
echo "$AR cru libconftest.a conftest.o" >&5 |
|
7581 |
$AR cru libconftest.a conftest.o 2>&5 |
|
7582 |
echo "$RANLIB libconftest.a" >&5 |
|
7583 |
$RANLIB libconftest.a 2>&5 |
|
7584 |
cat > conftest.c << _LT_EOF |
|
7585 |
int main() { return 0;} |
|
7586 |
_LT_EOF |
|
7587 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
|
7588 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
|
7589 |
_lt_result=$? |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7590 |
if test -s conftest.err && $GREP force_load conftest.err; then |
7591 |
cat conftest.err >&5 |
|
7592 |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7593 |
lt_cv_ld_force_load=yes |
7594 |
else |
|
7595 |
cat conftest.err >&5 |
|
7596 |
fi |
|
7597 |
rm -f conftest.err libconftest.a conftest conftest.c |
|
7598 |
rm -rf conftest.dSYM |
|
7599 |
||
7600 |
fi |
|
7601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
|
7602 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7603 |
case $host_os in |
7604 |
rhapsody* | darwin1.[012]) |
|
7605 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
7606 |
darwin1.*) |
|
7607 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7608 |
darwin*) # darwin 5.x on |
|
7609 |
# if running on 10.5 or later, the deployment target defaults |
|
7610 |
# to the OS version, if on x86, and 10.4, the deployment |
|
7611 |
# target defaults to 10.4. Don't you love it? |
|
7612 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
7613 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
7614 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7615 |
10.[012]*) |
|
7616 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7617 |
10.*) |
|
7618 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7619 |
esac |
|
7620 |
;; |
|
7621 |
esac |
|
7622 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
7623 |
_lt_dar_single_mod='$single_module' |
|
7624 |
fi |
|
7625 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
7626 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
7627 |
else |
|
7628 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
7629 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7630 |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7631 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7632 |
else |
|
7633 |
_lt_dsymutil= |
|
7634 |
fi |
|
7635 |
;; |
|
7636 |
esac |
|
7637 |
||
7638 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
7639 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7640 |
inttypes.h stdint.h unistd.h |
|
7641 |
do : |
|
7642 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7643 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
7644 |
" |
|
7645 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
7646 |
cat >>confdefs.h <<_ACEOF |
|
7647 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
7648 |
_ACEOF |
|
7649 |
||
7650 |
fi |
|
7651 |
||
7652 |
done |
|
7653 |
||
7654 |
||
7655 |
for ac_header in dlfcn.h |
|
7656 |
do : |
|
7657 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
|
7658 |
" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7659 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7660 |
cat >>confdefs.h <<_ACEOF |
7661 |
#define HAVE_DLFCN_H 1 |
|
7662 |
_ACEOF |
|
7663 |
||
7664 |
fi |
|
7665 |
||
7666 |
done |
|
7667 |
||
7668 |
||
7669 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7670 |
|
7671 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7672 |
# Set options |
7673 |
||
7674 |
||
7675 |
||
7676 |
enable_dlopen=no |
|
7677 |
||
7678 |
||
7679 |
enable_win32_dll=no |
|
7680 |
||
7681 |
||
7682 |
# Check whether --enable-shared was given. |
|
7683 |
if test "${enable_shared+set}" = set; then : |
|
7684 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
7685 |
case $enableval in |
|
7686 |
yes) enable_shared=yes ;; |
|
7687 |
no) enable_shared=no ;; |
|
7688 |
*) |
|
7689 |
enable_shared=no |
|
7690 |
# Look at the argument we got. We use all the common list separators. |
|
7691 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7692 |
for pkg in $enableval; do |
|
7693 |
IFS="$lt_save_ifs" |
|
7694 |
if test "X$pkg" = "X$p"; then |
|
7695 |
enable_shared=yes |
|
7696 |
fi |
|
7697 |
done |
|
7698 |
IFS="$lt_save_ifs" |
|
7699 |
;; |
|
7700 |
esac |
|
7701 |
else |
|
7702 |
enable_shared=yes |
|
7703 |
fi |
|
7704 |
||
7705 |
||
7706 |
||
7707 |
||
7708 |
||
7709 |
||
7710 |
||
7711 |
||
7712 |
||
7713 |
# Check whether --enable-static was given. |
|
7714 |
if test "${enable_static+set}" = set; then : |
|
7715 |
enableval=$enable_static; p=${PACKAGE-default} |
|
7716 |
case $enableval in |
|
7717 |
yes) enable_static=yes ;; |
|
7718 |
no) enable_static=no ;; |
|
7719 |
*) |
|
7720 |
enable_static=no |
|
7721 |
# Look at the argument we got. We use all the common list separators. |
|
7722 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7723 |
for pkg in $enableval; do |
|
7724 |
IFS="$lt_save_ifs" |
|
7725 |
if test "X$pkg" = "X$p"; then |
|
7726 |
enable_static=yes |
|
7727 |
fi |
|
7728 |
done |
|
7729 |
IFS="$lt_save_ifs" |
|
7730 |
;; |
|
7731 |
esac |
|
7732 |
else |
|
7733 |
enable_static=yes |
|
7734 |
fi |
|
7735 |
||
7736 |
||
7737 |
||
7738 |
||
7739 |
||
7740 |
||
7741 |
||
7742 |
||
7743 |
||
7744 |
||
7745 |
# Check whether --with-pic was given. |
|
7746 |
if test "${with_pic+set}" = set; then : |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7747 |
withval=$with_pic; lt_p=${PACKAGE-default} |
7748 |
case $withval in |
|
7749 |
yes|no) pic_mode=$withval ;; |
|
7750 |
*) |
|
7751 |
pic_mode=default |
|
7752 |
# Look at the argument we got. We use all the common list separators. |
|
7753 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7754 |
for lt_pkg in $withval; do |
|
7755 |
IFS="$lt_save_ifs" |
|
7756 |
if test "X$lt_pkg" = "X$lt_p"; then |
|
7757 |
pic_mode=yes |
|
7758 |
fi |
|
7759 |
done |
|
7760 |
IFS="$lt_save_ifs" |
|
7761 |
;; |
|
7762 |
esac |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7763 |
else |
7764 |
pic_mode=default |
|
7765 |
fi |
|
7766 |
||
7767 |
||
7768 |
test -z "$pic_mode" && pic_mode=default |
|
7769 |
||
7770 |
||
7771 |
||
7772 |
||
7773 |
||
7774 |
||
7775 |
||
7776 |
# Check whether --enable-fast-install was given. |
|
7777 |
if test "${enable_fast_install+set}" = set; then : |
|
7778 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
7779 |
case $enableval in |
|
7780 |
yes) enable_fast_install=yes ;; |
|
7781 |
no) enable_fast_install=no ;; |
|
7782 |
*) |
|
7783 |
enable_fast_install=no |
|
7784 |
# Look at the argument we got. We use all the common list separators. |
|
7785 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7786 |
for pkg in $enableval; do |
|
7787 |
IFS="$lt_save_ifs" |
|
7788 |
if test "X$pkg" = "X$p"; then |
|
7789 |
enable_fast_install=yes |
|
7790 |
fi |
|
7791 |
done |
|
7792 |
IFS="$lt_save_ifs" |
|
7793 |
;; |
|
7794 |
esac |
|
7795 |
else |
|
7796 |
enable_fast_install=yes |
|
7797 |
fi |
|
7798 |
||
7799 |
||
7800 |
||
7801 |
||
7802 |
||
7803 |
||
7804 |
||
7805 |
||
7806 |
||
7807 |
||
7808 |
||
7809 |
# This can be used to rebuild libtool when needed |
|
7810 |
LIBTOOL_DEPS="$ltmain" |
|
7811 |
||
7812 |
# Always use our own libtool. |
|
7813 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
7814 |
||
7815 |
||
7816 |
||
7817 |
||
7818 |
||
7819 |
||
7820 |
||
7821 |
||
7822 |
||
7823 |
||
7824 |
||
7825 |
||
7826 |
||
7827 |
||
7828 |
||
7829 |
||
7830 |
||
7831 |
||
7832 |
||
7833 |
||
7834 |
||
7835 |
||
7836 |
||
7837 |
||
7838 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7839 |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
7840 |
|
7841 |
||
7842 |
||
7843 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7844 |
test -z "$LN_S" && LN_S="ln -s" |
7845 |
||
7846 |
||
7847 |
||
7848 |
||
7849 |
||
7850 |
||
7851 |
||
7852 |
||
7853 |
||
7854 |
||
7855 |
||
7856 |
||
7857 |
||
7858 |
||
7859 |
if test -n "${ZSH_VERSION+set}" ; then |
|
7860 |
setopt NO_GLOB_SUBST |
|
7861 |
fi |
|
7862 |
||
7863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
|
7864 |
$as_echo_n "checking for objdir... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7865 |
if ${lt_cv_objdir+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7866 |
$as_echo_n "(cached) " >&6 |
7867 |
else |
|
7868 |
rm -f .libs 2>/dev/null |
|
7869 |
mkdir .libs 2>/dev/null |
|
7870 |
if test -d .libs; then |
|
7871 |
lt_cv_objdir=.libs |
|
7872 |
else |
|
7873 |
# MS-DOS does not allow filenames that begin with a dot. |
|
7874 |
lt_cv_objdir=_libs |
|
7875 |
fi |
|
7876 |
rmdir .libs 2>/dev/null |
|
7877 |
fi |
|
7878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
|
7879 |
$as_echo "$lt_cv_objdir" >&6; } |
|
7880 |
objdir=$lt_cv_objdir |
|
7881 |
||
7882 |
||
7883 |
||
7884 |
||
7885 |
||
7886 |
cat >>confdefs.h <<_ACEOF |
|
7887 |
#define LT_OBJDIR "$lt_cv_objdir/" |
|
7888 |
_ACEOF |
|
7889 |
||
7890 |
||
7891 |
||
7892 |
||
7893 |
case $host_os in |
|
7894 |
aix3*) |
|
7895 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
7896 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
7897 |
# vanish in a puff of smoke. |
|
7898 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
7899 |
COLLECT_NAMES= |
|
7900 |
export COLLECT_NAMES |
|
7901 |
fi |
|
7902 |
;; |
|
7903 |
esac |
|
7904 |
||
7905 |
# Global variables: |
|
7906 |
ofile=libtool |
|
7907 |
can_build_shared=yes |
|
7908 |
||
7909 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
|
7910 |
# which needs '.lib'). |
|
7911 |
libext=a |
|
7912 |
||
7913 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
7914 |
||
7915 |
old_CC="$CC" |
|
7916 |
old_CFLAGS="$CFLAGS" |
|
7917 |
||
7918 |
# Set sane defaults for various variables |
|
7919 |
test -z "$CC" && CC=cc |
|
7920 |
test -z "$LTCC" && LTCC=$CC |
|
7921 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
7922 |
test -z "$LD" && LD=ld |
|
7923 |
test -z "$ac_objext" && ac_objext=o |
|
7924 |
||
7925 |
for cc_temp in $compiler""; do |
|
7926 |
case $cc_temp in |
|
7927 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
7928 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
7929 |
\-*) ;; |
|
7930 |
*) break;; |
|
7931 |
esac |
|
7932 |
done |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7933 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7934 |
|
7935 |
||
7936 |
# Only perform the check for file, if the check method requires it |
|
7937 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
7938 |
case $deplibs_check_method in |
|
7939 |
file_magic*) |
|
7940 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
7941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
|
7942 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
7943 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
7944 |
$as_echo_n "(cached) " >&6 |
7945 |
else |
|
7946 |
case $MAGIC_CMD in |
|
7947 |
[\\/*] | ?:[\\/]*) |
|
7948 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
7949 |
;; |
|
7950 |
*) |
|
7951 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
7952 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
7953 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
7954 |
for ac_dir in $ac_dummy; do |
|
7955 |
IFS="$lt_save_ifs" |
|
7956 |
test -z "$ac_dir" && ac_dir=. |
|
7957 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
7958 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
7959 |
if test -n "$file_magic_test_file"; then |
|
7960 |
case $deplibs_check_method in |
|
7961 |
"file_magic "*) |
|
7962 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
7963 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7964 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
7965 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
7966 |
: |
|
7967 |
else |
|
7968 |
cat <<_LT_EOF 1>&2 |
|
7969 |
||
7970 |
*** Warning: the command libtool uses to detect shared libraries, |
|
7971 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
7972 |
*** The result is that libtool may fail to recognize shared libraries |
|
7973 |
*** as such. This will affect the creation of libtool libraries that |
|
7974 |
*** depend on shared libraries, but programs linked with such libtool |
|
7975 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
7976 |
*** may want to report the problem to your system manager and/or to |
|
7977 |
*** bug-libtool@gnu.org |
|
7978 |
||
7979 |
_LT_EOF |
|
7980 |
fi ;; |
|
7981 |
esac |
|
7982 |
fi |
|
7983 |
break |
|
7984 |
fi |
|
7985 |
done |
|
7986 |
IFS="$lt_save_ifs" |
|
7987 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
7988 |
;; |
|
7989 |
esac |
|
7990 |
fi |
|
7991 |
||
7992 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7993 |
if test -n "$MAGIC_CMD"; then |
|
7994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
7995 |
$as_echo "$MAGIC_CMD" >&6; } |
|
7996 |
else |
|
7997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7998 |
$as_echo "no" >&6; } |
|
7999 |
fi |
|
8000 |
||
8001 |
||
8002 |
||
8003 |
||
8004 |
||
8005 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
8006 |
if test -n "$ac_tool_prefix"; then |
|
8007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
|
8008 |
$as_echo_n "checking for file... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8009 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8010 |
$as_echo_n "(cached) " >&6 |
8011 |
else |
|
8012 |
case $MAGIC_CMD in |
|
8013 |
[\\/*] | ?:[\\/]*) |
|
8014 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
8015 |
;; |
|
8016 |
*) |
|
8017 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
8018 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
8019 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8020 |
for ac_dir in $ac_dummy; do |
|
8021 |
IFS="$lt_save_ifs" |
|
8022 |
test -z "$ac_dir" && ac_dir=. |
|
8023 |
if test -f $ac_dir/file; then |
|
8024 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
8025 |
if test -n "$file_magic_test_file"; then |
|
8026 |
case $deplibs_check_method in |
|
8027 |
"file_magic "*) |
|
8028 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8029 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8030 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8031 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8032 |
: |
|
8033 |
else |
|
8034 |
cat <<_LT_EOF 1>&2 |
|
8035 |
||
8036 |
*** Warning: the command libtool uses to detect shared libraries, |
|
8037 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
8038 |
*** The result is that libtool may fail to recognize shared libraries |
|
8039 |
*** as such. This will affect the creation of libtool libraries that |
|
8040 |
*** depend on shared libraries, but programs linked with such libtool |
|
8041 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
8042 |
*** may want to report the problem to your system manager and/or to |
|
8043 |
*** bug-libtool@gnu.org |
|
8044 |
||
8045 |
_LT_EOF |
|
8046 |
fi ;; |
|
8047 |
esac |
|
8048 |
fi |
|
8049 |
break |
|
8050 |
fi |
|
8051 |
done |
|
8052 |
IFS="$lt_save_ifs" |
|
8053 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
8054 |
;; |
|
8055 |
esac |
|
8056 |
fi |
|
8057 |
||
8058 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8059 |
if test -n "$MAGIC_CMD"; then |
|
8060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
8061 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8062 |
else |
|
8063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8064 |
$as_echo "no" >&6; } |
|
8065 |
fi |
|
8066 |
||
8067 |
||
8068 |
else |
|
8069 |
MAGIC_CMD=: |
|
8070 |
fi |
|
8071 |
fi |
|
8072 |
||
8073 |
fi |
|
8074 |
;; |
|
8075 |
esac |
|
8076 |
||
8077 |
# Use C for the default configuration in the libtool script |
|
8078 |
||
8079 |
lt_save_CC="$CC" |
|
8080 |
ac_ext=c |
|
8081 |
ac_cpp='$CPP $CPPFLAGS' |
|
8082 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8083 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8084 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8085 |
||
8086 |
||
8087 |
# Source file extension for C test sources. |
|
8088 |
ac_ext=c |
|
8089 |
||
8090 |
# Object file extension for compiled C test sources. |
|
8091 |
objext=o |
|
8092 |
objext=$objext |
|
8093 |
||
8094 |
# Code to be used in simple compile tests |
|
8095 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
8096 |
||
8097 |
# Code to be used in simple link tests |
|
8098 |
lt_simple_link_test_code='int main(){return(0);}' |
|
8099 |
||
8100 |
||
8101 |
||
8102 |
||
8103 |
||
8104 |
||
8105 |
||
8106 |
# If no C compiler was specified, use CC. |
|
8107 |
LTCC=${LTCC-"$CC"} |
|
8108 |
||
8109 |
# If no C compiler flags were specified, use CFLAGS. |
|
8110 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
8111 |
||
8112 |
# Allow CC to be a program name with arguments. |
|
8113 |
compiler=$CC |
|
8114 |
||
8115 |
# Save the default compiler, since it gets overwritten when the other |
|
8116 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
8117 |
compiler_DEFAULT=$CC |
|
8118 |
||
8119 |
# save warnings/boilerplate of simple test code |
|
8120 |
ac_outfile=conftest.$ac_objext |
|
8121 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
8122 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8123 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
8124 |
$RM conftest* |
|
8125 |
||
8126 |
ac_outfile=conftest.$ac_objext |
|
8127 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
8128 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8129 |
_lt_linker_boilerplate=`cat conftest.err` |
|
8130 |
$RM -r conftest* |
|
8131 |
||
8132 |
||
8133 |
## CAVEAT EMPTOR: |
|
8134 |
## There is no encapsulation within the following macros, do not change |
|
8135 |
## the running order or otherwise move them around unless you know exactly |
|
8136 |
## what you are doing... |
|
8137 |
if test -n "$compiler"; then |
|
8138 |
||
8139 |
lt_prog_compiler_no_builtin_flag= |
|
8140 |
||
8141 |
if test "$GCC" = yes; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8142 |
case $cc_basename in |
8143 |
nvcc*) |
|
8144 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
|
8145 |
*) |
|
8146 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
|
8147 |
esac |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8148 |
|
8149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
8150 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8151 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8152 |
$as_echo_n "(cached) " >&6 |
8153 |
else |
|
8154 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
8155 |
ac_outfile=conftest.$ac_objext |
|
8156 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8157 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
8158 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8159 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8160 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8161 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8162 |
# The option is referenced via a variable to avoid confusing sed. |
|
8163 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8164 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8165 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8166 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8167 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8168 |
(eval "$lt_compile" 2>conftest.err) |
8169 |
ac_status=$? |
|
8170 |
cat conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8171 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8172 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8173 |
# The compiler can only warn and ignore the option if not recognized |
|
8174 |
# So say no if there are warnings other than the usual output. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8175 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8176 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8177 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8178 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
8179 |
fi |
|
8180 |
fi |
|
8181 |
$RM conftest* |
|
8182 |
||
8183 |
fi |
|
8184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
8185 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
8186 |
||
8187 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
8188 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
8189 |
else |
|
8190 |
: |
|
8191 |
fi |
|
8192 |
||
8193 |
fi |
|
8194 |
||
8195 |
||
8196 |
||
8197 |
||
8198 |
||
8199 |
||
8200 |
lt_prog_compiler_wl= |
|
8201 |
lt_prog_compiler_pic= |
|
8202 |
lt_prog_compiler_static= |
|
8203 |
||
8204 |
||
8205 |
if test "$GCC" = yes; then |
|
8206 |
lt_prog_compiler_wl='-Wl,' |
|
8207 |
lt_prog_compiler_static='-static' |
|
8208 |
||
8209 |
case $host_os in |
|
8210 |
aix*) |
|
8211 |
# All AIX code is PIC. |
|
8212 |
if test "$host_cpu" = ia64; then |
|
8213 |
# AIX 5 now supports IA64 processor |
|
8214 |
lt_prog_compiler_static='-Bstatic' |
|
8215 |
fi |
|
8216 |
;; |
|
8217 |
||
8218 |
amigaos*) |
|
8219 |
case $host_cpu in |
|
8220 |
powerpc) |
|
8221 |
# see comment about AmigaOS4 .so support |
|
8222 |
lt_prog_compiler_pic='-fPIC' |
|
8223 |
;; |
|
8224 |
m68k) |
|
8225 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
8226 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
8227 |
# like `-m68040'. |
|
8228 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
8229 |
;; |
|
8230 |
esac |
|
8231 |
;; |
|
8232 |
||
8233 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
8234 |
# PIC is the default for these OSes. |
|
8235 |
;; |
|
8236 |
||
8237 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8238 |
# This hack is so that the source file can tell whether it is being |
|
8239 |
# built for inclusion in a dll (and should export symbols for example). |
|
8240 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
8241 |
# (--disable-auto-import) libraries |
|
8242 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8243 |
;; |
|
8244 |
||
8245 |
darwin* | rhapsody*) |
|
8246 |
# PIC is the default on this platform |
|
8247 |
# Common symbols not allowed in MH_DYLIB files |
|
8248 |
lt_prog_compiler_pic='-fno-common' |
|
8249 |
;; |
|
8250 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8251 |
haiku*) |
8252 |
# PIC is the default for Haiku. |
|
8253 |
# The "-static" flag exists, but is broken. |
|
8254 |
lt_prog_compiler_static= |
|
8255 |
;; |
|
8256 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8257 |
hpux*) |
8258 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
8259 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
8260 |
# sets the default TLS model and affects inlining. |
|
8261 |
case $host_cpu in |
|
8262 |
hppa*64*) |
|
8263 |
# +Z the default |
|
8264 |
;; |
|
8265 |
*) |
|
8266 |
lt_prog_compiler_pic='-fPIC' |
|
8267 |
;; |
|
8268 |
esac |
|
8269 |
;; |
|
8270 |
||
8271 |
interix[3-9]*) |
|
8272 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
8273 |
# Instead, we relocate shared libraries at runtime. |
|
8274 |
;; |
|
8275 |
||
8276 |
msdosdjgpp*) |
|
8277 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
8278 |
# on systems that don't support them. |
|
8279 |
lt_prog_compiler_can_build_shared=no |
|
8280 |
enable_shared=no |
|
8281 |
;; |
|
8282 |
||
8283 |
*nto* | *qnx*) |
|
8284 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8285 |
# it will coredump. |
|
8286 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8287 |
;; |
|
8288 |
||
8289 |
sysv4*MP*) |
|
8290 |
if test -d /usr/nec; then |
|
8291 |
lt_prog_compiler_pic=-Kconform_pic |
|
8292 |
fi |
|
8293 |
;; |
|
8294 |
||
8295 |
*) |
|
8296 |
lt_prog_compiler_pic='-fPIC' |
|
8297 |
;; |
|
8298 |
esac |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8299 |
|
8300 |
case $cc_basename in |
|
8301 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
8302 |
lt_prog_compiler_wl='-Xlinker ' |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
8303 |
if test -n "$lt_prog_compiler_pic"; then |
8304 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
|
8305 |
fi |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8306 |
;; |
8307 |
esac |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8308 |
else |
8309 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
8310 |
case $host_os in |
|
8311 |
aix*) |
|
8312 |
lt_prog_compiler_wl='-Wl,' |
|
8313 |
if test "$host_cpu" = ia64; then |
|
8314 |
# AIX 5 now supports IA64 processor |
|
8315 |
lt_prog_compiler_static='-Bstatic' |
|
8316 |
else |
|
8317 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
8318 |
fi |
|
8319 |
;; |
|
8320 |
||
8321 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8322 |
# This hack is so that the source file can tell whether it is being |
|
8323 |
# built for inclusion in a dll (and should export symbols for example). |
|
8324 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8325 |
;; |
|
8326 |
||
8327 |
hpux9* | hpux10* | hpux11*) |
|
8328 |
lt_prog_compiler_wl='-Wl,' |
|
8329 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
8330 |
# not for PA HP-UX. |
|
8331 |
case $host_cpu in |
|
8332 |
hppa*64*|ia64*) |
|
8333 |
# +Z the default |
|
8334 |
;; |
|
8335 |
*) |
|
8336 |
lt_prog_compiler_pic='+Z' |
|
8337 |
;; |
|
8338 |
esac |
|
8339 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
8340 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
8341 |
;; |
|
8342 |
||
8343 |
irix5* | irix6* | nonstopux*) |
|
8344 |
lt_prog_compiler_wl='-Wl,' |
|
8345 |
# PIC (with -KPIC) is the default. |
|
8346 |
lt_prog_compiler_static='-non_shared' |
|
8347 |
;; |
|
8348 |
||
8349 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
8350 |
case $cc_basename in |
|
8351 |
# old Intel for x86_64 which still supported -KPIC. |
|
8352 |
ecc*) |
|
8353 |
lt_prog_compiler_wl='-Wl,' |
|
8354 |
lt_prog_compiler_pic='-KPIC' |
|
8355 |
lt_prog_compiler_static='-static' |
|
8356 |
;; |
|
8357 |
# icc used to be incompatible with GCC. |
|
8358 |
# ICC 10 doesn't accept -KPIC any more. |
|
8359 |
icc* | ifort*) |
|
8360 |
lt_prog_compiler_wl='-Wl,' |
|
8361 |
lt_prog_compiler_pic='-fPIC' |
|
8362 |
lt_prog_compiler_static='-static' |
|
8363 |
;; |
|
8364 |
# Lahey Fortran 8.1. |
|
8365 |
lf95*) |
|
8366 |
lt_prog_compiler_wl='-Wl,' |
|
8367 |
lt_prog_compiler_pic='--shared' |
|
8368 |
lt_prog_compiler_static='--static' |
|
8369 |
;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8370 |
nagfor*) |
8371 |
# NAG Fortran compiler |
|
8372 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
8373 |
lt_prog_compiler_pic='-PIC' |
|
8374 |
lt_prog_compiler_static='-Bstatic' |
|
8375 |
;; |
|
8376 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8377 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
8378 |
# which looks to be a dead project) |
|
8379 |
lt_prog_compiler_wl='-Wl,' |
|
8380 |
lt_prog_compiler_pic='-fpic' |
|
8381 |
lt_prog_compiler_static='-Bstatic' |
|
8382 |
;; |
|
8383 |
ccc*) |
|
8384 |
lt_prog_compiler_wl='-Wl,' |
|
8385 |
# All Alpha code is PIC. |
|
8386 |
lt_prog_compiler_static='-non_shared' |
|
8387 |
;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8388 |
xl* | bgxl* | bgf* | mpixl*) |
8389 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8390 |
lt_prog_compiler_wl='-Wl,' |
8391 |
lt_prog_compiler_pic='-qpic' |
|
8392 |
lt_prog_compiler_static='-qstaticlink' |
|
8393 |
;; |
|
8394 |
*) |
|
8395 |
case `$CC -V 2>&1 | sed 5q` in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
8396 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8397 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8398 |
lt_prog_compiler_pic='-KPIC' |
|
8399 |
lt_prog_compiler_static='-Bstatic' |
|
8400 |
lt_prog_compiler_wl='' |
|
8401 |
;; |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
8402 |
*Sun\ F* | *Sun*Fortran*) |
8403 |
lt_prog_compiler_pic='-KPIC' |
|
8404 |
lt_prog_compiler_static='-Bstatic' |
|
8405 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8406 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8407 |
*Sun\ C*) |
8408 |
# Sun C 5.9 |
|
8409 |
lt_prog_compiler_pic='-KPIC' |
|
8410 |
lt_prog_compiler_static='-Bstatic' |
|
8411 |
lt_prog_compiler_wl='-Wl,' |
|
8412 |
;; |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
8413 |
*Intel*\ [CF]*Compiler*) |
8414 |
lt_prog_compiler_wl='-Wl,' |
|
8415 |
lt_prog_compiler_pic='-fPIC' |
|
8416 |
lt_prog_compiler_static='-static' |
|
8417 |
;; |
|
8418 |
*Portland\ Group*) |
|
8419 |
lt_prog_compiler_wl='-Wl,' |
|
8420 |
lt_prog_compiler_pic='-fpic' |
|
8421 |
lt_prog_compiler_static='-Bstatic' |
|
8422 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8423 |
esac |
8424 |
;; |
|
8425 |
esac |
|
8426 |
;; |
|
8427 |
||
8428 |
newsos6) |
|
8429 |
lt_prog_compiler_pic='-KPIC' |
|
8430 |
lt_prog_compiler_static='-Bstatic' |
|
8431 |
;; |
|
8432 |
||
8433 |
*nto* | *qnx*) |
|
8434 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8435 |
# it will coredump. |
|
8436 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8437 |
;; |
|
8438 |
||
8439 |
osf3* | osf4* | osf5*) |
|
8440 |
lt_prog_compiler_wl='-Wl,' |
|
8441 |
# All OSF/1 code is PIC. |
|
8442 |
lt_prog_compiler_static='-non_shared' |
|
8443 |
;; |
|
8444 |
||
8445 |
rdos*) |
|
8446 |
lt_prog_compiler_static='-non_shared' |
|
8447 |
;; |
|
8448 |
||
8449 |
solaris*) |
|
8450 |
lt_prog_compiler_pic='-KPIC' |
|
8451 |
lt_prog_compiler_static='-Bstatic' |
|
8452 |
case $cc_basename in |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8453 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8454 |
lt_prog_compiler_wl='-Qoption ld ';; |
8455 |
*) |
|
8456 |
lt_prog_compiler_wl='-Wl,';; |
|
8457 |
esac |
|
8458 |
;; |
|
8459 |
||
8460 |
sunos4*) |
|
8461 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8462 |
lt_prog_compiler_pic='-PIC' |
|
8463 |
lt_prog_compiler_static='-Bstatic' |
|
8464 |
;; |
|
8465 |
||
8466 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
8467 |
lt_prog_compiler_wl='-Wl,' |
|
8468 |
lt_prog_compiler_pic='-KPIC' |
|
8469 |
lt_prog_compiler_static='-Bstatic' |
|
8470 |
;; |
|
8471 |
||
8472 |
sysv4*MP*) |
|
8473 |
if test -d /usr/nec ;then |
|
8474 |
lt_prog_compiler_pic='-Kconform_pic' |
|
8475 |
lt_prog_compiler_static='-Bstatic' |
|
8476 |
fi |
|
8477 |
;; |
|
8478 |
||
8479 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
8480 |
lt_prog_compiler_wl='-Wl,' |
|
8481 |
lt_prog_compiler_pic='-KPIC' |
|
8482 |
lt_prog_compiler_static='-Bstatic' |
|
8483 |
;; |
|
8484 |
||
8485 |
unicos*) |
|
8486 |
lt_prog_compiler_wl='-Wl,' |
|
8487 |
lt_prog_compiler_can_build_shared=no |
|
8488 |
;; |
|
8489 |
||
8490 |
uts4*) |
|
8491 |
lt_prog_compiler_pic='-pic' |
|
8492 |
lt_prog_compiler_static='-Bstatic' |
|
8493 |
;; |
|
8494 |
||
8495 |
*) |
|
8496 |
lt_prog_compiler_can_build_shared=no |
|
8497 |
;; |
|
8498 |
esac |
|
8499 |
fi |
|
8500 |
||
8501 |
case $host_os in |
|
8502 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
8503 |
*djgpp*) |
|
8504 |
lt_prog_compiler_pic= |
|
8505 |
;; |
|
8506 |
*) |
|
8507 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
8508 |
;; |
|
8509 |
esac |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8510 |
|
8511 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
8512 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
8513 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
8514 |
$as_echo_n "(cached) " >&6 |
|
8515 |
else |
|
8516 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
8517 |
fi |
|
8518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
8519 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
8520 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8521 |
|
8522 |
# |
|
8523 |
# Check to make sure the PIC flag actually works. |
|
8524 |
# |
|
8525 |
if test -n "$lt_prog_compiler_pic"; then |
|
8526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
8527 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8528 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8529 |
$as_echo_n "(cached) " >&6 |
8530 |
else |
|
8531 |
lt_cv_prog_compiler_pic_works=no |
|
8532 |
ac_outfile=conftest.$ac_objext |
|
8533 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8534 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
|
8535 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8536 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8537 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8538 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8539 |
# The option is referenced via a variable to avoid confusing sed. |
|
8540 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8541 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8542 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8543 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8544 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8545 |
(eval "$lt_compile" 2>conftest.err) |
8546 |
ac_status=$? |
|
8547 |
cat conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8548 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8549 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8550 |
# The compiler can only warn and ignore the option if not recognized |
|
8551 |
# So say no if there are warnings other than the usual output. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8552 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8553 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8554 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8555 |
lt_cv_prog_compiler_pic_works=yes |
|
8556 |
fi |
|
8557 |
fi |
|
8558 |
$RM conftest* |
|
8559 |
||
8560 |
fi |
|
8561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
|
8562 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
8563 |
||
8564 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
|
8565 |
case $lt_prog_compiler_pic in |
|
8566 |
"" | " "*) ;; |
|
8567 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
8568 |
esac |
|
8569 |
else |
|
8570 |
lt_prog_compiler_pic= |
|
8571 |
lt_prog_compiler_can_build_shared=no |
|
8572 |
fi |
|
8573 |
||
8574 |
fi |
|
8575 |
||
8576 |
||
8577 |
||
8578 |
||
8579 |
||
8580 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8581 |
|
8582 |
||
8583 |
||
8584 |
||
8585 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8586 |
# |
8587 |
# Check to make sure the static flag actually works. |
|
8588 |
# |
|
8589 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
8590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
8591 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8592 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8593 |
$as_echo_n "(cached) " >&6 |
8594 |
else |
|
8595 |
lt_cv_prog_compiler_static_works=no |
|
8596 |
save_LDFLAGS="$LDFLAGS" |
|
8597 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
8598 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
8599 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
8600 |
# The linker can only warn and ignore the option if not recognized |
|
8601 |
# So say no if there are warnings |
|
8602 |
if test -s conftest.err; then |
|
8603 |
# Append any errors to the config.log. |
|
8604 |
cat conftest.err 1>&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8605 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8606 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8607 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
8608 |
lt_cv_prog_compiler_static_works=yes |
|
8609 |
fi |
|
8610 |
else |
|
8611 |
lt_cv_prog_compiler_static_works=yes |
|
8612 |
fi |
|
8613 |
fi |
|
8614 |
$RM -r conftest* |
|
8615 |
LDFLAGS="$save_LDFLAGS" |
|
8616 |
||
8617 |
fi |
|
8618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
|
8619 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
8620 |
||
8621 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
8622 |
: |
|
8623 |
else |
|
8624 |
lt_prog_compiler_static= |
|
8625 |
fi |
|
8626 |
||
8627 |
||
8628 |
||
8629 |
||
8630 |
||
8631 |
||
8632 |
||
8633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8634 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8635 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8636 |
$as_echo_n "(cached) " >&6 |
8637 |
else |
|
8638 |
lt_cv_prog_compiler_c_o=no |
|
8639 |
$RM -r conftest 2>/dev/null |
|
8640 |
mkdir conftest |
|
8641 |
cd conftest |
|
8642 |
mkdir out |
|
8643 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8644 |
||
8645 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8646 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8647 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8648 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8649 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8650 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8651 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8652 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8653 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8654 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8655 |
(eval "$lt_compile" 2>out/conftest.err) |
8656 |
ac_status=$? |
|
8657 |
cat out/conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8658 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8659 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8660 |
then |
|
8661 |
# The compiler can only warn and ignore the option if not recognized |
|
8662 |
# So say no if there are warnings |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8663 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8664 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8665 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8666 |
lt_cv_prog_compiler_c_o=yes |
|
8667 |
fi |
|
8668 |
fi |
|
8669 |
chmod u+w . 2>&5 |
|
8670 |
$RM conftest* |
|
8671 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8672 |
# template instantiation |
|
8673 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8674 |
$RM out/* && rmdir out |
|
8675 |
cd .. |
|
8676 |
$RM -r conftest |
|
8677 |
$RM conftest* |
|
8678 |
||
8679 |
fi |
|
8680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8681 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8682 |
||
8683 |
||
8684 |
||
8685 |
||
8686 |
||
8687 |
||
8688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8689 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8690 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8691 |
$as_echo_n "(cached) " >&6 |
8692 |
else |
|
8693 |
lt_cv_prog_compiler_c_o=no |
|
8694 |
$RM -r conftest 2>/dev/null |
|
8695 |
mkdir conftest |
|
8696 |
cd conftest |
|
8697 |
mkdir out |
|
8698 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8699 |
||
8700 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8701 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8702 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8703 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8704 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8705 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8706 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8707 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8708 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8709 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8710 |
(eval "$lt_compile" 2>out/conftest.err) |
8711 |
ac_status=$? |
|
8712 |
cat out/conftest.err >&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8714 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8715 |
then |
|
8716 |
# The compiler can only warn and ignore the option if not recognized |
|
8717 |
# So say no if there are warnings |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8718 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8719 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8720 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8721 |
lt_cv_prog_compiler_c_o=yes |
|
8722 |
fi |
|
8723 |
fi |
|
8724 |
chmod u+w . 2>&5 |
|
8725 |
$RM conftest* |
|
8726 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8727 |
# template instantiation |
|
8728 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8729 |
$RM out/* && rmdir out |
|
8730 |
cd .. |
|
8731 |
$RM -r conftest |
|
8732 |
$RM conftest* |
|
8733 |
||
8734 |
fi |
|
8735 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8736 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8737 |
||
8738 |
||
8739 |
||
8740 |
||
8741 |
hard_links="nottested" |
|
8742 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
8743 |
# do not overwrite the value of need_locks provided by the user |
|
8744 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
|
8745 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
8746 |
hard_links=yes |
|
8747 |
$RM conftest* |
|
8748 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8749 |
touch conftest.a |
|
8750 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
8751 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8752 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
|
8753 |
$as_echo "$hard_links" >&6; } |
|
8754 |
if test "$hard_links" = no; then |
|
8755 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
8756 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
8757 |
need_locks=warn |
|
8758 |
fi |
|
8759 |
else |
|
8760 |
need_locks=no |
|
8761 |
fi |
|
8762 |
||
8763 |
||
8764 |
||
8765 |
||
8766 |
||
8767 |
||
8768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
8769 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
8770 |
||
8771 |
runpath_var= |
|
8772 |
allow_undefined_flag= |
|
8773 |
always_export_symbols=no |
|
8774 |
archive_cmds= |
|
8775 |
archive_expsym_cmds= |
|
8776 |
compiler_needs_object=no |
|
8777 |
enable_shared_with_static_runtimes=no |
|
8778 |
export_dynamic_flag_spec= |
|
8779 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
8780 |
hardcode_automatic=no |
|
8781 |
hardcode_direct=no |
|
8782 |
hardcode_direct_absolute=no |
|
8783 |
hardcode_libdir_flag_spec= |
|
8784 |
hardcode_libdir_separator= |
|
8785 |
hardcode_minus_L=no |
|
8786 |
hardcode_shlibpath_var=unsupported |
|
8787 |
inherit_rpath=no |
|
8788 |
link_all_deplibs=unknown |
|
8789 |
module_cmds= |
|
8790 |
module_expsym_cmds= |
|
8791 |
old_archive_from_new_cmds= |
|
8792 |
old_archive_from_expsyms_cmds= |
|
8793 |
thread_safe_flag_spec= |
|
8794 |
whole_archive_flag_spec= |
|
8795 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
8796 |
# included in the symbol list |
|
8797 |
include_expsyms= |
|
8798 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
8799 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
8800 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
8801 |
# as well as any symbol that contains `d'. |
|
8802 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
8803 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
8804 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
8805 |
# the symbol is explicitly referenced. Since portable code cannot |
|
8806 |
# rely on this symbol name, it's probably fine to never include it in |
|
8807 |
# preloaded symbol tables. |
|
8808 |
# Exclude shared library initialization/finalization symbols. |
|
8809 |
extract_expsyms_cmds= |
|
8810 |
||
8811 |
case $host_os in |
|
8812 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8813 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
8814 |
# When not using gcc, we currently assume that we are using |
|
8815 |
# Microsoft Visual C++. |
|
8816 |
if test "$GCC" != yes; then |
|
8817 |
with_gnu_ld=no |
|
8818 |
fi |
|
8819 |
;; |
|
8820 |
interix*) |
|
8821 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
8822 |
with_gnu_ld=yes |
|
8823 |
;; |
|
8824 |
openbsd*) |
|
8825 |
with_gnu_ld=no |
|
8826 |
;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8827 |
linux* | k*bsd*-gnu | gnu*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8828 |
link_all_deplibs=no |
8829 |
;; |
|
8830 |
esac |
|
8831 |
||
8832 |
ld_shlibs=yes |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8833 |
|
8834 |
# On some targets, GNU ld is compatible enough with the native linker |
|
8835 |
# that we're better off using the native interface for both. |
|
8836 |
lt_use_gnu_ld_interface=no |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8837 |
if test "$with_gnu_ld" = yes; then |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8838 |
case $host_os in |
8839 |
aix*) |
|
8840 |
# The AIX port of GNU ld has always aspired to compatibility |
|
8841 |
# with the native linker. However, as the warning in the GNU ld |
|
8842 |
# block says, versions before 2.19.5* couldn't really create working |
|
8843 |
# shared libraries, regardless of the interface used. |
|
8844 |
case `$LD -v 2>&1` in |
|
8845 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
8846 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
8847 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
8848 |
*) |
|
8849 |
lt_use_gnu_ld_interface=yes |
|
8850 |
;; |
|
8851 |
esac |
|
8852 |
;; |
|
8853 |
*) |
|
8854 |
lt_use_gnu_ld_interface=yes |
|
8855 |
;; |
|
8856 |
esac |
|
8857 |
fi |
|
8858 |
||
8859 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8860 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
8861 |
wlarc='${wl}' |
|
8862 |
||
8863 |
# Set some defaults for GNU ld with shared library support. These |
|
8864 |
# are reset later if shared libraries are not supported. Putting them |
|
8865 |
# here allows them to be overridden if necessary. |
|
8866 |
runpath_var=LD_RUN_PATH |
|
8867 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8868 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
8869 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
8870 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
8871 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
8872 |
else |
|
8873 |
whole_archive_flag_spec= |
|
8874 |
fi |
|
8875 |
supports_anon_versioning=no |
|
8876 |
case `$LD -v 2>&1` in |
|
8877 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
8878 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
8879 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8880 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8881 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8882 |
*) supports_anon_versioning=yes ;; |
|
8883 |
esac |
|
8884 |
||
8885 |
# See if GNU ld supports shared libraries. |
|
8886 |
case $host_os in |
|
8887 |
aix[3-9]*) |
|
8888 |
# On AIX/PPC, the GNU linker is very broken |
|
8889 |
if test "$host_cpu" != ia64; then |
|
8890 |
ld_shlibs=no |
|
8891 |
cat <<_LT_EOF 1>&2 |
|
8892 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8893 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8894 |
*** to be unable to reliably create shared libraries on AIX. |
8895 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8896 |
*** really care for shared libraries, you may want to install binutils |
8897 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
8898 |
*** You will then need to restart the configuration process. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8899 |
|
8900 |
_LT_EOF |
|
8901 |
fi |
|
8902 |
;; |
|
8903 |
||
8904 |
amigaos*) |
|
8905 |
case $host_cpu in |
|
8906 |
powerpc) |
|
8907 |
# see comment about AmigaOS4 .so support |
|
8908 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8909 |
archive_expsym_cmds='' |
|
8910 |
;; |
|
8911 |
m68k) |
|
8912 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
8913 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8914 |
hardcode_minus_L=yes |
|
8915 |
;; |
|
8916 |
esac |
|
8917 |
;; |
|
8918 |
||
8919 |
beos*) |
|
8920 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
8921 |
allow_undefined_flag=unsupported |
|
8922 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
8923 |
# support --undefined. This deserves some investigation. FIXME |
|
8924 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8925 |
else |
|
8926 |
ld_shlibs=no |
|
8927 |
fi |
|
8928 |
;; |
|
8929 |
||
8930 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8931 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
8932 |
# as there is no search path for DLLs. |
|
8933 |
hardcode_libdir_flag_spec='-L$libdir' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8934 |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8935 |
allow_undefined_flag=unsupported |
8936 |
always_export_symbols=no |
|
8937 |
enable_shared_with_static_runtimes=yes |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8938 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
8939 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8940 |
|
8941 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
8942 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
8943 |
# If the export-symbols file already is a .def file (1st line |
|
8944 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
8945 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
8946 |
cp $export_symbols $output_objdir/$soname.def; |
|
8947 |
else |
|
8948 |
echo EXPORTS > $output_objdir/$soname.def; |
|
8949 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
8950 |
fi~ |
|
8951 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
8952 |
else |
|
8953 |
ld_shlibs=no |
|
8954 |
fi |
|
8955 |
;; |
|
8956 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8957 |
haiku*) |
8958 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8959 |
link_all_deplibs=yes |
|
8960 |
;; |
|
8961 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8962 |
interix[3-9]*) |
8963 |
hardcode_direct=no |
|
8964 |
hardcode_shlibpath_var=no |
|
8965 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
8966 |
export_dynamic_flag_spec='${wl}-E' |
|
8967 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
8968 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
8969 |
# default) and relocated if they conflict, which is a slow very memory |
|
8970 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
8971 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
8972 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
8973 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
8974 |
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
8975 |
;; |
|
8976 |
||
8977 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
8978 |
tmp_diet=no |
|
8979 |
if test "$host_os" = linux-dietlibc; then |
|
8980 |
case $cc_basename in |
|
8981 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
8982 |
esac |
|
8983 |
fi |
|
8984 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
8985 |
&& test "$tmp_diet" = no |
|
8986 |
then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8987 |
tmp_addflag=' $pic_flag' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8988 |
tmp_sharedflag='-shared' |
8989 |
case $cc_basename,$host_cpu in |
|
8990 |
pgcc*) # Portland Group C compiler |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8991 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8992 |
tmp_addflag=' $pic_flag' |
8993 |
;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
8994 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
8995 |
# Portland Group f77 and f90 compilers |
|
8996 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
8997 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
8998 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
8999 |
tmp_addflag=' -i_dynamic' ;; |
|
9000 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
9001 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
9002 |
ifc* | ifort*) # Intel Fortran compiler |
|
9003 |
tmp_addflag=' -nofor_main' ;; |
|
9004 |
lf95*) # Lahey Fortran 8.1 |
|
9005 |
whole_archive_flag_spec= |
|
9006 |
tmp_sharedflag='--shared' ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9007 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9008 |
tmp_sharedflag='-qmkshrobj' |
9009 |
tmp_addflag= ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9010 |
nvcc*) # Cuda Compiler Driver 2.2 |
9011 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
9012 |
compiler_needs_object=yes |
|
9013 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9014 |
esac |
9015 |
case `$CC -V 2>&1 | sed 5q` in |
|
9016 |
*Sun\ C*) # Sun C 5.9 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9017 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9018 |
compiler_needs_object=yes |
9019 |
tmp_sharedflag='-G' ;; |
|
9020 |
*Sun\ F*) # Sun Fortran 8.3 |
|
9021 |
tmp_sharedflag='-G' ;; |
|
9022 |
esac |
|
9023 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9024 |
||
9025 |
if test "x$supports_anon_versioning" = xyes; then |
|
9026 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9027 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9028 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
9029 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
9030 |
fi |
|
9031 |
||
9032 |
case $cc_basename in |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9033 |
xlf* | bgf* | bgxlf* | mpixlf*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9034 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9035 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
9036 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9037 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9038 |
if test "x$supports_anon_versioning" = xyes; then |
9039 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9040 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9041 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9042 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9043 |
fi |
9044 |
;; |
|
9045 |
esac |
|
9046 |
else |
|
9047 |
ld_shlibs=no |
|
9048 |
fi |
|
9049 |
;; |
|
9050 |
||
9051 |
netbsd* | netbsdelf*-gnu) |
|
9052 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9053 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
9054 |
wlarc= |
|
9055 |
else |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9056 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9057 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9058 |
fi |
9059 |
;; |
|
9060 |
||
9061 |
solaris*) |
|
9062 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
9063 |
ld_shlibs=no |
|
9064 |
cat <<_LT_EOF 1>&2 |
|
9065 |
||
9066 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
9067 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
9068 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9069 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
9070 |
*** your PATH or compiler configuration so that the native linker is |
|
9071 |
*** used, and then restart. |
|
9072 |
||
9073 |
_LT_EOF |
|
9074 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9075 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9076 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9077 |
else |
9078 |
ld_shlibs=no |
|
9079 |
fi |
|
9080 |
;; |
|
9081 |
||
9082 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
9083 |
case `$LD -v 2>&1` in |
|
9084 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
9085 |
ld_shlibs=no |
|
9086 |
cat <<_LT_EOF 1>&2 |
|
9087 |
||
9088 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
9089 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
9090 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9091 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
9092 |
*** your PATH or compiler configuration so that the native linker is |
|
9093 |
*** used, and then restart. |
|
9094 |
||
9095 |
_LT_EOF |
|
9096 |
;; |
|
9097 |
*) |
|
9098 |
# For security reasons, it is highly recommended that you always |
|
9099 |
# use absolute paths for naming shared libraries, and exclude the |
|
9100 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
9101 |
# requires that you compile everything twice, which is a pain. |
|
9102 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9103 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9104 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9105 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
9106 |
else |
|
9107 |
ld_shlibs=no |
|
9108 |
fi |
|
9109 |
;; |
|
9110 |
esac |
|
9111 |
;; |
|
9112 |
||
9113 |
sunos4*) |
|
9114 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9115 |
wlarc= |
|
9116 |
hardcode_direct=yes |
|
9117 |
hardcode_shlibpath_var=no |
|
9118 |
;; |
|
9119 |
||
9120 |
*) |
|
9121 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9122 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9123 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9124 |
else |
9125 |
ld_shlibs=no |
|
9126 |
fi |
|
9127 |
;; |
|
9128 |
esac |
|
9129 |
||
9130 |
if test "$ld_shlibs" = no; then |
|
9131 |
runpath_var= |
|
9132 |
hardcode_libdir_flag_spec= |
|
9133 |
export_dynamic_flag_spec= |
|
9134 |
whole_archive_flag_spec= |
|
9135 |
fi |
|
9136 |
else |
|
9137 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
9138 |
case $host_os in |
|
9139 |
aix3*) |
|
9140 |
allow_undefined_flag=unsupported |
|
9141 |
always_export_symbols=yes |
|
9142 |
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
9143 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
9144 |
# are no directories specified by -L. |
|
9145 |
hardcode_minus_L=yes |
|
9146 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
9147 |
# Neither direct hardcoding nor static linking is supported with a |
|
9148 |
# broken collect2. |
|
9149 |
hardcode_direct=unsupported |
|
9150 |
fi |
|
9151 |
;; |
|
9152 |
||
9153 |
aix[4-9]*) |
|
9154 |
if test "$host_cpu" = ia64; then |
|
9155 |
# On IA64, the linker does run time linking by default, so we don't |
|
9156 |
# have to do anything special. |
|
9157 |
aix_use_runtimelinking=no |
|
9158 |
exp_sym_flag='-Bexport' |
|
9159 |
no_entry_flag="" |
|
9160 |
else |
|
9161 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
9162 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9163 |
# Also, AIX nm treats weak defined symbols like other global |
9164 |
# defined symbols, whereas GNU nm marks them as "W". |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9165 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9166 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9167 |
else |
9168 |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
9169 |
fi |
|
9170 |
aix_use_runtimelinking=no |
|
9171 |
||
9172 |
# Test if we are trying to use run time linking or normal |
|
9173 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
9174 |
# need to do runtime linking. |
|
9175 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
9176 |
for ld_flag in $LDFLAGS; do |
|
9177 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
9178 |
aix_use_runtimelinking=yes |
|
9179 |
break |
|
9180 |
fi |
|
9181 |
done |
|
9182 |
;; |
|
9183 |
esac |
|
9184 |
||
9185 |
exp_sym_flag='-bexport' |
|
9186 |
no_entry_flag='-bnoentry' |
|
9187 |
fi |
|
9188 |
||
9189 |
# When large executables or shared objects are built, AIX ld can |
|
9190 |
# have problems creating the table of contents. If linking a library |
|
9191 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
9192 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
9193 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
9194 |
||
9195 |
archive_cmds='' |
|
9196 |
hardcode_direct=yes |
|
9197 |
hardcode_direct_absolute=yes |
|
9198 |
hardcode_libdir_separator=':' |
|
9199 |
link_all_deplibs=yes |
|
9200 |
file_list_spec='${wl}-f,' |
|
9201 |
||
9202 |
if test "$GCC" = yes; then |
|
9203 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
9204 |
# We only want to do this on AIX 4.2 and lower, the check |
|
9205 |
# below for broken collect2 doesn't work under 4.3+ |
|
9206 |
collect2name=`${CC} -print-prog-name=collect2` |
|
9207 |
if test -f "$collect2name" && |
|
9208 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
9209 |
then |
|
9210 |
# We have reworked collect2 |
|
9211 |
: |
|
9212 |
else |
|
9213 |
# We have old collect2 |
|
9214 |
hardcode_direct=unsupported |
|
9215 |
# It fails to find uninstalled libraries when the uninstalled |
|
9216 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
9217 |
# to unsupported forces relinking |
|
9218 |
hardcode_minus_L=yes |
|
9219 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9220 |
hardcode_libdir_separator= |
|
9221 |
fi |
|
9222 |
;; |
|
9223 |
esac |
|
9224 |
shared_flag='-shared' |
|
9225 |
if test "$aix_use_runtimelinking" = yes; then |
|
9226 |
shared_flag="$shared_flag "'${wl}-G' |
|
9227 |
fi |
|
9228 |
link_all_deplibs=no |
|
9229 |
else |
|
9230 |
# not using gcc |
|
9231 |
if test "$host_cpu" = ia64; then |
|
9232 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
9233 |
# chokes on -Wl,-G. The following line is correct: |
|
9234 |
shared_flag='-G' |
|
9235 |
else |
|
9236 |
if test "$aix_use_runtimelinking" = yes; then |
|
9237 |
shared_flag='${wl}-G' |
|
9238 |
else |
|
9239 |
shared_flag='${wl}-bM:SRE' |
|
9240 |
fi |
|
9241 |
fi |
|
9242 |
fi |
|
9243 |
||
9244 |
export_dynamic_flag_spec='${wl}-bexpall' |
|
9245 |
# It seems that -bexpall does not export symbols beginning with |
|
9246 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
9247 |
always_export_symbols=yes |
|
9248 |
if test "$aix_use_runtimelinking" = yes; then |
|
9249 |
# Warning - without using the other runtime loading flags (-brtl), |
|
9250 |
# -berok will link without error, but may produce a broken library. |
|
9251 |
allow_undefined_flag='-berok' |
|
9252 |
# Determine the default libpath from the value encoded in an |
|
9253 |
# empty executable. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9254 |
if test "${lt_cv_aix_libpath+set}" = set; then |
9255 |
aix_libpath=$lt_cv_aix_libpath |
|
9256 |
else |
|
9257 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9258 |
$as_echo_n "(cached) " >&6 |
|
9259 |
else |
|
9260 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9261 |
/* end confdefs.h. */ |
9262 |
||
9263 |
int |
|
9264 |
main () |
|
9265 |
{ |
|
9266 |
||
9267 |
; |
|
9268 |
return 0; |
|
9269 |
} |
|
9270 |
_ACEOF |
|
9271 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9272 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9273 |
lt_aix_libpath_sed=' |
9274 |
/Import File Strings/,/^$/ { |
|
9275 |
/^0/ { |
|
9276 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9277 |
p |
|
9278 |
} |
|
9279 |
}' |
|
9280 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9281 |
# Check for a 64-bit object if we didn't find anything. |
|
9282 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9283 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9284 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9285 |
fi |
9286 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9287 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9288 |
if test -z "$lt_cv_aix_libpath_"; then |
9289 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
9290 |
fi |
|
9291 |
||
9292 |
fi |
|
9293 |
||
9294 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9295 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9296 |
|
9297 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9298 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9299 |
else |
9300 |
if test "$host_cpu" = ia64; then |
|
9301 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
9302 |
allow_undefined_flag="-z nodefs" |
|
9303 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
9304 |
else |
|
9305 |
# Determine the default libpath from the value encoded in an |
|
9306 |
# empty executable. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9307 |
if test "${lt_cv_aix_libpath+set}" = set; then |
9308 |
aix_libpath=$lt_cv_aix_libpath |
|
9309 |
else |
|
9310 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9311 |
$as_echo_n "(cached) " >&6 |
|
9312 |
else |
|
9313 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9314 |
/* end confdefs.h. */ |
9315 |
||
9316 |
int |
|
9317 |
main () |
|
9318 |
{ |
|
9319 |
||
9320 |
; |
|
9321 |
return 0; |
|
9322 |
} |
|
9323 |
_ACEOF |
|
9324 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9325 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9326 |
lt_aix_libpath_sed=' |
9327 |
/Import File Strings/,/^$/ { |
|
9328 |
/^0/ { |
|
9329 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9330 |
p |
|
9331 |
} |
|
9332 |
}' |
|
9333 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9334 |
# Check for a 64-bit object if we didn't find anything. |
|
9335 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9336 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9337 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9338 |
fi |
9339 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9340 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9341 |
if test -z "$lt_cv_aix_libpath_"; then |
9342 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
9343 |
fi |
|
9344 |
||
9345 |
fi |
|
9346 |
||
9347 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9348 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9349 |
|
9350 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
9351 |
# Warning - without using the other run time loading flags, |
|
9352 |
# -berok will link without error, but may produce a broken library. |
|
9353 |
no_undefined_flag=' ${wl}-bernotok' |
|
9354 |
allow_undefined_flag=' ${wl}-berok' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9355 |
if test "$with_gnu_ld" = yes; then |
9356 |
# We only use this code for GNU lds that support --whole-archive. |
|
9357 |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
9358 |
else |
|
9359 |
# Exported symbols can be pulled into shared objects from archives |
|
9360 |
whole_archive_flag_spec='$convenience' |
|
9361 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9362 |
archive_cmds_need_lc=yes |
9363 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
9364 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
9365 |
fi |
|
9366 |
fi |
|
9367 |
;; |
|
9368 |
||
9369 |
amigaos*) |
|
9370 |
case $host_cpu in |
|
9371 |
powerpc) |
|
9372 |
# see comment about AmigaOS4 .so support |
|
9373 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9374 |
archive_expsym_cmds='' |
|
9375 |
;; |
|
9376 |
m68k) |
|
9377 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
9378 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9379 |
hardcode_minus_L=yes |
|
9380 |
;; |
|
9381 |
esac |
|
9382 |
;; |
|
9383 |
||
9384 |
bsdi[45]*) |
|
9385 |
export_dynamic_flag_spec=-rdynamic |
|
9386 |
;; |
|
9387 |
||
9388 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9389 |
# When not using gcc, we currently assume that we are using |
|
9390 |
# Microsoft Visual C++. |
|
9391 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
9392 |
# no search path for DLLs. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9393 |
case $cc_basename in |
9394 |
cl*) |
|
9395 |
# Native MSVC |
|
9396 |
hardcode_libdir_flag_spec=' ' |
|
9397 |
allow_undefined_flag=unsupported |
|
9398 |
always_export_symbols=yes |
|
9399 |
file_list_spec='@' |
|
9400 |
# Tell ltmain to make .lib files, not .a files. |
|
9401 |
libext=lib |
|
9402 |
# Tell ltmain to make .dll files, not .so files. |
|
9403 |
shrext_cmds=".dll" |
|
9404 |
# FIXME: Setting linknames here is a bad hack. |
|
9405 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
9406 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
9407 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
9408 |
else |
|
9409 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
9410 |
fi~ |
|
9411 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
9412 |
linknames=' |
|
9413 |
# The linker will not automatically build a static lib if we build a DLL. |
|
9414 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
|
9415 |
enable_shared_with_static_runtimes=yes |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
9416 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9417 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9418 |
# Don't use ranlib |
|
9419 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
9420 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
|
9421 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
9422 |
case $lt_outputfile in |
|
9423 |
*.exe|*.EXE) ;; |
|
9424 |
*) |
|
9425 |
lt_outputfile="$lt_outputfile.exe" |
|
9426 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
9427 |
;; |
|
9428 |
esac~ |
|
9429 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
9430 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
9431 |
$RM "$lt_outputfile.manifest"; |
|
9432 |
fi' |
|
9433 |
;; |
|
9434 |
*) |
|
9435 |
# Assume MSVC wrapper |
|
9436 |
hardcode_libdir_flag_spec=' ' |
|
9437 |
allow_undefined_flag=unsupported |
|
9438 |
# Tell ltmain to make .lib files, not .a files. |
|
9439 |
libext=lib |
|
9440 |
# Tell ltmain to make .dll files, not .so files. |
|
9441 |
shrext_cmds=".dll" |
|
9442 |
# FIXME: Setting linknames here is a bad hack. |
|
9443 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
9444 |
# The linker will automatically build a .lib file if we build a DLL. |
|
9445 |
old_archive_from_new_cmds='true' |
|
9446 |
# FIXME: Should let the user specify the lib program. |
|
9447 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
9448 |
enable_shared_with_static_runtimes=yes |
|
9449 |
;; |
|
9450 |
esac |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9451 |
;; |
9452 |
||
9453 |
darwin* | rhapsody*) |
|
9454 |
||
9455 |
||
9456 |
archive_cmds_need_lc=no |
|
9457 |
hardcode_direct=no |
|
9458 |
hardcode_automatic=yes |
|
9459 |
hardcode_shlibpath_var=unsupported |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9460 |
if test "$lt_cv_ld_force_load" = "yes"; then |
9461 |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
9462 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9463 |
else |
9464 |
whole_archive_flag_spec='' |
|
9465 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9466 |
link_all_deplibs=yes |
9467 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
9468 |
case $cc_basename in |
|
9469 |
ifort*) _lt_dar_can_shared=yes ;; |
|
9470 |
*) _lt_dar_can_shared=$GCC ;; |
|
9471 |
esac |
|
9472 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9473 |
output_verbose_link_cmd=func_echo_all |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9474 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9475 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
9476 |
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
|
9477 |
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
|
9478 |
||
9479 |
else |
|
9480 |
ld_shlibs=no |
|
9481 |
fi |
|
9482 |
||
9483 |
;; |
|
9484 |
||
9485 |
dgux*) |
|
9486 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9487 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9488 |
hardcode_shlibpath_var=no |
|
9489 |
;; |
|
9490 |
||
9491 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
9492 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
9493 |
# does not break anything, and helps significantly (at the cost of a little |
|
9494 |
# extra space). |
|
9495 |
freebsd2.2*) |
|
9496 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
9497 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9498 |
hardcode_direct=yes |
|
9499 |
hardcode_shlibpath_var=no |
|
9500 |
;; |
|
9501 |
||
9502 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
9503 |
freebsd2.*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9504 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9505 |
hardcode_direct=yes |
|
9506 |
hardcode_minus_L=yes |
|
9507 |
hardcode_shlibpath_var=no |
|
9508 |
;; |
|
9509 |
||
9510 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
9511 |
freebsd* | dragonfly*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9512 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9513 |
hardcode_libdir_flag_spec='-R$libdir' |
9514 |
hardcode_direct=yes |
|
9515 |
hardcode_shlibpath_var=no |
|
9516 |
;; |
|
9517 |
||
9518 |
hpux9*) |
|
9519 |
if test "$GCC" = yes; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9520 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9521 |
else |
9522 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
9523 |
fi |
|
9524 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9525 |
hardcode_libdir_separator=: |
|
9526 |
hardcode_direct=yes |
|
9527 |
||
9528 |
# hardcode_minus_L: Not really in the search PATH, |
|
9529 |
# but as the default location of the library. |
|
9530 |
hardcode_minus_L=yes |
|
9531 |
export_dynamic_flag_spec='${wl}-E' |
|
9532 |
;; |
|
9533 |
||
9534 |
hpux10*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9535 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9536 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9537 |
else |
9538 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9539 |
fi |
|
9540 |
if test "$with_gnu_ld" = no; then |
|
9541 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9542 |
hardcode_libdir_separator=: |
|
9543 |
hardcode_direct=yes |
|
9544 |
hardcode_direct_absolute=yes |
|
9545 |
export_dynamic_flag_spec='${wl}-E' |
|
9546 |
# hardcode_minus_L: Not really in the search PATH, |
|
9547 |
# but as the default location of the library. |
|
9548 |
hardcode_minus_L=yes |
|
9549 |
fi |
|
9550 |
;; |
|
9551 |
||
9552 |
hpux11*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9553 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9554 |
case $host_cpu in |
9555 |
hppa*64*) |
|
9556 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9557 |
;; |
|
9558 |
ia64*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9559 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9560 |
;; |
9561 |
*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9562 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9563 |
;; |
9564 |
esac |
|
9565 |
else |
|
9566 |
case $host_cpu in |
|
9567 |
hppa*64*) |
|
9568 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9569 |
;; |
|
9570 |
ia64*) |
|
9571 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9572 |
;; |
|
9573 |
*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9574 |
|
9575 |
# Older versions of the 11.00 compiler do not understand -b yet |
|
9576 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
|
9577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
|
9578 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
|
9579 |
if ${lt_cv_prog_compiler__b+:} false; then : |
|
9580 |
$as_echo_n "(cached) " >&6 |
|
9581 |
else |
|
9582 |
lt_cv_prog_compiler__b=no |
|
9583 |
save_LDFLAGS="$LDFLAGS" |
|
9584 |
LDFLAGS="$LDFLAGS -b" |
|
9585 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
9586 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
9587 |
# The linker can only warn and ignore the option if not recognized |
|
9588 |
# So say no if there are warnings |
|
9589 |
if test -s conftest.err; then |
|
9590 |
# Append any errors to the config.log. |
|
9591 |
cat conftest.err 1>&5 |
|
9592 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
9593 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
9594 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
9595 |
lt_cv_prog_compiler__b=yes |
|
9596 |
fi |
|
9597 |
else |
|
9598 |
lt_cv_prog_compiler__b=yes |
|
9599 |
fi |
|
9600 |
fi |
|
9601 |
$RM -r conftest* |
|
9602 |
LDFLAGS="$save_LDFLAGS" |
|
9603 |
||
9604 |
fi |
|
9605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
|
9606 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
9607 |
||
9608 |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
|
9609 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9610 |
else |
|
9611 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9612 |
fi |
|
9613 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9614 |
;; |
9615 |
esac |
|
9616 |
fi |
|
9617 |
if test "$with_gnu_ld" = no; then |
|
9618 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9619 |
hardcode_libdir_separator=: |
|
9620 |
||
9621 |
case $host_cpu in |
|
9622 |
hppa*64*|ia64*) |
|
9623 |
hardcode_direct=no |
|
9624 |
hardcode_shlibpath_var=no |
|
9625 |
;; |
|
9626 |
*) |
|
9627 |
hardcode_direct=yes |
|
9628 |
hardcode_direct_absolute=yes |
|
9629 |
export_dynamic_flag_spec='${wl}-E' |
|
9630 |
||
9631 |
# hardcode_minus_L: Not really in the search PATH, |
|
9632 |
# but as the default location of the library. |
|
9633 |
hardcode_minus_L=yes |
|
9634 |
;; |
|
9635 |
esac |
|
9636 |
fi |
|
9637 |
;; |
|
9638 |
||
9639 |
irix5* | irix6* | nonstopux*) |
|
9640 |
if test "$GCC" = yes; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9641 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9642 |
# Try to use the -exported_symbol ld option, if it does not |
9643 |
# work, assume that -exports_file does not work either and |
|
9644 |
# implicitly export all symbols. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9645 |
# This should be the same for all languages, so no per-tag cache variable. |
9646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
9647 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
9648 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
9649 |
$as_echo_n "(cached) " >&6 |
|
9650 |
else |
|
9651 |
save_LDFLAGS="$LDFLAGS" |
|
9652 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
9653 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9654 |
/* end confdefs.h. */ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9655 |
int foo (void) { return 0; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9656 |
_ACEOF |
9657 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9658 |
lt_cv_irix_exported_symbol=yes |
9659 |
else |
|
9660 |
lt_cv_irix_exported_symbol=no |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9661 |
fi |
9662 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9663 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9664 |
LDFLAGS="$save_LDFLAGS" |
9665 |
fi |
|
9666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
9667 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
9668 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
9669 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
|
9670 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9671 |
else |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9672 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
9673 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9674 |
fi |
9675 |
archive_cmds_need_lc='no' |
|
9676 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9677 |
hardcode_libdir_separator=: |
|
9678 |
inherit_rpath=yes |
|
9679 |
link_all_deplibs=yes |
|
9680 |
;; |
|
9681 |
||
9682 |
netbsd* | netbsdelf*-gnu) |
|
9683 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9684 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
9685 |
else |
|
9686 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
9687 |
fi |
|
9688 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9689 |
hardcode_direct=yes |
|
9690 |
hardcode_shlibpath_var=no |
|
9691 |
;; |
|
9692 |
||
9693 |
newsos6) |
|
9694 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9695 |
hardcode_direct=yes |
|
9696 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9697 |
hardcode_libdir_separator=: |
|
9698 |
hardcode_shlibpath_var=no |
|
9699 |
;; |
|
9700 |
||
9701 |
*nto* | *qnx*) |
|
9702 |
;; |
|
9703 |
||
9704 |
openbsd*) |
|
9705 |
if test -f /usr/libexec/ld.so; then |
|
9706 |
hardcode_direct=yes |
|
9707 |
hardcode_shlibpath_var=no |
|
9708 |
hardcode_direct_absolute=yes |
|
9709 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
9710 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9711 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
9712 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9713 |
export_dynamic_flag_spec='${wl}-E' |
|
9714 |
else |
|
9715 |
case $host_os in |
|
9716 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
9717 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9718 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9719 |
;; |
|
9720 |
*) |
|
9721 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9722 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9723 |
;; |
|
9724 |
esac |
|
9725 |
fi |
|
9726 |
else |
|
9727 |
ld_shlibs=no |
|
9728 |
fi |
|
9729 |
;; |
|
9730 |
||
9731 |
os2*) |
|
9732 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9733 |
hardcode_minus_L=yes |
|
9734 |
allow_undefined_flag=unsupported |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9735 |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9736 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
9737 |
;; |
|
9738 |
||
9739 |
osf3*) |
|
9740 |
if test "$GCC" = yes; then |
|
9741 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9742 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9743 |
else |
9744 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9745 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9746 |
fi |
9747 |
archive_cmds_need_lc='no' |
|
9748 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9749 |
hardcode_libdir_separator=: |
|
9750 |
;; |
|
9751 |
||
9752 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
9753 |
if test "$GCC" = yes; then |
|
9754 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9755 |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9756 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9757 |
else |
|
9758 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9759 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9760 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9761 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9762 |
|
9763 |
# Both c and cxx compiler support -rpath directly |
|
9764 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
9765 |
fi |
|
9766 |
archive_cmds_need_lc='no' |
|
9767 |
hardcode_libdir_separator=: |
|
9768 |
;; |
|
9769 |
||
9770 |
solaris*) |
|
9771 |
no_undefined_flag=' -z defs' |
|
9772 |
if test "$GCC" = yes; then |
|
9773 |
wlarc='${wl}' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9774 |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9775 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9776 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9777 |
else |
9778 |
case `$CC -V 2>&1` in |
|
9779 |
*"Compilers 5.0"*) |
|
9780 |
wlarc='' |
|
9781 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9782 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9783 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
9784 |
;; |
|
9785 |
*) |
|
9786 |
wlarc='${wl}' |
|
9787 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9788 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9789 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
9790 |
;; |
|
9791 |
esac |
|
9792 |
fi |
|
9793 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9794 |
hardcode_shlibpath_var=no |
|
9795 |
case $host_os in |
|
9796 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
9797 |
*) |
|
9798 |
# The compiler driver will combine and reorder linker options, |
|
9799 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
9800 |
# but is careful enough not to reorder. |
|
9801 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
9802 |
if test "$GCC" = yes; then |
|
9803 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
9804 |
else |
|
9805 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
9806 |
fi |
|
9807 |
;; |
|
9808 |
esac |
|
9809 |
link_all_deplibs=yes |
|
9810 |
;; |
|
9811 |
||
9812 |
sunos4*) |
|
9813 |
if test "x$host_vendor" = xsequent; then |
|
9814 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
9815 |
# files that make .init and .fini sections work. |
|
9816 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9817 |
else |
|
9818 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
9819 |
fi |
|
9820 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9821 |
hardcode_direct=yes |
|
9822 |
hardcode_minus_L=yes |
|
9823 |
hardcode_shlibpath_var=no |
|
9824 |
;; |
|
9825 |
||
9826 |
sysv4) |
|
9827 |
case $host_vendor in |
|
9828 |
sni) |
|
9829 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9830 |
hardcode_direct=yes # is this really true??? |
|
9831 |
;; |
|
9832 |
siemens) |
|
9833 |
## LD is ld it makes a PLAMLIB |
|
9834 |
## CC just makes a GrossModule. |
|
9835 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
9836 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
9837 |
hardcode_direct=no |
|
9838 |
;; |
|
9839 |
motorola) |
|
9840 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9841 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
9842 |
;; |
|
9843 |
esac |
|
9844 |
runpath_var='LD_RUN_PATH' |
|
9845 |
hardcode_shlibpath_var=no |
|
9846 |
;; |
|
9847 |
||
9848 |
sysv4.3*) |
|
9849 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9850 |
hardcode_shlibpath_var=no |
|
9851 |
export_dynamic_flag_spec='-Bexport' |
|
9852 |
;; |
|
9853 |
||
9854 |
sysv4*MP*) |
|
9855 |
if test -d /usr/nec; then |
|
9856 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9857 |
hardcode_shlibpath_var=no |
|
9858 |
runpath_var=LD_RUN_PATH |
|
9859 |
hardcode_runpath_var=yes |
|
9860 |
ld_shlibs=yes |
|
9861 |
fi |
|
9862 |
;; |
|
9863 |
||
9864 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
9865 |
no_undefined_flag='${wl}-z,text' |
|
9866 |
archive_cmds_need_lc=no |
|
9867 |
hardcode_shlibpath_var=no |
|
9868 |
runpath_var='LD_RUN_PATH' |
|
9869 |
||
9870 |
if test "$GCC" = yes; then |
|
9871 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9872 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9873 |
else |
|
9874 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9875 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9876 |
fi |
|
9877 |
;; |
|
9878 |
||
9879 |
sysv5* | sco3.2v5* | sco5v6*) |
|
9880 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
9881 |
# link with -lc, and that would cause any symbols used from libc to |
|
9882 |
# always be unresolved, which means just about no library would |
|
9883 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
9884 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
9885 |
# as -z defs. |
|
9886 |
no_undefined_flag='${wl}-z,text' |
|
9887 |
allow_undefined_flag='${wl}-z,nodefs' |
|
9888 |
archive_cmds_need_lc=no |
|
9889 |
hardcode_shlibpath_var=no |
|
9890 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
|
9891 |
hardcode_libdir_separator=':' |
|
9892 |
link_all_deplibs=yes |
|
9893 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
9894 |
runpath_var='LD_RUN_PATH' |
|
9895 |
||
9896 |
if test "$GCC" = yes; then |
|
9897 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9898 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9899 |
else |
|
9900 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9901 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9902 |
fi |
|
9903 |
;; |
|
9904 |
||
9905 |
uts4*) |
|
9906 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9907 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9908 |
hardcode_shlibpath_var=no |
|
9909 |
;; |
|
9910 |
||
9911 |
*) |
|
9912 |
ld_shlibs=no |
|
9913 |
;; |
|
9914 |
esac |
|
9915 |
||
9916 |
if test x$host_vendor = xsni; then |
|
9917 |
case $host in |
|
9918 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
9919 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
9920 |
;; |
|
9921 |
esac |
|
9922 |
fi |
|
9923 |
fi |
|
9924 |
||
9925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
|
9926 |
$as_echo "$ld_shlibs" >&6; } |
|
9927 |
test "$ld_shlibs" = no && can_build_shared=no |
|
9928 |
||
9929 |
with_gnu_ld=$with_gnu_ld |
|
9930 |
||
9931 |
||
9932 |
||
9933 |
||
9934 |
||
9935 |
||
9936 |
||
9937 |
||
9938 |
||
9939 |
||
9940 |
||
9941 |
||
9942 |
||
9943 |
||
9944 |
||
9945 |
# |
|
9946 |
# Do we need to explicitly link libc? |
|
9947 |
# |
|
9948 |
case "x$archive_cmds_need_lc" in |
|
9949 |
x|xyes) |
|
9950 |
# Assume -lc should be added |
|
9951 |
archive_cmds_need_lc=yes |
|
9952 |
||
9953 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
9954 |
case $archive_cmds in |
|
9955 |
*'~'*) |
|
9956 |
# FIXME: we may have to deal with multi-command sequences. |
|
9957 |
;; |
|
9958 |
'$CC '*) |
|
9959 |
# Test whether the compiler implicitly links with -lc since on some |
|
9960 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
9961 |
# to ld, don't add -lc before -lgcc. |
|
9962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
|
9963 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9964 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
9965 |
$as_echo_n "(cached) " >&6 |
|
9966 |
else |
|
9967 |
$RM conftest* |
|
9968 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9969 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9970 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9971 |
(eval $ac_compile) 2>&5 |
9972 |
ac_status=$? |
|
9973 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9974 |
test $ac_status = 0; } 2>conftest.err; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9975 |
soname=conftest |
9976 |
lib=conftest |
|
9977 |
libobjs=conftest.$ac_objext |
|
9978 |
deplibs= |
|
9979 |
wl=$lt_prog_compiler_wl |
|
9980 |
pic_flag=$lt_prog_compiler_pic |
|
9981 |
compiler_flags=-v |
|
9982 |
linker_flags=-v |
|
9983 |
verstring= |
|
9984 |
output_objdir=. |
|
9985 |
libname=conftest |
|
9986 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
9987 |
allow_undefined_flag= |
|
9988 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
9989 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
9990 |
ac_status=$? |
|
9991 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9992 |
test $ac_status = 0; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
9993 |
then |
9994 |
lt_cv_archive_cmds_need_lc=no |
|
9995 |
else |
|
9996 |
lt_cv_archive_cmds_need_lc=yes |
|
9997 |
fi |
|
9998 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
9999 |
else |
|
10000 |
cat conftest.err 1>&5 |
|
10001 |
fi |
|
10002 |
$RM conftest* |
|
10003 |
||
10004 |
fi |
|
10005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
10006 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
|
10007 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10008 |
;; |
10009 |
esac |
|
10010 |
fi |
|
10011 |
;; |
|
10012 |
esac |
|
10013 |
||
10014 |
||
10015 |
||
10016 |
||
10017 |
||
10018 |
||
10019 |
||
10020 |
||
10021 |
||
10022 |
||
10023 |
||
10024 |
||
10025 |
||
10026 |
||
10027 |
||
10028 |
||
10029 |
||
10030 |
||
10031 |
||
10032 |
||
10033 |
||
10034 |
||
10035 |
||
10036 |
||
10037 |
||
10038 |
||
10039 |
||
10040 |
||
10041 |
||
10042 |
||
10043 |
||
10044 |
||
10045 |
||
10046 |
||
10047 |
||
10048 |
||
10049 |
||
10050 |
||
10051 |
||
10052 |
||
10053 |
||
10054 |
||
10055 |
||
10056 |
||
10057 |
||
10058 |
||
10059 |
||
10060 |
||
10061 |
||
10062 |
||
10063 |
||
10064 |
||
10065 |
||
10066 |
||
10067 |
||
10068 |
||
10069 |
||
10070 |
||
10071 |
||
10072 |
||
10073 |
||
10074 |
||
10075 |
||
10076 |
||
10077 |
||
10078 |
||
10079 |
||
10080 |
||
10081 |
||
10082 |
||
10083 |
||
10084 |
||
10085 |
||
10086 |
||
10087 |
||
10088 |
||
10089 |
||
10090 |
||
10091 |
||
10092 |
||
10093 |
||
10094 |
||
10095 |
||
10096 |
||
10097 |
||
10098 |
||
10099 |
||
10100 |
||
10101 |
||
10102 |
||
10103 |
||
10104 |
||
10105 |
||
10106 |
||
10107 |
||
10108 |
||
10109 |
||
10110 |
||
10111 |
||
10112 |
||
10113 |
||
10114 |
||
10115 |
||
10116 |
||
10117 |
||
10118 |
||
10119 |
||
10120 |
||
10121 |
||
10122 |
||
10123 |
||
10124 |
||
10125 |
||
10126 |
||
10127 |
||
10128 |
||
10129 |
||
10130 |
||
10131 |
||
10132 |
||
10133 |
||
10134 |
||
10135 |
||
10136 |
||
10137 |
||
10138 |
||
10139 |
||
10140 |
||
10141 |
||
10142 |
||
10143 |
||
10144 |
||
10145 |
||
10146 |
||
10147 |
||
10148 |
||
10149 |
||
10150 |
||
10151 |
||
10152 |
||
10153 |
||
10154 |
||
10155 |
||
10156 |
||
10157 |
||
10158 |
||
10159 |
||
10160 |
||
10161 |
||
10162 |
||
10163 |
||
10164 |
||
10165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
10166 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
10167 |
||
10168 |
if test "$GCC" = yes; then |
|
10169 |
case $host_os in |
|
10170 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
10171 |
*) lt_awk_arg="/^libraries:/" ;; |
|
10172 |
esac |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10173 |
case $host_os in |
10174 |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
|
10175 |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
|
10176 |
esac |
|
10177 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
|
10178 |
case $lt_search_path_spec in |
|
10179 |
*\;*) |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10180 |
# if the path contains ";" then we assume it to be the separator |
10181 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
10182 |
# assumed that no part of a normal pathname contains ";" but that should |
|
10183 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10184 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10185 |
;; |
|
10186 |
*) |
|
10187 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
|
10188 |
;; |
|
10189 |
esac |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10190 |
# Ok, now we have the path, separated by spaces, we can step through it |
10191 |
# and add multilib dir if necessary. |
|
10192 |
lt_tmp_lt_search_path_spec= |
|
10193 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
10194 |
for lt_sys_path in $lt_search_path_spec; do |
|
10195 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
10196 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
10197 |
else |
|
10198 |
test -d "$lt_sys_path" && \ |
|
10199 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
10200 |
fi |
|
10201 |
done |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10202 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10203 |
BEGIN {RS=" "; FS="/|\n";} { |
10204 |
lt_foo=""; |
|
10205 |
lt_count=0; |
|
10206 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
10207 |
if ($lt_i != "" && $lt_i != ".") { |
|
10208 |
if ($lt_i == "..") { |
|
10209 |
lt_count++; |
|
10210 |
} else { |
|
10211 |
if (lt_count == 0) { |
|
10212 |
lt_foo="/" $lt_i lt_foo; |
|
10213 |
} else { |
|
10214 |
lt_count--; |
|
10215 |
} |
|
10216 |
} |
|
10217 |
} |
|
10218 |
} |
|
10219 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
10220 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
10221 |
}'` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10222 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10223 |
# for these hosts. |
|
10224 |
case $host_os in |
|
10225 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
|
10226 |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
|
10227 |
esac |
|
10228 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10229 |
else |
10230 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
10231 |
fi |
|
10232 |
library_names_spec= |
|
10233 |
libname_spec='lib$name' |
|
10234 |
soname_spec= |
|
10235 |
shrext_cmds=".so" |
|
10236 |
postinstall_cmds= |
|
10237 |
postuninstall_cmds= |
|
10238 |
finish_cmds= |
|
10239 |
finish_eval= |
|
10240 |
shlibpath_var= |
|
10241 |
shlibpath_overrides_runpath=unknown |
|
10242 |
version_type=none |
|
10243 |
dynamic_linker="$host_os ld.so" |
|
10244 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
10245 |
need_lib_prefix=unknown |
|
10246 |
hardcode_into_libs=no |
|
10247 |
||
10248 |
# when you set need_version to no, make sure it does not cause -set_version |
|
10249 |
# flags to be left without arguments |
|
10250 |
need_version=unknown |
|
10251 |
||
10252 |
case $host_os in |
|
10253 |
aix3*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10254 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10255 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10256 |
shlibpath_var=LIBPATH |
|
10257 |
||
10258 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
10259 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10260 |
;; |
|
10261 |
||
10262 |
aix[4-9]*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10263 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10264 |
need_lib_prefix=no |
10265 |
need_version=no |
|
10266 |
hardcode_into_libs=yes |
|
10267 |
if test "$host_cpu" = ia64; then |
|
10268 |
# AIX 5 supports IA64 |
|
10269 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
10270 |
shlibpath_var=LD_LIBRARY_PATH |
|
10271 |
else |
|
10272 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
10273 |
# for dependence libraries. The import file would start with |
|
10274 |
# the line `#! .'. This would cause the generated library to |
|
10275 |
# depend on `.', always an invalid library. This was fixed in |
|
10276 |
# development snapshots of GCC prior to 3.0. |
|
10277 |
case $host_os in |
|
10278 |
aix4 | aix4.[01] | aix4.[01].*) |
|
10279 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
10280 |
echo ' yes ' |
|
10281 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
|
10282 |
: |
|
10283 |
else |
|
10284 |
can_build_shared=no |
|
10285 |
fi |
|
10286 |
;; |
|
10287 |
esac |
|
10288 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
10289 |
# soname into executable. Probably we can add versioning support to |
|
10290 |
# collect2, so additional links can be useful in future. |
|
10291 |
if test "$aix_use_runtimelinking" = yes; then |
|
10292 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
10293 |
# instead of lib<name>.a to let people know that these are not |
|
10294 |
# typical AIX shared libraries. |
|
10295 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10296 |
else |
|
10297 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
10298 |
# and later when we are not doing run time linking. |
|
10299 |
library_names_spec='${libname}${release}.a $libname.a' |
|
10300 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10301 |
fi |
|
10302 |
shlibpath_var=LIBPATH |
|
10303 |
fi |
|
10304 |
;; |
|
10305 |
||
10306 |
amigaos*) |
|
10307 |
case $host_cpu in |
|
10308 |
powerpc) |
|
10309 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
10310 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
10311 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10312 |
;; |
|
10313 |
m68k) |
|
10314 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
10315 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10316 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10317 |
;; |
10318 |
esac |
|
10319 |
;; |
|
10320 |
||
10321 |
beos*) |
|
10322 |
library_names_spec='${libname}${shared_ext}' |
|
10323 |
dynamic_linker="$host_os ld.so" |
|
10324 |
shlibpath_var=LIBRARY_PATH |
|
10325 |
;; |
|
10326 |
||
10327 |
bsdi[45]*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10328 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10329 |
need_version=no |
10330 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10331 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10332 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
10333 |
shlibpath_var=LD_LIBRARY_PATH |
|
10334 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
10335 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
10336 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
10337 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
10338 |
# libtool to hard-code these into programs |
|
10339 |
;; |
|
10340 |
||
10341 |
cygwin* | mingw* | pw32* | cegcc*) |
|
10342 |
version_type=windows |
|
10343 |
shrext_cmds=".dll" |
|
10344 |
need_version=no |
|
10345 |
need_lib_prefix=no |
|
10346 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10347 |
case $GCC,$cc_basename in |
10348 |
yes,*) |
|
10349 |
# gcc |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10350 |
library_names_spec='$libname.dll.a' |
10351 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10352 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
10353 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
10354 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10355 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10356 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
10357 |
chmod a+x \$dldir/$dlname~ |
|
10358 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
10359 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
10360 |
fi' |
|
10361 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10362 |
dlpath=$dir/\$dldll~ |
|
10363 |
$RM \$dlpath' |
|
10364 |
shlibpath_overrides_runpath=yes |
|
10365 |
||
10366 |
case $host_os in |
|
10367 |
cygwin*) |
|
10368 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
10369 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10370 |
|
10371 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10372 |
;; |
10373 |
mingw* | cegcc*) |
|
10374 |
# MinGW DLLs use traditional 'lib' prefix |
|
10375 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10376 |
;; |
|
10377 |
pw32*) |
|
10378 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
10379 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10380 |
;; |
|
10381 |
esac |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10382 |
dynamic_linker='Win32 ld.exe' |
10383 |
;; |
|
10384 |
||
10385 |
*,cl*) |
|
10386 |
# Native MSVC |
|
10387 |
libname_spec='$name' |
|
10388 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10389 |
library_names_spec='${libname}.dll.lib' |
|
10390 |
||
10391 |
case $build_os in |
|
10392 |
mingw*) |
|
10393 |
sys_lib_search_path_spec= |
|
10394 |
lt_save_ifs=$IFS |
|
10395 |
IFS=';' |
|
10396 |
for lt_path in $LIB |
|
10397 |
do |
|
10398 |
IFS=$lt_save_ifs |
|
10399 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
10400 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
10401 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
10402 |
done |
|
10403 |
IFS=$lt_save_ifs |
|
10404 |
# Convert to MSYS style. |
|
10405 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
10406 |
;; |
|
10407 |
cygwin*) |
|
10408 |
# Convert to unix form, then to dos form, then back to unix form |
|
10409 |
# but this time dos style (no spaces!) so that the unix form looks |
|
10410 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
10411 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
10412 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
10413 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10414 |
;; |
|
10415 |
*) |
|
10416 |
sys_lib_search_path_spec="$LIB" |
|
10417 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
10418 |
# It is most probably a Windows format PATH. |
|
10419 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
10420 |
else |
|
10421 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10422 |
fi |
|
10423 |
# FIXME: find the short name or the path components, as spaces are |
|
10424 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
10425 |
;; |
|
10426 |
esac |
|
10427 |
||
10428 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10429 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
10430 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
10431 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10432 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10433 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
10434 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10435 |
dlpath=$dir/\$dldll~ |
|
10436 |
$RM \$dlpath' |
|
10437 |
shlibpath_overrides_runpath=yes |
|
10438 |
dynamic_linker='Win32 link.exe' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10439 |
;; |
10440 |
||
10441 |
*) |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10442 |
# Assume MSVC wrapper |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10443 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10444 |
dynamic_linker='Win32 ld.exe' |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10445 |
;; |
10446 |
esac |
|
10447 |
# FIXME: first we should search . and the directory the executable is in |
|
10448 |
shlibpath_var=PATH |
|
10449 |
;; |
|
10450 |
||
10451 |
darwin* | rhapsody*) |
|
10452 |
dynamic_linker="$host_os dyld" |
|
10453 |
version_type=darwin |
|
10454 |
need_lib_prefix=no |
|
10455 |
need_version=no |
|
10456 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
10457 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
10458 |
shlibpath_overrides_runpath=yes |
|
10459 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
10460 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
10461 |
||
10462 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
10463 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
10464 |
;; |
|
10465 |
||
10466 |
dgux*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10467 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10468 |
need_lib_prefix=no |
10469 |
need_version=no |
|
10470 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
10471 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10472 |
shlibpath_var=LD_LIBRARY_PATH |
|
10473 |
;; |
|
10474 |
||
10475 |
freebsd* | dragonfly*) |
|
10476 |
# DragonFly does not have aout. When/if they implement a new |
|
10477 |
# versioning mechanism, adjust this. |
|
10478 |
if test -x /usr/bin/objformat; then |
|
10479 |
objformat=`/usr/bin/objformat` |
|
10480 |
else |
|
10481 |
case $host_os in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10482 |
freebsd[23].*) objformat=aout ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10483 |
*) objformat=elf ;; |
10484 |
esac |
|
10485 |
fi |
|
10486 |
version_type=freebsd-$objformat |
|
10487 |
case $version_type in |
|
10488 |
freebsd-elf*) |
|
10489 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10490 |
need_version=no |
|
10491 |
need_lib_prefix=no |
|
10492 |
;; |
|
10493 |
freebsd-*) |
|
10494 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
10495 |
need_version=yes |
|
10496 |
;; |
|
10497 |
esac |
|
10498 |
shlibpath_var=LD_LIBRARY_PATH |
|
10499 |
case $host_os in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10500 |
freebsd2.*) |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10501 |
shlibpath_overrides_runpath=yes |
10502 |
;; |
|
10503 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
10504 |
shlibpath_overrides_runpath=yes |
|
10505 |
hardcode_into_libs=yes |
|
10506 |
;; |
|
10507 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
10508 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
10509 |
shlibpath_overrides_runpath=no |
|
10510 |
hardcode_into_libs=yes |
|
10511 |
;; |
|
10512 |
*) # from 4.6 on, and DragonFly |
|
10513 |
shlibpath_overrides_runpath=yes |
|
10514 |
hardcode_into_libs=yes |
|
10515 |
;; |
|
10516 |
esac |
|
10517 |
;; |
|
10518 |
||
10519 |
gnu*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10520 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10521 |
need_lib_prefix=no |
10522 |
need_version=no |
|
10523 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10524 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10525 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10526 |
shlibpath_overrides_runpath=no |
10527 |
hardcode_into_libs=yes |
|
10528 |
;; |
|
10529 |
||
10530 |
haiku*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10531 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10532 |
need_lib_prefix=no |
10533 |
need_version=no |
|
10534 |
dynamic_linker="$host_os runtime_loader" |
|
10535 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10536 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10537 |
shlibpath_var=LIBRARY_PATH |
|
10538 |
shlibpath_overrides_runpath=yes |
|
10539 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10540 |
hardcode_into_libs=yes |
10541 |
;; |
|
10542 |
||
10543 |
hpux9* | hpux10* | hpux11*) |
|
10544 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
10545 |
# link against other versions. |
|
10546 |
version_type=sunos |
|
10547 |
need_lib_prefix=no |
|
10548 |
need_version=no |
|
10549 |
case $host_cpu in |
|
10550 |
ia64*) |
|
10551 |
shrext_cmds='.so' |
|
10552 |
hardcode_into_libs=yes |
|
10553 |
dynamic_linker="$host_os dld.so" |
|
10554 |
shlibpath_var=LD_LIBRARY_PATH |
|
10555 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10556 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10557 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10558 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
10559 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
10560 |
else |
|
10561 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
10562 |
fi |
|
10563 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10564 |
;; |
|
10565 |
hppa*64*) |
|
10566 |
shrext_cmds='.sl' |
|
10567 |
hardcode_into_libs=yes |
|
10568 |
dynamic_linker="$host_os dld.sl" |
|
10569 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
10570 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10571 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10572 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10573 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
10574 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10575 |
;; |
|
10576 |
*) |
|
10577 |
shrext_cmds='.sl' |
|
10578 |
dynamic_linker="$host_os dld.sl" |
|
10579 |
shlibpath_var=SHLIB_PATH |
|
10580 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
10581 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10582 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10583 |
;; |
|
10584 |
esac |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10585 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10586 |
postinstall_cmds='chmod 555 $lib' |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10587 |
# or fails outright, so override atomically: |
10588 |
install_override_mode=555 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10589 |
;; |
10590 |
||
10591 |
interix[3-9]*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10592 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10593 |
need_lib_prefix=no |
10594 |
need_version=no |
|
10595 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10596 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10597 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
10598 |
shlibpath_var=LD_LIBRARY_PATH |
|
10599 |
shlibpath_overrides_runpath=no |
|
10600 |
hardcode_into_libs=yes |
|
10601 |
;; |
|
10602 |
||
10603 |
irix5* | irix6* | nonstopux*) |
|
10604 |
case $host_os in |
|
10605 |
nonstopux*) version_type=nonstopux ;; |
|
10606 |
*) |
|
10607 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10608 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10609 |
else |
10610 |
version_type=irix |
|
10611 |
fi ;; |
|
10612 |
esac |
|
10613 |
need_lib_prefix=no |
|
10614 |
need_version=no |
|
10615 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10616 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10617 |
case $host_os in |
|
10618 |
irix5* | nonstopux*) |
|
10619 |
libsuff= shlibsuff= |
|
10620 |
;; |
|
10621 |
*) |
|
10622 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
10623 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
10624 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
10625 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
10626 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
10627 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
10628 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
10629 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
10630 |
esac |
|
10631 |
;; |
|
10632 |
esac |
|
10633 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
10634 |
shlibpath_overrides_runpath=no |
|
10635 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
10636 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
10637 |
hardcode_into_libs=yes |
|
10638 |
;; |
|
10639 |
||
10640 |
# No shared lib support for Linux oldld, aout, or coff. |
|
10641 |
linux*oldld* | linux*aout* | linux*coff*) |
|
10642 |
dynamic_linker=no |
|
10643 |
;; |
|
10644 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10645 |
# This must be glibc/ELF. |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10646 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10647 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10648 |
need_lib_prefix=no |
10649 |
need_version=no |
|
10650 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10651 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10652 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
10653 |
shlibpath_var=LD_LIBRARY_PATH |
|
10654 |
shlibpath_overrides_runpath=no |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10655 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10656 |
# Some binutils ld are patched to set DT_RUNPATH |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10657 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
10658 |
$as_echo_n "(cached) " >&6 |
|
10659 |
else |
|
10660 |
lt_cv_shlibpath_overrides_runpath=no |
|
10661 |
save_LDFLAGS=$LDFLAGS |
|
10662 |
save_libdir=$libdir |
|
10663 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
10664 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
10665 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10666 |
/* end confdefs.h. */ |
10667 |
||
10668 |
int |
|
10669 |
main () |
|
10670 |
{ |
|
10671 |
||
10672 |
; |
|
10673 |
return 0; |
|
10674 |
} |
|
10675 |
_ACEOF |
|
10676 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10677 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10678 |
lt_cv_shlibpath_overrides_runpath=yes |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10679 |
fi |
10680 |
fi |
|
10681 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10682 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10683 |
LDFLAGS=$save_LDFLAGS |
10684 |
libdir=$save_libdir |
|
10685 |
||
10686 |
fi |
|
10687 |
||
10688 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10689 |
|
10690 |
# This implies no fast_install, which is unacceptable. |
|
10691 |
# Some rework will be needed to allow for fast_install |
|
10692 |
# before this can be enabled. |
|
10693 |
hardcode_into_libs=yes |
|
10694 |
||
10695 |
# Append ld.so.conf contents to the search path |
|
10696 |
if test -f /etc/ld.so.conf; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
10697 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10698 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
10699 |
fi |
|
10700 |
||
10701 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
10702 |
# powerpc, because MkLinux only supported shared libraries with the |
|
10703 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
10704 |
# most powerpc-linux boxes support dynamic linking these days and |
|
10705 |
# people can always --disable-shared, the test was removed, and we |
|
10706 |
# assume the GNU/Linux dynamic linker is in use. |
|
10707 |
dynamic_linker='GNU/Linux ld.so' |
|
10708 |
;; |
|
10709 |
||
10710 |
netbsdelf*-gnu) |
|
10711 |
version_type=linux |
|
10712 |
need_lib_prefix=no |
|
10713 |
need_version=no |
|
10714 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10715 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10716 |
shlibpath_var=LD_LIBRARY_PATH |
|
10717 |
shlibpath_overrides_runpath=no |
|
10718 |
hardcode_into_libs=yes |
|
10719 |
dynamic_linker='NetBSD ld.elf_so' |
|
10720 |
;; |
|
10721 |
||
10722 |
netbsd*) |
|
10723 |
version_type=sunos |
|
10724 |
need_lib_prefix=no |
|
10725 |
need_version=no |
|
10726 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
10727 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10728 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10729 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
10730 |
else |
|
10731 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10732 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10733 |
dynamic_linker='NetBSD ld.elf_so' |
|
10734 |
fi |
|
10735 |
shlibpath_var=LD_LIBRARY_PATH |
|
10736 |
shlibpath_overrides_runpath=yes |
|
10737 |
hardcode_into_libs=yes |
|
10738 |
;; |
|
10739 |
||
10740 |
newsos6) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10741 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10742 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10743 |
shlibpath_var=LD_LIBRARY_PATH |
|
10744 |
shlibpath_overrides_runpath=yes |
|
10745 |
;; |
|
10746 |
||
10747 |
*nto* | *qnx*) |
|
10748 |
version_type=qnx |
|
10749 |
need_lib_prefix=no |
|
10750 |
need_version=no |
|
10751 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10752 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10753 |
shlibpath_var=LD_LIBRARY_PATH |
|
10754 |
shlibpath_overrides_runpath=no |
|
10755 |
hardcode_into_libs=yes |
|
10756 |
dynamic_linker='ldqnx.so' |
|
10757 |
;; |
|
10758 |
||
10759 |
openbsd*) |
|
10760 |
version_type=sunos |
|
10761 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
10762 |
need_lib_prefix=no |
|
10763 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
10764 |
case $host_os in |
|
10765 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
10766 |
*) need_version=no ;; |
|
10767 |
esac |
|
10768 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10769 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10770 |
shlibpath_var=LD_LIBRARY_PATH |
|
10771 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
10772 |
case $host_os in |
|
10773 |
openbsd2.[89] | openbsd2.[89].*) |
|
10774 |
shlibpath_overrides_runpath=no |
|
10775 |
;; |
|
10776 |
*) |
|
10777 |
shlibpath_overrides_runpath=yes |
|
10778 |
;; |
|
10779 |
esac |
|
10780 |
else |
|
10781 |
shlibpath_overrides_runpath=yes |
|
10782 |
fi |
|
10783 |
;; |
|
10784 |
||
10785 |
os2*) |
|
10786 |
libname_spec='$name' |
|
10787 |
shrext_cmds=".dll" |
|
10788 |
need_lib_prefix=no |
|
10789 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
10790 |
dynamic_linker='OS/2 ld.exe' |
|
10791 |
shlibpath_var=LIBPATH |
|
10792 |
;; |
|
10793 |
||
10794 |
osf3* | osf4* | osf5*) |
|
10795 |
version_type=osf |
|
10796 |
need_lib_prefix=no |
|
10797 |
need_version=no |
|
10798 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10799 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10800 |
shlibpath_var=LD_LIBRARY_PATH |
|
10801 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
10802 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
10803 |
;; |
|
10804 |
||
10805 |
rdos*) |
|
10806 |
dynamic_linker=no |
|
10807 |
;; |
|
10808 |
||
10809 |
solaris*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10810 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10811 |
need_lib_prefix=no |
10812 |
need_version=no |
|
10813 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10814 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10815 |
shlibpath_var=LD_LIBRARY_PATH |
|
10816 |
shlibpath_overrides_runpath=yes |
|
10817 |
hardcode_into_libs=yes |
|
10818 |
# ldd complains unless libraries are executable |
|
10819 |
postinstall_cmds='chmod +x $lib' |
|
10820 |
;; |
|
10821 |
||
10822 |
sunos4*) |
|
10823 |
version_type=sunos |
|
10824 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10825 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
10826 |
shlibpath_var=LD_LIBRARY_PATH |
|
10827 |
shlibpath_overrides_runpath=yes |
|
10828 |
if test "$with_gnu_ld" = yes; then |
|
10829 |
need_lib_prefix=no |
|
10830 |
fi |
|
10831 |
need_version=yes |
|
10832 |
;; |
|
10833 |
||
10834 |
sysv4 | sysv4.3*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10835 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10836 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10837 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10838 |
shlibpath_var=LD_LIBRARY_PATH |
|
10839 |
case $host_vendor in |
|
10840 |
sni) |
|
10841 |
shlibpath_overrides_runpath=no |
|
10842 |
need_lib_prefix=no |
|
10843 |
runpath_var=LD_RUN_PATH |
|
10844 |
;; |
|
10845 |
siemens) |
|
10846 |
need_lib_prefix=no |
|
10847 |
;; |
|
10848 |
motorola) |
|
10849 |
need_lib_prefix=no |
|
10850 |
need_version=no |
|
10851 |
shlibpath_overrides_runpath=no |
|
10852 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
10853 |
;; |
|
10854 |
esac |
|
10855 |
;; |
|
10856 |
||
10857 |
sysv4*MP*) |
|
10858 |
if test -d /usr/nec ;then |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10859 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10860 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
10861 |
soname_spec='$libname${shared_ext}.$major' |
|
10862 |
shlibpath_var=LD_LIBRARY_PATH |
|
10863 |
fi |
|
10864 |
;; |
|
10865 |
||
10866 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
10867 |
version_type=freebsd-elf |
|
10868 |
need_lib_prefix=no |
|
10869 |
need_version=no |
|
10870 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10871 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10872 |
shlibpath_var=LD_LIBRARY_PATH |
|
10873 |
shlibpath_overrides_runpath=yes |
|
10874 |
hardcode_into_libs=yes |
|
10875 |
if test "$with_gnu_ld" = yes; then |
|
10876 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
10877 |
else |
|
10878 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
10879 |
case $host_os in |
|
10880 |
sco3.2v5*) |
|
10881 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
10882 |
;; |
|
10883 |
esac |
|
10884 |
fi |
|
10885 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
10886 |
;; |
|
10887 |
||
10888 |
tpf*) |
|
10889 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10890 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10891 |
need_lib_prefix=no |
10892 |
need_version=no |
|
10893 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10894 |
shlibpath_var=LD_LIBRARY_PATH |
|
10895 |
shlibpath_overrides_runpath=no |
|
10896 |
hardcode_into_libs=yes |
|
10897 |
;; |
|
10898 |
||
10899 |
uts4*) |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
10900 |
version_type=linux # correct to gnu/linux during the next big refactor |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
10901 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10902 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10903 |
shlibpath_var=LD_LIBRARY_PATH |
|
10904 |
;; |
|
10905 |
||
10906 |
*) |
|
10907 |
dynamic_linker=no |
|
10908 |
;; |
|
10909 |
esac |
|
10910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
|
10911 |
$as_echo "$dynamic_linker" >&6; } |
|
10912 |
test "$dynamic_linker" = no && can_build_shared=no |
|
10913 |
||
10914 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
10915 |
if test "$GCC" = yes; then |
|
10916 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
10917 |
fi |
|
10918 |
||
10919 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
10920 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
10921 |
fi |
|
10922 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
10923 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
10924 |
fi |
|
10925 |
||
10926 |
||
10927 |
||
10928 |
||
10929 |
||
10930 |
||
10931 |
||
10932 |
||
10933 |
||
10934 |
||
10935 |
||
10936 |
||
10937 |
||
10938 |
||
10939 |
||
10940 |
||
10941 |
||
10942 |
||
10943 |
||
10944 |
||
10945 |
||
10946 |
||
10947 |
||
10948 |
||
10949 |
||
10950 |
||
10951 |
||
10952 |
||
10953 |
||
10954 |
||
10955 |
||
10956 |
||
10957 |
||
10958 |
||
10959 |
||
10960 |
||
10961 |
||
10962 |
||
10963 |
||
10964 |
||
10965 |
||
10966 |
||
10967 |
||
10968 |
||
10969 |
||
10970 |
||
10971 |
||
10972 |
||
10973 |
||
10974 |
||
10975 |
||
10976 |
||
10977 |
||
10978 |
||
10979 |
||
10980 |
||
10981 |
||
10982 |
||
10983 |
||
10984 |
||
10985 |
||
10986 |
||
10987 |
||
10988 |
||
10989 |
||
10990 |
||
10991 |
||
10992 |
||
10993 |
||
10994 |
||
10995 |
||
10996 |
||
10997 |
||
10998 |
||
10999 |
||
11000 |
||
11001 |
||
11002 |
||
11003 |
||
11004 |
||
11005 |
||
11006 |
||
11007 |
||
11008 |
||
11009 |
||
11010 |
||
11011 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11012 |
|
11013 |
||
11014 |
||
11015 |
||
11016 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11018 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
11019 |
hardcode_action= |
|
11020 |
if test -n "$hardcode_libdir_flag_spec" || |
|
11021 |
test -n "$runpath_var" || |
|
11022 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
11023 |
||
11024 |
# We can hardcode non-existent directories. |
|
11025 |
if test "$hardcode_direct" != no && |
|
11026 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
11027 |
# have to relink, otherwise we might link with an installed library |
|
11028 |
# when we should be linking with a yet-to-be-installed one |
|
11029 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
11030 |
test "$hardcode_minus_L" != no; then |
|
11031 |
# Linking always hardcodes the temporary library directory. |
|
11032 |
hardcode_action=relink |
|
11033 |
else |
|
11034 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
11035 |
hardcode_action=immediate |
|
11036 |
fi |
|
11037 |
else |
|
11038 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
11039 |
# directories. |
|
11040 |
hardcode_action=unsupported |
|
11041 |
fi |
|
11042 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
|
11043 |
$as_echo "$hardcode_action" >&6; } |
|
11044 |
||
11045 |
if test "$hardcode_action" = relink || |
|
11046 |
test "$inherit_rpath" = yes; then |
|
11047 |
# Fast installation is not supported |
|
11048 |
enable_fast_install=no |
|
11049 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
11050 |
test "$enable_shared" = no; then |
|
11051 |
# Fast installation is not necessary |
|
11052 |
enable_fast_install=needless |
|
11053 |
fi |
|
11054 |
||
11055 |
||
11056 |
||
11057 |
||
11058 |
||
11059 |
||
11060 |
if test "x$enable_dlopen" != xyes; then |
|
11061 |
enable_dlopen=unknown |
|
11062 |
enable_dlopen_self=unknown |
|
11063 |
enable_dlopen_self_static=unknown |
|
11064 |
else |
|
11065 |
lt_cv_dlopen=no |
|
11066 |
lt_cv_dlopen_libs= |
|
11067 |
||
11068 |
case $host_os in |
|
11069 |
beos*) |
|
11070 |
lt_cv_dlopen="load_add_on" |
|
11071 |
lt_cv_dlopen_libs= |
|
11072 |
lt_cv_dlopen_self=yes |
|
11073 |
;; |
|
11074 |
||
11075 |
mingw* | pw32* | cegcc*) |
|
11076 |
lt_cv_dlopen="LoadLibrary" |
|
11077 |
lt_cv_dlopen_libs= |
|
11078 |
;; |
|
11079 |
||
11080 |
cygwin*) |
|
11081 |
lt_cv_dlopen="dlopen" |
|
11082 |
lt_cv_dlopen_libs= |
|
11083 |
;; |
|
11084 |
||
11085 |
darwin*) |
|
11086 |
# if libdl is installed we need to link against it |
|
11087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11088 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11089 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11090 |
$as_echo_n "(cached) " >&6 |
11091 |
else |
|
11092 |
ac_check_lib_save_LIBS=$LIBS |
|
11093 |
LIBS="-ldl $LIBS" |
|
11094 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11095 |
/* end confdefs.h. */ |
|
11096 |
||
11097 |
/* Override any GCC internal prototype to avoid an error. |
|
11098 |
Use char because int might match the return type of a GCC |
|
11099 |
builtin and then its argument prototype would still apply. */ |
|
11100 |
#ifdef __cplusplus |
|
11101 |
extern "C" |
|
11102 |
#endif |
|
11103 |
char dlopen (); |
|
11104 |
int |
|
11105 |
main () |
|
11106 |
{ |
|
11107 |
return dlopen (); |
|
11108 |
; |
|
11109 |
return 0; |
|
11110 |
} |
|
11111 |
_ACEOF |
|
11112 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11113 |
ac_cv_lib_dl_dlopen=yes |
|
11114 |
else |
|
11115 |
ac_cv_lib_dl_dlopen=no |
|
11116 |
fi |
|
11117 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11118 |
conftest$ac_exeext conftest.$ac_ext |
|
11119 |
LIBS=$ac_check_lib_save_LIBS |
|
11120 |
fi |
|
11121 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11122 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11123 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11124 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11125 |
else |
|
11126 |
||
11127 |
lt_cv_dlopen="dyld" |
|
11128 |
lt_cv_dlopen_libs= |
|
11129 |
lt_cv_dlopen_self=yes |
|
11130 |
||
11131 |
fi |
|
11132 |
||
11133 |
;; |
|
11134 |
||
11135 |
*) |
|
11136 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11137 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11138 |
lt_cv_dlopen="shl_load" |
11139 |
else |
|
11140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
|
11141 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11142 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11143 |
$as_echo_n "(cached) " >&6 |
11144 |
else |
|
11145 |
ac_check_lib_save_LIBS=$LIBS |
|
11146 |
LIBS="-ldld $LIBS" |
|
11147 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11148 |
/* end confdefs.h. */ |
|
11149 |
||
11150 |
/* Override any GCC internal prototype to avoid an error. |
|
11151 |
Use char because int might match the return type of a GCC |
|
11152 |
builtin and then its argument prototype would still apply. */ |
|
11153 |
#ifdef __cplusplus |
|
11154 |
extern "C" |
|
11155 |
#endif |
|
11156 |
char shl_load (); |
|
11157 |
int |
|
11158 |
main () |
|
11159 |
{ |
|
11160 |
return shl_load (); |
|
11161 |
; |
|
11162 |
return 0; |
|
11163 |
} |
|
11164 |
_ACEOF |
|
11165 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11166 |
ac_cv_lib_dld_shl_load=yes |
|
11167 |
else |
|
11168 |
ac_cv_lib_dld_shl_load=no |
|
11169 |
fi |
|
11170 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11171 |
conftest$ac_exeext conftest.$ac_ext |
|
11172 |
LIBS=$ac_check_lib_save_LIBS |
|
11173 |
fi |
|
11174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
|
11175 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11176 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11177 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11178 |
else |
|
11179 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11180 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11181 |
lt_cv_dlopen="dlopen" |
11182 |
else |
|
11183 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11184 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11185 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11186 |
$as_echo_n "(cached) " >&6 |
11187 |
else |
|
11188 |
ac_check_lib_save_LIBS=$LIBS |
|
11189 |
LIBS="-ldl $LIBS" |
|
11190 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11191 |
/* end confdefs.h. */ |
|
11192 |
||
11193 |
/* Override any GCC internal prototype to avoid an error. |
|
11194 |
Use char because int might match the return type of a GCC |
|
11195 |
builtin and then its argument prototype would still apply. */ |
|
11196 |
#ifdef __cplusplus |
|
11197 |
extern "C" |
|
11198 |
#endif |
|
11199 |
char dlopen (); |
|
11200 |
int |
|
11201 |
main () |
|
11202 |
{ |
|
11203 |
return dlopen (); |
|
11204 |
; |
|
11205 |
return 0; |
|
11206 |
} |
|
11207 |
_ACEOF |
|
11208 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11209 |
ac_cv_lib_dl_dlopen=yes |
|
11210 |
else |
|
11211 |
ac_cv_lib_dl_dlopen=no |
|
11212 |
fi |
|
11213 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11214 |
conftest$ac_exeext conftest.$ac_ext |
|
11215 |
LIBS=$ac_check_lib_save_LIBS |
|
11216 |
fi |
|
11217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11218 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11219 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11220 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11221 |
else |
|
11222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
|
11223 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11224 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11225 |
$as_echo_n "(cached) " >&6 |
11226 |
else |
|
11227 |
ac_check_lib_save_LIBS=$LIBS |
|
11228 |
LIBS="-lsvld $LIBS" |
|
11229 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11230 |
/* end confdefs.h. */ |
|
11231 |
||
11232 |
/* Override any GCC internal prototype to avoid an error. |
|
11233 |
Use char because int might match the return type of a GCC |
|
11234 |
builtin and then its argument prototype would still apply. */ |
|
11235 |
#ifdef __cplusplus |
|
11236 |
extern "C" |
|
11237 |
#endif |
|
11238 |
char dlopen (); |
|
11239 |
int |
|
11240 |
main () |
|
11241 |
{ |
|
11242 |
return dlopen (); |
|
11243 |
; |
|
11244 |
return 0; |
|
11245 |
} |
|
11246 |
_ACEOF |
|
11247 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11248 |
ac_cv_lib_svld_dlopen=yes |
|
11249 |
else |
|
11250 |
ac_cv_lib_svld_dlopen=no |
|
11251 |
fi |
|
11252 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11253 |
conftest$ac_exeext conftest.$ac_ext |
|
11254 |
LIBS=$ac_check_lib_save_LIBS |
|
11255 |
fi |
|
11256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
|
11257 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11258 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11259 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11260 |
else |
|
11261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
|
11262 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11263 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11264 |
$as_echo_n "(cached) " >&6 |
11265 |
else |
|
11266 |
ac_check_lib_save_LIBS=$LIBS |
|
11267 |
LIBS="-ldld $LIBS" |
|
11268 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11269 |
/* end confdefs.h. */ |
|
11270 |
||
11271 |
/* Override any GCC internal prototype to avoid an error. |
|
11272 |
Use char because int might match the return type of a GCC |
|
11273 |
builtin and then its argument prototype would still apply. */ |
|
11274 |
#ifdef __cplusplus |
|
11275 |
extern "C" |
|
11276 |
#endif |
|
11277 |
char dld_link (); |
|
11278 |
int |
|
11279 |
main () |
|
11280 |
{ |
|
11281 |
return dld_link (); |
|
11282 |
; |
|
11283 |
return 0; |
|
11284 |
} |
|
11285 |
_ACEOF |
|
11286 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11287 |
ac_cv_lib_dld_dld_link=yes |
|
11288 |
else |
|
11289 |
ac_cv_lib_dld_dld_link=no |
|
11290 |
fi |
|
11291 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11292 |
conftest$ac_exeext conftest.$ac_ext |
|
11293 |
LIBS=$ac_check_lib_save_LIBS |
|
11294 |
fi |
|
11295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
|
11296 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11297 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11298 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11299 |
fi |
|
11300 |
||
11301 |
||
11302 |
fi |
|
11303 |
||
11304 |
||
11305 |
fi |
|
11306 |
||
11307 |
||
11308 |
fi |
|
11309 |
||
11310 |
||
11311 |
fi |
|
11312 |
||
11313 |
||
11314 |
fi |
|
11315 |
||
11316 |
;; |
|
11317 |
esac |
|
11318 |
||
11319 |
if test "x$lt_cv_dlopen" != xno; then |
|
11320 |
enable_dlopen=yes |
|
11321 |
else |
|
11322 |
enable_dlopen=no |
|
11323 |
fi |
|
11324 |
||
11325 |
case $lt_cv_dlopen in |
|
11326 |
dlopen) |
|
11327 |
save_CPPFLAGS="$CPPFLAGS" |
|
11328 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
11329 |
||
11330 |
save_LDFLAGS="$LDFLAGS" |
|
11331 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
11332 |
||
11333 |
save_LIBS="$LIBS" |
|
11334 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
11335 |
||
11336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
|
11337 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11338 |
if ${lt_cv_dlopen_self+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11339 |
$as_echo_n "(cached) " >&6 |
11340 |
else |
|
11341 |
if test "$cross_compiling" = yes; then : |
|
11342 |
lt_cv_dlopen_self=cross |
|
11343 |
else |
|
11344 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11345 |
lt_status=$lt_dlunknown |
|
11346 |
cat > conftest.$ac_ext <<_LT_EOF |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11347 |
#line $LINENO "configure" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11348 |
#include "confdefs.h" |
11349 |
||
11350 |
#if HAVE_DLFCN_H |
|
11351 |
#include <dlfcn.h> |
|
11352 |
#endif |
|
11353 |
||
11354 |
#include <stdio.h> |
|
11355 |
||
11356 |
#ifdef RTLD_GLOBAL |
|
11357 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11358 |
#else |
|
11359 |
# ifdef DL_GLOBAL |
|
11360 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11361 |
# else |
|
11362 |
# define LT_DLGLOBAL 0 |
|
11363 |
# endif |
|
11364 |
#endif |
|
11365 |
||
11366 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11367 |
find out it does not work in some platform. */ |
|
11368 |
#ifndef LT_DLLAZY_OR_NOW |
|
11369 |
# ifdef RTLD_LAZY |
|
11370 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11371 |
# else |
|
11372 |
# ifdef DL_LAZY |
|
11373 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11374 |
# else |
|
11375 |
# ifdef RTLD_NOW |
|
11376 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11377 |
# else |
|
11378 |
# ifdef DL_NOW |
|
11379 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11380 |
# else |
|
11381 |
# define LT_DLLAZY_OR_NOW 0 |
|
11382 |
# endif |
|
11383 |
# endif |
|
11384 |
# endif |
|
11385 |
# endif |
|
11386 |
#endif |
|
11387 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11388 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11389 |
correspondingly for the symbols needed. */ |
|
11390 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11391 |
int fnord () __attribute__((visibility("default"))); |
|
11392 |
#endif |
|
11393 |
||
11394 |
int fnord () { return 42; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11395 |
int main () |
11396 |
{ |
|
11397 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11398 |
int status = $lt_dlunknown; |
|
11399 |
||
11400 |
if (self) |
|
11401 |
{ |
|
11402 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11403 |
else |
11404 |
{ |
|
11405 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11406 |
else puts (dlerror ()); |
|
11407 |
} |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11408 |
/* dlclose (self); */ |
11409 |
} |
|
11410 |
else |
|
11411 |
puts (dlerror ()); |
|
11412 |
||
11413 |
return status; |
|
11414 |
} |
|
11415 |
_LT_EOF |
|
11416 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11417 |
(eval $ac_link) 2>&5 |
|
11418 |
ac_status=$? |
|
11419 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11420 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
11421 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11422 |
lt_status=$? |
|
11423 |
case x$lt_status in |
|
11424 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
11425 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
11426 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
11427 |
esac |
|
11428 |
else : |
|
11429 |
# compilation failed |
|
11430 |
lt_cv_dlopen_self=no |
|
11431 |
fi |
|
11432 |
fi |
|
11433 |
rm -fr conftest* |
|
11434 |
||
11435 |
||
11436 |
fi |
|
11437 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
|
11438 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
11439 |
||
11440 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
11441 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
11442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
|
11443 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11444 |
if ${lt_cv_dlopen_self_static+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11445 |
$as_echo_n "(cached) " >&6 |
11446 |
else |
|
11447 |
if test "$cross_compiling" = yes; then : |
|
11448 |
lt_cv_dlopen_self_static=cross |
|
11449 |
else |
|
11450 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11451 |
lt_status=$lt_dlunknown |
|
11452 |
cat > conftest.$ac_ext <<_LT_EOF |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11453 |
#line $LINENO "configure" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11454 |
#include "confdefs.h" |
11455 |
||
11456 |
#if HAVE_DLFCN_H |
|
11457 |
#include <dlfcn.h> |
|
11458 |
#endif |
|
11459 |
||
11460 |
#include <stdio.h> |
|
11461 |
||
11462 |
#ifdef RTLD_GLOBAL |
|
11463 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11464 |
#else |
|
11465 |
# ifdef DL_GLOBAL |
|
11466 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11467 |
# else |
|
11468 |
# define LT_DLGLOBAL 0 |
|
11469 |
# endif |
|
11470 |
#endif |
|
11471 |
||
11472 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11473 |
find out it does not work in some platform. */ |
|
11474 |
#ifndef LT_DLLAZY_OR_NOW |
|
11475 |
# ifdef RTLD_LAZY |
|
11476 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11477 |
# else |
|
11478 |
# ifdef DL_LAZY |
|
11479 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11480 |
# else |
|
11481 |
# ifdef RTLD_NOW |
|
11482 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11483 |
# else |
|
11484 |
# ifdef DL_NOW |
|
11485 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11486 |
# else |
|
11487 |
# define LT_DLLAZY_OR_NOW 0 |
|
11488 |
# endif |
|
11489 |
# endif |
|
11490 |
# endif |
|
11491 |
# endif |
|
11492 |
#endif |
|
11493 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11494 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11495 |
correspondingly for the symbols needed. */ |
|
11496 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11497 |
int fnord () __attribute__((visibility("default"))); |
|
11498 |
#endif |
|
11499 |
||
11500 |
int fnord () { return 42; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11501 |
int main () |
11502 |
{ |
|
11503 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11504 |
int status = $lt_dlunknown; |
|
11505 |
||
11506 |
if (self) |
|
11507 |
{ |
|
11508 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11509 |
else |
11510 |
{ |
|
11511 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11512 |
else puts (dlerror ()); |
|
11513 |
} |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11514 |
/* dlclose (self); */ |
11515 |
} |
|
11516 |
else |
|
11517 |
puts (dlerror ()); |
|
11518 |
||
11519 |
return status; |
|
11520 |
} |
|
11521 |
_LT_EOF |
|
11522 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11523 |
(eval $ac_link) 2>&5 |
|
11524 |
ac_status=$? |
|
11525 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11526 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
11527 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11528 |
lt_status=$? |
|
11529 |
case x$lt_status in |
|
11530 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11531 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11532 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
11533 |
esac |
|
11534 |
else : |
|
11535 |
# compilation failed |
|
11536 |
lt_cv_dlopen_self_static=no |
|
11537 |
fi |
|
11538 |
fi |
|
11539 |
rm -fr conftest* |
|
11540 |
||
11541 |
||
11542 |
fi |
|
11543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
|
11544 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
11545 |
fi |
|
11546 |
||
11547 |
CPPFLAGS="$save_CPPFLAGS" |
|
11548 |
LDFLAGS="$save_LDFLAGS" |
|
11549 |
LIBS="$save_LIBS" |
|
11550 |
;; |
|
11551 |
esac |
|
11552 |
||
11553 |
case $lt_cv_dlopen_self in |
|
11554 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
11555 |
*) enable_dlopen_self=unknown ;; |
|
11556 |
esac |
|
11557 |
||
11558 |
case $lt_cv_dlopen_self_static in |
|
11559 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
11560 |
*) enable_dlopen_self_static=unknown ;; |
|
11561 |
esac |
|
11562 |
fi |
|
11563 |
||
11564 |
||
11565 |
||
11566 |
||
11567 |
||
11568 |
||
11569 |
||
11570 |
||
11571 |
||
11572 |
||
11573 |
||
11574 |
||
11575 |
||
11576 |
||
11577 |
||
11578 |
||
11579 |
||
11580 |
striplib= |
|
11581 |
old_striplib= |
|
11582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
|
11583 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
11584 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
11585 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
11586 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
11587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11588 |
$as_echo "yes" >&6; } |
|
11589 |
else |
|
11590 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
11591 |
case $host_os in |
|
11592 |
darwin*) |
|
11593 |
if test -n "$STRIP" ; then |
|
11594 |
striplib="$STRIP -x" |
|
11595 |
old_striplib="$STRIP -S" |
|
11596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11597 |
$as_echo "yes" >&6; } |
|
11598 |
else |
|
11599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11600 |
$as_echo "no" >&6; } |
|
11601 |
fi |
|
11602 |
;; |
|
11603 |
*) |
|
11604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11605 |
$as_echo "no" >&6; } |
|
11606 |
;; |
|
11607 |
esac |
|
11608 |
fi |
|
11609 |
||
11610 |
||
11611 |
||
11612 |
||
11613 |
||
11614 |
||
11615 |
||
11616 |
||
11617 |
||
11618 |
||
11619 |
||
11620 |
||
11621 |
# Report which library types will actually be built |
|
11622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
11623 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
11624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
11625 |
$as_echo "$can_build_shared" >&6; } |
|
11626 |
||
11627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
11628 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
11629 |
test "$can_build_shared" = "no" && enable_shared=no |
|
11630 |
||
11631 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
11632 |
# are all built from PIC. |
|
11633 |
case $host_os in |
|
11634 |
aix3*) |
|
11635 |
test "$enable_shared" = yes && enable_static=no |
|
11636 |
if test -n "$RANLIB"; then |
|
11637 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
11638 |
postinstall_cmds='$RANLIB $lib' |
|
11639 |
fi |
|
11640 |
;; |
|
11641 |
||
11642 |
aix[4-9]*) |
|
11643 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
11644 |
test "$enable_shared" = yes && enable_static=no |
|
11645 |
fi |
|
11646 |
;; |
|
11647 |
esac |
|
11648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
11649 |
$as_echo "$enable_shared" >&6; } |
|
11650 |
||
11651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
11652 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
11653 |
# Make sure either enable_shared or enable_static is yes. |
|
11654 |
test "$enable_shared" = yes || enable_static=yes |
|
11655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
11656 |
$as_echo "$enable_static" >&6; } |
|
11657 |
||
11658 |
||
11659 |
||
11660 |
||
11661 |
fi |
|
11662 |
ac_ext=c |
|
11663 |
ac_cpp='$CPP $CPPFLAGS' |
|
11664 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11665 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11666 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11667 |
||
11668 |
CC="$lt_save_CC" |
|
11669 |
||
11670 |
||
11671 |
||
11672 |
||
11673 |
||
11674 |
||
11675 |
||
11676 |
||
11677 |
||
11678 |
||
11679 |
||
11680 |
||
11681 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11682 |
|
11683 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11684 |
ac_config_commands="$ac_config_commands libtool" |
11685 |
||
11686 |
||
11687 |
||
11688 |
||
11689 |
# Only expand once: |
|
11690 |
||
11691 |
||
11692 |
||
11693 |
||
1.1.58
by Ken VanDine
Import upstream version 3.1.5.1 |
11694 |
|
11695 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11696 |
# Check for python 2.6 |
11697 |
||
11698 |
||
11699 |
||
11700 |
||
11701 |
if test -n "$PYTHON"; then |
|
11702 |
# If the user set $PYTHON, use it and don't search something else. |
|
11703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5 |
|
11704 |
$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; } |
|
11705 |
prog="import sys, string |
|
11706 |
# split strings by '.' and convert to numeric. Append some zeros |
|
11707 |
# because we need at least 4 digits for the hex conversion. |
|
11708 |
minver = map(int, string.split('2.6', '.')) + [0, 0, 0] |
|
11709 |
minverhex = 0 |
|
11710 |
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] |
|
11711 |
sys.exit(sys.hexversion < minverhex)" |
|
11712 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
11713 |
($PYTHON -c "$prog") >&5 2>&5 |
|
11714 |
ac_status=$? |
|
11715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11716 |
(exit $ac_status); }; then : |
|
11717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11718 |
$as_echo "yes" >&6; } |
|
11719 |
else |
|
11720 |
as_fn_error $? "too old" "$LINENO" 5 |
|
11721 |
fi |
|
11722 |
am_display_PYTHON=$PYTHON |
|
11723 |
else |
|
11724 |
# Otherwise, try each interpreter until we find one that satisfies |
|
11725 |
# VERSION. |
|
11726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5 |
|
11727 |
$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11728 |
if ${am_cv_pathless_PYTHON+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11729 |
$as_echo_n "(cached) " >&6 |
11730 |
else |
|
11731 |
||
11732 |
for am_cv_pathless_PYTHON in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do |
|
11733 |
test "$am_cv_pathless_PYTHON" = none && break |
|
11734 |
prog="import sys, string |
|
11735 |
# split strings by '.' and convert to numeric. Append some zeros |
|
11736 |
# because we need at least 4 digits for the hex conversion. |
|
11737 |
minver = map(int, string.split('2.6', '.')) + [0, 0, 0] |
|
11738 |
minverhex = 0 |
|
11739 |
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] |
|
11740 |
sys.exit(sys.hexversion < minverhex)" |
|
11741 |
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
|
11742 |
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
|
11743 |
ac_status=$? |
|
11744 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11745 |
(exit $ac_status); }; then : |
|
11746 |
break |
|
11747 |
fi |
|
11748 |
done |
|
11749 |
fi |
|
11750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 |
|
11751 |
$as_echo "$am_cv_pathless_PYTHON" >&6; } |
|
11752 |
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
|
11753 |
if test "$am_cv_pathless_PYTHON" = none; then |
|
11754 |
PYTHON=: |
|
11755 |
else |
|
11756 |
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. |
|
11757 |
set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
|
11758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
11759 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11760 |
if ${ac_cv_path_PYTHON+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11761 |
$as_echo_n "(cached) " >&6 |
11762 |
else |
|
11763 |
case $PYTHON in |
|
11764 |
[\\/]* | ?:[\\/]*) |
|
11765 |
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
|
11766 |
;; |
|
11767 |
*) |
|
11768 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
11769 |
for as_dir in $PATH |
|
11770 |
do |
|
11771 |
IFS=$as_save_IFS |
|
11772 |
test -z "$as_dir" && as_dir=. |
|
11773 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
11774 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
11775 |
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
|
11776 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
11777 |
break 2 |
|
11778 |
fi |
|
11779 |
done |
|
11780 |
done |
|
11781 |
IFS=$as_save_IFS |
|
11782 |
||
11783 |
;; |
|
11784 |
esac |
|
11785 |
fi |
|
11786 |
PYTHON=$ac_cv_path_PYTHON |
|
11787 |
if test -n "$PYTHON"; then |
|
11788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
|
11789 |
$as_echo "$PYTHON" >&6; } |
|
11790 |
else |
|
11791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11792 |
$as_echo "no" >&6; } |
|
11793 |
fi |
|
11794 |
||
11795 |
||
11796 |
fi |
|
11797 |
am_display_PYTHON=$am_cv_pathless_PYTHON |
|
11798 |
fi |
|
11799 |
||
11800 |
||
11801 |
if test "$PYTHON" = :; then |
|
11802 |
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 |
|
11803 |
else |
|
11804 |
||
11805 |
||
11806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
11807 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11808 |
if ${am_cv_python_version+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11809 |
$as_echo_n "(cached) " >&6 |
11810 |
else |
|
11811 |
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
|
11812 |
fi |
|
11813 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
11814 |
$as_echo "$am_cv_python_version" >&6; } |
|
11815 |
PYTHON_VERSION=$am_cv_python_version |
|
11816 |
||
11817 |
||
11818 |
||
11819 |
PYTHON_PREFIX='${prefix}' |
|
11820 |
||
11821 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
11822 |
||
11823 |
||
11824 |
||
11825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
11826 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11827 |
if ${am_cv_python_platform+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11828 |
$as_echo_n "(cached) " >&6 |
11829 |
else |
|
11830 |
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
|
11831 |
fi |
|
11832 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
11833 |
$as_echo "$am_cv_python_platform" >&6; } |
|
11834 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
11835 |
||
11836 |
||
11837 |
||
11838 |
||
11839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
11840 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11841 |
if ${am_cv_python_pythondir+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11842 |
$as_echo_n "(cached) " >&6 |
11843 |
else |
|
11844 |
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
|
11845 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
11846 |
fi |
|
11847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
11848 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
11849 |
pythondir=$am_cv_python_pythondir |
|
11850 |
||
11851 |
||
11852 |
||
11853 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
11854 |
||
11855 |
||
11856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
11857 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11858 |
if ${am_cv_python_pyexecdir+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11859 |
$as_echo_n "(cached) " >&6 |
11860 |
else |
|
11861 |
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
|
11862 |
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
|
11863 |
fi |
|
11864 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
11865 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
11866 |
pyexecdir=$am_cv_python_pyexecdir |
|
11867 |
||
11868 |
||
11869 |
||
11870 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
11871 |
||
11872 |
||
11873 |
||
11874 |
fi |
|
11875 |
||
11876 |
||
11877 |
||
1.1.58
by Ken VanDine
Import upstream version 3.1.5.1 |
11878 |
########################### |
11879 |
# Internationalization |
|
11880 |
########################### |
|
11881 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11882 |
GETTEXT_PACKAGE="${PACKAGE}" |
11883 |
||
1.1.58
by Ken VanDine
Import upstream version 3.1.5.1 |
11884 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11885 |
cat >>confdefs.h <<_ACEOF |
11886 |
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" |
|
11887 |
_ACEOF |
|
11888 |
||
11889 |
localedir='$(prefix)/$(DATADIRNAME)/locale' |
|
11890 |
||
11891 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
11893 |
$as_echo_n "checking whether NLS is requested... " >&6; } |
|
11894 |
# Check whether --enable-nls was given. |
|
11895 |
if test "${enable_nls+set}" = set; then : |
|
11896 |
enableval=$enable_nls; USE_NLS=$enableval |
|
11897 |
else |
|
11898 |
USE_NLS=yes |
|
11899 |
fi |
|
11900 |
||
11901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
|
11902 |
$as_echo "$USE_NLS" >&6; } |
|
11903 |
||
11904 |
||
11905 |
||
11906 |
||
11907 |
GETTEXT_MACRO_VERSION=0.17 |
|
11908 |
||
11909 |
||
11910 |
||
11911 |
||
11912 |
# Prepare PATH_SEPARATOR. |
|
11913 |
# The user is always right. |
|
11914 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
11915 |
echo "#! /bin/sh" >conf$$.sh |
|
11916 |
echo "exit 0" >>conf$$.sh |
|
11917 |
chmod +x conf$$.sh |
|
11918 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
11919 |
PATH_SEPARATOR=';' |
|
11920 |
else |
|
11921 |
PATH_SEPARATOR=: |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11922 |
fi |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11923 |
rm -f conf$$.sh |
11924 |
fi |
|
11925 |
||
11926 |
# Find out how to test for executable files. Don't use a zero-byte file, |
|
11927 |
# as systems may use methods other than mode bits to determine executability. |
|
11928 |
cat >conf$$.file <<_ASEOF |
|
11929 |
#! /bin/sh |
|
11930 |
exit 0 |
|
11931 |
_ASEOF |
|
11932 |
chmod +x conf$$.file |
|
11933 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
11934 |
ac_executable_p="test -x" |
|
11935 |
else |
|
11936 |
ac_executable_p="test -f" |
|
11937 |
fi |
|
11938 |
rm -f conf$$.file |
|
11939 |
||
11940 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11941 |
set dummy msgfmt; ac_word=$2 |
11942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
11943 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11944 |
if ${ac_cv_path_MSGFMT+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11945 |
$as_echo_n "(cached) " >&6 |
11946 |
else |
|
11947 |
case "$MSGFMT" in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11948 |
[\\/]* | ?:[\\/]*) |
11949 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
11950 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11951 |
*) |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11952 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
11953 |
for ac_dir in $PATH; do |
|
11954 |
IFS="$ac_save_IFS" |
|
11955 |
test -z "$ac_dir" && ac_dir=. |
|
11956 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
11957 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
11958 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
|
11959 |
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
|
11960 |
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
|
11961 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
|
11962 |
break 2 |
|
11963 |
fi |
|
11964 |
fi |
|
11965 |
done |
|
11966 |
done |
|
11967 |
IFS="$ac_save_IFS" |
|
11968 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
|
11969 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11970 |
esac |
11971 |
fi |
|
11972 |
MSGFMT="$ac_cv_path_MSGFMT" |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11973 |
if test "$MSGFMT" != ":"; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
11975 |
$as_echo "$MSGFMT" >&6; } |
|
11976 |
else |
|
11977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11978 |
$as_echo "no" >&6; } |
|
11979 |
fi |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
11980 |
|
11981 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11982 |
set dummy gmsgfmt; ac_word=$2 |
11983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
11984 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
11985 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
11986 |
$as_echo_n "(cached) " >&6 |
11987 |
else |
|
11988 |
case $GMSGFMT in |
|
11989 |
[\\/]* | ?:[\\/]*) |
|
11990 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
11991 |
;; |
|
11992 |
*) |
|
11993 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
11994 |
for as_dir in $PATH |
|
11995 |
do |
|
11996 |
IFS=$as_save_IFS |
|
11997 |
test -z "$as_dir" && as_dir=. |
|
11998 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
11999 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12000 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
12001 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
12002 |
break 2 |
|
12003 |
fi |
|
12004 |
done |
|
12005 |
done |
|
12006 |
IFS=$as_save_IFS |
|
12007 |
||
12008 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
12009 |
;; |
|
12010 |
esac |
|
12011 |
fi |
|
12012 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
12013 |
if test -n "$GMSGFMT"; then |
|
12014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
|
12015 |
$as_echo "$GMSGFMT" >&6; } |
|
12016 |
else |
|
12017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
12018 |
$as_echo "no" >&6; } |
|
12019 |
fi |
|
12020 |
||
12021 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12022 |
|
12023 |
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|
12024 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
|
12025 |
*) MSGFMT_015=$MSGFMT ;; |
|
12026 |
esac |
|
12027 |
||
12028 |
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|
12029 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
|
12030 |
*) GMSGFMT_015=$GMSGFMT ;; |
|
12031 |
esac |
|
12032 |
||
12033 |
||
12034 |
||
12035 |
# Prepare PATH_SEPARATOR. |
|
12036 |
# The user is always right. |
|
12037 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
12038 |
echo "#! /bin/sh" >conf$$.sh |
|
12039 |
echo "exit 0" >>conf$$.sh |
|
12040 |
chmod +x conf$$.sh |
|
12041 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
12042 |
PATH_SEPARATOR=';' |
|
12043 |
else |
|
12044 |
PATH_SEPARATOR=: |
|
12045 |
fi |
|
12046 |
rm -f conf$$.sh |
|
12047 |
fi |
|
12048 |
||
12049 |
# Find out how to test for executable files. Don't use a zero-byte file, |
|
12050 |
# as systems may use methods other than mode bits to determine executability. |
|
12051 |
cat >conf$$.file <<_ASEOF |
|
12052 |
#! /bin/sh |
|
12053 |
exit 0 |
|
12054 |
_ASEOF |
|
12055 |
chmod +x conf$$.file |
|
12056 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
12057 |
ac_executable_p="test -x" |
|
12058 |
else |
|
12059 |
ac_executable_p="test -f" |
|
12060 |
fi |
|
12061 |
rm -f conf$$.file |
|
12062 |
||
12063 |
# Extract the first word of "xgettext", so it can be a program name with args. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12064 |
set dummy xgettext; ac_word=$2 |
12065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
12066 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
12067 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12068 |
$as_echo_n "(cached) " >&6 |
12069 |
else |
|
12070 |
case "$XGETTEXT" in |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12071 |
[\\/]* | ?:[\\/]*) |
12072 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
12073 |
;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12074 |
*) |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12075 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
12076 |
for ac_dir in $PATH; do |
|
12077 |
IFS="$ac_save_IFS" |
|
12078 |
test -z "$ac_dir" && ac_dir=. |
|
12079 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12080 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
12081 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
|
12082 |
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && |
|
12083 |
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
|
12084 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
|
12085 |
break 2 |
|
12086 |
fi |
|
12087 |
fi |
|
12088 |
done |
|
12089 |
done |
|
12090 |
IFS="$ac_save_IFS" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12091 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12092 |
;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12093 |
esac |
12094 |
fi |
|
12095 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
|
12096 |
if test "$XGETTEXT" != ":"; then |
|
12097 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
|
12098 |
$as_echo "$XGETTEXT" >&6; } |
|
12099 |
else |
|
12100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
12101 |
$as_echo "no" >&6; } |
|
12102 |
fi |
|
12103 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12104 |
rm -f messages.po |
12105 |
||
12106 |
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|
12107 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
|
12108 |
*) XGETTEXT_015=$XGETTEXT ;; |
|
12109 |
esac |
|
12110 |
||
12111 |
||
12112 |
||
12113 |
# Prepare PATH_SEPARATOR. |
|
12114 |
# The user is always right. |
|
12115 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
12116 |
echo "#! /bin/sh" >conf$$.sh |
|
12117 |
echo "exit 0" >>conf$$.sh |
|
12118 |
chmod +x conf$$.sh |
|
12119 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
12120 |
PATH_SEPARATOR=';' |
|
12121 |
else |
|
12122 |
PATH_SEPARATOR=: |
|
12123 |
fi |
|
12124 |
rm -f conf$$.sh |
|
12125 |
fi |
|
12126 |
||
12127 |
# Find out how to test for executable files. Don't use a zero-byte file, |
|
12128 |
# as systems may use methods other than mode bits to determine executability. |
|
12129 |
cat >conf$$.file <<_ASEOF |
|
12130 |
#! /bin/sh |
|
12131 |
exit 0 |
|
12132 |
_ASEOF |
|
12133 |
chmod +x conf$$.file |
|
12134 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
12135 |
ac_executable_p="test -x" |
|
12136 |
else |
|
12137 |
ac_executable_p="test -f" |
|
12138 |
fi |
|
12139 |
rm -f conf$$.file |
|
12140 |
||
12141 |
# Extract the first word of "msgmerge", so it can be a program name with args. |
|
12142 |
set dummy msgmerge; ac_word=$2 |
|
12143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
12144 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
12145 |
if ${ac_cv_path_MSGMERGE+:} false; then : |
|
12146 |
$as_echo_n "(cached) " >&6 |
|
12147 |
else |
|
12148 |
case "$MSGMERGE" in |
|
12149 |
[\\/]* | ?:[\\/]*) |
|
12150 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
|
12151 |
;; |
|
12152 |
*) |
|
12153 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
|
12154 |
for ac_dir in $PATH; do |
|
12155 |
IFS="$ac_save_IFS" |
|
12156 |
test -z "$ac_dir" && ac_dir=. |
|
12157 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12158 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
12159 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
|
12160 |
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
|
12161 |
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
|
12162 |
break 2 |
|
12163 |
fi |
|
12164 |
fi |
|
12165 |
done |
|
12166 |
done |
|
12167 |
IFS="$ac_save_IFS" |
|
12168 |
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
|
12169 |
;; |
|
12170 |
esac |
|
12171 |
fi |
|
12172 |
MSGMERGE="$ac_cv_path_MSGMERGE" |
|
12173 |
if test "$MSGMERGE" != ":"; then |
|
12174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
|
12175 |
$as_echo "$MSGMERGE" >&6; } |
|
12176 |
else |
|
12177 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
12178 |
$as_echo "no" >&6; } |
|
12179 |
fi |
|
12180 |
||
12181 |
||
12182 |
test -n "$localedir" || localedir='${datadir}/locale' |
|
12183 |
||
12184 |
||
12185 |
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
|
12186 |
||
12187 |
||
12188 |
ac_config_commands="$ac_config_commands po-directories" |
|
12189 |
||
12190 |
||
12191 |
||
12192 |
if test "X$prefix" = "XNONE"; then |
|
12193 |
acl_final_prefix="$ac_default_prefix" |
|
12194 |
else |
|
12195 |
acl_final_prefix="$prefix" |
|
12196 |
fi |
|
12197 |
if test "X$exec_prefix" = "XNONE"; then |
|
12198 |
acl_final_exec_prefix='${prefix}' |
|
12199 |
else |
|
12200 |
acl_final_exec_prefix="$exec_prefix" |
|
12201 |
fi |
|
12202 |
acl_save_prefix="$prefix" |
|
12203 |
prefix="$acl_final_prefix" |
|
12204 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
|
12205 |
prefix="$acl_save_prefix" |
|
12206 |
||
12207 |
||
12208 |
# Check whether --with-gnu-ld was given. |
|
12209 |
if test "${with_gnu_ld+set}" = set; then : |
|
12210 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
12211 |
else |
|
12212 |
with_gnu_ld=no |
|
12213 |
fi |
|
12214 |
||
12215 |
# Prepare PATH_SEPARATOR. |
|
12216 |
# The user is always right. |
|
12217 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
12218 |
echo "#! /bin/sh" >conf$$.sh |
|
12219 |
echo "exit 0" >>conf$$.sh |
|
12220 |
chmod +x conf$$.sh |
|
12221 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
12222 |
PATH_SEPARATOR=';' |
|
12223 |
else |
|
12224 |
PATH_SEPARATOR=: |
|
12225 |
fi |
|
12226 |
rm -f conf$$.sh |
|
12227 |
fi |
|
12228 |
ac_prog=ld |
|
12229 |
if test "$GCC" = yes; then |
|
12230 |
# Check if gcc -print-prog-name=ld gives a path. |
|
12231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
|
12232 |
$as_echo_n "checking for ld used by GCC... " >&6; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
12233 |
case $host in |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
12234 |
*-*-mingw*) |
12235 |
# gcc leaves a trailing carriage return which upsets mingw |
|
12236 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
12237 |
*) |
|
12238 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
12239 |
esac |
|
12240 |
case $ac_prog in |
|
12241 |
# Accept absolute paths. |
|
12242 |
[\\/]* | [A-Za-z]:[\\/]*) |
|
12243 |
re_direlt='/[^/][^/]*/\.\./' |
|
12244 |
# Canonicalize the path of ld |
|
12245 |
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
|
12246 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
12247 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
|
12248 |
done |
|
12249 |
test -z "$LD" && LD="$ac_prog" |
|
12250 |
;; |
|
12251 |
"") |
|
12252 |
# If it fails, then pretend we aren't using GCC. |
|
12253 |
ac_prog=ld |
|
12254 |
;; |
|
12255 |
*) |
|
12256 |
# If it is relative, then search for the first ld in PATH. |
|
12257 |
with_gnu_ld=unknown |
|
12258 |
;; |
|
12259 |
esac |
|
12260 |
elif test "$with_gnu_ld" = yes; then |
|
12261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
12262 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
12263 |
else |
|
12264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
12265 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
12266 |
fi |
|
12267 |
if ${acl_cv_path_LD+:} false; then : |
|
12268 |
$as_echo_n "(cached) " >&6 |
|
12269 |
else |
|
12270 |
if test -z "$LD"; then |
|
12271 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
|
12272 |
for ac_dir in $PATH; do |
|
12273 |
test -z "$ac_dir" && ac_dir=. |
|
12274 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
12275 |
acl_cv_path_LD="$ac_dir/$ac_prog" |
|
12276 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
12277 |
# but apparently some GNU ld's only accept -v. |
|
12278 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
12279 |
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in |
|
12280 |
*GNU* | *'with BFD'*) |
|
12281 |
test "$with_gnu_ld" != no && break ;; |
|
12282 |
*) |
|
12283 |
test "$with_gnu_ld" != yes && break ;; |
|
12284 |
esac |
|
12285 |
fi |
|
12286 |
done |
|
12287 |
IFS="$ac_save_ifs" |
|
12288 |
else |
|
12289 |
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
|
12290 |
fi |
|
12291 |
fi |
|
12292 |
||
12293 |
LD="$acl_cv_path_LD" |
|
12294 |
if test -n "$LD"; then |
|
12295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
12296 |
$as_echo "$LD" >&6; } |
|
12297 |
else |
|
12298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
12299 |
$as_echo "no" >&6; } |
|
12300 |
fi |
|
12301 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
|
12302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
12303 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
12304 |
if ${acl_cv_prog_gnu_ld+:} false; then : |
|
12305 |
$as_echo_n "(cached) " >&6 |
|
12306 |
else |
|
12307 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
|
12308 |
case `$LD -v 2>&1 </dev/null` in |
|
12309 |
*GNU* | *'with BFD'*) |
|
12310 |
acl_cv_prog_gnu_ld=yes ;; |
|
12311 |
*) |
|
12312 |
acl_cv_prog_gnu_ld=no ;; |
|
12313 |
esac |
|
12314 |
fi |
|
12315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
|
12316 |
$as_echo "$acl_cv_prog_gnu_ld" >&6; } |
|
12317 |
with_gnu_ld=$acl_cv_prog_gnu_ld |
|
12318 |
||
12319 |
||
12320 |
||
12321 |
||
12322 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
|
12323 |
$as_echo_n "checking for shared library run path origin... " >&6; } |
|
12324 |
if ${acl_cv_rpath+:} false; then : |
|
12325 |
$as_echo_n "(cached) " >&6 |
|
12326 |
else |
|
12327 |
||
12328 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
|
12329 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
|
12330 |
. ./conftest.sh |
|
12331 |
rm -f ./conftest.sh |
|
12332 |
acl_cv_rpath=done |
|
12333 |
||
12334 |
fi |
|
12335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
|
12336 |
$as_echo "$acl_cv_rpath" >&6; } |
|
12337 |
wl="$acl_cv_wl" |
|
12338 |
acl_libext="$acl_cv_libext" |
|
12339 |
acl_shlibext="$acl_cv_shlibext" |
|
12340 |
acl_libname_spec="$acl_cv_libname_spec" |
|
12341 |
acl_library_names_spec="$acl_cv_library_names_spec" |
|
12342 |
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
|
12343 |
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
|
12344 |
acl_hardcode_direct="$acl_cv_hardcode_direct" |
|
12345 |
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
|
12346 |
# Check whether --enable-rpath was given. |
|
12347 |
if test "${enable_rpath+set}" = set; then : |
|
12348 |
enableval=$enable_rpath; : |
|
12349 |
else |
|
12350 |
enable_rpath=yes |
|
12351 |
fi |
|
12352 |
||
12353 |
||
12354 |
||
12355 |
acl_libdirstem=lib |
|
12356 |
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` |
|
12357 |
if test -n "$searchpath"; then |
|
12358 |
acl_save_IFS="${IFS= }"; IFS=":" |
|
12359 |
for searchdir in $searchpath; do |
|
12360 |
if test -d "$searchdir"; then |
|
12361 |
case "$searchdir" in |
|
12362 |
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
|
12363 |
*) searchdir=`cd "$searchdir" && pwd` |
|
12364 |
case "$searchdir" in |
|
12365 |
*/lib64 ) acl_libdirstem=lib64 ;; |
|
12366 |
esac ;; |
|
12367 |
esac |
|
12368 |
fi |
|
12369 |
done |
|
12370 |
IFS="$acl_save_IFS" |
|
12371 |
fi |
|
12372 |
||
12373 |
||
12374 |
||
12375 |
||
12376 |
||
12377 |
||
12378 |
||
12379 |
||
12380 |
||
12381 |
use_additional=yes |
|
12382 |
||
12383 |
acl_save_prefix="$prefix" |
|
12384 |
prefix="$acl_final_prefix" |
|
12385 |
acl_save_exec_prefix="$exec_prefix" |
|
12386 |
exec_prefix="$acl_final_exec_prefix" |
|
12387 |
||
12388 |
eval additional_includedir=\"$includedir\" |
|
12389 |
eval additional_libdir=\"$libdir\" |
|
12390 |
||
12391 |
exec_prefix="$acl_save_exec_prefix" |
|
12392 |
prefix="$acl_save_prefix" |
|
12393 |
||
12394 |
||
12395 |
# Check whether --with-libiconv-prefix was given. |
|
12396 |
if test "${with_libiconv_prefix+set}" = set; then : |
|
12397 |
withval=$with_libiconv_prefix; |
|
12398 |
if test "X$withval" = "Xno"; then |
|
12399 |
use_additional=no |
|
12400 |
else |
|
12401 |
if test "X$withval" = "X"; then |
|
12402 |
||
12403 |
acl_save_prefix="$prefix" |
|
12404 |
prefix="$acl_final_prefix" |
|
12405 |
acl_save_exec_prefix="$exec_prefix" |
|
12406 |
exec_prefix="$acl_final_exec_prefix" |
|
12407 |
||
12408 |
eval additional_includedir=\"$includedir\" |
|
12409 |
eval additional_libdir=\"$libdir\" |
|
12410 |
||
12411 |
exec_prefix="$acl_save_exec_prefix" |
|
12412 |
prefix="$acl_save_prefix" |
|
12413 |
||
12414 |
else |
|
12415 |
additional_includedir="$withval/include" |
|
12416 |
additional_libdir="$withval/$acl_libdirstem" |
|
12417 |
fi |
|
12418 |
fi |
|
12419 |
||
12420 |
fi |
|
12421 |
||
12422 |
LIBICONV= |
|
12423 |
LTLIBICONV= |
|
12424 |
INCICONV= |
|
12425 |
LIBICONV_PREFIX= |
|
12426 |
rpathdirs= |
|
12427 |
ltrpathdirs= |
|
12428 |
names_already_handled= |
|
12429 |
names_next_round='iconv ' |
|
12430 |
while test -n "$names_next_round"; do |
|
12431 |
names_this_round="$names_next_round" |
|
12432 |
names_next_round= |
|
12433 |
for name in $names_this_round; do |
|
12434 |
already_handled= |
|
12435 |
for n in $names_already_handled; do |
|
12436 |
if test "$n" = "$name"; then |
|
12437 |
already_handled=yes |
|
12438 |
break |
|
12439 |
fi |
|
12440 |
done |
|
12441 |
if test -z "$already_handled"; then |
|
12442 |
names_already_handled="$names_already_handled $name" |
|
12443 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
|
12444 |
eval value=\"\$HAVE_LIB$uppername\" |
|
12445 |
if test -n "$value"; then |
|
12446 |
if test "$value" = yes; then |
|
12447 |
eval value=\"\$LIB$uppername\" |
|
12448 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
|
12449 |
eval value=\"\$LTLIB$uppername\" |
|
12450 |
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
|
12451 |
else |
|
12452 |
: |
|
12453 |
fi |
|
12454 |
else |
|
12455 |
found_dir= |
|
12456 |
found_la= |
|
12457 |
found_so= |
|
12458 |
found_a= |
|
12459 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
|
12460 |
if test -n "$acl_shlibext"; then |
|
12461 |
shrext=".$acl_shlibext" # typically: shrext=.so |
|
12462 |
else |
|
12463 |
shrext= |
|
12464 |
fi |
|
12465 |
if test $use_additional = yes; then |
|
12466 |
dir="$additional_libdir" |
|
12467 |
if test -n "$acl_shlibext"; then |
|
12468 |
if test -f "$dir/$libname$shrext"; then |
|
12469 |
found_dir="$dir" |
|
12470 |
found_so="$dir/$libname$shrext" |
|
12471 |
else |
|
12472 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
12473 |
ver=`(cd "$dir" && \ |
|
12474 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
12475 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
12476 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
12477 |
| sed 1q ) 2>/dev/null` |
|
12478 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
12479 |
found_dir="$dir" |
|
12480 |
found_so="$dir/$libname$shrext.$ver" |
|
12481 |
fi |
|
12482 |
else |
|
12483 |
eval library_names=\"$acl_library_names_spec\" |
|
12484 |
for f in $library_names; do |
|
12485 |
if test -f "$dir/$f"; then |
|
12486 |
found_dir="$dir" |
|
12487 |
found_so="$dir/$f" |
|
12488 |
break |
|
12489 |
fi |
|
12490 |
done |
|
12491 |
fi |
|
12492 |
fi |
|
12493 |
fi |
|
12494 |
if test "X$found_dir" = "X"; then |
|
12495 |
if test -f "$dir/$libname.$acl_libext"; then |
|
12496 |
found_dir="$dir" |
|
12497 |
found_a="$dir/$libname.$acl_libext" |
|
12498 |
fi |
|
12499 |
fi |
|
12500 |
if test "X$found_dir" != "X"; then |
|
12501 |
if test -f "$dir/$libname.la"; then |
|
12502 |
found_la="$dir/$libname.la" |
|
12503 |
fi |
|
12504 |
fi |
|
12505 |
fi |
|
12506 |
if test "X$found_dir" = "X"; then |
|
12507 |
for x in $LDFLAGS $LTLIBICONV; do |
|
12508 |
||
12509 |
acl_save_prefix="$prefix" |
|
12510 |
prefix="$acl_final_prefix" |
|
12511 |
acl_save_exec_prefix="$exec_prefix" |
|
12512 |
exec_prefix="$acl_final_exec_prefix" |
|
12513 |
eval x=\"$x\" |
|
12514 |
exec_prefix="$acl_save_exec_prefix" |
|
12515 |
prefix="$acl_save_prefix" |
|
12516 |
||
12517 |
case "$x" in |
|
12518 |
-L*) |
|
12519 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
|
12520 |
if test -n "$acl_shlibext"; then |
|
12521 |
if test -f "$dir/$libname$shrext"; then |
|
12522 |
found_dir="$dir" |
|
12523 |
found_so="$dir/$libname$shrext" |
|
12524 |
else |
|
12525 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
12526 |
ver=`(cd "$dir" && \ |
|
12527 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
12528 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
12529 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
12530 |
| sed 1q ) 2>/dev/null` |
|
12531 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
12532 |
found_dir="$dir" |
|
12533 |
found_so="$dir/$libname$shrext.$ver" |
|
12534 |
fi |
|
12535 |
else |
|
12536 |
eval library_names=\"$acl_library_names_spec\" |
|
12537 |
for f in $library_names; do |
|
12538 |
if test -f "$dir/$f"; then |
|
12539 |
found_dir="$dir" |
|
12540 |
found_so="$dir/$f" |
|
12541 |
break |
|
12542 |
fi |
|
12543 |
done |
|
12544 |
fi |
|
12545 |
fi |
|
12546 |
fi |
|
12547 |
if test "X$found_dir" = "X"; then |
|
12548 |
if test -f "$dir/$libname.$acl_libext"; then |
|
12549 |
found_dir="$dir" |
|
12550 |
found_a="$dir/$libname.$acl_libext" |
|
12551 |
fi |
|
12552 |
fi |
|
12553 |
if test "X$found_dir" != "X"; then |
|
12554 |
if test -f "$dir/$libname.la"; then |
|
12555 |
found_la="$dir/$libname.la" |
|
12556 |
fi |
|
12557 |
fi |
|
12558 |
;; |
|
12559 |
esac |
|
12560 |
if test "X$found_dir" != "X"; then |
|
12561 |
break |
|
12562 |
fi |
|
12563 |
done |
|
12564 |
fi |
|
12565 |
if test "X$found_dir" != "X"; then |
|
12566 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
|
12567 |
if test "X$found_so" != "X"; then |
|
12568 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then |
|
12569 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
|
12570 |
else |
|
12571 |
haveit= |
|
12572 |
for x in $ltrpathdirs; do |
|
12573 |
if test "X$x" = "X$found_dir"; then |
|
12574 |
haveit=yes |
|
12575 |
break |
|
12576 |
fi |
|
12577 |
done |
|
12578 |
if test -z "$haveit"; then |
|
12579 |
ltrpathdirs="$ltrpathdirs $found_dir" |
|
12580 |
fi |
|
12581 |
if test "$acl_hardcode_direct" = yes; then |
|
12582 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
|
12583 |
else |
|
12584 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
|
12585 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
|
12586 |
haveit= |
|
12587 |
for x in $rpathdirs; do |
|
12588 |
if test "X$x" = "X$found_dir"; then |
|
12589 |
haveit=yes |
|
12590 |
break |
|
12591 |
fi |
|
12592 |
done |
|
12593 |
if test -z "$haveit"; then |
|
12594 |
rpathdirs="$rpathdirs $found_dir" |
|
12595 |
fi |
|
12596 |
else |
|
12597 |
haveit= |
|
12598 |
for x in $LDFLAGS $LIBICONV; do |
|
12599 |
||
12600 |
acl_save_prefix="$prefix" |
|
12601 |
prefix="$acl_final_prefix" |
|
12602 |
acl_save_exec_prefix="$exec_prefix" |
|
12603 |
exec_prefix="$acl_final_exec_prefix" |
|
12604 |
eval x=\"$x\" |
|
12605 |
exec_prefix="$acl_save_exec_prefix" |
|
12606 |
prefix="$acl_save_prefix" |
|
12607 |
||
12608 |
if test "X$x" = "X-L$found_dir"; then |
|
12609 |
haveit=yes |
|
12610 |
break |
|
12611 |
fi |
|
12612 |
done |
|
12613 |
if test -z "$haveit"; then |
|
12614 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
|
12615 |
fi |
|
12616 |
if test "$acl_hardcode_minus_L" != no; then |
|
12617 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
|
12618 |
else |
|
12619 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
|
12620 |
fi |
|
12621 |
fi |
|
12622 |
fi |
|
12623 |
fi |
|
12624 |
else |
|
12625 |
if test "X$found_a" != "X"; then |
|
12626 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
|
12627 |
else |
|
12628 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
|
12629 |
fi |
|
12630 |
fi |
|
12631 |
additional_includedir= |
|
12632 |
case "$found_dir" in |
|
12633 |
*/$acl_libdirstem | */$acl_libdirstem/) |
|
12634 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
|
12635 |
LIBICONV_PREFIX="$basedir" |
|
12636 |
additional_includedir="$basedir/include" |
|
12637 |
;; |
|
12638 |
esac |
|
12639 |
if test "X$additional_includedir" != "X"; then |
|
12640 |
if test "X$additional_includedir" != "X/usr/include"; then |
|
12641 |
haveit= |
|
12642 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
|
12643 |
if test -n "$GCC"; then |
|
12644 |
case $host_os in |
|
12645 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
12646 |
esac |
|
12647 |
fi |
|
12648 |
fi |
|
12649 |
if test -z "$haveit"; then |
|
12650 |
for x in $CPPFLAGS $INCICONV; do |
|
12651 |
||
12652 |
acl_save_prefix="$prefix" |
|
12653 |
prefix="$acl_final_prefix" |
|
12654 |
acl_save_exec_prefix="$exec_prefix" |
|
12655 |
exec_prefix="$acl_final_exec_prefix" |
|
12656 |
eval x=\"$x\" |
|
12657 |
exec_prefix="$acl_save_exec_prefix" |
|
12658 |
prefix="$acl_save_prefix" |
|
12659 |
||
12660 |
if test "X$x" = "X-I$additional_includedir"; then |
|
12661 |
haveit=yes |
|
12662 |
break |
|
12663 |
fi |
|
12664 |
done |
|
12665 |
if test -z "$haveit"; then |
|
12666 |
if test -d "$additional_includedir"; then |
|
12667 |
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
|
12668 |
fi |
|
12669 |
fi |
|
12670 |
fi |
|
12671 |
fi |
|
12672 |
fi |
|
12673 |
if test -n "$found_la"; then |
|
12674 |
save_libdir="$libdir" |
|
12675 |
case "$found_la" in |
|
12676 |
*/* | *\\*) . "$found_la" ;; |
|
12677 |
*) . "./$found_la" ;; |
|
12678 |
esac |
|
12679 |
libdir="$save_libdir" |
|
12680 |
for dep in $dependency_libs; do |
|
12681 |
case "$dep" in |
|
12682 |
-L*) |
|
12683 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
|
12684 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then |
|
12685 |
haveit= |
|
12686 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then |
|
12687 |
if test -n "$GCC"; then |
|
12688 |
case $host_os in |
|
12689 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
12690 |
esac |
|
12691 |
fi |
|
12692 |
fi |
|
12693 |
if test -z "$haveit"; then |
|
12694 |
haveit= |
|
12695 |
for x in $LDFLAGS $LIBICONV; do |
|
12696 |
||
12697 |
acl_save_prefix="$prefix" |
|
12698 |
prefix="$acl_final_prefix" |
|
12699 |
acl_save_exec_prefix="$exec_prefix" |
|
12700 |
exec_prefix="$acl_final_exec_prefix" |
|
12701 |
eval x=\"$x\" |
|
12702 |
exec_prefix="$acl_save_exec_prefix" |
|
12703 |
prefix="$acl_save_prefix" |
|
12704 |
||
12705 |
if test "X$x" = "X-L$additional_libdir"; then |
|
12706 |
haveit=yes |
|
12707 |
break |
|
12708 |
fi |
|
12709 |
done |
|
12710 |
if test -z "$haveit"; then |
|
12711 |
if test -d "$additional_libdir"; then |
|
12712 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
|
12713 |
fi |
|
12714 |
fi |
|
12715 |
haveit= |
|
12716 |
for x in $LDFLAGS $LTLIBICONV; do |
|
12717 |
||
12718 |
acl_save_prefix="$prefix" |
|
12719 |
prefix="$acl_final_prefix" |
|
12720 |
acl_save_exec_prefix="$exec_prefix" |
|
12721 |
exec_prefix="$acl_final_exec_prefix" |
|
12722 |
eval x=\"$x\" |
|
12723 |
exec_prefix="$acl_save_exec_prefix" |
|
12724 |
prefix="$acl_save_prefix" |
|
12725 |
||
12726 |
if test "X$x" = "X-L$additional_libdir"; then |
|
12727 |
haveit=yes |
|
12728 |
break |
|
12729 |
fi |
|
12730 |
done |
|
12731 |
if test -z "$haveit"; then |
|
12732 |
if test -d "$additional_libdir"; then |
|
12733 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
|
12734 |
fi |
|
12735 |
fi |
|
12736 |
fi |
|
12737 |
fi |
|
12738 |
;; |
|
12739 |
-R*) |
|
12740 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
|
12741 |
if test "$enable_rpath" != no; then |
|
12742 |
haveit= |
|
12743 |
for x in $rpathdirs; do |
|
12744 |
if test "X$x" = "X$dir"; then |
|
12745 |
haveit=yes |
|
12746 |
break |
|
12747 |
fi |
|
12748 |
done |
|
12749 |
if test -z "$haveit"; then |
|
12750 |
rpathdirs="$rpathdirs $dir" |
|
12751 |
fi |
|
12752 |
haveit= |
|
12753 |
for x in $ltrpathdirs; do |
|
12754 |
if test "X$x" = "X$dir"; then |
|
12755 |
haveit=yes |
|
12756 |
break |
|
12757 |
fi |
|
12758 |
done |
|
12759 |
if test -z "$haveit"; then |
|
12760 |
ltrpathdirs="$ltrpathdirs $dir" |
|
12761 |
fi |
|
12762 |
fi |
|
12763 |
;; |
|
12764 |
-l*) |
|
12765 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
|
12766 |
;; |
|
12767 |
*.la) |
|
12768 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
|
12769 |
;; |
|
12770 |
*) |
|
12771 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
|
12772 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
|
12773 |
;; |
|
12774 |
esac |
|
12775 |
done |
|
12776 |
fi |
|
12777 |
else |
|
12778 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
|
12779 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
|
12780 |
fi |
|
12781 |
fi |
|
12782 |
fi |
|
12783 |
done |
|
12784 |
done |
|
12785 |
if test "X$rpathdirs" != "X"; then |
|
12786 |
if test -n "$acl_hardcode_libdir_separator"; then |
|
12787 |
alldirs= |
|
12788 |
for found_dir in $rpathdirs; do |
|
12789 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
|
12790 |
done |
|
12791 |
acl_save_libdir="$libdir" |
|
12792 |
libdir="$alldirs" |
|
12793 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
12794 |
libdir="$acl_save_libdir" |
|
12795 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
|
12796 |
else |
|
12797 |
for found_dir in $rpathdirs; do |
|
12798 |
acl_save_libdir="$libdir" |
|
12799 |
libdir="$found_dir" |
|
12800 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
12801 |
libdir="$acl_save_libdir" |
|
12802 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
|
12803 |
done |
|
12804 |
fi |
|
12805 |
fi |
|
12806 |
if test "X$ltrpathdirs" != "X"; then |
|
12807 |
for found_dir in $ltrpathdirs; do |
|
12808 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
|
12809 |
done |
|
12810 |
fi |
|
12811 |
||
12812 |
||
12813 |
||
12814 |
||
12815 |
||
12816 |
||
12817 |
||
12818 |
||
12819 |
||
12820 |
||
12821 |
||
12822 |
||
12823 |
||
12824 |
||
12825 |
||
12826 |
||
12827 |
||
12828 |
||
12829 |
||
12830 |
||
12831 |
||
12832 |
||
12833 |
||
12834 |
||
12835 |
||
12836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 |
|
12837 |
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } |
|
12838 |
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : |
|
12839 |
$as_echo_n "(cached) " >&6 |
|
12840 |
else |
|
12841 |
gt_save_LIBS="$LIBS" |
|
12842 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|
12843 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12844 |
/* end confdefs.h. */ |
|
12845 |
#include <CoreFoundation/CFPreferences.h> |
|
12846 |
int |
|
12847 |
main () |
|
12848 |
{ |
|
12849 |
CFPreferencesCopyAppValue(NULL, NULL) |
|
12850 |
; |
|
12851 |
return 0; |
|
12852 |
} |
|
12853 |
_ACEOF |
|
12854 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12855 |
gt_cv_func_CFPreferencesCopyAppValue=yes |
|
12856 |
else |
|
12857 |
gt_cv_func_CFPreferencesCopyAppValue=no |
|
12858 |
fi |
|
12859 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12860 |
conftest$ac_exeext conftest.$ac_ext |
|
12861 |
LIBS="$gt_save_LIBS" |
|
12862 |
fi |
|
12863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 |
|
12864 |
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } |
|
12865 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
|
12866 |
||
12867 |
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h |
|
12868 |
||
12869 |
fi |
|
12870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 |
|
12871 |
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } |
|
12872 |
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : |
|
12873 |
$as_echo_n "(cached) " >&6 |
|
12874 |
else |
|
12875 |
gt_save_LIBS="$LIBS" |
|
12876 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|
12877 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12878 |
/* end confdefs.h. */ |
|
12879 |
#include <CoreFoundation/CFLocale.h> |
|
12880 |
int |
|
12881 |
main () |
|
12882 |
{ |
|
12883 |
CFLocaleCopyCurrent(); |
|
12884 |
; |
|
12885 |
return 0; |
|
12886 |
} |
|
12887 |
_ACEOF |
|
12888 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12889 |
gt_cv_func_CFLocaleCopyCurrent=yes |
|
12890 |
else |
|
12891 |
gt_cv_func_CFLocaleCopyCurrent=no |
|
12892 |
fi |
|
12893 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12894 |
conftest$ac_exeext conftest.$ac_ext |
|
12895 |
LIBS="$gt_save_LIBS" |
|
12896 |
fi |
|
12897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 |
|
12898 |
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } |
|
12899 |
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
|
12900 |
||
12901 |
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h |
|
12902 |
||
12903 |
fi |
|
12904 |
INTL_MACOSX_LIBS= |
|
12905 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
|
12906 |
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
|
12907 |
fi |
|
12908 |
||
12909 |
||
12910 |
||
12911 |
||
12912 |
||
12913 |
||
12914 |
LIBINTL= |
|
12915 |
LTLIBINTL= |
|
12916 |
POSUB= |
|
12917 |
||
12918 |
case " $gt_needs " in |
|
12919 |
*" need-formatstring-macros "*) gt_api_version=3 ;; |
|
12920 |
*" need-ngettext "*) gt_api_version=2 ;; |
|
12921 |
*) gt_api_version=1 ;; |
|
12922 |
esac |
|
12923 |
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
|
12924 |
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
|
12925 |
||
12926 |
if test "$USE_NLS" = "yes"; then |
|
12927 |
gt_use_preinstalled_gnugettext=no |
|
12928 |
||
12929 |
||
12930 |
if test $gt_api_version -ge 3; then |
|
12931 |
gt_revision_test_code=' |
|
12932 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
|
12933 |
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) |
|
12934 |
#endif |
|
12935 |
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; |
|
12936 |
' |
|
12937 |
else |
|
12938 |
gt_revision_test_code= |
|
12939 |
fi |
|
12940 |
if test $gt_api_version -ge 2; then |
|
12941 |
gt_expression_test_code=' + * ngettext ("", "", 0)' |
|
12942 |
else |
|
12943 |
gt_expression_test_code= |
|
12944 |
fi |
|
12945 |
||
12946 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
|
12947 |
$as_echo_n "checking for GNU gettext in libc... " >&6; } |
|
12948 |
if eval \${$gt_func_gnugettext_libc+:} false; then : |
|
12949 |
$as_echo_n "(cached) " >&6 |
|
12950 |
else |
|
12951 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12952 |
/* end confdefs.h. */ |
|
12953 |
#include <libintl.h> |
|
12954 |
$gt_revision_test_code |
|
12955 |
extern int _nl_msg_cat_cntr; |
|
12956 |
extern int *_nl_domain_bindings; |
|
12957 |
int |
|
12958 |
main () |
|
12959 |
{ |
|
12960 |
bindtextdomain ("", ""); |
|
12961 |
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings |
|
12962 |
; |
|
12963 |
return 0; |
|
12964 |
} |
|
12965 |
_ACEOF |
|
12966 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12967 |
eval "$gt_func_gnugettext_libc=yes" |
|
12968 |
else |
|
12969 |
eval "$gt_func_gnugettext_libc=no" |
|
12970 |
fi |
|
12971 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12972 |
conftest$ac_exeext conftest.$ac_ext |
|
12973 |
fi |
|
12974 |
eval ac_res=\$$gt_func_gnugettext_libc |
|
12975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
12976 |
$as_echo "$ac_res" >&6; } |
|
12977 |
||
12978 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
|
12979 |
||
12980 |
||
12981 |
||
12982 |
||
12983 |
||
12984 |
am_save_CPPFLAGS="$CPPFLAGS" |
|
12985 |
||
12986 |
for element in $INCICONV; do |
|
12987 |
haveit= |
|
12988 |
for x in $CPPFLAGS; do |
|
12989 |
||
12990 |
acl_save_prefix="$prefix" |
|
12991 |
prefix="$acl_final_prefix" |
|
12992 |
acl_save_exec_prefix="$exec_prefix" |
|
12993 |
exec_prefix="$acl_final_exec_prefix" |
|
12994 |
eval x=\"$x\" |
|
12995 |
exec_prefix="$acl_save_exec_prefix" |
|
12996 |
prefix="$acl_save_prefix" |
|
12997 |
||
12998 |
if test "X$x" = "X$element"; then |
|
12999 |
haveit=yes |
|
13000 |
break |
|
13001 |
fi |
|
13002 |
done |
|
13003 |
if test -z "$haveit"; then |
|
13004 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
|
13005 |
fi |
|
13006 |
done |
|
13007 |
||
13008 |
||
13009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
|
13010 |
$as_echo_n "checking for iconv... " >&6; } |
|
13011 |
if ${am_cv_func_iconv+:} false; then : |
|
13012 |
$as_echo_n "(cached) " >&6 |
|
13013 |
else |
|
13014 |
||
13015 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
|
13016 |
am_cv_lib_iconv=no |
|
13017 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13018 |
/* end confdefs.h. */ |
|
13019 |
#include <stdlib.h> |
|
13020 |
#include <iconv.h> |
|
13021 |
int |
|
13022 |
main () |
|
13023 |
{ |
|
13024 |
iconv_t cd = iconv_open("",""); |
|
13025 |
iconv(cd,NULL,NULL,NULL,NULL); |
|
13026 |
iconv_close(cd); |
|
13027 |
; |
|
13028 |
return 0; |
|
13029 |
} |
|
13030 |
_ACEOF |
|
13031 |
if ac_fn_c_try_link "$LINENO"; then : |
|
13032 |
am_cv_func_iconv=yes |
|
13033 |
fi |
|
13034 |
rm -f core conftest.err conftest.$ac_objext \ |
|
13035 |
conftest$ac_exeext conftest.$ac_ext |
|
13036 |
if test "$am_cv_func_iconv" != yes; then |
|
13037 |
am_save_LIBS="$LIBS" |
|
13038 |
LIBS="$LIBS $LIBICONV" |
|
13039 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13040 |
/* end confdefs.h. */ |
|
13041 |
#include <stdlib.h> |
|
13042 |
#include <iconv.h> |
|
13043 |
int |
|
13044 |
main () |
|
13045 |
{ |
|
13046 |
iconv_t cd = iconv_open("",""); |
|
13047 |
iconv(cd,NULL,NULL,NULL,NULL); |
|
13048 |
iconv_close(cd); |
|
13049 |
; |
|
13050 |
return 0; |
|
13051 |
} |
|
13052 |
_ACEOF |
|
13053 |
if ac_fn_c_try_link "$LINENO"; then : |
|
13054 |
am_cv_lib_iconv=yes |
|
13055 |
am_cv_func_iconv=yes |
|
13056 |
fi |
|
13057 |
rm -f core conftest.err conftest.$ac_objext \ |
|
13058 |
conftest$ac_exeext conftest.$ac_ext |
|
13059 |
LIBS="$am_save_LIBS" |
|
13060 |
fi |
|
13061 |
||
13062 |
fi |
|
13063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
|
13064 |
$as_echo "$am_cv_func_iconv" >&6; } |
|
13065 |
if test "$am_cv_func_iconv" = yes; then |
|
13066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
|
13067 |
$as_echo_n "checking for working iconv... " >&6; } |
|
13068 |
if ${am_cv_func_iconv_works+:} false; then : |
|
13069 |
$as_echo_n "(cached) " >&6 |
|
13070 |
else |
|
13071 |
||
13072 |
am_save_LIBS="$LIBS" |
|
13073 |
if test $am_cv_lib_iconv = yes; then |
|
13074 |
LIBS="$LIBS $LIBICONV" |
|
13075 |
fi |
|
13076 |
if test "$cross_compiling" = yes; then : |
|
13077 |
case "$host_os" in |
|
13078 |
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
|
13079 |
*) am_cv_func_iconv_works="guessing yes" ;; |
|
13080 |
esac |
|
13081 |
else |
|
13082 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13083 |
/* end confdefs.h. */ |
|
13084 |
||
13085 |
#include <iconv.h> |
|
13086 |
#include <string.h> |
|
13087 |
int main () |
|
13088 |
{ |
|
13089 |
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
|
13090 |
returns. */ |
|
13091 |
{ |
|
13092 |
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
|
13093 |
if (cd_utf8_to_88591 != (iconv_t)(-1)) |
|
13094 |
{ |
|
13095 |
static const char input[] = "\342\202\254"; /* EURO SIGN */ |
|
13096 |
char buf[10]; |
|
13097 |
const char *inptr = input; |
|
13098 |
size_t inbytesleft = strlen (input); |
|
13099 |
char *outptr = buf; |
|
13100 |
size_t outbytesleft = sizeof (buf); |
|
13101 |
size_t res = iconv (cd_utf8_to_88591, |
|
13102 |
(char **) &inptr, &inbytesleft, |
|
13103 |
&outptr, &outbytesleft); |
|
13104 |
if (res == 0) |
|
13105 |
return 1; |
|
13106 |
} |
|
13107 |
} |
|
13108 |
#if 0 /* This bug could be worked around by the caller. */ |
|
13109 |
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
|
13110 |
{ |
|
13111 |
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
|
13112 |
if (cd_88591_to_utf8 != (iconv_t)(-1)) |
|
13113 |
{ |
|
13114 |
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; |
|
13115 |
char buf[50]; |
|
13116 |
const char *inptr = input; |
|
13117 |
size_t inbytesleft = strlen (input); |
|
13118 |
char *outptr = buf; |
|
13119 |
size_t outbytesleft = sizeof (buf); |
|
13120 |
size_t res = iconv (cd_88591_to_utf8, |
|
13121 |
(char **) &inptr, &inbytesleft, |
|
13122 |
&outptr, &outbytesleft); |
|
13123 |
if ((int)res > 0) |
|
13124 |
return 1; |
|
13125 |
} |
|
13126 |
} |
|
13127 |
#endif |
|
13128 |
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
|
13129 |
provided. */ |
|
13130 |
if (/* Try standardized names. */ |
|
13131 |
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
|
13132 |
/* Try IRIX, OSF/1 names. */ |
|
13133 |
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
|
13134 |
/* Try AIX names. */ |
|
13135 |
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
|
13136 |
/* Try HP-UX names. */ |
|
13137 |
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
|
13138 |
return 1; |
|
13139 |
return 0; |
|
13140 |
} |
|
13141 |
_ACEOF |
|
13142 |
if ac_fn_c_try_run "$LINENO"; then : |
|
13143 |
am_cv_func_iconv_works=yes |
|
13144 |
else |
|
13145 |
am_cv_func_iconv_works=no |
|
13146 |
fi |
|
13147 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
13148 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
13149 |
fi |
|
13150 |
||
13151 |
LIBS="$am_save_LIBS" |
|
13152 |
||
13153 |
fi |
|
13154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
|
13155 |
$as_echo "$am_cv_func_iconv_works" >&6; } |
|
13156 |
case "$am_cv_func_iconv_works" in |
|
13157 |
*no) am_func_iconv=no am_cv_lib_iconv=no ;; |
|
13158 |
*) am_func_iconv=yes ;; |
|
13159 |
esac |
|
13160 |
else |
|
13161 |
am_func_iconv=no am_cv_lib_iconv=no |
|
13162 |
fi |
|
13163 |
if test "$am_func_iconv" = yes; then |
|
13164 |
||
13165 |
$as_echo "#define HAVE_ICONV 1" >>confdefs.h |
|
13166 |
||
13167 |
fi |
|
13168 |
if test "$am_cv_lib_iconv" = yes; then |
|
13169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
|
13170 |
$as_echo_n "checking how to link with libiconv... " >&6; } |
|
13171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
|
13172 |
$as_echo "$LIBICONV" >&6; } |
|
13173 |
else |
|
13174 |
CPPFLAGS="$am_save_CPPFLAGS" |
|
13175 |
LIBICONV= |
|
13176 |
LTLIBICONV= |
|
13177 |
fi |
|
13178 |
||
13179 |
||
13180 |
||
13181 |
||
13182 |
||
13183 |
||
13184 |
||
13185 |
||
13186 |
use_additional=yes |
|
13187 |
||
13188 |
acl_save_prefix="$prefix" |
|
13189 |
prefix="$acl_final_prefix" |
|
13190 |
acl_save_exec_prefix="$exec_prefix" |
|
13191 |
exec_prefix="$acl_final_exec_prefix" |
|
13192 |
||
13193 |
eval additional_includedir=\"$includedir\" |
|
13194 |
eval additional_libdir=\"$libdir\" |
|
13195 |
||
13196 |
exec_prefix="$acl_save_exec_prefix" |
|
13197 |
prefix="$acl_save_prefix" |
|
13198 |
||
13199 |
||
13200 |
# Check whether --with-libintl-prefix was given. |
|
13201 |
if test "${with_libintl_prefix+set}" = set; then : |
|
13202 |
withval=$with_libintl_prefix; |
|
13203 |
if test "X$withval" = "Xno"; then |
|
13204 |
use_additional=no |
|
13205 |
else |
|
13206 |
if test "X$withval" = "X"; then |
|
13207 |
||
13208 |
acl_save_prefix="$prefix" |
|
13209 |
prefix="$acl_final_prefix" |
|
13210 |
acl_save_exec_prefix="$exec_prefix" |
|
13211 |
exec_prefix="$acl_final_exec_prefix" |
|
13212 |
||
13213 |
eval additional_includedir=\"$includedir\" |
|
13214 |
eval additional_libdir=\"$libdir\" |
|
13215 |
||
13216 |
exec_prefix="$acl_save_exec_prefix" |
|
13217 |
prefix="$acl_save_prefix" |
|
13218 |
||
13219 |
else |
|
13220 |
additional_includedir="$withval/include" |
|
13221 |
additional_libdir="$withval/$acl_libdirstem" |
|
13222 |
fi |
|
13223 |
fi |
|
13224 |
||
13225 |
fi |
|
13226 |
||
13227 |
LIBINTL= |
|
13228 |
LTLIBINTL= |
|
13229 |
INCINTL= |
|
13230 |
LIBINTL_PREFIX= |
|
13231 |
rpathdirs= |
|
13232 |
ltrpathdirs= |
|
13233 |
names_already_handled= |
|
13234 |
names_next_round='intl ' |
|
13235 |
while test -n "$names_next_round"; do |
|
13236 |
names_this_round="$names_next_round" |
|
13237 |
names_next_round= |
|
13238 |
for name in $names_this_round; do |
|
13239 |
already_handled= |
|
13240 |
for n in $names_already_handled; do |
|
13241 |
if test "$n" = "$name"; then |
|
13242 |
already_handled=yes |
|
13243 |
break |
|
13244 |
fi |
|
13245 |
done |
|
13246 |
if test -z "$already_handled"; then |
|
13247 |
names_already_handled="$names_already_handled $name" |
|
13248 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
|
13249 |
eval value=\"\$HAVE_LIB$uppername\" |
|
13250 |
if test -n "$value"; then |
|
13251 |
if test "$value" = yes; then |
|
13252 |
eval value=\"\$LIB$uppername\" |
|
13253 |
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
|
13254 |
eval value=\"\$LTLIB$uppername\" |
|
13255 |
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
|
13256 |
else |
|
13257 |
: |
|
13258 |
fi |
|
13259 |
else |
|
13260 |
found_dir= |
|
13261 |
found_la= |
|
13262 |
found_so= |
|
13263 |
found_a= |
|
13264 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
|
13265 |
if test -n "$acl_shlibext"; then |
|
13266 |
shrext=".$acl_shlibext" # typically: shrext=.so |
|
13267 |
else |
|
13268 |
shrext= |
|
13269 |
fi |
|
13270 |
if test $use_additional = yes; then |
|
13271 |
dir="$additional_libdir" |
|
13272 |
if test -n "$acl_shlibext"; then |
|
13273 |
if test -f "$dir/$libname$shrext"; then |
|
13274 |
found_dir="$dir" |
|
13275 |
found_so="$dir/$libname$shrext" |
|
13276 |
else |
|
13277 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
13278 |
ver=`(cd "$dir" && \ |
|
13279 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
13280 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
13281 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
13282 |
| sed 1q ) 2>/dev/null` |
|
13283 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
13284 |
found_dir="$dir" |
|
13285 |
found_so="$dir/$libname$shrext.$ver" |
|
13286 |
fi |
|
13287 |
else |
|
13288 |
eval library_names=\"$acl_library_names_spec\" |
|
13289 |
for f in $library_names; do |
|
13290 |
if test -f "$dir/$f"; then |
|
13291 |
found_dir="$dir" |
|
13292 |
found_so="$dir/$f" |
|
13293 |
break |
|
13294 |
fi |
|
13295 |
done |
|
13296 |
fi |
|
13297 |
fi |
|
13298 |
fi |
|
13299 |
if test "X$found_dir" = "X"; then |
|
13300 |
if test -f "$dir/$libname.$acl_libext"; then |
|
13301 |
found_dir="$dir" |
|
13302 |
found_a="$dir/$libname.$acl_libext" |
|
13303 |
fi |
|
13304 |
fi |
|
13305 |
if test "X$found_dir" != "X"; then |
|
13306 |
if test -f "$dir/$libname.la"; then |
|
13307 |
found_la="$dir/$libname.la" |
|
13308 |
fi |
|
13309 |
fi |
|
13310 |
fi |
|
13311 |
if test "X$found_dir" = "X"; then |
|
13312 |
for x in $LDFLAGS $LTLIBINTL; do |
|
13313 |
||
13314 |
acl_save_prefix="$prefix" |
|
13315 |
prefix="$acl_final_prefix" |
|
13316 |
acl_save_exec_prefix="$exec_prefix" |
|
13317 |
exec_prefix="$acl_final_exec_prefix" |
|
13318 |
eval x=\"$x\" |
|
13319 |
exec_prefix="$acl_save_exec_prefix" |
|
13320 |
prefix="$acl_save_prefix" |
|
13321 |
||
13322 |
case "$x" in |
|
13323 |
-L*) |
|
13324 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
|
13325 |
if test -n "$acl_shlibext"; then |
|
13326 |
if test -f "$dir/$libname$shrext"; then |
|
13327 |
found_dir="$dir" |
|
13328 |
found_so="$dir/$libname$shrext" |
|
13329 |
else |
|
13330 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
13331 |
ver=`(cd "$dir" && \ |
|
13332 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
13333 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
13334 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
13335 |
| sed 1q ) 2>/dev/null` |
|
13336 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
13337 |
found_dir="$dir" |
|
13338 |
found_so="$dir/$libname$shrext.$ver" |
|
13339 |
fi |
|
13340 |
else |
|
13341 |
eval library_names=\"$acl_library_names_spec\" |
|
13342 |
for f in $library_names; do |
|
13343 |
if test -f "$dir/$f"; then |
|
13344 |
found_dir="$dir" |
|
13345 |
found_so="$dir/$f" |
|
13346 |
break |
|
13347 |
fi |
|
13348 |
done |
|
13349 |
fi |
|
13350 |
fi |
|
13351 |
fi |
|
13352 |
if test "X$found_dir" = "X"; then |
|
13353 |
if test -f "$dir/$libname.$acl_libext"; then |
|
13354 |
found_dir="$dir" |
|
13355 |
found_a="$dir/$libname.$acl_libext" |
|
13356 |
fi |
|
13357 |
fi |
|
13358 |
if test "X$found_dir" != "X"; then |
|
13359 |
if test -f "$dir/$libname.la"; then |
|
13360 |
found_la="$dir/$libname.la" |
|
13361 |
fi |
|
13362 |
fi |
|
13363 |
;; |
|
13364 |
esac |
|
13365 |
if test "X$found_dir" != "X"; then |
|
13366 |
break |
|
13367 |
fi |
|
13368 |
done |
|
13369 |
fi |
|
13370 |
if test "X$found_dir" != "X"; then |
|
13371 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
|
13372 |
if test "X$found_so" != "X"; then |
|
13373 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then |
|
13374 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
|
13375 |
else |
|
13376 |
haveit= |
|
13377 |
for x in $ltrpathdirs; do |
|
13378 |
if test "X$x" = "X$found_dir"; then |
|
13379 |
haveit=yes |
|
13380 |
break |
|
13381 |
fi |
|
13382 |
done |
|
13383 |
if test -z "$haveit"; then |
|
13384 |
ltrpathdirs="$ltrpathdirs $found_dir" |
|
13385 |
fi |
|
13386 |
if test "$acl_hardcode_direct" = yes; then |
|
13387 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
|
13388 |
else |
|
13389 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
|
13390 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
|
13391 |
haveit= |
|
13392 |
for x in $rpathdirs; do |
|
13393 |
if test "X$x" = "X$found_dir"; then |
|
13394 |
haveit=yes |
|
13395 |
break |
|
13396 |
fi |
|
13397 |
done |
|
13398 |
if test -z "$haveit"; then |
|
13399 |
rpathdirs="$rpathdirs $found_dir" |
|
13400 |
fi |
|
13401 |
else |
|
13402 |
haveit= |
|
13403 |
for x in $LDFLAGS $LIBINTL; do |
|
13404 |
||
13405 |
acl_save_prefix="$prefix" |
|
13406 |
prefix="$acl_final_prefix" |
|
13407 |
acl_save_exec_prefix="$exec_prefix" |
|
13408 |
exec_prefix="$acl_final_exec_prefix" |
|
13409 |
eval x=\"$x\" |
|
13410 |
exec_prefix="$acl_save_exec_prefix" |
|
13411 |
prefix="$acl_save_prefix" |
|
13412 |
||
13413 |
if test "X$x" = "X-L$found_dir"; then |
|
13414 |
haveit=yes |
|
13415 |
break |
|
13416 |
fi |
|
13417 |
done |
|
13418 |
if test -z "$haveit"; then |
|
13419 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
|
13420 |
fi |
|
13421 |
if test "$acl_hardcode_minus_L" != no; then |
|
13422 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
|
13423 |
else |
|
13424 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
|
13425 |
fi |
|
13426 |
fi |
|
13427 |
fi |
|
13428 |
fi |
|
13429 |
else |
|
13430 |
if test "X$found_a" != "X"; then |
|
13431 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
|
13432 |
else |
|
13433 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
|
13434 |
fi |
|
13435 |
fi |
|
13436 |
additional_includedir= |
|
13437 |
case "$found_dir" in |
|
13438 |
*/$acl_libdirstem | */$acl_libdirstem/) |
|
13439 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
|
13440 |
LIBINTL_PREFIX="$basedir" |
|
13441 |
additional_includedir="$basedir/include" |
|
13442 |
;; |
|
13443 |
esac |
|
13444 |
if test "X$additional_includedir" != "X"; then |
|
13445 |
if test "X$additional_includedir" != "X/usr/include"; then |
|
13446 |
haveit= |
|
13447 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
|
13448 |
if test -n "$GCC"; then |
|
13449 |
case $host_os in |
|
13450 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
13451 |
esac |
|
13452 |
fi |
|
13453 |
fi |
|
13454 |
if test -z "$haveit"; then |
|
13455 |
for x in $CPPFLAGS $INCINTL; do |
|
13456 |
||
13457 |
acl_save_prefix="$prefix" |
|
13458 |
prefix="$acl_final_prefix" |
|
13459 |
acl_save_exec_prefix="$exec_prefix" |
|
13460 |
exec_prefix="$acl_final_exec_prefix" |
|
13461 |
eval x=\"$x\" |
|
13462 |
exec_prefix="$acl_save_exec_prefix" |
|
13463 |
prefix="$acl_save_prefix" |
|
13464 |
||
13465 |
if test "X$x" = "X-I$additional_includedir"; then |
|
13466 |
haveit=yes |
|
13467 |
break |
|
13468 |
fi |
|
13469 |
done |
|
13470 |
if test -z "$haveit"; then |
|
13471 |
if test -d "$additional_includedir"; then |
|
13472 |
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
|
13473 |
fi |
|
13474 |
fi |
|
13475 |
fi |
|
13476 |
fi |
|
13477 |
fi |
|
13478 |
if test -n "$found_la"; then |
|
13479 |
save_libdir="$libdir" |
|
13480 |
case "$found_la" in |
|
13481 |
*/* | *\\*) . "$found_la" ;; |
|
13482 |
*) . "./$found_la" ;; |
|
13483 |
esac |
|
13484 |
libdir="$save_libdir" |
|
13485 |
for dep in $dependency_libs; do |
|
13486 |
case "$dep" in |
|
13487 |
-L*) |
|
13488 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
|
13489 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then |
|
13490 |
haveit= |
|
13491 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then |
|
13492 |
if test -n "$GCC"; then |
|
13493 |
case $host_os in |
|
13494 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
13495 |
esac |
|
13496 |
fi |
|
13497 |
fi |
|
13498 |
if test -z "$haveit"; then |
|
13499 |
haveit= |
|
13500 |
for x in $LDFLAGS $LIBINTL; do |
|
13501 |
||
13502 |
acl_save_prefix="$prefix" |
|
13503 |
prefix="$acl_final_prefix" |
|
13504 |
acl_save_exec_prefix="$exec_prefix" |
|
13505 |
exec_prefix="$acl_final_exec_prefix" |
|
13506 |
eval x=\"$x\" |
|
13507 |
exec_prefix="$acl_save_exec_prefix" |
|
13508 |
prefix="$acl_save_prefix" |
|
13509 |
||
13510 |
if test "X$x" = "X-L$additional_libdir"; then |
|
13511 |
haveit=yes |
|
13512 |
break |
|
13513 |
fi |
|
13514 |
done |
|
13515 |
if test -z "$haveit"; then |
|
13516 |
if test -d "$additional_libdir"; then |
|
13517 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
|
13518 |
fi |
|
13519 |
fi |
|
13520 |
haveit= |
|
13521 |
for x in $LDFLAGS $LTLIBINTL; do |
|
13522 |
||
13523 |
acl_save_prefix="$prefix" |
|
13524 |
prefix="$acl_final_prefix" |
|
13525 |
acl_save_exec_prefix="$exec_prefix" |
|
13526 |
exec_prefix="$acl_final_exec_prefix" |
|
13527 |
eval x=\"$x\" |
|
13528 |
exec_prefix="$acl_save_exec_prefix" |
|
13529 |
prefix="$acl_save_prefix" |
|
13530 |
||
13531 |
if test "X$x" = "X-L$additional_libdir"; then |
|
13532 |
haveit=yes |
|
13533 |
break |
|
13534 |
fi |
|
13535 |
done |
|
13536 |
if test -z "$haveit"; then |
|
13537 |
if test -d "$additional_libdir"; then |
|
13538 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
|
13539 |
fi |
|
13540 |
fi |
|
13541 |
fi |
|
13542 |
fi |
|
13543 |
;; |
|
13544 |
-R*) |
|
13545 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
|
13546 |
if test "$enable_rpath" != no; then |
|
13547 |
haveit= |
|
13548 |
for x in $rpathdirs; do |
|
13549 |
if test "X$x" = "X$dir"; then |
|
13550 |
haveit=yes |
|
13551 |
break |
|
13552 |
fi |
|
13553 |
done |
|
13554 |
if test -z "$haveit"; then |
|
13555 |
rpathdirs="$rpathdirs $dir" |
|
13556 |
fi |
|
13557 |
haveit= |
|
13558 |
for x in $ltrpathdirs; do |
|
13559 |
if test "X$x" = "X$dir"; then |
|
13560 |
haveit=yes |
|
13561 |
break |
|
13562 |
fi |
|
13563 |
done |
|
13564 |
if test -z "$haveit"; then |
|
13565 |
ltrpathdirs="$ltrpathdirs $dir" |
|
13566 |
fi |
|
13567 |
fi |
|
13568 |
;; |
|
13569 |
-l*) |
|
13570 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
|
13571 |
;; |
|
13572 |
*.la) |
|
13573 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
|
13574 |
;; |
|
13575 |
*) |
|
13576 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
|
13577 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
|
13578 |
;; |
|
13579 |
esac |
|
13580 |
done |
|
13581 |
fi |
|
13582 |
else |
|
13583 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
|
13584 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
|
13585 |
fi |
|
13586 |
fi |
|
13587 |
fi |
|
13588 |
done |
|
13589 |
done |
|
13590 |
if test "X$rpathdirs" != "X"; then |
|
13591 |
if test -n "$acl_hardcode_libdir_separator"; then |
|
13592 |
alldirs= |
|
13593 |
for found_dir in $rpathdirs; do |
|
13594 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
|
13595 |
done |
|
13596 |
acl_save_libdir="$libdir" |
|
13597 |
libdir="$alldirs" |
|
13598 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
13599 |
libdir="$acl_save_libdir" |
|
13600 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
|
13601 |
else |
|
13602 |
for found_dir in $rpathdirs; do |
|
13603 |
acl_save_libdir="$libdir" |
|
13604 |
libdir="$found_dir" |
|
13605 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
13606 |
libdir="$acl_save_libdir" |
|
13607 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
|
13608 |
done |
|
13609 |
fi |
|
13610 |
fi |
|
13611 |
if test "X$ltrpathdirs" != "X"; then |
|
13612 |
for found_dir in $ltrpathdirs; do |
|
13613 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
|
13614 |
done |
|
13615 |
fi |
|
13616 |
||
13617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
|
13618 |
$as_echo_n "checking for GNU gettext in libintl... " >&6; } |
|
13619 |
if eval \${$gt_func_gnugettext_libintl+:} false; then : |
|
13620 |
$as_echo_n "(cached) " >&6 |
|
13621 |
else |
|
13622 |
gt_save_CPPFLAGS="$CPPFLAGS" |
|
13623 |
CPPFLAGS="$CPPFLAGS $INCINTL" |
|
13624 |
gt_save_LIBS="$LIBS" |
|
13625 |
LIBS="$LIBS $LIBINTL" |
|
13626 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13627 |
/* end confdefs.h. */ |
|
13628 |
#include <libintl.h> |
|
13629 |
$gt_revision_test_code |
|
13630 |
extern int _nl_msg_cat_cntr; |
|
13631 |
extern |
|
13632 |
#ifdef __cplusplus |
|
13633 |
"C" |
|
13634 |
#endif |
|
13635 |
const char *_nl_expand_alias (const char *); |
|
13636 |
int |
|
13637 |
main () |
|
13638 |
{ |
|
13639 |
bindtextdomain ("", ""); |
|
13640 |
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
|
13641 |
; |
|
13642 |
return 0; |
|
13643 |
} |
|
13644 |
_ACEOF |
|
13645 |
if ac_fn_c_try_link "$LINENO"; then : |
|
13646 |
eval "$gt_func_gnugettext_libintl=yes" |
|
13647 |
else |
|
13648 |
eval "$gt_func_gnugettext_libintl=no" |
|
13649 |
fi |
|
13650 |
rm -f core conftest.err conftest.$ac_objext \ |
|
13651 |
conftest$ac_exeext conftest.$ac_ext |
|
13652 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then |
|
13653 |
LIBS="$LIBS $LIBICONV" |
|
13654 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13655 |
/* end confdefs.h. */ |
|
13656 |
#include <libintl.h> |
|
13657 |
$gt_revision_test_code |
|
13658 |
extern int _nl_msg_cat_cntr; |
|
13659 |
extern |
|
13660 |
#ifdef __cplusplus |
|
13661 |
"C" |
|
13662 |
#endif |
|
13663 |
const char *_nl_expand_alias (const char *); |
|
13664 |
int |
|
13665 |
main () |
|
13666 |
{ |
|
13667 |
bindtextdomain ("", ""); |
|
13668 |
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
|
13669 |
; |
|
13670 |
return 0; |
|
13671 |
} |
|
13672 |
_ACEOF |
|
13673 |
if ac_fn_c_try_link "$LINENO"; then : |
|
13674 |
LIBINTL="$LIBINTL $LIBICONV" |
|
13675 |
LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
|
13676 |
eval "$gt_func_gnugettext_libintl=yes" |
|
13677 |
||
13678 |
fi |
|
13679 |
rm -f core conftest.err conftest.$ac_objext \ |
|
13680 |
conftest$ac_exeext conftest.$ac_ext |
|
13681 |
fi |
|
13682 |
CPPFLAGS="$gt_save_CPPFLAGS" |
|
13683 |
LIBS="$gt_save_LIBS" |
|
13684 |
fi |
|
13685 |
eval ac_res=\$$gt_func_gnugettext_libintl |
|
13686 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
13687 |
$as_echo "$ac_res" >&6; } |
|
13688 |
fi |
|
13689 |
||
13690 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ |
|
13691 |
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ |
|
13692 |
&& test "$PACKAGE" != gettext-runtime \ |
|
13693 |
&& test "$PACKAGE" != gettext-tools; }; then |
|
13694 |
gt_use_preinstalled_gnugettext=yes |
|
13695 |
else |
|
13696 |
LIBINTL= |
|
13697 |
LTLIBINTL= |
|
13698 |
INCINTL= |
|
13699 |
fi |
|
13700 |
||
13701 |
||
13702 |
||
13703 |
if test -n "$INTL_MACOSX_LIBS"; then |
|
13704 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
|
13705 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
|
13706 |
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
|
13707 |
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
|
13708 |
fi |
|
13709 |
fi |
|
13710 |
||
13711 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
|
13712 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13713 |
|
13714 |
$as_echo "#define ENABLE_NLS 1" >>confdefs.h |
|
13715 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13716 |
else |
13717 |
USE_NLS=no |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13718 |
fi |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13719 |
fi |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13720 |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
13722 |
$as_echo_n "checking whether to use NLS... " >&6; } |
|
13723 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
|
13724 |
$as_echo "$USE_NLS" >&6; } |
|
13725 |
if test "$USE_NLS" = "yes"; then |
|
13726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 |
|
13727 |
$as_echo_n "checking where the gettext function comes from... " >&6; } |
|
13728 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
|
13729 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
|
13730 |
gt_source="external libintl" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13731 |
else |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13732 |
gt_source="libc" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13733 |
fi |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13734 |
else |
13735 |
gt_source="included intl directory" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13736 |
fi |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
13738 |
$as_echo "$gt_source" >&6; } |
|
13739 |
fi |
|
13740 |
||
13741 |
if test "$USE_NLS" = "yes"; then |
|
13742 |
||
13743 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
|
13744 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
|
13745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
|
13746 |
$as_echo_n "checking how to link with libintl... " >&6; } |
|
13747 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
|
13748 |
$as_echo "$LIBINTL" >&6; } |
|
13749 |
||
13750 |
for element in $INCINTL; do |
|
13751 |
haveit= |
|
13752 |
for x in $CPPFLAGS; do |
|
13753 |
||
13754 |
acl_save_prefix="$prefix" |
|
13755 |
prefix="$acl_final_prefix" |
|
13756 |
acl_save_exec_prefix="$exec_prefix" |
|
13757 |
exec_prefix="$acl_final_exec_prefix" |
|
13758 |
eval x=\"$x\" |
|
13759 |
exec_prefix="$acl_save_exec_prefix" |
|
13760 |
prefix="$acl_save_prefix" |
|
13761 |
||
13762 |
if test "X$x" = "X$element"; then |
|
13763 |
haveit=yes |
|
13764 |
break |
|
13765 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
13766 |
done |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13767 |
if test -z "$haveit"; then |
13768 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
|
13769 |
fi |
|
13770 |
done |
|
13771 |
||
13772 |
fi |
|
13773 |
||
13774 |
||
13775 |
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
|
13776 |
||
13777 |
||
13778 |
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h |
|
13779 |
||
13780 |
fi |
|
13781 |
||
13782 |
POSUB=po |
|
13783 |
fi |
|
13784 |
||
13785 |
||
13786 |
||
13787 |
INTLLIBS="$LIBINTL" |
|
13788 |
||
13789 |
||
13790 |
||
13791 |
||
13792 |
||
13793 |
||
13794 |
||
13795 |
||
13796 |
||
13797 |
case "$am__api_version" in |
|
13798 |
1.01234) |
|
13799 |
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 |
|
13800 |
;; |
|
13801 |
*) |
|
13802 |
;; |
|
13803 |
esac |
|
13804 |
||
1.1.72
by Ken VanDine
Import upstream version 3.3.91 |
13805 |
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
13806 |
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` |
|
13807 |
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13808 |
if test -n "0.40"; then |
13809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40" >&5 |
|
13810 |
$as_echo_n "checking for intltool >= 0.40... " >&6; } |
|
13811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
|
13812 |
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
|
13813 |
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || |
|
13814 |
as_fn_error $? "Your intltool is too old. You need intltool 0.40 or later." "$LINENO" 5 |
|
13815 |
fi |
|
13816 |
||
13817 |
# Extract the first word of "intltool-update", so it can be a program name with args. |
|
13818 |
set dummy intltool-update; ac_word=$2 |
|
13819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
13820 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
13821 |
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : |
|
13822 |
$as_echo_n "(cached) " >&6 |
|
13823 |
else |
|
13824 |
case $INTLTOOL_UPDATE in |
|
13825 |
[\\/]* | ?:[\\/]*) |
|
13826 |
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. |
|
13827 |
;; |
|
13828 |
*) |
|
13829 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
13830 |
for as_dir in $PATH |
|
13831 |
do |
|
13832 |
IFS=$as_save_IFS |
|
13833 |
test -z "$as_dir" && as_dir=. |
|
13834 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
13835 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
13836 |
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" |
|
13837 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
13838 |
break 2 |
|
13839 |
fi |
|
13840 |
done |
|
13841 |
done |
|
13842 |
IFS=$as_save_IFS |
|
13843 |
||
13844 |
;; |
|
13845 |
esac |
|
13846 |
fi |
|
13847 |
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE |
|
13848 |
if test -n "$INTLTOOL_UPDATE"; then |
|
13849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 |
|
13850 |
$as_echo "$INTLTOOL_UPDATE" >&6; } |
|
13851 |
else |
|
13852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
13853 |
$as_echo "no" >&6; } |
|
13854 |
fi |
|
13855 |
||
13856 |
||
13857 |
# Extract the first word of "intltool-merge", so it can be a program name with args. |
|
13858 |
set dummy intltool-merge; ac_word=$2 |
|
13859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
13860 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
13861 |
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : |
|
13862 |
$as_echo_n "(cached) " >&6 |
|
13863 |
else |
|
13864 |
case $INTLTOOL_MERGE in |
|
13865 |
[\\/]* | ?:[\\/]*) |
|
13866 |
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. |
|
13867 |
;; |
|
13868 |
*) |
|
13869 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
13870 |
for as_dir in $PATH |
|
13871 |
do |
|
13872 |
IFS=$as_save_IFS |
|
13873 |
test -z "$as_dir" && as_dir=. |
|
13874 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
13875 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
13876 |
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" |
|
13877 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
13878 |
break 2 |
|
13879 |
fi |
|
13880 |
done |
|
13881 |
done |
|
13882 |
IFS=$as_save_IFS |
|
13883 |
||
13884 |
;; |
|
13885 |
esac |
|
13886 |
fi |
|
13887 |
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE |
|
13888 |
if test -n "$INTLTOOL_MERGE"; then |
|
13889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 |
|
13890 |
$as_echo "$INTLTOOL_MERGE" >&6; } |
|
13891 |
else |
|
13892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
13893 |
$as_echo "no" >&6; } |
|
13894 |
fi |
|
13895 |
||
13896 |
||
13897 |
# Extract the first word of "intltool-extract", so it can be a program name with args. |
|
13898 |
set dummy intltool-extract; ac_word=$2 |
|
13899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
13900 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
13901 |
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : |
|
13902 |
$as_echo_n "(cached) " >&6 |
|
13903 |
else |
|
13904 |
case $INTLTOOL_EXTRACT in |
|
13905 |
[\\/]* | ?:[\\/]*) |
|
13906 |
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. |
|
13907 |
;; |
|
13908 |
*) |
|
13909 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
13910 |
for as_dir in $PATH |
|
13911 |
do |
|
13912 |
IFS=$as_save_IFS |
|
13913 |
test -z "$as_dir" && as_dir=. |
|
13914 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
13915 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
13916 |
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" |
|
13917 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
13918 |
break 2 |
|
13919 |
fi |
|
13920 |
done |
|
13921 |
done |
|
13922 |
IFS=$as_save_IFS |
|
13923 |
||
13924 |
;; |
|
13925 |
esac |
|
13926 |
fi |
|
13927 |
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT |
|
13928 |
if test -n "$INTLTOOL_EXTRACT"; then |
|
13929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 |
|
13930 |
$as_echo "$INTLTOOL_EXTRACT" >&6; } |
|
13931 |
else |
|
13932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
13933 |
$as_echo "no" >&6; } |
|
13934 |
fi |
|
13935 |
||
13936 |
||
13937 |
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then |
|
13938 |
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 |
|
13939 |
fi |
|
13940 |
||
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
13941 |
if test -z "$AM_DEFAULT_VERBOSITY"; then |
13942 |
AM_DEFAULT_VERBOSITY=1 |
|
13943 |
fi |
|
13944 |
||
13945 |
||
13946 |
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' |
|
13947 |
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' |
|
13948 |
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' |
|
13949 |
||
13950 |
||
13951 |
||
13952 |
||
13953 |
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' |
|
13954 |
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' |
|
13955 |
intltool__v_merge_options_0='-q' |
|
13956 |
||
13957 |
||
13958 |
||
13959 |
||
13960 |
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13961 |
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13962 |
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13963 |
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13964 |
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' |
|
13965 |
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13966 |
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13967 |
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13968 |
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13969 |
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13970 |
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
1.1.72
by Ken VanDine
Import upstream version 3.3.91 |
13971 |
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then |
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
13972 |
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' |
1.1.72
by Ken VanDine
Import upstream version 3.3.91 |
13973 |
else |
13974 |
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' |
|
13975 |
fi |
|
1.1.68
by Ken VanDine
Import upstream version 3.3.4 |
13976 |
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
13977 |
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13978 |
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13979 |
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13980 |
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13981 |
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
13982 |
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
13983 |
|
13984 |
||
13985 |
||
13986 |
||
13987 |
||
13988 |
||
13989 |
||
13990 |
||
13991 |
||
13992 |
||
13993 |
||
13994 |
||
13995 |
||
13996 |
||
13997 |
||
13998 |
||
13999 |
||
14000 |
||
14001 |
||
14002 |
||
14003 |
||
14004 |
||
14005 |
||
14006 |
||
14007 |
||
14008 |
||
14009 |
||
14010 |
||
14011 |
||
14012 |
||
14013 |
||
14014 |
||
14015 |
||
14016 |
||
14017 |
||
14018 |
||
14019 |
||
14020 |
||
14021 |
||
14022 |
||
14023 |
||
14024 |
||
14025 |
||
14026 |
||
14027 |
||
14028 |
||
14029 |
||
14030 |
||
14031 |
||
14032 |
||
14033 |
||
14034 |
||
14035 |
||
14036 |
||
14037 |
||
14038 |
||
14039 |
||
14040 |
||
14041 |
||
14042 |
||
14043 |
||
14044 |
||
14045 |
||
14046 |
||
14047 |
||
14048 |
||
14049 |
||
14050 |
||
14051 |
||
14052 |
||
14053 |
||
14054 |
||
14055 |
||
14056 |
||
14057 |
||
14058 |
||
14059 |
||
14060 |
||
14061 |
||
14062 |
||
14063 |
||
14064 |
||
14065 |
||
14066 |
||
14067 |
||
14068 |
||
14069 |
||
14070 |
||
14071 |
||
14072 |
||
14073 |
||
14074 |
||
14075 |
||
14076 |
||
14077 |
||
14078 |
||
14079 |
||
14080 |
# Check the gettext tools to make sure they are GNU |
|
14081 |
# Extract the first word of "xgettext", so it can be a program name with args. |
|
14082 |
set dummy xgettext; ac_word=$2 |
|
14083 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14084 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
14085 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
|
14086 |
$as_echo_n "(cached) " >&6 |
|
14087 |
else |
|
14088 |
case $XGETTEXT in |
|
14089 |
[\\/]* | ?:[\\/]*) |
|
14090 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
14091 |
;; |
|
14092 |
*) |
|
14093 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14094 |
for as_dir in $PATH |
|
14095 |
do |
|
14096 |
IFS=$as_save_IFS |
|
14097 |
test -z "$as_dir" && as_dir=. |
|
14098 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14099 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14100 |
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" |
|
14101 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14102 |
break 2 |
|
14103 |
fi |
|
14104 |
done |
|
14105 |
done |
|
14106 |
IFS=$as_save_IFS |
|
14107 |
||
14108 |
;; |
|
14109 |
esac |
|
14110 |
fi |
|
14111 |
XGETTEXT=$ac_cv_path_XGETTEXT |
|
14112 |
if test -n "$XGETTEXT"; then |
|
14113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
|
14114 |
$as_echo "$XGETTEXT" >&6; } |
|
14115 |
else |
|
14116 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14117 |
$as_echo "no" >&6; } |
|
14118 |
fi |
|
14119 |
||
14120 |
||
14121 |
# Extract the first word of "msgmerge", so it can be a program name with args. |
|
14122 |
set dummy msgmerge; ac_word=$2 |
|
14123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14124 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
14125 |
if ${ac_cv_path_MSGMERGE+:} false; then : |
|
14126 |
$as_echo_n "(cached) " >&6 |
|
14127 |
else |
|
14128 |
case $MSGMERGE in |
|
14129 |
[\\/]* | ?:[\\/]*) |
|
14130 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
|
14131 |
;; |
|
14132 |
*) |
|
14133 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14134 |
for as_dir in $PATH |
|
14135 |
do |
|
14136 |
IFS=$as_save_IFS |
|
14137 |
test -z "$as_dir" && as_dir=. |
|
14138 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14139 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14140 |
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" |
|
14141 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14142 |
break 2 |
|
14143 |
fi |
|
14144 |
done |
|
14145 |
done |
|
14146 |
IFS=$as_save_IFS |
|
14147 |
||
14148 |
;; |
|
14149 |
esac |
|
14150 |
fi |
|
14151 |
MSGMERGE=$ac_cv_path_MSGMERGE |
|
14152 |
if test -n "$MSGMERGE"; then |
|
14153 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
|
14154 |
$as_echo "$MSGMERGE" >&6; } |
|
14155 |
else |
|
14156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14157 |
$as_echo "no" >&6; } |
|
14158 |
fi |
|
14159 |
||
14160 |
||
14161 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
|
14162 |
set dummy msgfmt; ac_word=$2 |
|
14163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14164 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
14165 |
if ${ac_cv_path_MSGFMT+:} false; then : |
|
14166 |
$as_echo_n "(cached) " >&6 |
|
14167 |
else |
|
14168 |
case $MSGFMT in |
|
14169 |
[\\/]* | ?:[\\/]*) |
|
14170 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
14171 |
;; |
|
14172 |
*) |
|
14173 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14174 |
for as_dir in $PATH |
|
14175 |
do |
|
14176 |
IFS=$as_save_IFS |
|
14177 |
test -z "$as_dir" && as_dir=. |
|
14178 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14179 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14180 |
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
14181 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14182 |
break 2 |
|
14183 |
fi |
|
14184 |
done |
|
14185 |
done |
|
14186 |
IFS=$as_save_IFS |
|
14187 |
||
14188 |
;; |
|
14189 |
esac |
|
14190 |
fi |
|
14191 |
MSGFMT=$ac_cv_path_MSGFMT |
|
14192 |
if test -n "$MSGFMT"; then |
|
14193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
|
14194 |
$as_echo "$MSGFMT" >&6; } |
|
14195 |
else |
|
14196 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14197 |
$as_echo "no" >&6; } |
|
14198 |
fi |
|
14199 |
||
14200 |
||
14201 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
|
14202 |
set dummy gmsgfmt; ac_word=$2 |
|
14203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14204 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
14205 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
|
14206 |
$as_echo_n "(cached) " >&6 |
|
14207 |
else |
|
14208 |
case $GMSGFMT in |
|
14209 |
[\\/]* | ?:[\\/]*) |
|
14210 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
14211 |
;; |
|
14212 |
*) |
|
14213 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14214 |
for as_dir in $PATH |
|
14215 |
do |
|
14216 |
IFS=$as_save_IFS |
|
14217 |
test -z "$as_dir" && as_dir=. |
|
14218 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14219 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14220 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
14221 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14222 |
break 2 |
|
14223 |
fi |
|
14224 |
done |
|
14225 |
done |
|
14226 |
IFS=$as_save_IFS |
|
14227 |
||
14228 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
14229 |
;; |
|
14230 |
esac |
|
14231 |
fi |
|
14232 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
14233 |
if test -n "$GMSGFMT"; then |
|
14234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
|
14235 |
$as_echo "$GMSGFMT" >&6; } |
|
14236 |
else |
|
14237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14238 |
$as_echo "no" >&6; } |
|
14239 |
fi |
|
14240 |
||
14241 |
||
14242 |
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
|
14243 |
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
|
14244 |
fi |
|
14245 |
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
|
14246 |
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
|
14247 |
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
|
14248 |
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
|
14249 |
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
|
14250 |
fi |
|
14251 |
||
14252 |
# Extract the first word of "perl", so it can be a program name with args. |
|
14253 |
set dummy perl; ac_word=$2 |
|
14254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14255 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
14256 |
if ${ac_cv_path_INTLTOOL_PERL+:} false; then : |
|
14257 |
$as_echo_n "(cached) " >&6 |
|
14258 |
else |
|
14259 |
case $INTLTOOL_PERL in |
|
14260 |
[\\/]* | ?:[\\/]*) |
|
14261 |
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
|
14262 |
;; |
|
14263 |
*) |
|
14264 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14265 |
for as_dir in $PATH |
|
14266 |
do |
|
14267 |
IFS=$as_save_IFS |
|
14268 |
test -z "$as_dir" && as_dir=. |
|
14269 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14270 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14271 |
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
14272 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14273 |
break 2 |
|
14274 |
fi |
|
14275 |
done |
|
14276 |
done |
|
14277 |
IFS=$as_save_IFS |
|
14278 |
||
14279 |
;; |
|
14280 |
esac |
|
14281 |
fi |
|
14282 |
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
|
14283 |
if test -n "$INTLTOOL_PERL"; then |
|
14284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 |
|
14285 |
$as_echo "$INTLTOOL_PERL" >&6; } |
|
14286 |
else |
|
14287 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14288 |
$as_echo "no" >&6; } |
|
14289 |
fi |
|
14290 |
||
14291 |
||
14292 |
if test -z "$INTLTOOL_PERL"; then |
|
14293 |
as_fn_error $? "perl not found" "$LINENO" 5 |
|
14294 |
fi |
|
14295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 |
|
14296 |
$as_echo_n "checking for perl >= 5.8.1... " >&6; } |
|
14297 |
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
|
14298 |
if test $? -ne 0; then |
|
14299 |
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 |
|
14300 |
else |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14301 |
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
14302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 |
14303 |
$as_echo "$IT_PERL_VERSION" >&6; } |
|
14304 |
fi |
|
14305 |
if test "x" != "xno-xml"; then |
|
14306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 |
|
14307 |
$as_echo_n "checking for XML::Parser... " >&6; } |
|
14308 |
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
|
14309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
14310 |
$as_echo "ok" >&6; } |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14311 |
else |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
14312 |
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14313 |
fi |
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
14314 |
fi |
14315 |
||
14316 |
# Substitute ALL_LINGUAS so we can use it in po/Makefile |
|
14317 |
||
14318 |
||
14319 |
# Set DATADIRNAME correctly if it is not set yet |
|
14320 |
# (copied from glib-gettext.m4) |
|
14321 |
if test -z "$DATADIRNAME"; then |
|
14322 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14323 |
/* end confdefs.h. */ |
|
14324 |
||
14325 |
int |
|
14326 |
main () |
|
14327 |
{ |
|
14328 |
extern int _nl_msg_cat_cntr; |
|
14329 |
return _nl_msg_cat_cntr |
|
14330 |
; |
|
14331 |
return 0; |
|
14332 |
} |
|
14333 |
_ACEOF |
|
14334 |
if ac_fn_c_try_link "$LINENO"; then : |
|
14335 |
DATADIRNAME=share |
|
14336 |
else |
|
14337 |
case $host in |
|
14338 |
*-*-solaris*) |
|
14339 |
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
|
14340 |
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
|
14341 |
DATADIRNAME=share |
|
14342 |
else |
|
14343 |
DATADIRNAME=lib |
|
14344 |
fi |
|
14345 |
||
14346 |
;; |
|
14347 |
*) |
|
14348 |
DATADIRNAME=lib |
|
14349 |
;; |
|
14350 |
esac |
|
14351 |
fi |
|
14352 |
rm -f core conftest.err conftest.$ac_objext \ |
|
14353 |
conftest$ac_exeext conftest.$ac_ext |
|
14354 |
fi |
|
14355 |
||
14356 |
||
14357 |
||
14358 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14359 |
|
14360 |
||
14361 |
||
14362 |
########################### |
|
14363 |
# Lib versioning |
|
14364 |
########################### |
|
14365 |
||
14366 |
LIBGWIBBER_CURRENT=2 |
|
14367 |
LIBGWIBBER_REVISION=0 |
|
14368 |
LIBGWIBBER_AGE=0 |
|
14369 |
||
14370 |
||
14371 |
||
14372 |
||
14373 |
||
14374 |
||
14375 |
||
14376 |
# Check whether --enable-schemas-compile was given. |
|
14377 |
if test "${enable_schemas_compile+set}" = set; then : |
|
14378 |
enableval=$enable_schemas_compile; case ${enableval} in |
|
14379 |
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; |
|
14380 |
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14381 |
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14382 |
esac |
14383 |
fi |
|
14384 |
||
14385 |
||
14386 |
||
14387 |
||
14388 |
||
14389 |
||
14390 |
||
14391 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14392 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14393 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
14394 |
if test -n "$ac_tool_prefix"; then |
|
14395 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|
14396 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
14397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14398 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14399 |
if ${ac_cv_path_PKG_CONFIG+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14400 |
$as_echo_n "(cached) " >&6 |
14401 |
else |
|
14402 |
case $PKG_CONFIG in |
|
14403 |
[\\/]* | ?:[\\/]*) |
|
14404 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
14405 |
;; |
|
14406 |
*) |
|
14407 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14408 |
for as_dir in $PATH |
|
14409 |
do |
|
14410 |
IFS=$as_save_IFS |
|
14411 |
test -z "$as_dir" && as_dir=. |
|
14412 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14413 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14414 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
14415 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14416 |
break 2 |
|
14417 |
fi |
|
14418 |
done |
|
14419 |
done |
|
14420 |
IFS=$as_save_IFS |
|
14421 |
||
14422 |
;; |
|
14423 |
esac |
|
14424 |
fi |
|
14425 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
14426 |
if test -n "$PKG_CONFIG"; then |
|
14427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
14428 |
$as_echo "$PKG_CONFIG" >&6; } |
|
14429 |
else |
|
14430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14431 |
$as_echo "no" >&6; } |
|
14432 |
fi |
|
14433 |
||
14434 |
||
14435 |
fi |
|
14436 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
14437 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
14438 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
|
14439 |
set dummy pkg-config; ac_word=$2 |
|
14440 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14441 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14442 |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14443 |
$as_echo_n "(cached) " >&6 |
14444 |
else |
|
14445 |
case $ac_pt_PKG_CONFIG in |
|
14446 |
[\\/]* | ?:[\\/]*) |
|
14447 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
14448 |
;; |
|
14449 |
*) |
|
14450 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14451 |
for as_dir in $PATH |
|
14452 |
do |
|
14453 |
IFS=$as_save_IFS |
|
14454 |
test -z "$as_dir" && as_dir=. |
|
14455 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14456 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14457 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
14458 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14459 |
break 2 |
|
14460 |
fi |
|
14461 |
done |
|
14462 |
done |
|
14463 |
IFS=$as_save_IFS |
|
14464 |
||
14465 |
;; |
|
14466 |
esac |
|
14467 |
fi |
|
14468 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
14469 |
if test -n "$ac_pt_PKG_CONFIG"; then |
|
14470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
14471 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
14472 |
else |
|
14473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14474 |
$as_echo "no" >&6; } |
|
14475 |
fi |
|
14476 |
||
14477 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
|
14478 |
PKG_CONFIG="" |
|
14479 |
else |
|
14480 |
case $cross_compiling:$ac_tool_warned in |
|
14481 |
yes:) |
|
14482 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
14483 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
14484 |
ac_tool_warned=yes ;; |
|
14485 |
esac |
|
14486 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
14487 |
fi |
|
14488 |
else |
|
14489 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
14490 |
fi |
|
14491 |
||
14492 |
fi |
|
14493 |
if test -n "$PKG_CONFIG"; then |
|
14494 |
_pkg_min_version=0.16 |
|
14495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
14496 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
14497 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
14498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
14499 |
$as_echo "yes" >&6; } |
|
14500 |
else |
|
14501 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14502 |
$as_echo "no" >&6; } |
|
14503 |
PKG_CONFIG="" |
|
14504 |
fi |
|
14505 |
fi |
|
14506 |
gsettingsschemadir=${datadir}/glib-2.0/schemas |
|
14507 |
||
14508 |
if test x$cross_compiling != xyes; then |
|
14509 |
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` |
|
14510 |
else |
|
14511 |
# Extract the first word of "glib-compile-schemas", so it can be a program name with args. |
|
14512 |
set dummy glib-compile-schemas; ac_word=$2 |
|
14513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
14514 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14515 |
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14516 |
$as_echo_n "(cached) " >&6 |
14517 |
else |
|
14518 |
case $GLIB_COMPILE_SCHEMAS in |
|
14519 |
[\\/]* | ?:[\\/]*) |
|
14520 |
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. |
|
14521 |
;; |
|
14522 |
*) |
|
14523 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14524 |
for as_dir in $PATH |
|
14525 |
do |
|
14526 |
IFS=$as_save_IFS |
|
14527 |
test -z "$as_dir" && as_dir=. |
|
14528 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14529 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14530 |
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" |
|
14531 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
14532 |
break 2 |
|
14533 |
fi |
|
14534 |
done |
|
14535 |
done |
|
14536 |
IFS=$as_save_IFS |
|
14537 |
||
14538 |
;; |
|
14539 |
esac |
|
14540 |
fi |
|
14541 |
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS |
|
14542 |
if test -n "$GLIB_COMPILE_SCHEMAS"; then |
|
14543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 |
|
14544 |
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } |
|
14545 |
else |
|
14546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14547 |
$as_echo "no" >&6; } |
|
14548 |
fi |
|
14549 |
||
14550 |
||
14551 |
fi |
|
14552 |
||
14553 |
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then |
|
14554 |
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 |
|
14555 |
else |
|
14556 |
: |
|
14557 |
fi |
|
14558 |
||
14559 |
GSETTINGS_RULES=' |
|
14560 |
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas |
|
14561 |
||
14562 |
mostlyclean-am: clean-gsettings-schemas |
|
14563 |
||
14564 |
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) |
|
14565 |
||
14566 |
%.gschema.valid: %.gschema.xml $(gsettings__enum_file) |
|
14567 |
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@ |
|
14568 |
||
14569 |
all-am: $(gsettings_SCHEMAS:.xml=.valid) |
|
14570 |
uninstall-am: uninstall-gsettings-schemas |
|
14571 |
install-data-am: install-gsettings-schemas |
|
14572 |
||
14573 |
.SECONDARY: $(gsettings_SCHEMAS) |
|
14574 |
||
14575 |
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) |
|
14576 |
@$(NORMAL_INSTALL) |
|
14577 |
if test -n "$^"; then \ |
|
14578 |
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ |
|
14579 |
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ |
|
14580 |
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ |
|
14581 |
fi |
|
14582 |
||
14583 |
uninstall-gsettings-schemas: |
|
14584 |
@$(NORMAL_UNINSTALL) |
|
14585 |
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ |
|
14586 |
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ |
|
14587 |
test -n "$$files" || exit 0; \ |
|
14588 |
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ |
|
14589 |
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files |
|
14590 |
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) |
|
14591 |
||
14592 |
clean-gsettings-schemas: |
|
14593 |
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) |
|
14594 |
||
14595 |
ifdef gsettings_ENUM_NAMESPACE |
|
14596 |
$(gsettings__enum_file): $(gsettings_ENUM_FILES) |
|
14597 |
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ |
|
14598 |
endif |
|
14599 |
' |
|
14600 |
||
14601 |
||
14602 |
||
14603 |
||
14604 |
||
14605 |
||
14606 |
||
14607 |
# Setup a few consts |
|
14608 |
if test "x${prefix}" = "xNONE"; then |
|
14609 |
PREFIX="${ac_default_prefix}" |
|
14610 |
else |
|
14611 |
PREFIX="${prefix}" |
|
14612 |
fi |
|
14613 |
||
14614 |
||
14615 |
cat >>confdefs.h <<_ACEOF |
|
14616 |
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale" |
|
14617 |
_ACEOF |
|
14618 |
||
14619 |
||
14620 |
cat >>confdefs.h <<_ACEOF |
|
14621 |
#define PKGDATADIR "${PREFIX}/${DATADIRNAME}/${PACKAGE}" |
|
14622 |
_ACEOF |
|
14623 |
||
14624 |
||
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
14625 |
###################################################### |
14626 |
# intltool rule for generating translated .lens file |
|
14627 |
###################################################### |
|
14628 |
INTLTOOL_LENS_RULE='%.lens: %.lens.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
14629 |
||
14630 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14631 |
|
14632 |
# Check whether --enable-maintainer-flags was given. |
|
14633 |
if test "${enable_maintainer_flags+set}" = set; then : |
|
14634 |
enableval=$enable_maintainer_flags; |
|
14635 |
else |
|
1.1.75
by Ken VanDine
Import upstream version 3.4.0 |
14636 |
enable_maintainer_flags=no |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14637 |
fi |
14638 |
||
14639 |
MAINTAINER_CFLAGS="" |
|
14640 |
MAINTAINER_VALAFLAGS="" |
|
14641 |
if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then : |
|
14642 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
14643 |
MAINTAINER_CFLAGS="-g -Wall -Werror -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wno-unused-but-set-variable -Wno-unused-variable -Wno-error" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14644 |
MAINTAINER_VALAFLAGS="-g --save-temps" |
14645 |
||
14646 |
||
14647 |
fi |
|
14648 |
||
14649 |
||
14650 |
||
14651 |
||
14652 |
||
14653 |
DEPRECATED_CFLAGS="" |
|
14654 |
# Check whether --enable-deprecated was given. |
|
14655 |
if test "${enable_deprecated+set}" = set; then : |
|
14656 |
enableval=$enable_deprecated; disable_deprecated=$enableval |
|
14657 |
else |
|
14658 |
disable_deprecated='yes' |
|
14659 |
fi |
|
14660 |
||
14661 |
||
14662 |
if test "$disable_deprecated" = 'no'; then |
|
14663 |
DEPRECATED_CFLAGS="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGSEAL_ENABLE -DG_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES" |
|
14664 |
fi |
|
14665 |
||
14666 |
||
14667 |
||
14668 |
GLIB_REQUIRED=2.26 |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
14669 |
GTK_REQUIRED=3.2 |
14670 |
GDK_REQUIRED=3.2 |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14671 |
DEE_REQUIRED=1.0.0 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14672 |
DBUSMENU_REQUIRED=0.4 |
14673 |
INDICATE_REQUIRED=0.5 |
|
14674 |
LIBNOTIFY_REQUIRED=0.7 |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14675 |
UNITY_REQUIRED=5.0.0 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14676 |
|
14677 |
pkg_failed=no |
|
14678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE" >&5 |
|
14679 |
$as_echo_n "checking for BASE... " >&6; } |
|
14680 |
||
14681 |
if test -n "$BASE_CFLAGS"; then |
|
14682 |
pkg_cv_BASE_CFLAGS="$BASE_CFLAGS" |
|
14683 |
elif test -n "$PKG_CONFIG"; then |
|
14684 |
if test -n "$PKG_CONFIG" && \ |
|
14685 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED |
|
14686 |
gobject-2.0 >= \$GLIB_REQUIRED |
|
14687 |
gtk+-3.0 >= \$GTK_REQUIRED |
|
14688 |
gdk-3.0 >= \$GDK_REQUIRED |
|
14689 |
gio-2.0 |
|
14690 |
gio-unix-2.0 >= \$GLIB_REQUIRED |
|
14691 |
gee-1.0 |
|
14692 |
libnotify >= \$LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14693 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14694 |
pangocairo |
14695 |
dee-1.0 >= \$DEE_REQUIRED |
|
14696 |
json-glib-1.0 |
|
14697 |
gmodule-2.0 |
|
14698 |
gsettings-desktop-schemas\""; } >&5 |
|
14699 |
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED |
|
14700 |
gobject-2.0 >= $GLIB_REQUIRED |
|
14701 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14702 |
gdk-3.0 >= $GDK_REQUIRED |
|
14703 |
gio-2.0 |
|
14704 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14705 |
gee-1.0 |
|
14706 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14707 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14708 |
pangocairo |
14709 |
dee-1.0 >= $DEE_REQUIRED |
|
14710 |
json-glib-1.0 |
|
14711 |
gmodule-2.0 |
|
14712 |
gsettings-desktop-schemas") 2>&5 |
|
14713 |
ac_status=$? |
|
14714 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14715 |
test $ac_status = 0; }; then |
|
14716 |
pkg_cv_BASE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED |
|
14717 |
gobject-2.0 >= $GLIB_REQUIRED |
|
14718 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14719 |
gdk-3.0 >= $GDK_REQUIRED |
|
14720 |
gio-2.0 |
|
14721 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14722 |
gee-1.0 |
|
14723 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14724 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14725 |
pangocairo |
14726 |
dee-1.0 >= $DEE_REQUIRED |
|
14727 |
json-glib-1.0 |
|
14728 |
gmodule-2.0 |
|
14729 |
gsettings-desktop-schemas" 2>/dev/null` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14730 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14731 |
else |
14732 |
pkg_failed=yes |
|
14733 |
fi |
|
14734 |
else |
|
14735 |
pkg_failed=untried |
|
14736 |
fi |
|
14737 |
if test -n "$BASE_LIBS"; then |
|
14738 |
pkg_cv_BASE_LIBS="$BASE_LIBS" |
|
14739 |
elif test -n "$PKG_CONFIG"; then |
|
14740 |
if test -n "$PKG_CONFIG" && \ |
|
14741 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED |
|
14742 |
gobject-2.0 >= \$GLIB_REQUIRED |
|
14743 |
gtk+-3.0 >= \$GTK_REQUIRED |
|
14744 |
gdk-3.0 >= \$GDK_REQUIRED |
|
14745 |
gio-2.0 |
|
14746 |
gio-unix-2.0 >= \$GLIB_REQUIRED |
|
14747 |
gee-1.0 |
|
14748 |
libnotify >= \$LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14749 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14750 |
pangocairo |
14751 |
dee-1.0 >= \$DEE_REQUIRED |
|
14752 |
json-glib-1.0 |
|
14753 |
gmodule-2.0 |
|
14754 |
gsettings-desktop-schemas\""; } >&5 |
|
14755 |
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED |
|
14756 |
gobject-2.0 >= $GLIB_REQUIRED |
|
14757 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14758 |
gdk-3.0 >= $GDK_REQUIRED |
|
14759 |
gio-2.0 |
|
14760 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14761 |
gee-1.0 |
|
14762 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14763 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14764 |
pangocairo |
14765 |
dee-1.0 >= $DEE_REQUIRED |
|
14766 |
json-glib-1.0 |
|
14767 |
gmodule-2.0 |
|
14768 |
gsettings-desktop-schemas") 2>&5 |
|
14769 |
ac_status=$? |
|
14770 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14771 |
test $ac_status = 0; }; then |
|
14772 |
pkg_cv_BASE_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED |
|
14773 |
gobject-2.0 >= $GLIB_REQUIRED |
|
14774 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14775 |
gdk-3.0 >= $GDK_REQUIRED |
|
14776 |
gio-2.0 |
|
14777 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14778 |
gee-1.0 |
|
14779 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14780 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14781 |
pangocairo |
14782 |
dee-1.0 >= $DEE_REQUIRED |
|
14783 |
json-glib-1.0 |
|
14784 |
gmodule-2.0 |
|
14785 |
gsettings-desktop-schemas" 2>/dev/null` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14786 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14787 |
else |
14788 |
pkg_failed=yes |
|
14789 |
fi |
|
14790 |
else |
|
14791 |
pkg_failed=untried |
|
14792 |
fi |
|
14793 |
||
14794 |
||
14795 |
||
14796 |
if test $pkg_failed = yes; then |
|
14797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14798 |
$as_echo "no" >&6; } |
|
14799 |
||
14800 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
14801 |
_pkg_short_errors_supported=yes |
|
14802 |
else |
|
14803 |
_pkg_short_errors_supported=no |
|
14804 |
fi |
|
14805 |
if test $_pkg_short_errors_supported = yes; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14806 |
BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14807 |
gobject-2.0 >= $GLIB_REQUIRED |
14808 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14809 |
gdk-3.0 >= $GDK_REQUIRED |
|
14810 |
gio-2.0 |
|
14811 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14812 |
gee-1.0 |
|
14813 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14814 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14815 |
pangocairo |
14816 |
dee-1.0 >= $DEE_REQUIRED |
|
14817 |
json-glib-1.0 |
|
14818 |
gmodule-2.0 |
|
14819 |
gsettings-desktop-schemas" 2>&1` |
|
14820 |
else |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14821 |
BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14822 |
gobject-2.0 >= $GLIB_REQUIRED |
14823 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14824 |
gdk-3.0 >= $GDK_REQUIRED |
|
14825 |
gio-2.0 |
|
14826 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14827 |
gee-1.0 |
|
14828 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14829 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14830 |
pangocairo |
14831 |
dee-1.0 >= $DEE_REQUIRED |
|
14832 |
json-glib-1.0 |
|
14833 |
gmodule-2.0 |
|
14834 |
gsettings-desktop-schemas" 2>&1` |
|
14835 |
fi |
|
14836 |
# Put the nasty error message in config.log where it belongs |
|
14837 |
echo "$BASE_PKG_ERRORS" >&5 |
|
14838 |
||
14839 |
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED |
|
14840 |
gobject-2.0 >= $GLIB_REQUIRED |
|
14841 |
gtk+-3.0 >= $GTK_REQUIRED |
|
14842 |
gdk-3.0 >= $GDK_REQUIRED |
|
14843 |
gio-2.0 |
|
14844 |
gio-unix-2.0 >= $GLIB_REQUIRED |
|
14845 |
gee-1.0 |
|
14846 |
libnotify >= $LIBNOTIFY_REQUIRED |
|
1.1.47
by Ken VanDine
Import upstream version 3.1.3 |
14847 |
libsoup-2.4 |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14848 |
pangocairo |
14849 |
dee-1.0 >= $DEE_REQUIRED |
|
14850 |
json-glib-1.0 |
|
14851 |
gmodule-2.0 |
|
14852 |
gsettings-desktop-schemas) were not met: |
|
14853 |
||
14854 |
$BASE_PKG_ERRORS |
|
14855 |
||
14856 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
14857 |
installed software in a non-standard prefix. |
|
14858 |
||
14859 |
Alternatively, you may set the environment variables BASE_CFLAGS |
|
14860 |
and BASE_LIBS to avoid the need to call pkg-config. |
|
14861 |
See the pkg-config man page for more details." "$LINENO" 5 |
|
14862 |
elif test $pkg_failed = untried; then |
|
14863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14864 |
$as_echo "no" >&6; } |
|
14865 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
14866 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
14867 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
14868 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
|
14869 |
path to pkg-config. |
|
14870 |
||
14871 |
Alternatively, you may set the environment variables BASE_CFLAGS |
|
14872 |
and BASE_LIBS to avoid the need to call pkg-config. |
|
14873 |
See the pkg-config man page for more details. |
|
14874 |
||
14875 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14876 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
14877 |
else |
14878 |
BASE_CFLAGS=$pkg_cv_BASE_CFLAGS |
|
14879 |
BASE_LIBS=$pkg_cv_BASE_LIBS |
|
14880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
14881 |
$as_echo "yes" >&6; } |
|
14882 |
||
14883 |
fi |
|
14884 |
||
14885 |
||
14886 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14887 |
# Check whether --enable-spell was given. |
14888 |
if test "${enable_spell+set}" = set; then : |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14889 |
enableval=$enable_spell; enable_spell=$enableval |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14890 |
else |
14891 |
enable_spell=yes |
|
14892 |
fi |
|
14893 |
||
14894 |
||
14895 |
if test "x$enable_spell" = "xyes"; then |
|
14896 |
||
14897 |
pkg_failed=no |
|
14898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKSPELL" >&5 |
|
14899 |
$as_echo_n "checking for GTKSPELL... " >&6; } |
|
14900 |
||
14901 |
if test -n "$GTKSPELL_CFLAGS"; then |
|
14902 |
pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS" |
|
14903 |
elif test -n "$PKG_CONFIG"; then |
|
14904 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14905 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-3.0\""; } >&5 |
14906 |
($PKG_CONFIG --exists --print-errors "gtkspell-3.0") 2>&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14907 |
ac_status=$? |
14908 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14909 |
test $ac_status = 0; }; then |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14910 |
pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-3.0" 2>/dev/null` |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14911 |
test "x$?" != "x0" && pkg_failed=yes |
14912 |
else |
|
14913 |
pkg_failed=yes |
|
14914 |
fi |
|
14915 |
else |
|
14916 |
pkg_failed=untried |
|
14917 |
fi |
|
14918 |
if test -n "$GTKSPELL_LIBS"; then |
|
14919 |
pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS" |
|
14920 |
elif test -n "$PKG_CONFIG"; then |
|
14921 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14922 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-3.0\""; } >&5 |
14923 |
($PKG_CONFIG --exists --print-errors "gtkspell-3.0") 2>&5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14924 |
ac_status=$? |
14925 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14926 |
test $ac_status = 0; }; then |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14927 |
pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-3.0" 2>/dev/null` |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14928 |
test "x$?" != "x0" && pkg_failed=yes |
14929 |
else |
|
14930 |
pkg_failed=yes |
|
14931 |
fi |
|
14932 |
else |
|
14933 |
pkg_failed=untried |
|
14934 |
fi |
|
14935 |
||
14936 |
||
14937 |
||
14938 |
if test $pkg_failed = yes; then |
|
14939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14940 |
$as_echo "no" >&6; } |
|
14941 |
||
14942 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
14943 |
_pkg_short_errors_supported=yes |
|
14944 |
else |
|
14945 |
_pkg_short_errors_supported=no |
|
14946 |
fi |
|
14947 |
if test $_pkg_short_errors_supported = yes; then |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14948 |
GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkspell-3.0" 2>&1` |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14949 |
else |
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14950 |
GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkspell-3.0" 2>&1` |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14951 |
fi |
14952 |
# Put the nasty error message in config.log where it belongs |
|
14953 |
echo "$GTKSPELL_PKG_ERRORS" >&5 |
|
14954 |
||
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14955 |
as_fn_error $? "Package requirements (gtkspell-3.0) were not met: |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14956 |
|
14957 |
$GTKSPELL_PKG_ERRORS |
|
14958 |
||
14959 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
14960 |
installed software in a non-standard prefix. |
|
14961 |
||
14962 |
Alternatively, you may set the environment variables GTKSPELL_CFLAGS |
|
14963 |
and GTKSPELL_LIBS to avoid the need to call pkg-config. |
|
14964 |
See the pkg-config man page for more details." "$LINENO" 5 |
|
14965 |
elif test $pkg_failed = untried; then |
|
14966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14967 |
$as_echo "no" >&6; } |
|
14968 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
14969 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
14970 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
14971 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
|
14972 |
path to pkg-config. |
|
14973 |
||
14974 |
Alternatively, you may set the environment variables GTKSPELL_CFLAGS |
|
14975 |
and GTKSPELL_LIBS to avoid the need to call pkg-config. |
|
14976 |
See the pkg-config man page for more details. |
|
14977 |
||
14978 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
14979 |
See \`config.log' for more details" "$LINENO" 5; } |
|
14980 |
else |
|
14981 |
GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS |
|
14982 |
GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS |
|
14983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
14984 |
$as_echo "yes" >&6; } |
|
14985 |
||
14986 |
fi |
|
14987 |
||
14988 |
||
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
14989 |
GTKSPELL_PKG="--pkg gtkspell-3.0" |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
14990 |
|
14991 |
fi |
|
14992 |
||
14993 |
if test "x$enable_spell" = "xyes"; then |
|
14994 |
HAVE_GTKSPELL_TRUE= |
|
14995 |
HAVE_GTKSPELL_FALSE='#' |
|
14996 |
else |
|
14997 |
HAVE_GTKSPELL_TRUE='#' |
|
14998 |
HAVE_GTKSPELL_FALSE= |
|
14999 |
fi |
|
15000 |
||
15001 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15002 |
########################### |
15003 |
# GObject Introspection |
|
15004 |
########################### |
|
15005 |
||
15006 |
||
15007 |
||
15008 |
||
15009 |
# Check whether --enable-introspection was given. |
|
15010 |
if test "${enable_introspection+set}" = set; then : |
|
15011 |
enableval=$enable_introspection; |
|
15012 |
else |
|
15013 |
enable_introspection=auto |
|
15014 |
fi |
|
15015 |
||
15016 |
||
15017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 |
|
15018 |
$as_echo_n "checking for gobject-introspection... " >&6; } |
|
15019 |
||
15020 |
case $enable_introspection in #( |
|
15021 |
no) : |
|
15022 |
found_introspection="no (disabled, use --enable-introspection to enable)" |
|
15023 |
;; #( |
|
15024 |
yes) : |
|
15025 |
if test -n "$PKG_CONFIG" && \ |
|
15026 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 |
|
15027 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 |
|
15028 |
ac_status=$? |
|
15029 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15030 |
test $ac_status = 0; }; then |
|
15031 |
: |
|
15032 |
else |
|
15033 |
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 |
|
15034 |
fi |
|
15035 |
if test -n "$PKG_CONFIG" && \ |
|
15036 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5 |
|
15037 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5 |
|
15038 |
ac_status=$? |
|
15039 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15040 |
test $ac_status = 0; }; then |
|
15041 |
found_introspection=yes |
|
15042 |
else |
|
15043 |
as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build gwibber" "$LINENO" 5 |
|
15044 |
fi |
|
15045 |
;; #( |
|
15046 |
auto) : |
|
15047 |
if test -n "$PKG_CONFIG" && \ |
|
15048 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5 |
|
15049 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5 |
|
15050 |
ac_status=$? |
|
15051 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15052 |
test $ac_status = 0; }; then |
|
15053 |
found_introspection=yes |
|
15054 |
else |
|
15055 |
found_introspection=no |
|
15056 |
fi |
|
1.1.72
by Ken VanDine
Import upstream version 3.3.91 |
15057 |
enable_introspection=$found_introspection |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15058 |
;; #( |
15059 |
*) : |
|
15060 |
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 |
|
15061 |
;; |
|
15062 |
esac |
|
15063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 |
|
15064 |
$as_echo "$found_introspection" >&6; } |
|
15065 |
||
15066 |
INTROSPECTION_SCANNER= |
|
15067 |
INTROSPECTION_COMPILER= |
|
15068 |
INTROSPECTION_GENERATE= |
|
15069 |
INTROSPECTION_GIRDIR= |
|
15070 |
INTROSPECTION_TYPELIBDIR= |
|
15071 |
if test "x$found_introspection" = "xyes"; then |
|
15072 |
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
|
15073 |
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
|
15074 |
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
|
15075 |
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` |
|
15076 |
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" |
|
15077 |
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` |
|
15078 |
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` |
|
15079 |
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |
|
15080 |
fi |
|
15081 |
||
15082 |
||
15083 |
||
15084 |
||
15085 |
||
15086 |
||
15087 |
||
15088 |
||
15089 |
||
15090 |
if test "x$found_introspection" = "xyes"; then |
|
15091 |
HAVE_INTROSPECTION_TRUE= |
|
15092 |
HAVE_INTROSPECTION_FALSE='#' |
|
15093 |
else |
|
15094 |
HAVE_INTROSPECTION_TRUE='#' |
|
15095 |
HAVE_INTROSPECTION_FALSE= |
|
15096 |
fi |
|
15097 |
||
15098 |
||
15099 |
||
15100 |
||
15101 |
if test -n "$PKG_CONFIG" && \ |
|
15102 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10\""; } >&5 |
|
15103 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10") 2>&5 |
|
15104 |
ac_status=$? |
|
15105 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15106 |
test $ac_status = 0; }; then |
|
15107 |
introspection_ten=yes |
|
15108 |
else |
|
15109 |
introspection_ten=no |
|
15110 |
fi |
|
15111 |
||
15112 |
if test "x$introspection_ten" = "xyes"; then |
|
15113 |
INTROSPECTION_TEN_TRUE= |
|
15114 |
INTROSPECTION_TEN_FALSE='#' |
|
15115 |
else |
|
15116 |
INTROSPECTION_TEN_TRUE='#' |
|
15117 |
INTROSPECTION_TEN_FALSE= |
|
15118 |
fi |
|
15119 |
||
15120 |
||
15121 |
########################### |
|
15122 |
# DBus Service Info |
|
15123 |
########################### |
|
15124 |
||
15125 |
if test "x$with_localinstall" = "xyes"; then |
|
15126 |
DBUSSERVICEDIR="${datadir}/dbus-1/services/" |
|
15127 |
else |
|
15128 |
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1` |
|
15129 |
fi |
|
15130 |
||
15131 |
||
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
15132 |
with_localinstall="no" |
15133 |
# Check whether --enable-localinstall was given. |
|
15134 |
if test "${enable_localinstall+set}" = set; then : |
|
15135 |
enableval=$enable_localinstall; with_localinstall=$enableval |
|
15136 |
else |
|
15137 |
with_localinstall=no |
|
15138 |
fi |
|
15139 |
||
15140 |
||
15141 |
if test "x$with_localinstall" = "xyes"; then |
|
15142 |
HAVE_LOCALINSTALL_TRUE= |
|
15143 |
HAVE_LOCALINSTALL_FALSE='#' |
|
15144 |
else |
|
15145 |
HAVE_LOCALINSTALL_TRUE='#' |
|
15146 |
HAVE_LOCALINSTALL_FALSE= |
|
15147 |
fi |
|
15148 |
||
15149 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15150 |
with_unity="yes" |
15151 |
# Check whether --enable-unity was given. |
|
15152 |
if test "${enable_unity+set}" = set; then : |
|
15153 |
enableval=$enable_unity; with_unity=$enableval |
|
15154 |
else |
|
15155 |
with_unity=yes |
|
15156 |
fi |
|
15157 |
||
15158 |
||
15159 |
if test "x$with_unity" = "xyes"; then |
|
15160 |
HAVE_UNITY_TRUE= |
|
15161 |
HAVE_UNITY_FALSE='#' |
|
15162 |
else |
|
15163 |
HAVE_UNITY_TRUE='#' |
|
15164 |
HAVE_UNITY_FALSE= |
|
15165 |
fi |
|
15166 |
||
15167 |
||
15168 |
if test "x$with_unity" = "xyes"; then |
|
15169 |
||
15170 |
pkg_failed=no |
|
15171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5 |
|
15172 |
$as_echo_n "checking for UNITY... " >&6; } |
|
15173 |
||
15174 |
if test -n "$UNITY_CFLAGS"; then |
|
15175 |
pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS" |
|
15176 |
elif test -n "$PKG_CONFIG"; then |
|
15177 |
if test -n "$PKG_CONFIG" && \ |
|
15178 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENU_REQUIRED |
|
15179 |
unity >= \$UNITY_REQUIRED\""; } >&5 |
|
15180 |
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
|
15181 |
unity >= $UNITY_REQUIRED") 2>&5 |
|
15182 |
ac_status=$? |
|
15183 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15184 |
test $ac_status = 0; }; then |
|
15185 |
pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
|
15186 |
unity >= $UNITY_REQUIRED" 2>/dev/null` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15187 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15188 |
else |
15189 |
pkg_failed=yes |
|
15190 |
fi |
|
15191 |
else |
|
15192 |
pkg_failed=untried |
|
15193 |
fi |
|
15194 |
if test -n "$UNITY_LIBS"; then |
|
15195 |
pkg_cv_UNITY_LIBS="$UNITY_LIBS" |
|
15196 |
elif test -n "$PKG_CONFIG"; then |
|
15197 |
if test -n "$PKG_CONFIG" && \ |
|
15198 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENU_REQUIRED |
|
15199 |
unity >= \$UNITY_REQUIRED\""; } >&5 |
|
15200 |
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
|
15201 |
unity >= $UNITY_REQUIRED") 2>&5 |
|
15202 |
ac_status=$? |
|
15203 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
15204 |
test $ac_status = 0; }; then |
|
15205 |
pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
|
15206 |
unity >= $UNITY_REQUIRED" 2>/dev/null` |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15207 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15208 |
else |
15209 |
pkg_failed=yes |
|
15210 |
fi |
|
15211 |
else |
|
15212 |
pkg_failed=untried |
|
15213 |
fi |
|
15214 |
||
15215 |
||
15216 |
||
15217 |
if test $pkg_failed = yes; then |
|
15218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
15219 |
$as_echo "no" >&6; } |
|
15220 |
||
15221 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
15222 |
_pkg_short_errors_supported=yes |
|
15223 |
else |
|
15224 |
_pkg_short_errors_supported=no |
|
15225 |
fi |
|
15226 |
if test $_pkg_short_errors_supported = yes; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15227 |
UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15228 |
unity >= $UNITY_REQUIRED" 2>&1` |
15229 |
else |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15230 |
UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15231 |
unity >= $UNITY_REQUIRED" 2>&1` |
15232 |
fi |
|
15233 |
# Put the nasty error message in config.log where it belongs |
|
15234 |
echo "$UNITY_PKG_ERRORS" >&5 |
|
15235 |
||
15236 |
as_fn_error $? "Package requirements (dbusmenu-glib-0.4 >= $DBUSMENU_REQUIRED |
|
15237 |
unity >= $UNITY_REQUIRED) were not met: |
|
15238 |
||
15239 |
$UNITY_PKG_ERRORS |
|
15240 |
||
15241 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
15242 |
installed software in a non-standard prefix. |
|
15243 |
||
15244 |
Alternatively, you may set the environment variables UNITY_CFLAGS |
|
15245 |
and UNITY_LIBS to avoid the need to call pkg-config. |
|
15246 |
See the pkg-config man page for more details." "$LINENO" 5 |
|
15247 |
elif test $pkg_failed = untried; then |
|
15248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
15249 |
$as_echo "no" >&6; } |
|
15250 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
15251 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
15252 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
15253 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
|
15254 |
path to pkg-config. |
|
15255 |
||
15256 |
Alternatively, you may set the environment variables UNITY_CFLAGS |
|
15257 |
and UNITY_LIBS to avoid the need to call pkg-config. |
|
15258 |
See the pkg-config man page for more details. |
|
15259 |
||
15260 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15261 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15262 |
else |
15263 |
UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS |
|
15264 |
UNITY_LIBS=$pkg_cv_UNITY_LIBS |
|
15265 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
15266 |
$as_echo "yes" >&6; } |
|
15267 |
||
15268 |
fi |
|
15269 |
||
15270 |
||
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
15271 |
if test "x$with_localinstall" = "xyes"; then |
15272 |
LENSESDIR="${datadir}/unity/lenses" |
|
15273 |
else |
|
15274 |
LENSESDIR=`$PKG_CONFIG --variable=lensesdir unity` |
|
15275 |
fi |
|
15276 |
||
15277 |
fi |
|
15278 |
||
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
15279 |
ac_config_files="$ac_config_files Makefile man/Makefile gwibber/Makefile gwibber/lib/Makefile gwibber/lib/gtk/Makefile gwibber/microblog/Makefile gwibber/microblog/util/Makefile gwibber/microblog/util/const.py gwibber/microblog/uploader/Makefile gwibber/microblog/uploader/imageshack/Makefile gwibber/microblog/uploader/ubuntuone_uploader/Makefile gwibber/microblog/urlshorter/Makefile gwibber/microblog/plugins/Makefile gwibber/microblog/plugins/buzz/Makefile gwibber/microblog/plugins/buzz/gtk/Makefile gwibber/microblog/plugins/buzz/gtk/buzz/Makefile gwibber/microblog/plugins/buzz/ui/Makefile gwibber/microblog/plugins/buzz/ui/icons/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/apps/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/apps/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/Makefile gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/apps/Makefile gwibber/microblog/plugins/digg/Makefile gwibber/microblog/plugins/digg/gtk/Makefile gwibber/microblog/plugins/digg/gtk/digg/Makefile gwibber/microblog/plugins/digg/ui/Makefile gwibber/microblog/plugins/facebook/Makefile gwibber/microblog/plugins/facebook/gtk/Makefile gwibber/microblog/plugins/facebook/gtk/facebook/Makefile gwibber/microblog/plugins/facebook/ui/Makefile gwibber/microblog/plugins/flickr/Makefile gwibber/microblog/plugins/flickr/gtk/Makefile gwibber/microblog/plugins/flickr/gtk/flickr/Makefile gwibber/microblog/plugins/flickr/ui/Makefile gwibber/microblog/plugins/foursquare/Makefile gwibber/microblog/plugins/foursquare/gtk/Makefile gwibber/microblog/plugins/foursquare/gtk/foursquare/Makefile gwibber/microblog/plugins/foursquare/ui/Makefile gwibber/microblog/plugins/foursquare/ui/icons/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/apps/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/apps/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/Makefile gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/apps/Makefile gwibber/microblog/plugins/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/gtk/Makefile gwibber/microblog/plugins/friendfeed/gtk/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/ui/Makefile gwibber/microblog/plugins/identica/Makefile gwibber/microblog/plugins/identica/gtk/Makefile gwibber/microblog/plugins/identica/gtk/identica/Makefile gwibber/microblog/plugins/identica/ui/Makefile gwibber/microblog/plugins/pingfm/Makefile gwibber/microblog/plugins/pingfm/gtk/Makefile gwibber/microblog/plugins/pingfm/gtk/pingfm/Makefile gwibber/microblog/plugins/pingfm/ui/Makefile gwibber/microblog/plugins/qaiku/Makefile gwibber/microblog/plugins/qaiku/gtk/Makefile gwibber/microblog/plugins/qaiku/gtk/qaiku/Makefile gwibber/microblog/plugins/qaiku/ui/Makefile gwibber/microblog/plugins/statusnet/Makefile gwibber/microblog/plugins/statusnet/gtk/Makefile gwibber/microblog/plugins/statusnet/gtk/statusnet/Makefile gwibber/microblog/plugins/statusnet/ui/Makefile gwibber/microblog/plugins/twitter/Makefile gwibber/microblog/plugins/twitter/gtk/Makefile gwibber/microblog/plugins/twitter/gtk/twitter/Makefile gwibber/microblog/plugins/twitter/ui/Makefile data/Makefile data/icons/Makefile data/icons/hicolor/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/16x16/status/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/22x22/places/Makefile data/icons/hicolor/22x22/status/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/48x48/places/Makefile data/icons/hicolor/scalable/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/hicolor/scalable/places/Makefile data/icons/streams/Makefile data/icons/streams/16x16/Makefile data/icons/streams/24x24/Makefile data/icons/streams/32x32/Makefile data/icons/scalable/apps/Makefile data/icons/16x16/apps/Makefile data/icons/24x24/apps/Makefile data/icons/32x32/apps/Makefile data/icons/48x48/apps/Makefile data/icons/256x256/apps/Makefile data/icons/scalable/Makefile data/icons/16x16/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/gwibber.desktop.in data/org.gwibber.gschema.xml.in libgwibber/Makefile libgwibber-gtk/Makefile vapi/Makefile po/Makefile.in gwibber-$GWIBBER_API_VERSION.pc gwibber-gtk-$GWIBBER_API_VERSION.pc lens/Makefile lens/src/Makefile lens/data/Makefile lens/data/gwibber.lens.in client/Makefile bin/Makefile tests/Makefile tests/vala/Makefile tests/python/Makefile" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15280 |
|
15281 |
cat >confcache <<\_ACEOF |
|
15282 |
# This file is a shell script that caches the results of configure |
|
15283 |
# tests run on this system so they can be shared between configure |
|
15284 |
# scripts and configure runs, see configure's option --config-cache. |
|
15285 |
# It is not useful on other systems. If it contains results you don't |
|
15286 |
# want to keep, you may remove or edit it. |
|
15287 |
# |
|
15288 |
# config.status only pays attention to the cache file if you give it |
|
15289 |
# the --recheck option to rerun configure. |
|
15290 |
# |
|
15291 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
15292 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
15293 |
# following values. |
|
15294 |
||
15295 |
_ACEOF |
|
15296 |
||
15297 |
# The following way of writing the cache mishandles newlines in values, |
|
15298 |
# but we know of no workaround that is simple, portable, and efficient. |
|
15299 |
# So, we kill variables containing newlines. |
|
15300 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
15301 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
15302 |
( |
|
15303 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
15304 |
eval ac_val=\$$ac_var |
|
15305 |
case $ac_val in #( |
|
15306 |
*${as_nl}*) |
|
15307 |
case $ac_var in #( |
|
15308 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
15309 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
15310 |
esac |
|
15311 |
case $ac_var in #( |
|
15312 |
_ | IFS | as_nl) ;; #( |
|
15313 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
15314 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
15315 |
esac ;; |
|
15316 |
esac |
|
15317 |
done |
|
15318 |
||
15319 |
(set) 2>&1 | |
|
15320 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
15321 |
*${as_nl}ac_space=\ *) |
|
15322 |
# `set' does not quote correctly, so add quotes: double-quote |
|
15323 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
15324 |
sed -n \ |
|
15325 |
"s/'/'\\\\''/g; |
|
15326 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
15327 |
;; #( |
|
15328 |
*) |
|
15329 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
15330 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
15331 |
;; |
|
15332 |
esac | |
|
15333 |
sort |
|
15334 |
) | |
|
15335 |
sed ' |
|
15336 |
/^ac_cv_env_/b end |
|
15337 |
t clear |
|
15338 |
:clear |
|
15339 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
15340 |
t end |
|
15341 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
15342 |
:end' >>confcache |
|
15343 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
15344 |
if test -w "$cache_file"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15345 |
if test "x$cache_file" != "x/dev/null"; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
15347 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15348 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
15349 |
cat confcache >"$cache_file" |
|
15350 |
else |
|
15351 |
case $cache_file in #( |
|
15352 |
*/* | ?:*) |
|
15353 |
mv -f confcache "$cache_file"$$ && |
|
15354 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
15355 |
*) |
|
15356 |
mv -f confcache "$cache_file" ;; |
|
15357 |
esac |
|
15358 |
fi |
|
15359 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15360 |
else |
15361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
15362 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
15363 |
fi |
|
15364 |
fi |
|
15365 |
rm -f confcache |
|
15366 |
||
15367 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
15368 |
# Let make expand exec_prefix. |
|
15369 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
15370 |
||
15371 |
DEFS=-DHAVE_CONFIG_H |
|
15372 |
||
15373 |
ac_libobjs= |
|
15374 |
ac_ltlibobjs= |
|
15375 |
U= |
|
15376 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
15377 |
# 1. Remove the extension, and $U if already installed. |
|
15378 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
15379 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
15380 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
15381 |
# will be set to the directory where LIBOBJS objects are built. |
|
15382 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
15383 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
15384 |
done |
|
15385 |
LIBOBJS=$ac_libobjs |
|
15386 |
||
15387 |
LTLIBOBJS=$ac_ltlibobjs |
|
15388 |
||
15389 |
||
15390 |
if test -n "$EXEEXT"; then |
|
15391 |
am__EXEEXT_TRUE= |
|
15392 |
am__EXEEXT_FALSE='#' |
|
15393 |
else |
|
15394 |
am__EXEEXT_TRUE='#' |
|
15395 |
am__EXEEXT_FALSE= |
|
15396 |
fi |
|
15397 |
||
15398 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
15399 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
|
15400 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15401 |
fi |
|
15402 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
15403 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
15404 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15405 |
fi |
|
15406 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
15407 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
15408 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15409 |
fi |
|
15410 |
||
15411 |
ac_config_commands="$ac_config_commands po/stamp-it" |
|
15412 |
||
15413 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15414 |
if test -z "${HAVE_GTKSPELL_TRUE}" && test -z "${HAVE_GTKSPELL_FALSE}"; then |
15415 |
as_fn_error $? "conditional \"HAVE_GTKSPELL\" was never defined. |
|
15416 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15417 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15418 |
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then |
15419 |
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. |
|
15420 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15421 |
fi |
|
15422 |
if test -z "${INTROSPECTION_TEN_TRUE}" && test -z "${INTROSPECTION_TEN_FALSE}"; then |
|
15423 |
as_fn_error $? "conditional \"INTROSPECTION_TEN\" was never defined. |
|
15424 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15425 |
fi |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
15426 |
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then |
15427 |
as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined. |
|
15428 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15429 |
fi |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15430 |
if test -z "${HAVE_UNITY_TRUE}" && test -z "${HAVE_UNITY_FALSE}"; then |
15431 |
as_fn_error $? "conditional \"HAVE_UNITY\" was never defined. |
|
15432 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15433 |
fi |
|
15434 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15435 |
: "${CONFIG_STATUS=./config.status}" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15436 |
ac_write_fail=0 |
15437 |
ac_clean_files_save=$ac_clean_files |
|
15438 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
15439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
15440 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
15441 |
as_write_fail=0 |
|
15442 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
15443 |
#! $SHELL |
|
15444 |
# Generated by $as_me. |
|
15445 |
# Run this file to recreate the current configuration. |
|
15446 |
# Compiler output produced by configure, useful for debugging |
|
15447 |
# configure, is in config.log if it exists. |
|
15448 |
||
15449 |
debug=false |
|
15450 |
ac_cs_recheck=false |
|
15451 |
ac_cs_silent=false |
|
15452 |
||
15453 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
15454 |
export SHELL |
|
15455 |
_ASEOF |
|
15456 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
15457 |
## -------------------- ## |
|
15458 |
## M4sh Initialization. ## |
|
15459 |
## -------------------- ## |
|
15460 |
||
15461 |
# Be more Bourne compatible |
|
15462 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
15463 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
15464 |
emulate sh |
|
15465 |
NULLCMD=: |
|
15466 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
15467 |
# is contrary to our usage. Disable this feature. |
|
15468 |
alias -g '${1+"$@"}'='"$@"' |
|
15469 |
setopt NO_GLOB_SUBST |
|
15470 |
else |
|
15471 |
case `(set -o) 2>/dev/null` in #( |
|
15472 |
*posix*) : |
|
15473 |
set -o posix ;; #( |
|
15474 |
*) : |
|
15475 |
;; |
|
15476 |
esac |
|
15477 |
fi |
|
15478 |
||
15479 |
||
15480 |
as_nl=' |
|
15481 |
' |
|
15482 |
export as_nl |
|
15483 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
15484 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
15485 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
15486 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
15487 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
15488 |
# but without wasting forks for bash or zsh. |
|
15489 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
15490 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
15491 |
as_echo='print -r --' |
|
15492 |
as_echo_n='print -rn --' |
|
15493 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
15494 |
as_echo='printf %s\n' |
|
15495 |
as_echo_n='printf %s' |
|
15496 |
else |
|
15497 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
15498 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
15499 |
as_echo_n='/usr/ucb/echo -n' |
|
15500 |
else |
|
15501 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
15502 |
as_echo_n_body='eval |
|
15503 |
arg=$1; |
|
15504 |
case $arg in #( |
|
15505 |
*"$as_nl"*) |
|
15506 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
15507 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
15508 |
esac; |
|
15509 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
15510 |
' |
|
15511 |
export as_echo_n_body |
|
15512 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
15513 |
fi |
|
15514 |
export as_echo_body |
|
15515 |
as_echo='sh -c $as_echo_body as_echo' |
|
15516 |
fi |
|
15517 |
||
15518 |
# The user is always right. |
|
15519 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
15520 |
PATH_SEPARATOR=: |
|
15521 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
15522 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
15523 |
PATH_SEPARATOR=';' |
|
15524 |
} |
|
15525 |
fi |
|
15526 |
||
15527 |
||
15528 |
# IFS |
|
15529 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
15530 |
# there to prevent editors from complaining about space-tab. |
|
15531 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
15532 |
# splitting by setting IFS to empty value.) |
|
15533 |
IFS=" "" $as_nl" |
|
15534 |
||
15535 |
# Find who we are. Look in the path if we contain no directory separator. |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15536 |
as_myself= |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15537 |
case $0 in #(( |
15538 |
*[\\/]* ) as_myself=$0 ;; |
|
15539 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
15540 |
for as_dir in $PATH |
|
15541 |
do |
|
15542 |
IFS=$as_save_IFS |
|
15543 |
test -z "$as_dir" && as_dir=. |
|
15544 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
15545 |
done |
|
15546 |
IFS=$as_save_IFS |
|
15547 |
||
15548 |
;; |
|
15549 |
esac |
|
15550 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
15551 |
# in which case we are not to be found in the path. |
|
15552 |
if test "x$as_myself" = x; then |
|
15553 |
as_myself=$0 |
|
15554 |
fi |
|
15555 |
if test ! -f "$as_myself"; then |
|
15556 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
15557 |
exit 1 |
|
15558 |
fi |
|
15559 |
||
15560 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
15561 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
15562 |
# suppresses any "Segmentation fault" message there. '((' could |
|
15563 |
# trigger a bug in pdksh 5.2.14. |
|
15564 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
15565 |
do eval test x\${$as_var+set} = xset \ |
|
15566 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
15567 |
done |
|
15568 |
PS1='$ ' |
|
15569 |
PS2='> ' |
|
15570 |
PS4='+ ' |
|
15571 |
||
15572 |
# NLS nuisances. |
|
15573 |
LC_ALL=C |
|
15574 |
export LC_ALL |
|
15575 |
LANGUAGE=C |
|
15576 |
export LANGUAGE |
|
15577 |
||
15578 |
# CDPATH. |
|
15579 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
15580 |
||
15581 |
||
15582 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
15583 |
# ---------------------------------------- |
|
15584 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
15585 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
15586 |
# script with STATUS, using 1 if that was 0. |
|
15587 |
as_fn_error () |
|
15588 |
{ |
|
15589 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
15590 |
if test "$4"; then |
|
15591 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
15592 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
15593 |
fi |
|
15594 |
$as_echo "$as_me: error: $2" >&2 |
|
15595 |
as_fn_exit $as_status |
|
15596 |
} # as_fn_error |
|
15597 |
||
15598 |
||
15599 |
# as_fn_set_status STATUS |
|
15600 |
# ----------------------- |
|
15601 |
# Set $? to STATUS, without forking. |
|
15602 |
as_fn_set_status () |
|
15603 |
{ |
|
15604 |
return $1 |
|
15605 |
} # as_fn_set_status |
|
15606 |
||
15607 |
# as_fn_exit STATUS |
|
15608 |
# ----------------- |
|
15609 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
15610 |
as_fn_exit () |
|
15611 |
{ |
|
15612 |
set +e |
|
15613 |
as_fn_set_status $1 |
|
15614 |
exit $1 |
|
15615 |
} # as_fn_exit |
|
15616 |
||
15617 |
# as_fn_unset VAR |
|
15618 |
# --------------- |
|
15619 |
# Portably unset VAR. |
|
15620 |
as_fn_unset () |
|
15621 |
{ |
|
15622 |
{ eval $1=; unset $1;} |
|
15623 |
} |
|
15624 |
as_unset=as_fn_unset |
|
15625 |
# as_fn_append VAR VALUE |
|
15626 |
# ---------------------- |
|
15627 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
15628 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
15629 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
15630 |
# implementations. |
|
15631 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
15632 |
eval 'as_fn_append () |
|
15633 |
{ |
|
15634 |
eval $1+=\$2 |
|
15635 |
}' |
|
15636 |
else |
|
15637 |
as_fn_append () |
|
15638 |
{ |
|
15639 |
eval $1=\$$1\$2 |
|
15640 |
} |
|
15641 |
fi # as_fn_append |
|
15642 |
||
15643 |
# as_fn_arith ARG... |
|
15644 |
# ------------------ |
|
15645 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
15646 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
15647 |
# must be portable across $(()) and expr. |
|
15648 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
15649 |
eval 'as_fn_arith () |
|
15650 |
{ |
|
15651 |
as_val=$(( $* )) |
|
15652 |
}' |
|
15653 |
else |
|
15654 |
as_fn_arith () |
|
15655 |
{ |
|
15656 |
as_val=`expr "$@" || test $? -eq 1` |
|
15657 |
} |
|
15658 |
fi # as_fn_arith |
|
15659 |
||
15660 |
||
15661 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
15662 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
15663 |
as_expr=expr |
|
15664 |
else |
|
15665 |
as_expr=false |
|
15666 |
fi |
|
15667 |
||
15668 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
15669 |
as_basename=basename |
|
15670 |
else |
|
15671 |
as_basename=false |
|
15672 |
fi |
|
15673 |
||
15674 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
15675 |
as_dirname=dirname |
|
15676 |
else |
|
15677 |
as_dirname=false |
|
15678 |
fi |
|
15679 |
||
15680 |
as_me=`$as_basename -- "$0" || |
|
15681 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
15682 |
X"$0" : 'X\(//\)$' \| \ |
|
15683 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
15684 |
$as_echo X/"$0" | |
|
15685 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
15686 |
s//\1/ |
|
15687 |
q |
|
15688 |
} |
|
15689 |
/^X\/\(\/\/\)$/{ |
|
15690 |
s//\1/ |
|
15691 |
q |
|
15692 |
} |
|
15693 |
/^X\/\(\/\).*/{ |
|
15694 |
s//\1/ |
|
15695 |
q |
|
15696 |
} |
|
15697 |
s/.*/./; q'` |
|
15698 |
||
15699 |
# Avoid depending upon Character Ranges. |
|
15700 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
15701 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
15702 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
15703 |
as_cr_digits='0123456789' |
|
15704 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
15705 |
||
15706 |
ECHO_C= ECHO_N= ECHO_T= |
|
15707 |
case `echo -n x` in #((((( |
|
15708 |
-n*) |
|
15709 |
case `echo 'xy\c'` in |
|
15710 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
15711 |
xy) ECHO_C='\c';; |
|
15712 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
15713 |
ECHO_T=' ';; |
|
15714 |
esac;; |
|
15715 |
*) |
|
15716 |
ECHO_N='-n';; |
|
15717 |
esac |
|
15718 |
||
15719 |
rm -f conf$$ conf$$.exe conf$$.file |
|
15720 |
if test -d conf$$.dir; then |
|
15721 |
rm -f conf$$.dir/conf$$.file |
|
15722 |
else |
|
15723 |
rm -f conf$$.dir |
|
15724 |
mkdir conf$$.dir 2>/dev/null |
|
15725 |
fi |
|
15726 |
if (echo >conf$$.file) 2>/dev/null; then |
|
15727 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
15728 |
as_ln_s='ln -s' |
|
15729 |
# ... but there are two gotchas: |
|
15730 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
15731 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
15732 |
# In both cases, we have to default to `cp -p'. |
|
15733 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
15734 |
as_ln_s='cp -p' |
|
15735 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
15736 |
as_ln_s=ln |
|
15737 |
else |
|
15738 |
as_ln_s='cp -p' |
|
15739 |
fi |
|
15740 |
else |
|
15741 |
as_ln_s='cp -p' |
|
15742 |
fi |
|
15743 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
15744 |
rmdir conf$$.dir 2>/dev/null |
|
15745 |
||
15746 |
||
15747 |
# as_fn_mkdir_p |
|
15748 |
# ------------- |
|
15749 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
15750 |
as_fn_mkdir_p () |
|
15751 |
{ |
|
15752 |
||
15753 |
case $as_dir in #( |
|
15754 |
-*) as_dir=./$as_dir;; |
|
15755 |
esac |
|
15756 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
15757 |
as_dirs= |
|
15758 |
while :; do |
|
15759 |
case $as_dir in #( |
|
15760 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
15761 |
*) as_qdir=$as_dir;; |
|
15762 |
esac |
|
15763 |
as_dirs="'$as_qdir' $as_dirs" |
|
15764 |
as_dir=`$as_dirname -- "$as_dir" || |
|
15765 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
15766 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
15767 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
15768 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
15769 |
$as_echo X"$as_dir" | |
|
15770 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
15771 |
s//\1/ |
|
15772 |
q |
|
15773 |
} |
|
15774 |
/^X\(\/\/\)[^/].*/{ |
|
15775 |
s//\1/ |
|
15776 |
q |
|
15777 |
} |
|
15778 |
/^X\(\/\/\)$/{ |
|
15779 |
s//\1/ |
|
15780 |
q |
|
15781 |
} |
|
15782 |
/^X\(\/\).*/{ |
|
15783 |
s//\1/ |
|
15784 |
q |
|
15785 |
} |
|
15786 |
s/.*/./; q'` |
|
15787 |
test -d "$as_dir" && break |
|
15788 |
done |
|
15789 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
15790 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
15791 |
||
15792 |
||
15793 |
} # as_fn_mkdir_p |
|
15794 |
if mkdir -p . 2>/dev/null; then |
|
15795 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
15796 |
else |
|
15797 |
test -d ./-p && rmdir ./-p |
|
15798 |
as_mkdir_p=false |
|
15799 |
fi |
|
15800 |
||
15801 |
if test -x / >/dev/null 2>&1; then |
|
15802 |
as_test_x='test -x' |
|
15803 |
else |
|
15804 |
if ls -dL / >/dev/null 2>&1; then |
|
15805 |
as_ls_L_option=L |
|
15806 |
else |
|
15807 |
as_ls_L_option= |
|
15808 |
fi |
|
15809 |
as_test_x=' |
|
15810 |
eval sh -c '\'' |
|
15811 |
if test -d "$1"; then |
|
15812 |
test -d "$1/."; |
|
15813 |
else |
|
15814 |
case $1 in #( |
|
15815 |
-*)set "./$1";; |
|
15816 |
esac; |
|
15817 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
15818 |
???[sx]*):;;*)false;;esac;fi |
|
15819 |
'\'' sh |
|
15820 |
' |
|
15821 |
fi |
|
15822 |
as_executable_p=$as_test_x |
|
15823 |
||
15824 |
# Sed expression to map a string onto a valid CPP name. |
|
15825 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
15826 |
||
15827 |
# Sed expression to map a string onto a valid variable name. |
|
15828 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
15829 |
||
15830 |
||
15831 |
exec 6>&1 |
|
15832 |
## ----------------------------------- ## |
|
15833 |
## Main body of $CONFIG_STATUS script. ## |
|
15834 |
## ----------------------------------- ## |
|
15835 |
_ASEOF |
|
15836 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
15837 |
||
15838 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15839 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
15840 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
15841 |
# values after options handling. |
|
15842 |
ac_log=" |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
15843 |
This file was extended by gwibber $as_me 3.4.1, which was |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15844 |
generated by GNU Autoconf 2.68. Invocation command line was |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15845 |
|
15846 |
CONFIG_FILES = $CONFIG_FILES |
|
15847 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
15848 |
CONFIG_LINKS = $CONFIG_LINKS |
|
15849 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
15850 |
$ $0 $@ |
|
15851 |
||
15852 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
15853 |
" |
|
15854 |
||
15855 |
_ACEOF |
|
15856 |
||
15857 |
case $ac_config_files in *" |
|
15858 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
15859 |
esac |
|
15860 |
||
15861 |
case $ac_config_headers in *" |
|
15862 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
15863 |
esac |
|
15864 |
||
15865 |
||
15866 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15867 |
# Files that config.status was made for. |
|
15868 |
config_files="$ac_config_files" |
|
15869 |
config_headers="$ac_config_headers" |
|
15870 |
config_commands="$ac_config_commands" |
|
15871 |
||
15872 |
_ACEOF |
|
15873 |
||
15874 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15875 |
ac_cs_usage="\ |
|
15876 |
\`$as_me' instantiates files and other configuration actions |
|
15877 |
from templates according to the current configuration. Unless the files |
|
15878 |
and actions are specified as TAGs, all are instantiated by default. |
|
15879 |
||
15880 |
Usage: $0 [OPTION]... [TAG]... |
|
15881 |
||
15882 |
-h, --help print this help, then exit |
|
15883 |
-V, --version print version number and configuration settings, then exit |
|
15884 |
--config print configuration, then exit |
|
15885 |
-q, --quiet, --silent |
|
15886 |
do not print progress messages |
|
15887 |
-d, --debug don't remove temporary files |
|
15888 |
--recheck update $as_me by reconfiguring in the same conditions |
|
15889 |
--file=FILE[:TEMPLATE] |
|
15890 |
instantiate the configuration file FILE |
|
15891 |
--header=FILE[:TEMPLATE] |
|
15892 |
instantiate the configuration header FILE |
|
15893 |
||
15894 |
Configuration files: |
|
15895 |
$config_files |
|
15896 |
||
15897 |
Configuration headers: |
|
15898 |
$config_headers |
|
15899 |
||
15900 |
Configuration commands: |
|
15901 |
$config_commands |
|
15902 |
||
15903 |
Report bugs to <https://launchpad.net/gwibber>." |
|
15904 |
||
15905 |
_ACEOF |
|
15906 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15907 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
15908 |
ac_cs_version="\\ |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
15909 |
gwibber config.status 3.4.1 |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
15910 |
configured by $0, generated by GNU Autoconf 2.68, |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
15911 |
with options \\"\$ac_cs_config\\" |
15912 |
||
15913 |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
15914 |
This config.status script is free software; the Free Software Foundation |
|
15915 |
gives unlimited permission to copy, distribute and modify it." |
|
15916 |
||
15917 |
ac_pwd='$ac_pwd' |
|
15918 |
srcdir='$srcdir' |
|
15919 |
INSTALL='$INSTALL' |
|
15920 |
MKDIR_P='$MKDIR_P' |
|
15921 |
AWK='$AWK' |
|
15922 |
test -n "\$AWK" || AWK=awk |
|
15923 |
_ACEOF |
|
15924 |
||
15925 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15926 |
# The default lists apply if the user does not specify any file. |
|
15927 |
ac_need_defaults=: |
|
15928 |
while test $# != 0 |
|
15929 |
do |
|
15930 |
case $1 in |
|
15931 |
--*=?*) |
|
15932 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
15933 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
15934 |
ac_shift=: |
|
15935 |
;; |
|
15936 |
--*=) |
|
15937 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
15938 |
ac_optarg= |
|
15939 |
ac_shift=: |
|
15940 |
;; |
|
15941 |
*) |
|
15942 |
ac_option=$1 |
|
15943 |
ac_optarg=$2 |
|
15944 |
ac_shift=shift |
|
15945 |
;; |
|
15946 |
esac |
|
15947 |
||
15948 |
case $ac_option in |
|
15949 |
# Handling of the options. |
|
15950 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
15951 |
ac_cs_recheck=: ;; |
|
15952 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
15953 |
$as_echo "$ac_cs_version"; exit ;; |
|
15954 |
--config | --confi | --conf | --con | --co | --c ) |
|
15955 |
$as_echo "$ac_cs_config"; exit ;; |
|
15956 |
--debug | --debu | --deb | --de | --d | -d ) |
|
15957 |
debug=: ;; |
|
15958 |
--file | --fil | --fi | --f ) |
|
15959 |
$ac_shift |
|
15960 |
case $ac_optarg in |
|
15961 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
15962 |
'') as_fn_error $? "missing file argument" ;; |
|
15963 |
esac |
|
15964 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
15965 |
ac_need_defaults=false;; |
|
15966 |
--header | --heade | --head | --hea ) |
|
15967 |
$ac_shift |
|
15968 |
case $ac_optarg in |
|
15969 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
15970 |
esac |
|
15971 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
15972 |
ac_need_defaults=false;; |
|
15973 |
--he | --h) |
|
15974 |
# Conflict between --help and --header |
|
15975 |
as_fn_error $? "ambiguous option: \`$1' |
|
15976 |
Try \`$0 --help' for more information.";; |
|
15977 |
--help | --hel | -h ) |
|
15978 |
$as_echo "$ac_cs_usage"; exit ;; |
|
15979 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
15980 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
15981 |
ac_cs_silent=: ;; |
|
15982 |
||
15983 |
# This is an error. |
|
15984 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
15985 |
Try \`$0 --help' for more information." ;; |
|
15986 |
||
15987 |
*) as_fn_append ac_config_targets " $1" |
|
15988 |
ac_need_defaults=false ;; |
|
15989 |
||
15990 |
esac |
|
15991 |
shift |
|
15992 |
done |
|
15993 |
||
15994 |
ac_configure_extra_args= |
|
15995 |
||
15996 |
if $ac_cs_silent; then |
|
15997 |
exec 6>/dev/null |
|
15998 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
15999 |
fi |
|
16000 |
||
16001 |
_ACEOF |
|
16002 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16003 |
if \$ac_cs_recheck; then |
|
16004 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
16005 |
shift |
|
16006 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
16007 |
CONFIG_SHELL='$SHELL' |
|
16008 |
export CONFIG_SHELL |
|
16009 |
exec "\$@" |
|
16010 |
fi |
|
16011 |
||
16012 |
_ACEOF |
|
16013 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16014 |
exec 5>>config.log |
|
16015 |
{ |
|
16016 |
echo |
|
16017 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
16018 |
## Running $as_me. ## |
|
16019 |
_ASBOX |
|
16020 |
$as_echo "$ac_log" |
|
16021 |
} >&5 |
|
16022 |
||
16023 |
_ACEOF |
|
16024 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16025 |
# |
|
16026 |
# INIT-COMMANDS |
|
16027 |
# |
|
16028 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
16029 |
||
16030 |
||
16031 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
16032 |
# if CDPATH is set. |
|
16033 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
16034 |
||
16035 |
sed_quote_subst='$sed_quote_subst' |
|
16036 |
double_quote_subst='$double_quote_subst' |
|
16037 |
delay_variable_subst='$delay_variable_subst' |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16038 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
16039 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
|
16040 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
|
16041 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
|
16042 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
|
16043 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
|
16044 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
|
16045 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
16046 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16047 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
16048 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
|
16049 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
|
16050 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
|
16051 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
|
16052 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
|
16053 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
|
16054 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
|
16055 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
|
16056 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
|
16057 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
|
16058 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
|
16059 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
|
16060 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
|
16061 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
|
16062 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
|
16063 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
|
16064 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
|
16065 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
|
16066 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
|
16067 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
16068 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
16069 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
|
16070 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
|
16071 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
|
16072 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
|
16073 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
16074 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
16075 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
16076 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
|
16077 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
|
16078 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
|
16079 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
16080 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16081 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
|
16082 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
|
16083 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16084 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16085 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
16086 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
|
16087 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
|
16088 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
|
16089 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
|
16090 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
|
16091 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
|
16092 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
|
16093 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
|
16094 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
16095 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16096 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
|
16097 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
|
16098 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
|
16099 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
|
16100 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
16101 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
16102 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
|
16103 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
|
16104 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
16105 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
|
16106 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
|
16107 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
|
16108 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
|
16109 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
|
16110 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
|
16111 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
|
16112 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
|
16113 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
16114 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
|
16115 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
|
16116 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16117 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16118 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
|
16119 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
|
16120 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
16121 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
16122 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
16123 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
|
16124 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
16125 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
|
16126 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
16127 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
16128 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16129 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
|
16130 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
|
16131 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
|
16132 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
|
16133 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
16134 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
|
16135 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
|
16136 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
|
16137 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
|
16138 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
|
16139 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
|
16140 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
|
16141 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
16142 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
|
16143 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16144 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
|
16145 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
16146 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
|
16147 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
|
16148 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
|
16149 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
16150 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
|
16151 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
|
16152 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
|
16153 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
|
16154 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
|
16155 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16156 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16157 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
|
16158 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
|
16159 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
|
16160 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
|
16161 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
|
16162 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
|
16163 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
|
16164 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
|
16165 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
|
16166 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
|
16167 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16168 |
|
16169 |
LTCC='$LTCC' |
|
16170 |
LTCFLAGS='$LTCFLAGS' |
|
16171 |
compiler='$compiler_DEFAULT' |
|
16172 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16173 |
# A function that is used when there is no print builtin or printf. |
16174 |
func_fallback_echo () |
|
16175 |
{ |
|
16176 |
eval 'cat <<_LTECHO_EOF |
|
16177 |
\$1 |
|
16178 |
_LTECHO_EOF' |
|
16179 |
} |
|
16180 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16181 |
# Quote evaled strings. |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16182 |
for var in SHELL \ |
16183 |
ECHO \ |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
16184 |
PATH_SEPARATOR \ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16185 |
SED \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16186 |
GREP \ |
16187 |
EGREP \ |
|
16188 |
FGREP \ |
|
16189 |
LD \ |
|
16190 |
NM \ |
|
16191 |
LN_S \ |
|
16192 |
lt_SP2NL \ |
|
16193 |
lt_NL2SP \ |
|
16194 |
reload_flag \ |
|
16195 |
OBJDUMP \ |
|
16196 |
deplibs_check_method \ |
|
16197 |
file_magic_cmd \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16198 |
file_magic_glob \ |
16199 |
want_nocaseglob \ |
|
16200 |
DLLTOOL \ |
|
16201 |
sharedlib_from_linklib_cmd \ |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16202 |
AR \ |
16203 |
AR_FLAGS \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16204 |
archiver_list_spec \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16205 |
STRIP \ |
16206 |
RANLIB \ |
|
16207 |
CC \ |
|
16208 |
CFLAGS \ |
|
16209 |
compiler \ |
|
16210 |
lt_cv_sys_global_symbol_pipe \ |
|
16211 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
16212 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
16213 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16214 |
nm_file_list_spec \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16215 |
lt_prog_compiler_no_builtin_flag \ |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16216 |
lt_prog_compiler_pic \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16217 |
lt_prog_compiler_wl \ |
16218 |
lt_prog_compiler_static \ |
|
16219 |
lt_cv_prog_compiler_c_o \ |
|
16220 |
need_locks \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16221 |
MANIFEST_TOOL \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16222 |
DSYMUTIL \ |
16223 |
NMEDIT \ |
|
16224 |
LIPO \ |
|
16225 |
OTOOL \ |
|
16226 |
OTOOL64 \ |
|
16227 |
shrext_cmds \ |
|
16228 |
export_dynamic_flag_spec \ |
|
16229 |
whole_archive_flag_spec \ |
|
16230 |
compiler_needs_object \ |
|
16231 |
with_gnu_ld \ |
|
16232 |
allow_undefined_flag \ |
|
16233 |
no_undefined_flag \ |
|
16234 |
hardcode_libdir_flag_spec \ |
|
16235 |
hardcode_libdir_separator \ |
|
16236 |
exclude_expsyms \ |
|
16237 |
include_expsyms \ |
|
16238 |
file_list_spec \ |
|
16239 |
variables_saved_for_relink \ |
|
16240 |
libname_spec \ |
|
16241 |
library_names_spec \ |
|
16242 |
soname_spec \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16243 |
install_override_mode \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16244 |
finish_eval \ |
16245 |
old_striplib \ |
|
16246 |
striplib; do |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16247 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16248 |
*[\\\\\\\`\\"\\\$]*) |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16249 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16250 |
;; |
16251 |
*) |
|
16252 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
16253 |
;; |
|
16254 |
esac |
|
16255 |
done |
|
16256 |
||
16257 |
# Double-quote double-evaled strings. |
|
16258 |
for var in reload_cmds \ |
|
16259 |
old_postinstall_cmds \ |
|
16260 |
old_postuninstall_cmds \ |
|
16261 |
old_archive_cmds \ |
|
16262 |
extract_expsyms_cmds \ |
|
16263 |
old_archive_from_new_cmds \ |
|
16264 |
old_archive_from_expsyms_cmds \ |
|
16265 |
archive_cmds \ |
|
16266 |
archive_expsym_cmds \ |
|
16267 |
module_cmds \ |
|
16268 |
module_expsym_cmds \ |
|
16269 |
export_symbols_cmds \ |
|
16270 |
prelink_cmds \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16271 |
postlink_cmds \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16272 |
postinstall_cmds \ |
16273 |
postuninstall_cmds \ |
|
16274 |
finish_cmds \ |
|
16275 |
sys_lib_search_path_spec \ |
|
16276 |
sys_lib_dlsearch_path_spec; do |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16277 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16278 |
*[\\\\\\\`\\"\\\$]*) |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16279 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16280 |
;; |
16281 |
*) |
|
16282 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
16283 |
;; |
|
16284 |
esac |
|
16285 |
done |
|
16286 |
||
16287 |
ac_aux_dir='$ac_aux_dir' |
|
16288 |
xsi_shell='$xsi_shell' |
|
16289 |
lt_shell_append='$lt_shell_append' |
|
16290 |
||
16291 |
# See if we are running on zsh, and set the options which allow our |
|
16292 |
# commands through without removal of \ escapes INIT. |
|
16293 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
16294 |
setopt NO_GLOB_SUBST |
|
16295 |
fi |
|
16296 |
||
16297 |
||
16298 |
PACKAGE='$PACKAGE' |
|
16299 |
VERSION='$VERSION' |
|
16300 |
TIMESTAMP='$TIMESTAMP' |
|
16301 |
RM='$RM' |
|
16302 |
ofile='$ofile' |
|
16303 |
||
16304 |
||
16305 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
16306 |
# Capture the value of obsolete ALL_LINGUAS because we need it to compute |
16307 |
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
|
16308 |
# from automake < 1.5. |
|
16309 |
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
|
16310 |
# Capture the value of LINGUAS because we need it to compute CATALOGS. |
|
16311 |
LINGUAS="${LINGUAS-%UNSET%}" |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16312 |
|
16313 |
||
16314 |
_ACEOF |
|
16315 |
||
16316 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16317 |
||
16318 |
# Handling of arguments. |
|
16319 |
for ac_config_target in $ac_config_targets |
|
16320 |
do |
|
16321 |
case $ac_config_target in |
|
16322 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
16323 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
16324 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
16325 |
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16326 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16327 |
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
|
16328 |
"gwibber/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/Makefile" ;; |
|
16329 |
"gwibber/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/lib/Makefile" ;; |
|
16330 |
"gwibber/lib/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/lib/gtk/Makefile" ;; |
|
16331 |
"gwibber/microblog/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/Makefile" ;; |
|
16332 |
"gwibber/microblog/util/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/util/Makefile" ;; |
|
1.1.49
by Ken VanDine
Import upstream version 3.1.4+r1083 |
16333 |
"gwibber/microblog/util/const.py") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/util/const.py" ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16334 |
"gwibber/microblog/uploader/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/uploader/Makefile" ;; |
16335 |
"gwibber/microblog/uploader/imageshack/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/uploader/imageshack/Makefile" ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16336 |
"gwibber/microblog/uploader/ubuntuone_uploader/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/uploader/ubuntuone_uploader/Makefile" ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16337 |
"gwibber/microblog/urlshorter/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/urlshorter/Makefile" ;; |
16338 |
"gwibber/microblog/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/Makefile" ;; |
|
16339 |
"gwibber/microblog/plugins/buzz/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/Makefile" ;; |
|
16340 |
"gwibber/microblog/plugins/buzz/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/gtk/Makefile" ;; |
|
16341 |
"gwibber/microblog/plugins/buzz/gtk/buzz/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/gtk/buzz/Makefile" ;; |
|
16342 |
"gwibber/microblog/plugins/buzz/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/Makefile" ;; |
|
16343 |
"gwibber/microblog/plugins/buzz/ui/icons/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/Makefile" ;; |
|
1.1.70
by Ken VanDine
Import upstream version 3.3.6 |
16344 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/Makefile" ;; |
16345 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/Makefile" ;; |
|
16346 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/16x16/apps/Makefile" ;; |
|
16347 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/Makefile" ;; |
|
16348 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/22x22/apps/Makefile" ;; |
|
16349 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/Makefile" ;; |
|
16350 |
"gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/buzz/ui/icons/hicolor/32x32/apps/Makefile" ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16351 |
"gwibber/microblog/plugins/digg/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/digg/Makefile" ;; |
16352 |
"gwibber/microblog/plugins/digg/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/digg/gtk/Makefile" ;; |
|
16353 |
"gwibber/microblog/plugins/digg/gtk/digg/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/digg/gtk/digg/Makefile" ;; |
|
16354 |
"gwibber/microblog/plugins/digg/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/digg/ui/Makefile" ;; |
|
16355 |
"gwibber/microblog/plugins/facebook/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/facebook/Makefile" ;; |
|
16356 |
"gwibber/microblog/plugins/facebook/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/facebook/gtk/Makefile" ;; |
|
16357 |
"gwibber/microblog/plugins/facebook/gtk/facebook/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/facebook/gtk/facebook/Makefile" ;; |
|
16358 |
"gwibber/microblog/plugins/facebook/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/facebook/ui/Makefile" ;; |
|
16359 |
"gwibber/microblog/plugins/flickr/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/flickr/Makefile" ;; |
|
16360 |
"gwibber/microblog/plugins/flickr/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/flickr/gtk/Makefile" ;; |
|
16361 |
"gwibber/microblog/plugins/flickr/gtk/flickr/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/flickr/gtk/flickr/Makefile" ;; |
|
16362 |
"gwibber/microblog/plugins/flickr/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/flickr/ui/Makefile" ;; |
|
16363 |
"gwibber/microblog/plugins/foursquare/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/Makefile" ;; |
|
16364 |
"gwibber/microblog/plugins/foursquare/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/gtk/Makefile" ;; |
|
16365 |
"gwibber/microblog/plugins/foursquare/gtk/foursquare/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/gtk/foursquare/Makefile" ;; |
|
16366 |
"gwibber/microblog/plugins/foursquare/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/Makefile" ;; |
|
16367 |
"gwibber/microblog/plugins/foursquare/ui/icons/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/Makefile" ;; |
|
1.1.70
by Ken VanDine
Import upstream version 3.3.6 |
16368 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/Makefile" ;; |
16369 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/Makefile" ;; |
|
16370 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/16x16/apps/Makefile" ;; |
|
16371 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/Makefile" ;; |
|
16372 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/22x22/apps/Makefile" ;; |
|
16373 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/Makefile" ;; |
|
16374 |
"gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/foursquare/ui/icons/hicolor/32x32/apps/Makefile" ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16375 |
"gwibber/microblog/plugins/friendfeed/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/friendfeed/Makefile" ;; |
16376 |
"gwibber/microblog/plugins/friendfeed/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/friendfeed/gtk/Makefile" ;; |
|
16377 |
"gwibber/microblog/plugins/friendfeed/gtk/friendfeed/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/friendfeed/gtk/friendfeed/Makefile" ;; |
|
16378 |
"gwibber/microblog/plugins/friendfeed/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/friendfeed/ui/Makefile" ;; |
|
16379 |
"gwibber/microblog/plugins/identica/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/identica/Makefile" ;; |
|
16380 |
"gwibber/microblog/plugins/identica/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/identica/gtk/Makefile" ;; |
|
16381 |
"gwibber/microblog/plugins/identica/gtk/identica/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/identica/gtk/identica/Makefile" ;; |
|
16382 |
"gwibber/microblog/plugins/identica/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/identica/ui/Makefile" ;; |
|
16383 |
"gwibber/microblog/plugins/pingfm/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/pingfm/Makefile" ;; |
|
16384 |
"gwibber/microblog/plugins/pingfm/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/pingfm/gtk/Makefile" ;; |
|
16385 |
"gwibber/microblog/plugins/pingfm/gtk/pingfm/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/pingfm/gtk/pingfm/Makefile" ;; |
|
16386 |
"gwibber/microblog/plugins/pingfm/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/pingfm/ui/Makefile" ;; |
|
16387 |
"gwibber/microblog/plugins/qaiku/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/qaiku/Makefile" ;; |
|
16388 |
"gwibber/microblog/plugins/qaiku/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/qaiku/gtk/Makefile" ;; |
|
16389 |
"gwibber/microblog/plugins/qaiku/gtk/qaiku/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/qaiku/gtk/qaiku/Makefile" ;; |
|
16390 |
"gwibber/microblog/plugins/qaiku/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/qaiku/ui/Makefile" ;; |
|
16391 |
"gwibber/microblog/plugins/statusnet/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/statusnet/Makefile" ;; |
|
16392 |
"gwibber/microblog/plugins/statusnet/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/statusnet/gtk/Makefile" ;; |
|
16393 |
"gwibber/microblog/plugins/statusnet/gtk/statusnet/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/statusnet/gtk/statusnet/Makefile" ;; |
|
16394 |
"gwibber/microblog/plugins/statusnet/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/statusnet/ui/Makefile" ;; |
|
16395 |
"gwibber/microblog/plugins/twitter/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/twitter/Makefile" ;; |
|
16396 |
"gwibber/microblog/plugins/twitter/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/twitter/gtk/Makefile" ;; |
|
16397 |
"gwibber/microblog/plugins/twitter/gtk/twitter/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/twitter/gtk/twitter/Makefile" ;; |
|
16398 |
"gwibber/microblog/plugins/twitter/ui/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/microblog/plugins/twitter/ui/Makefile" ;; |
|
16399 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
|
16400 |
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; |
|
1.1.69
by Ken VanDine
Import upstream version 3.3.5 |
16401 |
"data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;; |
16402 |
"data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;; |
|
16403 |
"data/icons/hicolor/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/status/Makefile" ;; |
|
16404 |
"data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;; |
|
16405 |
"data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;; |
|
16406 |
"data/icons/hicolor/22x22/places/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/places/Makefile" ;; |
|
16407 |
"data/icons/hicolor/22x22/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/status/Makefile" ;; |
|
16408 |
"data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;; |
|
16409 |
"data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;; |
|
16410 |
"data/icons/hicolor/48x48/places/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/places/Makefile" ;; |
|
16411 |
"data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;; |
|
16412 |
"data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;; |
|
1.1.76
by Ken VanDine
Import upstream version 3.4.1 |
16413 |
"data/icons/hicolor/scalable/places/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/places/Makefile" ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16414 |
"data/icons/streams/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/streams/Makefile" ;; |
16415 |
"data/icons/streams/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/streams/16x16/Makefile" ;; |
|
16416 |
"data/icons/streams/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/streams/24x24/Makefile" ;; |
|
16417 |
"data/icons/streams/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/streams/32x32/Makefile" ;; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16418 |
"data/icons/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/apps/Makefile" ;; |
16419 |
"data/icons/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/apps/Makefile" ;; |
|
16420 |
"data/icons/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/apps/Makefile" ;; |
|
16421 |
"data/icons/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/apps/Makefile" ;; |
|
16422 |
"data/icons/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/apps/Makefile" ;; |
|
16423 |
"data/icons/256x256/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/apps/Makefile" ;; |
|
16424 |
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;; |
|
16425 |
"data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;; |
|
16426 |
"data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;; |
|
16427 |
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;; |
|
16428 |
"data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;; |
|
16429 |
"data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16430 |
"data/gwibber.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gwibber.desktop.in" ;; |
16431 |
"data/org.gwibber.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/org.gwibber.gschema.xml.in" ;; |
|
16432 |
"libgwibber/Makefile") CONFIG_FILES="$CONFIG_FILES libgwibber/Makefile" ;; |
|
16433 |
"libgwibber-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES libgwibber-gtk/Makefile" ;; |
|
16434 |
"vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;; |
|
16435 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
|
16436 |
"gwibber-$GWIBBER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES gwibber-$GWIBBER_API_VERSION.pc" ;; |
|
16437 |
"gwibber-gtk-$GWIBBER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES gwibber-gtk-$GWIBBER_API_VERSION.pc" ;; |
|
16438 |
"lens/Makefile") CONFIG_FILES="$CONFIG_FILES lens/Makefile" ;; |
|
16439 |
"lens/src/Makefile") CONFIG_FILES="$CONFIG_FILES lens/src/Makefile" ;; |
|
16440 |
"lens/data/Makefile") CONFIG_FILES="$CONFIG_FILES lens/data/Makefile" ;; |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
16441 |
"lens/data/gwibber.lens.in") CONFIG_FILES="$CONFIG_FILES lens/data/gwibber.lens.in" ;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16442 |
"client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;; |
16443 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; |
|
1.1.66
by Ken VanDine
Import upstream version 3.3.2 |
16444 |
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
16445 |
"tests/vala/Makefile") CONFIG_FILES="$CONFIG_FILES tests/vala/Makefile" ;; |
|
16446 |
"tests/python/Makefile") CONFIG_FILES="$CONFIG_FILES tests/python/Makefile" ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16447 |
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
16448 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16449 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16450 |
esac |
16451 |
done |
|
16452 |
||
16453 |
||
16454 |
# If the user did not use the arguments to specify the items to instantiate, |
|
16455 |
# then the envvar interface is used. Set only those that are not. |
|
16456 |
# We use the long form for the default assignment because of an extremely |
|
16457 |
# bizarre bug on SunOS 4.1.3. |
|
16458 |
if $ac_need_defaults; then |
|
16459 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
16460 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
16461 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
16462 |
fi |
|
16463 |
||
16464 |
# Have a temporary directory for convenience. Make it in the build tree |
|
16465 |
# simply because there is no reason against having it here, and in addition, |
|
16466 |
# creating and moving files from /tmp can sometimes cause problems. |
|
16467 |
# Hook for its removal unless debugging. |
|
16468 |
# Note that there is a small window in which the directory will not be cleaned: |
|
16469 |
# after its creation but before its name has been assigned to `$tmp'. |
|
16470 |
$debug || |
|
16471 |
{ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16472 |
tmp= ac_tmp= |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16473 |
trap 'exit_status=$? |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16474 |
: "${ac_tmp:=$tmp}" |
16475 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16476 |
' 0 |
16477 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
16478 |
} |
|
16479 |
# Create a (secure) tmp directory for tmp files. |
|
16480 |
||
16481 |
{ |
|
16482 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16483 |
test -d "$tmp" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16484 |
} || |
16485 |
{ |
|
16486 |
tmp=./conf$$-$RANDOM |
|
16487 |
(umask 077 && mkdir "$tmp") |
|
16488 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16489 |
ac_tmp=$tmp |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16490 |
|
16491 |
# Set up the scripts for CONFIG_FILES section. |
|
16492 |
# No need to generate them if there are no CONFIG_FILES. |
|
16493 |
# This happens for instance with `./config.status config.h'. |
|
16494 |
if test -n "$CONFIG_FILES"; then |
|
16495 |
||
16496 |
||
16497 |
ac_cr=`echo X | tr X '\015'` |
|
16498 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
16499 |
# But we know of no other shell where ac_cr would be empty at this |
|
16500 |
# point, so we can use a bashism as a fallback. |
|
16501 |
if test "x$ac_cr" = x; then |
|
16502 |
eval ac_cr=\$\'\\r\' |
|
16503 |
fi |
|
16504 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
16505 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
16506 |
ac_cs_awk_cr='\\r' |
|
16507 |
else |
|
16508 |
ac_cs_awk_cr=$ac_cr |
|
16509 |
fi |
|
16510 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16511 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16512 |
_ACEOF |
16513 |
||
16514 |
||
16515 |
{ |
|
16516 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
16517 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
16518 |
echo "_ACEOF" |
|
16519 |
} >conf$$subs.sh || |
|
16520 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
16521 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
16522 |
ac_delim='%!_!# ' |
|
16523 |
for ac_last_try in false false false false false :; do |
|
16524 |
. ./conf$$subs.sh || |
|
16525 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
16526 |
||
16527 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
16528 |
if test $ac_delim_n = $ac_delim_num; then |
|
16529 |
break |
|
16530 |
elif $ac_last_try; then |
|
16531 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
16532 |
else |
|
16533 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
16534 |
fi |
|
16535 |
done |
|
16536 |
rm -f conf$$subs.sh |
|
16537 |
||
16538 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16539 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16540 |
_ACEOF |
16541 |
sed -n ' |
|
16542 |
h |
|
16543 |
s/^/S["/; s/!.*/"]=/ |
|
16544 |
p |
|
16545 |
g |
|
16546 |
s/^[^!]*!// |
|
16547 |
:repl |
|
16548 |
t repl |
|
16549 |
s/'"$ac_delim"'$// |
|
16550 |
t delim |
|
16551 |
:nl |
|
16552 |
h |
|
16553 |
s/\(.\{148\}\)..*/\1/ |
|
16554 |
t more1 |
|
16555 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
16556 |
p |
|
16557 |
n |
|
16558 |
b repl |
|
16559 |
:more1 |
|
16560 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
16561 |
p |
|
16562 |
g |
|
16563 |
s/.\{148\}// |
|
16564 |
t nl |
|
16565 |
:delim |
|
16566 |
h |
|
16567 |
s/\(.\{148\}\)..*/\1/ |
|
16568 |
t more2 |
|
16569 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
16570 |
p |
|
16571 |
b |
|
16572 |
:more2 |
|
16573 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
16574 |
p |
|
16575 |
g |
|
16576 |
s/.\{148\}// |
|
16577 |
t delim |
|
16578 |
' <conf$$subs.awk | sed ' |
|
16579 |
/^[^""]/{ |
|
16580 |
N |
|
16581 |
s/\n// |
|
16582 |
} |
|
16583 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
16584 |
rm -f conf$$subs.awk |
|
16585 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16586 |
_ACAWK |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16587 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16588 |
for (key in S) S_is_set[key] = 1 |
16589 |
FS = "" |
|
16590 |
||
16591 |
} |
|
16592 |
{ |
|
16593 |
line = $ 0 |
|
16594 |
nfields = split(line, field, "@") |
|
16595 |
substed = 0 |
|
16596 |
len = length(field[1]) |
|
16597 |
for (i = 2; i < nfields; i++) { |
|
16598 |
key = field[i] |
|
16599 |
keylen = length(key) |
|
16600 |
if (S_is_set[key]) { |
|
16601 |
value = S[key] |
|
16602 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
16603 |
len += length(value) + length(field[++i]) |
|
16604 |
substed = 1 |
|
16605 |
} else |
|
16606 |
len += 1 + keylen |
|
16607 |
} |
|
16608 |
||
16609 |
print line |
|
16610 |
} |
|
16611 |
||
16612 |
_ACAWK |
|
16613 |
_ACEOF |
|
16614 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16615 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
16616 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
16617 |
else |
|
16618 |
cat |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16619 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16620 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
16621 |
_ACEOF |
|
16622 |
||
16623 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
16624 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
16625 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
16626 |
# (actually we leave an empty line to preserve line numbers). |
|
16627 |
if test "x$srcdir" = x.; then |
|
16628 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
16629 |
h |
|
16630 |
s/// |
|
16631 |
s/^/:/ |
|
16632 |
s/[ ]*$/:/ |
|
16633 |
s/:\$(srcdir):/:/g |
|
16634 |
s/:\${srcdir}:/:/g |
|
16635 |
s/:@srcdir@:/:/g |
|
16636 |
s/^:*// |
|
16637 |
s/:*$// |
|
16638 |
x |
|
16639 |
s/\(=[ ]*\).*/\1/ |
|
16640 |
G |
|
16641 |
s/\n// |
|
16642 |
s/^[^=]*=[ ]*$// |
|
16643 |
}' |
|
16644 |
fi |
|
16645 |
||
16646 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16647 |
fi # test -n "$CONFIG_FILES" |
|
16648 |
||
16649 |
# Set up the scripts for CONFIG_HEADERS section. |
|
16650 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
16651 |
# This happens for instance with `./config.status Makefile'. |
|
16652 |
if test -n "$CONFIG_HEADERS"; then |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16653 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16654 |
BEGIN { |
16655 |
_ACEOF |
|
16656 |
||
16657 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
16658 |
# here-document in config.status, that substitutes the proper values into |
|
16659 |
# config.h.in to produce config.h. |
|
16660 |
||
16661 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
16662 |
# handling of long lines. |
|
16663 |
ac_delim='%!_!# ' |
|
16664 |
for ac_last_try in false false :; do |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16665 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
16666 |
if test -z "$ac_tt"; then |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16667 |
break |
16668 |
elif $ac_last_try; then |
|
16669 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
16670 |
else |
|
16671 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
16672 |
fi |
|
16673 |
done |
|
16674 |
||
16675 |
# For the awk script, D is an array of macro values keyed by name, |
|
16676 |
# likewise P contains macro parameters if any. Preserve backslash |
|
16677 |
# newline sequences. |
|
16678 |
||
16679 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
16680 |
sed -n ' |
|
16681 |
s/.\{148\}/&'"$ac_delim"'/g |
|
16682 |
t rset |
|
16683 |
:rset |
|
16684 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
16685 |
t def |
|
16686 |
d |
|
16687 |
:def |
|
16688 |
s/\\$// |
|
16689 |
t bsnl |
|
16690 |
s/["\\]/\\&/g |
|
16691 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
16692 |
D["\1"]=" \3"/p |
|
16693 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
16694 |
d |
|
16695 |
:bsnl |
|
16696 |
s/["\\]/\\&/g |
|
16697 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
16698 |
D["\1"]=" \3\\\\\\n"\\/p |
|
16699 |
t cont |
|
16700 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
16701 |
t cont |
|
16702 |
d |
|
16703 |
:cont |
|
16704 |
n |
|
16705 |
s/.\{148\}/&'"$ac_delim"'/g |
|
16706 |
t clear |
|
16707 |
:clear |
|
16708 |
s/\\$// |
|
16709 |
t bsnlc |
|
16710 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
16711 |
d |
|
16712 |
:bsnlc |
|
16713 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
16714 |
b cont |
|
16715 |
' <confdefs.h | sed ' |
|
16716 |
s/'"$ac_delim"'/"\\\ |
|
16717 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
16718 |
||
16719 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16720 |
for (key in D) D_is_set[key] = 1 |
|
16721 |
FS = "" |
|
16722 |
} |
|
16723 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
16724 |
line = \$ 0 |
|
16725 |
split(line, arg, " ") |
|
16726 |
if (arg[1] == "#") { |
|
16727 |
defundef = arg[2] |
|
16728 |
mac1 = arg[3] |
|
16729 |
} else { |
|
16730 |
defundef = substr(arg[1], 2) |
|
16731 |
mac1 = arg[2] |
|
16732 |
} |
|
16733 |
split(mac1, mac2, "(") #) |
|
16734 |
macro = mac2[1] |
|
16735 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
16736 |
if (D_is_set[macro]) { |
|
16737 |
# Preserve the white space surrounding the "#". |
|
16738 |
print prefix "define", macro P[macro] D[macro] |
|
16739 |
next |
|
16740 |
} else { |
|
16741 |
# Replace #undef with comments. This is necessary, for example, |
|
16742 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
16743 |
# on some systems where configure will not decide to define it. |
|
16744 |
if (defundef == "undef") { |
|
16745 |
print "/*", prefix defundef, macro, "*/" |
|
16746 |
next |
|
16747 |
} |
|
16748 |
} |
|
16749 |
} |
|
16750 |
{ print } |
|
16751 |
_ACAWK |
|
16752 |
_ACEOF |
|
16753 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16754 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
16755 |
fi # test -n "$CONFIG_HEADERS" |
|
16756 |
||
16757 |
||
16758 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
16759 |
shift |
|
16760 |
for ac_tag |
|
16761 |
do |
|
16762 |
case $ac_tag in |
|
16763 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
16764 |
esac |
|
16765 |
case $ac_mode$ac_tag in |
|
16766 |
:[FHL]*:*);; |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16767 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16768 |
:[FH]-) ac_tag=-:-;; |
16769 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
16770 |
esac |
|
16771 |
ac_save_IFS=$IFS |
|
16772 |
IFS=: |
|
16773 |
set x $ac_tag |
|
16774 |
IFS=$ac_save_IFS |
|
16775 |
shift |
|
16776 |
ac_file=$1 |
|
16777 |
shift |
|
16778 |
||
16779 |
case $ac_mode in |
|
16780 |
:L) ac_source=$1;; |
|
16781 |
:[FH]) |
|
16782 |
ac_file_inputs= |
|
16783 |
for ac_f |
|
16784 |
do |
|
16785 |
case $ac_f in |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16786 |
-) ac_f="$ac_tmp/stdin";; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16787 |
*) # Look for the file first in the build tree, then in the source tree |
16788 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
16789 |
# because $ac_f cannot contain `:'. |
|
16790 |
test -f "$ac_f" || |
|
16791 |
case $ac_f in |
|
16792 |
[\\/$]*) false;; |
|
16793 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
16794 |
esac || |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16795 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16796 |
esac |
16797 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
16798 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
16799 |
done |
|
16800 |
||
16801 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
16802 |
# use $as_me), people would be surprised to read: |
|
16803 |
# /* config.h. Generated by config.status. */ |
|
16804 |
configure_input='Generated from '` |
|
16805 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
16806 |
`' by configure.' |
|
16807 |
if test x"$ac_file" != x-; then |
|
16808 |
configure_input="$ac_file. $configure_input" |
|
16809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
16810 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
16811 |
fi |
|
16812 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
16813 |
case $configure_input in #( |
|
16814 |
*\&* | *\|* | *\\* ) |
|
16815 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
16816 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
16817 |
*) ac_sed_conf_input=$configure_input;; |
|
16818 |
esac |
|
16819 |
||
16820 |
case $ac_tag in |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16821 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16822 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16823 |
esac |
16824 |
;; |
|
16825 |
esac |
|
16826 |
||
16827 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
16828 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
16829 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
16830 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
16831 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
16832 |
$as_echo X"$ac_file" | |
|
16833 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
16834 |
s//\1/ |
|
16835 |
q |
|
16836 |
} |
|
16837 |
/^X\(\/\/\)[^/].*/{ |
|
16838 |
s//\1/ |
|
16839 |
q |
|
16840 |
} |
|
16841 |
/^X\(\/\/\)$/{ |
|
16842 |
s//\1/ |
|
16843 |
q |
|
16844 |
} |
|
16845 |
/^X\(\/\).*/{ |
|
16846 |
s//\1/ |
|
16847 |
q |
|
16848 |
} |
|
16849 |
s/.*/./; q'` |
|
16850 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
16851 |
ac_builddir=. |
|
16852 |
||
16853 |
case "$ac_dir" in |
|
16854 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
16855 |
*) |
|
16856 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
16857 |
# A ".." for each directory in $ac_dir_suffix. |
|
16858 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
16859 |
case $ac_top_builddir_sub in |
|
16860 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
16861 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
16862 |
esac ;; |
|
16863 |
esac |
|
16864 |
ac_abs_top_builddir=$ac_pwd |
|
16865 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
16866 |
# for backward compatibility: |
|
16867 |
ac_top_builddir=$ac_top_build_prefix |
|
16868 |
||
16869 |
case $srcdir in |
|
16870 |
.) # We are building in place. |
|
16871 |
ac_srcdir=. |
|
16872 |
ac_top_srcdir=$ac_top_builddir_sub |
|
16873 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
16874 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
16875 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
16876 |
ac_top_srcdir=$srcdir |
|
16877 |
ac_abs_top_srcdir=$srcdir ;; |
|
16878 |
*) # Relative name. |
|
16879 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
16880 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
16881 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
16882 |
esac |
|
16883 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
16884 |
||
16885 |
||
16886 |
case $ac_mode in |
|
16887 |
:F) |
|
16888 |
# |
|
16889 |
# CONFIG_FILE |
|
16890 |
# |
|
16891 |
||
16892 |
case $INSTALL in |
|
16893 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
16894 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
16895 |
esac |
|
16896 |
ac_MKDIR_P=$MKDIR_P |
|
16897 |
case $MKDIR_P in |
|
16898 |
[\\/$]* | ?:[\\/]* ) ;; |
|
16899 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
16900 |
esac |
|
16901 |
_ACEOF |
|
16902 |
||
16903 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16904 |
# If the template does not know about datarootdir, expand it. |
|
16905 |
# FIXME: This hack should be removed a few years after 2.60. |
|
16906 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
16907 |
ac_sed_dataroot=' |
|
16908 |
/datarootdir/ { |
|
16909 |
p |
|
16910 |
q |
|
16911 |
} |
|
16912 |
/@datadir@/p |
|
16913 |
/@docdir@/p |
|
16914 |
/@infodir@/p |
|
16915 |
/@localedir@/p |
|
16916 |
/@mandir@/p' |
|
16917 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
16918 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
16919 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
16920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
16921 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
16922 |
_ACEOF |
|
16923 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16924 |
ac_datarootdir_hack=' |
|
16925 |
s&@datadir@&$datadir&g |
|
16926 |
s&@docdir@&$docdir&g |
|
16927 |
s&@infodir@&$infodir&g |
|
16928 |
s&@localedir@&$localedir&g |
|
16929 |
s&@mandir@&$mandir&g |
|
16930 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
16931 |
esac |
|
16932 |
_ACEOF |
|
16933 |
||
16934 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
16935 |
# Shell code in configure.ac might set extrasub. |
|
16936 |
# FIXME: do we really want to maintain this feature? |
|
16937 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16938 |
ac_sed_extra="$ac_vpsub |
|
16939 |
$extrasub |
|
16940 |
_ACEOF |
|
16941 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16942 |
:t |
|
16943 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
16944 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
16945 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
16946 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
16947 |
s&@srcdir@&$ac_srcdir&;t t |
|
16948 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
16949 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
16950 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
16951 |
s&@builddir@&$ac_builddir&;t t |
|
16952 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
16953 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
16954 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
16955 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
16956 |
$ac_datarootdir_hack |
|
16957 |
" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16958 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16959 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16960 |
|
16961 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16962 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16963 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
16964 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16966 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
16967 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
16968 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
16969 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16970 |
rm -f "$ac_tmp/stdin" |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16971 |
case $ac_file in |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16972 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16973 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16974 |
esac \ |
16975 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
16976 |
;; |
|
16977 |
:H) |
|
16978 |
# |
|
16979 |
# CONFIG_HEADER |
|
16980 |
# |
|
16981 |
if test x"$ac_file" != x-; then |
|
16982 |
{ |
|
16983 |
$as_echo "/* $configure_input */" \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16984 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16985 |
} >"$ac_tmp/config.h" \ |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16986 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16987 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16989 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
16990 |
else |
|
16991 |
rm -f "$ac_file" |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16992 |
mv "$ac_tmp/config.h" "$ac_file" \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16993 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16994 |
fi |
|
16995 |
else |
|
16996 |
$as_echo "/* $configure_input */" \ |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
16997 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
16998 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
16999 |
fi |
|
17000 |
# Compute "$ac_file"'s index in $config_headers. |
|
17001 |
_am_arg="$ac_file" |
|
17002 |
_am_stamp_count=1 |
|
17003 |
for _am_header in $config_headers :; do |
|
17004 |
case $_am_header in |
|
17005 |
$_am_arg | $_am_arg:* ) |
|
17006 |
break ;; |
|
17007 |
* ) |
|
17008 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
17009 |
esac |
|
17010 |
done |
|
17011 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
17012 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
17013 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
17014 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
17015 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
17016 |
$as_echo X"$_am_arg" | |
|
17017 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
17018 |
s//\1/ |
|
17019 |
q |
|
17020 |
} |
|
17021 |
/^X\(\/\/\)[^/].*/{ |
|
17022 |
s//\1/ |
|
17023 |
q |
|
17024 |
} |
|
17025 |
/^X\(\/\/\)$/{ |
|
17026 |
s//\1/ |
|
17027 |
q |
|
17028 |
} |
|
17029 |
/^X\(\/\).*/{ |
|
17030 |
s//\1/ |
|
17031 |
q |
|
17032 |
} |
|
17033 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
17034 |
;; |
|
17035 |
||
17036 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
17037 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
17038 |
;; |
|
17039 |
esac |
|
17040 |
||
17041 |
||
17042 |
case $ac_file$ac_mode in |
|
17043 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
17044 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
17045 |
# are listed without --file. Let's play safe and only enable the eval |
|
17046 |
# if we detect the quoting. |
|
17047 |
case $CONFIG_FILES in |
|
17048 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
17049 |
*) set x $CONFIG_FILES ;; |
|
17050 |
esac |
|
17051 |
shift |
|
17052 |
for mf |
|
17053 |
do |
|
17054 |
# Strip MF so we end up with the name of the file. |
|
17055 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
17056 |
# Check whether this is an Automake generated Makefile or not. |
|
17057 |
# We used to match only the files named `Makefile.in', but |
|
17058 |
# some people rename them; so instead we look at the file content. |
|
17059 |
# Grep'ing the first line is not enough: some people post-process |
|
17060 |
# each Makefile.in and add a new line on top of each file to say so. |
|
17061 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
17062 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
17063 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
17064 |
dirpart=`$as_dirname -- "$mf" || |
|
17065 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
17066 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
17067 |
X"$mf" : 'X\(//\)$' \| \ |
|
17068 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
17069 |
$as_echo X"$mf" | |
|
17070 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
17071 |
s//\1/ |
|
17072 |
q |
|
17073 |
} |
|
17074 |
/^X\(\/\/\)[^/].*/{ |
|
17075 |
s//\1/ |
|
17076 |
q |
|
17077 |
} |
|
17078 |
/^X\(\/\/\)$/{ |
|
17079 |
s//\1/ |
|
17080 |
q |
|
17081 |
} |
|
17082 |
/^X\(\/\).*/{ |
|
17083 |
s//\1/ |
|
17084 |
q |
|
17085 |
} |
|
17086 |
s/.*/./; q'` |
|
17087 |
else |
|
17088 |
continue |
|
17089 |
fi |
|
17090 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
17091 |
# from the Makefile without running `make'. |
|
17092 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
17093 |
test -z "$DEPDIR" && continue |
|
17094 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
17095 |
test -z "am__include" && continue |
|
17096 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
17097 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
17098 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
17099 |
# Find all dependency output files, they are included files with |
|
17100 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
17101 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
17102 |
# expansion. |
|
17103 |
for file in `sed -n " |
|
17104 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
17105 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
17106 |
# Make sure the directory exists. |
|
17107 |
test -f "$dirpart/$file" && continue |
|
17108 |
fdir=`$as_dirname -- "$file" || |
|
17109 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
17110 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
17111 |
X"$file" : 'X\(//\)$' \| \ |
|
17112 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
17113 |
$as_echo X"$file" | |
|
17114 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
17115 |
s//\1/ |
|
17116 |
q |
|
17117 |
} |
|
17118 |
/^X\(\/\/\)[^/].*/{ |
|
17119 |
s//\1/ |
|
17120 |
q |
|
17121 |
} |
|
17122 |
/^X\(\/\/\)$/{ |
|
17123 |
s//\1/ |
|
17124 |
q |
|
17125 |
} |
|
17126 |
/^X\(\/\).*/{ |
|
17127 |
s//\1/ |
|
17128 |
q |
|
17129 |
} |
|
17130 |
s/.*/./; q'` |
|
17131 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
17132 |
# echo "creating $dirpart/$file" |
|
17133 |
echo '# dummy' > "$dirpart/$file" |
|
17134 |
done |
|
17135 |
done |
|
17136 |
} |
|
17137 |
;; |
|
17138 |
"libtool":C) |
|
17139 |
||
17140 |
# See if we are running on zsh, and set the options which allow our |
|
17141 |
# commands through without removal of \ escapes. |
|
17142 |
if test -n "${ZSH_VERSION+set}" ; then |
|
17143 |
setopt NO_GLOB_SUBST |
|
17144 |
fi |
|
17145 |
||
17146 |
cfgfile="${ofile}T" |
|
17147 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
17148 |
$RM "$cfgfile" |
|
17149 |
||
17150 |
cat <<_LT_EOF >> "$cfgfile" |
|
17151 |
#! $SHELL |
|
17152 |
||
17153 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
17154 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
17155 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
17156 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
17157 |
# |
|
17158 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
17159 |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
17160 |
# Foundation, Inc. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17161 |
# Written by Gordon Matzigkeit, 1996 |
17162 |
# |
|
17163 |
# This file is part of GNU Libtool. |
|
17164 |
# |
|
17165 |
# GNU Libtool is free software; you can redistribute it and/or |
|
17166 |
# modify it under the terms of the GNU General Public License as |
|
17167 |
# published by the Free Software Foundation; either version 2 of |
|
17168 |
# the License, or (at your option) any later version. |
|
17169 |
# |
|
17170 |
# As a special exception to the GNU General Public License, |
|
17171 |
# if you distribute this file as part of a program or library that |
|
17172 |
# is built using GNU Libtool, you may include this file under the |
|
17173 |
# same distribution terms that you use for the rest of that program. |
|
17174 |
# |
|
17175 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
17176 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17177 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17178 |
# GNU General Public License for more details. |
|
17179 |
# |
|
17180 |
# You should have received a copy of the GNU General Public License |
|
17181 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
17182 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
17183 |
# obtained by writing to the Free Software Foundation, Inc., |
|
17184 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17185 |
||
17186 |
||
17187 |
# The names of the tagged configurations supported by this script. |
|
17188 |
available_tags="" |
|
17189 |
||
17190 |
# ### BEGIN LIBTOOL CONFIG |
|
17191 |
||
17192 |
# Which release of libtool.m4 was used? |
|
17193 |
macro_version=$macro_version |
|
17194 |
macro_revision=$macro_revision |
|
17195 |
||
17196 |
# Whether or not to build shared libraries. |
|
17197 |
build_libtool_libs=$enable_shared |
|
17198 |
||
17199 |
# Whether or not to build static libraries. |
|
17200 |
build_old_libs=$enable_static |
|
17201 |
||
17202 |
# What type of objects to build. |
|
17203 |
pic_mode=$pic_mode |
|
17204 |
||
17205 |
# Whether or not to optimize for fast installation. |
|
17206 |
fast_install=$enable_fast_install |
|
17207 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17208 |
# Shell to use when invoking shell scripts. |
17209 |
SHELL=$lt_SHELL |
|
17210 |
||
17211 |
# An echo program that protects backslashes. |
|
17212 |
ECHO=$lt_ECHO |
|
17213 |
||
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
17214 |
# The PATH separator for the build system. |
17215 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
17216 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17217 |
# The host system. |
17218 |
host_alias=$host_alias |
|
17219 |
host=$host |
|
17220 |
host_os=$host_os |
|
17221 |
||
17222 |
# The build system. |
|
17223 |
build_alias=$build_alias |
|
17224 |
build=$build |
|
17225 |
build_os=$build_os |
|
17226 |
||
17227 |
# A sed program that does not truncate output. |
|
17228 |
SED=$lt_SED |
|
17229 |
||
17230 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
17231 |
Xsed="\$SED -e 1s/^X//" |
|
17232 |
||
17233 |
# A grep program that handles long lines. |
|
17234 |
GREP=$lt_GREP |
|
17235 |
||
17236 |
# An ERE matcher. |
|
17237 |
EGREP=$lt_EGREP |
|
17238 |
||
17239 |
# A literal string matcher. |
|
17240 |
FGREP=$lt_FGREP |
|
17241 |
||
17242 |
# A BSD- or MS-compatible name lister. |
|
17243 |
NM=$lt_NM |
|
17244 |
||
17245 |
# Whether we need soft or hard links. |
|
17246 |
LN_S=$lt_LN_S |
|
17247 |
||
17248 |
# What is the maximum length of a command? |
|
17249 |
max_cmd_len=$max_cmd_len |
|
17250 |
||
17251 |
# Object file suffix (normally "o"). |
|
17252 |
objext=$ac_objext |
|
17253 |
||
17254 |
# Executable file suffix (normally ""). |
|
17255 |
exeext=$exeext |
|
17256 |
||
17257 |
# whether the shell understands "unset". |
|
17258 |
lt_unset=$lt_unset |
|
17259 |
||
17260 |
# turn spaces into newlines. |
|
17261 |
SP2NL=$lt_lt_SP2NL |
|
17262 |
||
17263 |
# turn newlines into spaces. |
|
17264 |
NL2SP=$lt_lt_NL2SP |
|
17265 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17266 |
# convert \$build file names to \$host format. |
17267 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
17268 |
||
17269 |
# convert \$build files to toolchain format. |
|
17270 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17271 |
|
17272 |
# An object symbol dumper. |
|
17273 |
OBJDUMP=$lt_OBJDUMP |
|
17274 |
||
17275 |
# Method to check whether dependent libraries are shared objects. |
|
17276 |
deplibs_check_method=$lt_deplibs_check_method |
|
17277 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17278 |
# Command to use when deplibs_check_method = "file_magic". |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17279 |
file_magic_cmd=$lt_file_magic_cmd |
17280 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17281 |
# How to find potential files when deplibs_check_method = "file_magic". |
17282 |
file_magic_glob=$lt_file_magic_glob |
|
17283 |
||
17284 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
17285 |
want_nocaseglob=$lt_want_nocaseglob |
|
17286 |
||
17287 |
# DLL creation program. |
|
17288 |
DLLTOOL=$lt_DLLTOOL |
|
17289 |
||
17290 |
# Command to associate shared and link libraries. |
|
17291 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
17292 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17293 |
# The archiver. |
17294 |
AR=$lt_AR |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17295 |
|
17296 |
# Flags to create an archive. |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17297 |
AR_FLAGS=$lt_AR_FLAGS |
17298 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17299 |
# How to feed a file listing to the archiver. |
17300 |
archiver_list_spec=$lt_archiver_list_spec |
|
17301 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17302 |
# A symbol stripping program. |
17303 |
STRIP=$lt_STRIP |
|
17304 |
||
17305 |
# Commands used to install an old-style archive. |
|
17306 |
RANLIB=$lt_RANLIB |
|
17307 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
17308 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
17309 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17310 |
# Whether to use a lock for old archive extraction. |
17311 |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
17312 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17313 |
# A C compiler. |
17314 |
LTCC=$lt_CC |
|
17315 |
||
17316 |
# LTCC compiler flags. |
|
17317 |
LTCFLAGS=$lt_CFLAGS |
|
17318 |
||
17319 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
17320 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
17321 |
||
17322 |
# Transform the output of nm in a proper C declaration. |
|
17323 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
17324 |
||
17325 |
# Transform the output of nm in a C name address pair. |
|
17326 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
17327 |
||
17328 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
17329 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
17330 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17331 |
# Specify filename containing input files for \$NM. |
17332 |
nm_file_list_spec=$lt_nm_file_list_spec |
|
17333 |
||
17334 |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
17335 |
lt_sysroot=$lt_sysroot |
|
17336 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17337 |
# The name of the directory that contains temporary libtool files. |
17338 |
objdir=$objdir |
|
17339 |
||
17340 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
17341 |
MAGIC_CMD=$MAGIC_CMD |
|
17342 |
||
17343 |
# Must we lock files when doing compilation? |
|
17344 |
need_locks=$lt_need_locks |
|
17345 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17346 |
# Manifest tool. |
17347 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
17348 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17349 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
17350 |
DSYMUTIL=$lt_DSYMUTIL |
|
17351 |
||
17352 |
# Tool to change global to local symbols on Mac OS X. |
|
17353 |
NMEDIT=$lt_NMEDIT |
|
17354 |
||
17355 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
17356 |
LIPO=$lt_LIPO |
|
17357 |
||
17358 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
17359 |
OTOOL=$lt_OTOOL |
|
17360 |
||
17361 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
17362 |
OTOOL64=$lt_OTOOL64 |
|
17363 |
||
17364 |
# Old archive suffix (normally "a"). |
|
17365 |
libext=$libext |
|
17366 |
||
17367 |
# Shared library suffix (normally ".so"). |
|
17368 |
shrext_cmds=$lt_shrext_cmds |
|
17369 |
||
17370 |
# The commands to extract the exported symbol list from a shared archive. |
|
17371 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
17372 |
||
17373 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
17374 |
# restored at link time. |
|
17375 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
17376 |
||
17377 |
# Do we need the "lib" prefix for modules? |
|
17378 |
need_lib_prefix=$need_lib_prefix |
|
17379 |
||
17380 |
# Do we need a version for libraries? |
|
17381 |
need_version=$need_version |
|
17382 |
||
17383 |
# Library versioning type. |
|
17384 |
version_type=$version_type |
|
17385 |
||
17386 |
# Shared library runtime path variable. |
|
17387 |
runpath_var=$runpath_var |
|
17388 |
||
17389 |
# Shared library path variable. |
|
17390 |
shlibpath_var=$shlibpath_var |
|
17391 |
||
17392 |
# Is shlibpath searched before the hard-coded library search path? |
|
17393 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
17394 |
||
17395 |
# Format of library name prefix. |
|
17396 |
libname_spec=$lt_libname_spec |
|
17397 |
||
17398 |
# List of archive names. First name is the real one, the rest are links. |
|
17399 |
# The last name is the one that the linker finds with -lNAME |
|
17400 |
library_names_spec=$lt_library_names_spec |
|
17401 |
||
17402 |
# The coded name of the library, if different from the real name. |
|
17403 |
soname_spec=$lt_soname_spec |
|
17404 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17405 |
# Permission mode override for installation of shared libraries. |
17406 |
install_override_mode=$lt_install_override_mode |
|
17407 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17408 |
# Command to use after installation of a shared archive. |
17409 |
postinstall_cmds=$lt_postinstall_cmds |
|
17410 |
||
17411 |
# Command to use after uninstallation of a shared archive. |
|
17412 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
17413 |
||
17414 |
# Commands used to finish a libtool library installation in a directory. |
|
17415 |
finish_cmds=$lt_finish_cmds |
|
17416 |
||
17417 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
17418 |
# not shown. |
|
17419 |
finish_eval=$lt_finish_eval |
|
17420 |
||
17421 |
# Whether we should hardcode library paths into libraries. |
|
17422 |
hardcode_into_libs=$hardcode_into_libs |
|
17423 |
||
17424 |
# Compile-time system search path for libraries. |
|
17425 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
17426 |
||
17427 |
# Run-time system search path for libraries. |
|
17428 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
17429 |
||
17430 |
# Whether dlopen is supported. |
|
17431 |
dlopen_support=$enable_dlopen |
|
17432 |
||
17433 |
# Whether dlopen of programs is supported. |
|
17434 |
dlopen_self=$enable_dlopen_self |
|
17435 |
||
17436 |
# Whether dlopen of statically linked programs is supported. |
|
17437 |
dlopen_self_static=$enable_dlopen_self_static |
|
17438 |
||
17439 |
# Commands to strip libraries. |
|
17440 |
old_striplib=$lt_old_striplib |
|
17441 |
striplib=$lt_striplib |
|
17442 |
||
17443 |
||
17444 |
# The linker used to build libraries. |
|
17445 |
LD=$lt_LD |
|
17446 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17447 |
# How to create reloadable object files. |
17448 |
reload_flag=$lt_reload_flag |
|
17449 |
reload_cmds=$lt_reload_cmds |
|
17450 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17451 |
# Commands used to build an old-style archive. |
17452 |
old_archive_cmds=$lt_old_archive_cmds |
|
17453 |
||
17454 |
# A language specific compiler. |
|
17455 |
CC=$lt_compiler |
|
17456 |
||
17457 |
# Is the compiler the GNU compiler? |
|
17458 |
with_gcc=$GCC |
|
17459 |
||
17460 |
# Compiler flag to turn off builtin functions. |
|
17461 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
17462 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17463 |
# Additional compiler flags for building library objects. |
17464 |
pic_flag=$lt_lt_prog_compiler_pic |
|
17465 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17466 |
# How to pass a linker flag through the compiler. |
17467 |
wl=$lt_lt_prog_compiler_wl |
|
17468 |
||
17469 |
# Compiler flag to prevent dynamic linking. |
|
17470 |
link_static_flag=$lt_lt_prog_compiler_static |
|
17471 |
||
17472 |
# Does compiler simultaneously support -c and -o options? |
|
17473 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
17474 |
||
17475 |
# Whether or not to add -lc for building shared libraries. |
|
17476 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
17477 |
||
17478 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
17479 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
17480 |
||
17481 |
# Compiler flag to allow reflexive dlopens. |
|
17482 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
17483 |
||
17484 |
# Compiler flag to generate shared objects directly from archives. |
|
17485 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
17486 |
||
17487 |
# Whether the compiler copes with passing no objects directly. |
|
17488 |
compiler_needs_object=$lt_compiler_needs_object |
|
17489 |
||
17490 |
# Create an old-style archive from a shared archive. |
|
17491 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
17492 |
||
17493 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
17494 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
17495 |
||
17496 |
# Commands used to build a shared archive. |
|
17497 |
archive_cmds=$lt_archive_cmds |
|
17498 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
17499 |
||
17500 |
# Commands used to build a loadable module if different from building |
|
17501 |
# a shared archive. |
|
17502 |
module_cmds=$lt_module_cmds |
|
17503 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
17504 |
||
17505 |
# Whether we are building with GNU ld or not. |
|
17506 |
with_gnu_ld=$lt_with_gnu_ld |
|
17507 |
||
17508 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
17509 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
17510 |
||
17511 |
# Flag that enforces no undefined symbols. |
|
17512 |
no_undefined_flag=$lt_no_undefined_flag |
|
17513 |
||
17514 |
# Flag to hardcode \$libdir into a binary during linking. |
|
17515 |
# This must work even if \$libdir does not exist |
|
17516 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
17517 |
||
17518 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
17519 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
17520 |
||
17521 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17522 |
# DIR into the resulting binary. |
|
17523 |
hardcode_direct=$hardcode_direct |
|
17524 |
||
17525 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17526 |
# DIR into the resulting binary and the resulting library dependency is |
|
17527 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
17528 |
# library is relocated. |
|
17529 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
17530 |
||
17531 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
17532 |
# into the resulting binary. |
|
17533 |
hardcode_minus_L=$hardcode_minus_L |
|
17534 |
||
17535 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
17536 |
# into the resulting binary. |
|
17537 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
17538 |
||
17539 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
17540 |
# into the library and all subsequent libraries and executables linked |
|
17541 |
# against it. |
|
17542 |
hardcode_automatic=$hardcode_automatic |
|
17543 |
||
17544 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
17545 |
# to runtime path list. |
|
17546 |
inherit_rpath=$inherit_rpath |
|
17547 |
||
17548 |
# Whether libtool must link a program against all its dependency libraries. |
|
17549 |
link_all_deplibs=$link_all_deplibs |
|
17550 |
||
17551 |
# Set to "yes" if exported symbols are required. |
|
17552 |
always_export_symbols=$always_export_symbols |
|
17553 |
||
17554 |
# The commands to list exported symbols. |
|
17555 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
17556 |
||
17557 |
# Symbols that should not be listed in the preloaded symbols. |
|
17558 |
exclude_expsyms=$lt_exclude_expsyms |
|
17559 |
||
17560 |
# Symbols that must always be exported. |
|
17561 |
include_expsyms=$lt_include_expsyms |
|
17562 |
||
17563 |
# Commands necessary for linking programs (against libraries) with templates. |
|
17564 |
prelink_cmds=$lt_prelink_cmds |
|
17565 |
||
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17566 |
# Commands necessary for finishing linking programs. |
17567 |
postlink_cmds=$lt_postlink_cmds |
|
17568 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17569 |
# Specify filename containing input files. |
17570 |
file_list_spec=$lt_file_list_spec |
|
17571 |
||
17572 |
# How to hardcode a shared library path into an executable. |
|
17573 |
hardcode_action=$hardcode_action |
|
17574 |
||
17575 |
# ### END LIBTOOL CONFIG |
|
17576 |
||
17577 |
_LT_EOF |
|
17578 |
||
17579 |
case $host_os in |
|
17580 |
aix3*) |
|
17581 |
cat <<\_LT_EOF >> "$cfgfile" |
|
17582 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
17583 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
17584 |
# vanish in a puff of smoke. |
|
17585 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
17586 |
COLLECT_NAMES= |
|
17587 |
export COLLECT_NAMES |
|
17588 |
fi |
|
17589 |
_LT_EOF |
|
17590 |
;; |
|
17591 |
esac |
|
17592 |
||
17593 |
||
17594 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
17595 |
||
17596 |
||
17597 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
17598 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
17599 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
17600 |
# is reportedly fixed, but why not run on old versions too? |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17601 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
17602 |
|| (rm -f "$cfgfile"; exit 1) |
|
17603 |
||
17604 |
if test x"$xsi_shell" = xyes; then |
|
17605 |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
|
17606 |
func_dirname ()\ |
|
17607 |
{\ |
|
17608 |
\ case ${1} in\ |
|
17609 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
17610 |
\ * ) func_dirname_result="${3}" ;;\ |
|
17611 |
\ esac\ |
|
17612 |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17613 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17614 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17615 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17616 |
||
17617 |
||
17618 |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
|
17619 |
func_basename ()\ |
|
17620 |
{\ |
|
17621 |
\ func_basename_result="${1##*/}"\ |
|
17622 |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17623 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17624 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17625 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17626 |
||
17627 |
||
17628 |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
|
17629 |
func_dirname_and_basename ()\ |
|
17630 |
{\ |
|
17631 |
\ case ${1} in\ |
|
17632 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
17633 |
\ * ) func_dirname_result="${3}" ;;\ |
|
17634 |
\ esac\ |
|
17635 |
\ func_basename_result="${1##*/}"\ |
|
17636 |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17637 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17638 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17639 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17640 |
||
17641 |
||
17642 |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
|
17643 |
func_stripname ()\ |
|
17644 |
{\ |
|
17645 |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
|
17646 |
\ # positional parameters, so assign one to ordinary parameter first.\ |
|
17647 |
\ func_stripname_result=${3}\ |
|
17648 |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
|
17649 |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
|
17650 |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17651 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17652 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17653 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17654 |
||
17655 |
||
17656 |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
|
17657 |
func_split_long_opt ()\ |
|
17658 |
{\ |
|
17659 |
\ func_split_long_opt_name=${1%%=*}\ |
|
17660 |
\ func_split_long_opt_arg=${1#*=}\ |
|
17661 |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17662 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17663 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17664 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17665 |
||
17666 |
||
17667 |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
|
17668 |
func_split_short_opt ()\ |
|
17669 |
{\ |
|
17670 |
\ func_split_short_opt_arg=${1#??}\ |
|
17671 |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
|
17672 |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17673 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17674 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17675 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17676 |
||
17677 |
||
17678 |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
|
17679 |
func_lo2o ()\ |
|
17680 |
{\ |
|
17681 |
\ case ${1} in\ |
|
17682 |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
|
17683 |
\ *) func_lo2o_result=${1} ;;\ |
|
17684 |
\ esac\ |
|
17685 |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17686 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17687 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17688 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17689 |
||
17690 |
||
17691 |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
|
17692 |
func_xform ()\ |
|
17693 |
{\ |
|
17694 |
func_xform_result=${1%.*}.lo\ |
|
17695 |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17696 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17697 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17698 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17699 |
||
17700 |
||
17701 |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
|
17702 |
func_arith ()\ |
|
17703 |
{\ |
|
17704 |
func_arith_result=$(( $* ))\ |
|
17705 |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17706 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17707 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17708 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17709 |
||
17710 |
||
17711 |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
|
17712 |
func_len ()\ |
|
17713 |
{\ |
|
17714 |
func_len_result=${#1}\ |
|
17715 |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17716 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17717 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17718 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17719 |
||
17720 |
fi |
|
17721 |
||
17722 |
if test x"$lt_shell_append" = xyes; then |
|
17723 |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
|
17724 |
func_append ()\ |
|
17725 |
{\ |
|
17726 |
eval "${1}+=\\${2}"\ |
|
17727 |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17728 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17729 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17730 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17731 |
||
17732 |
||
17733 |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
|
17734 |
func_append_quoted ()\ |
|
17735 |
{\ |
|
17736 |
\ func_quote_for_eval "${2}"\ |
|
17737 |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
|
17738 |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17739 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17740 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17741 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17742 |
||
17743 |
||
17744 |
# Save a `func_append' function call where possible by direct use of '+=' |
|
17745 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
|
17746 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17747 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17748 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17749 |
else |
|
17750 |
# Save a `func_append' function call even when '+=' is not available |
|
17751 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
|
17752 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17753 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17754 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17755 |
fi |
|
17756 |
||
17757 |
if test x"$_lt_function_replace_fail" = x":"; then |
|
17758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
|
17759 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
|
17760 |
fi |
|
17761 |
||
17762 |
||
17763 |
mv -f "$cfgfile" "$ofile" || |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17764 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
17765 |
chmod +x "$ofile" |
|
17766 |
||
17767 |
;; |
|
1.1.65
by Ken VanDine
Import upstream version 3.3.1 |
17768 |
"po-directories":C) |
17769 |
for ac_file in $CONFIG_FILES; do |
|
17770 |
# Support "outfile[:infile[:infile...]]" |
|
17771 |
case "$ac_file" in |
|
17772 |
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
17773 |
esac |
|
17774 |
# PO directories have a Makefile.in generated from Makefile.in.in. |
|
17775 |
case "$ac_file" in */Makefile.in) |
|
17776 |
# Adjust a relative srcdir. |
|
17777 |
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
|
17778 |
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
|
17779 |
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
|
17780 |
# In autoconf-2.13 it is called $ac_given_srcdir. |
|
17781 |
# In autoconf-2.50 it is called $srcdir. |
|
17782 |
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
|
17783 |
case "$ac_given_srcdir" in |
|
17784 |
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
|
17785 |
/*) top_srcdir="$ac_given_srcdir" ;; |
|
17786 |
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
17787 |
esac |
|
17788 |
# Treat a directory as a PO directory if and only if it has a |
|
17789 |
# POTFILES.in file. This allows packages to have multiple PO |
|
17790 |
# directories under different names or in different locations. |
|
17791 |
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
|
17792 |
rm -f "$ac_dir/POTFILES" |
|
17793 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
|
17794 |
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
|
17795 |
POMAKEFILEDEPS="POTFILES.in" |
|
17796 |
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
|
17797 |
# on $ac_dir but don't depend on user-specified configuration |
|
17798 |
# parameters. |
|
17799 |
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
|
17800 |
# The LINGUAS file contains the set of available languages. |
|
17801 |
if test -n "$OBSOLETE_ALL_LINGUAS"; then |
|
17802 |
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
|
17803 |
fi |
|
17804 |
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
|
17805 |
# Hide the ALL_LINGUAS assigment from automake < 1.5. |
|
17806 |
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
|
17807 |
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
|
17808 |
else |
|
17809 |
# The set of available languages was given in configure.in. |
|
17810 |
# Hide the ALL_LINGUAS assigment from automake < 1.5. |
|
17811 |
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
|
17812 |
fi |
|
17813 |
# Compute POFILES |
|
17814 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
|
17815 |
# Compute UPDATEPOFILES |
|
17816 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
|
17817 |
# Compute DUMMYPOFILES |
|
17818 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
|
17819 |
# Compute GMOFILES |
|
17820 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
|
17821 |
case "$ac_given_srcdir" in |
|
17822 |
.) srcdirpre= ;; |
|
17823 |
*) srcdirpre='$(srcdir)/' ;; |
|
17824 |
esac |
|
17825 |
POFILES= |
|
17826 |
UPDATEPOFILES= |
|
17827 |
DUMMYPOFILES= |
|
17828 |
GMOFILES= |
|
17829 |
for lang in $ALL_LINGUAS; do |
|
17830 |
POFILES="$POFILES $srcdirpre$lang.po" |
|
17831 |
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
|
17832 |
DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
|
17833 |
GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
|
17834 |
done |
|
17835 |
# CATALOGS depends on both $ac_dir and the user's LINGUAS |
|
17836 |
# environment variable. |
|
17837 |
INST_LINGUAS= |
|
17838 |
if test -n "$ALL_LINGUAS"; then |
|
17839 |
for presentlang in $ALL_LINGUAS; do |
|
17840 |
useit=no |
|
17841 |
if test "%UNSET%" != "$LINGUAS"; then |
|
17842 |
desiredlanguages="$LINGUAS" |
|
17843 |
else |
|
17844 |
desiredlanguages="$ALL_LINGUAS" |
|
17845 |
fi |
|
17846 |
for desiredlang in $desiredlanguages; do |
|
17847 |
# Use the presentlang catalog if desiredlang is |
|
17848 |
# a. equal to presentlang, or |
|
17849 |
# b. a variant of presentlang (because in this case, |
|
17850 |
# presentlang can be used as a fallback for messages |
|
17851 |
# which are not translated in the desiredlang catalog). |
|
17852 |
case "$desiredlang" in |
|
17853 |
"$presentlang"*) useit=yes;; |
|
17854 |
esac |
|
17855 |
done |
|
17856 |
if test $useit = yes; then |
|
17857 |
INST_LINGUAS="$INST_LINGUAS $presentlang" |
|
17858 |
fi |
|
17859 |
done |
|
17860 |
fi |
|
17861 |
CATALOGS= |
|
17862 |
if test -n "$INST_LINGUAS"; then |
|
17863 |
for lang in $INST_LINGUAS; do |
|
17864 |
CATALOGS="$CATALOGS $lang.gmo" |
|
17865 |
done |
|
17866 |
fi |
|
17867 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
|
17868 |
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" |
|
17869 |
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
|
17870 |
if test -f "$f"; then |
|
17871 |
case "$f" in |
|
17872 |
*.orig | *.bak | *~) ;; |
|
17873 |
*) cat "$f" >> "$ac_dir/Makefile" ;; |
|
17874 |
esac |
|
17875 |
fi |
|
17876 |
done |
|
17877 |
fi |
|
17878 |
;; |
|
17879 |
esac |
|
17880 |
done ;; |
|
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17881 |
"po/stamp-it":C) |
17882 |
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then |
|
17883 |
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 |
|
17884 |
fi |
|
17885 |
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" |
|
17886 |
>"po/stamp-it.tmp" |
|
17887 |
sed '/^#/d |
|
17888 |
s/^[[].*] *// |
|
17889 |
/^[ ]*$/d |
|
17890 |
'"s|^| $ac_top_srcdir/|" \ |
|
17891 |
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" |
|
17892 |
||
17893 |
sed '/^POTFILES =/,/[^\\]$/ { |
|
17894 |
/^POTFILES =/!d |
|
17895 |
r po/POTFILES |
|
17896 |
} |
|
17897 |
' "po/Makefile.in" >"po/Makefile" |
|
17898 |
rm -f "po/Makefile.tmp" |
|
17899 |
mv "po/stamp-it.tmp" "po/stamp-it" |
|
17900 |
;; |
|
17901 |
||
17902 |
esac |
|
17903 |
done # for ac_tag |
|
17904 |
||
17905 |
||
17906 |
as_fn_exit 0 |
|
17907 |
_ACEOF |
|
17908 |
ac_clean_files=$ac_clean_files_save |
|
17909 |
||
17910 |
test $ac_write_fail = 0 || |
|
17911 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
17912 |
||
17913 |
||
17914 |
# configure is writing to config.log, and then calls config.status. |
|
17915 |
# config.status does its own redirection, appending to config.log. |
|
17916 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
17917 |
# by configure, so config.status won't be able to write to it; its |
|
17918 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
17919 |
# effectively closing config.log, so it can be properly (re)opened and |
|
17920 |
# appended to by config.status. When coming back to configure, we |
|
17921 |
# need to make the FD available again. |
|
17922 |
if test "$no_create" != yes; then |
|
17923 |
ac_cs_success=: |
|
17924 |
ac_config_status_args= |
|
17925 |
test "$silent" = yes && |
|
17926 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
17927 |
exec 5>/dev/null |
|
17928 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
17929 |
exec 5>>config.log |
|
17930 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
17931 |
# would make configure fail if this is the last instruction. |
|
17932 |
$ac_cs_success || as_fn_exit 1 |
|
17933 |
fi |
|
17934 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
17935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
17936 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
17937 |
fi |
|
17938 |
||
17939 |
||
17940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
|
17941 |
||
17942 |
libgwibber $VERSION |
|
17943 |
---------------------- |
|
17944 |
||
17945 |
Prefix : ${prefix} |
|
17946 |
||
17947 |
Localinstall : ${with_localinstall} |
|
17948 |
||
17949 |
Unity : ${with_unity} |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17950 |
gtkspell : ${enable_spell} |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17951 |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
17952 |
Lenses Directory: ${LENSESDIR} |
17953 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17954 |
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS $DEPRECATED_CFLAGS |
17955 |
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS |
|
17956 |
" >&5 |
|
17957 |
$as_echo "$as_me: |
|
17958 |
||
17959 |
libgwibber $VERSION |
|
17960 |
---------------------- |
|
17961 |
||
17962 |
Prefix : ${prefix} |
|
17963 |
||
17964 |
Localinstall : ${with_localinstall} |
|
17965 |
||
17966 |
Unity : ${with_unity} |
|
1.1.48
by Ken VanDine
Import upstream version 3.1.4 |
17967 |
gtkspell : ${enable_spell} |
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17968 |
|
1.1.55
by Ken VanDine
Import upstream version 3.1.4.2 |
17969 |
Lenses Directory: ${LENSESDIR} |
17970 |
||
1.1.46
by Ken VanDine
Import upstream version 3.1.2 |
17971 |
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS $DEPRECATED_CFLAGS |
17972 |
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS |
|
17973 |
" >&6;} |