1
by paul-mccullagh
Initial import |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3 |
# Generated by GNU Autoconf 2.63. |
1
by paul-mccullagh
Initial import |
4 |
# |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
1
by paul-mccullagh
Initial import |
7 |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
|
9 |
## --------------------- ## |
|
10 |
## M4sh Initialization. ## |
|
11 |
## --------------------- ## |
|
12 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13 |
# Be more Bourne compatible |
1
by paul-mccullagh
Initial import |
14 |
DUALCASE=1; export DUALCASE # for MKS sh |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16 |
emulate sh |
|
17 |
NULLCMD=: |
|
18 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
19 |
# is contrary to our usage. Disable this feature. |
|
20 |
alias -g '${1+"$@"}'='"$@"' |
|
21 |
setopt NO_GLOB_SUBST |
|
22 |
else |
|
23 |
case `(set -o) 2>/dev/null` in |
|
24 |
*posix*) set -o posix ;; |
|
25 |
esac |
|
26 |
||
27 |
fi |
|
28 |
||
29 |
||
30 |
||
31 |
||
32 |
# PATH needs CR |
|
33 |
# Avoid depending upon Character Ranges. |
|
34 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
35 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
36 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
37 |
as_cr_digits='0123456789' |
|
38 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
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 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
48 |
as_echo='printf %s\n' |
|
49 |
as_echo_n='printf %s' |
|
50 |
else |
|
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
53 |
as_echo_n='/usr/ucb/echo -n' |
|
54 |
else |
|
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
56 |
as_echo_n_body='eval |
|
57 |
arg=$1; |
|
58 |
case $arg in |
|
59 |
*"$as_nl"*) |
|
60 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
62 |
esac; |
|
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
64 |
' |
|
65 |
export as_echo_n_body |
|
66 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
67 |
fi |
|
68 |
export as_echo_body |
|
69 |
as_echo='sh -c $as_echo_body as_echo' |
|
70 |
fi |
|
71 |
||
72 |
# The user is always right. |
|
73 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
74 |
PATH_SEPARATOR=: |
|
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
77 |
PATH_SEPARATOR=';' |
|
78 |
} |
|
79 |
fi |
|
1
by paul-mccullagh
Initial import |
80 |
|
81 |
# Support unset when possible. |
|
82 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
83 |
as_unset=unset |
|
84 |
else |
|
85 |
as_unset=false |
|
86 |
fi |
|
87 |
||
88 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
89 |
# IFS |
90 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
91 |
# there to prevent editors from complaining about space-tab. |
|
92 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
93 |
# splitting by setting IFS to empty value.) |
|
94 |
IFS=" "" $as_nl" |
|
95 |
||
96 |
# Find who we are. Look in the path if we contain no directory separator. |
|
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); exit 1; } |
|
118 |
fi |
|
119 |
||
1
by paul-mccullagh
Initial import |
120 |
# Work around bugs in pre-3.0 UWIN ksh. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
121 |
for as_var in ENV MAIL MAILPATH |
122 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
123 |
done |
|
1
by paul-mccullagh
Initial import |
124 |
PS1='$ ' |
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
||
128 |
# NLS nuisances. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
129 |
LC_ALL=C |
130 |
export LC_ALL |
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE |
|
1
by paul-mccullagh
Initial import |
133 |
|
134 |
# Required to use basename. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
135 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
136 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1
by paul-mccullagh
Initial import |
137 |
as_expr=expr |
138 |
else |
|
139 |
as_expr=false |
|
140 |
fi |
|
141 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
142 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
1
by paul-mccullagh
Initial import |
143 |
as_basename=basename |
144 |
else |
|
145 |
as_basename=false |
|
146 |
fi |
|
147 |
||
148 |
||
149 |
# Name of the executable. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
150 |
as_me=`$as_basename -- "$0" || |
1
by paul-mccullagh
Initial import |
151 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
152 |
X"$0" : 'X\(//\)$' \| \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
153 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
154 |
$as_echo X/"$0" | |
|
155 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
156 |
s//\1/ |
|
157 |
q |
|
158 |
} |
|
159 |
/^X\/\(\/\/\)$/{ |
|
160 |
s//\1/ |
|
161 |
q |
|
162 |
} |
|
163 |
/^X\/\(\/\).*/{ |
|
164 |
s//\1/ |
|
165 |
q |
|
166 |
} |
|
167 |
s/.*/./; q'` |
|
168 |
||
169 |
# CDPATH. |
|
170 |
$as_unset CDPATH |
|
171 |
||
172 |
||
173 |
if test "x$CONFIG_SHELL" = x; then |
|
174 |
if (eval ":") 2>/dev/null; then |
|
175 |
as_have_required=yes |
|
176 |
else |
|
177 |
as_have_required=no |
|
178 |
fi |
|
179 |
||
180 |
if test $as_have_required = yes && (eval ": |
|
181 |
(as_func_return () { |
|
182 |
(exit \$1) |
|
183 |
} |
|
184 |
as_func_success () { |
|
185 |
as_func_return 0 |
|
186 |
} |
|
187 |
as_func_failure () { |
|
188 |
as_func_return 1 |
|
189 |
} |
|
190 |
as_func_ret_success () { |
|
191 |
return 0 |
|
192 |
} |
|
193 |
as_func_ret_failure () { |
|
194 |
return 1 |
|
195 |
} |
|
196 |
||
197 |
exitcode=0 |
|
198 |
if as_func_success; then |
|
199 |
: |
|
200 |
else |
|
201 |
exitcode=1 |
|
202 |
echo as_func_success failed. |
|
203 |
fi |
|
204 |
||
205 |
if as_func_failure; then |
|
206 |
exitcode=1 |
|
207 |
echo as_func_failure succeeded. |
|
208 |
fi |
|
209 |
||
210 |
if as_func_ret_success; then |
|
211 |
: |
|
212 |
else |
|
213 |
exitcode=1 |
|
214 |
echo as_func_ret_success failed. |
|
215 |
fi |
|
216 |
||
217 |
if as_func_ret_failure; then |
|
218 |
exitcode=1 |
|
219 |
echo as_func_ret_failure succeeded. |
|
220 |
fi |
|
221 |
||
222 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
223 |
: |
|
224 |
else |
|
225 |
exitcode=1 |
|
226 |
echo positional parameters were not saved. |
|
227 |
fi |
|
228 |
||
229 |
test \$exitcode = 0) || { (exit 1); exit 1; } |
|
230 |
||
231 |
( |
|
232 |
as_lineno_1=\$LINENO |
|
233 |
as_lineno_2=\$LINENO |
|
234 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
235 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
236 |
") 2> /dev/null; then |
|
237 |
: |
|
238 |
else |
|
239 |
as_candidate_shells= |
|
1
by paul-mccullagh
Initial import |
240 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
241 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
242 |
do |
|
243 |
IFS=$as_save_IFS |
|
244 |
test -z "$as_dir" && as_dir=. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
245 |
case $as_dir in |
1
by paul-mccullagh
Initial import |
246 |
/*) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
247 |
for as_base in sh bash ksh sh5; do |
248 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
249 |
done;; |
|
250 |
esac |
|
1
by paul-mccullagh
Initial import |
251 |
done |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
252 |
IFS=$as_save_IFS |
253 |
||
254 |
||
255 |
for as_shell in $as_candidate_shells $SHELL; do |
|
256 |
# Try only shells that exist, to save several forks. |
|
257 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
258 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
|
259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
260 |
emulate sh |
|
261 |
NULLCMD=: |
|
262 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
263 |
# is contrary to our usage. Disable this feature. |
|
264 |
alias -g '${1+"$@"}'='"$@"' |
|
265 |
setopt NO_GLOB_SUBST |
|
266 |
else |
|
267 |
case `(set -o) 2>/dev/null` in |
|
268 |
*posix*) set -o posix ;; |
|
269 |
esac |
|
270 |
||
271 |
fi |
|
272 |
||
273 |
||
274 |
: |
|
275 |
_ASEOF |
|
276 |
}; then |
|
277 |
CONFIG_SHELL=$as_shell |
|
278 |
as_have_required=yes |
|
279 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
280 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
281 |
emulate sh |
|
282 |
NULLCMD=: |
|
283 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
284 |
# is contrary to our usage. Disable this feature. |
|
285 |
alias -g '${1+"$@"}'='"$@"' |
|
286 |
setopt NO_GLOB_SUBST |
|
287 |
else |
|
288 |
case `(set -o) 2>/dev/null` in |
|
289 |
*posix*) set -o posix ;; |
|
290 |
esac |
|
291 |
||
292 |
fi |
|
293 |
||
294 |
||
295 |
: |
|
296 |
(as_func_return () { |
|
297 |
(exit $1) |
|
298 |
} |
|
299 |
as_func_success () { |
|
300 |
as_func_return 0 |
|
301 |
} |
|
302 |
as_func_failure () { |
|
303 |
as_func_return 1 |
|
304 |
} |
|
305 |
as_func_ret_success () { |
|
306 |
return 0 |
|
307 |
} |
|
308 |
as_func_ret_failure () { |
|
309 |
return 1 |
|
310 |
} |
|
311 |
||
312 |
exitcode=0 |
|
313 |
if as_func_success; then |
|
314 |
: |
|
315 |
else |
|
316 |
exitcode=1 |
|
317 |
echo as_func_success failed. |
|
318 |
fi |
|
319 |
||
320 |
if as_func_failure; then |
|
321 |
exitcode=1 |
|
322 |
echo as_func_failure succeeded. |
|
323 |
fi |
|
324 |
||
325 |
if as_func_ret_success; then |
|
326 |
: |
|
327 |
else |
|
328 |
exitcode=1 |
|
329 |
echo as_func_ret_success failed. |
|
330 |
fi |
|
331 |
||
332 |
if as_func_ret_failure; then |
|
333 |
exitcode=1 |
|
334 |
echo as_func_ret_failure succeeded. |
|
335 |
fi |
|
336 |
||
337 |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
338 |
: |
|
339 |
else |
|
340 |
exitcode=1 |
|
341 |
echo positional parameters were not saved. |
|
342 |
fi |
|
343 |
||
344 |
test $exitcode = 0) || { (exit 1); exit 1; } |
|
345 |
||
346 |
( |
|
347 |
as_lineno_1=$LINENO |
|
348 |
as_lineno_2=$LINENO |
|
349 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
350 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|
351 |
||
352 |
_ASEOF |
|
353 |
}; then |
|
354 |
break |
|
355 |
fi |
|
356 |
||
357 |
fi |
|
358 |
||
359 |
done |
|
360 |
||
361 |
if test "x$CONFIG_SHELL" != x; then |
|
362 |
for as_var in BASH_ENV ENV |
|
363 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
364 |
done |
|
365 |
export CONFIG_SHELL |
|
366 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
367 |
fi |
|
368 |
||
369 |
||
370 |
if test $as_have_required = no; then |
|
371 |
echo This script requires a shell more modern than all the |
|
372 |
echo shells that I found on your system. Please install a |
|
373 |
echo modern shell, or manually run the script under such a |
|
374 |
echo shell if you do have one. |
|
375 |
{ (exit 1); exit 1; } |
|
376 |
fi |
|
377 |
||
378 |
||
379 |
fi |
|
380 |
||
381 |
fi |
|
382 |
||
383 |
||
384 |
||
385 |
(eval "as_func_return () { |
|
386 |
(exit \$1) |
|
387 |
} |
|
388 |
as_func_success () { |
|
389 |
as_func_return 0 |
|
390 |
} |
|
391 |
as_func_failure () { |
|
392 |
as_func_return 1 |
|
393 |
} |
|
394 |
as_func_ret_success () { |
|
395 |
return 0 |
|
396 |
} |
|
397 |
as_func_ret_failure () { |
|
398 |
return 1 |
|
399 |
} |
|
400 |
||
401 |
exitcode=0 |
|
402 |
if as_func_success; then |
|
403 |
: |
|
404 |
else |
|
405 |
exitcode=1 |
|
406 |
echo as_func_success failed. |
|
407 |
fi |
|
408 |
||
409 |
if as_func_failure; then |
|
410 |
exitcode=1 |
|
411 |
echo as_func_failure succeeded. |
|
412 |
fi |
|
413 |
||
414 |
if as_func_ret_success; then |
|
415 |
: |
|
416 |
else |
|
417 |
exitcode=1 |
|
418 |
echo as_func_ret_success failed. |
|
419 |
fi |
|
420 |
||
421 |
if as_func_ret_failure; then |
|
422 |
exitcode=1 |
|
423 |
echo as_func_ret_failure succeeded. |
|
424 |
fi |
|
425 |
||
426 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
427 |
: |
|
428 |
else |
|
429 |
exitcode=1 |
|
430 |
echo positional parameters were not saved. |
|
431 |
fi |
|
432 |
||
433 |
test \$exitcode = 0") || { |
|
434 |
echo No shell found that supports shell functions. |
|
435 |
echo Please tell bug-autoconf@gnu.org about your system, |
|
436 |
echo including any error possibly output before this message. |
|
437 |
echo This can help us improve future autoconf versions. |
|
438 |
echo Configuration will now proceed without shell functions. |
|
439 |
} |
|
440 |
||
441 |
||
442 |
||
443 |
as_lineno_1=$LINENO |
|
444 |
as_lineno_2=$LINENO |
|
445 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
446 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
1
by paul-mccullagh
Initial import |
447 |
|
448 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
449 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
450 |
# line-number line after each line using $LINENO; the second 'sed' |
451 |
# does the real work. The second script uses 'N' to pair each |
|
452 |
# line-number line with the line containing $LINENO, and appends |
|
453 |
# trailing '-' during substitution so that $LINENO is not a special |
|
454 |
# case at line end. |
|
1
by paul-mccullagh
Initial import |
455 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
456 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
457 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
458 |
sed -n ' |
|
459 |
p |
|
460 |
/[$]LINENO/= |
|
461 |
' <$as_myself | |
|
1
by paul-mccullagh
Initial import |
462 |
sed ' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
463 |
s/[$]LINENO.*/&-/ |
464 |
t lineno |
|
465 |
b |
|
466 |
:lineno |
|
1
by paul-mccullagh
Initial import |
467 |
N |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
468 |
:loop |
469 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
1
by paul-mccullagh
Initial import |
470 |
t loop |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
471 |
s/-\n.*// |
1
by paul-mccullagh
Initial import |
472 |
' >$as_me.lineno && |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
473 |
chmod +x "$as_me.lineno" || |
474 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
1
by paul-mccullagh
Initial import |
475 |
{ (exit 1); exit 1; }; } |
476 |
||
477 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
478 |
# (the dirname of $[0] is not the place where we might find the |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
479 |
# original and so on. Autoconf is especially sensitive to this). |
480 |
. "./$as_me.lineno" |
|
1
by paul-mccullagh
Initial import |
481 |
# Exit status is that of the last command. |
482 |
exit |
|
483 |
} |
|
484 |
||
485 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
486 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
487 |
as_dirname=dirname |
|
488 |
else |
|
489 |
as_dirname=false |
|
490 |
fi |
|
491 |
||
492 |
ECHO_C= ECHO_N= ECHO_T= |
|
493 |
case `echo -n x` in |
|
494 |
-n*) |
|
495 |
case `echo 'x\c'` in |
|
496 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
497 |
*) ECHO_C='\c';; |
|
498 |
esac;; |
|
499 |
*) |
|
500 |
ECHO_N='-n';; |
|
1
by paul-mccullagh
Initial import |
501 |
esac |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
502 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
503 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1
by paul-mccullagh
Initial import |
504 |
as_expr=expr |
505 |
else |
|
506 |
as_expr=false |
|
507 |
fi |
|
508 |
||
509 |
rm -f conf$$ conf$$.exe conf$$.file |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
510 |
if test -d conf$$.dir; then |
511 |
rm -f conf$$.dir/conf$$.file |
|
512 |
else |
|
513 |
rm -f conf$$.dir |
|
514 |
mkdir conf$$.dir 2>/dev/null |
|
515 |
fi |
|
516 |
if (echo >conf$$.file) 2>/dev/null; then |
|
517 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
518 |
as_ln_s='ln -s' |
|
519 |
# ... but there are two gotchas: |
|
520 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
521 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
522 |
# In both cases, we have to default to `cp -p'. |
|
523 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
524 |
as_ln_s='cp -p' |
|
525 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
526 |
as_ln_s=ln |
|
527 |
else |
|
1
by paul-mccullagh
Initial import |
528 |
as_ln_s='cp -p' |
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
529 |
fi |
1
by paul-mccullagh
Initial import |
530 |
else |
531 |
as_ln_s='cp -p' |
|
532 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
533 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
534 |
rmdir conf$$.dir 2>/dev/null |
|
1
by paul-mccullagh
Initial import |
535 |
|
536 |
if mkdir -p . 2>/dev/null; then |
|
537 |
as_mkdir_p=: |
|
538 |
else |
|
539 |
test -d ./-p && rmdir ./-p |
|
540 |
as_mkdir_p=false |
|
541 |
fi |
|
542 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
543 |
if test -x / >/dev/null 2>&1; then |
544 |
as_test_x='test -x' |
|
545 |
else |
|
546 |
if ls -dL / >/dev/null 2>&1; then |
|
547 |
as_ls_L_option=L |
|
548 |
else |
|
549 |
as_ls_L_option= |
|
550 |
fi |
|
551 |
as_test_x=' |
|
552 |
eval sh -c '\'' |
|
553 |
if test -d "$1"; then |
|
554 |
test -d "$1/."; |
|
555 |
else |
|
556 |
case $1 in |
|
557 |
-*)set "./$1";; |
|
558 |
esac; |
|
559 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
560 |
???[sx]*):;;*)false;;esac;fi |
|
561 |
'\'' sh |
|
562 |
' |
|
563 |
fi |
|
564 |
as_executable_p=$as_test_x |
|
1
by paul-mccullagh
Initial import |
565 |
|
566 |
# Sed expression to map a string onto a valid CPP name. |
|
567 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
568 |
||
569 |
# Sed expression to map a string onto a valid variable name. |
|
570 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
571 |
||
572 |
||
573 |
||
574 |
||
575 |
# Check that we are running under the correct shell. |
|
576 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
577 |
||
578 |
case X$ECHO in |
|
579 |
X*--fallback-echo) |
|
580 |
# Remove one level of quotation (which was required for Make). |
|
581 |
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` |
|
582 |
;; |
|
583 |
esac |
|
584 |
||
585 |
echo=${ECHO-echo} |
|
586 |
if test "X$1" = X--no-reexec; then |
|
587 |
# Discard the --no-reexec flag, and continue. |
|
588 |
shift |
|
589 |
elif test "X$1" = X--fallback-echo; then |
|
590 |
# Avoid inline document here, it may be left over |
|
591 |
: |
|
592 |
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
|
593 |
# Yippee, $echo works! |
|
594 |
: |
|
595 |
else |
|
596 |
# Restart under the correct shell. |
|
597 |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
|
598 |
fi |
|
599 |
||
600 |
if test "X$1" = X--fallback-echo; then |
|
601 |
# used as fallback echo |
|
602 |
shift |
|
603 |
cat <<EOF |
|
604 |
$* |
|
605 |
EOF |
|
606 |
exit 0 |
|
607 |
fi |
|
608 |
||
609 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
610 |
# if CDPATH is set. |
|
611 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
612 |
||
613 |
if test -z "$ECHO"; then |
|
614 |
if test "X${echo_test_string+set}" != Xset; then |
|
615 |
# find a string as large as possible, as long as the shell can cope with it |
|
616 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
|
617 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
618 |
if (echo_test_string=`eval $cmd`) 2>/dev/null && |
619 |
echo_test_string=`eval $cmd` && |
|
1
by paul-mccullagh
Initial import |
620 |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
621 |
then |
|
622 |
break |
|
623 |
fi |
|
624 |
done |
|
625 |
fi |
|
626 |
||
627 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
|
628 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
|
629 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
630 |
: |
|
631 |
else |
|
632 |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
|
633 |
# backslashes. This makes it impossible to quote backslashes using |
|
634 |
# echo "$something" | sed 's/\\/\\\\/g' |
|
635 |
# |
|
636 |
# So, first we look for a working echo in the user's PATH. |
|
637 |
||
638 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
639 |
for dir in $PATH /usr/ucb; do |
|
640 |
IFS="$lt_save_ifs" |
|
641 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
642 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
643 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
644 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
645 |
echo="$dir/echo" |
|
646 |
break |
|
647 |
fi |
|
648 |
done |
|
649 |
IFS="$lt_save_ifs" |
|
650 |
||
651 |
if test "X$echo" = Xecho; then |
|
652 |
# We didn't find a better echo, so look for alternatives. |
|
653 |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
|
654 |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
|
655 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
656 |
# This shell has a builtin print -r that does the trick. |
|
657 |
echo='print -r' |
|
658 |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
|
659 |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
|
660 |
# If we have ksh, try running configure again with it. |
|
661 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
|
662 |
export ORIGINAL_CONFIG_SHELL |
|
663 |
CONFIG_SHELL=/bin/ksh |
|
664 |
export CONFIG_SHELL |
|
665 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
|
666 |
else |
|
667 |
# Try using printf. |
|
668 |
echo='printf %s\n' |
|
669 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
|
670 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
|
671 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
672 |
# Cool, printf works |
|
673 |
: |
|
674 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
675 |
test "X$echo_testing_string" = 'X\t' && |
|
676 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
677 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
678 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
|
679 |
export CONFIG_SHELL |
|
680 |
SHELL="$CONFIG_SHELL" |
|
681 |
export SHELL |
|
682 |
echo="$CONFIG_SHELL $0 --fallback-echo" |
|
683 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
684 |
test "X$echo_testing_string" = 'X\t' && |
|
685 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
686 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
687 |
echo="$CONFIG_SHELL $0 --fallback-echo" |
|
688 |
else |
|
689 |
# maybe with a smaller string... |
|
690 |
prev=: |
|
691 |
||
692 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
|
693 |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
|
694 |
then |
|
695 |
break |
|
696 |
fi |
|
697 |
prev="$cmd" |
|
698 |
done |
|
699 |
||
700 |
if test "$prev" != 'sed 50q "$0"'; then |
|
701 |
echo_test_string=`eval $prev` |
|
702 |
export echo_test_string |
|
703 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
704 |
else |
|
705 |
# Oops. We lost completely, so just stick with echo. |
|
706 |
echo=echo |
|
707 |
fi |
|
708 |
fi |
|
709 |
fi |
|
710 |
fi |
|
711 |
fi |
|
712 |
fi |
|
713 |
||
714 |
# Copy echo and quote the copy suitably for passing to libtool from |
|
715 |
# the Makefile, instead of quoting the original, which is used later. |
|
716 |
ECHO=$echo |
|
717 |
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
|
718 |
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
|
719 |
fi |
|
720 |
||
721 |
||
722 |
||
723 |
||
724 |
tagnames=${tagnames+${tagnames},}CXX |
|
725 |
||
726 |
tagnames=${tagnames+${tagnames},}F77 |
|
727 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
728 |
exec 7<&0 </dev/null 6>&1 |
729 |
||
1
by paul-mccullagh
Initial import |
730 |
# Name of the host. |
731 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
732 |
# so uname gets run too. |
|
733 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
734 |
||
735 |
# |
|
736 |
# Initializations. |
|
737 |
# |
|
738 |
ac_default_prefix=/usr/local |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
739 |
ac_clean_files= |
1
by paul-mccullagh
Initial import |
740 |
ac_config_libobj_dir=. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
741 |
LIBOBJS= |
1
by paul-mccullagh
Initial import |
742 |
cross_compiling=no |
743 |
subdirs= |
|
744 |
MFLAGS= |
|
745 |
MAKEFLAGS= |
|
746 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
747 |
||
748 |
# Identity of this package. |
|
749 |
PACKAGE_NAME= |
|
750 |
PACKAGE_TARNAME= |
|
751 |
PACKAGE_VERSION= |
|
752 |
PACKAGE_STRING= |
|
753 |
PACKAGE_BUGREPORT= |
|
754 |
||
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
755 |
ac_unique_file="src/ha_pbms.cc" |
1
by paul-mccullagh
Initial import |
756 |
# Factoring default headers for most tests. |
757 |
ac_includes_default="\ |
|
758 |
#include <stdio.h> |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
759 |
#ifdef HAVE_SYS_TYPES_H |
1
by paul-mccullagh
Initial import |
760 |
# include <sys/types.h> |
761 |
#endif |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
762 |
#ifdef HAVE_SYS_STAT_H |
1
by paul-mccullagh
Initial import |
763 |
# include <sys/stat.h> |
764 |
#endif |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
765 |
#ifdef STDC_HEADERS |
1
by paul-mccullagh
Initial import |
766 |
# include <stdlib.h> |
767 |
# include <stddef.h> |
|
768 |
#else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
769 |
# ifdef HAVE_STDLIB_H |
1
by paul-mccullagh
Initial import |
770 |
# include <stdlib.h> |
771 |
# endif |
|
772 |
#endif |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
773 |
#ifdef HAVE_STRING_H |
774 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
1
by paul-mccullagh
Initial import |
775 |
# include <memory.h> |
776 |
# endif |
|
777 |
# include <string.h> |
|
778 |
#endif |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
779 |
#ifdef HAVE_STRINGS_H |
1
by paul-mccullagh
Initial import |
780 |
# include <strings.h> |
781 |
#endif |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
782 |
#ifdef HAVE_INTTYPES_H |
1
by paul-mccullagh
Initial import |
783 |
# include <inttypes.h> |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
784 |
#endif |
785 |
#ifdef HAVE_STDINT_H |
|
786 |
# include <stdint.h> |
|
787 |
#endif |
|
788 |
#ifdef HAVE_UNISTD_H |
|
1
by paul-mccullagh
Initial import |
789 |
# include <unistd.h> |
790 |
#endif" |
|
791 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
792 |
ac_subst_vars='LTLIBOBJS |
793 |
LIBOBJS |
|
794 |
MYSQL_DIR |
|
795 |
MYSQ_CLIENT_LIB |
|
796 |
MYSQ_SERVER_TYPE |
|
797 |
ENG_DRIZZLE_FLAG |
|
798 |
ENG_MYSQL_INC |
|
799 |
LIBTOOL |
|
800 |
ac_ct_F77 |
|
801 |
FFLAGS |
|
802 |
F77 |
|
803 |
CXXCPP |
|
804 |
CPP |
|
805 |
NMEDIT |
|
806 |
DSYMUTIL |
|
807 |
RANLIB |
|
808 |
AR |
|
809 |
ECHO |
|
810 |
LN_S |
|
811 |
EGREP |
|
812 |
GREP |
|
813 |
SED |
|
814 |
host_os |
|
815 |
host_vendor |
|
816 |
host_cpu |
|
817 |
host |
|
818 |
build_os |
|
819 |
build_vendor |
|
820 |
build_cpu |
|
821 |
build |
|
822 |
am__fastdepCXX_FALSE |
|
823 |
am__fastdepCXX_TRUE |
|
824 |
CXXDEPMODE |
|
825 |
ac_ct_CXX |
|
826 |
CXXFLAGS |
|
827 |
CXX |
|
828 |
am__fastdepCC_FALSE |
|
829 |
am__fastdepCC_TRUE |
|
830 |
CCDEPMODE |
|
831 |
AMDEPBACKSLASH |
|
832 |
AMDEP_FALSE |
|
833 |
AMDEP_TRUE |
|
834 |
am__quote |
|
835 |
am__include |
|
836 |
DEPDIR |
|
837 |
OBJEXT |
|
838 |
EXEEXT |
|
839 |
ac_ct_CC |
|
840 |
CPPFLAGS |
|
841 |
LDFLAGS |
|
842 |
CFLAGS |
|
843 |
CC |
|
844 |
am__untar |
|
845 |
am__tar |
|
846 |
AMTAR |
|
847 |
am__leading_dot |
|
848 |
SET_MAKE |
|
849 |
AWK |
|
850 |
mkdir_p |
|
851 |
MKDIR_P |
|
852 |
INSTALL_STRIP_PROGRAM |
|
853 |
STRIP |
|
854 |
install_sh |
|
855 |
MAKEINFO |
|
856 |
AUTOHEADER |
|
857 |
AUTOMAKE |
|
858 |
AUTOCONF |
|
859 |
ACLOCAL |
|
860 |
VERSION |
|
861 |
PACKAGE |
|
862 |
CYGPATH_W |
|
863 |
am__isrc |
|
864 |
INSTALL_DATA |
|
865 |
INSTALL_SCRIPT |
|
866 |
INSTALL_PROGRAM |
|
867 |
target_alias |
|
868 |
host_alias |
|
869 |
build_alias |
|
870 |
LIBS |
|
871 |
ECHO_T |
|
872 |
ECHO_N |
|
873 |
ECHO_C |
|
874 |
DEFS |
|
875 |
mandir |
|
876 |
localedir |
|
877 |
libdir |
|
878 |
psdir |
|
879 |
pdfdir |
|
880 |
dvidir |
|
881 |
htmldir |
|
882 |
infodir |
|
883 |
docdir |
|
884 |
oldincludedir |
|
885 |
includedir |
|
886 |
localstatedir |
|
887 |
sharedstatedir |
|
888 |
sysconfdir |
|
889 |
datadir |
|
890 |
datarootdir |
|
891 |
libexecdir |
|
892 |
sbindir |
|
893 |
bindir |
|
894 |
program_transform_name |
|
895 |
prefix |
|
896 |
exec_prefix |
|
897 |
PACKAGE_BUGREPORT |
|
898 |
PACKAGE_STRING |
|
899 |
PACKAGE_VERSION |
|
900 |
PACKAGE_TARNAME |
|
901 |
PACKAGE_NAME |
|
902 |
PATH_SEPARATOR |
|
903 |
SHELL' |
|
1
by paul-mccullagh
Initial import |
904 |
ac_subst_files='' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
905 |
ac_user_opts=' |
906 |
enable_option_checking |
|
907 |
enable_dependency_tracking |
|
908 |
enable_shared |
|
909 |
enable_static |
|
910 |
enable_fast_install |
|
911 |
with_gnu_ld |
|
912 |
enable_libtool_lock |
|
913 |
with_pic |
|
914 |
with_tags |
|
915 |
with_mysql |
|
916 |
with_debug |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
917 |
with_pbms_port |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
918 |
' |
919 |
ac_precious_vars='build_alias |
|
920 |
host_alias |
|
921 |
target_alias |
|
922 |
CC |
|
923 |
CFLAGS |
|
924 |
LDFLAGS |
|
925 |
LIBS |
|
926 |
CPPFLAGS |
|
927 |
CXX |
|
928 |
CXXFLAGS |
|
929 |
CCC |
|
930 |
CPP |
|
931 |
CXXCPP |
|
932 |
F77 |
|
933 |
FFLAGS' |
|
934 |
||
1
by paul-mccullagh
Initial import |
935 |
|
936 |
# Initialize some variables set by options. |
|
937 |
ac_init_help= |
|
938 |
ac_init_version=false |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
939 |
ac_unrecognized_opts= |
940 |
ac_unrecognized_sep= |
|
1
by paul-mccullagh
Initial import |
941 |
# The variables have the same names as the options, with |
942 |
# dashes changed to underlines. |
|
943 |
cache_file=/dev/null |
|
944 |
exec_prefix=NONE |
|
945 |
no_create= |
|
946 |
no_recursion= |
|
947 |
prefix=NONE |
|
948 |
program_prefix=NONE |
|
949 |
program_suffix=NONE |
|
950 |
program_transform_name=s,x,x, |
|
951 |
silent= |
|
952 |
site= |
|
953 |
srcdir= |
|
954 |
verbose= |
|
955 |
x_includes=NONE |
|
956 |
x_libraries=NONE |
|
957 |
||
958 |
# Installation directory options. |
|
959 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
960 |
# and all the variables that are supposed to be based on exec_prefix |
|
961 |
# by default will actually change. |
|
962 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
963 |
# (The list follows the same order as the GNU Coding Standards.) |
1
by paul-mccullagh
Initial import |
964 |
bindir='${exec_prefix}/bin' |
965 |
sbindir='${exec_prefix}/sbin' |
|
966 |
libexecdir='${exec_prefix}/libexec' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
967 |
datarootdir='${prefix}/share' |
968 |
datadir='${datarootdir}' |
|
1
by paul-mccullagh
Initial import |
969 |
sysconfdir='${prefix}/etc' |
970 |
sharedstatedir='${prefix}/com' |
|
971 |
localstatedir='${prefix}/var' |
|
972 |
includedir='${prefix}/include' |
|
973 |
oldincludedir='/usr/include' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
974 |
docdir='${datarootdir}/doc/${PACKAGE}' |
975 |
infodir='${datarootdir}/info' |
|
976 |
htmldir='${docdir}' |
|
977 |
dvidir='${docdir}' |
|
978 |
pdfdir='${docdir}' |
|
979 |
psdir='${docdir}' |
|
980 |
libdir='${exec_prefix}/lib' |
|
981 |
localedir='${datarootdir}/locale' |
|
982 |
mandir='${datarootdir}/man' |
|
1
by paul-mccullagh
Initial import |
983 |
|
984 |
ac_prev= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
985 |
ac_dashdash= |
1
by paul-mccullagh
Initial import |
986 |
for ac_option |
987 |
do |
|
988 |
# If the previous option needs an argument, assign it. |
|
989 |
if test -n "$ac_prev"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
990 |
eval $ac_prev=\$ac_option |
1
by paul-mccullagh
Initial import |
991 |
ac_prev= |
992 |
continue |
|
993 |
fi |
|
994 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
995 |
case $ac_option in |
996 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
997 |
*) ac_optarg=yes ;; |
|
998 |
esac |
|
1
by paul-mccullagh
Initial import |
999 |
|
1000 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
1001 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1002 |
case $ac_dashdash$ac_option in |
1003 |
--) |
|
1004 |
ac_dashdash=yes ;; |
|
1
by paul-mccullagh
Initial import |
1005 |
|
1006 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
1007 |
ac_prev=bindir ;; |
|
1008 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
1009 |
bindir=$ac_optarg ;; |
|
1010 |
||
1011 |
-build | --build | --buil | --bui | --bu) |
|
1012 |
ac_prev=build_alias ;; |
|
1013 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
1014 |
build_alias=$ac_optarg ;; |
|
1015 |
||
1016 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
1017 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
1018 |
ac_prev=cache_file ;; |
|
1019 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
1020 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
1021 |
cache_file=$ac_optarg ;; |
|
1022 |
||
1023 |
--config-cache | -C) |
|
1024 |
cache_file=config.cache ;; |
|
1025 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1026 |
-datadir | --datadir | --datadi | --datad) |
1
by paul-mccullagh
Initial import |
1027 |
ac_prev=datadir ;; |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1028 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
1
by paul-mccullagh
Initial import |
1029 |
datadir=$ac_optarg ;; |
1030 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1031 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
1032 |
| --dataroo | --dataro | --datar) |
|
1033 |
ac_prev=datarootdir ;; |
|
1034 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
1035 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
1036 |
datarootdir=$ac_optarg ;; |
|
1037 |
||
1
by paul-mccullagh
Initial import |
1038 |
-disable-* | --disable-*) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1039 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1
by paul-mccullagh
Initial import |
1040 |
# Reject names that are not valid shell variable names. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1041 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1042 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1
by paul-mccullagh
Initial import |
1043 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1044 |
ac_useropt_orig=$ac_useropt |
1045 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1046 |
case $ac_user_opts in |
|
1047 |
*" |
|
1048 |
"enable_$ac_useropt" |
|
1049 |
"*) ;; |
|
1050 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
1051 |
ac_unrecognized_sep=', ';; |
|
1052 |
esac |
|
1053 |
eval enable_$ac_useropt=no ;; |
|
1054 |
||
1055 |
-docdir | --docdir | --docdi | --doc | --do) |
|
1056 |
ac_prev=docdir ;; |
|
1057 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
1058 |
docdir=$ac_optarg ;; |
|
1059 |
||
1060 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
1061 |
ac_prev=dvidir ;; |
|
1062 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
1063 |
dvidir=$ac_optarg ;; |
|
1
by paul-mccullagh
Initial import |
1064 |
|
1065 |
-enable-* | --enable-*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1066 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1
by paul-mccullagh
Initial import |
1067 |
# Reject names that are not valid shell variable names. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1068 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1069 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1
by paul-mccullagh
Initial import |
1070 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1071 |
ac_useropt_orig=$ac_useropt |
1072 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1073 |
case $ac_user_opts in |
|
1074 |
*" |
|
1075 |
"enable_$ac_useropt" |
|
1076 |
"*) ;; |
|
1077 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
1078 |
ac_unrecognized_sep=', ';; |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
1079 |
esac |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1080 |
eval enable_$ac_useropt=\$ac_optarg ;; |
1
by paul-mccullagh
Initial import |
1081 |
|
1082 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
1083 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
1084 |
| --exec | --exe | --ex) |
|
1085 |
ac_prev=exec_prefix ;; |
|
1086 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
1087 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
1088 |
| --exec=* | --exe=* | --ex=*) |
|
1089 |
exec_prefix=$ac_optarg ;; |
|
1090 |
||
1091 |
-gas | --gas | --ga | --g) |
|
1092 |
# Obsolete; use --with-gas. |
|
1093 |
with_gas=yes ;; |
|
1094 |
||
1095 |
-help | --help | --hel | --he | -h) |
|
1096 |
ac_init_help=long ;; |
|
1097 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
1098 |
ac_init_help=recursive ;; |
|
1099 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
1100 |
ac_init_help=short ;; |
|
1101 |
||
1102 |
-host | --host | --hos | --ho) |
|
1103 |
ac_prev=host_alias ;; |
|
1104 |
-host=* | --host=* | --hos=* | --ho=*) |
|
1105 |
host_alias=$ac_optarg ;; |
|
1106 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1107 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1108 |
ac_prev=htmldir ;; |
|
1109 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
1110 |
| --ht=*) |
|
1111 |
htmldir=$ac_optarg ;; |
|
1112 |
||
1
by paul-mccullagh
Initial import |
1113 |
-includedir | --includedir | --includedi | --included | --include \ |
1114 |
| --includ | --inclu | --incl | --inc) |
|
1115 |
ac_prev=includedir ;; |
|
1116 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
1117 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
1118 |
includedir=$ac_optarg ;; |
|
1119 |
||
1120 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
1121 |
ac_prev=infodir ;; |
|
1122 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
1123 |
infodir=$ac_optarg ;; |
|
1124 |
||
1125 |
-libdir | --libdir | --libdi | --libd) |
|
1126 |
ac_prev=libdir ;; |
|
1127 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
1128 |
libdir=$ac_optarg ;; |
|
1129 |
||
1130 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
1131 |
| --libexe | --libex | --libe) |
|
1132 |
ac_prev=libexecdir ;; |
|
1133 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
1134 |
| --libexe=* | --libex=* | --libe=*) |
|
1135 |
libexecdir=$ac_optarg ;; |
|
1136 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1137 |
-localedir | --localedir | --localedi | --localed | --locale) |
1138 |
ac_prev=localedir ;; |
|
1139 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1140 |
localedir=$ac_optarg ;; |
|
1141 |
||
1
by paul-mccullagh
Initial import |
1142 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1143 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1
by paul-mccullagh
Initial import |
1144 |
ac_prev=localstatedir ;; |
1145 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1146 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1
by paul-mccullagh
Initial import |
1147 |
localstatedir=$ac_optarg ;; |
1148 |
||
1149 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1150 |
ac_prev=mandir ;; |
|
1151 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1152 |
mandir=$ac_optarg ;; |
|
1153 |
||
1154 |
-nfp | --nfp | --nf) |
|
1155 |
# Obsolete; use --without-fp. |
|
1156 |
with_fp=no ;; |
|
1157 |
||
1158 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1159 |
| --no-cr | --no-c | -n) |
|
1160 |
no_create=yes ;; |
|
1161 |
||
1162 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1163 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1164 |
no_recursion=yes ;; |
|
1165 |
||
1166 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1167 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1168 |
| --oldin | --oldi | --old | --ol | --o) |
|
1169 |
ac_prev=oldincludedir ;; |
|
1170 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1171 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1172 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1173 |
oldincludedir=$ac_optarg ;; |
|
1174 |
||
1175 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1176 |
ac_prev=prefix ;; |
|
1177 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1178 |
prefix=$ac_optarg ;; |
|
1179 |
||
1180 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1181 |
| --program-pre | --program-pr | --program-p) |
|
1182 |
ac_prev=program_prefix ;; |
|
1183 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1184 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1185 |
program_prefix=$ac_optarg ;; |
|
1186 |
||
1187 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1188 |
| --program-suf | --program-su | --program-s) |
|
1189 |
ac_prev=program_suffix ;; |
|
1190 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1191 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1192 |
program_suffix=$ac_optarg ;; |
|
1193 |
||
1194 |
-program-transform-name | --program-transform-name \ |
|
1195 |
| --program-transform-nam | --program-transform-na \ |
|
1196 |
| --program-transform-n | --program-transform- \ |
|
1197 |
| --program-transform | --program-transfor \ |
|
1198 |
| --program-transfo | --program-transf \ |
|
1199 |
| --program-trans | --program-tran \ |
|
1200 |
| --progr-tra | --program-tr | --program-t) |
|
1201 |
ac_prev=program_transform_name ;; |
|
1202 |
-program-transform-name=* | --program-transform-name=* \ |
|
1203 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1204 |
| --program-transform-n=* | --program-transform-=* \ |
|
1205 |
| --program-transform=* | --program-transfor=* \ |
|
1206 |
| --program-transfo=* | --program-transf=* \ |
|
1207 |
| --program-trans=* | --program-tran=* \ |
|
1208 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1209 |
program_transform_name=$ac_optarg ;; |
|
1210 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1211 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1212 |
ac_prev=pdfdir ;; |
|
1213 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1214 |
pdfdir=$ac_optarg ;; |
|
1215 |
||
1216 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1217 |
ac_prev=psdir ;; |
|
1218 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1219 |
psdir=$ac_optarg ;; |
|
1220 |
||
1
by paul-mccullagh
Initial import |
1221 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1222 |
| -silent | --silent | --silen | --sile | --sil) |
|
1223 |
silent=yes ;; |
|
1224 |
||
1225 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1226 |
ac_prev=sbindir ;; |
|
1227 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1228 |
| --sbi=* | --sb=*) |
|
1229 |
sbindir=$ac_optarg ;; |
|
1230 |
||
1231 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1232 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1233 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1234 |
| --sha | --sh) |
|
1235 |
ac_prev=sharedstatedir ;; |
|
1236 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1237 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1238 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1239 |
| --sha=* | --sh=*) |
|
1240 |
sharedstatedir=$ac_optarg ;; |
|
1241 |
||
1242 |
-site | --site | --sit) |
|
1243 |
ac_prev=site ;; |
|
1244 |
-site=* | --site=* | --sit=*) |
|
1245 |
site=$ac_optarg ;; |
|
1246 |
||
1247 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1248 |
ac_prev=srcdir ;; |
|
1249 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1250 |
srcdir=$ac_optarg ;; |
|
1251 |
||
1252 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1253 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1254 |
ac_prev=sysconfdir ;; |
|
1255 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1256 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1257 |
sysconfdir=$ac_optarg ;; |
|
1258 |
||
1259 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1260 |
ac_prev=target_alias ;; |
|
1261 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1262 |
target_alias=$ac_optarg ;; |
|
1263 |
||
1264 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1265 |
verbose=yes ;; |
|
1266 |
||
1267 |
-version | --version | --versio | --versi | --vers | -V) |
|
1268 |
ac_init_version=: ;; |
|
1269 |
||
1270 |
-with-* | --with-*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1271 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1
by paul-mccullagh
Initial import |
1272 |
# Reject names that are not valid shell variable names. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1273 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1274 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1
by paul-mccullagh
Initial import |
1275 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1276 |
ac_useropt_orig=$ac_useropt |
1277 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1278 |
case $ac_user_opts in |
|
1279 |
*" |
|
1280 |
"with_$ac_useropt" |
|
1281 |
"*) ;; |
|
1282 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1283 |
ac_unrecognized_sep=', ';; |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
1284 |
esac |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1285 |
eval with_$ac_useropt=\$ac_optarg ;; |
1
by paul-mccullagh
Initial import |
1286 |
|
1287 |
-without-* | --without-*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1288 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1
by paul-mccullagh
Initial import |
1289 |
# Reject names that are not valid shell variable names. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1290 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1291 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1
by paul-mccullagh
Initial import |
1292 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1293 |
ac_useropt_orig=$ac_useropt |
1294 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1295 |
case $ac_user_opts in |
|
1296 |
*" |
|
1297 |
"with_$ac_useropt" |
|
1298 |
"*) ;; |
|
1299 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1300 |
ac_unrecognized_sep=', ';; |
|
1301 |
esac |
|
1302 |
eval with_$ac_useropt=no ;; |
|
1
by paul-mccullagh
Initial import |
1303 |
|
1304 |
--x) |
|
1305 |
# Obsolete; use --with-x. |
|
1306 |
with_x=yes ;; |
|
1307 |
||
1308 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1309 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1310 |
ac_prev=x_includes ;; |
|
1311 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1312 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1313 |
x_includes=$ac_optarg ;; |
|
1314 |
||
1315 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1316 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1317 |
ac_prev=x_libraries ;; |
|
1318 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1319 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1320 |
x_libraries=$ac_optarg ;; |
|
1321 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1322 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1
by paul-mccullagh
Initial import |
1323 |
Try \`$0 --help' for more information." >&2 |
1324 |
{ (exit 1); exit 1; }; } |
|
1325 |
;; |
|
1326 |
||
1327 |
*=*) |
|
1328 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1329 |
# Reject names that are not valid shell variable names. |
|
1330 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1331 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1
by paul-mccullagh
Initial import |
1332 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1333 |
eval $ac_envvar=\$ac_optarg |
1
by paul-mccullagh
Initial import |
1334 |
export $ac_envvar ;; |
1335 |
||
1336 |
*) |
|
1337 |
# FIXME: should be removed in autoconf 3.0. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1338 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1
by paul-mccullagh
Initial import |
1339 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1340 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1
by paul-mccullagh
Initial import |
1341 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1342 |
;; |
|
1343 |
||
1344 |
esac |
|
1345 |
done |
|
1346 |
||
1347 |
if test -n "$ac_prev"; then |
|
1348 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1349 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1350 |
{ (exit 1); exit 1; }; } |
|
1351 |
fi |
|
1352 |
||
1353 |
if test -n "$ac_unrecognized_opts"; then |
|
1354 |
case $enable_option_checking in |
|
1355 |
no) ;; |
|
1356 |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
|
1357 |
{ (exit 1); exit 1; }; } ;; |
|
1358 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1359 |
esac |
|
1360 |
fi |
|
1361 |
||
1362 |
# Check all directory arguments for consistency. |
|
1363 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1364 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1365 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1366 |
libdir localedir mandir |
|
1367 |
do |
|
1368 |
eval ac_val=\$$ac_var |
|
1369 |
# Remove trailing slashes. |
|
1370 |
case $ac_val in |
|
1371 |
*/ ) |
|
1372 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1373 |
eval $ac_var=\$ac_val;; |
|
1374 |
esac |
|
1375 |
# Be sure to have absolute directory names. |
|
1376 |
case $ac_val in |
|
1377 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1378 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1379 |
esac |
|
1380 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
1381 |
{ (exit 1); exit 1; }; } |
|
1
by paul-mccullagh
Initial import |
1382 |
done |
1383 |
||
1384 |
# There might be people who depend on the old broken behavior: `$host' |
|
1385 |
# used to hold the argument of --host etc. |
|
1386 |
# FIXME: To remove some day. |
|
1387 |
build=$build_alias |
|
1388 |
host=$host_alias |
|
1389 |
target=$target_alias |
|
1390 |
||
1391 |
# FIXME: To remove some day. |
|
1392 |
if test "x$host_alias" != x; then |
|
1393 |
if test "x$build_alias" = x; then |
|
1394 |
cross_compiling=maybe |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1395 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1
by paul-mccullagh
Initial import |
1396 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1397 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1398 |
cross_compiling=yes |
|
1399 |
fi |
|
1400 |
fi |
|
1401 |
||
1402 |
ac_tool_prefix= |
|
1403 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1404 |
||
1405 |
test "$silent" = yes && exec 6>/dev/null |
|
1406 |
||
1407 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1408 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1409 |
ac_ls_di=`ls -di .` && |
|
1410 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1411 |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
|
1412 |
{ (exit 1); exit 1; }; } |
|
1413 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1414 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
|
1415 |
{ (exit 1); exit 1; }; } |
|
1416 |
||
1417 |
||
1
by paul-mccullagh
Initial import |
1418 |
# Find the source files, if location was not specified. |
1419 |
if test -z "$srcdir"; then |
|
1420 |
ac_srcdir_defaulted=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1421 |
# Try the directory containing this script, then the parent directory. |
1422 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1423 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1424 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1425 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1426 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1427 |
$as_echo X"$as_myself" | |
|
1428 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1429 |
s//\1/ |
|
1430 |
q |
|
1431 |
} |
|
1432 |
/^X\(\/\/\)[^/].*/{ |
|
1433 |
s//\1/ |
|
1434 |
q |
|
1435 |
} |
|
1436 |
/^X\(\/\/\)$/{ |
|
1437 |
s//\1/ |
|
1438 |
q |
|
1439 |
} |
|
1440 |
/^X\(\/\).*/{ |
|
1441 |
s//\1/ |
|
1442 |
q |
|
1443 |
} |
|
1444 |
s/.*/./; q'` |
|
1
by paul-mccullagh
Initial import |
1445 |
srcdir=$ac_confdir |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1446 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1
by paul-mccullagh
Initial import |
1447 |
srcdir=.. |
1448 |
fi |
|
1449 |
else |
|
1450 |
ac_srcdir_defaulted=no |
|
1451 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1452 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1453 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1454 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
1455 |
{ (exit 1); exit 1; }; } |
|
1456 |
fi |
|
1457 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1458 |
ac_abs_confdir=`( |
|
1459 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
|
1460 |
{ (exit 1); exit 1; }; } |
|
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 |
|
1
by paul-mccullagh
Initial import |
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 |
|
1486 |
\`configure' configures this package to adapt to many kinds of systems. |
|
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 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1508 |
[$ac_default_prefix] |
1
by paul-mccullagh
Initial import |
1509 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1510 |
[PREFIX] |
1
by paul-mccullagh
Initial import |
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: |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
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/PACKAGE] |
|
1535 |
--htmldir=DIR html documentation [DOCDIR] |
|
1536 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1537 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1538 |
--psdir=DIR ps documentation [DOCDIR] |
|
1
by paul-mccullagh
Initial import |
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 |
||
1556 |
cat <<\_ACEOF |
|
1557 |
||
1558 |
Optional Features: |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1559 |
--disable-option-checking ignore unrecognized --enable/--with options |
1
by paul-mccullagh
Initial import |
1560 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1561 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1562 |
--disable-dependency-tracking speeds up one-time build |
|
1563 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1564 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
1565 |
--enable-static[=PKGS] build static libraries [default=yes] |
|
1
by paul-mccullagh
Initial import |
1566 |
--enable-fast-install[=PKGS] |
1567 |
optimize for fast installation [default=yes] |
|
1568 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1569 |
||
1570 |
Optional Packages: |
|
1571 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1572 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1573 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
1574 |
--with-pic try to use only PIC/non-PIC objects [default=use |
|
1575 |
both] |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1576 |
--with-tags[=TAGS] include additional configurations [automatic] |
7
by paul-mccullagh
Fixed configure |
1577 |
--with-mysql[=mysql source directory] Source required to build engine. |
1
by paul-mccullagh
Initial import |
1578 |
--with-debug Add debug code |
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
1579 |
--with-pbms-port Which port to use for PBMS HTTP server, default 8080 |
1
by paul-mccullagh
Initial import |
1580 |
|
1581 |
Some influential environment variables: |
|
1582 |
CC C compiler command |
|
1583 |
CFLAGS C compiler flags |
|
1584 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1585 |
nonstandard directory <lib dir> |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1586 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1587 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|
1588 |
you have headers in a nonstandard directory <include dir> |
|
1
by paul-mccullagh
Initial import |
1589 |
CXX C++ compiler command |
1590 |
CXXFLAGS C++ compiler flags |
|
7
by paul-mccullagh
Fixed configure |
1591 |
CPP C preprocessor |
1
by paul-mccullagh
Initial import |
1592 |
CXXCPP C++ preprocessor |
1593 |
F77 Fortran 77 compiler command |
|
1594 |
FFLAGS Fortran 77 compiler flags |
|
1595 |
||
1596 |
Use these variables to override the choices made by `configure' or to help |
|
1597 |
it to find libraries and programs with nonstandard names/locations. |
|
1598 |
||
1599 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1600 |
ac_status=$? |
1
by paul-mccullagh
Initial import |
1601 |
fi |
1602 |
||
1603 |
if test "$ac_init_help" = "recursive"; then |
|
1604 |
# If there are subdirs, report their specific --help. |
|
1605 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1606 |
test -d "$ac_dir" || |
1607 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1608 |
continue |
|
1
by paul-mccullagh
Initial import |
1609 |
ac_builddir=. |
1610 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1611 |
case "$ac_dir" in |
1612 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1613 |
*) |
|
1614 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1615 |
# A ".." for each directory in $ac_dir_suffix. |
|
1616 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1617 |
case $ac_top_builddir_sub in |
|
1618 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1619 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1620 |
esac ;; |
|
1621 |
esac |
|
1622 |
ac_abs_top_builddir=$ac_pwd |
|
1623 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1624 |
# for backward compatibility: |
|
1625 |
ac_top_builddir=$ac_top_build_prefix |
|
1
by paul-mccullagh
Initial import |
1626 |
|
1627 |
case $srcdir in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1628 |
.) # We are building in place. |
1
by paul-mccullagh
Initial import |
1629 |
ac_srcdir=. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1630 |
ac_top_srcdir=$ac_top_builddir_sub |
1631 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1632 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1
by paul-mccullagh
Initial import |
1633 |
ac_srcdir=$srcdir$ac_dir_suffix; |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1634 |
ac_top_srcdir=$srcdir |
1635 |
ac_abs_top_srcdir=$srcdir ;; |
|
1636 |
*) # Relative name. |
|
1637 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1638 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1639 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1640 |
esac |
|
1641 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1642 |
||
1643 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1644 |
# Check for guested configure. |
|
1645 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1646 |
echo && |
|
1647 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1648 |
elif test -f "$ac_srcdir/configure"; then |
|
1649 |
echo && |
|
1650 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1
by paul-mccullagh
Initial import |
1651 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1652 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1653 |
fi || ac_status=$? |
|
1654 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1
by paul-mccullagh
Initial import |
1655 |
done |
1656 |
fi |
|
1657 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1658 |
test -n "$ac_init_help" && exit $ac_status |
1
by paul-mccullagh
Initial import |
1659 |
if $ac_init_version; then |
1660 |
cat <<\_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1661 |
configure |
1662 |
generated by GNU Autoconf 2.63 |
|
1
by paul-mccullagh
Initial import |
1663 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1664 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1665 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
1
by paul-mccullagh
Initial import |
1666 |
This configure script is free software; the Free Software Foundation |
1667 |
gives unlimited permission to copy, distribute and modify it. |
|
1668 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1669 |
exit |
1
by paul-mccullagh
Initial import |
1670 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1671 |
cat >config.log <<_ACEOF |
1
by paul-mccullagh
Initial import |
1672 |
This file contains any messages produced by compilers while |
1673 |
running configure, to aid debugging if configure makes a mistake. |
|
1674 |
||
1675 |
It was created by $as_me, which was |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1676 |
generated by GNU Autoconf 2.63. Invocation command line was |
1
by paul-mccullagh
Initial import |
1677 |
|
1678 |
$ $0 $@ |
|
1679 |
||
1680 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1681 |
exec 5>>config.log |
1
by paul-mccullagh
Initial import |
1682 |
{ |
1683 |
cat <<_ASUNAME |
|
1684 |
## --------- ## |
|
1685 |
## Platform. ## |
|
1686 |
## --------- ## |
|
1687 |
||
1688 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1689 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1690 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1691 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1692 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1693 |
||
1694 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1695 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1696 |
||
1697 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1698 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1699 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1700 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1
by paul-mccullagh
Initial import |
1701 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1702 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1703 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1704 |
||
1705 |
_ASUNAME |
|
1706 |
||
1707 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1708 |
for as_dir in $PATH |
|
1709 |
do |
|
1710 |
IFS=$as_save_IFS |
|
1711 |
test -z "$as_dir" && as_dir=. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1712 |
$as_echo "PATH: $as_dir" |
1
by paul-mccullagh
Initial import |
1713 |
done |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1714 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
1715 |
|
1716 |
} >&5 |
|
1717 |
||
1718 |
cat >&5 <<_ACEOF |
|
1719 |
||
1720 |
||
1721 |
## ----------- ## |
|
1722 |
## Core tests. ## |
|
1723 |
## ----------- ## |
|
1724 |
||
1725 |
_ACEOF |
|
1726 |
||
1727 |
||
1728 |
# Keep a trace of the command line. |
|
1729 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1730 |
# Strip out --silent because we don't want to record it for future runs. |
|
1731 |
# Also quote any args containing shell meta-characters. |
|
1732 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1733 |
ac_configure_args= |
|
1734 |
ac_configure_args0= |
|
1735 |
ac_configure_args1= |
|
1736 |
ac_must_keep_next=false |
|
1737 |
for ac_pass in 1 2 |
|
1738 |
do |
|
1739 |
for ac_arg |
|
1740 |
do |
|
1741 |
case $ac_arg in |
|
1742 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1743 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1744 |
| -silent | --silent | --silen | --sile | --sil) |
|
1745 |
continue ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1746 |
*\'*) |
1747 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1
by paul-mccullagh
Initial import |
1748 |
esac |
1749 |
case $ac_pass in |
|
1750 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
1751 |
2) |
|
1752 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
1753 |
if test $ac_must_keep_next = true; then |
|
1754 |
ac_must_keep_next=false # Got value, back to normal. |
|
1755 |
else |
|
1756 |
case $ac_arg in |
|
1757 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1758 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1759 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1760 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1761 |
case "$ac_configure_args0 " in |
|
1762 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1763 |
esac |
|
1764 |
;; |
|
1765 |
-* ) ac_must_keep_next=true ;; |
|
1766 |
esac |
|
1767 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1768 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
1
by paul-mccullagh
Initial import |
1769 |
;; |
1770 |
esac |
|
1771 |
done |
|
1772 |
done |
|
1773 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
1774 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
1775 |
||
1776 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
1777 |
# config.log. We remove comments because anyway the quotes in there |
|
1778 |
# would cause problems or look ugly. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1779 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
1780 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1
by paul-mccullagh
Initial import |
1781 |
trap 'exit_status=$? |
1782 |
# Save into config.log some information that might help in debugging. |
|
1783 |
{ |
|
1784 |
echo |
|
1785 |
||
1786 |
cat <<\_ASBOX |
|
1787 |
## ---------------- ## |
|
1788 |
## Cache variables. ## |
|
1789 |
## ---------------- ## |
|
1790 |
_ASBOX |
|
1791 |
echo |
|
1792 |
# The following way of writing the cache mishandles newlines in values, |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1793 |
( |
1794 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1795 |
eval ac_val=\$$ac_var |
|
1796 |
case $ac_val in #( |
|
1797 |
*${as_nl}*) |
|
1798 |
case $ac_var in #( |
|
1799 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1800 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1801 |
esac |
|
1802 |
case $ac_var in #( |
|
1803 |
_ | IFS | as_nl) ;; #( |
|
1804 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1805 |
*) $as_unset $ac_var ;; |
|
1806 |
esac ;; |
|
1807 |
esac |
|
1808 |
done |
|
1
by paul-mccullagh
Initial import |
1809 |
(set) 2>&1 | |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1810 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1811 |
*${as_nl}ac_space=\ *) |
|
1
by paul-mccullagh
Initial import |
1812 |
sed -n \ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1813 |
"s/'\''/'\''\\\\'\'''\''/g; |
1814 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1815 |
;; #( |
|
1
by paul-mccullagh
Initial import |
1816 |
*) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1817 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1
by paul-mccullagh
Initial import |
1818 |
;; |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1819 |
esac | |
1820 |
sort |
|
1821 |
) |
|
1
by paul-mccullagh
Initial import |
1822 |
echo |
1823 |
||
1824 |
cat <<\_ASBOX |
|
1825 |
## ----------------- ## |
|
1826 |
## Output variables. ## |
|
1827 |
## ----------------- ## |
|
1828 |
_ASBOX |
|
1829 |
echo |
|
1830 |
for ac_var in $ac_subst_vars |
|
1831 |
do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1832 |
eval ac_val=\$$ac_var |
1833 |
case $ac_val in |
|
1834 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1835 |
esac |
|
1836 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1
by paul-mccullagh
Initial import |
1837 |
done | sort |
1838 |
echo |
|
1839 |
||
1840 |
if test -n "$ac_subst_files"; then |
|
1841 |
cat <<\_ASBOX |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1842 |
## ------------------- ## |
1843 |
## File substitutions. ## |
|
1844 |
## ------------------- ## |
|
1
by paul-mccullagh
Initial import |
1845 |
_ASBOX |
1846 |
echo |
|
1847 |
for ac_var in $ac_subst_files |
|
1848 |
do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1849 |
eval ac_val=\$$ac_var |
1850 |
case $ac_val in |
|
1851 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1852 |
esac |
|
1853 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1
by paul-mccullagh
Initial import |
1854 |
done | sort |
1855 |
echo |
|
1856 |
fi |
|
1857 |
||
1858 |
if test -s confdefs.h; then |
|
1859 |
cat <<\_ASBOX |
|
1860 |
## ----------- ## |
|
1861 |
## confdefs.h. ## |
|
1862 |
## ----------- ## |
|
1863 |
_ASBOX |
|
1864 |
echo |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1865 |
cat confdefs.h |
1
by paul-mccullagh
Initial import |
1866 |
echo |
1867 |
fi |
|
1868 |
test "$ac_signal" != 0 && |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1869 |
$as_echo "$as_me: caught signal $ac_signal" |
1870 |
$as_echo "$as_me: exit $exit_status" |
|
1
by paul-mccullagh
Initial import |
1871 |
} >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1872 |
rm -f core *.core core.conftest.* && |
1873 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1
by paul-mccullagh
Initial import |
1874 |
exit $exit_status |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1875 |
' 0 |
1
by paul-mccullagh
Initial import |
1876 |
for ac_signal in 1 2 13 15; do |
1877 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
1878 |
done |
|
1879 |
ac_signal=0 |
|
1880 |
||
1881 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1882 |
rm -f -r conftest* confdefs.h |
1
by paul-mccullagh
Initial import |
1883 |
|
1884 |
# Predefined preprocessor variables. |
|
1885 |
||
1886 |
cat >>confdefs.h <<_ACEOF |
|
1887 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
1888 |
_ACEOF |
|
1889 |
||
1890 |
||
1891 |
cat >>confdefs.h <<_ACEOF |
|
1892 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1893 |
_ACEOF |
|
1894 |
||
1895 |
||
1896 |
cat >>confdefs.h <<_ACEOF |
|
1897 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1898 |
_ACEOF |
|
1899 |
||
1900 |
||
1901 |
cat >>confdefs.h <<_ACEOF |
|
1902 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
1903 |
_ACEOF |
|
1904 |
||
1905 |
||
1906 |
cat >>confdefs.h <<_ACEOF |
|
1907 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1908 |
_ACEOF |
|
1909 |
||
1910 |
||
1911 |
# Let the site file select an alternate cache file if it wants to. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1912 |
# Prefer an explicitly selected file to automatically selected ones. |
1913 |
ac_site_file1=NONE |
|
1914 |
ac_site_file2=NONE |
|
1915 |
if test -n "$CONFIG_SITE"; then |
|
1916 |
ac_site_file1=$CONFIG_SITE |
|
1917 |
elif test "x$prefix" != xNONE; then |
|
1918 |
ac_site_file1=$prefix/share/config.site |
|
1919 |
ac_site_file2=$prefix/etc/config.site |
|
1920 |
else |
|
1921 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
1922 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1
by paul-mccullagh
Initial import |
1923 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1924 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1925 |
do |
|
1926 |
test "x$ac_site_file" = xNONE && continue |
|
1
by paul-mccullagh
Initial import |
1927 |
if test -r "$ac_site_file"; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1928 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1929 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1
by paul-mccullagh
Initial import |
1930 |
sed 's/^/| /' "$ac_site_file" >&5 |
1931 |
. "$ac_site_file" |
|
1932 |
fi |
|
1933 |
done |
|
1934 |
||
1935 |
if test -r "$cache_file"; then |
|
1936 |
# Some versions of bash will fail to source /dev/null (special |
|
1937 |
# files actually), so we avoid doing that. |
|
1938 |
if test -f "$cache_file"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1939 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1940 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
1
by paul-mccullagh
Initial import |
1941 |
case $cache_file in |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1942 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
1943 |
*) . "./$cache_file";; |
|
1
by paul-mccullagh
Initial import |
1944 |
esac |
1945 |
fi |
|
1946 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1947 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1948 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
1
by paul-mccullagh
Initial import |
1949 |
>$cache_file |
1950 |
fi |
|
1951 |
||
1952 |
# Check that the precious variables saved in the cache have kept the same |
|
1953 |
# value. |
|
1954 |
ac_cache_corrupted=false |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1955 |
for ac_var in $ac_precious_vars; do |
1
by paul-mccullagh
Initial import |
1956 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1957 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1958 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1959 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
1
by paul-mccullagh
Initial import |
1960 |
case $ac_old_set,$ac_new_set in |
1961 |
set,) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1962 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1963 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1
by paul-mccullagh
Initial import |
1964 |
ac_cache_corrupted=: ;; |
1965 |
,set) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1966 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1967 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1
by paul-mccullagh
Initial import |
1968 |
ac_cache_corrupted=: ;; |
1969 |
,);; |
|
1970 |
*) |
|
1971 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1972 |
# differences in whitespace do not lead to failure. |
1973 |
ac_old_val_w=`echo x $ac_old_val` |
|
1974 |
ac_new_val_w=`echo x $ac_new_val` |
|
1975 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
1976 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
1977 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
1978 |
ac_cache_corrupted=: |
|
1979 |
else |
|
1980 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
1981 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
1982 |
eval $ac_var=\$ac_old_val |
|
1983 |
fi |
|
1984 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
|
1985 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
1986 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
|
1987 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
1
by paul-mccullagh
Initial import |
1988 |
fi;; |
1989 |
esac |
|
1990 |
# Pass precious variables to config.status. |
|
1991 |
if test "$ac_new_set" = set; then |
|
1992 |
case $ac_new_val in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
1993 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1
by paul-mccullagh
Initial import |
1994 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1995 |
esac |
|
1996 |
case " $ac_configure_args " in |
|
1997 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1998 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
1999 |
esac |
|
2000 |
fi |
|
2001 |
done |
|
2002 |
if $ac_cache_corrupted; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2003 |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2004 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2005 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
2006 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2007 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
2008 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1
by paul-mccullagh
Initial import |
2009 |
{ (exit 1); exit 1; }; } |
2010 |
fi |
|
2011 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2012 |
|
2013 |
||
2014 |
||
2015 |
||
2016 |
||
2017 |
||
2018 |
||
2019 |
||
2020 |
||
2021 |
||
2022 |
||
2023 |
||
2024 |
||
2025 |
||
2026 |
||
2027 |
||
1
by paul-mccullagh
Initial import |
2028 |
ac_ext=c |
2029 |
ac_cpp='$CPP $CPPFLAGS' |
|
2030 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2031 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2032 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2033 |
||
2034 |
||
2035 |
ac_aux_dir= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2036 |
for ac_dir in config "$srcdir"/config; do |
2037 |
if test -f "$ac_dir/install-sh"; then |
|
1
by paul-mccullagh
Initial import |
2038 |
ac_aux_dir=$ac_dir |
2039 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2040 |
break |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2041 |
elif test -f "$ac_dir/install.sh"; then |
1
by paul-mccullagh
Initial import |
2042 |
ac_aux_dir=$ac_dir |
2043 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2044 |
break |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2045 |
elif test -f "$ac_dir/shtool"; then |
1
by paul-mccullagh
Initial import |
2046 |
ac_aux_dir=$ac_dir |
2047 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2048 |
break |
|
2049 |
fi |
|
2050 |
done |
|
2051 |
if test -z "$ac_aux_dir"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2052 |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 |
2053 |
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} |
|
1
by paul-mccullagh
Initial import |
2054 |
{ (exit 1); exit 1; }; } |
2055 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2056 |
|
2057 |
# These three variables are undocumented and unsupported, |
|
2058 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2059 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2060 |
# whose full name contains unusual characters. |
|
2061 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2062 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2063 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2064 |
||
2065 |
||
2066 |
ac_config_headers="$ac_config_headers pbms_config.h" |
|
2067 |
||
2068 |
am__api_version='1.10' |
|
2069 |
||
1
by paul-mccullagh
Initial import |
2070 |
# Find a good install program. We prefer a C program (faster), |
2071 |
# so one script is as good as another. But avoid the broken or |
|
2072 |
# incompatible versions: |
|
2073 |
# SysV /etc/install, /usr/sbin/install |
|
2074 |
# SunOS /usr/etc/install |
|
2075 |
# IRIX /sbin/install |
|
2076 |
# AIX /bin/install |
|
2077 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2078 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2079 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2080 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2081 |
# OS/2's system install, which has a completely different semantic |
|
2082 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2083 |
# Reject install programs that cannot install multiple files. |
2084 |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
2085 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2086 |
if test -z "$INSTALL"; then |
2087 |
if test "${ac_cv_path_install+set}" = set; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2088 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2089 |
else |
2090 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2091 |
for as_dir in $PATH |
|
2092 |
do |
|
2093 |
IFS=$as_save_IFS |
|
2094 |
test -z "$as_dir" && as_dir=. |
|
2095 |
# Account for people who put trailing slashes in PATH elements. |
|
2096 |
case $as_dir/ in |
|
2097 |
./ | .// | /cC/* | \ |
|
2098 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2099 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
2100 |
/usr/ucb/* ) ;; |
|
2101 |
*) |
|
2102 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2103 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2104 |
# by default. |
|
2105 |
for ac_prog in ginstall scoinst install; do |
|
2106 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2107 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2108 |
if test $ac_prog = install && |
2109 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2110 |
# AIX install. It has an incompatible calling convention. |
|
2111 |
: |
|
2112 |
elif test $ac_prog = install && |
|
2113 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2114 |
# program-specific install script used by HP pwplus--don't use. |
|
2115 |
: |
|
2116 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2117 |
rm -rf conftest.one conftest.two conftest.dir |
2118 |
echo one > conftest.one |
|
2119 |
echo two > conftest.two |
|
2120 |
mkdir conftest.dir |
|
2121 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2122 |
test -s conftest.one && test -s conftest.two && |
|
2123 |
test -s conftest.dir/conftest.one && |
|
2124 |
test -s conftest.dir/conftest.two |
|
2125 |
then |
|
2126 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2127 |
break 3 |
|
2128 |
fi |
|
1
by paul-mccullagh
Initial import |
2129 |
fi |
2130 |
fi |
|
2131 |
done |
|
2132 |
done |
|
2133 |
;; |
|
2134 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2135 |
|
1
by paul-mccullagh
Initial import |
2136 |
done |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2137 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2138 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2139 |
rm -rf conftest.one conftest.two conftest.dir |
1
by paul-mccullagh
Initial import |
2140 |
|
2141 |
fi |
|
2142 |
if test "${ac_cv_path_install+set}" = set; then |
|
2143 |
INSTALL=$ac_cv_path_install |
|
2144 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2145 |
# As a last resort, use the slow shell script. Don't cache a |
2146 |
# value for INSTALL within a source directory, because that will |
|
1
by paul-mccullagh
Initial import |
2147 |
# break other packages using the cache if that directory is |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2148 |
# removed, or if the value is a relative name. |
1
by paul-mccullagh
Initial import |
2149 |
INSTALL=$ac_install_sh |
2150 |
fi |
|
2151 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2152 |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2153 |
$as_echo "$INSTALL" >&6; } |
|
1
by paul-mccullagh
Initial import |
2154 |
|
2155 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2156 |
# It thinks the first close brace ends the variable substitution. |
|
2157 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2158 |
||
2159 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2160 |
||
2161 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2162 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2163 |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2164 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2165 |
# Just in case |
2166 |
sleep 1 |
|
2167 |
echo timestamp > conftest.file |
|
2168 |
# Do `set' in a subshell so we don't clobber the current shell's |
|
2169 |
# arguments. Must try -L first in case configure is actually a |
|
2170 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2171 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2172 |
# directory). |
|
2173 |
if ( |
|
2174 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
2175 |
if test "$*" = "X"; then |
|
2176 |
# -L didn't work. |
|
2177 |
set X `ls -t $srcdir/configure conftest.file` |
|
2178 |
fi |
|
2179 |
rm -f conftest.file |
|
2180 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2181 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2182 |
||
2183 |
# If neither matched, then we have a broken ls. This can happen |
|
2184 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2185 |
# broken ls alias from the environment. This has actually |
|
2186 |
# happened. Such a system could not be considered "sane". |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2187 |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1
by paul-mccullagh
Initial import |
2188 |
alias in your environment" >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2189 |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1
by paul-mccullagh
Initial import |
2190 |
alias in your environment" >&2;} |
2191 |
{ (exit 1); exit 1; }; } |
|
2192 |
fi |
|
2193 |
||
2194 |
test "$2" = conftest.file |
|
2195 |
) |
|
2196 |
then |
|
2197 |
# Ok. |
|
2198 |
: |
|
2199 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2200 |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1
by paul-mccullagh
Initial import |
2201 |
Check your system clock" >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2202 |
$as_echo "$as_me: error: newly created file is older than distributed files! |
1
by paul-mccullagh
Initial import |
2203 |
Check your system clock" >&2;} |
2204 |
{ (exit 1); exit 1; }; } |
|
2205 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2206 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2207 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
2208 |
test "$program_prefix" != NONE && |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2209 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1
by paul-mccullagh
Initial import |
2210 |
# Use a double $ so make ignores it. |
2211 |
test "$program_suffix" != NONE && |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2212 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2213 |
# Double any \ or $. |
|
1
by paul-mccullagh
Initial import |
2214 |
# By default was `s,x,x', remove it if useless. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2215 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2216 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1
by paul-mccullagh
Initial import |
2217 |
|
2218 |
# expand $ac_aux_dir to an absolute path |
|
2219 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2220 |
||
2221 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
2222 |
# Use eval to expand $SHELL |
|
2223 |
if eval "$MISSING --run true"; then |
|
2224 |
am_missing_run="$MISSING --run " |
|
2225 |
else |
|
2226 |
am_missing_run= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2227 |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2228 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1
by paul-mccullagh
Initial import |
2229 |
fi |
2230 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2231 |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
2232 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2233 |
if test -z "$MKDIR_P"; then |
|
2234 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2235 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
2236 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2237 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2238 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2239 |
do |
|
2240 |
IFS=$as_save_IFS |
|
2241 |
test -z "$as_dir" && as_dir=. |
|
2242 |
for ac_prog in mkdir gmkdir; do |
|
2243 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2244 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2245 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2246 |
'mkdir (GNU coreutils) '* | \ |
|
2247 |
'mkdir (coreutils) '* | \ |
|
2248 |
'mkdir (fileutils) '4.1*) |
|
2249 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2250 |
break 3;; |
|
2251 |
esac |
|
2252 |
done |
|
2253 |
done |
|
2254 |
done |
|
2255 |
IFS=$as_save_IFS |
|
2256 |
||
2257 |
fi |
|
2258 |
||
2259 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2260 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
1
by paul-mccullagh
Initial import |
2261 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2262 |
# As a last resort, use the slow shell script. Don't cache a |
2263 |
# value for MKDIR_P within a source directory, because that will |
|
2264 |
# break other packages using the cache if that directory is |
|
2265 |
# removed, or if the value is a relative name. |
|
2266 |
test -d ./--version && rmdir ./--version |
|
2267 |
MKDIR_P="$ac_install_sh -d" |
|
1
by paul-mccullagh
Initial import |
2268 |
fi |
2269 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2270 |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
2271 |
$as_echo "$MKDIR_P" >&6; } |
|
2272 |
||
2273 |
mkdir_p="$MKDIR_P" |
|
2274 |
case $mkdir_p in |
|
2275 |
[\\/$]* | ?:[\\/]*) ;; |
|
2276 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2277 |
esac |
|
1
by paul-mccullagh
Initial import |
2278 |
|
2279 |
for ac_prog in gawk mawk nawk awk |
|
2280 |
do |
|
2281 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2282 |
set dummy $ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2283 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2284 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2285 |
if test "${ac_cv_prog_AWK+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2286 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2287 |
else |
2288 |
if test -n "$AWK"; then |
|
2289 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2290 |
else |
|
2291 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2292 |
for as_dir in $PATH |
|
2293 |
do |
|
2294 |
IFS=$as_save_IFS |
|
2295 |
test -z "$as_dir" && as_dir=. |
|
2296 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2297 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2298 |
ac_cv_prog_AWK="$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2299 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2300 |
break 2 |
2301 |
fi |
|
2302 |
done |
|
2303 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2304 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2305 |
|
2306 |
fi |
|
2307 |
fi |
|
2308 |
AWK=$ac_cv_prog_AWK |
|
2309 |
if test -n "$AWK"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2310 |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
2311 |
$as_echo "$AWK" >&6; } |
|
1
by paul-mccullagh
Initial import |
2312 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2313 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2314 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2315 |
fi |
2316 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2317 |
|
1
by paul-mccullagh
Initial import |
2318 |
test -n "$AWK" && break |
2319 |
done |
|
2320 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2321 |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2322 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2323 |
set x ${MAKE-make} |
|
2324 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2325 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
|
2326 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
2327 |
else |
2328 |
cat >conftest.make <<\_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2329 |
SHELL = /bin/sh |
1
by paul-mccullagh
Initial import |
2330 |
all: |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2331 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
1
by paul-mccullagh
Initial import |
2332 |
_ACEOF |
2333 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2334 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2335 |
*@@@%%%=?*=@@@%%%*) |
|
2336 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2337 |
*) |
|
2338 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2339 |
esac |
|
1
by paul-mccullagh
Initial import |
2340 |
rm -f conftest.make |
2341 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2342 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2343 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
2344 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
2345 |
SET_MAKE= |
2346 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2347 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2348 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2349 |
SET_MAKE="MAKE=${MAKE-make}" |
2350 |
fi |
|
2351 |
||
2352 |
rm -rf .tst 2>/dev/null |
|
2353 |
mkdir .tst 2>/dev/null |
|
2354 |
if test -d .tst; then |
|
2355 |
am__leading_dot=. |
|
2356 |
else |
|
2357 |
am__leading_dot=_ |
|
2358 |
fi |
|
2359 |
rmdir .tst 2>/dev/null |
|
2360 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2361 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2362 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2363 |
# is not polluted with repeated "-I." |
|
2364 |
am__isrc=' -I$(srcdir)' |
|
2365 |
# test to see if srcdir already configured |
|
2366 |
if test -f $srcdir/config.status; then |
|
2367 |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
2368 |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
1
by paul-mccullagh
Initial import |
2369 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2370 |
fi |
1
by paul-mccullagh
Initial import |
2371 |
fi |
2372 |
||
2373 |
# test whether we have cygpath |
|
2374 |
if test -z "$CYGPATH_W"; then |
|
2375 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2376 |
CYGPATH_W='cygpath -w' |
|
2377 |
else |
|
2378 |
CYGPATH_W=echo |
|
2379 |
fi |
|
2380 |
fi |
|
2381 |
||
2382 |
||
2383 |
# Define the identity of the package. |
|
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
2384 |
PACKAGE=pbms |
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
2385 |
VERSION=0.5.10-beta |
1
by paul-mccullagh
Initial import |
2386 |
|
2387 |
||
2388 |
cat >>confdefs.h <<_ACEOF |
|
2389 |
#define PACKAGE "$PACKAGE" |
|
2390 |
_ACEOF |
|
2391 |
||
2392 |
||
2393 |
cat >>confdefs.h <<_ACEOF |
|
2394 |
#define VERSION "$VERSION" |
|
2395 |
_ACEOF |
|
2396 |
||
2397 |
# Some tools Automake needs. |
|
2398 |
||
2399 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2400 |
||
2401 |
||
2402 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2403 |
||
2404 |
||
2405 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2406 |
||
2407 |
||
2408 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2409 |
||
2410 |
||
2411 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2412 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2413 |
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
1
by paul-mccullagh
Initial import |
2414 |
|
2415 |
# Installed binaries are usually stripped using `strip' when the user |
|
2416 |
# run `make install-strip'. However `strip' might not be the right |
|
2417 |
# tool to use in cross-compilation environments, therefore Automake |
|
2418 |
# will honor the `STRIP' environment variable to overrule this program. |
|
2419 |
if test "$cross_compiling" != no; then |
|
2420 |
if test -n "$ac_tool_prefix"; then |
|
2421 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2422 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2423 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2424 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2425 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2426 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2427 |
else |
2428 |
if test -n "$STRIP"; then |
|
2429 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2430 |
else |
|
2431 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2432 |
for as_dir in $PATH |
|
2433 |
do |
|
2434 |
IFS=$as_save_IFS |
|
2435 |
test -z "$as_dir" && as_dir=. |
|
2436 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2437 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2438 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2439 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2440 |
break 2 |
2441 |
fi |
|
2442 |
done |
|
2443 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2444 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2445 |
|
2446 |
fi |
|
2447 |
fi |
|
2448 |
STRIP=$ac_cv_prog_STRIP |
|
2449 |
if test -n "$STRIP"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2450 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
2451 |
$as_echo "$STRIP" >&6; } |
|
1
by paul-mccullagh
Initial import |
2452 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2453 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2454 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2455 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2456 |
|
1
by paul-mccullagh
Initial import |
2457 |
|
2458 |
fi |
|
2459 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2460 |
ac_ct_STRIP=$STRIP |
|
2461 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2462 |
set dummy strip; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2463 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2464 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2465 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2466 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2467 |
else |
2468 |
if test -n "$ac_ct_STRIP"; then |
|
2469 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2470 |
else |
|
2471 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2472 |
for as_dir in $PATH |
|
2473 |
do |
|
2474 |
IFS=$as_save_IFS |
|
2475 |
test -z "$as_dir" && as_dir=. |
|
2476 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2477 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2478 |
ac_cv_prog_ac_ct_STRIP="strip" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2479 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2480 |
break 2 |
2481 |
fi |
|
2482 |
done |
|
2483 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2484 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2485 |
|
2486 |
fi |
|
2487 |
fi |
|
2488 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2489 |
if test -n "$ac_ct_STRIP"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2490 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2491 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
1
by paul-mccullagh
Initial import |
2492 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2493 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2494 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2495 |
fi |
2496 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2497 |
if test "x$ac_ct_STRIP" = x; then |
2498 |
STRIP=":" |
|
2499 |
else |
|
2500 |
case $cross_compiling:$ac_tool_warned in |
|
2501 |
yes:) |
|
2502 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2503 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2504 |
ac_tool_warned=yes ;; |
|
2505 |
esac |
|
2506 |
STRIP=$ac_ct_STRIP |
|
2507 |
fi |
|
1
by paul-mccullagh
Initial import |
2508 |
else |
2509 |
STRIP="$ac_cv_prog_STRIP" |
|
2510 |
fi |
|
2511 |
||
2512 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2513 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1
by paul-mccullagh
Initial import |
2514 |
|
2515 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2516 |
# some platforms. |
|
2517 |
# Always define AMTAR for backward compatibility. |
|
2518 |
||
2519 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
2520 |
||
2521 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
2522 |
||
2523 |
||
2524 |
||
2525 |
||
2526 |
||
2527 |
||
2528 |
ac_ext=c |
|
2529 |
ac_cpp='$CPP $CPPFLAGS' |
|
2530 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2531 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2532 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2533 |
if test -n "$ac_tool_prefix"; then |
|
2534 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2535 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2536 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2537 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2538 |
if test "${ac_cv_prog_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2539 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2540 |
else |
2541 |
if test -n "$CC"; then |
|
2542 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2543 |
else |
|
2544 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2545 |
for as_dir in $PATH |
|
2546 |
do |
|
2547 |
IFS=$as_save_IFS |
|
2548 |
test -z "$as_dir" && as_dir=. |
|
2549 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2550 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2551 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2552 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2553 |
break 2 |
2554 |
fi |
|
2555 |
done |
|
2556 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2557 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2558 |
|
2559 |
fi |
|
2560 |
fi |
|
2561 |
CC=$ac_cv_prog_CC |
|
2562 |
if test -n "$CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2563 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2564 |
$as_echo "$CC" >&6; } |
|
1
by paul-mccullagh
Initial import |
2565 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2566 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2567 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2568 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2569 |
|
1
by paul-mccullagh
Initial import |
2570 |
|
2571 |
fi |
|
2572 |
if test -z "$ac_cv_prog_CC"; then |
|
2573 |
ac_ct_CC=$CC |
|
2574 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
2575 |
set dummy gcc; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2576 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2577 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2578 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2579 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2580 |
else |
2581 |
if test -n "$ac_ct_CC"; then |
|
2582 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2583 |
else |
|
2584 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2585 |
for as_dir in $PATH |
|
2586 |
do |
|
2587 |
IFS=$as_save_IFS |
|
2588 |
test -z "$as_dir" && as_dir=. |
|
2589 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2590 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2591 |
ac_cv_prog_ac_ct_CC="gcc" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2592 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2593 |
break 2 |
2594 |
fi |
|
2595 |
done |
|
2596 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2597 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2598 |
|
2599 |
fi |
|
2600 |
fi |
|
2601 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2602 |
if test -n "$ac_ct_CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2603 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2604 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by paul-mccullagh
Initial import |
2605 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2606 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2607 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2608 |
fi |
2609 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2610 |
if test "x$ac_ct_CC" = x; then |
2611 |
CC="" |
|
2612 |
else |
|
2613 |
case $cross_compiling:$ac_tool_warned in |
|
2614 |
yes:) |
|
2615 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2616 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2617 |
ac_tool_warned=yes ;; |
|
2618 |
esac |
|
2619 |
CC=$ac_ct_CC |
|
2620 |
fi |
|
1
by paul-mccullagh
Initial import |
2621 |
else |
2622 |
CC="$ac_cv_prog_CC" |
|
2623 |
fi |
|
2624 |
||
2625 |
if test -z "$CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2626 |
if test -n "$ac_tool_prefix"; then |
2627 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
1
by paul-mccullagh
Initial import |
2628 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2629 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2630 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2631 |
if test "${ac_cv_prog_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2632 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2633 |
else |
2634 |
if test -n "$CC"; then |
|
2635 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2636 |
else |
|
2637 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2638 |
for as_dir in $PATH |
|
2639 |
do |
|
2640 |
IFS=$as_save_IFS |
|
2641 |
test -z "$as_dir" && as_dir=. |
|
2642 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2643 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2644 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2645 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2646 |
break 2 |
2647 |
fi |
|
2648 |
done |
|
2649 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2650 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2651 |
|
2652 |
fi |
|
2653 |
fi |
|
2654 |
CC=$ac_cv_prog_CC |
|
2655 |
if test -n "$CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2656 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2657 |
$as_echo "$CC" >&6; } |
|
2658 |
else |
|
2659 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
2660 |
$as_echo "no" >&6; } |
|
2661 |
fi |
|
2662 |
||
2663 |
||
1
by paul-mccullagh
Initial import |
2664 |
fi |
2665 |
fi |
|
2666 |
if test -z "$CC"; then |
|
2667 |
# Extract the first word of "cc", so it can be a program name with args. |
|
2668 |
set dummy cc; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2669 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2670 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2671 |
if test "${ac_cv_prog_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2672 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2673 |
else |
2674 |
if test -n "$CC"; then |
|
2675 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2676 |
else |
|
2677 |
ac_prog_rejected=no |
|
2678 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2679 |
for as_dir in $PATH |
|
2680 |
do |
|
2681 |
IFS=$as_save_IFS |
|
2682 |
test -z "$as_dir" && as_dir=. |
|
2683 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2684 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2685 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2686 |
ac_prog_rejected=yes |
|
2687 |
continue |
|
2688 |
fi |
|
2689 |
ac_cv_prog_CC="cc" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2690 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2691 |
break 2 |
2692 |
fi |
|
2693 |
done |
|
2694 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2695 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2696 |
|
2697 |
if test $ac_prog_rejected = yes; then |
|
2698 |
# We found a bogon in the path, so make sure we never use it. |
|
2699 |
set dummy $ac_cv_prog_CC |
|
2700 |
shift |
|
2701 |
if test $# != 0; then |
|
2702 |
# We chose a different compiler from the bogus one. |
|
2703 |
# However, it has the same basename, so the bogon will be chosen |
|
2704 |
# first if we set CC to just the basename; use the full file name. |
|
2705 |
shift |
|
2706 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
2707 |
fi |
|
2708 |
fi |
|
2709 |
fi |
|
2710 |
fi |
|
2711 |
CC=$ac_cv_prog_CC |
|
2712 |
if test -n "$CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2713 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2714 |
$as_echo "$CC" >&6; } |
|
1
by paul-mccullagh
Initial import |
2715 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2716 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2717 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2718 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2719 |
|
1
by paul-mccullagh
Initial import |
2720 |
|
2721 |
fi |
|
2722 |
if test -z "$CC"; then |
|
2723 |
if test -n "$ac_tool_prefix"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2724 |
for ac_prog in cl.exe |
1
by paul-mccullagh
Initial import |
2725 |
do |
2726 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2727 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2728 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2729 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2730 |
if test "${ac_cv_prog_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2731 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2732 |
else |
2733 |
if test -n "$CC"; then |
|
2734 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2735 |
else |
|
2736 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2737 |
for as_dir in $PATH |
|
2738 |
do |
|
2739 |
IFS=$as_save_IFS |
|
2740 |
test -z "$as_dir" && as_dir=. |
|
2741 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2742 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2743 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2744 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2745 |
break 2 |
2746 |
fi |
|
2747 |
done |
|
2748 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2749 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2750 |
|
2751 |
fi |
|
2752 |
fi |
|
2753 |
CC=$ac_cv_prog_CC |
|
2754 |
if test -n "$CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2755 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2756 |
$as_echo "$CC" >&6; } |
|
1
by paul-mccullagh
Initial import |
2757 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2758 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2759 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2760 |
fi |
2761 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2762 |
|
1
by paul-mccullagh
Initial import |
2763 |
test -n "$CC" && break |
2764 |
done |
|
2765 |
fi |
|
2766 |
if test -z "$CC"; then |
|
2767 |
ac_ct_CC=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2768 |
for ac_prog in cl.exe |
1
by paul-mccullagh
Initial import |
2769 |
do |
2770 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2771 |
set dummy $ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2772 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2773 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2774 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2775 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
2776 |
else |
2777 |
if test -n "$ac_ct_CC"; then |
|
2778 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2779 |
else |
|
2780 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2781 |
for as_dir in $PATH |
|
2782 |
do |
|
2783 |
IFS=$as_save_IFS |
|
2784 |
test -z "$as_dir" && as_dir=. |
|
2785 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2786 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
2787 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2788 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
2789 |
break 2 |
2790 |
fi |
|
2791 |
done |
|
2792 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2793 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
2794 |
|
2795 |
fi |
|
2796 |
fi |
|
2797 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2798 |
if test -n "$ac_ct_CC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2799 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2800 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by paul-mccullagh
Initial import |
2801 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2802 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2803 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
2804 |
fi |
2805 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2806 |
|
1
by paul-mccullagh
Initial import |
2807 |
test -n "$ac_ct_CC" && break |
2808 |
done |
|
2809 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2810 |
if test "x$ac_ct_CC" = x; then |
2811 |
CC="" |
|
2812 |
else |
|
2813 |
case $cross_compiling:$ac_tool_warned in |
|
2814 |
yes:) |
|
2815 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2816 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2817 |
ac_tool_warned=yes ;; |
|
2818 |
esac |
|
2819 |
CC=$ac_ct_CC |
|
2820 |
fi |
|
2821 |
fi |
|
2822 |
||
2823 |
fi |
|
2824 |
||
2825 |
||
2826 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
2827 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2828 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
1
by paul-mccullagh
Initial import |
2829 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2830 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
1
by paul-mccullagh
Initial import |
2831 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2832 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
2833 |
|
2834 |
# Provide some information about the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2835 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2836 |
set X $ac_compile |
|
2837 |
ac_compiler=$2 |
|
2838 |
{ (ac_try="$ac_compiler --version >&5" |
|
2839 |
case "(($ac_try" in |
|
2840 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2841 |
*) ac_try_echo=$ac_try;; |
|
2842 |
esac |
|
2843 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
2844 |
$as_echo "$ac_try_echo") >&5 |
|
2845 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
2846 |
ac_status=$? |
|
2847 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2848 |
(exit $ac_status); } |
|
2849 |
{ (ac_try="$ac_compiler -v >&5" |
|
2850 |
case "(($ac_try" in |
|
2851 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2852 |
*) ac_try_echo=$ac_try;; |
|
2853 |
esac |
|
2854 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
2855 |
$as_echo "$ac_try_echo") >&5 |
|
2856 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
2857 |
ac_status=$? |
|
2858 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2859 |
(exit $ac_status); } |
|
2860 |
{ (ac_try="$ac_compiler -V >&5" |
|
2861 |
case "(($ac_try" in |
|
2862 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2863 |
*) ac_try_echo=$ac_try;; |
|
2864 |
esac |
|
2865 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
2866 |
$as_echo "$ac_try_echo") >&5 |
|
2867 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
2868 |
ac_status=$? |
|
2869 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1
by paul-mccullagh
Initial import |
2870 |
(exit $ac_status); } |
2871 |
||
2872 |
cat >conftest.$ac_ext <<_ACEOF |
|
2873 |
/* confdefs.h. */ |
|
2874 |
_ACEOF |
|
2875 |
cat confdefs.h >>conftest.$ac_ext |
|
2876 |
cat >>conftest.$ac_ext <<_ACEOF |
|
2877 |
/* end confdefs.h. */ |
|
2878 |
||
2879 |
int |
|
2880 |
main () |
|
2881 |
{ |
|
2882 |
||
2883 |
; |
|
2884 |
return 0; |
|
2885 |
} |
|
2886 |
_ACEOF |
|
2887 |
ac_clean_files_save=$ac_clean_files |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2888 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1
by paul-mccullagh
Initial import |
2889 |
# Try to create an executable without -o first, disregard a.out. |
2890 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
2891 |
# of exeext. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2892 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2893 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
2894 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
2895 |
||
2896 |
# The possible output files: |
|
2897 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
2898 |
||
2899 |
ac_rmfiles= |
|
2900 |
for ac_file in $ac_files |
|
2901 |
do |
|
2902 |
case $ac_file in |
|
2903 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
2904 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
2905 |
esac |
|
2906 |
done |
|
2907 |
rm -f $ac_rmfiles |
|
2908 |
||
2909 |
if { (ac_try="$ac_link_default" |
|
2910 |
case "(($ac_try" in |
|
2911 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2912 |
*) ac_try_echo=$ac_try;; |
|
2913 |
esac |
|
2914 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
2915 |
$as_echo "$ac_try_echo") >&5 |
|
2916 |
(eval "$ac_link_default") 2>&5 |
|
1
by paul-mccullagh
Initial import |
2917 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2918 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
2919 |
(exit $ac_status); }; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2920 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2921 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
2922 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
2923 |
# so that the user can short-circuit this test for compilers unknown to |
|
2924 |
# Autoconf. |
|
2925 |
for ac_file in $ac_files '' |
|
1
by paul-mccullagh
Initial import |
2926 |
do |
2927 |
test -f "$ac_file" || continue |
|
2928 |
case $ac_file in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2929 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1
by paul-mccullagh
Initial import |
2930 |
;; |
2931 |
[ab].out ) |
|
2932 |
# We found the default executable, but exeext='' is most |
|
2933 |
# certainly right. |
|
2934 |
break;; |
|
2935 |
*.* ) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2936 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2937 |
then :; else |
|
2938 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
2939 |
fi |
|
2940 |
# We set ac_cv_exeext here because the later test for it is not |
|
2941 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
2942 |
# argument, so we may need to know it at that point already. |
|
2943 |
# Even if this section looks crufty: it has the advantage of |
|
2944 |
# actually working. |
|
1
by paul-mccullagh
Initial import |
2945 |
break;; |
2946 |
* ) |
|
2947 |
break;; |
|
2948 |
esac |
|
2949 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2950 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
2951 |
||
1
by paul-mccullagh
Initial import |
2952 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2953 |
ac_file='' |
2954 |
fi |
|
2955 |
||
2956 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
2957 |
$as_echo "$ac_file" >&6; } |
|
2958 |
if test -z "$ac_file"; then |
|
2959 |
$as_echo "$as_me: failed program was:" >&5 |
|
1
by paul-mccullagh
Initial import |
2960 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2961 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2962 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2963 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2964 |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
1
by paul-mccullagh
Initial import |
2965 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2966 |
$as_echo "$as_me: error: C compiler cannot create executables |
1
by paul-mccullagh
Initial import |
2967 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2968 |
{ (exit 77); exit 77; }; }; } |
1
by paul-mccullagh
Initial import |
2969 |
fi |
2970 |
||
2971 |
ac_exeext=$ac_cv_exeext |
|
2972 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2973 |
# Check that the compiler produces executables we can run. If not, either |
1
by paul-mccullagh
Initial import |
2974 |
# the compiler is broken, or we cross compile. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2975 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2976 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
1
by paul-mccullagh
Initial import |
2977 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2978 |
# If not cross compiling, check that we can run a simple program. |
|
2979 |
if test "$cross_compiling" != yes; then |
|
2980 |
if { ac_try='./$ac_file' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2981 |
{ (case "(($ac_try" in |
2982 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2983 |
*) ac_try_echo=$ac_try;; |
|
2984 |
esac |
|
2985 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
2986 |
$as_echo "$ac_try_echo") >&5 |
|
2987 |
(eval "$ac_try") 2>&5 |
|
1
by paul-mccullagh
Initial import |
2988 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2989 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
2990 |
(exit $ac_status); }; }; then |
2991 |
cross_compiling=no |
|
2992 |
else |
|
2993 |
if test "$cross_compiling" = maybe; then |
|
2994 |
cross_compiling=yes |
|
2995 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
2996 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2997 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2998 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
1
by paul-mccullagh
Initial import |
2999 |
If you meant to cross compile, use \`--host'. |
3000 |
See \`config.log' for more details." >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3001 |
$as_echo "$as_me: error: cannot run C compiled programs. |
1
by paul-mccullagh
Initial import |
3002 |
If you meant to cross compile, use \`--host'. |
3003 |
See \`config.log' for more details." >&2;} |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3004 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
3005 |
fi |
3006 |
fi |
|
3007 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3008 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3009 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
3010 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3011 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
1
by paul-mccullagh
Initial import |
3012 |
ac_clean_files=$ac_clean_files_save |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3013 |
# Check that the compiler produces executables we can run. If not, either |
1
by paul-mccullagh
Initial import |
3014 |
# the compiler is broken, or we cross compile. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3015 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3016 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3017 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
3018 |
$as_echo "$cross_compiling" >&6; } |
|
1
by paul-mccullagh
Initial import |
3019 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3020 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3021 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3022 |
if { (ac_try="$ac_link" |
|
3023 |
case "(($ac_try" in |
|
3024 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3025 |
*) ac_try_echo=$ac_try;; |
|
3026 |
esac |
|
3027 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3028 |
$as_echo "$ac_try_echo") >&5 |
|
3029 |
(eval "$ac_link") 2>&5 |
|
1
by paul-mccullagh
Initial import |
3030 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3031 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
3032 |
(exit $ac_status); }; then |
3033 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3034 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3035 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3036 |
# `rm'. |
|
3037 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3038 |
test -f "$ac_file" || continue |
|
3039 |
case $ac_file in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3040 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1
by paul-mccullagh
Initial import |
3041 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3042 |
break;; |
|
3043 |
* ) break;; |
|
3044 |
esac |
|
3045 |
done |
|
3046 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3047 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3048 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3049 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
1
by paul-mccullagh
Initial import |
3050 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3051 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1
by paul-mccullagh
Initial import |
3052 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3053 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
3054 |
fi |
3055 |
||
3056 |
rm -f conftest$ac_cv_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3057 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3058 |
$as_echo "$ac_cv_exeext" >&6; } |
|
1
by paul-mccullagh
Initial import |
3059 |
|
3060 |
rm -f conftest.$ac_ext |
|
3061 |
EXEEXT=$ac_cv_exeext |
|
3062 |
ac_exeext=$EXEEXT |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3063 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3064 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
1
by paul-mccullagh
Initial import |
3065 |
if test "${ac_cv_objext+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3066 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
3067 |
else |
3068 |
cat >conftest.$ac_ext <<_ACEOF |
|
3069 |
/* confdefs.h. */ |
|
3070 |
_ACEOF |
|
3071 |
cat confdefs.h >>conftest.$ac_ext |
|
3072 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3073 |
/* end confdefs.h. */ |
|
3074 |
||
3075 |
int |
|
3076 |
main () |
|
3077 |
{ |
|
3078 |
||
3079 |
; |
|
3080 |
return 0; |
|
3081 |
} |
|
3082 |
_ACEOF |
|
3083 |
rm -f conftest.o conftest.obj |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3084 |
if { (ac_try="$ac_compile" |
3085 |
case "(($ac_try" in |
|
3086 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3087 |
*) ac_try_echo=$ac_try;; |
|
3088 |
esac |
|
3089 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3090 |
$as_echo "$ac_try_echo") >&5 |
|
3091 |
(eval "$ac_compile") 2>&5 |
|
1
by paul-mccullagh
Initial import |
3092 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3093 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
3094 |
(exit $ac_status); }; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3095 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3096 |
test -f "$ac_file" || continue; |
|
1
by paul-mccullagh
Initial import |
3097 |
case $ac_file in |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3098 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1
by paul-mccullagh
Initial import |
3099 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3100 |
break;; |
|
3101 |
esac |
|
3102 |
done |
|
3103 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3104 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
3105 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3106 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3107 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3108 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3109 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
1
by paul-mccullagh
Initial import |
3110 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3111 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1
by paul-mccullagh
Initial import |
3112 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3113 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
3114 |
fi |
3115 |
||
3116 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3117 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3118 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3119 |
$as_echo "$ac_cv_objext" >&6; } |
|
1
by paul-mccullagh
Initial import |
3120 |
OBJEXT=$ac_cv_objext |
3121 |
ac_objext=$OBJEXT |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3122 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3123 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
1
by paul-mccullagh
Initial import |
3124 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3125 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
3126 |
else |
3127 |
cat >conftest.$ac_ext <<_ACEOF |
|
3128 |
/* confdefs.h. */ |
|
3129 |
_ACEOF |
|
3130 |
cat confdefs.h >>conftest.$ac_ext |
|
3131 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3132 |
/* end confdefs.h. */ |
|
3133 |
||
3134 |
int |
|
3135 |
main () |
|
3136 |
{ |
|
3137 |
#ifndef __GNUC__ |
|
3138 |
choke me |
|
3139 |
#endif |
|
3140 |
||
3141 |
; |
|
3142 |
return 0; |
|
3143 |
} |
|
3144 |
_ACEOF |
|
3145 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3146 |
if { (ac_try="$ac_compile" |
3147 |
case "(($ac_try" in |
|
3148 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3149 |
*) ac_try_echo=$ac_try;; |
|
3150 |
esac |
|
3151 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3152 |
$as_echo "$ac_try_echo") >&5 |
|
3153 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
3154 |
ac_status=$? |
3155 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3156 |
rm -f conftest.er1 |
|
3157 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3158 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3159 |
(exit $ac_status); } && { |
|
3160 |
test -z "$ac_c_werror_flag" || |
|
3161 |
test ! -s conftest.err |
|
3162 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
3163 |
ac_compiler_gnu=yes |
3164 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3165 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
3166 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3167 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3168 |
ac_compiler_gnu=no |
1
by paul-mccullagh
Initial import |
3169 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3170 |
|
3171 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1
by paul-mccullagh
Initial import |
3172 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3173 |
||
3174 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3175 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3176 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3177 |
if test $ac_compiler_gnu = yes; then |
|
3178 |
GCC=yes |
|
3179 |
else |
|
3180 |
GCC= |
|
3181 |
fi |
|
1
by paul-mccullagh
Initial import |
3182 |
ac_test_CFLAGS=${CFLAGS+set} |
3183 |
ac_save_CFLAGS=$CFLAGS |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3184 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3185 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
1
by paul-mccullagh
Initial import |
3186 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3187 |
$as_echo_n "(cached) " >&6 |
3188 |
else |
|
3189 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3190 |
ac_c_werror_flag=yes |
|
3191 |
ac_cv_prog_cc_g=no |
|
3192 |
CFLAGS="-g" |
|
3193 |
cat >conftest.$ac_ext <<_ACEOF |
|
3194 |
/* confdefs.h. */ |
|
3195 |
_ACEOF |
|
3196 |
cat confdefs.h >>conftest.$ac_ext |
|
3197 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3198 |
/* end confdefs.h. */ |
|
3199 |
||
3200 |
int |
|
3201 |
main () |
|
3202 |
{ |
|
3203 |
||
3204 |
; |
|
3205 |
return 0; |
|
3206 |
} |
|
3207 |
_ACEOF |
|
3208 |
rm -f conftest.$ac_objext |
|
3209 |
if { (ac_try="$ac_compile" |
|
3210 |
case "(($ac_try" in |
|
3211 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3212 |
*) ac_try_echo=$ac_try;; |
|
3213 |
esac |
|
3214 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3215 |
$as_echo "$ac_try_echo") >&5 |
|
3216 |
(eval "$ac_compile") 2>conftest.er1 |
|
3217 |
ac_status=$? |
|
3218 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3219 |
rm -f conftest.er1 |
|
3220 |
cat conftest.err >&5 |
|
3221 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3222 |
(exit $ac_status); } && { |
|
3223 |
test -z "$ac_c_werror_flag" || |
|
3224 |
test ! -s conftest.err |
|
3225 |
} && test -s conftest.$ac_objext; then |
|
3226 |
ac_cv_prog_cc_g=yes |
|
3227 |
else |
|
3228 |
$as_echo "$as_me: failed program was:" >&5 |
|
3229 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3230 |
||
3231 |
CFLAGS="" |
|
3232 |
cat >conftest.$ac_ext <<_ACEOF |
|
3233 |
/* confdefs.h. */ |
|
3234 |
_ACEOF |
|
3235 |
cat confdefs.h >>conftest.$ac_ext |
|
3236 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3237 |
/* end confdefs.h. */ |
|
3238 |
||
3239 |
int |
|
3240 |
main () |
|
3241 |
{ |
|
3242 |
||
3243 |
; |
|
3244 |
return 0; |
|
3245 |
} |
|
3246 |
_ACEOF |
|
3247 |
rm -f conftest.$ac_objext |
|
3248 |
if { (ac_try="$ac_compile" |
|
3249 |
case "(($ac_try" in |
|
3250 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3251 |
*) ac_try_echo=$ac_try;; |
|
3252 |
esac |
|
3253 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3254 |
$as_echo "$ac_try_echo") >&5 |
|
3255 |
(eval "$ac_compile") 2>conftest.er1 |
|
3256 |
ac_status=$? |
|
3257 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3258 |
rm -f conftest.er1 |
|
3259 |
cat conftest.err >&5 |
|
3260 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3261 |
(exit $ac_status); } && { |
|
3262 |
test -z "$ac_c_werror_flag" || |
|
3263 |
test ! -s conftest.err |
|
3264 |
} && test -s conftest.$ac_objext; then |
|
3265 |
: |
|
3266 |
else |
|
3267 |
$as_echo "$as_me: failed program was:" >&5 |
|
3268 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3269 |
||
3270 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3271 |
CFLAGS="-g" |
|
3272 |
cat >conftest.$ac_ext <<_ACEOF |
|
3273 |
/* confdefs.h. */ |
|
3274 |
_ACEOF |
|
3275 |
cat confdefs.h >>conftest.$ac_ext |
|
3276 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3277 |
/* end confdefs.h. */ |
|
3278 |
||
3279 |
int |
|
3280 |
main () |
|
3281 |
{ |
|
3282 |
||
3283 |
; |
|
3284 |
return 0; |
|
3285 |
} |
|
3286 |
_ACEOF |
|
3287 |
rm -f conftest.$ac_objext |
|
3288 |
if { (ac_try="$ac_compile" |
|
3289 |
case "(($ac_try" in |
|
3290 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3291 |
*) ac_try_echo=$ac_try;; |
|
3292 |
esac |
|
3293 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3294 |
$as_echo "$ac_try_echo") >&5 |
|
3295 |
(eval "$ac_compile") 2>conftest.er1 |
|
3296 |
ac_status=$? |
|
3297 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3298 |
rm -f conftest.er1 |
|
3299 |
cat conftest.err >&5 |
|
3300 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3301 |
(exit $ac_status); } && { |
|
3302 |
test -z "$ac_c_werror_flag" || |
|
3303 |
test ! -s conftest.err |
|
3304 |
} && test -s conftest.$ac_objext; then |
|
3305 |
ac_cv_prog_cc_g=yes |
|
3306 |
else |
|
3307 |
$as_echo "$as_me: failed program was:" >&5 |
|
3308 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3309 |
||
3310 |
||
3311 |
fi |
|
3312 |
||
3313 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3314 |
fi |
|
3315 |
||
3316 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3317 |
fi |
|
3318 |
||
3319 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3320 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3321 |
fi |
|
3322 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
3323 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
1
by paul-mccullagh
Initial import |
3324 |
if test "$ac_test_CFLAGS" = set; then |
3325 |
CFLAGS=$ac_save_CFLAGS |
|
3326 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3327 |
if test "$GCC" = yes; then |
|
3328 |
CFLAGS="-g -O2" |
|
3329 |
else |
|
3330 |
CFLAGS="-g" |
|
3331 |
fi |
|
3332 |
else |
|
3333 |
if test "$GCC" = yes; then |
|
3334 |
CFLAGS="-O2" |
|
3335 |
else |
|
3336 |
CFLAGS= |
|
3337 |
fi |
|
3338 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3339 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3340 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
3341 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
|
3342 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
3343 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3344 |
ac_cv_prog_cc_c89=no |
1
by paul-mccullagh
Initial import |
3345 |
ac_save_CC=$CC |
3346 |
cat >conftest.$ac_ext <<_ACEOF |
|
3347 |
/* confdefs.h. */ |
|
3348 |
_ACEOF |
|
3349 |
cat confdefs.h >>conftest.$ac_ext |
|
3350 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3351 |
/* end confdefs.h. */ |
|
3352 |
#include <stdarg.h> |
|
3353 |
#include <stdio.h> |
|
3354 |
#include <sys/types.h> |
|
3355 |
#include <sys/stat.h> |
|
3356 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3357 |
struct buf { int x; }; |
|
3358 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3359 |
static char *e (p, i) |
|
3360 |
char **p; |
|
3361 |
int i; |
|
3362 |
{ |
|
3363 |
return p[i]; |
|
3364 |
} |
|
3365 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
3366 |
{ |
|
3367 |
char *s; |
|
3368 |
va_list v; |
|
3369 |
va_start (v,p); |
|
3370 |
s = g (p, va_arg (v,int)); |
|
3371 |
va_end (v); |
|
3372 |
return s; |
|
3373 |
} |
|
3374 |
||
3375 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3376 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
3377 |
These don't provoke an error unfortunately, instead are silently treated |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3378 |
as 'x'. The following induces an error, until -std is added to get |
1
by paul-mccullagh
Initial import |
3379 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3380 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3381 |
that's true only with -std. */ |
1
by paul-mccullagh
Initial import |
3382 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3383 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3384 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3385 |
inside strings and character constants. */ |
|
3386 |
#define FOO(x) 'x' |
|
3387 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3388 |
||
1
by paul-mccullagh
Initial import |
3389 |
int test (int i, double x); |
3390 |
struct s1 {int (*f) (int a);}; |
|
3391 |
struct s2 {int (*f) (double a);}; |
|
3392 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3393 |
int argc; |
|
3394 |
char **argv; |
|
3395 |
int |
|
3396 |
main () |
|
3397 |
{ |
|
3398 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3399 |
; |
|
3400 |
return 0; |
|
3401 |
} |
|
3402 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3403 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3404 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
1
by paul-mccullagh
Initial import |
3405 |
do |
3406 |
CC="$ac_save_CC $ac_arg" |
|
3407 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3408 |
if { (ac_try="$ac_compile" |
3409 |
case "(($ac_try" in |
|
3410 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3411 |
*) ac_try_echo=$ac_try;; |
|
3412 |
esac |
|
3413 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3414 |
$as_echo "$ac_try_echo") >&5 |
|
3415 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
3416 |
ac_status=$? |
3417 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3418 |
rm -f conftest.er1 |
|
3419 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3420 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3421 |
(exit $ac_status); } && { |
|
3422 |
test -z "$ac_c_werror_flag" || |
|
3423 |
test ! -s conftest.err |
|
3424 |
} && test -s conftest.$ac_objext; then |
|
3425 |
ac_cv_prog_cc_c89=$ac_arg |
|
1
by paul-mccullagh
Initial import |
3426 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3427 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
3428 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3429 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3430 |
|
1
by paul-mccullagh
Initial import |
3431 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3432 |
|
3433 |
rm -f core conftest.err conftest.$ac_objext |
|
3434 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
1
by paul-mccullagh
Initial import |
3435 |
done |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3436 |
rm -f conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
3437 |
CC=$ac_save_CC |
3438 |
||
3439 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3440 |
# AC_CACHE_VAL |
3441 |
case "x$ac_cv_prog_cc_c89" in |
|
3442 |
x) |
|
3443 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
|
3444 |
$as_echo "none needed" >&6; } ;; |
|
3445 |
xno) |
|
3446 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
|
3447 |
$as_echo "unsupported" >&6; } ;; |
|
1
by paul-mccullagh
Initial import |
3448 |
*) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3449 |
CC="$CC $ac_cv_prog_cc_c89" |
3450 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|
3451 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
1
by paul-mccullagh
Initial import |
3452 |
esac |
3453 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3454 |
|
1
by paul-mccullagh
Initial import |
3455 |
ac_ext=c |
3456 |
ac_cpp='$CPP $CPPFLAGS' |
|
3457 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3458 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3459 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3460 |
DEPDIR="${am__leading_dot}deps" |
|
3461 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3462 |
ac_config_commands="$ac_config_commands depfiles" |
1
by paul-mccullagh
Initial import |
3463 |
|
3464 |
||
3465 |
am_make=${MAKE-make} |
|
3466 |
cat > confinc << 'END' |
|
3467 |
am__doit: |
|
3468 |
@echo done |
|
3469 |
.PHONY: am__doit |
|
3470 |
END |
|
3471 |
# If we don't find an include directive, just comment out the code. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3472 |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3473 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
1
by paul-mccullagh
Initial import |
3474 |
am__include="#" |
3475 |
am__quote= |
|
3476 |
_am_result=none |
|
3477 |
# First try GNU make style include. |
|
3478 |
echo "include confinc" > confmf |
|
3479 |
# We grep out `Entering directory' and `Leaving directory' |
|
3480 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
|
3481 |
# In particular we don't look at `^make:' because GNU make might |
|
3482 |
# be invoked under some other name (usually "gmake"), in which |
|
3483 |
# case it prints its new name instead of `make'. |
|
3484 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|
3485 |
am__include=include |
|
3486 |
am__quote= |
|
3487 |
_am_result=GNU |
|
3488 |
fi |
|
3489 |
# Now try BSD make style include. |
|
3490 |
if test "$am__include" = "#"; then |
|
3491 |
echo '.include "confinc"' > confmf |
|
3492 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
3493 |
am__include=.include |
|
3494 |
am__quote="\"" |
|
3495 |
_am_result=BSD |
|
3496 |
fi |
|
3497 |
fi |
|
3498 |
||
3499 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3500 |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
3501 |
$as_echo "$_am_result" >&6; } |
|
1
by paul-mccullagh
Initial import |
3502 |
rm -f confinc confmf |
3503 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3504 |
# Check whether --enable-dependency-tracking was given. |
1
by paul-mccullagh
Initial import |
3505 |
if test "${enable_dependency_tracking+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3506 |
enableval=$enable_dependency_tracking; |
3507 |
fi |
|
1
by paul-mccullagh
Initial import |
3508 |
|
3509 |
if test "x$enable_dependency_tracking" != xno; then |
|
3510 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3511 |
AMDEPBACKSLASH='\' |
|
3512 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3513 |
if test "x$enable_dependency_tracking" != xno; then |
1
by paul-mccullagh
Initial import |
3514 |
AMDEP_TRUE= |
3515 |
AMDEP_FALSE='#' |
|
3516 |
else |
|
3517 |
AMDEP_TRUE='#' |
|
3518 |
AMDEP_FALSE= |
|
3519 |
fi |
|
3520 |
||
3521 |
||
3522 |
||
3523 |
depcc="$CC" am_compiler_list= |
|
3524 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3525 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3526 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1
by paul-mccullagh
Initial import |
3527 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3528 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
3529 |
else |
3530 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3531 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3532 |
# making bogus files that we don't know about and never remove. For |
|
3533 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3534 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
3535 |
# in D'. |
|
3536 |
mkdir conftest.dir |
|
3537 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3538 |
# using a relative directory. |
|
3539 |
cp "$am_depcomp" conftest.dir |
|
3540 |
cd conftest.dir |
|
3541 |
# We will build objects and dependencies in a subdirectory because |
|
3542 |
# it helps to detect inapplicable dependency modes. For instance |
|
3543 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3544 |
# side effect of compilation, but ICC will put the dependencies in |
|
3545 |
# the current directory while Tru64 will put them in the object |
|
3546 |
# directory. |
|
3547 |
mkdir sub |
|
3548 |
||
3549 |
am_cv_CC_dependencies_compiler_type=none |
|
3550 |
if test "$am_compiler_list" = ""; then |
|
3551 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3552 |
fi |
|
3553 |
for depmode in $am_compiler_list; do |
|
3554 |
# Setup a source with many dependencies, because some compilers |
|
3555 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3556 |
# we should not choose a depcomp mode which is confused by this. |
|
3557 |
# |
|
3558 |
# We need to recreate these files for each test, as the compiler may |
|
3559 |
# overwrite some of them when testing with obscure command lines. |
|
3560 |
# This happens at least with the AIX C compiler. |
|
3561 |
: > sub/conftest.c |
|
3562 |
for i in 1 2 3 4 5 6; do |
|
3563 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3564 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3565 |
# Solaris 8's {/usr,}/bin/sh. |
|
3566 |
touch sub/conftst$i.h |
|
3567 |
done |
|
3568 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3569 |
||
3570 |
case $depmode in |
|
3571 |
nosideeffect) |
|
3572 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
3573 |
# only be used when explicitly requested |
|
3574 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3575 |
continue |
|
3576 |
else |
|
3577 |
break |
|
3578 |
fi |
|
3579 |
;; |
|
3580 |
none) break ;; |
|
3581 |
esac |
|
3582 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
3583 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3584 |
# handle `-M -o', and we need to detect this. |
|
3585 |
if depmode=$depmode \ |
|
3586 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
3587 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3588 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
3589 |
>/dev/null 2>conftest.err && |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3590 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1
by paul-mccullagh
Initial import |
3591 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3592 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
3593 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3594 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3595 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3596 |
# that says an option was ignored or not supported. |
|
3597 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3598 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3599 |
# The diagnosis changed in icc 8.0: |
|
3600 |
# icc: Command line remark: option '-MP' not supported |
|
3601 |
if (grep 'ignoring option' conftest.err || |
|
3602 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3603 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3604 |
break |
|
3605 |
fi |
|
3606 |
fi |
|
3607 |
done |
|
3608 |
||
3609 |
cd .. |
|
3610 |
rm -rf conftest.dir |
|
3611 |
else |
|
3612 |
am_cv_CC_dependencies_compiler_type=none |
|
3613 |
fi |
|
3614 |
||
3615 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3616 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3617 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
1
by paul-mccullagh
Initial import |
3618 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3619 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3620 |
if |
1
by paul-mccullagh
Initial import |
3621 |
test "x$enable_dependency_tracking" != xno \ |
3622 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3623 |
am__fastdepCC_TRUE= |
|
3624 |
am__fastdepCC_FALSE='#' |
|
3625 |
else |
|
3626 |
am__fastdepCC_TRUE='#' |
|
3627 |
am__fastdepCC_FALSE= |
|
3628 |
fi |
|
3629 |
||
3630 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3631 |
ac_ext=cpp |
7
by paul-mccullagh
Fixed configure |
3632 |
ac_cpp='$CXXCPP $CPPFLAGS' |
3633 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3634 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3635 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3636 |
if test -z "$CXX"; then |
3637 |
if test -n "$CCC"; then |
|
3638 |
CXX=$CCC |
|
3639 |
else |
|
3640 |
if test -n "$ac_tool_prefix"; then |
|
3641 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
7
by paul-mccullagh
Fixed configure |
3642 |
do |
3643 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3644 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3645 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3646 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3647 |
if test "${ac_cv_prog_CXX+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3648 |
$as_echo_n "(cached) " >&6 |
7
by paul-mccullagh
Fixed configure |
3649 |
else |
3650 |
if test -n "$CXX"; then |
|
3651 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
3652 |
else |
|
3653 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3654 |
for as_dir in $PATH |
|
3655 |
do |
|
3656 |
IFS=$as_save_IFS |
|
3657 |
test -z "$as_dir" && as_dir=. |
|
3658 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3659 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7
by paul-mccullagh
Fixed configure |
3660 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3661 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7
by paul-mccullagh
Fixed configure |
3662 |
break 2 |
3663 |
fi |
|
3664 |
done |
|
3665 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3666 |
IFS=$as_save_IFS |
7
by paul-mccullagh
Fixed configure |
3667 |
|
3668 |
fi |
|
3669 |
fi |
|
3670 |
CXX=$ac_cv_prog_CXX |
|
3671 |
if test -n "$CXX"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3672 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
3673 |
$as_echo "$CXX" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3674 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3675 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3676 |
$as_echo "no" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3677 |
fi |
3678 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3679 |
|
7
by paul-mccullagh
Fixed configure |
3680 |
test -n "$CXX" && break |
3681 |
done |
|
3682 |
fi |
|
3683 |
if test -z "$CXX"; then |
|
3684 |
ac_ct_CXX=$CXX |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3685 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
7
by paul-mccullagh
Fixed configure |
3686 |
do |
3687 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3688 |
set dummy $ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3689 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3690 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3691 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3692 |
$as_echo_n "(cached) " >&6 |
7
by paul-mccullagh
Fixed configure |
3693 |
else |
3694 |
if test -n "$ac_ct_CXX"; then |
|
3695 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
3696 |
else |
|
3697 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3698 |
for as_dir in $PATH |
|
3699 |
do |
|
3700 |
IFS=$as_save_IFS |
|
3701 |
test -z "$as_dir" && as_dir=. |
|
3702 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3703 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7
by paul-mccullagh
Fixed configure |
3704 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3705 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7
by paul-mccullagh
Fixed configure |
3706 |
break 2 |
3707 |
fi |
|
3708 |
done |
|
3709 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3710 |
IFS=$as_save_IFS |
7
by paul-mccullagh
Fixed configure |
3711 |
|
3712 |
fi |
|
3713 |
fi |
|
3714 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
3715 |
if test -n "$ac_ct_CXX"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3716 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3717 |
$as_echo "$ac_ct_CXX" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3718 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3719 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3720 |
$as_echo "no" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3721 |
fi |
3722 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3723 |
|
7
by paul-mccullagh
Fixed configure |
3724 |
test -n "$ac_ct_CXX" && break |
3725 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3726 |
|
3727 |
if test "x$ac_ct_CXX" = x; then |
|
3728 |
CXX="g++" |
|
3729 |
else |
|
3730 |
case $cross_compiling:$ac_tool_warned in |
|
3731 |
yes:) |
|
3732 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3733 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3734 |
ac_tool_warned=yes ;; |
|
3735 |
esac |
|
3736 |
CXX=$ac_ct_CXX |
|
3737 |
fi |
|
3738 |
fi |
|
3739 |
||
3740 |
fi |
|
3741 |
fi |
|
7
by paul-mccullagh
Fixed configure |
3742 |
# Provide some information about the compiler. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3743 |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3744 |
set X $ac_compile |
|
3745 |
ac_compiler=$2 |
|
3746 |
{ (ac_try="$ac_compiler --version >&5" |
|
3747 |
case "(($ac_try" in |
|
3748 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3749 |
*) ac_try_echo=$ac_try;; |
|
3750 |
esac |
|
3751 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3752 |
$as_echo "$ac_try_echo") >&5 |
|
3753 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
3754 |
ac_status=$? |
|
3755 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3756 |
(exit $ac_status); } |
|
3757 |
{ (ac_try="$ac_compiler -v >&5" |
|
3758 |
case "(($ac_try" in |
|
3759 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3760 |
*) ac_try_echo=$ac_try;; |
|
3761 |
esac |
|
3762 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3763 |
$as_echo "$ac_try_echo") >&5 |
|
3764 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
3765 |
ac_status=$? |
|
3766 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3767 |
(exit $ac_status); } |
|
3768 |
{ (ac_try="$ac_compiler -V >&5" |
|
3769 |
case "(($ac_try" in |
|
3770 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3771 |
*) ac_try_echo=$ac_try;; |
|
3772 |
esac |
|
3773 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3774 |
$as_echo "$ac_try_echo") >&5 |
|
3775 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
3776 |
ac_status=$? |
|
3777 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7
by paul-mccullagh
Fixed configure |
3778 |
(exit $ac_status); } |
3779 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3780 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
3781 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3782 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3783 |
$as_echo_n "(cached) " >&6 |
7
by paul-mccullagh
Fixed configure |
3784 |
else |
3785 |
cat >conftest.$ac_ext <<_ACEOF |
|
3786 |
/* confdefs.h. */ |
|
3787 |
_ACEOF |
|
3788 |
cat confdefs.h >>conftest.$ac_ext |
|
3789 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3790 |
/* end confdefs.h. */ |
|
3791 |
||
3792 |
int |
|
3793 |
main () |
|
3794 |
{ |
|
3795 |
#ifndef __GNUC__ |
|
3796 |
choke me |
|
3797 |
#endif |
|
3798 |
||
3799 |
; |
|
3800 |
return 0; |
|
3801 |
} |
|
3802 |
_ACEOF |
|
3803 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3804 |
if { (ac_try="$ac_compile" |
3805 |
case "(($ac_try" in |
|
3806 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3807 |
*) ac_try_echo=$ac_try;; |
|
3808 |
esac |
|
3809 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3810 |
$as_echo "$ac_try_echo") >&5 |
|
3811 |
(eval "$ac_compile") 2>conftest.er1 |
|
7
by paul-mccullagh
Fixed configure |
3812 |
ac_status=$? |
3813 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3814 |
rm -f conftest.er1 |
|
3815 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3816 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3817 |
(exit $ac_status); } && { |
|
3818 |
test -z "$ac_cxx_werror_flag" || |
|
3819 |
test ! -s conftest.err |
|
3820 |
} && test -s conftest.$ac_objext; then |
|
7
by paul-mccullagh
Fixed configure |
3821 |
ac_compiler_gnu=yes |
3822 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3823 |
$as_echo "$as_me: failed program was:" >&5 |
7
by paul-mccullagh
Fixed configure |
3824 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3825 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3826 |
ac_compiler_gnu=no |
7
by paul-mccullagh
Fixed configure |
3827 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3828 |
|
3829 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7
by paul-mccullagh
Fixed configure |
3830 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3831 |
||
3832 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3833 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3834 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
3835 |
if test $ac_compiler_gnu = yes; then |
|
3836 |
GXX=yes |
|
3837 |
else |
|
3838 |
GXX= |
|
3839 |
fi |
|
7
by paul-mccullagh
Fixed configure |
3840 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
3841 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3842 |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3843 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3844 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
3845 |
$as_echo_n "(cached) " >&6 |
3846 |
else |
|
3847 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
3848 |
ac_cxx_werror_flag=yes |
|
3849 |
ac_cv_prog_cxx_g=no |
|
3850 |
CXXFLAGS="-g" |
|
3851 |
cat >conftest.$ac_ext <<_ACEOF |
|
3852 |
/* confdefs.h. */ |
|
3853 |
_ACEOF |
|
3854 |
cat confdefs.h >>conftest.$ac_ext |
|
3855 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3856 |
/* end confdefs.h. */ |
|
3857 |
||
3858 |
int |
|
3859 |
main () |
|
3860 |
{ |
|
3861 |
||
3862 |
; |
|
3863 |
return 0; |
|
3864 |
} |
|
3865 |
_ACEOF |
|
3866 |
rm -f conftest.$ac_objext |
|
3867 |
if { (ac_try="$ac_compile" |
|
3868 |
case "(($ac_try" in |
|
3869 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3870 |
*) ac_try_echo=$ac_try;; |
|
3871 |
esac |
|
3872 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3873 |
$as_echo "$ac_try_echo") >&5 |
|
3874 |
(eval "$ac_compile") 2>conftest.er1 |
|
3875 |
ac_status=$? |
|
3876 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3877 |
rm -f conftest.er1 |
|
3878 |
cat conftest.err >&5 |
|
3879 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3880 |
(exit $ac_status); } && { |
|
3881 |
test -z "$ac_cxx_werror_flag" || |
|
3882 |
test ! -s conftest.err |
|
3883 |
} && test -s conftest.$ac_objext; then |
|
3884 |
ac_cv_prog_cxx_g=yes |
|
3885 |
else |
|
3886 |
$as_echo "$as_me: failed program was:" >&5 |
|
3887 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3888 |
||
3889 |
CXXFLAGS="" |
|
3890 |
cat >conftest.$ac_ext <<_ACEOF |
|
3891 |
/* confdefs.h. */ |
|
3892 |
_ACEOF |
|
3893 |
cat confdefs.h >>conftest.$ac_ext |
|
3894 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3895 |
/* end confdefs.h. */ |
|
3896 |
||
3897 |
int |
|
3898 |
main () |
|
3899 |
{ |
|
3900 |
||
3901 |
; |
|
3902 |
return 0; |
|
3903 |
} |
|
3904 |
_ACEOF |
|
3905 |
rm -f conftest.$ac_objext |
|
3906 |
if { (ac_try="$ac_compile" |
|
3907 |
case "(($ac_try" in |
|
3908 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3909 |
*) ac_try_echo=$ac_try;; |
|
3910 |
esac |
|
3911 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3912 |
$as_echo "$ac_try_echo") >&5 |
|
3913 |
(eval "$ac_compile") 2>conftest.er1 |
|
3914 |
ac_status=$? |
|
3915 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3916 |
rm -f conftest.er1 |
|
3917 |
cat conftest.err >&5 |
|
3918 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3919 |
(exit $ac_status); } && { |
|
3920 |
test -z "$ac_cxx_werror_flag" || |
|
3921 |
test ! -s conftest.err |
|
3922 |
} && test -s conftest.$ac_objext; then |
|
3923 |
: |
|
3924 |
else |
|
3925 |
$as_echo "$as_me: failed program was:" >&5 |
|
3926 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3927 |
||
3928 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3929 |
CXXFLAGS="-g" |
|
3930 |
cat >conftest.$ac_ext <<_ACEOF |
|
3931 |
/* confdefs.h. */ |
|
3932 |
_ACEOF |
|
3933 |
cat confdefs.h >>conftest.$ac_ext |
|
3934 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3935 |
/* end confdefs.h. */ |
|
3936 |
||
3937 |
int |
|
3938 |
main () |
|
3939 |
{ |
|
3940 |
||
3941 |
; |
|
3942 |
return 0; |
|
3943 |
} |
|
3944 |
_ACEOF |
|
3945 |
rm -f conftest.$ac_objext |
|
3946 |
if { (ac_try="$ac_compile" |
|
3947 |
case "(($ac_try" in |
|
3948 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3949 |
*) ac_try_echo=$ac_try;; |
|
3950 |
esac |
|
3951 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
3952 |
$as_echo "$ac_try_echo") >&5 |
|
3953 |
(eval "$ac_compile") 2>conftest.er1 |
|
3954 |
ac_status=$? |
|
3955 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3956 |
rm -f conftest.er1 |
|
3957 |
cat conftest.err >&5 |
|
3958 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3959 |
(exit $ac_status); } && { |
|
3960 |
test -z "$ac_cxx_werror_flag" || |
|
3961 |
test ! -s conftest.err |
|
3962 |
} && test -s conftest.$ac_objext; then |
|
3963 |
ac_cv_prog_cxx_g=yes |
|
3964 |
else |
|
3965 |
$as_echo "$as_me: failed program was:" >&5 |
|
3966 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3967 |
||
3968 |
||
3969 |
fi |
|
3970 |
||
3971 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3972 |
fi |
|
3973 |
||
3974 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3975 |
fi |
|
3976 |
||
3977 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3978 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3979 |
fi |
|
3980 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
|
3981 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
3982 |
if test "$ac_test_CXXFLAGS" = set; then |
3983 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
3984 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
3985 |
if test "$GXX" = yes; then |
|
3986 |
CXXFLAGS="-g -O2" |
|
3987 |
else |
|
3988 |
CXXFLAGS="-g" |
|
3989 |
fi |
|
3990 |
else |
|
3991 |
if test "$GXX" = yes; then |
|
3992 |
CXXFLAGS="-O2" |
|
3993 |
else |
|
3994 |
CXXFLAGS= |
|
3995 |
fi |
|
3996 |
fi |
|
3997 |
ac_ext=c |
|
3998 |
ac_cpp='$CPP $CPPFLAGS' |
|
3999 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4000 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4001 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4002 |
||
4003 |
depcc="$CXX" am_compiler_list= |
|
4004 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4005 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4006 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
7
by paul-mccullagh
Fixed configure |
4007 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4008 |
$as_echo_n "(cached) " >&6 |
7
by paul-mccullagh
Fixed configure |
4009 |
else |
4010 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4011 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
4012 |
# making bogus files that we don't know about and never remove. For |
|
4013 |
# instance it was reported that on HP-UX the gcc test will end up |
|
4014 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
4015 |
# in D'. |
|
4016 |
mkdir conftest.dir |
|
4017 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
4018 |
# using a relative directory. |
|
4019 |
cp "$am_depcomp" conftest.dir |
|
4020 |
cd conftest.dir |
|
4021 |
# We will build objects and dependencies in a subdirectory because |
|
4022 |
# it helps to detect inapplicable dependency modes. For instance |
|
4023 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
4024 |
# side effect of compilation, but ICC will put the dependencies in |
|
4025 |
# the current directory while Tru64 will put them in the object |
|
4026 |
# directory. |
|
4027 |
mkdir sub |
|
4028 |
||
4029 |
am_cv_CXX_dependencies_compiler_type=none |
|
4030 |
if test "$am_compiler_list" = ""; then |
|
4031 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4032 |
fi |
|
4033 |
for depmode in $am_compiler_list; do |
|
4034 |
# Setup a source with many dependencies, because some compilers |
|
4035 |
# like to wrap large dependency lists on column 80 (with \), and |
|
4036 |
# we should not choose a depcomp mode which is confused by this. |
|
4037 |
# |
|
4038 |
# We need to recreate these files for each test, as the compiler may |
|
4039 |
# overwrite some of them when testing with obscure command lines. |
|
4040 |
# This happens at least with the AIX C compiler. |
|
4041 |
: > sub/conftest.c |
|
4042 |
for i in 1 2 3 4 5 6; do |
|
4043 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4044 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
4045 |
# Solaris 8's {/usr,}/bin/sh. |
|
4046 |
touch sub/conftst$i.h |
|
4047 |
done |
|
4048 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4049 |
||
4050 |
case $depmode in |
|
4051 |
nosideeffect) |
|
4052 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
4053 |
# only be used when explicitly requested |
|
4054 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4055 |
continue |
|
4056 |
else |
|
4057 |
break |
|
4058 |
fi |
|
4059 |
;; |
|
4060 |
none) break ;; |
|
4061 |
esac |
|
4062 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
4063 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
4064 |
# handle `-M -o', and we need to detect this. |
|
4065 |
if depmode=$depmode \ |
|
4066 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
4067 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4068 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
4069 |
>/dev/null 2>conftest.err && |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4070 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
7
by paul-mccullagh
Fixed configure |
4071 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4072 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
4073 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4074 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
4075 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
4076 |
# that says an option was ignored or not supported. |
|
4077 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4078 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4079 |
# The diagnosis changed in icc 8.0: |
|
4080 |
# icc: Command line remark: option '-MP' not supported |
|
4081 |
if (grep 'ignoring option' conftest.err || |
|
4082 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4083 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
4084 |
break |
|
4085 |
fi |
|
4086 |
fi |
|
4087 |
done |
|
4088 |
||
4089 |
cd .. |
|
4090 |
rm -rf conftest.dir |
|
4091 |
else |
|
4092 |
am_cv_CXX_dependencies_compiler_type=none |
|
4093 |
fi |
|
4094 |
||
4095 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4096 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4097 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
4098 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4099 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4100 |
if |
7
by paul-mccullagh
Fixed configure |
4101 |
test "x$enable_dependency_tracking" != xno \ |
4102 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
4103 |
am__fastdepCXX_TRUE= |
|
4104 |
am__fastdepCXX_FALSE='#' |
|
4105 |
else |
|
4106 |
am__fastdepCXX_TRUE='#' |
|
4107 |
am__fastdepCXX_FALSE= |
|
4108 |
fi |
|
4109 |
||
4110 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4111 |
# Check whether --enable-shared was given. |
1
by paul-mccullagh
Initial import |
4112 |
if test "${enable_shared+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4113 |
enableval=$enable_shared; p=${PACKAGE-default} |
1
by paul-mccullagh
Initial import |
4114 |
case $enableval in |
4115 |
yes) enable_shared=yes ;; |
|
4116 |
no) enable_shared=no ;; |
|
4117 |
*) |
|
4118 |
enable_shared=no |
|
4119 |
# Look at the argument we got. We use all the common list separators. |
|
4120 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
4121 |
for pkg in $enableval; do |
|
4122 |
IFS="$lt_save_ifs" |
|
4123 |
if test "X$pkg" = "X$p"; then |
|
4124 |
enable_shared=yes |
|
4125 |
fi |
|
4126 |
done |
|
4127 |
IFS="$lt_save_ifs" |
|
4128 |
;; |
|
4129 |
esac |
|
4130 |
else |
|
4131 |
enable_shared=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4132 |
fi |
4133 |
||
4134 |
||
4135 |
# Check whether --enable-static was given. |
|
1
by paul-mccullagh
Initial import |
4136 |
if test "${enable_static+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4137 |
enableval=$enable_static; p=${PACKAGE-default} |
1
by paul-mccullagh
Initial import |
4138 |
case $enableval in |
4139 |
yes) enable_static=yes ;; |
|
4140 |
no) enable_static=no ;; |
|
4141 |
*) |
|
4142 |
enable_static=no |
|
4143 |
# Look at the argument we got. We use all the common list separators. |
|
4144 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
4145 |
for pkg in $enableval; do |
|
4146 |
IFS="$lt_save_ifs" |
|
4147 |
if test "X$pkg" = "X$p"; then |
|
4148 |
enable_static=yes |
|
4149 |
fi |
|
4150 |
done |
|
4151 |
IFS="$lt_save_ifs" |
|
4152 |
;; |
|
4153 |
esac |
|
4154 |
else |
|
4155 |
enable_static=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4156 |
fi |
4157 |
||
4158 |
||
4159 |
# Check whether --enable-fast-install was given. |
|
1
by paul-mccullagh
Initial import |
4160 |
if test "${enable_fast_install+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4161 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
1
by paul-mccullagh
Initial import |
4162 |
case $enableval in |
4163 |
yes) enable_fast_install=yes ;; |
|
4164 |
no) enable_fast_install=no ;; |
|
4165 |
*) |
|
4166 |
enable_fast_install=no |
|
4167 |
# Look at the argument we got. We use all the common list separators. |
|
4168 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
4169 |
for pkg in $enableval; do |
|
4170 |
IFS="$lt_save_ifs" |
|
4171 |
if test "X$pkg" = "X$p"; then |
|
4172 |
enable_fast_install=yes |
|
4173 |
fi |
|
4174 |
done |
|
4175 |
IFS="$lt_save_ifs" |
|
4176 |
;; |
|
4177 |
esac |
|
4178 |
else |
|
4179 |
enable_fast_install=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4180 |
fi |
4181 |
||
1
by paul-mccullagh
Initial import |
4182 |
|
4183 |
# Make sure we can run config.sub. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4184 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4185 |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
|
4186 |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
1
by paul-mccullagh
Initial import |
4187 |
{ (exit 1); exit 1; }; } |
4188 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4189 |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
4190 |
$as_echo_n "checking build system type... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4191 |
if test "${ac_cv_build+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4192 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4193 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4194 |
ac_build_alias=$build_alias |
4195 |
test "x$ac_build_alias" = x && |
|
4196 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
4197 |
test "x$ac_build_alias" = x && |
|
4198 |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
4199 |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
1
by paul-mccullagh
Initial import |
4200 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4201 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4202 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
|
4203 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
1
by paul-mccullagh
Initial import |
4204 |
{ (exit 1); exit 1; }; } |
4205 |
||
4206 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4207 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
4208 |
$as_echo "$ac_cv_build" >&6; } |
|
4209 |
case $ac_cv_build in |
|
4210 |
*-*-*) ;; |
|
4211 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
4212 |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
|
4213 |
{ (exit 1); exit 1; }; };; |
|
4214 |
esac |
|
1
by paul-mccullagh
Initial import |
4215 |
build=$ac_cv_build |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4216 |
ac_save_IFS=$IFS; IFS='-' |
4217 |
set x $ac_cv_build |
|
4218 |
shift |
|
4219 |
build_cpu=$1 |
|
4220 |
build_vendor=$2 |
|
4221 |
shift; shift |
|
4222 |
# Remember, the first character of IFS is used to create $*, |
|
4223 |
# except with old shells: |
|
4224 |
build_os=$* |
|
4225 |
IFS=$ac_save_IFS |
|
4226 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
4227 |
||
4228 |
||
4229 |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
|
4230 |
$as_echo_n "checking host system type... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4231 |
if test "${ac_cv_host+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4232 |
$as_echo_n "(cached) " >&6 |
4233 |
else |
|
4234 |
if test "x$host_alias" = x; then |
|
4235 |
ac_cv_host=$ac_cv_build |
|
4236 |
else |
|
4237 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
4238 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
|
4239 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
1
by paul-mccullagh
Initial import |
4240 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4241 |
fi |
1
by paul-mccullagh
Initial import |
4242 |
|
4243 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4244 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
4245 |
$as_echo "$ac_cv_host" >&6; } |
|
4246 |
case $ac_cv_host in |
|
4247 |
*-*-*) ;; |
|
4248 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
4249 |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
|
4250 |
{ (exit 1); exit 1; }; };; |
|
4251 |
esac |
|
1
by paul-mccullagh
Initial import |
4252 |
host=$ac_cv_host |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4253 |
ac_save_IFS=$IFS; IFS='-' |
4254 |
set x $ac_cv_host |
|
4255 |
shift |
|
4256 |
host_cpu=$1 |
|
4257 |
host_vendor=$2 |
|
4258 |
shift; shift |
|
4259 |
# Remember, the first character of IFS is used to create $*, |
|
4260 |
# except with old shells: |
|
4261 |
host_os=$* |
|
4262 |
IFS=$ac_save_IFS |
|
4263 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
4264 |
||
4265 |
||
4266 |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
|
4267 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4268 |
if test "${lt_cv_path_SED+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4269 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4270 |
else |
4271 |
# Loop through the user's path and test for sed and gsed. |
|
4272 |
# Then use that list of sed's as ones to test for truncation. |
|
4273 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4274 |
for as_dir in $PATH |
|
4275 |
do |
|
4276 |
IFS=$as_save_IFS |
|
4277 |
test -z "$as_dir" && as_dir=. |
|
4278 |
for lt_ac_prog in sed gsed; do |
|
4279 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4280 |
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
4281 |
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" |
4282 |
fi |
|
4283 |
done |
|
4284 |
done |
|
4285 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4286 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
4287 |
lt_ac_max=0 |
4288 |
lt_ac_count=0 |
|
4289 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
|
4290 |
# along with /bin/sed that truncates output. |
|
4291 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4292 |
test ! -f $lt_ac_sed && continue |
1
by paul-mccullagh
Initial import |
4293 |
cat /dev/null > conftest.in |
4294 |
lt_ac_count=0 |
|
4295 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
|
4296 |
# Check for GNU sed and select it if it is found. |
|
4297 |
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
|
4298 |
lt_cv_path_SED=$lt_ac_sed |
|
4299 |
break |
|
4300 |
fi |
|
4301 |
while true; do |
|
4302 |
cat conftest.in conftest.in >conftest.tmp |
|
4303 |
mv conftest.tmp conftest.in |
|
4304 |
cp conftest.in conftest.nl |
|
4305 |
echo >>conftest.nl |
|
4306 |
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break |
|
4307 |
cmp -s conftest.out conftest.nl || break |
|
4308 |
# 10000 chars as input seems more than enough |
|
4309 |
test $lt_ac_count -gt 10 && break |
|
4310 |
lt_ac_count=`expr $lt_ac_count + 1` |
|
4311 |
if test $lt_ac_count -gt $lt_ac_max; then |
|
4312 |
lt_ac_max=$lt_ac_count |
|
4313 |
lt_cv_path_SED=$lt_ac_sed |
|
4314 |
fi |
|
4315 |
done |
|
4316 |
done |
|
4317 |
||
4318 |
fi |
|
4319 |
||
4320 |
SED=$lt_cv_path_SED |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4321 |
|
4322 |
{ $as_echo "$as_me:$LINENO: result: $SED" >&5 |
|
4323 |
$as_echo "$SED" >&6; } |
|
4324 |
||
4325 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|
4326 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
4327 |
if test "${ac_cv_path_GREP+set}" = set; then |
|
4328 |
$as_echo_n "(cached) " >&6 |
|
4329 |
else |
|
4330 |
if test -z "$GREP"; then |
|
4331 |
ac_path_GREP_found=false |
|
4332 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4333 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4334 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4335 |
do |
|
4336 |
IFS=$as_save_IFS |
|
4337 |
test -z "$as_dir" && as_dir=. |
|
4338 |
for ac_prog in grep ggrep; do |
|
4339 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4340 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4341 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
4342 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
4343 |
# Check for GNU $ac_path_GREP |
|
4344 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4345 |
*GNU*) |
|
4346 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4347 |
*) |
|
4348 |
ac_count=0 |
|
4349 |
$as_echo_n 0123456789 >"conftest.in" |
|
4350 |
while : |
|
4351 |
do |
|
4352 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4353 |
mv "conftest.tmp" "conftest.in" |
|
4354 |
cp "conftest.in" "conftest.nl" |
|
4355 |
$as_echo 'GREP' >> "conftest.nl" |
|
4356 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4357 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4358 |
ac_count=`expr $ac_count + 1` |
|
4359 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4360 |
# Best one so far, save it but keep looking for a better one |
|
4361 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4362 |
ac_path_GREP_max=$ac_count |
|
4363 |
fi |
|
4364 |
# 10*(2^10) chars as input seems more than enough |
|
4365 |
test $ac_count -gt 10 && break |
|
4366 |
done |
|
4367 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4368 |
esac |
|
4369 |
||
4370 |
$ac_path_GREP_found && break 3 |
|
4371 |
done |
|
4372 |
done |
|
4373 |
done |
|
4374 |
IFS=$as_save_IFS |
|
4375 |
if test -z "$ac_cv_path_GREP"; then |
|
4376 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
4377 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
4378 |
{ (exit 1); exit 1; }; } |
|
4379 |
fi |
|
4380 |
else |
|
4381 |
ac_cv_path_GREP=$GREP |
|
4382 |
fi |
|
4383 |
||
4384 |
fi |
|
4385 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
|
4386 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
4387 |
GREP="$ac_cv_path_GREP" |
|
4388 |
||
4389 |
||
4390 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
|
4391 |
$as_echo_n "checking for egrep... " >&6; } |
|
4392 |
if test "${ac_cv_path_EGREP+set}" = set; then |
|
4393 |
$as_echo_n "(cached) " >&6 |
|
4394 |
else |
|
4395 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4396 |
then ac_cv_path_EGREP="$GREP -E" |
|
4397 |
else |
|
4398 |
if test -z "$EGREP"; then |
|
4399 |
ac_path_EGREP_found=false |
|
4400 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4401 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4402 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4403 |
do |
|
4404 |
IFS=$as_save_IFS |
|
4405 |
test -z "$as_dir" && as_dir=. |
|
4406 |
for ac_prog in egrep; do |
|
4407 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4408 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4409 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
4410 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
4411 |
# Check for GNU $ac_path_EGREP |
|
4412 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4413 |
*GNU*) |
|
4414 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4415 |
*) |
|
4416 |
ac_count=0 |
|
4417 |
$as_echo_n 0123456789 >"conftest.in" |
|
4418 |
while : |
|
4419 |
do |
|
4420 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4421 |
mv "conftest.tmp" "conftest.in" |
|
4422 |
cp "conftest.in" "conftest.nl" |
|
4423 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4424 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4425 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4426 |
ac_count=`expr $ac_count + 1` |
|
4427 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4428 |
# Best one so far, save it but keep looking for a better one |
|
4429 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4430 |
ac_path_EGREP_max=$ac_count |
|
4431 |
fi |
|
4432 |
# 10*(2^10) chars as input seems more than enough |
|
4433 |
test $ac_count -gt 10 && break |
|
4434 |
done |
|
4435 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4436 |
esac |
|
4437 |
||
4438 |
$ac_path_EGREP_found && break 3 |
|
4439 |
done |
|
4440 |
done |
|
4441 |
done |
|
4442 |
IFS=$as_save_IFS |
|
4443 |
if test -z "$ac_cv_path_EGREP"; then |
|
4444 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
4445 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
4446 |
{ (exit 1); exit 1; }; } |
|
4447 |
fi |
|
4448 |
else |
|
4449 |
ac_cv_path_EGREP=$EGREP |
|
4450 |
fi |
|
4451 |
||
4452 |
fi |
|
4453 |
fi |
|
4454 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
4455 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4456 |
EGREP="$ac_cv_path_EGREP" |
|
4457 |
||
4458 |
||
4459 |
||
4460 |
# Check whether --with-gnu-ld was given. |
|
1
by paul-mccullagh
Initial import |
4461 |
if test "${with_gnu_ld+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4462 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
1
by paul-mccullagh
Initial import |
4463 |
else |
4464 |
with_gnu_ld=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4465 |
fi |
4466 |
||
1
by paul-mccullagh
Initial import |
4467 |
ac_prog=ld |
4468 |
if test "$GCC" = yes; then |
|
4469 |
# Check if gcc -print-prog-name=ld gives a path. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4470 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
4471 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4472 |
case $host in |
4473 |
*-*-mingw*) |
|
4474 |
# gcc leaves a trailing carriage return which upsets mingw |
|
4475 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
4476 |
*) |
|
4477 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
4478 |
esac |
|
4479 |
case $ac_prog in |
|
4480 |
# Accept absolute paths. |
|
4481 |
[\\/]* | ?:[\\/]*) |
|
4482 |
re_direlt='/[^/][^/]*/\.\./' |
|
4483 |
# Canonicalize the pathname of ld |
|
4484 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
|
4485 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
4486 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
|
4487 |
done |
|
4488 |
test -z "$LD" && LD="$ac_prog" |
|
4489 |
;; |
|
4490 |
"") |
|
4491 |
# If it fails, then pretend we aren't using GCC. |
|
4492 |
ac_prog=ld |
|
4493 |
;; |
|
4494 |
*) |
|
4495 |
# If it is relative, then search for the first ld in PATH. |
|
4496 |
with_gnu_ld=unknown |
|
4497 |
;; |
|
4498 |
esac |
|
4499 |
elif test "$with_gnu_ld" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4500 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
4501 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4502 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4503 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
4504 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4505 |
fi |
4506 |
if test "${lt_cv_path_LD+set}" = set; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4507 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4508 |
else |
4509 |
if test -z "$LD"; then |
|
4510 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4511 |
for ac_dir in $PATH; do |
|
4512 |
IFS="$lt_save_ifs" |
|
4513 |
test -z "$ac_dir" && ac_dir=. |
|
4514 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
4515 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
4516 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4517 |
# but apparently some variants of GNU ld only accept -v. |
1
by paul-mccullagh
Initial import |
4518 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
4519 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
4520 |
*GNU* | *'with BFD'*) |
|
4521 |
test "$with_gnu_ld" != no && break |
|
4522 |
;; |
|
4523 |
*) |
|
4524 |
test "$with_gnu_ld" != yes && break |
|
4525 |
;; |
|
4526 |
esac |
|
4527 |
fi |
|
4528 |
done |
|
4529 |
IFS="$lt_save_ifs" |
|
4530 |
else |
|
4531 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
4532 |
fi |
|
4533 |
fi |
|
4534 |
||
4535 |
LD="$lt_cv_path_LD" |
|
4536 |
if test -n "$LD"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4537 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
4538 |
$as_echo "$LD" >&6; } |
|
1
by paul-mccullagh
Initial import |
4539 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4540 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4541 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
4542 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4543 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
4544 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
1
by paul-mccullagh
Initial import |
4545 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4546 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
4547 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4548 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4549 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4550 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4551 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
1
by paul-mccullagh
Initial import |
4552 |
case `$LD -v 2>&1 </dev/null` in |
4553 |
*GNU* | *'with BFD'*) |
|
4554 |
lt_cv_prog_gnu_ld=yes |
|
4555 |
;; |
|
4556 |
*) |
|
4557 |
lt_cv_prog_gnu_ld=no |
|
4558 |
;; |
|
4559 |
esac |
|
4560 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4561 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
4562 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1
by paul-mccullagh
Initial import |
4563 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
4564 |
||
4565 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4566 |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
4567 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4568 |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4569 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4570 |
else |
4571 |
lt_cv_ld_reload_flag='-r' |
|
4572 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4573 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
4574 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
1
by paul-mccullagh
Initial import |
4575 |
reload_flag=$lt_cv_ld_reload_flag |
4576 |
case $reload_flag in |
|
4577 |
"" | " "*) ;; |
|
4578 |
*) reload_flag=" $reload_flag" ;; |
|
4579 |
esac |
|
4580 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
4581 |
case $host_os in |
|
4582 |
darwin*) |
|
4583 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4584 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
1
by paul-mccullagh
Initial import |
4585 |
else |
4586 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
4587 |
fi |
|
4588 |
;; |
|
4589 |
esac |
|
4590 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4591 |
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
4592 |
$as_echo_n "checking for BSD-compatible nm... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4593 |
if test "${lt_cv_path_NM+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4594 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4595 |
else |
4596 |
if test -n "$NM"; then |
|
4597 |
# Let the user override the test. |
|
4598 |
lt_cv_path_NM="$NM" |
|
4599 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4600 |
lt_nm_to_check="${ac_tool_prefix}nm" |
4601 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
4602 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
4603 |
fi |
|
4604 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
4605 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4606 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
4607 |
IFS="$lt_save_ifs" |
|
4608 |
test -z "$ac_dir" && ac_dir=. |
|
4609 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
4610 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
4611 |
# Check to see if the nm accepts a BSD-compat flag. |
|
4612 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
4613 |
# nm: unknown option "B" ignored |
|
4614 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
4615 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
4616 |
*/dev/null* | *'Invalid file or object type'*) |
|
4617 |
lt_cv_path_NM="$tmp_nm -B" |
|
1
by paul-mccullagh
Initial import |
4618 |
break |
4619 |
;; |
|
4620 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4621 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
4622 |
*/dev/null*) |
|
4623 |
lt_cv_path_NM="$tmp_nm -p" |
|
4624 |
break |
|
4625 |
;; |
|
4626 |
*) |
|
4627 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
4628 |
continue # so that we can try to find one that supports BSD flags |
|
4629 |
;; |
|
4630 |
esac |
|
1
by paul-mccullagh
Initial import |
4631 |
;; |
4632 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4633 |
fi |
4634 |
done |
|
4635 |
IFS="$lt_save_ifs" |
|
1
by paul-mccullagh
Initial import |
4636 |
done |
4637 |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
|
4638 |
fi |
|
4639 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4640 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
4641 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
1
by paul-mccullagh
Initial import |
4642 |
NM="$lt_cv_path_NM" |
4643 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4644 |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
4645 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4646 |
LN_S=$as_ln_s |
4647 |
if test "$LN_S" = "ln -s"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4648 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
4649 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
4650 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4651 |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
4652 |
$as_echo "no, using $LN_S" >&6; } |
|
1
by paul-mccullagh
Initial import |
4653 |
fi |
4654 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4655 |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
4656 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4657 |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4658 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4659 |
else |
4660 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
4661 |
lt_cv_file_magic_test_file= |
|
4662 |
lt_cv_deplibs_check_method='unknown' |
|
4663 |
# Need to set the preceding variable on all platforms that support |
|
4664 |
# interlibrary dependencies. |
|
4665 |
# 'none' -- dependencies not supported. |
|
4666 |
# `unknown' -- same as none, but documents that we really don't know. |
|
4667 |
# 'pass_all' -- all dependencies passed with no checks. |
|
4668 |
# 'test_compile' -- check by making test program. |
|
4669 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
4670 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
4671 |
# If you have `file' or equivalent on your system and you're not sure |
|
4672 |
# whether `pass_all' will *always* work, you probably want this one. |
|
4673 |
||
4674 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4675 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
4676 |
lt_cv_deplibs_check_method=pass_all |
4677 |
;; |
|
4678 |
||
4679 |
beos*) |
|
4680 |
lt_cv_deplibs_check_method=pass_all |
|
4681 |
;; |
|
4682 |
||
4683 |
bsdi[45]*) |
|
4684 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
4685 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
4686 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
4687 |
;; |
|
4688 |
||
4689 |
cygwin*) |
|
4690 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
4691 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
4692 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
4693 |
;; |
|
4694 |
||
4695 |
mingw* | pw32*) |
|
4696 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4697 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
4698 |
# unless we find 'file', for example because we are cross-compiling. |
|
4699 |
if ( file / ) >/dev/null 2>&1; then |
|
4700 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
4701 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
4702 |
else |
|
4703 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
4704 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
4705 |
fi |
|
1
by paul-mccullagh
Initial import |
4706 |
;; |
4707 |
||
4708 |
darwin* | rhapsody*) |
|
4709 |
lt_cv_deplibs_check_method=pass_all |
|
4710 |
;; |
|
4711 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4712 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
4713 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4714 |
case $host_cpu in |
|
4715 |
i*86 ) |
|
4716 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
4717 |
# Let's accept both of them until this is cleared up. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4718 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
1
by paul-mccullagh
Initial import |
4719 |
lt_cv_file_magic_cmd=/usr/bin/file |
4720 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
4721 |
;; |
|
4722 |
esac |
|
4723 |
else |
|
4724 |
lt_cv_deplibs_check_method=pass_all |
|
4725 |
fi |
|
4726 |
;; |
|
4727 |
||
4728 |
gnu*) |
|
4729 |
lt_cv_deplibs_check_method=pass_all |
|
4730 |
;; |
|
4731 |
||
4732 |
hpux10.20* | hpux11*) |
|
4733 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4734 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
4735 |
ia64*) |
4736 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
4737 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
4738 |
;; |
|
4739 |
hppa*64*) |
|
4740 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' |
|
4741 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
4742 |
;; |
|
4743 |
*) |
|
4744 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
|
4745 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
4746 |
;; |
|
4747 |
esac |
|
4748 |
;; |
|
4749 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4750 |
interix[3-9]*) |
4751 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
4752 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
4753 |
;; |
|
4754 |
||
1
by paul-mccullagh
Initial import |
4755 |
irix5* | irix6* | nonstopux*) |
4756 |
case $LD in |
|
4757 |
*-32|*"-32 ") libmagic=32-bit;; |
|
4758 |
*-n32|*"-n32 ") libmagic=N32;; |
|
4759 |
*-64|*"-64 ") libmagic=64-bit;; |
|
4760 |
*) libmagic=never-match;; |
|
4761 |
esac |
|
4762 |
lt_cv_deplibs_check_method=pass_all |
|
4763 |
;; |
|
4764 |
||
4765 |
# This must be Linux ELF. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4766 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
4767 |
lt_cv_deplibs_check_method=pass_all |
4768 |
;; |
|
4769 |
||
4770 |
netbsd*) |
|
4771 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
|
4772 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
4773 |
else |
|
4774 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
4775 |
fi |
|
4776 |
;; |
|
4777 |
||
4778 |
newos6*) |
|
4779 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
4780 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
4781 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
4782 |
;; |
|
4783 |
||
4784 |
nto-qnx*) |
|
4785 |
lt_cv_deplibs_check_method=unknown |
|
4786 |
;; |
|
4787 |
||
4788 |
openbsd*) |
|
4789 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
4790 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
4791 |
else |
|
4792 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
4793 |
fi |
|
4794 |
;; |
|
4795 |
||
4796 |
osf3* | osf4* | osf5*) |
|
4797 |
lt_cv_deplibs_check_method=pass_all |
|
4798 |
;; |
|
4799 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4800 |
rdos*) |
1
by paul-mccullagh
Initial import |
4801 |
lt_cv_deplibs_check_method=pass_all |
4802 |
;; |
|
4803 |
||
4804 |
solaris*) |
|
4805 |
lt_cv_deplibs_check_method=pass_all |
|
4806 |
;; |
|
4807 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4808 |
sysv4 | sysv4.3*) |
1
by paul-mccullagh
Initial import |
4809 |
case $host_vendor in |
4810 |
motorola) |
|
4811 |
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]' |
|
4812 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
4813 |
;; |
|
4814 |
ncr) |
|
4815 |
lt_cv_deplibs_check_method=pass_all |
|
4816 |
;; |
|
4817 |
sequent) |
|
4818 |
lt_cv_file_magic_cmd='/bin/file' |
|
4819 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
4820 |
;; |
|
4821 |
sni) |
|
4822 |
lt_cv_file_magic_cmd='/bin/file' |
|
4823 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
4824 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
4825 |
;; |
|
4826 |
siemens) |
|
4827 |
lt_cv_deplibs_check_method=pass_all |
|
4828 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4829 |
pc) |
4830 |
lt_cv_deplibs_check_method=pass_all |
|
4831 |
;; |
|
1
by paul-mccullagh
Initial import |
4832 |
esac |
4833 |
;; |
|
4834 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4835 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
1
by paul-mccullagh
Initial import |
4836 |
lt_cv_deplibs_check_method=pass_all |
4837 |
;; |
|
4838 |
esac |
|
4839 |
||
4840 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4841 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
4842 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
1
by paul-mccullagh
Initial import |
4843 |
file_magic_cmd=$lt_cv_file_magic_cmd |
4844 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
4845 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
4846 |
||
4847 |
||
4848 |
||
4849 |
||
4850 |
# If no C compiler was specified, use CC. |
|
4851 |
LTCC=${LTCC-"$CC"} |
|
4852 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4853 |
# If no C compiler flags were specified, use CFLAGS. |
4854 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
4855 |
||
1
by paul-mccullagh
Initial import |
4856 |
# Allow CC to be a program name with arguments. |
4857 |
compiler=$CC |
|
4858 |
||
4859 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4860 |
# Check whether --enable-libtool-lock was given. |
1
by paul-mccullagh
Initial import |
4861 |
if test "${enable_libtool_lock+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4862 |
enableval=$enable_libtool_lock; |
4863 |
fi |
|
1
by paul-mccullagh
Initial import |
4864 |
|
4865 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
4866 |
||
4867 |
# Some flags need to be propagated to the compiler or linker for good |
|
4868 |
# libtool support. |
|
4869 |
case $host in |
|
4870 |
ia64-*-hpux*) |
|
4871 |
# Find out which ABI we are using. |
|
4872 |
echo 'int i;' > conftest.$ac_ext |
|
4873 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4874 |
(eval $ac_compile) 2>&5 |
|
4875 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4876 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
4877 |
(exit $ac_status); }; then |
4878 |
case `/usr/bin/file conftest.$ac_objext` in |
|
4879 |
*ELF-32*) |
|
4880 |
HPUX_IA64_MODE="32" |
|
4881 |
;; |
|
4882 |
*ELF-64*) |
|
4883 |
HPUX_IA64_MODE="64" |
|
4884 |
;; |
|
4885 |
esac |
|
4886 |
fi |
|
4887 |
rm -rf conftest* |
|
4888 |
;; |
|
4889 |
*-*-irix6*) |
|
4890 |
# Find out which ABI we are using. |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
4891 |
echo '#line 4891 "configure"' > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
4892 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4893 |
(eval $ac_compile) 2>&5 |
|
4894 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4895 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
4896 |
(exit $ac_status); }; then |
4897 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
4898 |
case `/usr/bin/file conftest.$ac_objext` in |
|
4899 |
*32-bit*) |
|
4900 |
LD="${LD-ld} -melf32bsmip" |
|
4901 |
;; |
|
4902 |
*N32*) |
|
4903 |
LD="${LD-ld} -melf32bmipn32" |
|
4904 |
;; |
|
4905 |
*64-bit*) |
|
4906 |
LD="${LD-ld} -melf64bmip" |
|
4907 |
;; |
|
4908 |
esac |
|
4909 |
else |
|
4910 |
case `/usr/bin/file conftest.$ac_objext` in |
|
4911 |
*32-bit*) |
|
4912 |
LD="${LD-ld} -32" |
|
4913 |
;; |
|
4914 |
*N32*) |
|
4915 |
LD="${LD-ld} -n32" |
|
4916 |
;; |
|
4917 |
*64-bit*) |
|
4918 |
LD="${LD-ld} -64" |
|
4919 |
;; |
|
4920 |
esac |
|
4921 |
fi |
|
4922 |
fi |
|
4923 |
rm -rf conftest* |
|
4924 |
;; |
|
4925 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4926 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
4927 |
s390*-*linux*|sparc*-*linux*) |
|
1
by paul-mccullagh
Initial import |
4928 |
# Find out which ABI we are using. |
4929 |
echo 'int i;' > conftest.$ac_ext |
|
4930 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4931 |
(eval $ac_compile) 2>&5 |
|
4932 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4933 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
4934 |
(exit $ac_status); }; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4935 |
case `/usr/bin/file conftest.o` in |
1
by paul-mccullagh
Initial import |
4936 |
*32-bit*) |
4937 |
case $host in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4938 |
x86_64-*kfreebsd*-gnu) |
4939 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
4940 |
;; |
|
1
by paul-mccullagh
Initial import |
4941 |
x86_64-*linux*) |
4942 |
LD="${LD-ld} -m elf_i386" |
|
4943 |
;; |
|
4944 |
ppc64-*linux*|powerpc64-*linux*) |
|
4945 |
LD="${LD-ld} -m elf32ppclinux" |
|
4946 |
;; |
|
4947 |
s390x-*linux*) |
|
4948 |
LD="${LD-ld} -m elf_s390" |
|
4949 |
;; |
|
4950 |
sparc64-*linux*) |
|
4951 |
LD="${LD-ld} -m elf32_sparc" |
|
4952 |
;; |
|
4953 |
esac |
|
4954 |
;; |
|
4955 |
*64-bit*) |
|
4956 |
case $host in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4957 |
x86_64-*kfreebsd*-gnu) |
4958 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
4959 |
;; |
|
1
by paul-mccullagh
Initial import |
4960 |
x86_64-*linux*) |
4961 |
LD="${LD-ld} -m elf_x86_64" |
|
4962 |
;; |
|
4963 |
ppc*-*linux*|powerpc*-*linux*) |
|
4964 |
LD="${LD-ld} -m elf64ppc" |
|
4965 |
;; |
|
4966 |
s390*-*linux*) |
|
4967 |
LD="${LD-ld} -m elf64_s390" |
|
4968 |
;; |
|
4969 |
sparc*-*linux*) |
|
4970 |
LD="${LD-ld} -m elf64_sparc" |
|
4971 |
;; |
|
4972 |
esac |
|
4973 |
;; |
|
4974 |
esac |
|
4975 |
fi |
|
4976 |
rm -rf conftest* |
|
4977 |
;; |
|
4978 |
||
4979 |
*-*-sco3.2v5*) |
|
4980 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
4981 |
SAVE_CFLAGS="$CFLAGS" |
|
4982 |
CFLAGS="$CFLAGS -belf" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4983 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4984 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
1
by paul-mccullagh
Initial import |
4985 |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
4986 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
4987 |
else |
4988 |
ac_ext=c |
|
4989 |
ac_cpp='$CPP $CPPFLAGS' |
|
4990 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4991 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4992 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4993 |
||
4994 |
cat >conftest.$ac_ext <<_ACEOF |
|
4995 |
/* confdefs.h. */ |
|
4996 |
_ACEOF |
|
4997 |
cat confdefs.h >>conftest.$ac_ext |
|
4998 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4999 |
/* end confdefs.h. */ |
|
5000 |
||
5001 |
int |
|
5002 |
main () |
|
5003 |
{ |
|
5004 |
||
5005 |
; |
|
5006 |
return 0; |
|
5007 |
} |
|
5008 |
_ACEOF |
|
5009 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5010 |
if { (ac_try="$ac_link" |
5011 |
case "(($ac_try" in |
|
5012 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5013 |
*) ac_try_echo=$ac_try;; |
|
5014 |
esac |
|
5015 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5016 |
$as_echo "$ac_try_echo") >&5 |
|
5017 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5018 |
ac_status=$? |
5019 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5020 |
rm -f conftest.er1 |
|
5021 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5022 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5023 |
(exit $ac_status); } && { |
|
5024 |
test -z "$ac_c_werror_flag" || |
|
5025 |
test ! -s conftest.err |
|
5026 |
} && test -s conftest$ac_exeext && { |
|
5027 |
test "$cross_compiling" = yes || |
|
5028 |
$as_test_x conftest$ac_exeext |
|
5029 |
}; then |
|
1
by paul-mccullagh
Initial import |
5030 |
lt_cv_cc_needs_belf=yes |
5031 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5032 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5033 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5034 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5035 |
lt_cv_cc_needs_belf=no |
1
by paul-mccullagh
Initial import |
5036 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5037 |
|
5038 |
rm -rf conftest.dSYM |
|
5039 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
5040 |
conftest$ac_exeext conftest.$ac_ext |
5041 |
ac_ext=c |
|
5042 |
ac_cpp='$CPP $CPPFLAGS' |
|
5043 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5044 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5045 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5046 |
||
5047 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5048 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
5049 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
1
by paul-mccullagh
Initial import |
5050 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
5051 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
5052 |
CFLAGS="$SAVE_CFLAGS" |
|
5053 |
fi |
|
5054 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5055 |
sparc*-*solaris*) |
5056 |
# Find out which ABI we are using. |
|
5057 |
echo 'int i;' > conftest.$ac_ext |
|
5058 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5059 |
(eval $ac_compile) 2>&5 |
|
5060 |
ac_status=$? |
|
5061 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5062 |
(exit $ac_status); }; then |
|
5063 |
case `/usr/bin/file conftest.o` in |
|
5064 |
*64-bit*) |
|
5065 |
case $lt_cv_prog_gnu_ld in |
|
5066 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
5067 |
*) |
|
5068 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
5069 |
LD="${LD-ld} -64" |
|
5070 |
fi |
|
5071 |
;; |
|
5072 |
esac |
|
5073 |
;; |
|
5074 |
esac |
|
5075 |
fi |
|
5076 |
rm -rf conftest* |
|
5077 |
;; |
|
5078 |
||
1
by paul-mccullagh
Initial import |
5079 |
|
5080 |
esac |
|
5081 |
||
5082 |
need_locks="$enable_libtool_lock" |
|
5083 |
||
5084 |
||
5085 |
ac_ext=c |
|
5086 |
ac_cpp='$CPP $CPPFLAGS' |
|
5087 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5088 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5089 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5090 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5091 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5092 |
# On Suns, sometimes $CPP names a directory. |
5093 |
if test -n "$CPP" && test -d "$CPP"; then |
|
5094 |
CPP= |
|
5095 |
fi |
|
5096 |
if test -z "$CPP"; then |
|
5097 |
if test "${ac_cv_prog_CPP+set}" = set; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5098 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
5099 |
else |
5100 |
# Double quotes because CPP needs to be expanded |
|
5101 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
5102 |
do |
|
5103 |
ac_preproc_ok=false |
|
5104 |
for ac_c_preproc_warn_flag in '' yes |
|
5105 |
do |
|
5106 |
# Use a header file that comes with gcc, so configuring glibc |
|
5107 |
# with a fresh cross-compiler works. |
|
5108 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5109 |
# <limits.h> exists even on freestanding compilers. |
|
5110 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5111 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5112 |
cat >conftest.$ac_ext <<_ACEOF |
|
5113 |
/* confdefs.h. */ |
|
5114 |
_ACEOF |
|
5115 |
cat confdefs.h >>conftest.$ac_ext |
|
5116 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5117 |
/* end confdefs.h. */ |
|
5118 |
#ifdef __STDC__ |
|
5119 |
# include <limits.h> |
|
5120 |
#else |
|
5121 |
# include <assert.h> |
|
5122 |
#endif |
|
5123 |
Syntax error |
|
5124 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5125 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5126 |
case "(($ac_try" in |
|
5127 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5128 |
*) ac_try_echo=$ac_try;; |
|
5129 |
esac |
|
5130 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5131 |
$as_echo "$ac_try_echo") >&5 |
|
5132 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5133 |
ac_status=$? |
5134 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5135 |
rm -f conftest.er1 |
|
5136 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5137 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5138 |
(exit $ac_status); } >/dev/null && { |
|
5139 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5140 |
test ! -s conftest.err |
|
5141 |
}; then |
|
1
by paul-mccullagh
Initial import |
5142 |
: |
5143 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5144 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5145 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5146 |
||
5147 |
# Broken: fails on valid input. |
|
5148 |
continue |
|
5149 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5150 |
|
1
by paul-mccullagh
Initial import |
5151 |
rm -f conftest.err conftest.$ac_ext |
5152 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5153 |
# OK, works on sane cases. Now check whether nonexistent headers |
1
by paul-mccullagh
Initial import |
5154 |
# can be detected and how. |
5155 |
cat >conftest.$ac_ext <<_ACEOF |
|
5156 |
/* confdefs.h. */ |
|
5157 |
_ACEOF |
|
5158 |
cat confdefs.h >>conftest.$ac_ext |
|
5159 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5160 |
/* end confdefs.h. */ |
|
5161 |
#include <ac_nonexistent.h> |
|
5162 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5163 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5164 |
case "(($ac_try" in |
|
5165 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5166 |
*) ac_try_echo=$ac_try;; |
|
5167 |
esac |
|
5168 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5169 |
$as_echo "$ac_try_echo") >&5 |
|
5170 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5171 |
ac_status=$? |
5172 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5173 |
rm -f conftest.er1 |
|
5174 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5175 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5176 |
(exit $ac_status); } >/dev/null && { |
|
5177 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5178 |
test ! -s conftest.err |
|
5179 |
}; then |
|
1
by paul-mccullagh
Initial import |
5180 |
# Broken: success on invalid input. |
5181 |
continue |
|
5182 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5183 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5184 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5185 |
||
5186 |
# Passes both tests. |
|
5187 |
ac_preproc_ok=: |
|
5188 |
break |
|
5189 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5190 |
|
1
by paul-mccullagh
Initial import |
5191 |
rm -f conftest.err conftest.$ac_ext |
5192 |
||
5193 |
done |
|
5194 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5195 |
rm -f conftest.err conftest.$ac_ext |
|
5196 |
if $ac_preproc_ok; then |
|
5197 |
break |
|
5198 |
fi |
|
5199 |
||
5200 |
done |
|
5201 |
ac_cv_prog_CPP=$CPP |
|
5202 |
||
5203 |
fi |
|
5204 |
CPP=$ac_cv_prog_CPP |
|
5205 |
else |
|
5206 |
ac_cv_prog_CPP=$CPP |
|
5207 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5208 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
5209 |
$as_echo "$CPP" >&6; } |
|
1
by paul-mccullagh
Initial import |
5210 |
ac_preproc_ok=false |
5211 |
for ac_c_preproc_warn_flag in '' yes |
|
5212 |
do |
|
5213 |
# Use a header file that comes with gcc, so configuring glibc |
|
5214 |
# with a fresh cross-compiler works. |
|
5215 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5216 |
# <limits.h> exists even on freestanding compilers. |
|
5217 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5218 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5219 |
cat >conftest.$ac_ext <<_ACEOF |
|
5220 |
/* confdefs.h. */ |
|
5221 |
_ACEOF |
|
5222 |
cat confdefs.h >>conftest.$ac_ext |
|
5223 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5224 |
/* end confdefs.h. */ |
|
5225 |
#ifdef __STDC__ |
|
5226 |
# include <limits.h> |
|
5227 |
#else |
|
5228 |
# include <assert.h> |
|
5229 |
#endif |
|
5230 |
Syntax error |
|
5231 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5232 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5233 |
case "(($ac_try" in |
|
5234 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5235 |
*) ac_try_echo=$ac_try;; |
|
5236 |
esac |
|
5237 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5238 |
$as_echo "$ac_try_echo") >&5 |
|
5239 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5240 |
ac_status=$? |
5241 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5242 |
rm -f conftest.er1 |
|
5243 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5244 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5245 |
(exit $ac_status); } >/dev/null && { |
|
5246 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5247 |
test ! -s conftest.err |
|
5248 |
}; then |
|
1
by paul-mccullagh
Initial import |
5249 |
: |
5250 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5251 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5252 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5253 |
||
5254 |
# Broken: fails on valid input. |
|
5255 |
continue |
|
5256 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5257 |
|
1
by paul-mccullagh
Initial import |
5258 |
rm -f conftest.err conftest.$ac_ext |
5259 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5260 |
# OK, works on sane cases. Now check whether nonexistent headers |
1
by paul-mccullagh
Initial import |
5261 |
# can be detected and how. |
5262 |
cat >conftest.$ac_ext <<_ACEOF |
|
5263 |
/* confdefs.h. */ |
|
5264 |
_ACEOF |
|
5265 |
cat confdefs.h >>conftest.$ac_ext |
|
5266 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5267 |
/* end confdefs.h. */ |
|
5268 |
#include <ac_nonexistent.h> |
|
5269 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5270 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5271 |
case "(($ac_try" in |
|
5272 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5273 |
*) ac_try_echo=$ac_try;; |
|
5274 |
esac |
|
5275 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5276 |
$as_echo "$ac_try_echo") >&5 |
|
5277 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5278 |
ac_status=$? |
5279 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5280 |
rm -f conftest.er1 |
|
5281 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5282 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5283 |
(exit $ac_status); } >/dev/null && { |
|
5284 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5285 |
test ! -s conftest.err |
|
5286 |
}; then |
|
1
by paul-mccullagh
Initial import |
5287 |
# Broken: success on invalid input. |
5288 |
continue |
|
5289 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5290 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5291 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5292 |
||
5293 |
# Passes both tests. |
|
5294 |
ac_preproc_ok=: |
|
5295 |
break |
|
5296 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5297 |
|
1
by paul-mccullagh
Initial import |
5298 |
rm -f conftest.err conftest.$ac_ext |
5299 |
||
5300 |
done |
|
5301 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5302 |
rm -f conftest.err conftest.$ac_ext |
|
5303 |
if $ac_preproc_ok; then |
|
5304 |
: |
|
5305 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5306 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
5307 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
5308 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
1
by paul-mccullagh
Initial import |
5309 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5310 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
1
by paul-mccullagh
Initial import |
5311 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5312 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
5313 |
fi |
5314 |
||
5315 |
ac_ext=c |
|
5316 |
ac_cpp='$CPP $CPPFLAGS' |
|
5317 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5318 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5319 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5320 |
||
5321 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5322 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5323 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5324 |
if test "${ac_cv_header_stdc+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5325 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
5326 |
else |
5327 |
cat >conftest.$ac_ext <<_ACEOF |
|
5328 |
/* confdefs.h. */ |
|
5329 |
_ACEOF |
|
5330 |
cat confdefs.h >>conftest.$ac_ext |
|
5331 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5332 |
/* end confdefs.h. */ |
|
5333 |
#include <stdlib.h> |
|
5334 |
#include <stdarg.h> |
|
5335 |
#include <string.h> |
|
5336 |
#include <float.h> |
|
5337 |
||
5338 |
int |
|
5339 |
main () |
|
5340 |
{ |
|
5341 |
||
5342 |
; |
|
5343 |
return 0; |
|
5344 |
} |
|
5345 |
_ACEOF |
|
5346 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5347 |
if { (ac_try="$ac_compile" |
5348 |
case "(($ac_try" in |
|
5349 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5350 |
*) ac_try_echo=$ac_try;; |
|
5351 |
esac |
|
5352 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5353 |
$as_echo "$ac_try_echo") >&5 |
|
5354 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5355 |
ac_status=$? |
5356 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5357 |
rm -f conftest.er1 |
|
5358 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5359 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5360 |
(exit $ac_status); } && { |
|
5361 |
test -z "$ac_c_werror_flag" || |
|
5362 |
test ! -s conftest.err |
|
5363 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
5364 |
ac_cv_header_stdc=yes |
5365 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5366 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5367 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5368 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5369 |
ac_cv_header_stdc=no |
1
by paul-mccullagh
Initial import |
5370 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5371 |
|
5372 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1
by paul-mccullagh
Initial import |
5373 |
|
5374 |
if test $ac_cv_header_stdc = yes; then |
|
5375 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
5376 |
cat >conftest.$ac_ext <<_ACEOF |
|
5377 |
/* confdefs.h. */ |
|
5378 |
_ACEOF |
|
5379 |
cat confdefs.h >>conftest.$ac_ext |
|
5380 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5381 |
/* end confdefs.h. */ |
|
5382 |
#include <string.h> |
|
5383 |
||
5384 |
_ACEOF |
|
5385 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5386 |
$EGREP "memchr" >/dev/null 2>&1; then |
|
5387 |
: |
|
5388 |
else |
|
5389 |
ac_cv_header_stdc=no |
|
5390 |
fi |
|
5391 |
rm -f conftest* |
|
5392 |
||
5393 |
fi |
|
5394 |
||
5395 |
if test $ac_cv_header_stdc = yes; then |
|
5396 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
5397 |
cat >conftest.$ac_ext <<_ACEOF |
|
5398 |
/* confdefs.h. */ |
|
5399 |
_ACEOF |
|
5400 |
cat confdefs.h >>conftest.$ac_ext |
|
5401 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5402 |
/* end confdefs.h. */ |
|
5403 |
#include <stdlib.h> |
|
5404 |
||
5405 |
_ACEOF |
|
5406 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5407 |
$EGREP "free" >/dev/null 2>&1; then |
|
5408 |
: |
|
5409 |
else |
|
5410 |
ac_cv_header_stdc=no |
|
5411 |
fi |
|
5412 |
rm -f conftest* |
|
5413 |
||
5414 |
fi |
|
5415 |
||
5416 |
if test $ac_cv_header_stdc = yes; then |
|
5417 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
5418 |
if test "$cross_compiling" = yes; then |
|
5419 |
: |
|
5420 |
else |
|
5421 |
cat >conftest.$ac_ext <<_ACEOF |
|
5422 |
/* confdefs.h. */ |
|
5423 |
_ACEOF |
|
5424 |
cat confdefs.h >>conftest.$ac_ext |
|
5425 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5426 |
/* end confdefs.h. */ |
|
5427 |
#include <ctype.h> |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5428 |
#include <stdlib.h> |
1
by paul-mccullagh
Initial import |
5429 |
#if ((' ' & 0x0FF) == 0x020) |
5430 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
5431 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
5432 |
#else |
|
5433 |
# define ISLOWER(c) \ |
|
5434 |
(('a' <= (c) && (c) <= 'i') \ |
|
5435 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
5436 |
|| ('s' <= (c) && (c) <= 'z')) |
|
5437 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
5438 |
#endif |
|
5439 |
||
5440 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
5441 |
int |
|
5442 |
main () |
|
5443 |
{ |
|
5444 |
int i; |
|
5445 |
for (i = 0; i < 256; i++) |
|
5446 |
if (XOR (islower (i), ISLOWER (i)) |
|
5447 |
|| toupper (i) != TOUPPER (i)) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5448 |
return 2; |
5449 |
return 0; |
|
1
by paul-mccullagh
Initial import |
5450 |
} |
5451 |
_ACEOF |
|
5452 |
rm -f conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5453 |
if { (ac_try="$ac_link" |
5454 |
case "(($ac_try" in |
|
5455 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5456 |
*) ac_try_echo=$ac_try;; |
|
5457 |
esac |
|
5458 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5459 |
$as_echo "$ac_try_echo") >&5 |
|
5460 |
(eval "$ac_link") 2>&5 |
|
1
by paul-mccullagh
Initial import |
5461 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5462 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
5463 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5464 |
{ (case "(($ac_try" in |
5465 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5466 |
*) ac_try_echo=$ac_try;; |
|
5467 |
esac |
|
5468 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5469 |
$as_echo "$ac_try_echo") >&5 |
|
5470 |
(eval "$ac_try") 2>&5 |
|
1
by paul-mccullagh
Initial import |
5471 |
ac_status=$? |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5472 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
5473 |
(exit $ac_status); }; }; then |
5474 |
: |
|
5475 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5476 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
5477 |
$as_echo "$as_me: failed program was:" >&5 |
|
1
by paul-mccullagh
Initial import |
5478 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5479 |
||
5480 |
( exit $ac_status ) |
|
5481 |
ac_cv_header_stdc=no |
|
5482 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5483 |
rm -rf conftest.dSYM |
5484 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
5485 |
fi |
|
5486 |
||
5487 |
||
5488 |
fi |
|
5489 |
fi |
|
5490 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
5491 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
1
by paul-mccullagh
Initial import |
5492 |
if test $ac_cv_header_stdc = yes; then |
5493 |
||
5494 |
cat >>confdefs.h <<\_ACEOF |
|
5495 |
#define STDC_HEADERS 1 |
|
5496 |
_ACEOF |
|
5497 |
||
5498 |
fi |
|
5499 |
||
5500 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
5501 |
||
5502 |
||
5503 |
||
5504 |
||
5505 |
||
5506 |
||
5507 |
||
5508 |
||
5509 |
||
5510 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
5511 |
inttypes.h stdint.h unistd.h |
|
5512 |
do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5513 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5514 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
5515 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
5516 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5517 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
5518 |
else |
5519 |
cat >conftest.$ac_ext <<_ACEOF |
|
5520 |
/* confdefs.h. */ |
|
5521 |
_ACEOF |
|
5522 |
cat confdefs.h >>conftest.$ac_ext |
|
5523 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5524 |
/* end confdefs.h. */ |
|
5525 |
$ac_includes_default |
|
5526 |
||
5527 |
#include <$ac_header> |
|
5528 |
_ACEOF |
|
5529 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5530 |
if { (ac_try="$ac_compile" |
5531 |
case "(($ac_try" in |
|
5532 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5533 |
*) ac_try_echo=$ac_try;; |
|
5534 |
esac |
|
5535 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5536 |
$as_echo "$ac_try_echo") >&5 |
|
5537 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5538 |
ac_status=$? |
5539 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5540 |
rm -f conftest.er1 |
|
5541 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5542 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5543 |
(exit $ac_status); } && { |
|
5544 |
test -z "$ac_c_werror_flag" || |
|
5545 |
test ! -s conftest.err |
|
5546 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
5547 |
eval "$as_ac_Header=yes" |
5548 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5549 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5550 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5551 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5552 |
eval "$as_ac_Header=no" |
5553 |
fi |
|
5554 |
||
5555 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5556 |
fi |
|
5557 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
5558 |
$as_echo "$as_val"'` |
|
5559 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5560 |
$as_echo "$ac_res" >&6; } |
|
5561 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
5562 |
$as_echo "$as_val"'` |
|
5563 |
if test "x$as_val" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
5564 |
cat >>confdefs.h <<_ACEOF |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5565 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1
by paul-mccullagh
Initial import |
5566 |
_ACEOF |
5567 |
||
5568 |
fi |
|
5569 |
||
5570 |
done |
|
5571 |
||
5572 |
||
5573 |
||
5574 |
for ac_header in dlfcn.h |
|
5575 |
do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5576 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5577 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5578 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
5579 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
5580 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5581 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
5582 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5583 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5584 |
$as_echo "$as_val"'` |
|
5585 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5586 |
$as_echo "$ac_res" >&6; } |
|
1
by paul-mccullagh
Initial import |
5587 |
else |
5588 |
# Is the header compilable? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5589 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5590 |
$as_echo_n "checking $ac_header usability... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5591 |
cat >conftest.$ac_ext <<_ACEOF |
5592 |
/* confdefs.h. */ |
|
5593 |
_ACEOF |
|
5594 |
cat confdefs.h >>conftest.$ac_ext |
|
5595 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5596 |
/* end confdefs.h. */ |
|
5597 |
$ac_includes_default |
|
5598 |
#include <$ac_header> |
|
5599 |
_ACEOF |
|
5600 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5601 |
if { (ac_try="$ac_compile" |
5602 |
case "(($ac_try" in |
|
5603 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5604 |
*) ac_try_echo=$ac_try;; |
|
5605 |
esac |
|
5606 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5607 |
$as_echo "$ac_try_echo") >&5 |
|
5608 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5609 |
ac_status=$? |
5610 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5611 |
rm -f conftest.er1 |
|
5612 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5613 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5614 |
(exit $ac_status); } && { |
|
5615 |
test -z "$ac_c_werror_flag" || |
|
5616 |
test ! -s conftest.err |
|
5617 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
5618 |
ac_header_compiler=yes |
5619 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5620 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5621 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5622 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5623 |
ac_header_compiler=no |
1
by paul-mccullagh
Initial import |
5624 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5625 |
|
5626 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5627 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
5628 |
$as_echo "$ac_header_compiler" >&6; } |
|
1
by paul-mccullagh
Initial import |
5629 |
|
5630 |
# Is the header present? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5631 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5632 |
$as_echo_n "checking $ac_header presence... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5633 |
cat >conftest.$ac_ext <<_ACEOF |
5634 |
/* confdefs.h. */ |
|
5635 |
_ACEOF |
|
5636 |
cat confdefs.h >>conftest.$ac_ext |
|
5637 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5638 |
/* end confdefs.h. */ |
|
5639 |
#include <$ac_header> |
|
5640 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5641 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5642 |
case "(($ac_try" in |
|
5643 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5644 |
*) ac_try_echo=$ac_try;; |
|
5645 |
esac |
|
5646 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5647 |
$as_echo "$ac_try_echo") >&5 |
|
5648 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5649 |
ac_status=$? |
5650 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5651 |
rm -f conftest.er1 |
|
5652 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5653 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5654 |
(exit $ac_status); } >/dev/null && { |
|
5655 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5656 |
test ! -s conftest.err |
|
5657 |
}; then |
|
1
by paul-mccullagh
Initial import |
5658 |
ac_header_preproc=yes |
5659 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5660 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5661 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5662 |
||
5663 |
ac_header_preproc=no |
|
5664 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5665 |
|
1
by paul-mccullagh
Initial import |
5666 |
rm -f conftest.err conftest.$ac_ext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5667 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5668 |
$as_echo "$ac_header_preproc" >&6; } |
|
1
by paul-mccullagh
Initial import |
5669 |
|
5670 |
# So? What about this header? |
|
5671 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
5672 |
yes:no: ) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5673 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5674 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
5675 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
5676 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
1
by paul-mccullagh
Initial import |
5677 |
ac_header_preproc=yes |
5678 |
;; |
|
5679 |
no:yes:* ) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5680 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5681 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
5682 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
5683 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
5684 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
5685 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
5686 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
5687 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
5688 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
5689 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
5690 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
5691 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
5692 |
||
1
by paul-mccullagh
Initial import |
5693 |
;; |
5694 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5695 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5696 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
5697 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5698 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
5699 |
else |
5700 |
eval "$as_ac_Header=\$ac_header_preproc" |
|
5701 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5702 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5703 |
$as_echo "$as_val"'` |
|
5704 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5705 |
$as_echo "$ac_res" >&6; } |
|
1
by paul-mccullagh
Initial import |
5706 |
|
5707 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5708 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
5709 |
$as_echo "$as_val"'` |
|
5710 |
if test "x$as_val" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
5711 |
cat >>confdefs.h <<_ACEOF |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5712 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1
by paul-mccullagh
Initial import |
5713 |
_ACEOF |
5714 |
||
5715 |
fi |
|
5716 |
||
5717 |
done |
|
5718 |
||
5719 |
||
5720 |
||
5721 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
5722 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
5723 |
(test "X$CXX" != "Xg++"))) ; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5724 |
ac_ext=cpp |
1
by paul-mccullagh
Initial import |
5725 |
ac_cpp='$CXXCPP $CPPFLAGS' |
5726 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5727 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5728 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5729 |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5730 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5731 |
if test -z "$CXXCPP"; then |
5732 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5733 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
5734 |
else |
5735 |
# Double quotes because CXXCPP needs to be expanded |
|
5736 |
for CXXCPP in "$CXX -E" "/lib/cpp" |
|
5737 |
do |
|
5738 |
ac_preproc_ok=false |
|
5739 |
for ac_cxx_preproc_warn_flag in '' yes |
|
5740 |
do |
|
5741 |
# Use a header file that comes with gcc, so configuring glibc |
|
5742 |
# with a fresh cross-compiler works. |
|
5743 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5744 |
# <limits.h> exists even on freestanding compilers. |
|
5745 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5746 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5747 |
cat >conftest.$ac_ext <<_ACEOF |
|
5748 |
/* confdefs.h. */ |
|
5749 |
_ACEOF |
|
5750 |
cat confdefs.h >>conftest.$ac_ext |
|
5751 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5752 |
/* end confdefs.h. */ |
|
5753 |
#ifdef __STDC__ |
|
5754 |
# include <limits.h> |
|
5755 |
#else |
|
5756 |
# include <assert.h> |
|
5757 |
#endif |
|
5758 |
Syntax error |
|
5759 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5760 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5761 |
case "(($ac_try" in |
|
5762 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5763 |
*) ac_try_echo=$ac_try;; |
|
5764 |
esac |
|
5765 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5766 |
$as_echo "$ac_try_echo") >&5 |
|
5767 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5768 |
ac_status=$? |
5769 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5770 |
rm -f conftest.er1 |
|
5771 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5772 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5773 |
(exit $ac_status); } >/dev/null && { |
|
5774 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
5775 |
test ! -s conftest.err |
|
5776 |
}; then |
|
1
by paul-mccullagh
Initial import |
5777 |
: |
5778 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5779 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5780 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5781 |
||
5782 |
# Broken: fails on valid input. |
|
5783 |
continue |
|
5784 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5785 |
|
1
by paul-mccullagh
Initial import |
5786 |
rm -f conftest.err conftest.$ac_ext |
5787 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5788 |
# OK, works on sane cases. Now check whether nonexistent headers |
1
by paul-mccullagh
Initial import |
5789 |
# can be detected and how. |
5790 |
cat >conftest.$ac_ext <<_ACEOF |
|
5791 |
/* confdefs.h. */ |
|
5792 |
_ACEOF |
|
5793 |
cat confdefs.h >>conftest.$ac_ext |
|
5794 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5795 |
/* end confdefs.h. */ |
|
5796 |
#include <ac_nonexistent.h> |
|
5797 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5798 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5799 |
case "(($ac_try" in |
|
5800 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5801 |
*) ac_try_echo=$ac_try;; |
|
5802 |
esac |
|
5803 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5804 |
$as_echo "$ac_try_echo") >&5 |
|
5805 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5806 |
ac_status=$? |
5807 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5808 |
rm -f conftest.er1 |
|
5809 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5810 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5811 |
(exit $ac_status); } >/dev/null && { |
|
5812 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
5813 |
test ! -s conftest.err |
|
5814 |
}; then |
|
1
by paul-mccullagh
Initial import |
5815 |
# Broken: success on invalid input. |
5816 |
continue |
|
5817 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5818 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5819 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5820 |
||
5821 |
# Passes both tests. |
|
5822 |
ac_preproc_ok=: |
|
5823 |
break |
|
5824 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5825 |
|
1
by paul-mccullagh
Initial import |
5826 |
rm -f conftest.err conftest.$ac_ext |
5827 |
||
5828 |
done |
|
5829 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5830 |
rm -f conftest.err conftest.$ac_ext |
|
5831 |
if $ac_preproc_ok; then |
|
5832 |
break |
|
5833 |
fi |
|
5834 |
||
5835 |
done |
|
5836 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
5837 |
||
5838 |
fi |
|
5839 |
CXXCPP=$ac_cv_prog_CXXCPP |
|
5840 |
else |
|
5841 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
5842 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5843 |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5844 |
$as_echo "$CXXCPP" >&6; } |
|
1
by paul-mccullagh
Initial import |
5845 |
ac_preproc_ok=false |
5846 |
for ac_cxx_preproc_warn_flag in '' yes |
|
5847 |
do |
|
5848 |
# Use a header file that comes with gcc, so configuring glibc |
|
5849 |
# with a fresh cross-compiler works. |
|
5850 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5851 |
# <limits.h> exists even on freestanding compilers. |
|
5852 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5853 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5854 |
cat >conftest.$ac_ext <<_ACEOF |
|
5855 |
/* confdefs.h. */ |
|
5856 |
_ACEOF |
|
5857 |
cat confdefs.h >>conftest.$ac_ext |
|
5858 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5859 |
/* end confdefs.h. */ |
|
5860 |
#ifdef __STDC__ |
|
5861 |
# include <limits.h> |
|
5862 |
#else |
|
5863 |
# include <assert.h> |
|
5864 |
#endif |
|
5865 |
Syntax error |
|
5866 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5867 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5868 |
case "(($ac_try" in |
|
5869 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5870 |
*) ac_try_echo=$ac_try;; |
|
5871 |
esac |
|
5872 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5873 |
$as_echo "$ac_try_echo") >&5 |
|
5874 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5875 |
ac_status=$? |
5876 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5877 |
rm -f conftest.er1 |
|
5878 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5879 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5880 |
(exit $ac_status); } >/dev/null && { |
|
5881 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
5882 |
test ! -s conftest.err |
|
5883 |
}; then |
|
1
by paul-mccullagh
Initial import |
5884 |
: |
5885 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5886 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5887 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5888 |
||
5889 |
# Broken: fails on valid input. |
|
5890 |
continue |
|
5891 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5892 |
|
1
by paul-mccullagh
Initial import |
5893 |
rm -f conftest.err conftest.$ac_ext |
5894 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5895 |
# OK, works on sane cases. Now check whether nonexistent headers |
1
by paul-mccullagh
Initial import |
5896 |
# can be detected and how. |
5897 |
cat >conftest.$ac_ext <<_ACEOF |
|
5898 |
/* confdefs.h. */ |
|
5899 |
_ACEOF |
|
5900 |
cat confdefs.h >>conftest.$ac_ext |
|
5901 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5902 |
/* end confdefs.h. */ |
|
5903 |
#include <ac_nonexistent.h> |
|
5904 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5905 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5906 |
case "(($ac_try" in |
|
5907 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5908 |
*) ac_try_echo=$ac_try;; |
|
5909 |
esac |
|
5910 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5911 |
$as_echo "$ac_try_echo") >&5 |
|
5912 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
5913 |
ac_status=$? |
5914 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5915 |
rm -f conftest.er1 |
|
5916 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5917 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5918 |
(exit $ac_status); } >/dev/null && { |
|
5919 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
5920 |
test ! -s conftest.err |
|
5921 |
}; then |
|
1
by paul-mccullagh
Initial import |
5922 |
# Broken: success on invalid input. |
5923 |
continue |
|
5924 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5925 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
5926 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5927 |
||
5928 |
# Passes both tests. |
|
5929 |
ac_preproc_ok=: |
|
5930 |
break |
|
5931 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5932 |
|
1
by paul-mccullagh
Initial import |
5933 |
rm -f conftest.err conftest.$ac_ext |
5934 |
||
5935 |
done |
|
5936 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5937 |
rm -f conftest.err conftest.$ac_ext |
|
5938 |
if $ac_preproc_ok; then |
|
5939 |
: |
|
5940 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5941 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
5942 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
5943 |
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
1
by paul-mccullagh
Initial import |
5944 |
See \`config.log' for more details." >&5 |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5945 |
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
1
by paul-mccullagh
Initial import |
5946 |
See \`config.log' for more details." >&2;} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5947 |
{ (exit 1); exit 1; }; }; } |
1
by paul-mccullagh
Initial import |
5948 |
fi |
5949 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5950 |
ac_ext=cpp |
1
by paul-mccullagh
Initial import |
5951 |
ac_cpp='$CXXCPP $CPPFLAGS' |
5952 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5953 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5954 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
5955 |
||
5956 |
fi |
|
5957 |
||
5958 |
||
5959 |
ac_ext=f |
|
5960 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
5961 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5962 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
5963 |
if test -n "$ac_tool_prefix"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5964 |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
1
by paul-mccullagh
Initial import |
5965 |
do |
5966 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5967 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5968 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5969 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
5970 |
if test "${ac_cv_prog_F77+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5971 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
5972 |
else |
5973 |
if test -n "$F77"; then |
|
5974 |
ac_cv_prog_F77="$F77" # Let the user override the test. |
|
5975 |
else |
|
5976 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5977 |
for as_dir in $PATH |
|
5978 |
do |
|
5979 |
IFS=$as_save_IFS |
|
5980 |
test -z "$as_dir" && as_dir=. |
|
5981 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5982 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
5983 |
ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5984 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
5985 |
break 2 |
5986 |
fi |
|
5987 |
done |
|
5988 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5989 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
5990 |
|
5991 |
fi |
|
5992 |
fi |
|
5993 |
F77=$ac_cv_prog_F77 |
|
5994 |
if test -n "$F77"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5995 |
{ $as_echo "$as_me:$LINENO: result: $F77" >&5 |
5996 |
$as_echo "$F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
5997 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
5998 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5999 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6000 |
fi |
6001 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6002 |
|
1
by paul-mccullagh
Initial import |
6003 |
test -n "$F77" && break |
6004 |
done |
|
6005 |
fi |
|
6006 |
if test -z "$F77"; then |
|
6007 |
ac_ct_F77=$F77 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6008 |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
1
by paul-mccullagh
Initial import |
6009 |
do |
6010 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
6011 |
set dummy $ac_prog; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6012 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6013 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6014 |
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6015 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6016 |
else |
6017 |
if test -n "$ac_ct_F77"; then |
|
6018 |
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
|
6019 |
else |
|
6020 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6021 |
for as_dir in $PATH |
|
6022 |
do |
|
6023 |
IFS=$as_save_IFS |
|
6024 |
test -z "$as_dir" && as_dir=. |
|
6025 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6026 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6027 |
ac_cv_prog_ac_ct_F77="$ac_prog" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6028 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6029 |
break 2 |
6030 |
fi |
|
6031 |
done |
|
6032 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6033 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6034 |
|
6035 |
fi |
|
6036 |
fi |
|
6037 |
ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
|
6038 |
if test -n "$ac_ct_F77"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6039 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
6040 |
$as_echo "$ac_ct_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
6041 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6042 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6043 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6044 |
fi |
6045 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6046 |
|
1
by paul-mccullagh
Initial import |
6047 |
test -n "$ac_ct_F77" && break |
6048 |
done |
|
6049 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6050 |
if test "x$ac_ct_F77" = x; then |
6051 |
F77="" |
|
6052 |
else |
|
6053 |
case $cross_compiling:$ac_tool_warned in |
|
6054 |
yes:) |
|
6055 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6056 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6057 |
ac_tool_warned=yes ;; |
|
6058 |
esac |
|
6059 |
F77=$ac_ct_F77 |
|
6060 |
fi |
|
1
by paul-mccullagh
Initial import |
6061 |
fi |
6062 |
||
6063 |
||
6064 |
# Provide some information about the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6065 |
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 |
6066 |
set X $ac_compile |
|
6067 |
ac_compiler=$2 |
|
6068 |
{ (ac_try="$ac_compiler --version >&5" |
|
6069 |
case "(($ac_try" in |
|
6070 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6071 |
*) ac_try_echo=$ac_try;; |
|
6072 |
esac |
|
6073 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6074 |
$as_echo "$ac_try_echo") >&5 |
|
6075 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
6076 |
ac_status=$? |
|
6077 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6078 |
(exit $ac_status); } |
|
6079 |
{ (ac_try="$ac_compiler -v >&5" |
|
6080 |
case "(($ac_try" in |
|
6081 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6082 |
*) ac_try_echo=$ac_try;; |
|
6083 |
esac |
|
6084 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6085 |
$as_echo "$ac_try_echo") >&5 |
|
6086 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
6087 |
ac_status=$? |
|
6088 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6089 |
(exit $ac_status); } |
|
6090 |
{ (ac_try="$ac_compiler -V >&5" |
|
6091 |
case "(($ac_try" in |
|
6092 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6093 |
*) ac_try_echo=$ac_try;; |
|
6094 |
esac |
|
6095 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6096 |
$as_echo "$ac_try_echo") >&5 |
|
6097 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
6098 |
ac_status=$? |
|
6099 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1
by paul-mccullagh
Initial import |
6100 |
(exit $ac_status); } |
6101 |
rm -f a.out |
|
6102 |
||
6103 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
|
6104 |
# input file. (Note that this only needs to work for GNU compilers.) |
|
6105 |
ac_save_ext=$ac_ext |
|
6106 |
ac_ext=F |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6107 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
6108 |
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6109 |
if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6110 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6111 |
else |
6112 |
cat >conftest.$ac_ext <<_ACEOF |
|
6113 |
program main |
|
6114 |
#ifndef __GNUC__ |
|
6115 |
choke me |
|
6116 |
#endif |
|
6117 |
||
6118 |
end |
|
6119 |
_ACEOF |
|
6120 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6121 |
if { (ac_try="$ac_compile" |
6122 |
case "(($ac_try" in |
|
6123 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6124 |
*) ac_try_echo=$ac_try;; |
|
6125 |
esac |
|
6126 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6127 |
$as_echo "$ac_try_echo") >&5 |
|
6128 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
6129 |
ac_status=$? |
6130 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
6131 |
rm -f conftest.er1 |
|
6132 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6133 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6134 |
(exit $ac_status); } && { |
|
6135 |
test -z "$ac_f77_werror_flag" || |
|
6136 |
test ! -s conftest.err |
|
6137 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
6138 |
ac_compiler_gnu=yes |
6139 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6140 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
6141 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6142 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6143 |
ac_compiler_gnu=no |
1
by paul-mccullagh
Initial import |
6144 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6145 |
|
6146 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1
by paul-mccullagh
Initial import |
6147 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
6148 |
||
6149 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6150 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
6151 |
$as_echo "$ac_cv_f77_compiler_gnu" >&6; } |
|
1
by paul-mccullagh
Initial import |
6152 |
ac_ext=$ac_save_ext |
6153 |
ac_test_FFLAGS=${FFLAGS+set} |
|
6154 |
ac_save_FFLAGS=$FFLAGS |
|
6155 |
FFLAGS= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6156 |
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
6157 |
$as_echo_n "checking whether $F77 accepts -g... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6158 |
if test "${ac_cv_prog_f77_g+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6159 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6160 |
else |
6161 |
FFLAGS=-g |
|
6162 |
cat >conftest.$ac_ext <<_ACEOF |
|
6163 |
program main |
|
6164 |
||
6165 |
end |
|
6166 |
_ACEOF |
|
6167 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6168 |
if { (ac_try="$ac_compile" |
6169 |
case "(($ac_try" in |
|
6170 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6171 |
*) ac_try_echo=$ac_try;; |
|
6172 |
esac |
|
6173 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6174 |
$as_echo "$ac_try_echo") >&5 |
|
6175 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
6176 |
ac_status=$? |
6177 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
6178 |
rm -f conftest.er1 |
|
6179 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6180 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6181 |
(exit $ac_status); } && { |
|
6182 |
test -z "$ac_f77_werror_flag" || |
|
6183 |
test ! -s conftest.err |
|
6184 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
6185 |
ac_cv_prog_f77_g=yes |
6186 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6187 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
6188 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6189 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6190 |
ac_cv_prog_f77_g=no |
6191 |
fi |
|
6192 |
||
6193 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6194 |
||
6195 |
fi |
|
6196 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
|
6197 |
$as_echo "$ac_cv_prog_f77_g" >&6; } |
|
1
by paul-mccullagh
Initial import |
6198 |
if test "$ac_test_FFLAGS" = set; then |
6199 |
FFLAGS=$ac_save_FFLAGS |
|
6200 |
elif test $ac_cv_prog_f77_g = yes; then |
|
6201 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
6202 |
FFLAGS="-g -O2" |
|
6203 |
else |
|
6204 |
FFLAGS="-g" |
|
6205 |
fi |
|
6206 |
else |
|
6207 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
6208 |
FFLAGS="-O2" |
|
6209 |
else |
|
6210 |
FFLAGS= |
|
6211 |
fi |
|
6212 |
fi |
|
6213 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6214 |
if test $ac_compiler_gnu = yes; then |
6215 |
G77=yes |
|
6216 |
else |
|
6217 |
G77= |
|
6218 |
fi |
|
1
by paul-mccullagh
Initial import |
6219 |
ac_ext=c |
6220 |
ac_cpp='$CPP $CPPFLAGS' |
|
6221 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6222 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6223 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6224 |
||
6225 |
||
6226 |
||
6227 |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
|
6228 |
# find the maximum length of command line arguments |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6229 |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
6230 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6231 |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6232 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6233 |
else |
6234 |
i=0 |
|
6235 |
teststring="ABCD" |
|
6236 |
||
6237 |
case $build_os in |
|
6238 |
msdosdjgpp*) |
|
6239 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
6240 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
6241 |
# during glob expansion). Even if it were fixed, the result of this |
|
6242 |
# check would be larger than it should be. |
|
6243 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
6244 |
;; |
|
6245 |
||
6246 |
gnu*) |
|
6247 |
# Under GNU Hurd, this test is not required because there is |
|
6248 |
# no limit to the length of command line arguments. |
|
6249 |
# Libtool will interpret -1 as no limit whatsoever |
|
6250 |
lt_cv_sys_max_cmd_len=-1; |
|
6251 |
;; |
|
6252 |
||
6253 |
cygwin* | mingw*) |
|
6254 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
6255 |
# about 5 minutes as the teststring grows exponentially. |
|
6256 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
6257 |
# you end up with a "frozen" computer, even though with patience |
|
6258 |
# the test eventually succeeds (with a max line length of 256k). |
|
6259 |
# Instead, let's just punt: use the minimum linelength reported by |
|
6260 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
6261 |
lt_cv_sys_max_cmd_len=8192; |
|
6262 |
;; |
|
6263 |
||
6264 |
amigaos*) |
|
6265 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
6266 |
# So we just punt and use a minimum line length of 8192. |
|
6267 |
lt_cv_sys_max_cmd_len=8192; |
|
6268 |
;; |
|
6269 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6270 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
1
by paul-mccullagh
Initial import |
6271 |
# This has been around since 386BSD, at least. Likely further. |
6272 |
if test -x /sbin/sysctl; then |
|
6273 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
6274 |
elif test -x /usr/sbin/sysctl; then |
|
6275 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
6276 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6277 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
1
by paul-mccullagh
Initial import |
6278 |
fi |
6279 |
# And add a safety zone |
|
6280 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6281 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
6282 |
;; |
|
6283 |
||
6284 |
interix*) |
|
6285 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
6286 |
lt_cv_sys_max_cmd_len=196608 |
|
6287 |
;; |
|
6288 |
||
6289 |
osf*) |
|
6290 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
6291 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
6292 |
# nice to cause kernel panics so lets avoid the loop below. |
|
6293 |
# First set a reasonable default. |
|
6294 |
lt_cv_sys_max_cmd_len=16384 |
|
6295 |
# |
|
6296 |
if test -x /sbin/sysconfig; then |
|
6297 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
6298 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
6299 |
esac |
|
6300 |
fi |
|
6301 |
;; |
|
6302 |
sco3.2v5*) |
|
6303 |
lt_cv_sys_max_cmd_len=102400 |
|
6304 |
;; |
|
6305 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
6306 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
6307 |
if test -n "$kargmax"; then |
|
6308 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
6309 |
else |
|
6310 |
lt_cv_sys_max_cmd_len=32768 |
|
6311 |
fi |
|
6312 |
;; |
|
6313 |
*) |
|
6314 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
6315 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
6316 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
6317 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
6318 |
else |
|
6319 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
6320 |
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
|
1
by paul-mccullagh
Initial import |
6321 |
= "XX$teststring") >/dev/null 2>&1 && |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6322 |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
6323 |
lt_cv_sys_max_cmd_len=$new_result && |
|
6324 |
test $i != 17 # 1/2 MB should be enough |
|
6325 |
do |
|
6326 |
i=`expr $i + 1` |
|
6327 |
teststring=$teststring$teststring |
|
6328 |
done |
|
6329 |
teststring= |
|
6330 |
# Add a significant safety factor because C++ compilers can tack on massive |
|
6331 |
# amounts of additional arguments before passing them to the linker. |
|
6332 |
# It appears as though 1/2 is a usable value. |
|
6333 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
6334 |
fi |
|
1
by paul-mccullagh
Initial import |
6335 |
;; |
6336 |
esac |
|
6337 |
||
6338 |
fi |
|
6339 |
||
6340 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6341 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
6342 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
1
by paul-mccullagh
Initial import |
6343 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6344 |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
6345 |
$as_echo "none" >&6; } |
|
1
by paul-mccullagh
Initial import |
6346 |
fi |
6347 |
||
6348 |
||
6349 |
||
6350 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6351 |
|
1
by paul-mccullagh
Initial import |
6352 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6353 |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
6354 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6355 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6356 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6357 |
else |
6358 |
||
6359 |
# These are sane defaults that work on at least a few old systems. |
|
6360 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
6361 |
||
6362 |
# Character class describing NM global symbol codes. |
|
6363 |
symcode='[BCDEGRST]' |
|
6364 |
||
6365 |
# Regexp to match symbols that can be accessed directly from C. |
|
6366 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
6367 |
||
6368 |
# Transform an extracted symbol line into a proper C declaration |
|
6369 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
|
6370 |
||
6371 |
# Transform an extracted symbol line into symbol name and symbol address |
|
6372 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
6373 |
||
6374 |
# Define system-specific variables. |
|
6375 |
case $host_os in |
|
6376 |
aix*) |
|
6377 |
symcode='[BCDT]' |
|
6378 |
;; |
|
6379 |
cygwin* | mingw* | pw32*) |
|
6380 |
symcode='[ABCDGISTW]' |
|
6381 |
;; |
|
6382 |
hpux*) # Its linker distinguishes data from code symbols |
|
6383 |
if test "$host_cpu" = ia64; then |
|
6384 |
symcode='[ABCDEGRST]' |
|
6385 |
fi |
|
6386 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6387 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
6388 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6389 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
6390 |
if test "$host_cpu" = ia64; then |
6391 |
symcode='[ABCDGIRSTW]' |
|
6392 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6393 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
6394 |
fi |
|
6395 |
;; |
|
6396 |
irix* | nonstopux*) |
|
6397 |
symcode='[BCDEGRST]' |
|
6398 |
;; |
|
6399 |
osf*) |
|
6400 |
symcode='[BCDEGQRST]' |
|
6401 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6402 |
solaris*) |
1
by paul-mccullagh
Initial import |
6403 |
symcode='[BDRT]' |
6404 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6405 |
sco3.2v5*) |
6406 |
symcode='[DT]' |
|
6407 |
;; |
|
6408 |
sysv4.2uw2*) |
|
6409 |
symcode='[DT]' |
|
6410 |
;; |
|
6411 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
6412 |
symcode='[ABDT]' |
|
6413 |
;; |
|
1
by paul-mccullagh
Initial import |
6414 |
sysv4) |
6415 |
symcode='[DFNSTU]' |
|
6416 |
;; |
|
6417 |
esac |
|
6418 |
||
6419 |
# Handle CRLF in mingw tool chain |
|
6420 |
opt_cr= |
|
6421 |
case $build_os in |
|
6422 |
mingw*) |
|
6423 |
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
6424 |
;; |
|
6425 |
esac |
|
6426 |
||
6427 |
# If we're using GNU nm, then use its standard symbol codes. |
|
6428 |
case `$NM -V 2>&1` in |
|
6429 |
*GNU* | *'with BFD'*) |
|
6430 |
symcode='[ABCDGIRSTW]' ;; |
|
6431 |
esac |
|
6432 |
||
6433 |
# Try without a prefix undercore, then with it. |
|
6434 |
for ac_symprfx in "" "_"; do |
|
6435 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6436 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
6437 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
6438 |
||
1
by paul-mccullagh
Initial import |
6439 |
# Write the raw and C identifiers. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6440 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
1
by paul-mccullagh
Initial import |
6441 |
|
6442 |
# Check to see that the pipe works correctly. |
|
6443 |
pipe_works=no |
|
6444 |
||
6445 |
rm -f conftest* |
|
6446 |
cat > conftest.$ac_ext <<EOF |
|
6447 |
#ifdef __cplusplus |
|
6448 |
extern "C" { |
|
6449 |
#endif |
|
6450 |
char nm_test_var; |
|
6451 |
void nm_test_func(){} |
|
6452 |
#ifdef __cplusplus |
|
6453 |
} |
|
6454 |
#endif |
|
6455 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
6456 |
EOF |
|
6457 |
||
6458 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
6459 |
(eval $ac_compile) 2>&5 |
|
6460 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6461 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
6462 |
(exit $ac_status); }; then |
6463 |
# Now try to grab the symbols. |
|
6464 |
nlist=conftest.nm |
|
6465 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
6466 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
6467 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6468 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
6469 |
(exit $ac_status); } && test -s "$nlist"; then |
6470 |
# Try sorting and uniquifying the output. |
|
6471 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
6472 |
mv -f "$nlist"T "$nlist" |
|
6473 |
else |
|
6474 |
rm -f "$nlist"T |
|
6475 |
fi |
|
6476 |
||
6477 |
# Make sure that we snagged all the symbols we need. |
|
6478 |
if grep ' nm_test_var$' "$nlist" >/dev/null; then |
|
6479 |
if grep ' nm_test_func$' "$nlist" >/dev/null; then |
|
6480 |
cat <<EOF > conftest.$ac_ext |
|
6481 |
#ifdef __cplusplus |
|
6482 |
extern "C" { |
|
6483 |
#endif |
|
6484 |
||
6485 |
EOF |
|
6486 |
# Now generate the symbol file. |
|
6487 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' |
|
6488 |
||
6489 |
cat <<EOF >> conftest.$ac_ext |
|
6490 |
#if defined (__STDC__) && __STDC__ |
|
6491 |
# define lt_ptr_t void * |
|
6492 |
#else |
|
6493 |
# define lt_ptr_t char * |
|
6494 |
# define const |
|
6495 |
#endif |
|
6496 |
||
6497 |
/* The mapping between symbol names and symbols. */ |
|
6498 |
const struct { |
|
6499 |
const char *name; |
|
6500 |
lt_ptr_t address; |
|
6501 |
} |
|
6502 |
lt_preloaded_symbols[] = |
|
6503 |
{ |
|
6504 |
EOF |
|
6505 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext |
|
6506 |
cat <<\EOF >> conftest.$ac_ext |
|
6507 |
{0, (lt_ptr_t) 0} |
|
6508 |
}; |
|
6509 |
||
6510 |
#ifdef __cplusplus |
|
6511 |
} |
|
6512 |
#endif |
|
6513 |
EOF |
|
6514 |
# Now try linking the two files. |
|
6515 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
6516 |
lt_save_LIBS="$LIBS" |
|
6517 |
lt_save_CFLAGS="$CFLAGS" |
|
6518 |
LIBS="conftstm.$ac_objext" |
|
6519 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
6520 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
6521 |
(eval $ac_link) 2>&5 |
|
6522 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6523 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
6524 |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
6525 |
pipe_works=yes |
|
6526 |
fi |
|
6527 |
LIBS="$lt_save_LIBS" |
|
6528 |
CFLAGS="$lt_save_CFLAGS" |
|
6529 |
else |
|
6530 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
6531 |
fi |
|
6532 |
else |
|
6533 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
6534 |
fi |
|
6535 |
else |
|
6536 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
6537 |
fi |
|
6538 |
else |
|
6539 |
echo "$progname: failed program was:" >&5 |
|
6540 |
cat conftest.$ac_ext >&5 |
|
6541 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6542 |
rm -rf conftest* conftst* |
1
by paul-mccullagh
Initial import |
6543 |
|
6544 |
# Do not use the global_symbol_pipe unless it works. |
|
6545 |
if test "$pipe_works" = yes; then |
|
6546 |
break |
|
6547 |
else |
|
6548 |
lt_cv_sys_global_symbol_pipe= |
|
6549 |
fi |
|
6550 |
done |
|
6551 |
||
6552 |
fi |
|
6553 |
||
6554 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
6555 |
lt_cv_sys_global_symbol_to_cdecl= |
|
6556 |
fi |
|
6557 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6558 |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
6559 |
$as_echo "failed" >&6; } |
|
1
by paul-mccullagh
Initial import |
6560 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6561 |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
6562 |
$as_echo "ok" >&6; } |
|
1
by paul-mccullagh
Initial import |
6563 |
fi |
6564 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6565 |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
6566 |
$as_echo_n "checking for objdir... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6567 |
if test "${lt_cv_objdir+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6568 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6569 |
else |
6570 |
rm -f .libs 2>/dev/null |
|
6571 |
mkdir .libs 2>/dev/null |
|
6572 |
if test -d .libs; then |
|
6573 |
lt_cv_objdir=.libs |
|
6574 |
else |
|
6575 |
# MS-DOS does not allow filenames that begin with a dot. |
|
6576 |
lt_cv_objdir=_libs |
|
6577 |
fi |
|
6578 |
rmdir .libs 2>/dev/null |
|
6579 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6580 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
6581 |
$as_echo "$lt_cv_objdir" >&6; } |
|
1
by paul-mccullagh
Initial import |
6582 |
objdir=$lt_cv_objdir |
6583 |
||
6584 |
||
6585 |
||
6586 |
||
6587 |
||
6588 |
case $host_os in |
|
6589 |
aix3*) |
|
6590 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
6591 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
6592 |
# vanish in a puff of smoke. |
|
6593 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
6594 |
COLLECT_NAMES= |
|
6595 |
export COLLECT_NAMES |
|
6596 |
fi |
|
6597 |
;; |
|
6598 |
esac |
|
6599 |
||
6600 |
# Sed substitution that helps us do robust quoting. It backslashifies |
|
6601 |
# metacharacters that are still active within double-quoted strings. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6602 |
Xsed='sed -e 1s/^X//' |
1
by paul-mccullagh
Initial import |
6603 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
6604 |
||
6605 |
# Same as above, but do not quote variable references. |
|
6606 |
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
|
6607 |
||
6608 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
6609 |
# double_quote_subst'ed string. |
|
6610 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
6611 |
||
6612 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
6613 |
no_glob_subst='s/\*/\\\*/g' |
|
6614 |
||
6615 |
# Constants: |
|
6616 |
rm="rm -f" |
|
6617 |
||
6618 |
# Global variables: |
|
6619 |
default_ofile=libtool |
|
6620 |
can_build_shared=yes |
|
6621 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6622 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
1
by paul-mccullagh
Initial import |
6623 |
# which needs '.lib'). |
6624 |
libext=a |
|
6625 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
6626 |
ofile="$default_ofile" |
|
6627 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
6628 |
||
6629 |
if test -n "$ac_tool_prefix"; then |
|
6630 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
6631 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6632 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6633 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6634 |
if test "${ac_cv_prog_AR+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6635 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6636 |
else |
6637 |
if test -n "$AR"; then |
|
6638 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
6639 |
else |
|
6640 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6641 |
for as_dir in $PATH |
|
6642 |
do |
|
6643 |
IFS=$as_save_IFS |
|
6644 |
test -z "$as_dir" && as_dir=. |
|
6645 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6646 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6647 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6648 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6649 |
break 2 |
6650 |
fi |
|
6651 |
done |
|
6652 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6653 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6654 |
|
6655 |
fi |
|
6656 |
fi |
|
6657 |
AR=$ac_cv_prog_AR |
|
6658 |
if test -n "$AR"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6659 |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
6660 |
$as_echo "$AR" >&6; } |
|
1
by paul-mccullagh
Initial import |
6661 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6662 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6663 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6664 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6665 |
|
1
by paul-mccullagh
Initial import |
6666 |
|
6667 |
fi |
|
6668 |
if test -z "$ac_cv_prog_AR"; then |
|
6669 |
ac_ct_AR=$AR |
|
6670 |
# Extract the first word of "ar", so it can be a program name with args. |
|
6671 |
set dummy ar; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6672 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6673 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6674 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6675 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6676 |
else |
6677 |
if test -n "$ac_ct_AR"; then |
|
6678 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
6679 |
else |
|
6680 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6681 |
for as_dir in $PATH |
|
6682 |
do |
|
6683 |
IFS=$as_save_IFS |
|
6684 |
test -z "$as_dir" && as_dir=. |
|
6685 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6686 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6687 |
ac_cv_prog_ac_ct_AR="ar" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6688 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6689 |
break 2 |
6690 |
fi |
|
6691 |
done |
|
6692 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6693 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6694 |
|
6695 |
fi |
|
6696 |
fi |
|
6697 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
6698 |
if test -n "$ac_ct_AR"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6699 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
6700 |
$as_echo "$ac_ct_AR" >&6; } |
|
1
by paul-mccullagh
Initial import |
6701 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6702 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6703 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6704 |
fi |
6705 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6706 |
if test "x$ac_ct_AR" = x; then |
6707 |
AR="false" |
|
6708 |
else |
|
6709 |
case $cross_compiling:$ac_tool_warned in |
|
6710 |
yes:) |
|
6711 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6712 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6713 |
ac_tool_warned=yes ;; |
|
6714 |
esac |
|
6715 |
AR=$ac_ct_AR |
|
6716 |
fi |
|
1
by paul-mccullagh
Initial import |
6717 |
else |
6718 |
AR="$ac_cv_prog_AR" |
|
6719 |
fi |
|
6720 |
||
6721 |
if test -n "$ac_tool_prefix"; then |
|
6722 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
6723 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6724 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6725 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6726 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6727 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6728 |
else |
6729 |
if test -n "$RANLIB"; then |
|
6730 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
6731 |
else |
|
6732 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6733 |
for as_dir in $PATH |
|
6734 |
do |
|
6735 |
IFS=$as_save_IFS |
|
6736 |
test -z "$as_dir" && as_dir=. |
|
6737 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6738 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6739 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6740 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6741 |
break 2 |
6742 |
fi |
|
6743 |
done |
|
6744 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6745 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6746 |
|
6747 |
fi |
|
6748 |
fi |
|
6749 |
RANLIB=$ac_cv_prog_RANLIB |
|
6750 |
if test -n "$RANLIB"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6751 |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
6752 |
$as_echo "$RANLIB" >&6; } |
|
1
by paul-mccullagh
Initial import |
6753 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6754 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6755 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6756 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6757 |
|
1
by paul-mccullagh
Initial import |
6758 |
|
6759 |
fi |
|
6760 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
6761 |
ac_ct_RANLIB=$RANLIB |
|
6762 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
6763 |
set dummy ranlib; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6764 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6765 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6766 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6767 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6768 |
else |
6769 |
if test -n "$ac_ct_RANLIB"; then |
|
6770 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
6771 |
else |
|
6772 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6773 |
for as_dir in $PATH |
|
6774 |
do |
|
6775 |
IFS=$as_save_IFS |
|
6776 |
test -z "$as_dir" && as_dir=. |
|
6777 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6778 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6779 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6780 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6781 |
break 2 |
6782 |
fi |
|
6783 |
done |
|
6784 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6785 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6786 |
|
6787 |
fi |
|
6788 |
fi |
|
6789 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
6790 |
if test -n "$ac_ct_RANLIB"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6791 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
6792 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
1
by paul-mccullagh
Initial import |
6793 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6794 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6795 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6796 |
fi |
6797 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6798 |
if test "x$ac_ct_RANLIB" = x; then |
6799 |
RANLIB=":" |
|
6800 |
else |
|
6801 |
case $cross_compiling:$ac_tool_warned in |
|
6802 |
yes:) |
|
6803 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6804 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6805 |
ac_tool_warned=yes ;; |
|
6806 |
esac |
|
6807 |
RANLIB=$ac_ct_RANLIB |
|
6808 |
fi |
|
1
by paul-mccullagh
Initial import |
6809 |
else |
6810 |
RANLIB="$ac_cv_prog_RANLIB" |
|
6811 |
fi |
|
6812 |
||
6813 |
if test -n "$ac_tool_prefix"; then |
|
6814 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
6815 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6816 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6817 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6818 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6819 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6820 |
else |
6821 |
if test -n "$STRIP"; then |
|
6822 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
6823 |
else |
|
6824 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6825 |
for as_dir in $PATH |
|
6826 |
do |
|
6827 |
IFS=$as_save_IFS |
|
6828 |
test -z "$as_dir" && as_dir=. |
|
6829 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6830 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6831 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6832 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6833 |
break 2 |
6834 |
fi |
|
6835 |
done |
|
6836 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6837 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6838 |
|
6839 |
fi |
|
6840 |
fi |
|
6841 |
STRIP=$ac_cv_prog_STRIP |
|
6842 |
if test -n "$STRIP"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6843 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
6844 |
$as_echo "$STRIP" >&6; } |
|
1
by paul-mccullagh
Initial import |
6845 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6846 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6847 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6848 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6849 |
|
1
by paul-mccullagh
Initial import |
6850 |
|
6851 |
fi |
|
6852 |
if test -z "$ac_cv_prog_STRIP"; then |
|
6853 |
ac_ct_STRIP=$STRIP |
|
6854 |
# Extract the first word of "strip", so it can be a program name with args. |
|
6855 |
set dummy strip; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6856 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6857 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6858 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6859 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6860 |
else |
6861 |
if test -n "$ac_ct_STRIP"; then |
|
6862 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
6863 |
else |
|
6864 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6865 |
for as_dir in $PATH |
|
6866 |
do |
|
6867 |
IFS=$as_save_IFS |
|
6868 |
test -z "$as_dir" && as_dir=. |
|
6869 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6870 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1
by paul-mccullagh
Initial import |
6871 |
ac_cv_prog_ac_ct_STRIP="strip" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6872 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by paul-mccullagh
Initial import |
6873 |
break 2 |
6874 |
fi |
|
6875 |
done |
|
6876 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6877 |
IFS=$as_save_IFS |
1
by paul-mccullagh
Initial import |
6878 |
|
6879 |
fi |
|
6880 |
fi |
|
6881 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
6882 |
if test -n "$ac_ct_STRIP"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6883 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6884 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
1
by paul-mccullagh
Initial import |
6885 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6886 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6887 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
6888 |
fi |
6889 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6890 |
if test "x$ac_ct_STRIP" = x; then |
6891 |
STRIP=":" |
|
6892 |
else |
|
6893 |
case $cross_compiling:$ac_tool_warned in |
|
6894 |
yes:) |
|
6895 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6896 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6897 |
ac_tool_warned=yes ;; |
|
6898 |
esac |
|
6899 |
STRIP=$ac_ct_STRIP |
|
6900 |
fi |
|
1
by paul-mccullagh
Initial import |
6901 |
else |
6902 |
STRIP="$ac_cv_prog_STRIP" |
|
6903 |
fi |
|
6904 |
||
6905 |
||
6906 |
old_CC="$CC" |
|
6907 |
old_CFLAGS="$CFLAGS" |
|
6908 |
||
6909 |
# Set sane defaults for various variables |
|
6910 |
test -z "$AR" && AR=ar |
|
6911 |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
6912 |
test -z "$AS" && AS=as |
|
6913 |
test -z "$CC" && CC=cc |
|
6914 |
test -z "$LTCC" && LTCC=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6915 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
1
by paul-mccullagh
Initial import |
6916 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
6917 |
test -z "$LD" && LD=ld |
|
6918 |
test -z "$LN_S" && LN_S="ln -s" |
|
6919 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
6920 |
test -z "$NM" && NM=nm |
|
6921 |
test -z "$SED" && SED=sed |
|
6922 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
6923 |
test -z "$RANLIB" && RANLIB=: |
|
6924 |
test -z "$STRIP" && STRIP=: |
|
6925 |
test -z "$ac_objext" && ac_objext=o |
|
6926 |
||
6927 |
# Determine commands to create old-style static archives. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6928 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
1
by paul-mccullagh
Initial import |
6929 |
old_postinstall_cmds='chmod 644 $oldlib' |
6930 |
old_postuninstall_cmds= |
|
6931 |
||
6932 |
if test -n "$RANLIB"; then |
|
6933 |
case $host_os in |
|
6934 |
openbsd*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6935 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
1
by paul-mccullagh
Initial import |
6936 |
;; |
6937 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6938 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
1
by paul-mccullagh
Initial import |
6939 |
;; |
6940 |
esac |
|
6941 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
6942 |
fi |
|
6943 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6944 |
for cc_temp in $compiler""; do |
6945 |
case $cc_temp in |
|
6946 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
6947 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
6948 |
\-*) ;; |
|
6949 |
*) break;; |
|
6950 |
esac |
|
6951 |
done |
|
6952 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
6953 |
||
1
by paul-mccullagh
Initial import |
6954 |
|
6955 |
# Only perform the check for file, if the check method requires it |
|
6956 |
case $deplibs_check_method in |
|
6957 |
file_magic*) |
|
6958 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6959 |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
6960 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
1
by paul-mccullagh
Initial import |
6961 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6962 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
6963 |
else |
6964 |
case $MAGIC_CMD in |
|
6965 |
[\\/*] | ?:[\\/]*) |
|
6966 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
6967 |
;; |
|
6968 |
*) |
|
6969 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
6970 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
6971 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
6972 |
for ac_dir in $ac_dummy; do |
|
6973 |
IFS="$lt_save_ifs" |
|
6974 |
test -z "$ac_dir" && ac_dir=. |
|
6975 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
6976 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
6977 |
if test -n "$file_magic_test_file"; then |
|
6978 |
case $deplibs_check_method in |
|
6979 |
"file_magic "*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
6980 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
1
by paul-mccullagh
Initial import |
6981 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6982 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
6983 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
6984 |
: |
|
6985 |
else |
|
6986 |
cat <<EOF 1>&2 |
|
6987 |
||
6988 |
*** Warning: the command libtool uses to detect shared libraries, |
|
6989 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
6990 |
*** The result is that libtool may fail to recognize shared libraries |
|
6991 |
*** as such. This will affect the creation of libtool libraries that |
|
6992 |
*** depend on shared libraries, but programs linked with such libtool |
|
6993 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
6994 |
*** may want to report the problem to your system manager and/or to |
|
6995 |
*** bug-libtool@gnu.org |
|
6996 |
||
6997 |
EOF |
|
6998 |
fi ;; |
|
6999 |
esac |
|
7000 |
fi |
|
7001 |
break |
|
7002 |
fi |
|
7003 |
done |
|
7004 |
IFS="$lt_save_ifs" |
|
7005 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
7006 |
;; |
|
7007 |
esac |
|
7008 |
fi |
|
7009 |
||
7010 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7011 |
if test -n "$MAGIC_CMD"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7012 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
7013 |
$as_echo "$MAGIC_CMD" >&6; } |
|
1
by paul-mccullagh
Initial import |
7014 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7015 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7016 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
7017 |
fi |
7018 |
||
7019 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
7020 |
if test -n "$ac_tool_prefix"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7021 |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
7022 |
$as_echo_n "checking for file... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7023 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7024 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
7025 |
else |
7026 |
case $MAGIC_CMD in |
|
7027 |
[\\/*] | ?:[\\/]*) |
|
7028 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
7029 |
;; |
|
7030 |
*) |
|
7031 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
7032 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
7033 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
7034 |
for ac_dir in $ac_dummy; do |
|
7035 |
IFS="$lt_save_ifs" |
|
7036 |
test -z "$ac_dir" && ac_dir=. |
|
7037 |
if test -f $ac_dir/file; then |
|
7038 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
7039 |
if test -n "$file_magic_test_file"; then |
|
7040 |
case $deplibs_check_method in |
|
7041 |
"file_magic "*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7042 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
1
by paul-mccullagh
Initial import |
7043 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
7044 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
7045 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
7046 |
: |
|
7047 |
else |
|
7048 |
cat <<EOF 1>&2 |
|
7049 |
||
7050 |
*** Warning: the command libtool uses to detect shared libraries, |
|
7051 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
7052 |
*** The result is that libtool may fail to recognize shared libraries |
|
7053 |
*** as such. This will affect the creation of libtool libraries that |
|
7054 |
*** depend on shared libraries, but programs linked with such libtool |
|
7055 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
7056 |
*** may want to report the problem to your system manager and/or to |
|
7057 |
*** bug-libtool@gnu.org |
|
7058 |
||
7059 |
EOF |
|
7060 |
fi ;; |
|
7061 |
esac |
|
7062 |
fi |
|
7063 |
break |
|
7064 |
fi |
|
7065 |
done |
|
7066 |
IFS="$lt_save_ifs" |
|
7067 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
7068 |
;; |
|
7069 |
esac |
|
7070 |
fi |
|
7071 |
||
7072 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7073 |
if test -n "$MAGIC_CMD"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7074 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
7075 |
$as_echo "$MAGIC_CMD" >&6; } |
|
1
by paul-mccullagh
Initial import |
7076 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7077 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7078 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
7079 |
fi |
7080 |
||
7081 |
else |
|
7082 |
MAGIC_CMD=: |
|
7083 |
fi |
|
7084 |
fi |
|
7085 |
||
7086 |
fi |
|
7087 |
;; |
|
7088 |
esac |
|
7089 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7090 |
|
7091 |
case $host_os in |
|
7092 |
rhapsody* | darwin*) |
|
7093 |
if test -n "$ac_tool_prefix"; then |
|
7094 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
7095 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
7096 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7097 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7098 |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
|
7099 |
$as_echo_n "(cached) " >&6 |
|
7100 |
else |
|
7101 |
if test -n "$DSYMUTIL"; then |
|
7102 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
7103 |
else |
|
7104 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7105 |
for as_dir in $PATH |
|
7106 |
do |
|
7107 |
IFS=$as_save_IFS |
|
7108 |
test -z "$as_dir" && as_dir=. |
|
7109 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7110 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7111 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
7112 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7113 |
break 2 |
|
7114 |
fi |
|
7115 |
done |
|
7116 |
done |
|
7117 |
IFS=$as_save_IFS |
|
7118 |
||
7119 |
fi |
|
7120 |
fi |
|
7121 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
7122 |
if test -n "$DSYMUTIL"; then |
|
7123 |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
|
7124 |
$as_echo "$DSYMUTIL" >&6; } |
|
7125 |
else |
|
7126 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7127 |
$as_echo "no" >&6; } |
|
7128 |
fi |
|
7129 |
||
7130 |
||
7131 |
fi |
|
7132 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
7133 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
7134 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
7135 |
set dummy dsymutil; ac_word=$2 |
|
7136 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7137 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7138 |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
|
7139 |
$as_echo_n "(cached) " >&6 |
|
7140 |
else |
|
7141 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
7142 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
7143 |
else |
|
7144 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7145 |
for as_dir in $PATH |
|
7146 |
do |
|
7147 |
IFS=$as_save_IFS |
|
7148 |
test -z "$as_dir" && as_dir=. |
|
7149 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7150 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7151 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
7152 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7153 |
break 2 |
|
7154 |
fi |
|
7155 |
done |
|
7156 |
done |
|
7157 |
IFS=$as_save_IFS |
|
7158 |
||
7159 |
fi |
|
7160 |
fi |
|
7161 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
7162 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
7163 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
|
7164 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
7165 |
else |
|
7166 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7167 |
$as_echo "no" >&6; } |
|
7168 |
fi |
|
7169 |
||
7170 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
7171 |
DSYMUTIL=":" |
|
7172 |
else |
|
7173 |
case $cross_compiling:$ac_tool_warned in |
|
7174 |
yes:) |
|
7175 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7176 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7177 |
ac_tool_warned=yes ;; |
|
7178 |
esac |
|
7179 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
7180 |
fi |
|
7181 |
else |
|
7182 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
7183 |
fi |
|
7184 |
||
7185 |
if test -n "$ac_tool_prefix"; then |
|
7186 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
7187 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
7188 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7189 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7190 |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
|
7191 |
$as_echo_n "(cached) " >&6 |
|
7192 |
else |
|
7193 |
if test -n "$NMEDIT"; then |
|
7194 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
7195 |
else |
|
7196 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7197 |
for as_dir in $PATH |
|
7198 |
do |
|
7199 |
IFS=$as_save_IFS |
|
7200 |
test -z "$as_dir" && as_dir=. |
|
7201 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7202 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7203 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
7204 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7205 |
break 2 |
|
7206 |
fi |
|
7207 |
done |
|
7208 |
done |
|
7209 |
IFS=$as_save_IFS |
|
7210 |
||
7211 |
fi |
|
7212 |
fi |
|
7213 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
7214 |
if test -n "$NMEDIT"; then |
|
7215 |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
|
7216 |
$as_echo "$NMEDIT" >&6; } |
|
7217 |
else |
|
7218 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7219 |
$as_echo "no" >&6; } |
|
7220 |
fi |
|
7221 |
||
7222 |
||
7223 |
fi |
|
7224 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
7225 |
ac_ct_NMEDIT=$NMEDIT |
|
7226 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
7227 |
set dummy nmedit; ac_word=$2 |
|
7228 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7229 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7230 |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
|
7231 |
$as_echo_n "(cached) " >&6 |
|
7232 |
else |
|
7233 |
if test -n "$ac_ct_NMEDIT"; then |
|
7234 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
7235 |
else |
|
7236 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7237 |
for as_dir in $PATH |
|
7238 |
do |
|
7239 |
IFS=$as_save_IFS |
|
7240 |
test -z "$as_dir" && as_dir=. |
|
7241 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7242 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7243 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
7244 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7245 |
break 2 |
|
7246 |
fi |
|
7247 |
done |
|
7248 |
done |
|
7249 |
IFS=$as_save_IFS |
|
7250 |
||
7251 |
fi |
|
7252 |
fi |
|
7253 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
7254 |
if test -n "$ac_ct_NMEDIT"; then |
|
7255 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
|
7256 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
7257 |
else |
|
7258 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7259 |
$as_echo "no" >&6; } |
|
7260 |
fi |
|
7261 |
||
7262 |
if test "x$ac_ct_NMEDIT" = x; then |
|
7263 |
NMEDIT=":" |
|
7264 |
else |
|
7265 |
case $cross_compiling:$ac_tool_warned in |
|
7266 |
yes:) |
|
7267 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7268 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7269 |
ac_tool_warned=yes ;; |
|
7270 |
esac |
|
7271 |
NMEDIT=$ac_ct_NMEDIT |
|
7272 |
fi |
|
7273 |
else |
|
7274 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
7275 |
fi |
|
7276 |
||
7277 |
||
7278 |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
|
7279 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
7280 |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
|
7281 |
$as_echo_n "(cached) " >&6 |
|
7282 |
else |
|
7283 |
lt_cv_apple_cc_single_mod=no |
|
7284 |
if test -z "${LT_MULTI_MODULE}"; then |
|
7285 |
# By default we will add the -single_module flag. You can override |
|
7286 |
# by either setting the environment variable LT_MULTI_MODULE |
|
7287 |
# non-empty at configure time, or by adding -multi_module to the |
|
7288 |
# link flags. |
|
7289 |
echo "int foo(void){return 1;}" > conftest.c |
|
7290 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7291 |
-dynamiclib ${wl}-single_module conftest.c |
|
7292 |
if test -f libconftest.dylib; then |
|
7293 |
lt_cv_apple_cc_single_mod=yes |
|
7294 |
rm -rf libconftest.dylib* |
|
7295 |
fi |
|
7296 |
rm conftest.c |
|
7297 |
fi |
|
7298 |
fi |
|
7299 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
|
7300 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
7301 |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
|
7302 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
7303 |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
|
7304 |
$as_echo_n "(cached) " >&6 |
|
7305 |
else |
|
7306 |
lt_cv_ld_exported_symbols_list=no |
|
7307 |
save_LDFLAGS=$LDFLAGS |
|
7308 |
echo "_main" > conftest.sym |
|
7309 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
7310 |
cat >conftest.$ac_ext <<_ACEOF |
|
7311 |
/* confdefs.h. */ |
|
7312 |
_ACEOF |
|
7313 |
cat confdefs.h >>conftest.$ac_ext |
|
7314 |
cat >>conftest.$ac_ext <<_ACEOF |
|
7315 |
/* end confdefs.h. */ |
|
7316 |
||
7317 |
int |
|
7318 |
main () |
|
7319 |
{ |
|
7320 |
||
7321 |
; |
|
7322 |
return 0; |
|
7323 |
} |
|
7324 |
_ACEOF |
|
7325 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
7326 |
if { (ac_try="$ac_link" |
|
7327 |
case "(($ac_try" in |
|
7328 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
7329 |
*) ac_try_echo=$ac_try;; |
|
7330 |
esac |
|
7331 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
7332 |
$as_echo "$ac_try_echo") >&5 |
|
7333 |
(eval "$ac_link") 2>conftest.er1 |
|
7334 |
ac_status=$? |
|
7335 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
7336 |
rm -f conftest.er1 |
|
7337 |
cat conftest.err >&5 |
|
7338 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7339 |
(exit $ac_status); } && { |
|
7340 |
test -z "$ac_c_werror_flag" || |
|
7341 |
test ! -s conftest.err |
|
7342 |
} && test -s conftest$ac_exeext && { |
|
7343 |
test "$cross_compiling" = yes || |
|
7344 |
$as_test_x conftest$ac_exeext |
|
7345 |
}; then |
|
7346 |
lt_cv_ld_exported_symbols_list=yes |
|
7347 |
else |
|
7348 |
$as_echo "$as_me: failed program was:" >&5 |
|
7349 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
7350 |
||
7351 |
lt_cv_ld_exported_symbols_list=no |
|
7352 |
fi |
|
7353 |
||
7354 |
rm -rf conftest.dSYM |
|
7355 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
7356 |
conftest$ac_exeext conftest.$ac_ext |
|
7357 |
LDFLAGS="$save_LDFLAGS" |
|
7358 |
||
7359 |
fi |
|
7360 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
7361 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
7362 |
case $host_os in |
|
7363 |
rhapsody* | darwin1.[0123]) |
|
7364 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
7365 |
darwin1.*) |
|
7366 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7367 |
darwin*) |
|
7368 |
# if running on 10.5 or later, the deployment target defaults |
|
7369 |
# to the OS version, if on x86, and 10.4, the deployment |
|
7370 |
# target defaults to 10.4. Don't you love it? |
|
7371 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
7372 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
7373 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7374 |
10.[012]*) |
|
7375 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7376 |
10.*) |
|
7377 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7378 |
esac |
|
7379 |
;; |
|
7380 |
esac |
|
7381 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
7382 |
_lt_dar_single_mod='$single_module' |
|
7383 |
fi |
|
7384 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
7385 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
7386 |
else |
|
7387 |
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" |
|
7388 |
fi |
|
7389 |
if test "$DSYMUTIL" != ":"; then |
|
7390 |
_lt_dsymutil="~$DSYMUTIL \$lib || :" |
|
7391 |
else |
|
7392 |
_lt_dsymutil= |
|
7393 |
fi |
|
7394 |
;; |
|
7395 |
esac |
|
7396 |
||
7397 |
||
1
by paul-mccullagh
Initial import |
7398 |
enable_dlopen=no |
7399 |
enable_win32_dll=no |
|
7400 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7401 |
# Check whether --enable-libtool-lock was given. |
1
by paul-mccullagh
Initial import |
7402 |
if test "${enable_libtool_lock+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7403 |
enableval=$enable_libtool_lock; |
7404 |
fi |
|
1
by paul-mccullagh
Initial import |
7405 |
|
7406 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
7407 |
||
7408 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7409 |
# Check whether --with-pic was given. |
1
by paul-mccullagh
Initial import |
7410 |
if test "${with_pic+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7411 |
withval=$with_pic; pic_mode="$withval" |
1
by paul-mccullagh
Initial import |
7412 |
else |
7413 |
pic_mode=default |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7414 |
fi |
7415 |
||
1
by paul-mccullagh
Initial import |
7416 |
test -z "$pic_mode" && pic_mode=default |
7417 |
||
7418 |
# Use C for the default configuration in the libtool script |
|
7419 |
tagname= |
|
7420 |
lt_save_CC="$CC" |
|
7421 |
ac_ext=c |
|
7422 |
ac_cpp='$CPP $CPPFLAGS' |
|
7423 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7424 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7425 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7426 |
||
7427 |
||
7428 |
# Source file extension for C test sources. |
|
7429 |
ac_ext=c |
|
7430 |
||
7431 |
# Object file extension for compiled C test sources. |
|
7432 |
objext=o |
|
7433 |
objext=$objext |
|
7434 |
||
7435 |
# Code to be used in simple compile tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7436 |
lt_simple_compile_test_code="int some_variable = 0;" |
1
by paul-mccullagh
Initial import |
7437 |
|
7438 |
# Code to be used in simple link tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7439 |
lt_simple_link_test_code='int main(){return(0);}' |
1
by paul-mccullagh
Initial import |
7440 |
|
7441 |
||
7442 |
# If no C compiler was specified, use CC. |
|
7443 |
LTCC=${LTCC-"$CC"} |
|
7444 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7445 |
# If no C compiler flags were specified, use CFLAGS. |
7446 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
7447 |
||
1
by paul-mccullagh
Initial import |
7448 |
# Allow CC to be a program name with arguments. |
7449 |
compiler=$CC |
|
7450 |
||
7451 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7452 |
# save warnings/boilerplate of simple test code |
7453 |
ac_outfile=conftest.$ac_objext |
|
7454 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
7455 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
7456 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
7457 |
$rm conftest* |
|
7458 |
||
7459 |
ac_outfile=conftest.$ac_objext |
|
7460 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
7461 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
7462 |
_lt_linker_boilerplate=`cat conftest.err` |
|
7463 |
$rm -r conftest* |
|
1
by paul-mccullagh
Initial import |
7464 |
|
7465 |
||
7466 |
||
7467 |
lt_prog_compiler_no_builtin_flag= |
|
7468 |
||
7469 |
if test "$GCC" = yes; then |
|
7470 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
|
7471 |
||
7472 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7473 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7474 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7475 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7476 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
7477 |
else |
7478 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
7479 |
ac_outfile=conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7480 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
7481 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
7482 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
7483 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
7484 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
7485 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
7486 |
# The option is referenced via a variable to avoid confusing sed. |
|
7487 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7488 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
7489 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7490 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7491 |
(eval echo "\"\$as_me:7491: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
7492 |
(eval "$lt_compile" 2>conftest.err) |
7493 |
ac_status=$? |
|
7494 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7495 |
echo "$as_me:7495: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
7496 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7497 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7498 |
# So say no if there are warnings other than the usual output. |
7499 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
7500 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
7501 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
7502 |
lt_cv_prog_compiler_rtti_exceptions=yes |
7503 |
fi |
|
7504 |
fi |
|
7505 |
$rm conftest* |
|
7506 |
||
7507 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7508 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
7509 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
1
by paul-mccullagh
Initial import |
7510 |
|
7511 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
7512 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
7513 |
else |
|
7514 |
: |
|
7515 |
fi |
|
7516 |
||
7517 |
fi |
|
7518 |
||
7519 |
lt_prog_compiler_wl= |
|
7520 |
lt_prog_compiler_pic= |
|
7521 |
lt_prog_compiler_static= |
|
7522 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7523 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
7524 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7525 |
|
7526 |
if test "$GCC" = yes; then |
|
7527 |
lt_prog_compiler_wl='-Wl,' |
|
7528 |
lt_prog_compiler_static='-static' |
|
7529 |
||
7530 |
case $host_os in |
|
7531 |
aix*) |
|
7532 |
# All AIX code is PIC. |
|
7533 |
if test "$host_cpu" = ia64; then |
|
7534 |
# AIX 5 now supports IA64 processor |
|
7535 |
lt_prog_compiler_static='-Bstatic' |
|
7536 |
fi |
|
7537 |
;; |
|
7538 |
||
7539 |
amigaos*) |
|
7540 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
7541 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
7542 |
# like `-m68040'. |
|
7543 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
7544 |
;; |
|
7545 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7546 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1
by paul-mccullagh
Initial import |
7547 |
# PIC is the default for these OSes. |
7548 |
;; |
|
7549 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7550 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
7551 |
# This hack is so that the source file can tell whether it is being |
7552 |
# built for inclusion in a dll (and should export symbols for example). |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7553 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
7554 |
# (--disable-auto-import) libraries |
|
1
by paul-mccullagh
Initial import |
7555 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
7556 |
;; |
|
7557 |
||
7558 |
darwin* | rhapsody*) |
|
7559 |
# PIC is the default on this platform |
|
7560 |
# Common symbols not allowed in MH_DYLIB files |
|
7561 |
lt_prog_compiler_pic='-fno-common' |
|
7562 |
;; |
|
7563 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7564 |
interix[3-9]*) |
7565 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
7566 |
# Instead, we relocate shared libraries at runtime. |
|
7567 |
;; |
|
7568 |
||
1
by paul-mccullagh
Initial import |
7569 |
msdosdjgpp*) |
7570 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
7571 |
# on systems that don't support them. |
|
7572 |
lt_prog_compiler_can_build_shared=no |
|
7573 |
enable_shared=no |
|
7574 |
;; |
|
7575 |
||
7576 |
sysv4*MP*) |
|
7577 |
if test -d /usr/nec; then |
|
7578 |
lt_prog_compiler_pic=-Kconform_pic |
|
7579 |
fi |
|
7580 |
;; |
|
7581 |
||
7582 |
hpux*) |
|
7583 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
7584 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7585 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
7586 |
hppa*64*|ia64*) |
7587 |
# +Z the default |
|
7588 |
;; |
|
7589 |
*) |
|
7590 |
lt_prog_compiler_pic='-fPIC' |
|
7591 |
;; |
|
7592 |
esac |
|
7593 |
;; |
|
7594 |
||
7595 |
*) |
|
7596 |
lt_prog_compiler_pic='-fPIC' |
|
7597 |
;; |
|
7598 |
esac |
|
7599 |
else |
|
7600 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
7601 |
case $host_os in |
|
7602 |
aix*) |
|
7603 |
lt_prog_compiler_wl='-Wl,' |
|
7604 |
if test "$host_cpu" = ia64; then |
|
7605 |
# AIX 5 now supports IA64 processor |
|
7606 |
lt_prog_compiler_static='-Bstatic' |
|
7607 |
else |
|
7608 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
7609 |
fi |
|
7610 |
;; |
|
7611 |
darwin*) |
|
7612 |
# PIC is the default on this platform |
|
7613 |
# Common symbols not allowed in MH_DYLIB files |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7614 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
7615 |
xlc*) |
7616 |
lt_prog_compiler_pic='-qnocommon' |
|
7617 |
lt_prog_compiler_wl='-Wl,' |
|
7618 |
;; |
|
7619 |
esac |
|
7620 |
;; |
|
7621 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7622 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
7623 |
# This hack is so that the source file can tell whether it is being |
7624 |
# built for inclusion in a dll (and should export symbols for example). |
|
7625 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
7626 |
;; |
|
7627 |
||
7628 |
hpux9* | hpux10* | hpux11*) |
|
7629 |
lt_prog_compiler_wl='-Wl,' |
|
7630 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
7631 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7632 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
7633 |
hppa*64*|ia64*) |
7634 |
# +Z the default |
|
7635 |
;; |
|
7636 |
*) |
|
7637 |
lt_prog_compiler_pic='+Z' |
|
7638 |
;; |
|
7639 |
esac |
|
7640 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
7641 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
7642 |
;; |
|
7643 |
||
7644 |
irix5* | irix6* | nonstopux*) |
|
7645 |
lt_prog_compiler_wl='-Wl,' |
|
7646 |
# PIC (with -KPIC) is the default. |
|
7647 |
lt_prog_compiler_static='-non_shared' |
|
7648 |
;; |
|
7649 |
||
7650 |
newsos6) |
|
7651 |
lt_prog_compiler_pic='-KPIC' |
|
7652 |
lt_prog_compiler_static='-Bstatic' |
|
7653 |
;; |
|
7654 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7655 |
linux* | k*bsd*-gnu) |
7656 |
case $cc_basename in |
|
1
by paul-mccullagh
Initial import |
7657 |
icc* | ecc*) |
7658 |
lt_prog_compiler_wl='-Wl,' |
|
7659 |
lt_prog_compiler_pic='-KPIC' |
|
7660 |
lt_prog_compiler_static='-static' |
|
7661 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7662 |
pgcc* | pgf77* | pgf90* | pgf95*) |
7663 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
7664 |
# which looks to be a dead project) |
|
7665 |
lt_prog_compiler_wl='-Wl,' |
|
7666 |
lt_prog_compiler_pic='-fpic' |
|
7667 |
lt_prog_compiler_static='-Bstatic' |
|
7668 |
;; |
|
1
by paul-mccullagh
Initial import |
7669 |
ccc*) |
7670 |
lt_prog_compiler_wl='-Wl,' |
|
7671 |
# All Alpha code is PIC. |
|
7672 |
lt_prog_compiler_static='-non_shared' |
|
7673 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7674 |
*) |
7675 |
case `$CC -V 2>&1 | sed 5q` in |
|
7676 |
*Sun\ C*) |
|
7677 |
# Sun C 5.9 |
|
7678 |
lt_prog_compiler_pic='-KPIC' |
|
7679 |
lt_prog_compiler_static='-Bstatic' |
|
7680 |
lt_prog_compiler_wl='-Wl,' |
|
7681 |
;; |
|
7682 |
*Sun\ F*) |
|
7683 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
7684 |
lt_prog_compiler_pic='-KPIC' |
|
7685 |
lt_prog_compiler_static='-Bstatic' |
|
7686 |
lt_prog_compiler_wl='' |
|
7687 |
;; |
|
7688 |
esac |
|
7689 |
;; |
|
1
by paul-mccullagh
Initial import |
7690 |
esac |
7691 |
;; |
|
7692 |
||
7693 |
osf3* | osf4* | osf5*) |
|
7694 |
lt_prog_compiler_wl='-Wl,' |
|
7695 |
# All OSF/1 code is PIC. |
|
7696 |
lt_prog_compiler_static='-non_shared' |
|
7697 |
;; |
|
7698 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7699 |
rdos*) |
7700 |
lt_prog_compiler_static='-non_shared' |
|
1
by paul-mccullagh
Initial import |
7701 |
;; |
7702 |
||
7703 |
solaris*) |
|
7704 |
lt_prog_compiler_pic='-KPIC' |
|
7705 |
lt_prog_compiler_static='-Bstatic' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7706 |
case $cc_basename in |
7707 |
f77* | f90* | f95*) |
|
7708 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
7709 |
*) |
|
7710 |
lt_prog_compiler_wl='-Wl,';; |
|
7711 |
esac |
|
1
by paul-mccullagh
Initial import |
7712 |
;; |
7713 |
||
7714 |
sunos4*) |
|
7715 |
lt_prog_compiler_wl='-Qoption ld ' |
|
7716 |
lt_prog_compiler_pic='-PIC' |
|
7717 |
lt_prog_compiler_static='-Bstatic' |
|
7718 |
;; |
|
7719 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7720 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
1
by paul-mccullagh
Initial import |
7721 |
lt_prog_compiler_wl='-Wl,' |
7722 |
lt_prog_compiler_pic='-KPIC' |
|
7723 |
lt_prog_compiler_static='-Bstatic' |
|
7724 |
;; |
|
7725 |
||
7726 |
sysv4*MP*) |
|
7727 |
if test -d /usr/nec ;then |
|
7728 |
lt_prog_compiler_pic='-Kconform_pic' |
|
7729 |
lt_prog_compiler_static='-Bstatic' |
|
7730 |
fi |
|
7731 |
;; |
|
7732 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7733 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
7734 |
lt_prog_compiler_wl='-Wl,' |
|
7735 |
lt_prog_compiler_pic='-KPIC' |
|
7736 |
lt_prog_compiler_static='-Bstatic' |
|
7737 |
;; |
|
7738 |
||
7739 |
unicos*) |
|
7740 |
lt_prog_compiler_wl='-Wl,' |
|
7741 |
lt_prog_compiler_can_build_shared=no |
|
7742 |
;; |
|
7743 |
||
1
by paul-mccullagh
Initial import |
7744 |
uts4*) |
7745 |
lt_prog_compiler_pic='-pic' |
|
7746 |
lt_prog_compiler_static='-Bstatic' |
|
7747 |
;; |
|
7748 |
||
7749 |
*) |
|
7750 |
lt_prog_compiler_can_build_shared=no |
|
7751 |
;; |
|
7752 |
esac |
|
7753 |
fi |
|
7754 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7755 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
7756 |
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
1
by paul-mccullagh
Initial import |
7757 |
|
7758 |
# |
|
7759 |
# Check to make sure the PIC flag actually works. |
|
7760 |
# |
|
7761 |
if test -n "$lt_prog_compiler_pic"; then |
|
7762 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7763 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
7764 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
7765 |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
|
7766 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
7767 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7768 |
lt_cv_prog_compiler_pic_works=no |
1
by paul-mccullagh
Initial import |
7769 |
ac_outfile=conftest.$ac_objext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7770 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
7771 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
7772 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
7773 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
7774 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
7775 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
7776 |
# The option is referenced via a variable to avoid confusing sed. |
|
7777 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7778 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
7779 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7780 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7781 |
(eval echo "\"\$as_me:7781: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
7782 |
(eval "$lt_compile" 2>conftest.err) |
7783 |
ac_status=$? |
|
7784 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7785 |
echo "$as_me:7785: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
7786 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7787 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7788 |
# So say no if there are warnings other than the usual output. |
7789 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
7790 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
7791 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
7792 |
lt_cv_prog_compiler_pic_works=yes |
|
1
by paul-mccullagh
Initial import |
7793 |
fi |
7794 |
fi |
|
7795 |
$rm conftest* |
|
7796 |
||
7797 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7798 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
7799 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
1
by paul-mccullagh
Initial import |
7800 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7801 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
1
by paul-mccullagh
Initial import |
7802 |
case $lt_prog_compiler_pic in |
7803 |
"" | " "*) ;; |
|
7804 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
7805 |
esac |
|
7806 |
else |
|
7807 |
lt_prog_compiler_pic= |
|
7808 |
lt_prog_compiler_can_build_shared=no |
|
7809 |
fi |
|
7810 |
||
7811 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7812 |
case $host_os in |
1
by paul-mccullagh
Initial import |
7813 |
# For platforms which do not support PIC, -DPIC is meaningless: |
7814 |
*djgpp*) |
|
7815 |
lt_prog_compiler_pic= |
|
7816 |
;; |
|
7817 |
*) |
|
7818 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
7819 |
;; |
|
7820 |
esac |
|
7821 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7822 |
# |
7823 |
# Check to make sure the static flag actually works. |
|
7824 |
# |
|
7825 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
7826 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
7827 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
7828 |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
|
7829 |
$as_echo_n "(cached) " >&6 |
|
7830 |
else |
|
7831 |
lt_cv_prog_compiler_static_works=no |
|
7832 |
save_LDFLAGS="$LDFLAGS" |
|
7833 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
7834 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
7835 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
7836 |
# The linker can only warn and ignore the option if not recognized |
|
7837 |
# So say no if there are warnings |
|
7838 |
if test -s conftest.err; then |
|
7839 |
# Append any errors to the config.log. |
|
7840 |
cat conftest.err 1>&5 |
|
7841 |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
7842 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
7843 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
7844 |
lt_cv_prog_compiler_static_works=yes |
|
7845 |
fi |
|
7846 |
else |
|
7847 |
lt_cv_prog_compiler_static_works=yes |
|
7848 |
fi |
|
7849 |
fi |
|
7850 |
$rm -r conftest* |
|
7851 |
LDFLAGS="$save_LDFLAGS" |
|
7852 |
||
7853 |
fi |
|
7854 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
|
7855 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
7856 |
||
7857 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
7858 |
: |
|
7859 |
else |
|
7860 |
lt_prog_compiler_static= |
|
7861 |
fi |
|
7862 |
||
7863 |
||
7864 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
7865 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7866 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7867 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
7868 |
else |
7869 |
lt_cv_prog_compiler_c_o=no |
|
7870 |
$rm -r conftest 2>/dev/null |
|
7871 |
mkdir conftest |
|
7872 |
cd conftest |
|
7873 |
mkdir out |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7874 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
7875 |
|
7876 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
7877 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
7878 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
7879 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
7880 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
7881 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7882 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
7883 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7884 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7885 |
(eval echo "\"\$as_me:7885: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
7886 |
(eval "$lt_compile" 2>out/conftest.err) |
7887 |
ac_status=$? |
|
7888 |
cat out/conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
7889 |
echo "$as_me:7889: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
7890 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7891 |
then |
|
7892 |
# The compiler can only warn and ignore the option if not recognized |
|
7893 |
# So say no if there are warnings |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7894 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
7895 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
7896 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
7897 |
lt_cv_prog_compiler_c_o=yes |
7898 |
fi |
|
7899 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7900 |
chmod u+w . 2>&5 |
1
by paul-mccullagh
Initial import |
7901 |
$rm conftest* |
7902 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
7903 |
# template instantiation |
|
7904 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
7905 |
$rm out/* && rmdir out |
|
7906 |
cd .. |
|
7907 |
rmdir conftest |
|
7908 |
$rm conftest* |
|
7909 |
||
7910 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7911 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
7912 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
1
by paul-mccullagh
Initial import |
7913 |
|
7914 |
||
7915 |
hard_links="nottested" |
|
7916 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
7917 |
# do not overwrite the value of need_locks provided by the user |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7918 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
7919 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7920 |
hard_links=yes |
7921 |
$rm conftest* |
|
7922 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
7923 |
touch conftest.a |
|
7924 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
7925 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7926 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
7927 |
$as_echo "$hard_links" >&6; } |
|
1
by paul-mccullagh
Initial import |
7928 |
if test "$hard_links" = no; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7929 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
7930 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1
by paul-mccullagh
Initial import |
7931 |
need_locks=warn |
7932 |
fi |
|
7933 |
else |
|
7934 |
need_locks=no |
|
7935 |
fi |
|
7936 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7937 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
7938 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
7939 |
|
7940 |
runpath_var= |
|
7941 |
allow_undefined_flag= |
|
7942 |
enable_shared_with_static_runtimes=no |
|
7943 |
archive_cmds= |
|
7944 |
archive_expsym_cmds= |
|
7945 |
old_archive_From_new_cmds= |
|
7946 |
old_archive_from_expsyms_cmds= |
|
7947 |
export_dynamic_flag_spec= |
|
7948 |
whole_archive_flag_spec= |
|
7949 |
thread_safe_flag_spec= |
|
7950 |
hardcode_libdir_flag_spec= |
|
7951 |
hardcode_libdir_flag_spec_ld= |
|
7952 |
hardcode_libdir_separator= |
|
7953 |
hardcode_direct=no |
|
7954 |
hardcode_minus_L=no |
|
7955 |
hardcode_shlibpath_var=unsupported |
|
7956 |
link_all_deplibs=unknown |
|
7957 |
hardcode_automatic=no |
|
7958 |
module_cmds= |
|
7959 |
module_expsym_cmds= |
|
7960 |
always_export_symbols=no |
|
7961 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
7962 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
7963 |
# included in the symbol list |
|
7964 |
include_expsyms= |
|
7965 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
7966 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
7967 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
7968 |
# as well as any symbol that contains `d'. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7969 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1
by paul-mccullagh
Initial import |
7970 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
7971 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
7972 |
# the symbol is explicitly referenced. Since portable code cannot |
|
7973 |
# rely on this symbol name, it's probably fine to never include it in |
|
7974 |
# preloaded symbol tables. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7975 |
# Exclude shared library initialization/finalization symbols. |
1
by paul-mccullagh
Initial import |
7976 |
extract_expsyms_cmds= |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7977 |
# Just being paranoid about ensuring that cc_basename is set. |
7978 |
for cc_temp in $compiler""; do |
|
7979 |
case $cc_temp in |
|
7980 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
7981 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
7982 |
\-*) ;; |
|
7983 |
*) break;; |
|
7984 |
esac |
|
7985 |
done |
|
7986 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
1
by paul-mccullagh
Initial import |
7987 |
|
7988 |
case $host_os in |
|
7989 |
cygwin* | mingw* | pw32*) |
|
7990 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
7991 |
# When not using gcc, we currently assume that we are using |
|
7992 |
# Microsoft Visual C++. |
|
7993 |
if test "$GCC" != yes; then |
|
7994 |
with_gnu_ld=no |
|
7995 |
fi |
|
7996 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
7997 |
interix*) |
7998 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
7999 |
with_gnu_ld=yes |
|
8000 |
;; |
|
1
by paul-mccullagh
Initial import |
8001 |
openbsd*) |
8002 |
with_gnu_ld=no |
|
8003 |
;; |
|
8004 |
esac |
|
8005 |
||
8006 |
ld_shlibs=yes |
|
8007 |
if test "$with_gnu_ld" = yes; then |
|
8008 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
8009 |
wlarc='${wl}' |
|
8010 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8011 |
# Set some defaults for GNU ld with shared library support. These |
8012 |
# are reset later if shared libraries are not supported. Putting them |
|
8013 |
# here allows them to be overridden if necessary. |
|
8014 |
runpath_var=LD_RUN_PATH |
|
8015 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
|
8016 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
8017 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
8018 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
8019 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
8020 |
else |
|
8021 |
whole_archive_flag_spec= |
|
8022 |
fi |
|
8023 |
supports_anon_versioning=no |
|
8024 |
case `$LD -v 2>/dev/null` in |
|
8025 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
8026 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8027 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8028 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8029 |
*) supports_anon_versioning=yes ;; |
|
8030 |
esac |
|
8031 |
||
1
by paul-mccullagh
Initial import |
8032 |
# See if GNU ld supports shared libraries. |
8033 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8034 |
aix[3-9]*) |
1
by paul-mccullagh
Initial import |
8035 |
# On AIX/PPC, the GNU linker is very broken |
8036 |
if test "$host_cpu" != ia64; then |
|
8037 |
ld_shlibs=no |
|
8038 |
cat <<EOF 1>&2 |
|
8039 |
||
8040 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
8041 |
*** to be unable to reliably create shared libraries on AIX. |
|
8042 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
8043 |
*** really care for shared libraries, you may want to modify your PATH |
|
8044 |
*** so that a non-GNU linker is found, and then restart. |
|
8045 |
||
8046 |
EOF |
|
8047 |
fi |
|
8048 |
;; |
|
8049 |
||
8050 |
amigaos*) |
|
8051 |
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)' |
|
8052 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8053 |
hardcode_minus_L=yes |
|
8054 |
||
8055 |
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
8056 |
# that the semantics of dynamic libraries on AmigaOS, at least up |
|
8057 |
# to version 4, is to share data among multiple programs linked |
|
8058 |
# with the same dynamic library. Since this doesn't match the |
|
8059 |
# behavior of shared libraries on other platforms, we can't use |
|
8060 |
# them. |
|
8061 |
ld_shlibs=no |
|
8062 |
;; |
|
8063 |
||
8064 |
beos*) |
|
8065 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
8066 |
allow_undefined_flag=unsupported |
|
8067 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
8068 |
# support --undefined. This deserves some investigation. FIXME |
|
8069 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8070 |
else |
|
8071 |
ld_shlibs=no |
|
8072 |
fi |
|
8073 |
;; |
|
8074 |
||
8075 |
cygwin* | mingw* | pw32*) |
|
8076 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
8077 |
# as there is no search path for DLLs. |
|
8078 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8079 |
allow_undefined_flag=unsupported |
|
8080 |
always_export_symbols=no |
|
8081 |
enable_shared_with_static_runtimes=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8082 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1
by paul-mccullagh
Initial import |
8083 |
|
8084 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8085 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1
by paul-mccullagh
Initial import |
8086 |
# If the export-symbols file already is a .def file (1st line |
8087 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
8088 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
8089 |
cp $export_symbols $output_objdir/$soname.def; |
|
8090 |
else |
|
8091 |
echo EXPORTS > $output_objdir/$soname.def; |
|
8092 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
8093 |
fi~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8094 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
8095 |
else |
|
8096 |
ld_shlibs=no |
|
8097 |
fi |
|
8098 |
;; |
|
8099 |
||
8100 |
interix[3-9]*) |
|
8101 |
hardcode_direct=no |
|
8102 |
hardcode_shlibpath_var=no |
|
8103 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
8104 |
export_dynamic_flag_spec='${wl}-E' |
|
8105 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
8106 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
8107 |
# default) and relocated if they conflict, which is a slow very memory |
|
8108 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
8109 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
8110 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
8111 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
8112 |
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' |
|
8113 |
;; |
|
8114 |
||
8115 |
gnu* | linux* | k*bsd*-gnu) |
|
8116 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
8117 |
tmp_addflag= |
|
8118 |
case $cc_basename,$host_cpu in |
|
8119 |
pgcc*) # Portland Group C compiler |
|
8120 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8121 |
tmp_addflag=' $pic_flag' |
|
8122 |
;; |
|
8123 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
8124 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8125 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
8126 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
8127 |
tmp_addflag=' -i_dynamic' ;; |
|
8128 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
8129 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
8130 |
ifc* | ifort*) # Intel Fortran compiler |
|
8131 |
tmp_addflag=' -nofor_main' ;; |
|
8132 |
esac |
|
8133 |
case `$CC -V 2>&1 | sed 5q` in |
|
8134 |
*Sun\ C*) # Sun C 5.9 |
|
8135 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8136 |
tmp_sharedflag='-G' ;; |
|
8137 |
*Sun\ F*) # Sun Fortran 8.3 |
|
8138 |
tmp_sharedflag='-G' ;; |
|
8139 |
*) |
|
8140 |
tmp_sharedflag='-shared' ;; |
|
8141 |
esac |
|
8142 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8143 |
||
8144 |
if test $supports_anon_versioning = yes; then |
|
8145 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
8146 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
8147 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
8148 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
8149 |
fi |
|
1
by paul-mccullagh
Initial import |
8150 |
else |
8151 |
ld_shlibs=no |
|
8152 |
fi |
|
8153 |
;; |
|
8154 |
||
8155 |
netbsd*) |
|
8156 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
8157 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
8158 |
wlarc= |
|
8159 |
else |
|
8160 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8161 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8162 |
fi |
|
8163 |
;; |
|
8164 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8165 |
solaris*) |
1
by paul-mccullagh
Initial import |
8166 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
8167 |
ld_shlibs=no |
|
8168 |
cat <<EOF 1>&2 |
|
8169 |
||
8170 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
8171 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
8172 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
8173 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
8174 |
*** your PATH or compiler configuration so that the native linker is |
|
8175 |
*** used, and then restart. |
|
8176 |
||
8177 |
EOF |
|
8178 |
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
8179 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8180 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8181 |
else |
|
8182 |
ld_shlibs=no |
|
8183 |
fi |
|
8184 |
;; |
|
8185 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8186 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
8187 |
case `$LD -v 2>&1` in |
|
8188 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
8189 |
ld_shlibs=no |
|
8190 |
cat <<_LT_EOF 1>&2 |
|
8191 |
||
8192 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
8193 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
8194 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
8195 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
8196 |
*** your PATH or compiler configuration so that the native linker is |
|
8197 |
*** used, and then restart. |
|
8198 |
||
8199 |
_LT_EOF |
|
8200 |
;; |
|
8201 |
*) |
|
8202 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
8203 |
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
8204 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
8205 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
8206 |
else |
|
8207 |
ld_shlibs=no |
|
8208 |
fi |
|
8209 |
;; |
|
8210 |
esac |
|
8211 |
;; |
|
8212 |
||
1
by paul-mccullagh
Initial import |
8213 |
sunos4*) |
8214 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
8215 |
wlarc= |
|
8216 |
hardcode_direct=yes |
|
8217 |
hardcode_shlibpath_var=no |
|
8218 |
;; |
|
8219 |
||
8220 |
*) |
|
8221 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
8222 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8223 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8224 |
else |
|
8225 |
ld_shlibs=no |
|
8226 |
fi |
|
8227 |
;; |
|
8228 |
esac |
|
8229 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8230 |
if test "$ld_shlibs" = no; then |
8231 |
runpath_var= |
|
8232 |
hardcode_libdir_flag_spec= |
|
8233 |
export_dynamic_flag_spec= |
|
8234 |
whole_archive_flag_spec= |
|
1
by paul-mccullagh
Initial import |
8235 |
fi |
8236 |
else |
|
8237 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
8238 |
case $host_os in |
|
8239 |
aix3*) |
|
8240 |
allow_undefined_flag=unsupported |
|
8241 |
always_export_symbols=yes |
|
8242 |
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' |
|
8243 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
8244 |
# are no directories specified by -L. |
|
8245 |
hardcode_minus_L=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8246 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
1
by paul-mccullagh
Initial import |
8247 |
# Neither direct hardcoding nor static linking is supported with a |
8248 |
# broken collect2. |
|
8249 |
hardcode_direct=unsupported |
|
8250 |
fi |
|
8251 |
;; |
|
8252 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8253 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
8254 |
if test "$host_cpu" = ia64; then |
8255 |
# On IA64, the linker does run time linking by default, so we don't |
|
8256 |
# have to do anything special. |
|
8257 |
aix_use_runtimelinking=no |
|
8258 |
exp_sym_flag='-Bexport' |
|
8259 |
no_entry_flag="" |
|
8260 |
else |
|
8261 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
8262 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
8263 |
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
8264 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
8265 |
else |
|
8266 |
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' |
|
8267 |
fi |
|
8268 |
aix_use_runtimelinking=no |
|
8269 |
||
8270 |
# Test if we are trying to use run time linking or normal |
|
8271 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
8272 |
# need to do runtime linking. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8273 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1
by paul-mccullagh
Initial import |
8274 |
for ld_flag in $LDFLAGS; do |
8275 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
8276 |
aix_use_runtimelinking=yes |
|
8277 |
break |
|
8278 |
fi |
|
8279 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8280 |
;; |
1
by paul-mccullagh
Initial import |
8281 |
esac |
8282 |
||
8283 |
exp_sym_flag='-bexport' |
|
8284 |
no_entry_flag='-bnoentry' |
|
8285 |
fi |
|
8286 |
||
8287 |
# When large executables or shared objects are built, AIX ld can |
|
8288 |
# have problems creating the table of contents. If linking a library |
|
8289 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
8290 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
8291 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
8292 |
||
8293 |
archive_cmds='' |
|
8294 |
hardcode_direct=yes |
|
8295 |
hardcode_libdir_separator=':' |
|
8296 |
link_all_deplibs=yes |
|
8297 |
||
8298 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8299 |
case $host_os in aix4.[012]|aix4.[012].*) |
1
by paul-mccullagh
Initial import |
8300 |
# We only want to do this on AIX 4.2 and lower, the check |
8301 |
# below for broken collect2 doesn't work under 4.3+ |
|
8302 |
collect2name=`${CC} -print-prog-name=collect2` |
|
8303 |
if test -f "$collect2name" && \ |
|
8304 |
strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
8305 |
then |
|
8306 |
# We have reworked collect2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8307 |
: |
1
by paul-mccullagh
Initial import |
8308 |
else |
8309 |
# We have old collect2 |
|
8310 |
hardcode_direct=unsupported |
|
8311 |
# It fails to find uninstalled libraries when the uninstalled |
|
8312 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
8313 |
# to unsupported forces relinking |
|
8314 |
hardcode_minus_L=yes |
|
8315 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8316 |
hardcode_libdir_separator= |
|
8317 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8318 |
;; |
1
by paul-mccullagh
Initial import |
8319 |
esac |
8320 |
shared_flag='-shared' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8321 |
if test "$aix_use_runtimelinking" = yes; then |
8322 |
shared_flag="$shared_flag "'${wl}-G' |
|
8323 |
fi |
|
1
by paul-mccullagh
Initial import |
8324 |
else |
8325 |
# not using gcc |
|
8326 |
if test "$host_cpu" = ia64; then |
|
8327 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
8328 |
# chokes on -Wl,-G. The following line is correct: |
|
8329 |
shared_flag='-G' |
|
8330 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8331 |
if test "$aix_use_runtimelinking" = yes; then |
1
by paul-mccullagh
Initial import |
8332 |
shared_flag='${wl}-G' |
8333 |
else |
|
8334 |
shared_flag='${wl}-bM:SRE' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8335 |
fi |
1
by paul-mccullagh
Initial import |
8336 |
fi |
8337 |
fi |
|
8338 |
||
8339 |
# It seems that -bexpall does not export symbols beginning with |
|
8340 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
8341 |
always_export_symbols=yes |
|
8342 |
if test "$aix_use_runtimelinking" = yes; then |
|
8343 |
# Warning - without using the other runtime loading flags (-brtl), |
|
8344 |
# -berok will link without error, but may produce a broken library. |
|
8345 |
allow_undefined_flag='-berok' |
|
8346 |
# Determine the default libpath from the value encoded in an empty executable. |
|
8347 |
cat >conftest.$ac_ext <<_ACEOF |
|
8348 |
/* confdefs.h. */ |
|
8349 |
_ACEOF |
|
8350 |
cat confdefs.h >>conftest.$ac_ext |
|
8351 |
cat >>conftest.$ac_ext <<_ACEOF |
|
8352 |
/* end confdefs.h. */ |
|
8353 |
||
8354 |
int |
|
8355 |
main () |
|
8356 |
{ |
|
8357 |
||
8358 |
; |
|
8359 |
return 0; |
|
8360 |
} |
|
8361 |
_ACEOF |
|
8362 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8363 |
if { (ac_try="$ac_link" |
8364 |
case "(($ac_try" in |
|
8365 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
8366 |
*) ac_try_echo=$ac_try;; |
|
8367 |
esac |
|
8368 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
8369 |
$as_echo "$ac_try_echo") >&5 |
|
8370 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
8371 |
ac_status=$? |
8372 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
8373 |
rm -f conftest.er1 |
|
8374 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8375 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8376 |
(exit $ac_status); } && { |
|
8377 |
test -z "$ac_c_werror_flag" || |
|
8378 |
test ! -s conftest.err |
|
8379 |
} && test -s conftest$ac_exeext && { |
|
8380 |
test "$cross_compiling" = yes || |
|
8381 |
$as_test_x conftest$ac_exeext |
|
8382 |
}; then |
|
1
by paul-mccullagh
Initial import |
8383 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8384 |
lt_aix_libpath_sed=' |
8385 |
/Import File Strings/,/^$/ { |
|
8386 |
/^0/ { |
|
8387 |
s/^0 *\(.*\)$/\1/ |
|
8388 |
p |
|
8389 |
} |
|
8390 |
}' |
|
8391 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
8392 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8393 |
if test -z "$aix_libpath"; then |
8394 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8395 |
fi |
|
1
by paul-mccullagh
Initial import |
8396 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8397 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
8398 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8399 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8400 |
|
1
by paul-mccullagh
Initial import |
8401 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8402 |
|
8403 |
rm -rf conftest.dSYM |
|
8404 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
8405 |
conftest$ac_exeext conftest.$ac_ext |
8406 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
8407 |
||
8408 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8409 |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
1
by paul-mccullagh
Initial import |
8410 |
else |
8411 |
if test "$host_cpu" = ia64; then |
|
8412 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
8413 |
allow_undefined_flag="-z nodefs" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8414 |
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" |
1
by paul-mccullagh
Initial import |
8415 |
else |
8416 |
# Determine the default libpath from the value encoded in an empty executable. |
|
8417 |
cat >conftest.$ac_ext <<_ACEOF |
|
8418 |
/* confdefs.h. */ |
|
8419 |
_ACEOF |
|
8420 |
cat confdefs.h >>conftest.$ac_ext |
|
8421 |
cat >>conftest.$ac_ext <<_ACEOF |
|
8422 |
/* end confdefs.h. */ |
|
8423 |
||
8424 |
int |
|
8425 |
main () |
|
8426 |
{ |
|
8427 |
||
8428 |
; |
|
8429 |
return 0; |
|
8430 |
} |
|
8431 |
_ACEOF |
|
8432 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8433 |
if { (ac_try="$ac_link" |
8434 |
case "(($ac_try" in |
|
8435 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
8436 |
*) ac_try_echo=$ac_try;; |
|
8437 |
esac |
|
8438 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
8439 |
$as_echo "$ac_try_echo") >&5 |
|
8440 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
8441 |
ac_status=$? |
8442 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
8443 |
rm -f conftest.er1 |
|
8444 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8445 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8446 |
(exit $ac_status); } && { |
|
8447 |
test -z "$ac_c_werror_flag" || |
|
8448 |
test ! -s conftest.err |
|
8449 |
} && test -s conftest$ac_exeext && { |
|
8450 |
test "$cross_compiling" = yes || |
|
8451 |
$as_test_x conftest$ac_exeext |
|
8452 |
}; then |
|
1
by paul-mccullagh
Initial import |
8453 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8454 |
lt_aix_libpath_sed=' |
8455 |
/Import File Strings/,/^$/ { |
|
8456 |
/^0/ { |
|
8457 |
s/^0 *\(.*\)$/\1/ |
|
8458 |
p |
|
8459 |
} |
|
8460 |
}' |
|
8461 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
8462 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8463 |
if test -z "$aix_libpath"; then |
8464 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8465 |
fi |
|
1
by paul-mccullagh
Initial import |
8466 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8467 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
8468 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8469 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8470 |
|
1
by paul-mccullagh
Initial import |
8471 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8472 |
|
8473 |
rm -rf conftest.dSYM |
|
8474 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
8475 |
conftest$ac_exeext conftest.$ac_ext |
8476 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
8477 |
||
8478 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
8479 |
# Warning - without using the other run time loading flags, |
|
8480 |
# -berok will link without error, but may produce a broken library. |
|
8481 |
no_undefined_flag=' ${wl}-bernotok' |
|
8482 |
allow_undefined_flag=' ${wl}-berok' |
|
8483 |
# Exported symbols can be pulled into shared objects from archives |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8484 |
whole_archive_flag_spec='$convenience' |
1
by paul-mccullagh
Initial import |
8485 |
archive_cmds_need_lc=yes |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8486 |
# This is similar to how AIX traditionally builds its shared libraries. |
8487 |
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' |
|
1
by paul-mccullagh
Initial import |
8488 |
fi |
8489 |
fi |
|
8490 |
;; |
|
8491 |
||
8492 |
amigaos*) |
|
8493 |
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)' |
|
8494 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8495 |
hardcode_minus_L=yes |
|
8496 |
# see comment about different semantics on the GNU ld section |
|
8497 |
ld_shlibs=no |
|
8498 |
;; |
|
8499 |
||
8500 |
bsdi[45]*) |
|
8501 |
export_dynamic_flag_spec=-rdynamic |
|
8502 |
;; |
|
8503 |
||
8504 |
cygwin* | mingw* | pw32*) |
|
8505 |
# When not using gcc, we currently assume that we are using |
|
8506 |
# Microsoft Visual C++. |
|
8507 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
8508 |
# no search path for DLLs. |
|
8509 |
hardcode_libdir_flag_spec=' ' |
|
8510 |
allow_undefined_flag=unsupported |
|
8511 |
# Tell ltmain to make .lib files, not .a files. |
|
8512 |
libext=lib |
|
8513 |
# Tell ltmain to make .dll files, not .so files. |
|
8514 |
shrext_cmds=".dll" |
|
8515 |
# FIXME: Setting linknames here is a bad hack. |
|
8516 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
8517 |
# The linker will automatically build a .lib file if we build a DLL. |
|
8518 |
old_archive_From_new_cmds='true' |
|
8519 |
# FIXME: Should let the user specify the lib program. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8520 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
1
by paul-mccullagh
Initial import |
8521 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
8522 |
enable_shared_with_static_runtimes=yes |
|
8523 |
;; |
|
8524 |
||
8525 |
darwin* | rhapsody*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8526 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
1
by paul-mccullagh
Initial import |
8527 |
archive_cmds_need_lc=no |
8528 |
hardcode_direct=no |
|
8529 |
hardcode_automatic=yes |
|
8530 |
hardcode_shlibpath_var=unsupported |
|
8531 |
whole_archive_flag_spec='' |
|
8532 |
link_all_deplibs=yes |
|
8533 |
if test "$GCC" = yes ; then |
|
8534 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8535 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
8536 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
8537 |
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}" |
|
8538 |
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}" |
|
1
by paul-mccullagh
Initial import |
8539 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8540 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
8541 |
xlc*) |
8542 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8543 |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
1
by paul-mccullagh
Initial import |
8544 |
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8545 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
8546 |
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
1
by paul-mccullagh
Initial import |
8547 |
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
8548 |
;; |
|
8549 |
*) |
|
8550 |
ld_shlibs=no |
|
8551 |
;; |
|
8552 |
esac |
|
8553 |
fi |
|
8554 |
;; |
|
8555 |
||
8556 |
dgux*) |
|
8557 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8558 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8559 |
hardcode_shlibpath_var=no |
|
8560 |
;; |
|
8561 |
||
8562 |
freebsd1*) |
|
8563 |
ld_shlibs=no |
|
8564 |
;; |
|
8565 |
||
8566 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
8567 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
8568 |
# does not break anything, and helps significantly (at the cost of a little |
|
8569 |
# extra space). |
|
8570 |
freebsd2.2*) |
|
8571 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
8572 |
hardcode_libdir_flag_spec='-R$libdir' |
|
8573 |
hardcode_direct=yes |
|
8574 |
hardcode_shlibpath_var=no |
|
8575 |
;; |
|
8576 |
||
8577 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
8578 |
freebsd2*) |
|
8579 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
8580 |
hardcode_direct=yes |
|
8581 |
hardcode_minus_L=yes |
|
8582 |
hardcode_shlibpath_var=no |
|
8583 |
;; |
|
8584 |
||
8585 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8586 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
8587 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
8588 |
hardcode_libdir_flag_spec='-R$libdir' |
|
8589 |
hardcode_direct=yes |
|
8590 |
hardcode_shlibpath_var=no |
|
8591 |
;; |
|
8592 |
||
8593 |
hpux9*) |
|
8594 |
if test "$GCC" = yes; then |
|
8595 |
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
8596 |
else |
|
8597 |
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' |
|
8598 |
fi |
|
8599 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
8600 |
hardcode_libdir_separator=: |
|
8601 |
hardcode_direct=yes |
|
8602 |
||
8603 |
# hardcode_minus_L: Not really in the search PATH, |
|
8604 |
# but as the default location of the library. |
|
8605 |
hardcode_minus_L=yes |
|
8606 |
export_dynamic_flag_spec='${wl}-E' |
|
8607 |
;; |
|
8608 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8609 |
hpux10*) |
8610 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
8611 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
8612 |
else |
|
8613 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
8614 |
fi |
|
8615 |
if test "$with_gnu_ld" = no; then |
|
8616 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
8617 |
hardcode_libdir_separator=: |
|
8618 |
||
8619 |
hardcode_direct=yes |
|
8620 |
export_dynamic_flag_spec='${wl}-E' |
|
8621 |
||
8622 |
# hardcode_minus_L: Not really in the search PATH, |
|
8623 |
# but as the default location of the library. |
|
8624 |
hardcode_minus_L=yes |
|
8625 |
fi |
|
8626 |
;; |
|
8627 |
||
8628 |
hpux11*) |
|
8629 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
8630 |
case $host_cpu in |
|
8631 |
hppa*64*) |
|
1
by paul-mccullagh
Initial import |
8632 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8633 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8634 |
ia64*) |
8635 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
8636 |
;; |
|
1
by paul-mccullagh
Initial import |
8637 |
*) |
8638 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
8639 |
;; |
|
8640 |
esac |
|
8641 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8642 |
case $host_cpu in |
8643 |
hppa*64*) |
|
8644 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8645 |
;; |
|
8646 |
ia64*) |
|
8647 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
1
by paul-mccullagh
Initial import |
8648 |
;; |
8649 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8650 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1
by paul-mccullagh
Initial import |
8651 |
;; |
8652 |
esac |
|
8653 |
fi |
|
8654 |
if test "$with_gnu_ld" = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8655 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
8656 |
hardcode_libdir_separator=: |
|
8657 |
||
8658 |
case $host_cpu in |
|
8659 |
hppa*64*|ia64*) |
|
1
by paul-mccullagh
Initial import |
8660 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8661 |
hardcode_direct=no |
8662 |
hardcode_shlibpath_var=no |
|
1
by paul-mccullagh
Initial import |
8663 |
;; |
8664 |
*) |
|
8665 |
hardcode_direct=yes |
|
8666 |
export_dynamic_flag_spec='${wl}-E' |
|
8667 |
||
8668 |
# hardcode_minus_L: Not really in the search PATH, |
|
8669 |
# but as the default location of the library. |
|
8670 |
hardcode_minus_L=yes |
|
8671 |
;; |
|
8672 |
esac |
|
8673 |
fi |
|
8674 |
;; |
|
8675 |
||
8676 |
irix5* | irix6* | nonstopux*) |
|
8677 |
if test "$GCC" = yes; then |
|
8678 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
8679 |
else |
|
8680 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
8681 |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
|
8682 |
fi |
|
8683 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8684 |
hardcode_libdir_separator=: |
|
8685 |
link_all_deplibs=yes |
|
8686 |
;; |
|
8687 |
||
8688 |
netbsd*) |
|
8689 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
8690 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
8691 |
else |
|
8692 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
8693 |
fi |
|
8694 |
hardcode_libdir_flag_spec='-R$libdir' |
|
8695 |
hardcode_direct=yes |
|
8696 |
hardcode_shlibpath_var=no |
|
8697 |
;; |
|
8698 |
||
8699 |
newsos6) |
|
8700 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8701 |
hardcode_direct=yes |
|
8702 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8703 |
hardcode_libdir_separator=: |
|
8704 |
hardcode_shlibpath_var=no |
|
8705 |
;; |
|
8706 |
||
8707 |
openbsd*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8708 |
if test -f /usr/libexec/ld.so; then |
8709 |
hardcode_direct=yes |
|
8710 |
hardcode_shlibpath_var=no |
|
8711 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
8712 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
8713 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
8714 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
8715 |
export_dynamic_flag_spec='${wl}-E' |
|
8716 |
else |
|
8717 |
case $host_os in |
|
8718 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
8719 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
8720 |
hardcode_libdir_flag_spec='-R$libdir' |
|
8721 |
;; |
|
8722 |
*) |
|
8723 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
8724 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
8725 |
;; |
|
8726 |
esac |
|
8727 |
fi |
|
1
by paul-mccullagh
Initial import |
8728 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8729 |
ld_shlibs=no |
1
by paul-mccullagh
Initial import |
8730 |
fi |
8731 |
;; |
|
8732 |
||
8733 |
os2*) |
|
8734 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8735 |
hardcode_minus_L=yes |
|
8736 |
allow_undefined_flag=unsupported |
|
8737 |
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' |
|
8738 |
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
8739 |
;; |
|
8740 |
||
8741 |
osf3*) |
|
8742 |
if test "$GCC" = yes; then |
|
8743 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
8744 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
8745 |
else |
|
8746 |
allow_undefined_flag=' -expect_unresolved \*' |
|
8747 |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
8748 |
fi |
|
8749 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8750 |
hardcode_libdir_separator=: |
|
8751 |
;; |
|
8752 |
||
8753 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
8754 |
if test "$GCC" = yes; then |
|
8755 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
8756 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
8757 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8758 |
else |
|
8759 |
allow_undefined_flag=' -expect_unresolved \*' |
|
8760 |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
8761 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8762 |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
1
by paul-mccullagh
Initial import |
8763 |
|
8764 |
# Both c and cxx compiler support -rpath directly |
|
8765 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
8766 |
fi |
|
8767 |
hardcode_libdir_separator=: |
|
8768 |
;; |
|
8769 |
||
8770 |
solaris*) |
|
8771 |
no_undefined_flag=' -z text' |
|
8772 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8773 |
wlarc='${wl}' |
1
by paul-mccullagh
Initial import |
8774 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8775 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
8776 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
|
8777 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8778 |
wlarc='' |
1
by paul-mccullagh
Initial import |
8779 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8780 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
8781 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
8782 |
fi |
|
8783 |
hardcode_libdir_flag_spec='-R$libdir' |
|
8784 |
hardcode_shlibpath_var=no |
|
8785 |
case $host_os in |
|
8786 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8787 |
*) |
8788 |
# The compiler driver will combine and reorder linker options, |
|
8789 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
8790 |
# but is careful enough not to reorder. |
|
8791 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
8792 |
if test "$GCC" = yes; then |
|
8793 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
8794 |
else |
|
8795 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
8796 |
fi |
|
8797 |
;; |
|
1
by paul-mccullagh
Initial import |
8798 |
esac |
8799 |
link_all_deplibs=yes |
|
8800 |
;; |
|
8801 |
||
8802 |
sunos4*) |
|
8803 |
if test "x$host_vendor" = xsequent; then |
|
8804 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
8805 |
# files that make .init and .fini sections work. |
|
8806 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8807 |
else |
|
8808 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
8809 |
fi |
|
8810 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8811 |
hardcode_direct=yes |
|
8812 |
hardcode_minus_L=yes |
|
8813 |
hardcode_shlibpath_var=no |
|
8814 |
;; |
|
8815 |
||
8816 |
sysv4) |
|
8817 |
case $host_vendor in |
|
8818 |
sni) |
|
8819 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8820 |
hardcode_direct=yes # is this really true??? |
|
8821 |
;; |
|
8822 |
siemens) |
|
8823 |
## LD is ld it makes a PLAMLIB |
|
8824 |
## CC just makes a GrossModule. |
|
8825 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
8826 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
8827 |
hardcode_direct=no |
|
8828 |
;; |
|
8829 |
motorola) |
|
8830 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8831 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
8832 |
;; |
|
8833 |
esac |
|
8834 |
runpath_var='LD_RUN_PATH' |
|
8835 |
hardcode_shlibpath_var=no |
|
8836 |
;; |
|
8837 |
||
8838 |
sysv4.3*) |
|
8839 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8840 |
hardcode_shlibpath_var=no |
|
8841 |
export_dynamic_flag_spec='-Bexport' |
|
8842 |
;; |
|
8843 |
||
8844 |
sysv4*MP*) |
|
8845 |
if test -d /usr/nec; then |
|
8846 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8847 |
hardcode_shlibpath_var=no |
|
8848 |
runpath_var=LD_RUN_PATH |
|
8849 |
hardcode_runpath_var=yes |
|
8850 |
ld_shlibs=yes |
|
8851 |
fi |
|
8852 |
;; |
|
8853 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8854 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
8855 |
no_undefined_flag='${wl}-z,text' |
|
8856 |
archive_cmds_need_lc=no |
|
8857 |
hardcode_shlibpath_var=no |
|
8858 |
runpath_var='LD_RUN_PATH' |
|
8859 |
||
8860 |
if test "$GCC" = yes; then |
|
8861 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8862 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8863 |
else |
|
8864 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8865 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8866 |
fi |
|
8867 |
;; |
|
8868 |
||
8869 |
sysv5* | sco3.2v5* | sco5v6*) |
|
8870 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
8871 |
# link with -lc, and that would cause any symbols used from libc to |
|
8872 |
# always be unresolved, which means just about no library would |
|
8873 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
8874 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
8875 |
# as -z defs. |
|
8876 |
no_undefined_flag='${wl}-z,text' |
|
8877 |
allow_undefined_flag='${wl}-z,nodefs' |
|
8878 |
archive_cmds_need_lc=no |
|
8879 |
hardcode_shlibpath_var=no |
|
8880 |
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
8881 |
hardcode_libdir_separator=':' |
|
8882 |
link_all_deplibs=yes |
|
8883 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
8884 |
runpath_var='LD_RUN_PATH' |
|
8885 |
||
8886 |
if test "$GCC" = yes; then |
|
8887 |
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8888 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8889 |
else |
|
8890 |
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8891 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
8892 |
fi |
|
1
by paul-mccullagh
Initial import |
8893 |
;; |
8894 |
||
8895 |
uts4*) |
|
8896 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
8897 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8898 |
hardcode_shlibpath_var=no |
|
8899 |
;; |
|
8900 |
||
8901 |
*) |
|
8902 |
ld_shlibs=no |
|
8903 |
;; |
|
8904 |
esac |
|
8905 |
fi |
|
8906 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8907 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
8908 |
$as_echo "$ld_shlibs" >&6; } |
|
1
by paul-mccullagh
Initial import |
8909 |
test "$ld_shlibs" = no && can_build_shared=no |
8910 |
||
8911 |
# |
|
8912 |
# Do we need to explicitly link libc? |
|
8913 |
# |
|
8914 |
case "x$archive_cmds_need_lc" in |
|
8915 |
x|xyes) |
|
8916 |
# Assume -lc should be added |
|
8917 |
archive_cmds_need_lc=yes |
|
8918 |
||
8919 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
8920 |
case $archive_cmds in |
|
8921 |
*'~'*) |
|
8922 |
# FIXME: we may have to deal with multi-command sequences. |
|
8923 |
;; |
|
8924 |
'$CC '*) |
|
8925 |
# Test whether the compiler implicitly links with -lc since on some |
|
8926 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
8927 |
# to ld, don't add -lc before -lgcc. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8928 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
8929 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1
by paul-mccullagh
Initial import |
8930 |
$rm conftest* |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8931 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
8932 |
|
8933 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
8934 |
(eval $ac_compile) 2>&5 |
|
8935 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8936 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
8937 |
(exit $ac_status); } 2>conftest.err; then |
8938 |
soname=conftest |
|
8939 |
lib=conftest |
|
8940 |
libobjs=conftest.$ac_objext |
|
8941 |
deplibs= |
|
8942 |
wl=$lt_prog_compiler_wl |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8943 |
pic_flag=$lt_prog_compiler_pic |
1
by paul-mccullagh
Initial import |
8944 |
compiler_flags=-v |
8945 |
linker_flags=-v |
|
8946 |
verstring= |
|
8947 |
output_objdir=. |
|
8948 |
libname=conftest |
|
8949 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
8950 |
allow_undefined_flag= |
|
8951 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
8952 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
8953 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8954 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
8955 |
(exit $ac_status); } |
8956 |
then |
|
8957 |
archive_cmds_need_lc=no |
|
8958 |
else |
|
8959 |
archive_cmds_need_lc=yes |
|
8960 |
fi |
|
8961 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
8962 |
else |
|
8963 |
cat conftest.err 1>&5 |
|
8964 |
fi |
|
8965 |
$rm conftest* |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8966 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
8967 |
$as_echo "$archive_cmds_need_lc" >&6; } |
|
1
by paul-mccullagh
Initial import |
8968 |
;; |
8969 |
esac |
|
8970 |
fi |
|
8971 |
;; |
|
8972 |
esac |
|
8973 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8974 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
8975 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
1
by paul-mccullagh
Initial import |
8976 |
library_names_spec= |
8977 |
libname_spec='lib$name' |
|
8978 |
soname_spec= |
|
8979 |
shrext_cmds=".so" |
|
8980 |
postinstall_cmds= |
|
8981 |
postuninstall_cmds= |
|
8982 |
finish_cmds= |
|
8983 |
finish_eval= |
|
8984 |
shlibpath_var= |
|
8985 |
shlibpath_overrides_runpath=unknown |
|
8986 |
version_type=none |
|
8987 |
dynamic_linker="$host_os ld.so" |
|
8988 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8989 |
|
1
by paul-mccullagh
Initial import |
8990 |
if test "$GCC" = yes; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
8991 |
case $host_os in |
8992 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
8993 |
*) lt_awk_arg="/^libraries:/" ;; |
|
8994 |
esac |
|
8995 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
8996 |
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then |
|
1
by paul-mccullagh
Initial import |
8997 |
# if the path contains ";" then we assume it to be the separator |
8998 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
8999 |
# assumed that no part of a normal pathname contains ";" but that should |
|
9000 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9001 |
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
1
by paul-mccullagh
Initial import |
9002 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9003 |
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1
by paul-mccullagh
Initial import |
9004 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9005 |
# Ok, now we have the path, separated by spaces, we can step through it |
9006 |
# and add multilib dir if necessary. |
|
9007 |
lt_tmp_lt_search_path_spec= |
|
9008 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
9009 |
for lt_sys_path in $lt_search_path_spec; do |
|
9010 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
9011 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
9012 |
else |
|
9013 |
test -d "$lt_sys_path" && \ |
|
9014 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
9015 |
fi |
|
9016 |
done |
|
9017 |
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' |
|
9018 |
BEGIN {RS=" "; FS="/|\n";} { |
|
9019 |
lt_foo=""; |
|
9020 |
lt_count=0; |
|
9021 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
9022 |
if ($lt_i != "" && $lt_i != ".") { |
|
9023 |
if ($lt_i == "..") { |
|
9024 |
lt_count++; |
|
9025 |
} else { |
|
9026 |
if (lt_count == 0) { |
|
9027 |
lt_foo="/" $lt_i lt_foo; |
|
9028 |
} else { |
|
9029 |
lt_count--; |
|
9030 |
} |
|
9031 |
} |
|
9032 |
} |
|
9033 |
} |
|
9034 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
9035 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
9036 |
}'` |
|
9037 |
sys_lib_search_path_spec=`echo $lt_search_path_spec` |
|
1
by paul-mccullagh
Initial import |
9038 |
else |
9039 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
9040 |
fi |
|
9041 |
need_lib_prefix=unknown |
|
9042 |
hardcode_into_libs=no |
|
9043 |
||
9044 |
# when you set need_version to no, make sure it does not cause -set_version |
|
9045 |
# flags to be left without arguments |
|
9046 |
need_version=unknown |
|
9047 |
||
9048 |
case $host_os in |
|
9049 |
aix3*) |
|
9050 |
version_type=linux |
|
9051 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
9052 |
shlibpath_var=LIBPATH |
|
9053 |
||
9054 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
9055 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9056 |
;; |
|
9057 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9058 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
9059 |
version_type=linux |
9060 |
need_lib_prefix=no |
|
9061 |
need_version=no |
|
9062 |
hardcode_into_libs=yes |
|
9063 |
if test "$host_cpu" = ia64; then |
|
9064 |
# AIX 5 supports IA64 |
|
9065 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
9066 |
shlibpath_var=LD_LIBRARY_PATH |
|
9067 |
else |
|
9068 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
9069 |
# for dependence libraries. The import file would start with |
|
9070 |
# the line `#! .'. This would cause the generated library to |
|
9071 |
# depend on `.', always an invalid library. This was fixed in |
|
9072 |
# development snapshots of GCC prior to 3.0. |
|
9073 |
case $host_os in |
|
9074 |
aix4 | aix4.[01] | aix4.[01].*) |
|
9075 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
9076 |
echo ' yes ' |
|
9077 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
9078 |
: |
|
9079 |
else |
|
9080 |
can_build_shared=no |
|
9081 |
fi |
|
9082 |
;; |
|
9083 |
esac |
|
9084 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
9085 |
# soname into executable. Probably we can add versioning support to |
|
9086 |
# collect2, so additional links can be useful in future. |
|
9087 |
if test "$aix_use_runtimelinking" = yes; then |
|
9088 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
9089 |
# instead of lib<name>.a to let people know that these are not |
|
9090 |
# typical AIX shared libraries. |
|
9091 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9092 |
else |
|
9093 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
9094 |
# and later when we are not doing run time linking. |
|
9095 |
library_names_spec='${libname}${release}.a $libname.a' |
|
9096 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9097 |
fi |
|
9098 |
shlibpath_var=LIBPATH |
|
9099 |
fi |
|
9100 |
;; |
|
9101 |
||
9102 |
amigaos*) |
|
9103 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
9104 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
9105 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' |
|
9106 |
;; |
|
9107 |
||
9108 |
beos*) |
|
9109 |
library_names_spec='${libname}${shared_ext}' |
|
9110 |
dynamic_linker="$host_os ld.so" |
|
9111 |
shlibpath_var=LIBRARY_PATH |
|
9112 |
;; |
|
9113 |
||
9114 |
bsdi[45]*) |
|
9115 |
version_type=linux |
|
9116 |
need_version=no |
|
9117 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9118 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9119 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
9120 |
shlibpath_var=LD_LIBRARY_PATH |
|
9121 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
9122 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
9123 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
9124 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
9125 |
# libtool to hard-code these into programs |
|
9126 |
;; |
|
9127 |
||
9128 |
cygwin* | mingw* | pw32*) |
|
9129 |
version_type=windows |
|
9130 |
shrext_cmds=".dll" |
|
9131 |
need_version=no |
|
9132 |
need_lib_prefix=no |
|
9133 |
||
9134 |
case $GCC,$host_os in |
|
9135 |
yes,cygwin* | yes,mingw* | yes,pw32*) |
|
9136 |
library_names_spec='$libname.dll.a' |
|
9137 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
9138 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
9139 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
9140 |
dldir=$destdir/`dirname \$dlpath`~ |
|
9141 |
test -d \$dldir || mkdir -p \$dldir~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9142 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
9143 |
chmod a+x \$dldir/$dlname' |
|
1
by paul-mccullagh
Initial import |
9144 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
9145 |
dlpath=$dir/\$dldll~ |
|
9146 |
$rm \$dlpath' |
|
9147 |
shlibpath_overrides_runpath=yes |
|
9148 |
||
9149 |
case $host_os in |
|
9150 |
cygwin*) |
|
9151 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
9152 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9153 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
9154 |
;; |
|
9155 |
mingw*) |
|
9156 |
# MinGW DLLs use traditional 'lib' prefix |
|
9157 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9158 |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
9159 |
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
9160 |
# It is most probably a Windows format PATH printed by |
|
9161 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
9162 |
# path with ; separators, and with drive letters. We can handle the |
|
9163 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
9164 |
# especially as we might pass files found there to a mingw objdump, |
|
9165 |
# which wouldn't understand a cygwinified path. Ahh. |
|
9166 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
9167 |
else |
|
9168 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
9169 |
fi |
|
9170 |
;; |
|
9171 |
pw32*) |
|
9172 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9173 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
1
by paul-mccullagh
Initial import |
9174 |
;; |
9175 |
esac |
|
9176 |
;; |
|
9177 |
||
9178 |
*) |
|
9179 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
9180 |
;; |
|
9181 |
esac |
|
9182 |
dynamic_linker='Win32 ld.exe' |
|
9183 |
# FIXME: first we should search . and the directory the executable is in |
|
9184 |
shlibpath_var=PATH |
|
9185 |
;; |
|
9186 |
||
9187 |
darwin* | rhapsody*) |
|
9188 |
dynamic_linker="$host_os dyld" |
|
9189 |
version_type=darwin |
|
9190 |
need_lib_prefix=no |
|
9191 |
need_version=no |
|
9192 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
9193 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
9194 |
shlibpath_overrides_runpath=yes |
|
9195 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9196 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
9197 |
||
9198 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
1
by paul-mccullagh
Initial import |
9199 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
9200 |
;; |
|
9201 |
||
9202 |
dgux*) |
|
9203 |
version_type=linux |
|
9204 |
need_lib_prefix=no |
|
9205 |
need_version=no |
|
9206 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
9207 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9208 |
shlibpath_var=LD_LIBRARY_PATH |
|
9209 |
;; |
|
9210 |
||
9211 |
freebsd1*) |
|
9212 |
dynamic_linker=no |
|
9213 |
;; |
|
9214 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9215 |
freebsd* | dragonfly*) |
9216 |
# DragonFly does not have aout. When/if they implement a new |
|
9217 |
# versioning mechanism, adjust this. |
|
9218 |
if test -x /usr/bin/objformat; then |
|
9219 |
objformat=`/usr/bin/objformat` |
|
9220 |
else |
|
9221 |
case $host_os in |
|
9222 |
freebsd[123]*) objformat=aout ;; |
|
9223 |
*) objformat=elf ;; |
|
9224 |
esac |
|
9225 |
fi |
|
1
by paul-mccullagh
Initial import |
9226 |
version_type=freebsd-$objformat |
9227 |
case $version_type in |
|
9228 |
freebsd-elf*) |
|
9229 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
9230 |
need_version=no |
|
9231 |
need_lib_prefix=no |
|
9232 |
;; |
|
9233 |
freebsd-*) |
|
9234 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
9235 |
need_version=yes |
|
9236 |
;; |
|
9237 |
esac |
|
9238 |
shlibpath_var=LD_LIBRARY_PATH |
|
9239 |
case $host_os in |
|
9240 |
freebsd2*) |
|
9241 |
shlibpath_overrides_runpath=yes |
|
9242 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9243 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1
by paul-mccullagh
Initial import |
9244 |
shlibpath_overrides_runpath=yes |
9245 |
hardcode_into_libs=yes |
|
9246 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9247 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
9248 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1
by paul-mccullagh
Initial import |
9249 |
shlibpath_overrides_runpath=no |
9250 |
hardcode_into_libs=yes |
|
9251 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9252 |
*) # from 4.6 on, and DragonFly |
9253 |
shlibpath_overrides_runpath=yes |
|
9254 |
hardcode_into_libs=yes |
|
9255 |
;; |
|
1
by paul-mccullagh
Initial import |
9256 |
esac |
9257 |
;; |
|
9258 |
||
9259 |
gnu*) |
|
9260 |
version_type=linux |
|
9261 |
need_lib_prefix=no |
|
9262 |
need_version=no |
|
9263 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
9264 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9265 |
shlibpath_var=LD_LIBRARY_PATH |
|
9266 |
hardcode_into_libs=yes |
|
9267 |
;; |
|
9268 |
||
9269 |
hpux9* | hpux10* | hpux11*) |
|
9270 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
9271 |
# link against other versions. |
|
9272 |
version_type=sunos |
|
9273 |
need_lib_prefix=no |
|
9274 |
need_version=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9275 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
9276 |
ia64*) |
9277 |
shrext_cmds='.so' |
|
9278 |
hardcode_into_libs=yes |
|
9279 |
dynamic_linker="$host_os dld.so" |
|
9280 |
shlibpath_var=LD_LIBRARY_PATH |
|
9281 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
9282 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9283 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9284 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
9285 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
9286 |
else |
|
9287 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
9288 |
fi |
|
9289 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
9290 |
;; |
|
9291 |
hppa*64*) |
|
9292 |
shrext_cmds='.sl' |
|
9293 |
hardcode_into_libs=yes |
|
9294 |
dynamic_linker="$host_os dld.sl" |
|
9295 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
9296 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
9297 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9298 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9299 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
9300 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
9301 |
;; |
|
9302 |
*) |
|
9303 |
shrext_cmds='.sl' |
|
9304 |
dynamic_linker="$host_os dld.sl" |
|
9305 |
shlibpath_var=SHLIB_PATH |
|
9306 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
9307 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9308 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9309 |
;; |
|
9310 |
esac |
|
9311 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
9312 |
postinstall_cmds='chmod 555 $lib' |
|
9313 |
;; |
|
9314 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9315 |
interix[3-9]*) |
9316 |
version_type=linux |
|
9317 |
need_lib_prefix=no |
|
9318 |
need_version=no |
|
9319 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
9320 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9321 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
9322 |
shlibpath_var=LD_LIBRARY_PATH |
|
9323 |
shlibpath_overrides_runpath=no |
|
9324 |
hardcode_into_libs=yes |
|
9325 |
;; |
|
9326 |
||
1
by paul-mccullagh
Initial import |
9327 |
irix5* | irix6* | nonstopux*) |
9328 |
case $host_os in |
|
9329 |
nonstopux*) version_type=nonstopux ;; |
|
9330 |
*) |
|
9331 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
9332 |
version_type=linux |
|
9333 |
else |
|
9334 |
version_type=irix |
|
9335 |
fi ;; |
|
9336 |
esac |
|
9337 |
need_lib_prefix=no |
|
9338 |
need_version=no |
|
9339 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9340 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
9341 |
case $host_os in |
|
9342 |
irix5* | nonstopux*) |
|
9343 |
libsuff= shlibsuff= |
|
9344 |
;; |
|
9345 |
*) |
|
9346 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
9347 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
9348 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
9349 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
9350 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
9351 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
9352 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
9353 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
9354 |
esac |
|
9355 |
;; |
|
9356 |
esac |
|
9357 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
9358 |
shlibpath_overrides_runpath=no |
|
9359 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
9360 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
9361 |
hardcode_into_libs=yes |
|
9362 |
;; |
|
9363 |
||
9364 |
# No shared lib support for Linux oldld, aout, or coff. |
|
9365 |
linux*oldld* | linux*aout* | linux*coff*) |
|
9366 |
dynamic_linker=no |
|
9367 |
;; |
|
9368 |
||
9369 |
# This must be Linux ELF. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9370 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
9371 |
version_type=linux |
9372 |
need_lib_prefix=no |
|
9373 |
need_version=no |
|
9374 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9375 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9376 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
9377 |
shlibpath_var=LD_LIBRARY_PATH |
|
9378 |
shlibpath_overrides_runpath=no |
|
9379 |
# This implies no fast_install, which is unacceptable. |
|
9380 |
# Some rework will be needed to allow for fast_install |
|
9381 |
# before this can be enabled. |
|
9382 |
hardcode_into_libs=yes |
|
9383 |
||
9384 |
# Append ld.so.conf contents to the search path |
|
9385 |
if test -f /etc/ld.so.conf; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9386 |
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;/^$/d' | tr '\n' ' '` |
1
by paul-mccullagh
Initial import |
9387 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
9388 |
fi |
|
9389 |
||
9390 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
9391 |
# powerpc, because MkLinux only supported shared libraries with the |
|
9392 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
9393 |
# most powerpc-linux boxes support dynamic linking these days and |
|
9394 |
# people can always --disable-shared, the test was removed, and we |
|
9395 |
# assume the GNU/Linux dynamic linker is in use. |
|
9396 |
dynamic_linker='GNU/Linux ld.so' |
|
9397 |
;; |
|
9398 |
||
9399 |
netbsd*) |
|
9400 |
version_type=sunos |
|
9401 |
need_lib_prefix=no |
|
9402 |
need_version=no |
|
9403 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
9404 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
9405 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
9406 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
9407 |
else |
|
9408 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
9409 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9410 |
dynamic_linker='NetBSD ld.elf_so' |
|
9411 |
fi |
|
9412 |
shlibpath_var=LD_LIBRARY_PATH |
|
9413 |
shlibpath_overrides_runpath=yes |
|
9414 |
hardcode_into_libs=yes |
|
9415 |
;; |
|
9416 |
||
9417 |
newsos6) |
|
9418 |
version_type=linux |
|
9419 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9420 |
shlibpath_var=LD_LIBRARY_PATH |
|
9421 |
shlibpath_overrides_runpath=yes |
|
9422 |
;; |
|
9423 |
||
9424 |
nto-qnx*) |
|
9425 |
version_type=linux |
|
9426 |
need_lib_prefix=no |
|
9427 |
need_version=no |
|
9428 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9429 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9430 |
shlibpath_var=LD_LIBRARY_PATH |
|
9431 |
shlibpath_overrides_runpath=yes |
|
9432 |
;; |
|
9433 |
||
9434 |
openbsd*) |
|
9435 |
version_type=sunos |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9436 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1
by paul-mccullagh
Initial import |
9437 |
need_lib_prefix=no |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9438 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
9439 |
case $host_os in |
|
9440 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
9441 |
*) need_version=no ;; |
|
9442 |
esac |
|
1
by paul-mccullagh
Initial import |
9443 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
9444 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
9445 |
shlibpath_var=LD_LIBRARY_PATH |
|
9446 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
9447 |
case $host_os in |
|
9448 |
openbsd2.[89] | openbsd2.[89].*) |
|
9449 |
shlibpath_overrides_runpath=no |
|
9450 |
;; |
|
9451 |
*) |
|
9452 |
shlibpath_overrides_runpath=yes |
|
9453 |
;; |
|
9454 |
esac |
|
9455 |
else |
|
9456 |
shlibpath_overrides_runpath=yes |
|
9457 |
fi |
|
9458 |
;; |
|
9459 |
||
9460 |
os2*) |
|
9461 |
libname_spec='$name' |
|
9462 |
shrext_cmds=".dll" |
|
9463 |
need_lib_prefix=no |
|
9464 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
9465 |
dynamic_linker='OS/2 ld.exe' |
|
9466 |
shlibpath_var=LIBPATH |
|
9467 |
;; |
|
9468 |
||
9469 |
osf3* | osf4* | osf5*) |
|
9470 |
version_type=osf |
|
9471 |
need_lib_prefix=no |
|
9472 |
need_version=no |
|
9473 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9474 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9475 |
shlibpath_var=LD_LIBRARY_PATH |
|
9476 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
9477 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
9478 |
;; |
|
9479 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9480 |
rdos*) |
9481 |
dynamic_linker=no |
|
1
by paul-mccullagh
Initial import |
9482 |
;; |
9483 |
||
9484 |
solaris*) |
|
9485 |
version_type=linux |
|
9486 |
need_lib_prefix=no |
|
9487 |
need_version=no |
|
9488 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9489 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9490 |
shlibpath_var=LD_LIBRARY_PATH |
|
9491 |
shlibpath_overrides_runpath=yes |
|
9492 |
hardcode_into_libs=yes |
|
9493 |
# ldd complains unless libraries are executable |
|
9494 |
postinstall_cmds='chmod +x $lib' |
|
9495 |
;; |
|
9496 |
||
9497 |
sunos4*) |
|
9498 |
version_type=sunos |
|
9499 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
9500 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
9501 |
shlibpath_var=LD_LIBRARY_PATH |
|
9502 |
shlibpath_overrides_runpath=yes |
|
9503 |
if test "$with_gnu_ld" = yes; then |
|
9504 |
need_lib_prefix=no |
|
9505 |
fi |
|
9506 |
need_version=yes |
|
9507 |
;; |
|
9508 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9509 |
sysv4 | sysv4.3*) |
1
by paul-mccullagh
Initial import |
9510 |
version_type=linux |
9511 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9512 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9513 |
shlibpath_var=LD_LIBRARY_PATH |
|
9514 |
case $host_vendor in |
|
9515 |
sni) |
|
9516 |
shlibpath_overrides_runpath=no |
|
9517 |
need_lib_prefix=no |
|
9518 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
9519 |
runpath_var=LD_RUN_PATH |
|
9520 |
;; |
|
9521 |
siemens) |
|
9522 |
need_lib_prefix=no |
|
9523 |
;; |
|
9524 |
motorola) |
|
9525 |
need_lib_prefix=no |
|
9526 |
need_version=no |
|
9527 |
shlibpath_overrides_runpath=no |
|
9528 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
9529 |
;; |
|
9530 |
esac |
|
9531 |
;; |
|
9532 |
||
9533 |
sysv4*MP*) |
|
9534 |
if test -d /usr/nec ;then |
|
9535 |
version_type=linux |
|
9536 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
9537 |
soname_spec='$libname${shared_ext}.$major' |
|
9538 |
shlibpath_var=LD_LIBRARY_PATH |
|
9539 |
fi |
|
9540 |
;; |
|
9541 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9542 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
9543 |
version_type=freebsd-elf |
|
9544 |
need_lib_prefix=no |
|
9545 |
need_version=no |
|
9546 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
9547 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9548 |
shlibpath_var=LD_LIBRARY_PATH |
|
9549 |
hardcode_into_libs=yes |
|
9550 |
if test "$with_gnu_ld" = yes; then |
|
9551 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
9552 |
shlibpath_overrides_runpath=no |
|
9553 |
else |
|
9554 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
9555 |
shlibpath_overrides_runpath=yes |
|
9556 |
case $host_os in |
|
9557 |
sco3.2v5*) |
|
9558 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
9559 |
;; |
|
9560 |
esac |
|
9561 |
fi |
|
9562 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
9563 |
;; |
|
9564 |
||
1
by paul-mccullagh
Initial import |
9565 |
uts4*) |
9566 |
version_type=linux |
|
9567 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9568 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9569 |
shlibpath_var=LD_LIBRARY_PATH |
|
9570 |
;; |
|
9571 |
||
9572 |
*) |
|
9573 |
dynamic_linker=no |
|
9574 |
;; |
|
9575 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9576 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
9577 |
$as_echo "$dynamic_linker" >&6; } |
|
1
by paul-mccullagh
Initial import |
9578 |
test "$dynamic_linker" = no && can_build_shared=no |
9579 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9580 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
9581 |
$as_echo_n "(cached) " >&6 |
|
9582 |
else |
|
9583 |
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" |
|
9584 |
fi |
|
9585 |
||
9586 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
9587 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
9588 |
$as_echo_n "(cached) " >&6 |
|
9589 |
else |
|
9590 |
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" |
|
9591 |
fi |
|
9592 |
||
9593 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
9594 |
||
9595 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
9596 |
if test "$GCC" = yes; then |
|
9597 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
9598 |
fi |
|
9599 |
||
9600 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
9601 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9602 |
hardcode_action= |
9603 |
if test -n "$hardcode_libdir_flag_spec" || \ |
|
9604 |
test -n "$runpath_var" || \ |
|
9605 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
9606 |
||
9607 |
# We can hardcode non-existant directories. |
|
9608 |
if test "$hardcode_direct" != no && |
|
9609 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
9610 |
# have to relink, otherwise we might link with an installed library |
|
9611 |
# when we should be linking with a yet-to-be-installed one |
|
9612 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
9613 |
test "$hardcode_minus_L" != no; then |
|
9614 |
# Linking always hardcodes the temporary library directory. |
|
9615 |
hardcode_action=relink |
|
9616 |
else |
|
9617 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
9618 |
hardcode_action=immediate |
|
9619 |
fi |
|
9620 |
else |
|
9621 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
9622 |
# directories. |
|
9623 |
hardcode_action=unsupported |
|
9624 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9625 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
9626 |
$as_echo "$hardcode_action" >&6; } |
|
1
by paul-mccullagh
Initial import |
9627 |
|
9628 |
if test "$hardcode_action" = relink; then |
|
9629 |
# Fast installation is not supported |
|
9630 |
enable_fast_install=no |
|
9631 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
9632 |
test "$enable_shared" = no; then |
|
9633 |
# Fast installation is not necessary |
|
9634 |
enable_fast_install=needless |
|
9635 |
fi |
|
9636 |
||
9637 |
striplib= |
|
9638 |
old_striplib= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9639 |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
9640 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9641 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
9642 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
9643 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9644 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
9645 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
9646 |
else |
9647 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
9648 |
case $host_os in |
|
9649 |
darwin*) |
|
9650 |
if test -n "$STRIP" ; then |
|
9651 |
striplib="$STRIP -x" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9652 |
old_striplib="$STRIP -S" |
9653 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
9654 |
$as_echo "yes" >&6; } |
|
1
by paul-mccullagh
Initial import |
9655 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9656 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
9657 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
9658 |
fi |
9659 |
;; |
|
9660 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9661 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
9662 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
9663 |
;; |
9664 |
esac |
|
9665 |
fi |
|
9666 |
||
9667 |
if test "x$enable_dlopen" != xyes; then |
|
9668 |
enable_dlopen=unknown |
|
9669 |
enable_dlopen_self=unknown |
|
9670 |
enable_dlopen_self_static=unknown |
|
9671 |
else |
|
9672 |
lt_cv_dlopen=no |
|
9673 |
lt_cv_dlopen_libs= |
|
9674 |
||
9675 |
case $host_os in |
|
9676 |
beos*) |
|
9677 |
lt_cv_dlopen="load_add_on" |
|
9678 |
lt_cv_dlopen_libs= |
|
9679 |
lt_cv_dlopen_self=yes |
|
9680 |
;; |
|
9681 |
||
9682 |
mingw* | pw32*) |
|
9683 |
lt_cv_dlopen="LoadLibrary" |
|
9684 |
lt_cv_dlopen_libs= |
|
9685 |
;; |
|
9686 |
||
9687 |
cygwin*) |
|
9688 |
lt_cv_dlopen="dlopen" |
|
9689 |
lt_cv_dlopen_libs= |
|
9690 |
;; |
|
9691 |
||
9692 |
darwin*) |
|
9693 |
# if libdl is installed we need to link against it |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9694 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
9695 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9696 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9697 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
9698 |
else |
9699 |
ac_check_lib_save_LIBS=$LIBS |
|
9700 |
LIBS="-ldl $LIBS" |
|
9701 |
cat >conftest.$ac_ext <<_ACEOF |
|
9702 |
/* confdefs.h. */ |
|
9703 |
_ACEOF |
|
9704 |
cat confdefs.h >>conftest.$ac_ext |
|
9705 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9706 |
/* end confdefs.h. */ |
|
9707 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9708 |
/* Override any GCC internal prototype to avoid an error. |
9709 |
Use char because int might match the return type of a GCC |
|
9710 |
builtin and then its argument prototype would still apply. */ |
|
1
by paul-mccullagh
Initial import |
9711 |
#ifdef __cplusplus |
9712 |
extern "C" |
|
9713 |
#endif |
|
9714 |
char dlopen (); |
|
9715 |
int |
|
9716 |
main () |
|
9717 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9718 |
return dlopen (); |
1
by paul-mccullagh
Initial import |
9719 |
; |
9720 |
return 0; |
|
9721 |
} |
|
9722 |
_ACEOF |
|
9723 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9724 |
if { (ac_try="$ac_link" |
9725 |
case "(($ac_try" in |
|
9726 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9727 |
*) ac_try_echo=$ac_try;; |
|
9728 |
esac |
|
9729 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9730 |
$as_echo "$ac_try_echo") >&5 |
|
9731 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
9732 |
ac_status=$? |
9733 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9734 |
rm -f conftest.er1 |
|
9735 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9736 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9737 |
(exit $ac_status); } && { |
|
9738 |
test -z "$ac_c_werror_flag" || |
|
9739 |
test ! -s conftest.err |
|
9740 |
} && test -s conftest$ac_exeext && { |
|
9741 |
test "$cross_compiling" = yes || |
|
9742 |
$as_test_x conftest$ac_exeext |
|
9743 |
}; then |
|
1
by paul-mccullagh
Initial import |
9744 |
ac_cv_lib_dl_dlopen=yes |
9745 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9746 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
9747 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9748 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9749 |
ac_cv_lib_dl_dlopen=no |
1
by paul-mccullagh
Initial import |
9750 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9751 |
|
9752 |
rm -rf conftest.dSYM |
|
9753 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
9754 |
conftest$ac_exeext conftest.$ac_ext |
9755 |
LIBS=$ac_check_lib_save_LIBS |
|
9756 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9757 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9758 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
9759 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
9760 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
9761 |
else |
|
9762 |
||
9763 |
lt_cv_dlopen="dyld" |
|
9764 |
lt_cv_dlopen_libs= |
|
9765 |
lt_cv_dlopen_self=yes |
|
9766 |
||
9767 |
fi |
|
9768 |
||
9769 |
;; |
|
9770 |
||
9771 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9772 |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
9773 |
$as_echo_n "checking for shl_load... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9774 |
if test "${ac_cv_func_shl_load+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9775 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
9776 |
else |
9777 |
cat >conftest.$ac_ext <<_ACEOF |
|
9778 |
/* confdefs.h. */ |
|
9779 |
_ACEOF |
|
9780 |
cat confdefs.h >>conftest.$ac_ext |
|
9781 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9782 |
/* end confdefs.h. */ |
|
9783 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
9784 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
9785 |
#define shl_load innocuous_shl_load |
|
9786 |
||
9787 |
/* System header to define __stub macros and hopefully few prototypes, |
|
9788 |
which can conflict with char shl_load (); below. |
|
9789 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
9790 |
<limits.h> exists even on freestanding compilers. */ |
|
9791 |
||
9792 |
#ifdef __STDC__ |
|
9793 |
# include <limits.h> |
|
9794 |
#else |
|
9795 |
# include <assert.h> |
|
9796 |
#endif |
|
9797 |
||
9798 |
#undef shl_load |
|
9799 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9800 |
/* Override any GCC internal prototype to avoid an error. |
9801 |
Use char because int might match the return type of a GCC |
|
9802 |
builtin and then its argument prototype would still apply. */ |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
9803 |
#ifdef __cplusplus |
9804 |
extern "C" |
|
9805 |
#endif |
|
1
by paul-mccullagh
Initial import |
9806 |
char shl_load (); |
9807 |
/* The GNU C library defines this for functions which it implements |
|
9808 |
to always fail with ENOSYS. Some functions are actually named |
|
9809 |
something starting with __ and the normal name is an alias. */ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9810 |
#if defined __stub_shl_load || defined __stub___shl_load |
1
by paul-mccullagh
Initial import |
9811 |
choke me |
9812 |
#endif |
|
9813 |
||
9814 |
int |
|
9815 |
main () |
|
9816 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9817 |
return shl_load (); |
1
by paul-mccullagh
Initial import |
9818 |
; |
9819 |
return 0; |
|
9820 |
} |
|
9821 |
_ACEOF |
|
9822 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9823 |
if { (ac_try="$ac_link" |
9824 |
case "(($ac_try" in |
|
9825 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9826 |
*) ac_try_echo=$ac_try;; |
|
9827 |
esac |
|
9828 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9829 |
$as_echo "$ac_try_echo") >&5 |
|
9830 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
9831 |
ac_status=$? |
9832 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9833 |
rm -f conftest.er1 |
|
9834 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9835 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9836 |
(exit $ac_status); } && { |
|
9837 |
test -z "$ac_c_werror_flag" || |
|
9838 |
test ! -s conftest.err |
|
9839 |
} && test -s conftest$ac_exeext && { |
|
9840 |
test "$cross_compiling" = yes || |
|
9841 |
$as_test_x conftest$ac_exeext |
|
9842 |
}; then |
|
1
by paul-mccullagh
Initial import |
9843 |
ac_cv_func_shl_load=yes |
9844 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9845 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
9846 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9847 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9848 |
ac_cv_func_shl_load=no |
1
by paul-mccullagh
Initial import |
9849 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9850 |
|
9851 |
rm -rf conftest.dSYM |
|
9852 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
9853 |
conftest$ac_exeext conftest.$ac_ext |
9854 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9855 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
9856 |
$as_echo "$ac_cv_func_shl_load" >&6; } |
|
9857 |
if test "x$ac_cv_func_shl_load" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
9858 |
lt_cv_dlopen="shl_load" |
9859 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9860 |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
9861 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9862 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9863 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
9864 |
else |
9865 |
ac_check_lib_save_LIBS=$LIBS |
|
9866 |
LIBS="-ldld $LIBS" |
|
9867 |
cat >conftest.$ac_ext <<_ACEOF |
|
9868 |
/* confdefs.h. */ |
|
9869 |
_ACEOF |
|
9870 |
cat confdefs.h >>conftest.$ac_ext |
|
9871 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9872 |
/* end confdefs.h. */ |
|
9873 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9874 |
/* Override any GCC internal prototype to avoid an error. |
9875 |
Use char because int might match the return type of a GCC |
|
9876 |
builtin and then its argument prototype would still apply. */ |
|
1
by paul-mccullagh
Initial import |
9877 |
#ifdef __cplusplus |
9878 |
extern "C" |
|
9879 |
#endif |
|
9880 |
char shl_load (); |
|
9881 |
int |
|
9882 |
main () |
|
9883 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9884 |
return shl_load (); |
1
by paul-mccullagh
Initial import |
9885 |
; |
9886 |
return 0; |
|
9887 |
} |
|
9888 |
_ACEOF |
|
9889 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9890 |
if { (ac_try="$ac_link" |
9891 |
case "(($ac_try" in |
|
9892 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9893 |
*) ac_try_echo=$ac_try;; |
|
9894 |
esac |
|
9895 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9896 |
$as_echo "$ac_try_echo") >&5 |
|
9897 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
9898 |
ac_status=$? |
9899 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9900 |
rm -f conftest.er1 |
|
9901 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9902 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9903 |
(exit $ac_status); } && { |
|
9904 |
test -z "$ac_c_werror_flag" || |
|
9905 |
test ! -s conftest.err |
|
9906 |
} && test -s conftest$ac_exeext && { |
|
9907 |
test "$cross_compiling" = yes || |
|
9908 |
$as_test_x conftest$ac_exeext |
|
9909 |
}; then |
|
1
by paul-mccullagh
Initial import |
9910 |
ac_cv_lib_dld_shl_load=yes |
9911 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9912 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
9913 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9914 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9915 |
ac_cv_lib_dld_shl_load=no |
1
by paul-mccullagh
Initial import |
9916 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9917 |
|
9918 |
rm -rf conftest.dSYM |
|
9919 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
9920 |
conftest$ac_exeext conftest.$ac_ext |
9921 |
LIBS=$ac_check_lib_save_LIBS |
|
9922 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9923 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
9924 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
9925 |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
|
9926 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
|
1
by paul-mccullagh
Initial import |
9927 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9928 |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
9929 |
$as_echo_n "checking for dlopen... " >&6; } |
|
1
by paul-mccullagh
Initial import |
9930 |
if test "${ac_cv_func_dlopen+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9931 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
9932 |
else |
9933 |
cat >conftest.$ac_ext <<_ACEOF |
|
9934 |
/* confdefs.h. */ |
|
9935 |
_ACEOF |
|
9936 |
cat confdefs.h >>conftest.$ac_ext |
|
9937 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9938 |
/* end confdefs.h. */ |
|
9939 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
9940 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
9941 |
#define dlopen innocuous_dlopen |
|
9942 |
||
9943 |
/* System header to define __stub macros and hopefully few prototypes, |
|
9944 |
which can conflict with char dlopen (); below. |
|
9945 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
9946 |
<limits.h> exists even on freestanding compilers. */ |
|
9947 |
||
9948 |
#ifdef __STDC__ |
|
9949 |
# include <limits.h> |
|
9950 |
#else |
|
9951 |
# include <assert.h> |
|
9952 |
#endif |
|
9953 |
||
9954 |
#undef dlopen |
|
9955 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9956 |
/* Override any GCC internal prototype to avoid an error. |
9957 |
Use char because int might match the return type of a GCC |
|
9958 |
builtin and then its argument prototype would still apply. */ |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
9959 |
#ifdef __cplusplus |
9960 |
extern "C" |
|
9961 |
#endif |
|
1
by paul-mccullagh
Initial import |
9962 |
char dlopen (); |
9963 |
/* The GNU C library defines this for functions which it implements |
|
9964 |
to always fail with ENOSYS. Some functions are actually named |
|
9965 |
something starting with __ and the normal name is an alias. */ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9966 |
#if defined __stub_dlopen || defined __stub___dlopen |
1
by paul-mccullagh
Initial import |
9967 |
choke me |
9968 |
#endif |
|
9969 |
||
9970 |
int |
|
9971 |
main () |
|
9972 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9973 |
return dlopen (); |
1
by paul-mccullagh
Initial import |
9974 |
; |
9975 |
return 0; |
|
9976 |
} |
|
9977 |
_ACEOF |
|
9978 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9979 |
if { (ac_try="$ac_link" |
9980 |
case "(($ac_try" in |
|
9981 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9982 |
*) ac_try_echo=$ac_try;; |
|
9983 |
esac |
|
9984 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9985 |
$as_echo "$ac_try_echo") >&5 |
|
9986 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
9987 |
ac_status=$? |
9988 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9989 |
rm -f conftest.er1 |
|
9990 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
9991 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9992 |
(exit $ac_status); } && { |
|
9993 |
test -z "$ac_c_werror_flag" || |
|
9994 |
test ! -s conftest.err |
|
9995 |
} && test -s conftest$ac_exeext && { |
|
9996 |
test "$cross_compiling" = yes || |
|
9997 |
$as_test_x conftest$ac_exeext |
|
9998 |
}; then |
|
1
by paul-mccullagh
Initial import |
9999 |
ac_cv_func_dlopen=yes |
10000 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10001 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
10002 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10003 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10004 |
ac_cv_func_dlopen=no |
1
by paul-mccullagh
Initial import |
10005 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10006 |
|
10007 |
rm -rf conftest.dSYM |
|
10008 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
10009 |
conftest$ac_exeext conftest.$ac_ext |
10010 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10011 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
10012 |
$as_echo "$ac_cv_func_dlopen" >&6; } |
|
10013 |
if test "x$ac_cv_func_dlopen" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
10014 |
lt_cv_dlopen="dlopen" |
10015 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10016 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
10017 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10018 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10019 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
10020 |
else |
10021 |
ac_check_lib_save_LIBS=$LIBS |
|
10022 |
LIBS="-ldl $LIBS" |
|
10023 |
cat >conftest.$ac_ext <<_ACEOF |
|
10024 |
/* confdefs.h. */ |
|
10025 |
_ACEOF |
|
10026 |
cat confdefs.h >>conftest.$ac_ext |
|
10027 |
cat >>conftest.$ac_ext <<_ACEOF |
|
10028 |
/* end confdefs.h. */ |
|
10029 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10030 |
/* Override any GCC internal prototype to avoid an error. |
10031 |
Use char because int might match the return type of a GCC |
|
10032 |
builtin and then its argument prototype would still apply. */ |
|
1
by paul-mccullagh
Initial import |
10033 |
#ifdef __cplusplus |
10034 |
extern "C" |
|
10035 |
#endif |
|
10036 |
char dlopen (); |
|
10037 |
int |
|
10038 |
main () |
|
10039 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10040 |
return dlopen (); |
1
by paul-mccullagh
Initial import |
10041 |
; |
10042 |
return 0; |
|
10043 |
} |
|
10044 |
_ACEOF |
|
10045 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10046 |
if { (ac_try="$ac_link" |
10047 |
case "(($ac_try" in |
|
10048 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
10049 |
*) ac_try_echo=$ac_try;; |
|
10050 |
esac |
|
10051 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
10052 |
$as_echo "$ac_try_echo") >&5 |
|
10053 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
10054 |
ac_status=$? |
10055 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
10056 |
rm -f conftest.er1 |
|
10057 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10058 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10059 |
(exit $ac_status); } && { |
|
10060 |
test -z "$ac_c_werror_flag" || |
|
10061 |
test ! -s conftest.err |
|
10062 |
} && test -s conftest$ac_exeext && { |
|
10063 |
test "$cross_compiling" = yes || |
|
10064 |
$as_test_x conftest$ac_exeext |
|
10065 |
}; then |
|
1
by paul-mccullagh
Initial import |
10066 |
ac_cv_lib_dl_dlopen=yes |
10067 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10068 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
10069 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10070 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10071 |
ac_cv_lib_dl_dlopen=no |
1
by paul-mccullagh
Initial import |
10072 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10073 |
|
10074 |
rm -rf conftest.dSYM |
|
10075 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
10076 |
conftest$ac_exeext conftest.$ac_ext |
10077 |
LIBS=$ac_check_lib_save_LIBS |
|
10078 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10079 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
10080 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
10081 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
10082 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
10083 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10084 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
10085 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10086 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10087 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
10088 |
else |
10089 |
ac_check_lib_save_LIBS=$LIBS |
|
10090 |
LIBS="-lsvld $LIBS" |
|
10091 |
cat >conftest.$ac_ext <<_ACEOF |
|
10092 |
/* confdefs.h. */ |
|
10093 |
_ACEOF |
|
10094 |
cat confdefs.h >>conftest.$ac_ext |
|
10095 |
cat >>conftest.$ac_ext <<_ACEOF |
|
10096 |
/* end confdefs.h. */ |
|
10097 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10098 |
/* Override any GCC internal prototype to avoid an error. |
10099 |
Use char because int might match the return type of a GCC |
|
10100 |
builtin and then its argument prototype would still apply. */ |
|
1
by paul-mccullagh
Initial import |
10101 |
#ifdef __cplusplus |
10102 |
extern "C" |
|
10103 |
#endif |
|
10104 |
char dlopen (); |
|
10105 |
int |
|
10106 |
main () |
|
10107 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10108 |
return dlopen (); |
1
by paul-mccullagh
Initial import |
10109 |
; |
10110 |
return 0; |
|
10111 |
} |
|
10112 |
_ACEOF |
|
10113 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10114 |
if { (ac_try="$ac_link" |
10115 |
case "(($ac_try" in |
|
10116 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
10117 |
*) ac_try_echo=$ac_try;; |
|
10118 |
esac |
|
10119 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
10120 |
$as_echo "$ac_try_echo") >&5 |
|
10121 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
10122 |
ac_status=$? |
10123 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
10124 |
rm -f conftest.er1 |
|
10125 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10126 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10127 |
(exit $ac_status); } && { |
|
10128 |
test -z "$ac_c_werror_flag" || |
|
10129 |
test ! -s conftest.err |
|
10130 |
} && test -s conftest$ac_exeext && { |
|
10131 |
test "$cross_compiling" = yes || |
|
10132 |
$as_test_x conftest$ac_exeext |
|
10133 |
}; then |
|
1
by paul-mccullagh
Initial import |
10134 |
ac_cv_lib_svld_dlopen=yes |
10135 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10136 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
10137 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10138 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10139 |
ac_cv_lib_svld_dlopen=no |
1
by paul-mccullagh
Initial import |
10140 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10141 |
|
10142 |
rm -rf conftest.dSYM |
|
10143 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
10144 |
conftest$ac_exeext conftest.$ac_ext |
10145 |
LIBS=$ac_check_lib_save_LIBS |
|
10146 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10147 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
10148 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
10149 |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
10150 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
10151 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10152 |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
10153 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10154 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10155 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
10156 |
else |
10157 |
ac_check_lib_save_LIBS=$LIBS |
|
10158 |
LIBS="-ldld $LIBS" |
|
10159 |
cat >conftest.$ac_ext <<_ACEOF |
|
10160 |
/* confdefs.h. */ |
|
10161 |
_ACEOF |
|
10162 |
cat confdefs.h >>conftest.$ac_ext |
|
10163 |
cat >>conftest.$ac_ext <<_ACEOF |
|
10164 |
/* end confdefs.h. */ |
|
10165 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10166 |
/* Override any GCC internal prototype to avoid an error. |
10167 |
Use char because int might match the return type of a GCC |
|
10168 |
builtin and then its argument prototype would still apply. */ |
|
1
by paul-mccullagh
Initial import |
10169 |
#ifdef __cplusplus |
10170 |
extern "C" |
|
10171 |
#endif |
|
10172 |
char dld_link (); |
|
10173 |
int |
|
10174 |
main () |
|
10175 |
{ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10176 |
return dld_link (); |
1
by paul-mccullagh
Initial import |
10177 |
; |
10178 |
return 0; |
|
10179 |
} |
|
10180 |
_ACEOF |
|
10181 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10182 |
if { (ac_try="$ac_link" |
10183 |
case "(($ac_try" in |
|
10184 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
10185 |
*) ac_try_echo=$ac_try;; |
|
10186 |
esac |
|
10187 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
10188 |
$as_echo "$ac_try_echo") >&5 |
|
10189 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
10190 |
ac_status=$? |
10191 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
10192 |
rm -f conftest.er1 |
|
10193 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10194 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10195 |
(exit $ac_status); } && { |
|
10196 |
test -z "$ac_c_werror_flag" || |
|
10197 |
test ! -s conftest.err |
|
10198 |
} && test -s conftest$ac_exeext && { |
|
10199 |
test "$cross_compiling" = yes || |
|
10200 |
$as_test_x conftest$ac_exeext |
|
10201 |
}; then |
|
1
by paul-mccullagh
Initial import |
10202 |
ac_cv_lib_dld_dld_link=yes |
10203 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10204 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
10205 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10206 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10207 |
ac_cv_lib_dld_dld_link=no |
1
by paul-mccullagh
Initial import |
10208 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10209 |
|
10210 |
rm -rf conftest.dSYM |
|
10211 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
10212 |
conftest$ac_exeext conftest.$ac_ext |
10213 |
LIBS=$ac_check_lib_save_LIBS |
|
10214 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10215 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
10216 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
10217 |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
|
10218 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
|
1
by paul-mccullagh
Initial import |
10219 |
fi |
10220 |
||
10221 |
||
10222 |
fi |
|
10223 |
||
10224 |
||
10225 |
fi |
|
10226 |
||
10227 |
||
10228 |
fi |
|
10229 |
||
10230 |
||
10231 |
fi |
|
10232 |
||
10233 |
||
10234 |
fi |
|
10235 |
||
10236 |
;; |
|
10237 |
esac |
|
10238 |
||
10239 |
if test "x$lt_cv_dlopen" != xno; then |
|
10240 |
enable_dlopen=yes |
|
10241 |
else |
|
10242 |
enable_dlopen=no |
|
10243 |
fi |
|
10244 |
||
10245 |
case $lt_cv_dlopen in |
|
10246 |
dlopen) |
|
10247 |
save_CPPFLAGS="$CPPFLAGS" |
|
10248 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
10249 |
||
10250 |
save_LDFLAGS="$LDFLAGS" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10251 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
1
by paul-mccullagh
Initial import |
10252 |
|
10253 |
save_LIBS="$LIBS" |
|
10254 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
10255 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10256 |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
10257 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10258 |
if test "${lt_cv_dlopen_self+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10259 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
10260 |
else |
10261 |
if test "$cross_compiling" = yes; then : |
|
10262 |
lt_cv_dlopen_self=cross |
|
10263 |
else |
|
10264 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
10265 |
lt_status=$lt_dlunknown |
|
10266 |
cat > conftest.$ac_ext <<EOF |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
10267 |
#line 10267 "configure" |
1
by paul-mccullagh
Initial import |
10268 |
#include "confdefs.h" |
10269 |
||
10270 |
#if HAVE_DLFCN_H |
|
10271 |
#include <dlfcn.h> |
|
10272 |
#endif |
|
10273 |
||
10274 |
#include <stdio.h> |
|
10275 |
||
10276 |
#ifdef RTLD_GLOBAL |
|
10277 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
10278 |
#else |
|
10279 |
# ifdef DL_GLOBAL |
|
10280 |
# define LT_DLGLOBAL DL_GLOBAL |
|
10281 |
# else |
|
10282 |
# define LT_DLGLOBAL 0 |
|
10283 |
# endif |
|
10284 |
#endif |
|
10285 |
||
10286 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
10287 |
find out it does not work in some platform. */ |
|
10288 |
#ifndef LT_DLLAZY_OR_NOW |
|
10289 |
# ifdef RTLD_LAZY |
|
10290 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
10291 |
# else |
|
10292 |
# ifdef DL_LAZY |
|
10293 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
10294 |
# else |
|
10295 |
# ifdef RTLD_NOW |
|
10296 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
10297 |
# else |
|
10298 |
# ifdef DL_NOW |
|
10299 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
10300 |
# else |
|
10301 |
# define LT_DLLAZY_OR_NOW 0 |
|
10302 |
# endif |
|
10303 |
# endif |
|
10304 |
# endif |
|
10305 |
# endif |
|
10306 |
#endif |
|
10307 |
||
10308 |
#ifdef __cplusplus |
|
10309 |
extern "C" void exit (int); |
|
10310 |
#endif |
|
10311 |
||
10312 |
void fnord() { int i=42;} |
|
10313 |
int main () |
|
10314 |
{ |
|
10315 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
10316 |
int status = $lt_dlunknown; |
|
10317 |
||
10318 |
if (self) |
|
10319 |
{ |
|
10320 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
10321 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
10322 |
/* dlclose (self); */ |
|
10323 |
} |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10324 |
else |
10325 |
puts (dlerror ()); |
|
1
by paul-mccullagh
Initial import |
10326 |
|
10327 |
exit (status); |
|
10328 |
} |
|
10329 |
EOF |
|
10330 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
10331 |
(eval $ac_link) 2>&5 |
|
10332 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10333 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
10334 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10335 |
(./conftest; exit; ) >&5 2>/dev/null |
1
by paul-mccullagh
Initial import |
10336 |
lt_status=$? |
10337 |
case x$lt_status in |
|
10338 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
10339 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10340 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
1
by paul-mccullagh
Initial import |
10341 |
esac |
10342 |
else : |
|
10343 |
# compilation failed |
|
10344 |
lt_cv_dlopen_self=no |
|
10345 |
fi |
|
10346 |
fi |
|
10347 |
rm -fr conftest* |
|
10348 |
||
10349 |
||
10350 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10351 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
10352 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
1
by paul-mccullagh
Initial import |
10353 |
|
10354 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10355 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
10356 |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
10357 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10358 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10359 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
10360 |
else |
10361 |
if test "$cross_compiling" = yes; then : |
|
10362 |
lt_cv_dlopen_self_static=cross |
|
10363 |
else |
|
10364 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
10365 |
lt_status=$lt_dlunknown |
|
10366 |
cat > conftest.$ac_ext <<EOF |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
10367 |
#line 10367 "configure" |
1
by paul-mccullagh
Initial import |
10368 |
#include "confdefs.h" |
10369 |
||
10370 |
#if HAVE_DLFCN_H |
|
10371 |
#include <dlfcn.h> |
|
10372 |
#endif |
|
10373 |
||
10374 |
#include <stdio.h> |
|
10375 |
||
10376 |
#ifdef RTLD_GLOBAL |
|
10377 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
10378 |
#else |
|
10379 |
# ifdef DL_GLOBAL |
|
10380 |
# define LT_DLGLOBAL DL_GLOBAL |
|
10381 |
# else |
|
10382 |
# define LT_DLGLOBAL 0 |
|
10383 |
# endif |
|
10384 |
#endif |
|
10385 |
||
10386 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
10387 |
find out it does not work in some platform. */ |
|
10388 |
#ifndef LT_DLLAZY_OR_NOW |
|
10389 |
# ifdef RTLD_LAZY |
|
10390 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
10391 |
# else |
|
10392 |
# ifdef DL_LAZY |
|
10393 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
10394 |
# else |
|
10395 |
# ifdef RTLD_NOW |
|
10396 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
10397 |
# else |
|
10398 |
# ifdef DL_NOW |
|
10399 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
10400 |
# else |
|
10401 |
# define LT_DLLAZY_OR_NOW 0 |
|
10402 |
# endif |
|
10403 |
# endif |
|
10404 |
# endif |
|
10405 |
# endif |
|
10406 |
#endif |
|
10407 |
||
10408 |
#ifdef __cplusplus |
|
10409 |
extern "C" void exit (int); |
|
10410 |
#endif |
|
10411 |
||
10412 |
void fnord() { int i=42;} |
|
10413 |
int main () |
|
10414 |
{ |
|
10415 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
10416 |
int status = $lt_dlunknown; |
|
10417 |
||
10418 |
if (self) |
|
10419 |
{ |
|
10420 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
10421 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
10422 |
/* dlclose (self); */ |
|
10423 |
} |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10424 |
else |
10425 |
puts (dlerror ()); |
|
1
by paul-mccullagh
Initial import |
10426 |
|
10427 |
exit (status); |
|
10428 |
} |
|
10429 |
EOF |
|
10430 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
10431 |
(eval $ac_link) 2>&5 |
|
10432 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10433 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
10434 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10435 |
(./conftest; exit; ) >&5 2>/dev/null |
1
by paul-mccullagh
Initial import |
10436 |
lt_status=$? |
10437 |
case x$lt_status in |
|
10438 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
10439 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10440 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
1
by paul-mccullagh
Initial import |
10441 |
esac |
10442 |
else : |
|
10443 |
# compilation failed |
|
10444 |
lt_cv_dlopen_self_static=no |
|
10445 |
fi |
|
10446 |
fi |
|
10447 |
rm -fr conftest* |
|
10448 |
||
10449 |
||
10450 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10451 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
10452 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
1
by paul-mccullagh
Initial import |
10453 |
fi |
10454 |
||
10455 |
CPPFLAGS="$save_CPPFLAGS" |
|
10456 |
LDFLAGS="$save_LDFLAGS" |
|
10457 |
LIBS="$save_LIBS" |
|
10458 |
;; |
|
10459 |
esac |
|
10460 |
||
10461 |
case $lt_cv_dlopen_self in |
|
10462 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
10463 |
*) enable_dlopen_self=unknown ;; |
|
10464 |
esac |
|
10465 |
||
10466 |
case $lt_cv_dlopen_self_static in |
|
10467 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
10468 |
*) enable_dlopen_self_static=unknown ;; |
|
10469 |
esac |
|
10470 |
fi |
|
10471 |
||
10472 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10473 |
# Report which library types will actually be built |
10474 |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
10475 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
10476 |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
10477 |
$as_echo "$can_build_shared" >&6; } |
|
1
by paul-mccullagh
Initial import |
10478 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10479 |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
10480 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10481 |
test "$can_build_shared" = "no" && enable_shared=no |
10482 |
||
10483 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
10484 |
# are all built from PIC. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10485 |
case $host_os in |
1
by paul-mccullagh
Initial import |
10486 |
aix3*) |
10487 |
test "$enable_shared" = yes && enable_static=no |
|
10488 |
if test -n "$RANLIB"; then |
|
10489 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
10490 |
postinstall_cmds='$RANLIB $lib' |
|
10491 |
fi |
|
10492 |
;; |
|
10493 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10494 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
10495 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
10496 |
test "$enable_shared" = yes && enable_static=no |
|
10497 |
fi |
|
10498 |
;; |
|
10499 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10500 |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
10501 |
$as_echo "$enable_shared" >&6; } |
|
1
by paul-mccullagh
Initial import |
10502 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10503 |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
10504 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
10505 |
# Make sure either enable_shared or enable_static is yes. |
10506 |
test "$enable_shared" = yes || enable_static=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10507 |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
10508 |
$as_echo "$enable_static" >&6; } |
|
1
by paul-mccullagh
Initial import |
10509 |
|
10510 |
# The else clause should only fire when bootstrapping the |
|
10511 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
10512 |
# with your package, and you will get complaints that there are |
|
10513 |
# no rules to generate ltmain.sh. |
|
10514 |
if test -f "$ltmain"; then |
|
10515 |
# See if we are running on zsh, and set the options which allow our commands through |
|
10516 |
# without removal of \ escapes. |
|
10517 |
if test -n "${ZSH_VERSION+set}" ; then |
|
10518 |
setopt NO_GLOB_SUBST |
|
10519 |
fi |
|
10520 |
# Now quote all the things that may contain metacharacters while being |
|
10521 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
|
10522 |
# variables and quote the copies for generation of the libtool script. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10523 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
1
by paul-mccullagh
Initial import |
10524 |
SED SHELL STRIP \ |
10525 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
10526 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
10527 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
|
10528 |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
10529 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
10530 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
10531 |
old_postinstall_cmds old_postuninstall_cmds \ |
|
10532 |
compiler \ |
|
10533 |
CC \ |
|
10534 |
LD \ |
|
10535 |
lt_prog_compiler_wl \ |
|
10536 |
lt_prog_compiler_pic \ |
|
10537 |
lt_prog_compiler_static \ |
|
10538 |
lt_prog_compiler_no_builtin_flag \ |
|
10539 |
export_dynamic_flag_spec \ |
|
10540 |
thread_safe_flag_spec \ |
|
10541 |
whole_archive_flag_spec \ |
|
10542 |
enable_shared_with_static_runtimes \ |
|
10543 |
old_archive_cmds \ |
|
10544 |
old_archive_from_new_cmds \ |
|
10545 |
predep_objects \ |
|
10546 |
postdep_objects \ |
|
10547 |
predeps \ |
|
10548 |
postdeps \ |
|
10549 |
compiler_lib_search_path \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10550 |
compiler_lib_search_dirs \ |
1
by paul-mccullagh
Initial import |
10551 |
archive_cmds \ |
10552 |
archive_expsym_cmds \ |
|
10553 |
postinstall_cmds \ |
|
10554 |
postuninstall_cmds \ |
|
10555 |
old_archive_from_expsyms_cmds \ |
|
10556 |
allow_undefined_flag \ |
|
10557 |
no_undefined_flag \ |
|
10558 |
export_symbols_cmds \ |
|
10559 |
hardcode_libdir_flag_spec \ |
|
10560 |
hardcode_libdir_flag_spec_ld \ |
|
10561 |
hardcode_libdir_separator \ |
|
10562 |
hardcode_automatic \ |
|
10563 |
module_cmds \ |
|
10564 |
module_expsym_cmds \ |
|
10565 |
lt_cv_prog_compiler_c_o \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10566 |
fix_srcfile_path \ |
1
by paul-mccullagh
Initial import |
10567 |
exclude_expsyms \ |
10568 |
include_expsyms; do |
|
10569 |
||
10570 |
case $var in |
|
10571 |
old_archive_cmds | \ |
|
10572 |
old_archive_from_new_cmds | \ |
|
10573 |
archive_cmds | \ |
|
10574 |
archive_expsym_cmds | \ |
|
10575 |
module_cmds | \ |
|
10576 |
module_expsym_cmds | \ |
|
10577 |
old_archive_from_expsyms_cmds | \ |
|
10578 |
export_symbols_cmds | \ |
|
10579 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
10580 |
postinstall_cmds | postuninstall_cmds | \ |
|
10581 |
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
10582 |
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
10583 |
# Double-quote double-evaled strings. |
|
10584 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
10585 |
;; |
|
10586 |
*) |
|
10587 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
10588 |
;; |
|
10589 |
esac |
|
10590 |
done |
|
10591 |
||
10592 |
case $lt_echo in |
|
10593 |
*'\$0 --fallback-echo"') |
|
10594 |
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
10595 |
;; |
|
10596 |
esac |
|
10597 |
||
10598 |
cfgfile="${ofile}T" |
|
10599 |
trap "$rm \"$cfgfile\"; exit 1" 1 2 15 |
|
10600 |
$rm -f "$cfgfile" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10601 |
{ $as_echo "$as_me:$LINENO: creating $ofile" >&5 |
10602 |
$as_echo "$as_me: creating $ofile" >&6;} |
|
1
by paul-mccullagh
Initial import |
10603 |
|
10604 |
cat <<__EOF__ >> "$cfgfile" |
|
10605 |
#! $SHELL |
|
10606 |
||
10607 |
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
10608 |
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
|
10609 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
10610 |
# |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10611 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
1
by paul-mccullagh
Initial import |
10612 |
# Free Software Foundation, Inc. |
10613 |
# |
|
10614 |
# This file is part of GNU Libtool: |
|
10615 |
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
|
10616 |
# |
|
10617 |
# This program is free software; you can redistribute it and/or modify |
|
10618 |
# it under the terms of the GNU General Public License as published by |
|
10619 |
# the Free Software Foundation; either version 2 of the License, or |
|
10620 |
# (at your option) any later version. |
|
10621 |
# |
|
10622 |
# This program is distributed in the hope that it will be useful, but |
|
10623 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10624 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
10625 |
# General Public License for more details. |
|
10626 |
# |
|
10627 |
# You should have received a copy of the GNU General Public License |
|
10628 |
# along with this program; if not, write to the Free Software |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10629 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
1
by paul-mccullagh
Initial import |
10630 |
# |
10631 |
# As a special exception to the GNU General Public License, if you |
|
10632 |
# distribute this file as part of a program that contains a |
|
10633 |
# configuration script generated by Autoconf, you may include it under |
|
10634 |
# the same distribution terms that you use for the rest of that program. |
|
10635 |
||
10636 |
# A sed program that does not truncate output. |
|
10637 |
SED=$lt_SED |
|
10638 |
||
10639 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10640 |
Xsed="$SED -e 1s/^X//" |
1
by paul-mccullagh
Initial import |
10641 |
|
10642 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
10643 |
# if CDPATH is set. |
|
10644 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
10645 |
||
10646 |
# The names of the tagged configurations supported by this script. |
|
10647 |
available_tags= |
|
10648 |
||
10649 |
# ### BEGIN LIBTOOL CONFIG |
|
10650 |
||
10651 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
10652 |
||
10653 |
# Shell to use when invoking shell scripts. |
|
10654 |
SHELL=$lt_SHELL |
|
10655 |
||
10656 |
# Whether or not to build shared libraries. |
|
10657 |
build_libtool_libs=$enable_shared |
|
10658 |
||
10659 |
# Whether or not to build static libraries. |
|
10660 |
build_old_libs=$enable_static |
|
10661 |
||
10662 |
# Whether or not to add -lc for building shared libraries. |
|
10663 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
10664 |
||
10665 |
# Whether or not to disallow shared libs when runtime libs are static |
|
10666 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
10667 |
||
10668 |
# Whether or not to optimize for fast installation. |
|
10669 |
fast_install=$enable_fast_install |
|
10670 |
||
10671 |
# The host system. |
|
10672 |
host_alias=$host_alias |
|
10673 |
host=$host |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10674 |
host_os=$host_os |
10675 |
||
10676 |
# The build system. |
|
10677 |
build_alias=$build_alias |
|
10678 |
build=$build |
|
10679 |
build_os=$build_os |
|
1
by paul-mccullagh
Initial import |
10680 |
|
10681 |
# An echo program that does not interpret backslashes. |
|
10682 |
echo=$lt_echo |
|
10683 |
||
10684 |
# The archiver. |
|
10685 |
AR=$lt_AR |
|
10686 |
AR_FLAGS=$lt_AR_FLAGS |
|
10687 |
||
10688 |
# A C compiler. |
|
10689 |
LTCC=$lt_LTCC |
|
10690 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10691 |
# LTCC compiler flags. |
10692 |
LTCFLAGS=$lt_LTCFLAGS |
|
10693 |
||
1
by paul-mccullagh
Initial import |
10694 |
# A language-specific compiler. |
10695 |
CC=$lt_compiler |
|
10696 |
||
10697 |
# Is the compiler the GNU C compiler? |
|
10698 |
with_gcc=$GCC |
|
10699 |
||
10700 |
# An ERE matcher. |
|
10701 |
EGREP=$lt_EGREP |
|
10702 |
||
10703 |
# The linker used to build libraries. |
|
10704 |
LD=$lt_LD |
|
10705 |
||
10706 |
# Whether we need hard or soft links. |
|
10707 |
LN_S=$lt_LN_S |
|
10708 |
||
10709 |
# A BSD-compatible nm program. |
|
10710 |
NM=$lt_NM |
|
10711 |
||
10712 |
# A symbol stripping program |
|
10713 |
STRIP=$lt_STRIP |
|
10714 |
||
10715 |
# Used to examine libraries when file_magic_cmd begins "file" |
|
10716 |
MAGIC_CMD=$MAGIC_CMD |
|
10717 |
||
10718 |
# Used on cygwin: DLL creation program. |
|
10719 |
DLLTOOL="$DLLTOOL" |
|
10720 |
||
10721 |
# Used on cygwin: object dumper. |
|
10722 |
OBJDUMP="$OBJDUMP" |
|
10723 |
||
10724 |
# Used on cygwin: assembler. |
|
10725 |
AS="$AS" |
|
10726 |
||
10727 |
# The name of the directory that contains temporary libtool files. |
|
10728 |
objdir=$objdir |
|
10729 |
||
10730 |
# How to create reloadable object files. |
|
10731 |
reload_flag=$lt_reload_flag |
|
10732 |
reload_cmds=$lt_reload_cmds |
|
10733 |
||
10734 |
# How to pass a linker flag through the compiler. |
|
10735 |
wl=$lt_lt_prog_compiler_wl |
|
10736 |
||
10737 |
# Object file suffix (normally "o"). |
|
10738 |
objext="$ac_objext" |
|
10739 |
||
10740 |
# Old archive suffix (normally "a"). |
|
10741 |
libext="$libext" |
|
10742 |
||
10743 |
# Shared library suffix (normally ".so"). |
|
10744 |
shrext_cmds='$shrext_cmds' |
|
10745 |
||
10746 |
# Executable file suffix (normally ""). |
|
10747 |
exeext="$exeext" |
|
10748 |
||
10749 |
# Additional compiler flags for building library objects. |
|
10750 |
pic_flag=$lt_lt_prog_compiler_pic |
|
10751 |
pic_mode=$pic_mode |
|
10752 |
||
10753 |
# What is the maximum length of a command? |
|
10754 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
10755 |
||
10756 |
# Does compiler simultaneously support -c and -o options? |
|
10757 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
10758 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10759 |
# Must we lock files when doing compilation? |
1
by paul-mccullagh
Initial import |
10760 |
need_locks=$lt_need_locks |
10761 |
||
10762 |
# Do we need the lib prefix for modules? |
|
10763 |
need_lib_prefix=$need_lib_prefix |
|
10764 |
||
10765 |
# Do we need a version for libraries? |
|
10766 |
need_version=$need_version |
|
10767 |
||
10768 |
# Whether dlopen is supported. |
|
10769 |
dlopen_support=$enable_dlopen |
|
10770 |
||
10771 |
# Whether dlopen of programs is supported. |
|
10772 |
dlopen_self=$enable_dlopen_self |
|
10773 |
||
10774 |
# Whether dlopen of statically linked programs is supported. |
|
10775 |
dlopen_self_static=$enable_dlopen_self_static |
|
10776 |
||
10777 |
# Compiler flag to prevent dynamic linking. |
|
10778 |
link_static_flag=$lt_lt_prog_compiler_static |
|
10779 |
||
10780 |
# Compiler flag to turn off builtin functions. |
|
10781 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
10782 |
||
10783 |
# Compiler flag to allow reflexive dlopens. |
|
10784 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
10785 |
||
10786 |
# Compiler flag to generate shared objects directly from archives. |
|
10787 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
10788 |
||
10789 |
# Compiler flag to generate thread-safe objects. |
|
10790 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec |
|
10791 |
||
10792 |
# Library versioning type. |
|
10793 |
version_type=$version_type |
|
10794 |
||
10795 |
# Format of library name prefix. |
|
10796 |
libname_spec=$lt_libname_spec |
|
10797 |
||
10798 |
# List of archive names. First name is the real one, the rest are links. |
|
10799 |
# The last name is the one that the linker finds with -lNAME. |
|
10800 |
library_names_spec=$lt_library_names_spec |
|
10801 |
||
10802 |
# The coded name of the library, if different from the real name. |
|
10803 |
soname_spec=$lt_soname_spec |
|
10804 |
||
10805 |
# Commands used to build and install an old-style archive. |
|
10806 |
RANLIB=$lt_RANLIB |
|
10807 |
old_archive_cmds=$lt_old_archive_cmds |
|
10808 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
10809 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
10810 |
||
10811 |
# Create an old-style archive from a shared archive. |
|
10812 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
10813 |
||
10814 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
10815 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
10816 |
||
10817 |
# Commands used to build and install a shared archive. |
|
10818 |
archive_cmds=$lt_archive_cmds |
|
10819 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
10820 |
postinstall_cmds=$lt_postinstall_cmds |
|
10821 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
10822 |
||
10823 |
# Commands used to build a loadable module (assumed same as above if empty) |
|
10824 |
module_cmds=$lt_module_cmds |
|
10825 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
10826 |
||
10827 |
# Commands to strip libraries. |
|
10828 |
old_striplib=$lt_old_striplib |
|
10829 |
striplib=$lt_striplib |
|
10830 |
||
10831 |
# Dependencies to place before the objects being linked to create a |
|
10832 |
# shared library. |
|
10833 |
predep_objects=$lt_predep_objects |
|
10834 |
||
10835 |
# Dependencies to place after the objects being linked to create a |
|
10836 |
# shared library. |
|
10837 |
postdep_objects=$lt_postdep_objects |
|
10838 |
||
10839 |
# Dependencies to place before the objects being linked to create a |
|
10840 |
# shared library. |
|
10841 |
predeps=$lt_predeps |
|
10842 |
||
10843 |
# Dependencies to place after the objects being linked to create a |
|
10844 |
# shared library. |
|
10845 |
postdeps=$lt_postdeps |
|
10846 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10847 |
# The directories searched by this compiler when creating a shared |
10848 |
# library |
|
10849 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
10850 |
||
1
by paul-mccullagh
Initial import |
10851 |
# The library search path used internally by the compiler when linking |
10852 |
# a shared library. |
|
10853 |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
10854 |
||
10855 |
# Method to check whether dependent libraries are shared objects. |
|
10856 |
deplibs_check_method=$lt_deplibs_check_method |
|
10857 |
||
10858 |
# Command to use when deplibs_check_method == file_magic. |
|
10859 |
file_magic_cmd=$lt_file_magic_cmd |
|
10860 |
||
10861 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
10862 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
10863 |
||
10864 |
# Flag that forces no undefined symbols. |
|
10865 |
no_undefined_flag=$lt_no_undefined_flag |
|
10866 |
||
10867 |
# Commands used to finish a libtool library installation in a directory. |
|
10868 |
finish_cmds=$lt_finish_cmds |
|
10869 |
||
10870 |
# Same as above, but a single script fragment to be evaled but not shown. |
|
10871 |
finish_eval=$lt_finish_eval |
|
10872 |
||
10873 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
10874 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
10875 |
||
10876 |
# Transform the output of nm in a proper C declaration |
|
10877 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
10878 |
||
10879 |
# Transform the output of nm in a C name address pair |
|
10880 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
10881 |
||
10882 |
# This is the shared library runtime path variable. |
|
10883 |
runpath_var=$runpath_var |
|
10884 |
||
10885 |
# This is the shared library path variable. |
|
10886 |
shlibpath_var=$shlibpath_var |
|
10887 |
||
10888 |
# Is shlibpath searched before the hard-coded library search path? |
|
10889 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
10890 |
||
10891 |
# How to hardcode a shared library path into an executable. |
|
10892 |
hardcode_action=$hardcode_action |
|
10893 |
||
10894 |
# Whether we should hardcode library paths into libraries. |
|
10895 |
hardcode_into_libs=$hardcode_into_libs |
|
10896 |
||
10897 |
# Flag to hardcode \$libdir into a binary during linking. |
|
10898 |
# This must work even if \$libdir does not exist. |
|
10899 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
10900 |
||
10901 |
# If ld is used when linking, flag to hardcode \$libdir into |
|
10902 |
# a binary during linking. This must work even if \$libdir does |
|
10903 |
# not exist. |
|
10904 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
10905 |
||
10906 |
# Whether we need a single -rpath flag with a separated argument. |
|
10907 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
10908 |
||
10909 |
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
10910 |
# resulting binary. |
|
10911 |
hardcode_direct=$hardcode_direct |
|
10912 |
||
10913 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
10914 |
# resulting binary. |
|
10915 |
hardcode_minus_L=$hardcode_minus_L |
|
10916 |
||
10917 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
10918 |
# the resulting binary. |
|
10919 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
10920 |
||
10921 |
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
10922 |
# and all subsequent libraries and executables linked against it. |
|
10923 |
hardcode_automatic=$hardcode_automatic |
|
10924 |
||
10925 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
10926 |
# restored at relink time. |
|
10927 |
variables_saved_for_relink="$variables_saved_for_relink" |
|
10928 |
||
10929 |
# Whether libtool must link a program against all its dependency libraries. |
|
10930 |
link_all_deplibs=$link_all_deplibs |
|
10931 |
||
10932 |
# Compile-time system search path for libraries |
|
10933 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
10934 |
||
10935 |
# Run-time system search path for libraries |
|
10936 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
10937 |
||
10938 |
# Fix the shell variable \$srcfile for the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
10939 |
fix_srcfile_path=$lt_fix_srcfile_path |
1
by paul-mccullagh
Initial import |
10940 |
|
10941 |
# Set to yes if exported symbols are required. |
|
10942 |
always_export_symbols=$always_export_symbols |
|
10943 |
||
10944 |
# The commands to list exported symbols. |
|
10945 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
10946 |
||
10947 |
# The commands to extract the exported symbol list from a shared archive. |
|
10948 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
10949 |
||
10950 |
# Symbols that should not be listed in the preloaded symbols. |
|
10951 |
exclude_expsyms=$lt_exclude_expsyms |
|
10952 |
||
10953 |
# Symbols that must always be exported. |
|
10954 |
include_expsyms=$lt_include_expsyms |
|
10955 |
||
10956 |
# ### END LIBTOOL CONFIG |
|
10957 |
||
10958 |
__EOF__ |
|
10959 |
||
10960 |
||
10961 |
case $host_os in |
|
10962 |
aix3*) |
|
10963 |
cat <<\EOF >> "$cfgfile" |
|
10964 |
||
10965 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
10966 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
10967 |
# vanish in a puff of smoke. |
|
10968 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
10969 |
COLLECT_NAMES= |
|
10970 |
export COLLECT_NAMES |
|
10971 |
fi |
|
10972 |
EOF |
|
10973 |
;; |
|
10974 |
esac |
|
10975 |
||
10976 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
10977 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
10978 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
10979 |
# is reportedly fixed, but why not run on old versions too? |
|
10980 |
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) |
|
10981 |
||
10982 |
mv -f "$cfgfile" "$ofile" || \ |
|
10983 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
10984 |
chmod +x "$ofile" |
|
10985 |
||
10986 |
else |
|
10987 |
# If there is no Makefile yet, we rely on a make rule to execute |
|
10988 |
# `config.status --recheck' to rerun these tests and create the |
|
10989 |
# libtool script then. |
|
10990 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
10991 |
if test -f "$ltmain_in"; then |
|
10992 |
test -f Makefile && make "$ltmain" |
|
10993 |
fi |
|
10994 |
fi |
|
10995 |
||
10996 |
||
10997 |
ac_ext=c |
|
10998 |
ac_cpp='$CPP $CPPFLAGS' |
|
10999 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11000 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11001 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11002 |
||
11003 |
CC="$lt_save_CC" |
|
11004 |
||
11005 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11006 |
# Check whether --with-tags was given. |
1
by paul-mccullagh
Initial import |
11007 |
if test "${with_tags+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11008 |
withval=$with_tags; tagnames="$withval" |
11009 |
fi |
|
11010 |
||
1
by paul-mccullagh
Initial import |
11011 |
|
11012 |
if test -f "$ltmain" && test -n "$tagnames"; then |
|
11013 |
if test ! -f "${ofile}"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11014 |
{ $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
11015 |
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
|
1
by paul-mccullagh
Initial import |
11016 |
fi |
11017 |
||
11018 |
if test -z "$LTCC"; then |
|
11019 |
eval "`$SHELL ${ofile} --config | grep '^LTCC='`" |
|
11020 |
if test -z "$LTCC"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11021 |
{ $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 |
11022 |
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} |
|
1
by paul-mccullagh
Initial import |
11023 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11024 |
{ $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 |
11025 |
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
|
1
by paul-mccullagh
Initial import |
11026 |
fi |
11027 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11028 |
if test -z "$LTCFLAGS"; then |
11029 |
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
|
11030 |
fi |
|
1
by paul-mccullagh
Initial import |
11031 |
|
11032 |
# Extract list of available tagged configurations in $ofile. |
|
11033 |
# Note that this assumes the entire list is on one line. |
|
11034 |
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
|
11035 |
||
11036 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
11037 |
for tagname in $tagnames; do |
|
11038 |
IFS="$lt_save_ifs" |
|
11039 |
# Check whether tagname contains only valid characters |
|
11040 |
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in |
|
11041 |
"") ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11042 |
*) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 |
11043 |
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;} |
|
1
by paul-mccullagh
Initial import |
11044 |
{ (exit 1); exit 1; }; } |
11045 |
;; |
|
11046 |
esac |
|
11047 |
||
11048 |
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null |
|
11049 |
then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11050 |
{ { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 |
11051 |
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} |
|
1
by paul-mccullagh
Initial import |
11052 |
{ (exit 1); exit 1; }; } |
11053 |
fi |
|
11054 |
||
11055 |
# Update the list of available tags. |
|
11056 |
if test -n "$tagname"; then |
|
11057 |
echo appending configuration tag \"$tagname\" to $ofile |
|
11058 |
||
11059 |
case $tagname in |
|
11060 |
CXX) |
|
11061 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
11062 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
11063 |
(test "X$CXX" != "Xg++"))) ; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11064 |
ac_ext=cpp |
1
by paul-mccullagh
Initial import |
11065 |
ac_cpp='$CXXCPP $CPPFLAGS' |
11066 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11067 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11068 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
11069 |
||
11070 |
||
11071 |
||
11072 |
||
11073 |
archive_cmds_need_lc_CXX=no |
|
11074 |
allow_undefined_flag_CXX= |
|
11075 |
always_export_symbols_CXX=no |
|
11076 |
archive_expsym_cmds_CXX= |
|
11077 |
export_dynamic_flag_spec_CXX= |
|
11078 |
hardcode_direct_CXX=no |
|
11079 |
hardcode_libdir_flag_spec_CXX= |
|
11080 |
hardcode_libdir_flag_spec_ld_CXX= |
|
11081 |
hardcode_libdir_separator_CXX= |
|
11082 |
hardcode_minus_L_CXX=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11083 |
hardcode_shlibpath_var_CXX=unsupported |
1
by paul-mccullagh
Initial import |
11084 |
hardcode_automatic_CXX=no |
11085 |
module_cmds_CXX= |
|
11086 |
module_expsym_cmds_CXX= |
|
11087 |
link_all_deplibs_CXX=unknown |
|
11088 |
old_archive_cmds_CXX=$old_archive_cmds |
|
11089 |
no_undefined_flag_CXX= |
|
11090 |
whole_archive_flag_spec_CXX= |
|
11091 |
enable_shared_with_static_runtimes_CXX=no |
|
11092 |
||
11093 |
# Dependencies to place before and after the object being linked: |
|
11094 |
predep_objects_CXX= |
|
11095 |
postdep_objects_CXX= |
|
11096 |
predeps_CXX= |
|
11097 |
postdeps_CXX= |
|
11098 |
compiler_lib_search_path_CXX= |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11099 |
compiler_lib_search_dirs_CXX= |
1
by paul-mccullagh
Initial import |
11100 |
|
11101 |
# Source file extension for C++ test sources. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11102 |
ac_ext=cpp |
1
by paul-mccullagh
Initial import |
11103 |
|
11104 |
# Object file extension for compiled C++ test sources. |
|
11105 |
objext=o |
|
11106 |
objext_CXX=$objext |
|
11107 |
||
11108 |
# Code to be used in simple compile tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11109 |
lt_simple_compile_test_code="int some_variable = 0;" |
1
by paul-mccullagh
Initial import |
11110 |
|
11111 |
# Code to be used in simple link tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11112 |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
1
by paul-mccullagh
Initial import |
11113 |
|
11114 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
11115 |
||
11116 |
# If no C compiler was specified, use CC. |
|
11117 |
LTCC=${LTCC-"$CC"} |
|
11118 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11119 |
# If no C compiler flags were specified, use CFLAGS. |
11120 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
11121 |
||
1
by paul-mccullagh
Initial import |
11122 |
# Allow CC to be a program name with arguments. |
11123 |
compiler=$CC |
|
11124 |
||
11125 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11126 |
# save warnings/boilerplate of simple test code |
11127 |
ac_outfile=conftest.$ac_objext |
|
11128 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
11129 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11130 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
11131 |
$rm conftest* |
|
11132 |
||
11133 |
ac_outfile=conftest.$ac_objext |
|
11134 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
11135 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11136 |
_lt_linker_boilerplate=`cat conftest.err` |
|
11137 |
$rm -r conftest* |
|
11138 |
||
11139 |
||
1
by paul-mccullagh
Initial import |
11140 |
# Allow CC to be a program name with arguments. |
11141 |
lt_save_CC=$CC |
|
11142 |
lt_save_LD=$LD |
|
11143 |
lt_save_GCC=$GCC |
|
11144 |
GCC=$GXX |
|
11145 |
lt_save_with_gnu_ld=$with_gnu_ld |
|
11146 |
lt_save_path_LD=$lt_cv_path_LD |
|
11147 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
|
11148 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
|
11149 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11150 |
$as_unset lt_cv_prog_gnu_ld |
1
by paul-mccullagh
Initial import |
11151 |
fi |
11152 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
|
11153 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
|
11154 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11155 |
$as_unset lt_cv_path_LD |
1
by paul-mccullagh
Initial import |
11156 |
fi |
11157 |
test -z "${LDCXX+set}" || LD=$LDCXX |
|
11158 |
CC=${CXX-"c++"} |
|
11159 |
compiler=$CC |
|
11160 |
compiler_CXX=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11161 |
for cc_temp in $compiler""; do |
11162 |
case $cc_temp in |
|
11163 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
11164 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
11165 |
\-*) ;; |
|
11166 |
*) break;; |
|
11167 |
esac |
|
11168 |
done |
|
11169 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
11170 |
||
1
by paul-mccullagh
Initial import |
11171 |
|
11172 |
# We don't want -fno-exception wen compiling C++ code, so set the |
|
11173 |
# no_builtin_flag separately |
|
11174 |
if test "$GXX" = yes; then |
|
11175 |
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
|
11176 |
else |
|
11177 |
lt_prog_compiler_no_builtin_flag_CXX= |
|
11178 |
fi |
|
11179 |
||
11180 |
if test "$GXX" = yes; then |
|
11181 |
# Set up default GNU C++ configuration |
|
11182 |
||
11183 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11184 |
# Check whether --with-gnu-ld was given. |
1
by paul-mccullagh
Initial import |
11185 |
if test "${with_gnu_ld+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11186 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
1
by paul-mccullagh
Initial import |
11187 |
else |
11188 |
with_gnu_ld=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11189 |
fi |
11190 |
||
1
by paul-mccullagh
Initial import |
11191 |
ac_prog=ld |
11192 |
if test "$GCC" = yes; then |
|
11193 |
# Check if gcc -print-prog-name=ld gives a path. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11194 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
11195 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
11196 |
case $host in |
11197 |
*-*-mingw*) |
|
11198 |
# gcc leaves a trailing carriage return which upsets mingw |
|
11199 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
11200 |
*) |
|
11201 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
11202 |
esac |
|
11203 |
case $ac_prog in |
|
11204 |
# Accept absolute paths. |
|
11205 |
[\\/]* | ?:[\\/]*) |
|
11206 |
re_direlt='/[^/][^/]*/\.\./' |
|
11207 |
# Canonicalize the pathname of ld |
|
11208 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
|
11209 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
11210 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
|
11211 |
done |
|
11212 |
test -z "$LD" && LD="$ac_prog" |
|
11213 |
;; |
|
11214 |
"") |
|
11215 |
# If it fails, then pretend we aren't using GCC. |
|
11216 |
ac_prog=ld |
|
11217 |
;; |
|
11218 |
*) |
|
11219 |
# If it is relative, then search for the first ld in PATH. |
|
11220 |
with_gnu_ld=unknown |
|
11221 |
;; |
|
11222 |
esac |
|
11223 |
elif test "$with_gnu_ld" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11224 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
11225 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
11226 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11227 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
11228 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
11229 |
fi |
11230 |
if test "${lt_cv_path_LD+set}" = set; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11231 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
11232 |
else |
11233 |
if test -z "$LD"; then |
|
11234 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
11235 |
for ac_dir in $PATH; do |
|
11236 |
IFS="$lt_save_ifs" |
|
11237 |
test -z "$ac_dir" && ac_dir=. |
|
11238 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
11239 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
11240 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11241 |
# but apparently some variants of GNU ld only accept -v. |
1
by paul-mccullagh
Initial import |
11242 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
11243 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
11244 |
*GNU* | *'with BFD'*) |
|
11245 |
test "$with_gnu_ld" != no && break |
|
11246 |
;; |
|
11247 |
*) |
|
11248 |
test "$with_gnu_ld" != yes && break |
|
11249 |
;; |
|
11250 |
esac |
|
11251 |
fi |
|
11252 |
done |
|
11253 |
IFS="$lt_save_ifs" |
|
11254 |
else |
|
11255 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
11256 |
fi |
|
11257 |
fi |
|
11258 |
||
11259 |
LD="$lt_cv_path_LD" |
|
11260 |
if test -n "$LD"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11261 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
11262 |
$as_echo "$LD" >&6; } |
|
1
by paul-mccullagh
Initial import |
11263 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11264 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
11265 |
$as_echo "no" >&6; } |
|
1
by paul-mccullagh
Initial import |
11266 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11267 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
11268 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
1
by paul-mccullagh
Initial import |
11269 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11270 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
11271 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1
by paul-mccullagh
Initial import |
11272 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11273 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
11274 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11275 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
1
by paul-mccullagh
Initial import |
11276 |
case `$LD -v 2>&1 </dev/null` in |
11277 |
*GNU* | *'with BFD'*) |
|
11278 |
lt_cv_prog_gnu_ld=yes |
|
11279 |
;; |
|
11280 |
*) |
|
11281 |
lt_cv_prog_gnu_ld=no |
|
11282 |
;; |
|
11283 |
esac |
|
11284 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11285 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
11286 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1
by paul-mccullagh
Initial import |
11287 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
11288 |
||
11289 |
||
11290 |
||
11291 |
# Check if GNU C++ uses GNU ld as the underlying linker, since the |
|
11292 |
# archiving commands below assume that GNU ld is being used. |
|
11293 |
if test "$with_gnu_ld" = yes; then |
|
11294 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11295 |
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11296 |
||
11297 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
11298 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11299 |
||
11300 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
11301 |
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
|
11302 |
# investigate it a little bit more. (MM) |
|
11303 |
wlarc='${wl}' |
|
11304 |
||
11305 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
11306 |
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ |
|
11307 |
grep 'no-whole-archive' > /dev/null; then |
|
11308 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
11309 |
else |
|
11310 |
whole_archive_flag_spec_CXX= |
|
11311 |
fi |
|
11312 |
else |
|
11313 |
with_gnu_ld=no |
|
11314 |
wlarc= |
|
11315 |
||
11316 |
# A generic and very simple default shared library creation |
|
11317 |
# command for GNU C++ for the case where it uses the native |
|
11318 |
# linker, instead of GNU ld. If possible, this setting should |
|
11319 |
# overridden to take advantage of the native linker features on |
|
11320 |
# the platform it is being used on. |
|
11321 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
11322 |
fi |
|
11323 |
||
11324 |
# Commands to make compiler produce verbose output that lists |
|
11325 |
# what "hidden" libraries, object files and flags are used when |
|
11326 |
# linking a shared library. |
|
11327 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
11328 |
||
11329 |
else |
|
11330 |
GXX=no |
|
11331 |
with_gnu_ld=no |
|
11332 |
wlarc= |
|
11333 |
fi |
|
11334 |
||
11335 |
# PORTME: fill in a description of your system's C++ link characteristics |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11336 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
11337 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
11338 |
ld_shlibs_CXX=yes |
11339 |
case $host_os in |
|
11340 |
aix3*) |
|
11341 |
# FIXME: insert proper C++ library support |
|
11342 |
ld_shlibs_CXX=no |
|
11343 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11344 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
11345 |
if test "$host_cpu" = ia64; then |
11346 |
# On IA64, the linker does run time linking by default, so we don't |
|
11347 |
# have to do anything special. |
|
11348 |
aix_use_runtimelinking=no |
|
11349 |
exp_sym_flag='-Bexport' |
|
11350 |
no_entry_flag="" |
|
11351 |
else |
|
11352 |
aix_use_runtimelinking=no |
|
11353 |
||
11354 |
# Test if we are trying to use run time linking or normal |
|
11355 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
11356 |
# need to do runtime linking. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11357 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1
by paul-mccullagh
Initial import |
11358 |
for ld_flag in $LDFLAGS; do |
11359 |
case $ld_flag in |
|
11360 |
*-brtl*) |
|
11361 |
aix_use_runtimelinking=yes |
|
11362 |
break |
|
11363 |
;; |
|
11364 |
esac |
|
11365 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11366 |
;; |
1
by paul-mccullagh
Initial import |
11367 |
esac |
11368 |
||
11369 |
exp_sym_flag='-bexport' |
|
11370 |
no_entry_flag='-bnoentry' |
|
11371 |
fi |
|
11372 |
||
11373 |
# When large executables or shared objects are built, AIX ld can |
|
11374 |
# have problems creating the table of contents. If linking a library |
|
11375 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
11376 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
11377 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
11378 |
||
11379 |
archive_cmds_CXX='' |
|
11380 |
hardcode_direct_CXX=yes |
|
11381 |
hardcode_libdir_separator_CXX=':' |
|
11382 |
link_all_deplibs_CXX=yes |
|
11383 |
||
11384 |
if test "$GXX" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11385 |
case $host_os in aix4.[012]|aix4.[012].*) |
1
by paul-mccullagh
Initial import |
11386 |
# We only want to do this on AIX 4.2 and lower, the check |
11387 |
# below for broken collect2 doesn't work under 4.3+ |
|
11388 |
collect2name=`${CC} -print-prog-name=collect2` |
|
11389 |
if test -f "$collect2name" && \ |
|
11390 |
strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
11391 |
then |
|
11392 |
# We have reworked collect2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11393 |
: |
1
by paul-mccullagh
Initial import |
11394 |
else |
11395 |
# We have old collect2 |
|
11396 |
hardcode_direct_CXX=unsupported |
|
11397 |
# It fails to find uninstalled libraries when the uninstalled |
|
11398 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
11399 |
# to unsupported forces relinking |
|
11400 |
hardcode_minus_L_CXX=yes |
|
11401 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
11402 |
hardcode_libdir_separator_CXX= |
|
11403 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11404 |
;; |
1
by paul-mccullagh
Initial import |
11405 |
esac |
11406 |
shared_flag='-shared' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11407 |
if test "$aix_use_runtimelinking" = yes; then |
11408 |
shared_flag="$shared_flag "'${wl}-G' |
|
11409 |
fi |
|
1
by paul-mccullagh
Initial import |
11410 |
else |
11411 |
# not using gcc |
|
11412 |
if test "$host_cpu" = ia64; then |
|
11413 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
11414 |
# chokes on -Wl,-G. The following line is correct: |
|
11415 |
shared_flag='-G' |
|
11416 |
else |
|
11417 |
if test "$aix_use_runtimelinking" = yes; then |
|
11418 |
shared_flag='${wl}-G' |
|
11419 |
else |
|
11420 |
shared_flag='${wl}-bM:SRE' |
|
11421 |
fi |
|
11422 |
fi |
|
11423 |
fi |
|
11424 |
||
11425 |
# It seems that -bexpall does not export symbols beginning with |
|
11426 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
11427 |
always_export_symbols_CXX=yes |
|
11428 |
if test "$aix_use_runtimelinking" = yes; then |
|
11429 |
# Warning - without using the other runtime loading flags (-brtl), |
|
11430 |
# -berok will link without error, but may produce a broken library. |
|
11431 |
allow_undefined_flag_CXX='-berok' |
|
11432 |
# Determine the default libpath from the value encoded in an empty executable. |
|
11433 |
cat >conftest.$ac_ext <<_ACEOF |
|
11434 |
/* confdefs.h. */ |
|
11435 |
_ACEOF |
|
11436 |
cat confdefs.h >>conftest.$ac_ext |
|
11437 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11438 |
/* end confdefs.h. */ |
|
11439 |
||
11440 |
int |
|
11441 |
main () |
|
11442 |
{ |
|
11443 |
||
11444 |
; |
|
11445 |
return 0; |
|
11446 |
} |
|
11447 |
_ACEOF |
|
11448 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11449 |
if { (ac_try="$ac_link" |
11450 |
case "(($ac_try" in |
|
11451 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11452 |
*) ac_try_echo=$ac_try;; |
|
11453 |
esac |
|
11454 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
11455 |
$as_echo "$ac_try_echo") >&5 |
|
11456 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
11457 |
ac_status=$? |
11458 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
11459 |
rm -f conftest.er1 |
|
11460 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11461 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11462 |
(exit $ac_status); } && { |
|
11463 |
test -z "$ac_cxx_werror_flag" || |
|
11464 |
test ! -s conftest.err |
|
11465 |
} && test -s conftest$ac_exeext && { |
|
11466 |
test "$cross_compiling" = yes || |
|
11467 |
$as_test_x conftest$ac_exeext |
|
11468 |
}; then |
|
1
by paul-mccullagh
Initial import |
11469 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11470 |
lt_aix_libpath_sed=' |
11471 |
/Import File Strings/,/^$/ { |
|
11472 |
/^0/ { |
|
11473 |
s/^0 *\(.*\)$/\1/ |
|
11474 |
p |
|
11475 |
} |
|
11476 |
}' |
|
11477 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
11478 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11479 |
if test -z "$aix_libpath"; then |
11480 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11481 |
fi |
|
1
by paul-mccullagh
Initial import |
11482 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11483 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
11484 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11485 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11486 |
|
1
by paul-mccullagh
Initial import |
11487 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11488 |
|
11489 |
rm -rf conftest.dSYM |
|
11490 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
11491 |
conftest$ac_exeext conftest.$ac_ext |
11492 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11493 |
||
11494 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11495 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11496 |
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
1
by paul-mccullagh
Initial import |
11497 |
else |
11498 |
if test "$host_cpu" = ia64; then |
|
11499 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
|
11500 |
allow_undefined_flag_CXX="-z nodefs" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11501 |
archive_expsym_cmds_CXX="\$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" |
1
by paul-mccullagh
Initial import |
11502 |
else |
11503 |
# Determine the default libpath from the value encoded in an empty executable. |
|
11504 |
cat >conftest.$ac_ext <<_ACEOF |
|
11505 |
/* confdefs.h. */ |
|
11506 |
_ACEOF |
|
11507 |
cat confdefs.h >>conftest.$ac_ext |
|
11508 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11509 |
/* end confdefs.h. */ |
|
11510 |
||
11511 |
int |
|
11512 |
main () |
|
11513 |
{ |
|
11514 |
||
11515 |
; |
|
11516 |
return 0; |
|
11517 |
} |
|
11518 |
_ACEOF |
|
11519 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11520 |
if { (ac_try="$ac_link" |
11521 |
case "(($ac_try" in |
|
11522 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11523 |
*) ac_try_echo=$ac_try;; |
|
11524 |
esac |
|
11525 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
11526 |
$as_echo "$ac_try_echo") >&5 |
|
11527 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
11528 |
ac_status=$? |
11529 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
11530 |
rm -f conftest.er1 |
|
11531 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11532 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11533 |
(exit $ac_status); } && { |
|
11534 |
test -z "$ac_cxx_werror_flag" || |
|
11535 |
test ! -s conftest.err |
|
11536 |
} && test -s conftest$ac_exeext && { |
|
11537 |
test "$cross_compiling" = yes || |
|
11538 |
$as_test_x conftest$ac_exeext |
|
11539 |
}; then |
|
1
by paul-mccullagh
Initial import |
11540 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11541 |
lt_aix_libpath_sed=' |
11542 |
/Import File Strings/,/^$/ { |
|
11543 |
/^0/ { |
|
11544 |
s/^0 *\(.*\)$/\1/ |
|
11545 |
p |
|
11546 |
} |
|
11547 |
}' |
|
11548 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
11549 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11550 |
if test -z "$aix_libpath"; then |
11551 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11552 |
fi |
|
1
by paul-mccullagh
Initial import |
11553 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11554 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
11555 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11556 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11557 |
|
1
by paul-mccullagh
Initial import |
11558 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11559 |
|
11560 |
rm -rf conftest.dSYM |
|
11561 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
11562 |
conftest$ac_exeext conftest.$ac_ext |
11563 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11564 |
||
11565 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11566 |
# Warning - without using the other run time loading flags, |
|
11567 |
# -berok will link without error, but may produce a broken library. |
|
11568 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
|
11569 |
allow_undefined_flag_CXX=' ${wl}-berok' |
|
11570 |
# Exported symbols can be pulled into shared objects from archives |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11571 |
whole_archive_flag_spec_CXX='$convenience' |
1
by paul-mccullagh
Initial import |
11572 |
archive_cmds_need_lc_CXX=yes |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11573 |
# This is similar to how AIX traditionally builds its shared libraries. |
11574 |
archive_expsym_cmds_CXX="\$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' |
|
1
by paul-mccullagh
Initial import |
11575 |
fi |
11576 |
fi |
|
11577 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11578 |
|
11579 |
beos*) |
|
11580 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
11581 |
allow_undefined_flag_CXX=unsupported |
|
11582 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
11583 |
# support --undefined. This deserves some investigation. FIXME |
|
11584 |
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11585 |
else |
|
11586 |
ld_shlibs_CXX=no |
|
11587 |
fi |
|
11588 |
;; |
|
11589 |
||
1
by paul-mccullagh
Initial import |
11590 |
chorus*) |
11591 |
case $cc_basename in |
|
11592 |
*) |
|
11593 |
# FIXME: insert proper C++ library support |
|
11594 |
ld_shlibs_CXX=no |
|
11595 |
;; |
|
11596 |
esac |
|
11597 |
;; |
|
11598 |
||
11599 |
cygwin* | mingw* | pw32*) |
|
11600 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
|
11601 |
# as there is no search path for DLLs. |
|
11602 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
11603 |
allow_undefined_flag_CXX=unsupported |
|
11604 |
always_export_symbols_CXX=no |
|
11605 |
enable_shared_with_static_runtimes_CXX=yes |
|
11606 |
||
11607 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11608 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1
by paul-mccullagh
Initial import |
11609 |
# If the export-symbols file already is a .def file (1st line |
11610 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
11611 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
11612 |
cp $export_symbols $output_objdir/$soname.def; |
|
11613 |
else |
|
11614 |
echo EXPORTS > $output_objdir/$soname.def; |
|
11615 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
11616 |
fi~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11617 |
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1
by paul-mccullagh
Initial import |
11618 |
else |
11619 |
ld_shlibs_CXX=no |
|
11620 |
fi |
|
11621 |
;; |
|
11622 |
darwin* | rhapsody*) |
|
11623 |
archive_cmds_need_lc_CXX=no |
|
11624 |
hardcode_direct_CXX=no |
|
11625 |
hardcode_automatic_CXX=yes |
|
11626 |
hardcode_shlibpath_var_CXX=unsupported |
|
11627 |
whole_archive_flag_spec_CXX='' |
|
11628 |
link_all_deplibs_CXX=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11629 |
allow_undefined_flag_CXX="$_lt_dar_allow_undefined" |
11630 |
if test "$GXX" = yes ; then |
|
1
by paul-mccullagh
Initial import |
11631 |
output_verbose_link_cmd='echo' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11632 |
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
11633 |
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
11634 |
archive_expsym_cmds_CXX="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}" |
|
11635 |
module_expsym_cmds_CXX="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}" |
|
11636 |
if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
|
11637 |
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" |
|
11638 |
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
|
1
by paul-mccullagh
Initial import |
11639 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11640 |
else |
11641 |
case $cc_basename in |
|
1
by paul-mccullagh
Initial import |
11642 |
xlc*) |
11643 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11644 |
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
1
by paul-mccullagh
Initial import |
11645 |
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11646 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
11647 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
1
by paul-mccullagh
Initial import |
11648 |
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11649 |
;; |
|
11650 |
*) |
|
11651 |
ld_shlibs_CXX=no |
|
11652 |
;; |
|
11653 |
esac |
|
11654 |
fi |
|
11655 |
;; |
|
11656 |
||
11657 |
dgux*) |
|
11658 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11659 |
ec++*) |
1
by paul-mccullagh
Initial import |
11660 |
# FIXME: insert proper C++ library support |
11661 |
ld_shlibs_CXX=no |
|
11662 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11663 |
ghcx*) |
1
by paul-mccullagh
Initial import |
11664 |
# Green Hills C++ Compiler |
11665 |
# FIXME: insert proper C++ library support |
|
11666 |
ld_shlibs_CXX=no |
|
11667 |
;; |
|
11668 |
*) |
|
11669 |
# FIXME: insert proper C++ library support |
|
11670 |
ld_shlibs_CXX=no |
|
11671 |
;; |
|
11672 |
esac |
|
11673 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11674 |
freebsd[12]*) |
1
by paul-mccullagh
Initial import |
11675 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
11676 |
ld_shlibs_CXX=no |
|
11677 |
;; |
|
11678 |
freebsd-elf*) |
|
11679 |
archive_cmds_need_lc_CXX=no |
|
11680 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11681 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
11682 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
11683 |
# conventions |
|
11684 |
ld_shlibs_CXX=yes |
|
11685 |
;; |
|
11686 |
gnu*) |
|
11687 |
;; |
|
11688 |
hpux9*) |
|
11689 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
11690 |
hardcode_libdir_separator_CXX=: |
|
11691 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
11692 |
hardcode_direct_CXX=yes |
|
11693 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
11694 |
# but as the default |
|
11695 |
# location of the library. |
|
11696 |
||
11697 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11698 |
CC*) |
1
by paul-mccullagh
Initial import |
11699 |
# FIXME: insert proper C++ library support |
11700 |
ld_shlibs_CXX=no |
|
11701 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11702 |
aCC*) |
1
by paul-mccullagh
Initial import |
11703 |
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
11704 |
# Commands to make compiler produce verbose output that lists |
|
11705 |
# what "hidden" libraries, object files and flags are used when |
|
11706 |
# linking a shared library. |
|
11707 |
# |
|
11708 |
# There doesn't appear to be a way to prevent this compiler from |
|
11709 |
# explicitly linking system object files so we need to strip them |
|
11710 |
# from the output so that they don't get included in the library |
|
11711 |
# dependencies. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11712 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
1
by paul-mccullagh
Initial import |
11713 |
;; |
11714 |
*) |
|
11715 |
if test "$GXX" = yes; then |
|
11716 |
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
11717 |
else |
|
11718 |
# FIXME: insert proper C++ library support |
|
11719 |
ld_shlibs_CXX=no |
|
11720 |
fi |
|
11721 |
;; |
|
11722 |
esac |
|
11723 |
;; |
|
11724 |
hpux10*|hpux11*) |
|
11725 |
if test $with_gnu_ld = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11726 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
11727 |
hardcode_libdir_separator_CXX=: |
|
11728 |
||
11729 |
case $host_cpu in |
|
11730 |
hppa*64*|ia64*) ;; |
|
1
by paul-mccullagh
Initial import |
11731 |
*) |
11732 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
11733 |
;; |
|
11734 |
esac |
|
11735 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11736 |
case $host_cpu in |
11737 |
hppa*64*|ia64*) |
|
11738 |
hardcode_direct_CXX=no |
|
11739 |
hardcode_shlibpath_var_CXX=no |
|
1
by paul-mccullagh
Initial import |
11740 |
;; |
11741 |
*) |
|
11742 |
hardcode_direct_CXX=yes |
|
11743 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
11744 |
# but as the default |
|
11745 |
# location of the library. |
|
11746 |
;; |
|
11747 |
esac |
|
11748 |
||
11749 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11750 |
CC*) |
1
by paul-mccullagh
Initial import |
11751 |
# FIXME: insert proper C++ library support |
11752 |
ld_shlibs_CXX=no |
|
11753 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11754 |
aCC*) |
11755 |
case $host_cpu in |
|
11756 |
hppa*64*) |
|
11757 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11758 |
;; |
|
11759 |
ia64*) |
|
11760 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
1
by paul-mccullagh
Initial import |
11761 |
;; |
11762 |
*) |
|
11763 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11764 |
;; |
|
11765 |
esac |
|
11766 |
# Commands to make compiler produce verbose output that lists |
|
11767 |
# what "hidden" libraries, object files and flags are used when |
|
11768 |
# linking a shared library. |
|
11769 |
# |
|
11770 |
# There doesn't appear to be a way to prevent this compiler from |
|
11771 |
# explicitly linking system object files so we need to strip them |
|
11772 |
# from the output so that they don't get included in the library |
|
11773 |
# dependencies. |
|
11774 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11775 |
;; |
|
11776 |
*) |
|
11777 |
if test "$GXX" = yes; then |
|
11778 |
if test $with_gnu_ld = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11779 |
case $host_cpu in |
11780 |
hppa*64*) |
|
11781 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11782 |
;; |
|
11783 |
ia64*) |
|
11784 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
1
by paul-mccullagh
Initial import |
11785 |
;; |
11786 |
*) |
|
11787 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11788 |
;; |
|
11789 |
esac |
|
11790 |
fi |
|
11791 |
else |
|
11792 |
# FIXME: insert proper C++ library support |
|
11793 |
ld_shlibs_CXX=no |
|
11794 |
fi |
|
11795 |
;; |
|
11796 |
esac |
|
11797 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11798 |
interix[3-9]*) |
11799 |
hardcode_direct_CXX=no |
|
11800 |
hardcode_shlibpath_var_CXX=no |
|
11801 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11802 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
11803 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
11804 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
11805 |
# default) and relocated if they conflict, which is a slow very memory |
|
11806 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
11807 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
11808 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
11809 |
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
11810 |
archive_expsym_cmds_CXX='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' |
|
11811 |
;; |
|
1
by paul-mccullagh
Initial import |
11812 |
irix5* | irix6*) |
11813 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11814 |
CC*) |
1
by paul-mccullagh
Initial import |
11815 |
# SGI C++ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11816 |
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
11817 |
|
11818 |
# Archives containing C++ object files must be created using |
|
11819 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
|
11820 |
# necessary to make sure instantiated templates are included |
|
11821 |
# in the archive. |
|
11822 |
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
|
11823 |
;; |
|
11824 |
*) |
|
11825 |
if test "$GXX" = yes; then |
|
11826 |
if test "$with_gnu_ld" = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11827 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
11828 |
else |
11829 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
|
11830 |
fi |
|
11831 |
fi |
|
11832 |
link_all_deplibs_CXX=yes |
|
11833 |
;; |
|
11834 |
esac |
|
11835 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
11836 |
hardcode_libdir_separator_CXX=: |
|
11837 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11838 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
11839 |
case $cc_basename in |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11840 |
KCC*) |
1
by paul-mccullagh
Initial import |
11841 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11842 |
||
11843 |
# KCC will only create a shared library if the output file |
|
11844 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
11845 |
# to its proper name (with version) after linking. |
|
11846 |
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
11847 |
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' |
|
11848 |
# Commands to make compiler produce verbose output that lists |
|
11849 |
# what "hidden" libraries, object files and flags are used when |
|
11850 |
# linking a shared library. |
|
11851 |
# |
|
11852 |
# There doesn't appear to be a way to prevent this compiler from |
|
11853 |
# explicitly linking system object files so we need to strip them |
|
11854 |
# from the output so that they don't get included in the library |
|
11855 |
# dependencies. |
|
11856 |
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11857 |
||
11858 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' |
|
11859 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11860 |
||
11861 |
# Archives containing C++ object files must be created using |
|
11862 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
11863 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
11864 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11865 |
icpc*) |
1
by paul-mccullagh
Initial import |
11866 |
# Intel C++ |
11867 |
with_gnu_ld=yes |
|
11868 |
# version 8.0 and above of icpc choke on multiply defined symbols |
|
11869 |
# if we add $predep_objects and $postdep_objects, however 7.1 and |
|
11870 |
# earlier do not add the objects themselves. |
|
11871 |
case `$CC -V 2>&1` in |
|
11872 |
*"Version 7."*) |
|
11873 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11874 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11875 |
;; |
|
11876 |
*) # Version 8.0 or newer |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11877 |
tmp_idyn= |
11878 |
case $host_cpu in |
|
11879 |
ia64*) tmp_idyn=' -i_dynamic';; |
|
11880 |
esac |
|
11881 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11882 |
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1
by paul-mccullagh
Initial import |
11883 |
;; |
11884 |
esac |
|
11885 |
archive_cmds_need_lc_CXX=no |
|
11886 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11887 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11888 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
11889 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11890 |
pgCC* | pgcpp*) |
11891 |
# Portland Group C++ compiler |
|
11892 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
11893 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
|
11894 |
||
11895 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
11896 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11897 |
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
11898 |
;; |
|
11899 |
cxx*) |
|
1
by paul-mccullagh
Initial import |
11900 |
# Compaq C++ |
11901 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11902 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
|
11903 |
||
11904 |
runpath_var=LD_RUN_PATH |
|
11905 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
11906 |
hardcode_libdir_separator_CXX=: |
|
11907 |
||
11908 |
# Commands to make compiler produce verbose output that lists |
|
11909 |
# what "hidden" libraries, object files and flags are used when |
|
11910 |
# linking a shared library. |
|
11911 |
# |
|
11912 |
# There doesn't appear to be a way to prevent this compiler from |
|
11913 |
# explicitly linking system object files so we need to strip them |
|
11914 |
# from the output so that they don't get included in the library |
|
11915 |
# dependencies. |
|
11916 |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11917 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11918 |
*) |
11919 |
case `$CC -V 2>&1 | sed 5q` in |
|
11920 |
*Sun\ C*) |
|
11921 |
# Sun C++ 5.9 |
|
11922 |
no_undefined_flag_CXX=' -zdefs' |
|
11923 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11924 |
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' |
|
11925 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
11926 |
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
11927 |
||
11928 |
# Not sure whether something based on |
|
11929 |
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
|
11930 |
# would be better. |
|
11931 |
output_verbose_link_cmd='echo' |
|
11932 |
||
11933 |
# Archives containing C++ object files must be created using |
|
11934 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
11935 |
# necessary to make sure instantiated templates are included |
|
11936 |
# in the archive. |
|
11937 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
11938 |
;; |
|
11939 |
esac |
|
11940 |
;; |
|
1
by paul-mccullagh
Initial import |
11941 |
esac |
11942 |
;; |
|
11943 |
lynxos*) |
|
11944 |
# FIXME: insert proper C++ library support |
|
11945 |
ld_shlibs_CXX=no |
|
11946 |
;; |
|
11947 |
m88k*) |
|
11948 |
# FIXME: insert proper C++ library support |
|
11949 |
ld_shlibs_CXX=no |
|
11950 |
;; |
|
11951 |
mvs*) |
|
11952 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11953 |
cxx*) |
1
by paul-mccullagh
Initial import |
11954 |
# FIXME: insert proper C++ library support |
11955 |
ld_shlibs_CXX=no |
|
11956 |
;; |
|
11957 |
*) |
|
11958 |
# FIXME: insert proper C++ library support |
|
11959 |
ld_shlibs_CXX=no |
|
11960 |
;; |
|
11961 |
esac |
|
11962 |
;; |
|
11963 |
netbsd*) |
|
11964 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
11965 |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
|
11966 |
wlarc= |
|
11967 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
11968 |
hardcode_direct_CXX=yes |
|
11969 |
hardcode_shlibpath_var_CXX=no |
|
11970 |
fi |
|
11971 |
# Workaround some broken pre-1.5 toolchains |
|
11972 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
|
11973 |
;; |
|
11974 |
openbsd2*) |
|
11975 |
# C++ shared libraries are fairly broken |
|
11976 |
ld_shlibs_CXX=no |
|
11977 |
;; |
|
11978 |
openbsd*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11979 |
if test -f /usr/libexec/ld.so; then |
11980 |
hardcode_direct_CXX=yes |
|
11981 |
hardcode_shlibpath_var_CXX=no |
|
11982 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
11983 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11984 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
11985 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
11986 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
11987 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
11988 |
fi |
|
11989 |
output_verbose_link_cmd='echo' |
|
11990 |
else |
|
11991 |
ld_shlibs_CXX=no |
|
1
by paul-mccullagh
Initial import |
11992 |
fi |
11993 |
;; |
|
11994 |
osf3*) |
|
11995 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
11996 |
KCC*) |
1
by paul-mccullagh
Initial import |
11997 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11998 |
||
11999 |
# KCC will only create a shared library if the output file |
|
12000 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
12001 |
# to its proper name (with version) after linking. |
|
12002 |
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
12003 |
||
12004 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12005 |
hardcode_libdir_separator_CXX=: |
|
12006 |
||
12007 |
# Archives containing C++ object files must be created using |
|
12008 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
12009 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
12010 |
||
12011 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12012 |
RCC*) |
1
by paul-mccullagh
Initial import |
12013 |
# Rational C++ 2.4.1 |
12014 |
# FIXME: insert proper C++ library support |
|
12015 |
ld_shlibs_CXX=no |
|
12016 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12017 |
cxx*) |
1
by paul-mccullagh
Initial import |
12018 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12019 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
12020 |
|
12021 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12022 |
hardcode_libdir_separator_CXX=: |
|
12023 |
||
12024 |
# Commands to make compiler produce verbose output that lists |
|
12025 |
# what "hidden" libraries, object files and flags are used when |
|
12026 |
# linking a shared library. |
|
12027 |
# |
|
12028 |
# There doesn't appear to be a way to prevent this compiler from |
|
12029 |
# explicitly linking system object files so we need to strip them |
|
12030 |
# from the output so that they don't get included in the library |
|
12031 |
# dependencies. |
|
12032 |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
12033 |
;; |
|
12034 |
*) |
|
12035 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12036 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12037 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
12038 |
|
12039 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12040 |
hardcode_libdir_separator_CXX=: |
|
12041 |
||
12042 |
# Commands to make compiler produce verbose output that lists |
|
12043 |
# what "hidden" libraries, object files and flags are used when |
|
12044 |
# linking a shared library. |
|
12045 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
12046 |
||
12047 |
else |
|
12048 |
# FIXME: insert proper C++ library support |
|
12049 |
ld_shlibs_CXX=no |
|
12050 |
fi |
|
12051 |
;; |
|
12052 |
esac |
|
12053 |
;; |
|
12054 |
osf4* | osf5*) |
|
12055 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12056 |
KCC*) |
1
by paul-mccullagh
Initial import |
12057 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
12058 |
||
12059 |
# KCC will only create a shared library if the output file |
|
12060 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
12061 |
# to its proper name (with version) after linking. |
|
12062 |
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
12063 |
||
12064 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12065 |
hardcode_libdir_separator_CXX=: |
|
12066 |
||
12067 |
# Archives containing C++ object files must be created using |
|
12068 |
# the KAI C++ compiler. |
|
12069 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
|
12070 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12071 |
RCC*) |
1
by paul-mccullagh
Initial import |
12072 |
# Rational C++ 2.4.1 |
12073 |
# FIXME: insert proper C++ library support |
|
12074 |
ld_shlibs_CXX=no |
|
12075 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12076 |
cxx*) |
1
by paul-mccullagh
Initial import |
12077 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12078 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
12079 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
12080 |
echo "-hidden">> $lib.exp~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12081 |
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ |
1
by paul-mccullagh
Initial import |
12082 |
$rm $lib.exp' |
12083 |
||
12084 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
12085 |
hardcode_libdir_separator_CXX=: |
|
12086 |
||
12087 |
# Commands to make compiler produce verbose output that lists |
|
12088 |
# what "hidden" libraries, object files and flags are used when |
|
12089 |
# linking a shared library. |
|
12090 |
# |
|
12091 |
# There doesn't appear to be a way to prevent this compiler from |
|
12092 |
# explicitly linking system object files so we need to strip them |
|
12093 |
# from the output so that they don't get included in the library |
|
12094 |
# dependencies. |
|
12095 |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
12096 |
;; |
|
12097 |
*) |
|
12098 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12099 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12100 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1
by paul-mccullagh
Initial import |
12101 |
|
12102 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12103 |
hardcode_libdir_separator_CXX=: |
|
12104 |
||
12105 |
# Commands to make compiler produce verbose output that lists |
|
12106 |
# what "hidden" libraries, object files and flags are used when |
|
12107 |
# linking a shared library. |
|
12108 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
12109 |
||
12110 |
else |
|
12111 |
# FIXME: insert proper C++ library support |
|
12112 |
ld_shlibs_CXX=no |
|
12113 |
fi |
|
12114 |
;; |
|
12115 |
esac |
|
12116 |
;; |
|
12117 |
psos*) |
|
12118 |
# FIXME: insert proper C++ library support |
|
12119 |
ld_shlibs_CXX=no |
|
12120 |
;; |
|
12121 |
sunos4*) |
|
12122 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12123 |
CC*) |
1
by paul-mccullagh
Initial import |
12124 |
# Sun C++ 4.x |
12125 |
# FIXME: insert proper C++ library support |
|
12126 |
ld_shlibs_CXX=no |
|
12127 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12128 |
lcc*) |
1
by paul-mccullagh
Initial import |
12129 |
# Lucid |
12130 |
# FIXME: insert proper C++ library support |
|
12131 |
ld_shlibs_CXX=no |
|
12132 |
;; |
|
12133 |
*) |
|
12134 |
# FIXME: insert proper C++ library support |
|
12135 |
ld_shlibs_CXX=no |
|
12136 |
;; |
|
12137 |
esac |
|
12138 |
;; |
|
12139 |
solaris*) |
|
12140 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12141 |
CC*) |
1
by paul-mccullagh
Initial import |
12142 |
# Sun C++ 4.2, 5.x and Centerline C++ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12143 |
archive_cmds_need_lc_CXX=yes |
1
by paul-mccullagh
Initial import |
12144 |
no_undefined_flag_CXX=' -zdefs' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12145 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
1
by paul-mccullagh
Initial import |
12146 |
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12147 |
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
1
by paul-mccullagh
Initial import |
12148 |
|
12149 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
12150 |
hardcode_shlibpath_var_CXX=no |
|
12151 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12152 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
1
by paul-mccullagh
Initial import |
12153 |
*) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12154 |
# The compiler driver will combine and reorder linker options, |
12155 |
# but understands `-z linker_flag'. |
|
1
by paul-mccullagh
Initial import |
12156 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12157 |
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
1
by paul-mccullagh
Initial import |
12158 |
;; |
12159 |
esac |
|
12160 |
link_all_deplibs_CXX=yes |
|
12161 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12162 |
output_verbose_link_cmd='echo' |
1
by paul-mccullagh
Initial import |
12163 |
|
12164 |
# Archives containing C++ object files must be created using |
|
12165 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
12166 |
# necessary to make sure instantiated templates are included |
|
12167 |
# in the archive. |
|
12168 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
12169 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12170 |
gcx*) |
1
by paul-mccullagh
Initial import |
12171 |
# Green Hills C++ Compiler |
12172 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12173 |
||
12174 |
# The C++ compiler must be used to create the archive. |
|
12175 |
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
|
12176 |
;; |
|
12177 |
*) |
|
12178 |
# GNU C++ compiler with Solaris linker |
|
12179 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12180 |
no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
|
12181 |
if $CC --version | grep -v '^2\.7' > /dev/null; then |
|
12182 |
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12183 |
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
12184 |
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
|
12185 |
||
12186 |
# Commands to make compiler produce verbose output that lists |
|
12187 |
# what "hidden" libraries, object files and flags are used when |
|
12188 |
# linking a shared library. |
|
12189 |
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" |
|
12190 |
else |
|
12191 |
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
|
12192 |
# platform. |
|
12193 |
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12194 |
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
12195 |
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
|
12196 |
||
12197 |
# Commands to make compiler produce verbose output that lists |
|
12198 |
# what "hidden" libraries, object files and flags are used when |
|
12199 |
# linking a shared library. |
|
12200 |
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" |
|
12201 |
fi |
|
12202 |
||
12203 |
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12204 |
case $host_os in |
12205 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
12206 |
*) |
|
12207 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
12208 |
;; |
|
12209 |
esac |
|
1
by paul-mccullagh
Initial import |
12210 |
fi |
12211 |
;; |
|
12212 |
esac |
|
12213 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12214 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
12215 |
no_undefined_flag_CXX='${wl}-z,text' |
|
12216 |
archive_cmds_need_lc_CXX=no |
|
12217 |
hardcode_shlibpath_var_CXX=no |
|
12218 |
runpath_var='LD_RUN_PATH' |
|
12219 |
||
12220 |
case $cc_basename in |
|
12221 |
CC*) |
|
12222 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12223 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12224 |
;; |
|
12225 |
*) |
|
12226 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12227 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12228 |
;; |
|
12229 |
esac |
|
12230 |
;; |
|
12231 |
sysv5* | sco3.2v5* | sco5v6*) |
|
12232 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
12233 |
# link with -lc, and that would cause any symbols used from libc to |
|
12234 |
# always be unresolved, which means just about no library would |
|
12235 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
12236 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
12237 |
# as -z defs. |
|
12238 |
# For security reasons, it is highly recommended that you always |
|
12239 |
# use absolute paths for naming shared libraries, and exclude the |
|
12240 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
12241 |
# requires that you compile everything twice, which is a pain. |
|
12242 |
# So that behaviour is only enabled if SCOABSPATH is set to a |
|
12243 |
# non-empty value in the environment. Most likely only useful for |
|
12244 |
# creating official distributions of packages. |
|
12245 |
# This is a hack until libtool officially supports absolute path |
|
12246 |
# names for shared libraries. |
|
12247 |
no_undefined_flag_CXX='${wl}-z,text' |
|
12248 |
allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
12249 |
archive_cmds_need_lc_CXX=no |
|
12250 |
hardcode_shlibpath_var_CXX=no |
|
12251 |
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
12252 |
hardcode_libdir_separator_CXX=':' |
|
12253 |
link_all_deplibs_CXX=yes |
|
12254 |
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
12255 |
runpath_var='LD_RUN_PATH' |
|
12256 |
||
12257 |
case $cc_basename in |
|
12258 |
CC*) |
|
12259 |
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12260 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12261 |
;; |
|
12262 |
*) |
|
12263 |
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12264 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12265 |
;; |
|
12266 |
esac |
|
1
by paul-mccullagh
Initial import |
12267 |
;; |
12268 |
tandem*) |
|
12269 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12270 |
NCC*) |
1
by paul-mccullagh
Initial import |
12271 |
# NonStop-UX NCC 3.20 |
12272 |
# FIXME: insert proper C++ library support |
|
12273 |
ld_shlibs_CXX=no |
|
12274 |
;; |
|
12275 |
*) |
|
12276 |
# FIXME: insert proper C++ library support |
|
12277 |
ld_shlibs_CXX=no |
|
12278 |
;; |
|
12279 |
esac |
|
12280 |
;; |
|
12281 |
vxworks*) |
|
12282 |
# FIXME: insert proper C++ library support |
|
12283 |
ld_shlibs_CXX=no |
|
12284 |
;; |
|
12285 |
*) |
|
12286 |
# FIXME: insert proper C++ library support |
|
12287 |
ld_shlibs_CXX=no |
|
12288 |
;; |
|
12289 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12290 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
12291 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
12292 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
12293 |
||
12294 |
GCC_CXX="$GXX" |
|
12295 |
LD_CXX="$LD" |
|
12296 |
||
12297 |
cat > conftest.$ac_ext <<EOF |
|
12298 |
class Foo |
|
12299 |
{ |
|
12300 |
public: |
|
12301 |
Foo (void) { a = 0; } |
|
12302 |
private: |
|
12303 |
int a; |
|
12304 |
}; |
|
12305 |
EOF |
|
12306 |
||
12307 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
12308 |
(eval $ac_compile) 2>&5 |
|
12309 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12310 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
12311 |
(exit $ac_status); }; then |
12312 |
# Parse the compiler output and extract the necessary |
|
12313 |
# objects, libraries and library flags. |
|
12314 |
||
12315 |
# Sentinel used to keep track of whether or not we are before |
|
12316 |
# the conftest object file. |
|
12317 |
pre_test_object_deps_done=no |
|
12318 |
||
12319 |
# The `*' in the case matches for architectures that use `case' in |
|
12320 |
# $output_verbose_cmd can trigger glob expansion during the loop |
|
12321 |
# eval without this substitution. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12322 |
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` |
1
by paul-mccullagh
Initial import |
12323 |
|
12324 |
for p in `eval $output_verbose_link_cmd`; do |
|
12325 |
case $p in |
|
12326 |
||
12327 |
-L* | -R* | -l*) |
|
12328 |
# Some compilers place space between "-{L,R}" and the path. |
|
12329 |
# Remove the space. |
|
12330 |
if test $p = "-L" \ |
|
12331 |
|| test $p = "-R"; then |
|
12332 |
prev=$p |
|
12333 |
continue |
|
12334 |
else |
|
12335 |
prev= |
|
12336 |
fi |
|
12337 |
||
12338 |
if test "$pre_test_object_deps_done" = no; then |
|
12339 |
case $p in |
|
12340 |
-L* | -R*) |
|
12341 |
# Internal compiler library paths should come after those |
|
12342 |
# provided the user. The postdeps already come after the |
|
12343 |
# user supplied libs so there is no need to process them. |
|
12344 |
if test -z "$compiler_lib_search_path_CXX"; then |
|
12345 |
compiler_lib_search_path_CXX="${prev}${p}" |
|
12346 |
else |
|
12347 |
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" |
|
12348 |
fi |
|
12349 |
;; |
|
12350 |
# The "-l" case would never come before the object being |
|
12351 |
# linked, so don't bother handling this case. |
|
12352 |
esac |
|
12353 |
else |
|
12354 |
if test -z "$postdeps_CXX"; then |
|
12355 |
postdeps_CXX="${prev}${p}" |
|
12356 |
else |
|
12357 |
postdeps_CXX="${postdeps_CXX} ${prev}${p}" |
|
12358 |
fi |
|
12359 |
fi |
|
12360 |
;; |
|
12361 |
||
12362 |
*.$objext) |
|
12363 |
# This assumes that the test object file only shows up |
|
12364 |
# once in the compiler output. |
|
12365 |
if test "$p" = "conftest.$objext"; then |
|
12366 |
pre_test_object_deps_done=yes |
|
12367 |
continue |
|
12368 |
fi |
|
12369 |
||
12370 |
if test "$pre_test_object_deps_done" = no; then |
|
12371 |
if test -z "$predep_objects_CXX"; then |
|
12372 |
predep_objects_CXX="$p" |
|
12373 |
else |
|
12374 |
predep_objects_CXX="$predep_objects_CXX $p" |
|
12375 |
fi |
|
12376 |
else |
|
12377 |
if test -z "$postdep_objects_CXX"; then |
|
12378 |
postdep_objects_CXX="$p" |
|
12379 |
else |
|
12380 |
postdep_objects_CXX="$postdep_objects_CXX $p" |
|
12381 |
fi |
|
12382 |
fi |
|
12383 |
;; |
|
12384 |
||
12385 |
*) ;; # Ignore the rest. |
|
12386 |
||
12387 |
esac |
|
12388 |
done |
|
12389 |
||
12390 |
# Clean up. |
|
12391 |
rm -f a.out a.exe |
|
12392 |
else |
|
12393 |
echo "libtool.m4: error: problem compiling CXX test program" |
|
12394 |
fi |
|
12395 |
||
12396 |
$rm -f confest.$objext |
|
12397 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12398 |
compiler_lib_search_dirs_CXX= |
12399 |
if test -n "$compiler_lib_search_path_CXX"; then |
|
12400 |
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
|
12401 |
fi |
|
12402 |
||
12403 |
# PORTME: override above test on systems where it is broken |
|
12404 |
case $host_os in |
|
12405 |
interix[3-9]*) |
|
12406 |
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
12407 |
# hack all around it, let's just trust "g++" to DTRT. |
|
12408 |
predep_objects_CXX= |
|
12409 |
postdep_objects_CXX= |
|
12410 |
postdeps_CXX= |
|
12411 |
;; |
|
12412 |
||
12413 |
linux*) |
|
12414 |
case `$CC -V 2>&1 | sed 5q` in |
|
12415 |
*Sun\ C*) |
|
12416 |
# Sun C++ 5.9 |
|
12417 |
# |
|
12418 |
# The more standards-conforming stlport4 library is |
|
12419 |
# incompatible with the Cstd library. Avoid specifying |
|
12420 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
12421 |
# -library=stlport4 depends on it. |
|
12422 |
case " $CXX $CXXFLAGS " in |
|
12423 |
*" -library=stlport4 "*) |
|
12424 |
solaris_use_stlport4=yes |
|
12425 |
;; |
|
12426 |
esac |
|
12427 |
if test "$solaris_use_stlport4" != yes; then |
|
12428 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
12429 |
fi |
|
12430 |
;; |
|
12431 |
esac |
|
12432 |
;; |
|
12433 |
||
12434 |
solaris*) |
|
12435 |
case $cc_basename in |
|
12436 |
CC*) |
|
12437 |
# The more standards-conforming stlport4 library is |
|
12438 |
# incompatible with the Cstd library. Avoid specifying |
|
12439 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
12440 |
# -library=stlport4 depends on it. |
|
12441 |
case " $CXX $CXXFLAGS " in |
|
12442 |
*" -library=stlport4 "*) |
|
12443 |
solaris_use_stlport4=yes |
|
12444 |
;; |
|
12445 |
esac |
|
12446 |
||
12447 |
# Adding this requires a known-good setup of shared libraries for |
|
12448 |
# Sun compiler versions before 5.6, else PIC objects from an old |
|
12449 |
# archive will be linked into the output, leading to subtle bugs. |
|
12450 |
if test "$solaris_use_stlport4" != yes; then |
|
12451 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
12452 |
fi |
|
12453 |
;; |
|
12454 |
esac |
|
12455 |
;; |
|
12456 |
esac |
|
12457 |
||
1
by paul-mccullagh
Initial import |
12458 |
case " $postdeps_CXX " in |
12459 |
*" -lc "*) archive_cmds_need_lc_CXX=no ;; |
|
12460 |
esac |
|
12461 |
||
12462 |
lt_prog_compiler_wl_CXX= |
|
12463 |
lt_prog_compiler_pic_CXX= |
|
12464 |
lt_prog_compiler_static_CXX= |
|
12465 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12466 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
12467 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
12468 |
|
12469 |
# C++ specific cases for pic, static, wl, etc. |
|
12470 |
if test "$GXX" = yes; then |
|
12471 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12472 |
lt_prog_compiler_static_CXX='-static' |
|
12473 |
||
12474 |
case $host_os in |
|
12475 |
aix*) |
|
12476 |
# All AIX code is PIC. |
|
12477 |
if test "$host_cpu" = ia64; then |
|
12478 |
# AIX 5 now supports IA64 processor |
|
12479 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12480 |
fi |
|
12481 |
;; |
|
12482 |
amigaos*) |
|
12483 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
12484 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
12485 |
# like `-m68040'. |
|
12486 |
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
|
12487 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12488 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1
by paul-mccullagh
Initial import |
12489 |
# PIC is the default for these OSes. |
12490 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12491 |
mingw* | cygwin* | os2* | pw32*) |
1
by paul-mccullagh
Initial import |
12492 |
# This hack is so that the source file can tell whether it is being |
12493 |
# built for inclusion in a dll (and should export symbols for example). |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12494 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
12495 |
# (--disable-auto-import) libraries |
|
1
by paul-mccullagh
Initial import |
12496 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
12497 |
;; |
|
12498 |
darwin* | rhapsody*) |
|
12499 |
# PIC is the default on this platform |
|
12500 |
# Common symbols not allowed in MH_DYLIB files |
|
12501 |
lt_prog_compiler_pic_CXX='-fno-common' |
|
12502 |
;; |
|
12503 |
*djgpp*) |
|
12504 |
# DJGPP does not support shared libraries at all |
|
12505 |
lt_prog_compiler_pic_CXX= |
|
12506 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12507 |
interix[3-9]*) |
12508 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
12509 |
# Instead, we relocate shared libraries at runtime. |
|
12510 |
;; |
|
1
by paul-mccullagh
Initial import |
12511 |
sysv4*MP*) |
12512 |
if test -d /usr/nec; then |
|
12513 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
|
12514 |
fi |
|
12515 |
;; |
|
12516 |
hpux*) |
|
12517 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
12518 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12519 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
12520 |
hppa*64*|ia64*) |
12521 |
;; |
|
12522 |
*) |
|
12523 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
12524 |
;; |
|
12525 |
esac |
|
12526 |
;; |
|
12527 |
*) |
|
12528 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
12529 |
;; |
|
12530 |
esac |
|
12531 |
else |
|
12532 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12533 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
12534 |
# All AIX code is PIC. |
12535 |
if test "$host_cpu" = ia64; then |
|
12536 |
# AIX 5 now supports IA64 processor |
|
12537 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12538 |
else |
|
12539 |
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
|
12540 |
fi |
|
12541 |
;; |
|
12542 |
chorus*) |
|
12543 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12544 |
cxch68*) |
1
by paul-mccullagh
Initial import |
12545 |
# Green Hills C++ Compiler |
12546 |
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
|
12547 |
;; |
|
12548 |
esac |
|
12549 |
;; |
|
12550 |
darwin*) |
|
12551 |
# PIC is the default on this platform |
|
12552 |
# Common symbols not allowed in MH_DYLIB files |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12553 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
12554 |
xlc*) |
12555 |
lt_prog_compiler_pic_CXX='-qnocommon' |
|
12556 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12557 |
;; |
|
12558 |
esac |
|
12559 |
;; |
|
12560 |
dgux*) |
|
12561 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12562 |
ec++*) |
1
by paul-mccullagh
Initial import |
12563 |
lt_prog_compiler_pic_CXX='-KPIC' |
12564 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12565 |
ghcx*) |
1
by paul-mccullagh
Initial import |
12566 |
# Green Hills C++ Compiler |
12567 |
lt_prog_compiler_pic_CXX='-pic' |
|
12568 |
;; |
|
12569 |
*) |
|
12570 |
;; |
|
12571 |
esac |
|
12572 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12573 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
12574 |
# FreeBSD uses GNU C++ |
12575 |
;; |
|
12576 |
hpux9* | hpux10* | hpux11*) |
|
12577 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12578 |
CC*) |
1
by paul-mccullagh
Initial import |
12579 |
lt_prog_compiler_wl_CXX='-Wl,' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12580 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
1
by paul-mccullagh
Initial import |
12581 |
if test "$host_cpu" != ia64; then |
12582 |
lt_prog_compiler_pic_CXX='+Z' |
|
12583 |
fi |
|
12584 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12585 |
aCC*) |
1
by paul-mccullagh
Initial import |
12586 |
lt_prog_compiler_wl_CXX='-Wl,' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12587 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
12588 |
case $host_cpu in |
|
1
by paul-mccullagh
Initial import |
12589 |
hppa*64*|ia64*) |
12590 |
# +Z the default |
|
12591 |
;; |
|
12592 |
*) |
|
12593 |
lt_prog_compiler_pic_CXX='+Z' |
|
12594 |
;; |
|
12595 |
esac |
|
12596 |
;; |
|
12597 |
*) |
|
12598 |
;; |
|
12599 |
esac |
|
12600 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12601 |
interix*) |
12602 |
# This is c89, which is MS Visual C++ (no shared libs) |
|
12603 |
# Anyone wants to do a port? |
|
12604 |
;; |
|
1
by paul-mccullagh
Initial import |
12605 |
irix5* | irix6* | nonstopux*) |
12606 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12607 |
CC*) |
1
by paul-mccullagh
Initial import |
12608 |
lt_prog_compiler_wl_CXX='-Wl,' |
12609 |
lt_prog_compiler_static_CXX='-non_shared' |
|
12610 |
# CC pic flag -KPIC is the default. |
|
12611 |
;; |
|
12612 |
*) |
|
12613 |
;; |
|
12614 |
esac |
|
12615 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12616 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
12617 |
case $cc_basename in |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12618 |
KCC*) |
1
by paul-mccullagh
Initial import |
12619 |
# KAI C++ Compiler |
12620 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
12621 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
12622 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12623 |
icpc* | ecpc*) |
1
by paul-mccullagh
Initial import |
12624 |
# Intel C++ |
12625 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12626 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
12627 |
lt_prog_compiler_static_CXX='-static' |
|
12628 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12629 |
pgCC* | pgcpp*) |
12630 |
# Portland Group C++ compiler. |
|
12631 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12632 |
lt_prog_compiler_pic_CXX='-fpic' |
|
12633 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12634 |
;; |
|
12635 |
cxx*) |
|
1
by paul-mccullagh
Initial import |
12636 |
# Compaq C++ |
12637 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
12638 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
12639 |
lt_prog_compiler_pic_CXX= |
|
12640 |
lt_prog_compiler_static_CXX='-non_shared' |
|
12641 |
;; |
|
12642 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12643 |
case `$CC -V 2>&1 | sed 5q` in |
12644 |
*Sun\ C*) |
|
12645 |
# Sun C++ 5.9 |
|
12646 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
12647 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12648 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
12649 |
;; |
|
12650 |
esac |
|
1
by paul-mccullagh
Initial import |
12651 |
;; |
12652 |
esac |
|
12653 |
;; |
|
12654 |
lynxos*) |
|
12655 |
;; |
|
12656 |
m88k*) |
|
12657 |
;; |
|
12658 |
mvs*) |
|
12659 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12660 |
cxx*) |
1
by paul-mccullagh
Initial import |
12661 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
12662 |
;; |
|
12663 |
*) |
|
12664 |
;; |
|
12665 |
esac |
|
12666 |
;; |
|
12667 |
netbsd*) |
|
12668 |
;; |
|
12669 |
osf3* | osf4* | osf5*) |
|
12670 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12671 |
KCC*) |
1
by paul-mccullagh
Initial import |
12672 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
12673 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12674 |
RCC*) |
1
by paul-mccullagh
Initial import |
12675 |
# Rational C++ 2.4.1 |
12676 |
lt_prog_compiler_pic_CXX='-pic' |
|
12677 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12678 |
cxx*) |
1
by paul-mccullagh
Initial import |
12679 |
# Digital/Compaq C++ |
12680 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12681 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
12682 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
12683 |
lt_prog_compiler_pic_CXX= |
|
12684 |
lt_prog_compiler_static_CXX='-non_shared' |
|
12685 |
;; |
|
12686 |
*) |
|
12687 |
;; |
|
12688 |
esac |
|
12689 |
;; |
|
12690 |
psos*) |
|
12691 |
;; |
|
12692 |
solaris*) |
|
12693 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12694 |
CC*) |
1
by paul-mccullagh
Initial import |
12695 |
# Sun C++ 4.2, 5.x and Centerline C++ |
12696 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
12697 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12698 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
12699 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12700 |
gcx*) |
1
by paul-mccullagh
Initial import |
12701 |
# Green Hills C++ Compiler |
12702 |
lt_prog_compiler_pic_CXX='-PIC' |
|
12703 |
;; |
|
12704 |
*) |
|
12705 |
;; |
|
12706 |
esac |
|
12707 |
;; |
|
12708 |
sunos4*) |
|
12709 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12710 |
CC*) |
1
by paul-mccullagh
Initial import |
12711 |
# Sun C++ 4.x |
12712 |
lt_prog_compiler_pic_CXX='-pic' |
|
12713 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12714 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12715 |
lcc*) |
1
by paul-mccullagh
Initial import |
12716 |
# Lucid |
12717 |
lt_prog_compiler_pic_CXX='-pic' |
|
12718 |
;; |
|
12719 |
*) |
|
12720 |
;; |
|
12721 |
esac |
|
12722 |
;; |
|
12723 |
tandem*) |
|
12724 |
case $cc_basename in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12725 |
NCC*) |
1
by paul-mccullagh
Initial import |
12726 |
# NonStop-UX NCC 3.20 |
12727 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
12728 |
;; |
|
12729 |
*) |
|
12730 |
;; |
|
12731 |
esac |
|
12732 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12733 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
12734 |
case $cc_basename in |
|
12735 |
CC*) |
|
12736 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
12737 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
12738 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
12739 |
;; |
|
12740 |
esac |
|
1
by paul-mccullagh
Initial import |
12741 |
;; |
12742 |
vxworks*) |
|
12743 |
;; |
|
12744 |
*) |
|
12745 |
lt_prog_compiler_can_build_shared_CXX=no |
|
12746 |
;; |
|
12747 |
esac |
|
12748 |
fi |
|
12749 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12750 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
12751 |
$as_echo "$lt_prog_compiler_pic_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
12752 |
|
12753 |
# |
|
12754 |
# Check to make sure the PIC flag actually works. |
|
12755 |
# |
|
12756 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
|
12757 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12758 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
12759 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
|
12760 |
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then |
|
12761 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
12762 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12763 |
lt_cv_prog_compiler_pic_works_CXX=no |
1
by paul-mccullagh
Initial import |
12764 |
ac_outfile=conftest.$ac_objext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12765 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
12766 |
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" |
12767 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
12768 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
12769 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
12770 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
12771 |
# The option is referenced via a variable to avoid confusing sed. |
|
12772 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12773 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
12774 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12775 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
12776 |
(eval echo "\"\$as_me:12776: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
12777 |
(eval "$lt_compile" 2>conftest.err) |
12778 |
ac_status=$? |
|
12779 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
12780 |
echo "$as_me:12780: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
12781 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
12782 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12783 |
# So say no if there are warnings other than the usual output. |
12784 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
12785 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
12786 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
12787 |
lt_cv_prog_compiler_pic_works_CXX=yes |
|
1
by paul-mccullagh
Initial import |
12788 |
fi |
12789 |
fi |
|
12790 |
$rm conftest* |
|
12791 |
||
12792 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12793 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
12794 |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
12795 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12796 |
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then |
1
by paul-mccullagh
Initial import |
12797 |
case $lt_prog_compiler_pic_CXX in |
12798 |
"" | " "*) ;; |
|
12799 |
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
|
12800 |
esac |
|
12801 |
else |
|
12802 |
lt_prog_compiler_pic_CXX= |
|
12803 |
lt_prog_compiler_can_build_shared_CXX=no |
|
12804 |
fi |
|
12805 |
||
12806 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12807 |
case $host_os in |
1
by paul-mccullagh
Initial import |
12808 |
# For platforms which do not support PIC, -DPIC is meaningless: |
12809 |
*djgpp*) |
|
12810 |
lt_prog_compiler_pic_CXX= |
|
12811 |
;; |
|
12812 |
*) |
|
12813 |
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
|
12814 |
;; |
|
12815 |
esac |
|
12816 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12817 |
# |
12818 |
# Check to make sure the static flag actually works. |
|
12819 |
# |
|
12820 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
12821 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
12822 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
12823 |
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then |
|
12824 |
$as_echo_n "(cached) " >&6 |
|
12825 |
else |
|
12826 |
lt_cv_prog_compiler_static_works_CXX=no |
|
12827 |
save_LDFLAGS="$LDFLAGS" |
|
12828 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
12829 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
12830 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
12831 |
# The linker can only warn and ignore the option if not recognized |
|
12832 |
# So say no if there are warnings |
|
12833 |
if test -s conftest.err; then |
|
12834 |
# Append any errors to the config.log. |
|
12835 |
cat conftest.err 1>&5 |
|
12836 |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
12837 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
12838 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
12839 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
12840 |
fi |
|
12841 |
else |
|
12842 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
12843 |
fi |
|
12844 |
fi |
|
12845 |
$rm -r conftest* |
|
12846 |
LDFLAGS="$save_LDFLAGS" |
|
12847 |
||
12848 |
fi |
|
12849 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
|
12850 |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
|
12851 |
||
12852 |
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then |
|
12853 |
: |
|
12854 |
else |
|
12855 |
lt_prog_compiler_static_CXX= |
|
12856 |
fi |
|
12857 |
||
12858 |
||
12859 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
12860 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1
by paul-mccullagh
Initial import |
12861 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12862 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
12863 |
else |
12864 |
lt_cv_prog_compiler_c_o_CXX=no |
|
12865 |
$rm -r conftest 2>/dev/null |
|
12866 |
mkdir conftest |
|
12867 |
cd conftest |
|
12868 |
mkdir out |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12869 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
12870 |
|
12871 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
12872 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
12873 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
12874 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
12875 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
12876 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12877 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
12878 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12879 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
12880 |
(eval echo "\"\$as_me:12880: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
12881 |
(eval "$lt_compile" 2>out/conftest.err) |
12882 |
ac_status=$? |
|
12883 |
cat out/conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
12884 |
echo "$as_me:12884: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
12885 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
12886 |
then |
|
12887 |
# The compiler can only warn and ignore the option if not recognized |
|
12888 |
# So say no if there are warnings |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12889 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
12890 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
12891 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
12892 |
lt_cv_prog_compiler_c_o_CXX=yes |
12893 |
fi |
|
12894 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12895 |
chmod u+w . 2>&5 |
1
by paul-mccullagh
Initial import |
12896 |
$rm conftest* |
12897 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
12898 |
# template instantiation |
|
12899 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
12900 |
$rm out/* && rmdir out |
|
12901 |
cd .. |
|
12902 |
rmdir conftest |
|
12903 |
$rm conftest* |
|
12904 |
||
12905 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12906 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
12907 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
12908 |
|
12909 |
||
12910 |
hard_links="nottested" |
|
12911 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
|
12912 |
# do not overwrite the value of need_locks provided by the user |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12913 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
12914 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1
by paul-mccullagh
Initial import |
12915 |
hard_links=yes |
12916 |
$rm conftest* |
|
12917 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
12918 |
touch conftest.a |
|
12919 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
12920 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12921 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
12922 |
$as_echo "$hard_links" >&6; } |
|
1
by paul-mccullagh
Initial import |
12923 |
if test "$hard_links" = no; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12924 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
12925 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1
by paul-mccullagh
Initial import |
12926 |
need_locks=warn |
12927 |
fi |
|
12928 |
else |
|
12929 |
need_locks=no |
|
12930 |
fi |
|
12931 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12932 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
12933 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
12934 |
|
12935 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
12936 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12937 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
12938 |
# If we're using GNU nm, then we don't want the "-C" option. |
12939 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
12940 |
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
12941 |
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
12942 |
else |
|
12943 |
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
12944 |
fi |
|
12945 |
;; |
|
12946 |
pw32*) |
|
12947 |
export_symbols_cmds_CXX="$ltdll_cmds" |
|
12948 |
;; |
|
12949 |
cygwin* | mingw*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12950 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1
by paul-mccullagh
Initial import |
12951 |
;; |
12952 |
*) |
|
12953 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
12954 |
;; |
|
12955 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12956 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1
by paul-mccullagh
Initial import |
12957 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12958 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
12959 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
12960 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
12961 |
||
12962 |
# |
|
12963 |
# Do we need to explicitly link libc? |
|
12964 |
# |
|
12965 |
case "x$archive_cmds_need_lc_CXX" in |
|
12966 |
x|xyes) |
|
12967 |
# Assume -lc should be added |
|
12968 |
archive_cmds_need_lc_CXX=yes |
|
12969 |
||
12970 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
12971 |
case $archive_cmds_CXX in |
|
12972 |
*'~'*) |
|
12973 |
# FIXME: we may have to deal with multi-command sequences. |
|
12974 |
;; |
|
12975 |
'$CC '*) |
|
12976 |
# Test whether the compiler implicitly links with -lc since on some |
|
12977 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
12978 |
# to ld, don't add -lc before -lgcc. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12979 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
12980 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1
by paul-mccullagh
Initial import |
12981 |
$rm conftest* |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12982 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
12983 |
|
12984 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
12985 |
(eval $ac_compile) 2>&5 |
|
12986 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12987 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
12988 |
(exit $ac_status); } 2>conftest.err; then |
12989 |
soname=conftest |
|
12990 |
lib=conftest |
|
12991 |
libobjs=conftest.$ac_objext |
|
12992 |
deplibs= |
|
12993 |
wl=$lt_prog_compiler_wl_CXX |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
12994 |
pic_flag=$lt_prog_compiler_pic_CXX |
1
by paul-mccullagh
Initial import |
12995 |
compiler_flags=-v |
12996 |
linker_flags=-v |
|
12997 |
verstring= |
|
12998 |
output_objdir=. |
|
12999 |
libname=conftest |
|
13000 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
|
13001 |
allow_undefined_flag_CXX= |
|
13002 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
13003 |
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
13004 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13005 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
13006 |
(exit $ac_status); } |
13007 |
then |
|
13008 |
archive_cmds_need_lc_CXX=no |
|
13009 |
else |
|
13010 |
archive_cmds_need_lc_CXX=yes |
|
13011 |
fi |
|
13012 |
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
|
13013 |
else |
|
13014 |
cat conftest.err 1>&5 |
|
13015 |
fi |
|
13016 |
$rm conftest* |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13017 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
13018 |
$as_echo "$archive_cmds_need_lc_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
13019 |
;; |
13020 |
esac |
|
13021 |
fi |
|
13022 |
;; |
|
13023 |
esac |
|
13024 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13025 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
13026 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
1
by paul-mccullagh
Initial import |
13027 |
library_names_spec= |
13028 |
libname_spec='lib$name' |
|
13029 |
soname_spec= |
|
13030 |
shrext_cmds=".so" |
|
13031 |
postinstall_cmds= |
|
13032 |
postuninstall_cmds= |
|
13033 |
finish_cmds= |
|
13034 |
finish_eval= |
|
13035 |
shlibpath_var= |
|
13036 |
shlibpath_overrides_runpath=unknown |
|
13037 |
version_type=none |
|
13038 |
dynamic_linker="$host_os ld.so" |
|
13039 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13040 |
|
1
by paul-mccullagh
Initial import |
13041 |
need_lib_prefix=unknown |
13042 |
hardcode_into_libs=no |
|
13043 |
||
13044 |
# when you set need_version to no, make sure it does not cause -set_version |
|
13045 |
# flags to be left without arguments |
|
13046 |
need_version=unknown |
|
13047 |
||
13048 |
case $host_os in |
|
13049 |
aix3*) |
|
13050 |
version_type=linux |
|
13051 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
13052 |
shlibpath_var=LIBPATH |
|
13053 |
||
13054 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
13055 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13056 |
;; |
|
13057 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13058 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
13059 |
version_type=linux |
13060 |
need_lib_prefix=no |
|
13061 |
need_version=no |
|
13062 |
hardcode_into_libs=yes |
|
13063 |
if test "$host_cpu" = ia64; then |
|
13064 |
# AIX 5 supports IA64 |
|
13065 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
13066 |
shlibpath_var=LD_LIBRARY_PATH |
|
13067 |
else |
|
13068 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
13069 |
# for dependence libraries. The import file would start with |
|
13070 |
# the line `#! .'. This would cause the generated library to |
|
13071 |
# depend on `.', always an invalid library. This was fixed in |
|
13072 |
# development snapshots of GCC prior to 3.0. |
|
13073 |
case $host_os in |
|
13074 |
aix4 | aix4.[01] | aix4.[01].*) |
|
13075 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
13076 |
echo ' yes ' |
|
13077 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
13078 |
: |
|
13079 |
else |
|
13080 |
can_build_shared=no |
|
13081 |
fi |
|
13082 |
;; |
|
13083 |
esac |
|
13084 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
13085 |
# soname into executable. Probably we can add versioning support to |
|
13086 |
# collect2, so additional links can be useful in future. |
|
13087 |
if test "$aix_use_runtimelinking" = yes; then |
|
13088 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
13089 |
# instead of lib<name>.a to let people know that these are not |
|
13090 |
# typical AIX shared libraries. |
|
13091 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13092 |
else |
|
13093 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
13094 |
# and later when we are not doing run time linking. |
|
13095 |
library_names_spec='${libname}${release}.a $libname.a' |
|
13096 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13097 |
fi |
|
13098 |
shlibpath_var=LIBPATH |
|
13099 |
fi |
|
13100 |
;; |
|
13101 |
||
13102 |
amigaos*) |
|
13103 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
13104 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
13105 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' |
|
13106 |
;; |
|
13107 |
||
13108 |
beos*) |
|
13109 |
library_names_spec='${libname}${shared_ext}' |
|
13110 |
dynamic_linker="$host_os ld.so" |
|
13111 |
shlibpath_var=LIBRARY_PATH |
|
13112 |
;; |
|
13113 |
||
13114 |
bsdi[45]*) |
|
13115 |
version_type=linux |
|
13116 |
need_version=no |
|
13117 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13118 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13119 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
13120 |
shlibpath_var=LD_LIBRARY_PATH |
|
13121 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
13122 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
13123 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
13124 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
13125 |
# libtool to hard-code these into programs |
|
13126 |
;; |
|
13127 |
||
13128 |
cygwin* | mingw* | pw32*) |
|
13129 |
version_type=windows |
|
13130 |
shrext_cmds=".dll" |
|
13131 |
need_version=no |
|
13132 |
need_lib_prefix=no |
|
13133 |
||
13134 |
case $GCC,$host_os in |
|
13135 |
yes,cygwin* | yes,mingw* | yes,pw32*) |
|
13136 |
library_names_spec='$libname.dll.a' |
|
13137 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
13138 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
13139 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
13140 |
dldir=$destdir/`dirname \$dlpath`~ |
|
13141 |
test -d \$dldir || mkdir -p \$dldir~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13142 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
13143 |
chmod a+x \$dldir/$dlname' |
|
1
by paul-mccullagh
Initial import |
13144 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
13145 |
dlpath=$dir/\$dldll~ |
|
13146 |
$rm \$dlpath' |
|
13147 |
shlibpath_overrides_runpath=yes |
|
13148 |
||
13149 |
case $host_os in |
|
13150 |
cygwin*) |
|
13151 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
13152 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
13153 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
13154 |
;; |
|
13155 |
mingw*) |
|
13156 |
# MinGW DLLs use traditional 'lib' prefix |
|
13157 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
13158 |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
13159 |
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
13160 |
# It is most probably a Windows format PATH printed by |
|
13161 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
13162 |
# path with ; separators, and with drive letters. We can handle the |
|
13163 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
13164 |
# especially as we might pass files found there to a mingw objdump, |
|
13165 |
# which wouldn't understand a cygwinified path. Ahh. |
|
13166 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
13167 |
else |
|
13168 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
13169 |
fi |
|
13170 |
;; |
|
13171 |
pw32*) |
|
13172 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13173 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
1
by paul-mccullagh
Initial import |
13174 |
;; |
13175 |
esac |
|
13176 |
;; |
|
13177 |
||
13178 |
*) |
|
13179 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
13180 |
;; |
|
13181 |
esac |
|
13182 |
dynamic_linker='Win32 ld.exe' |
|
13183 |
# FIXME: first we should search . and the directory the executable is in |
|
13184 |
shlibpath_var=PATH |
|
13185 |
;; |
|
13186 |
||
13187 |
darwin* | rhapsody*) |
|
13188 |
dynamic_linker="$host_os dyld" |
|
13189 |
version_type=darwin |
|
13190 |
need_lib_prefix=no |
|
13191 |
need_version=no |
|
13192 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
13193 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
13194 |
shlibpath_overrides_runpath=yes |
|
13195 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13196 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
13197 |
||
1
by paul-mccullagh
Initial import |
13198 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
13199 |
;; |
|
13200 |
||
13201 |
dgux*) |
|
13202 |
version_type=linux |
|
13203 |
need_lib_prefix=no |
|
13204 |
need_version=no |
|
13205 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
13206 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13207 |
shlibpath_var=LD_LIBRARY_PATH |
|
13208 |
;; |
|
13209 |
||
13210 |
freebsd1*) |
|
13211 |
dynamic_linker=no |
|
13212 |
;; |
|
13213 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13214 |
freebsd* | dragonfly*) |
13215 |
# DragonFly does not have aout. When/if they implement a new |
|
13216 |
# versioning mechanism, adjust this. |
|
13217 |
if test -x /usr/bin/objformat; then |
|
13218 |
objformat=`/usr/bin/objformat` |
|
13219 |
else |
|
13220 |
case $host_os in |
|
13221 |
freebsd[123]*) objformat=aout ;; |
|
13222 |
*) objformat=elf ;; |
|
13223 |
esac |
|
13224 |
fi |
|
1
by paul-mccullagh
Initial import |
13225 |
version_type=freebsd-$objformat |
13226 |
case $version_type in |
|
13227 |
freebsd-elf*) |
|
13228 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13229 |
need_version=no |
|
13230 |
need_lib_prefix=no |
|
13231 |
;; |
|
13232 |
freebsd-*) |
|
13233 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
13234 |
need_version=yes |
|
13235 |
;; |
|
13236 |
esac |
|
13237 |
shlibpath_var=LD_LIBRARY_PATH |
|
13238 |
case $host_os in |
|
13239 |
freebsd2*) |
|
13240 |
shlibpath_overrides_runpath=yes |
|
13241 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13242 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1
by paul-mccullagh
Initial import |
13243 |
shlibpath_overrides_runpath=yes |
13244 |
hardcode_into_libs=yes |
|
13245 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13246 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
13247 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1
by paul-mccullagh
Initial import |
13248 |
shlibpath_overrides_runpath=no |
13249 |
hardcode_into_libs=yes |
|
13250 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13251 |
*) # from 4.6 on, and DragonFly |
13252 |
shlibpath_overrides_runpath=yes |
|
13253 |
hardcode_into_libs=yes |
|
13254 |
;; |
|
1
by paul-mccullagh
Initial import |
13255 |
esac |
13256 |
;; |
|
13257 |
||
13258 |
gnu*) |
|
13259 |
version_type=linux |
|
13260 |
need_lib_prefix=no |
|
13261 |
need_version=no |
|
13262 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
13263 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13264 |
shlibpath_var=LD_LIBRARY_PATH |
|
13265 |
hardcode_into_libs=yes |
|
13266 |
;; |
|
13267 |
||
13268 |
hpux9* | hpux10* | hpux11*) |
|
13269 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
13270 |
# link against other versions. |
|
13271 |
version_type=sunos |
|
13272 |
need_lib_prefix=no |
|
13273 |
need_version=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13274 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
13275 |
ia64*) |
13276 |
shrext_cmds='.so' |
|
13277 |
hardcode_into_libs=yes |
|
13278 |
dynamic_linker="$host_os dld.so" |
|
13279 |
shlibpath_var=LD_LIBRARY_PATH |
|
13280 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13281 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13282 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13283 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
13284 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
13285 |
else |
|
13286 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
13287 |
fi |
|
13288 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13289 |
;; |
|
13290 |
hppa*64*) |
|
13291 |
shrext_cmds='.sl' |
|
13292 |
hardcode_into_libs=yes |
|
13293 |
dynamic_linker="$host_os dld.sl" |
|
13294 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
13295 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13296 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13297 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13298 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
13299 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13300 |
;; |
|
13301 |
*) |
|
13302 |
shrext_cmds='.sl' |
|
13303 |
dynamic_linker="$host_os dld.sl" |
|
13304 |
shlibpath_var=SHLIB_PATH |
|
13305 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
13306 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13307 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13308 |
;; |
|
13309 |
esac |
|
13310 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
13311 |
postinstall_cmds='chmod 555 $lib' |
|
13312 |
;; |
|
13313 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13314 |
interix[3-9]*) |
13315 |
version_type=linux |
|
13316 |
need_lib_prefix=no |
|
13317 |
need_version=no |
|
13318 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13319 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13320 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
13321 |
shlibpath_var=LD_LIBRARY_PATH |
|
13322 |
shlibpath_overrides_runpath=no |
|
13323 |
hardcode_into_libs=yes |
|
13324 |
;; |
|
13325 |
||
1
by paul-mccullagh
Initial import |
13326 |
irix5* | irix6* | nonstopux*) |
13327 |
case $host_os in |
|
13328 |
nonstopux*) version_type=nonstopux ;; |
|
13329 |
*) |
|
13330 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
13331 |
version_type=linux |
|
13332 |
else |
|
13333 |
version_type=irix |
|
13334 |
fi ;; |
|
13335 |
esac |
|
13336 |
need_lib_prefix=no |
|
13337 |
need_version=no |
|
13338 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13339 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13340 |
case $host_os in |
|
13341 |
irix5* | nonstopux*) |
|
13342 |
libsuff= shlibsuff= |
|
13343 |
;; |
|
13344 |
*) |
|
13345 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
13346 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
13347 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
13348 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
13349 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
13350 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
13351 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
13352 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
13353 |
esac |
|
13354 |
;; |
|
13355 |
esac |
|
13356 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
13357 |
shlibpath_overrides_runpath=no |
|
13358 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
13359 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
13360 |
hardcode_into_libs=yes |
|
13361 |
;; |
|
13362 |
||
13363 |
# No shared lib support for Linux oldld, aout, or coff. |
|
13364 |
linux*oldld* | linux*aout* | linux*coff*) |
|
13365 |
dynamic_linker=no |
|
13366 |
;; |
|
13367 |
||
13368 |
# This must be Linux ELF. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13369 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
13370 |
version_type=linux |
13371 |
need_lib_prefix=no |
|
13372 |
need_version=no |
|
13373 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13374 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13375 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
13376 |
shlibpath_var=LD_LIBRARY_PATH |
|
13377 |
shlibpath_overrides_runpath=no |
|
13378 |
# This implies no fast_install, which is unacceptable. |
|
13379 |
# Some rework will be needed to allow for fast_install |
|
13380 |
# before this can be enabled. |
|
13381 |
hardcode_into_libs=yes |
|
13382 |
||
13383 |
# Append ld.so.conf contents to the search path |
|
13384 |
if test -f /etc/ld.so.conf; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13385 |
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;/^$/d' | tr '\n' ' '` |
1
by paul-mccullagh
Initial import |
13386 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
13387 |
fi |
|
13388 |
||
13389 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
13390 |
# powerpc, because MkLinux only supported shared libraries with the |
|
13391 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
13392 |
# most powerpc-linux boxes support dynamic linking these days and |
|
13393 |
# people can always --disable-shared, the test was removed, and we |
|
13394 |
# assume the GNU/Linux dynamic linker is in use. |
|
13395 |
dynamic_linker='GNU/Linux ld.so' |
|
13396 |
;; |
|
13397 |
||
13398 |
netbsd*) |
|
13399 |
version_type=sunos |
|
13400 |
need_lib_prefix=no |
|
13401 |
need_version=no |
|
13402 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
13403 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13404 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13405 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
13406 |
else |
|
13407 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13408 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13409 |
dynamic_linker='NetBSD ld.elf_so' |
|
13410 |
fi |
|
13411 |
shlibpath_var=LD_LIBRARY_PATH |
|
13412 |
shlibpath_overrides_runpath=yes |
|
13413 |
hardcode_into_libs=yes |
|
13414 |
;; |
|
13415 |
||
13416 |
newsos6) |
|
13417 |
version_type=linux |
|
13418 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13419 |
shlibpath_var=LD_LIBRARY_PATH |
|
13420 |
shlibpath_overrides_runpath=yes |
|
13421 |
;; |
|
13422 |
||
13423 |
nto-qnx*) |
|
13424 |
version_type=linux |
|
13425 |
need_lib_prefix=no |
|
13426 |
need_version=no |
|
13427 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13428 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13429 |
shlibpath_var=LD_LIBRARY_PATH |
|
13430 |
shlibpath_overrides_runpath=yes |
|
13431 |
;; |
|
13432 |
||
13433 |
openbsd*) |
|
13434 |
version_type=sunos |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13435 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1
by paul-mccullagh
Initial import |
13436 |
need_lib_prefix=no |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13437 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
13438 |
case $host_os in |
|
13439 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
13440 |
*) need_version=no ;; |
|
13441 |
esac |
|
1
by paul-mccullagh
Initial import |
13442 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13443 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13444 |
shlibpath_var=LD_LIBRARY_PATH |
|
13445 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
13446 |
case $host_os in |
|
13447 |
openbsd2.[89] | openbsd2.[89].*) |
|
13448 |
shlibpath_overrides_runpath=no |
|
13449 |
;; |
|
13450 |
*) |
|
13451 |
shlibpath_overrides_runpath=yes |
|
13452 |
;; |
|
13453 |
esac |
|
13454 |
else |
|
13455 |
shlibpath_overrides_runpath=yes |
|
13456 |
fi |
|
13457 |
;; |
|
13458 |
||
13459 |
os2*) |
|
13460 |
libname_spec='$name' |
|
13461 |
shrext_cmds=".dll" |
|
13462 |
need_lib_prefix=no |
|
13463 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
13464 |
dynamic_linker='OS/2 ld.exe' |
|
13465 |
shlibpath_var=LIBPATH |
|
13466 |
;; |
|
13467 |
||
13468 |
osf3* | osf4* | osf5*) |
|
13469 |
version_type=osf |
|
13470 |
need_lib_prefix=no |
|
13471 |
need_version=no |
|
13472 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13473 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13474 |
shlibpath_var=LD_LIBRARY_PATH |
|
13475 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
13476 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
13477 |
;; |
|
13478 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13479 |
rdos*) |
13480 |
dynamic_linker=no |
|
1
by paul-mccullagh
Initial import |
13481 |
;; |
13482 |
||
13483 |
solaris*) |
|
13484 |
version_type=linux |
|
13485 |
need_lib_prefix=no |
|
13486 |
need_version=no |
|
13487 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13488 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13489 |
shlibpath_var=LD_LIBRARY_PATH |
|
13490 |
shlibpath_overrides_runpath=yes |
|
13491 |
hardcode_into_libs=yes |
|
13492 |
# ldd complains unless libraries are executable |
|
13493 |
postinstall_cmds='chmod +x $lib' |
|
13494 |
;; |
|
13495 |
||
13496 |
sunos4*) |
|
13497 |
version_type=sunos |
|
13498 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13499 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
13500 |
shlibpath_var=LD_LIBRARY_PATH |
|
13501 |
shlibpath_overrides_runpath=yes |
|
13502 |
if test "$with_gnu_ld" = yes; then |
|
13503 |
need_lib_prefix=no |
|
13504 |
fi |
|
13505 |
need_version=yes |
|
13506 |
;; |
|
13507 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13508 |
sysv4 | sysv4.3*) |
1
by paul-mccullagh
Initial import |
13509 |
version_type=linux |
13510 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13511 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13512 |
shlibpath_var=LD_LIBRARY_PATH |
|
13513 |
case $host_vendor in |
|
13514 |
sni) |
|
13515 |
shlibpath_overrides_runpath=no |
|
13516 |
need_lib_prefix=no |
|
13517 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
13518 |
runpath_var=LD_RUN_PATH |
|
13519 |
;; |
|
13520 |
siemens) |
|
13521 |
need_lib_prefix=no |
|
13522 |
;; |
|
13523 |
motorola) |
|
13524 |
need_lib_prefix=no |
|
13525 |
need_version=no |
|
13526 |
shlibpath_overrides_runpath=no |
|
13527 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
13528 |
;; |
|
13529 |
esac |
|
13530 |
;; |
|
13531 |
||
13532 |
sysv4*MP*) |
|
13533 |
if test -d /usr/nec ;then |
|
13534 |
version_type=linux |
|
13535 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
13536 |
soname_spec='$libname${shared_ext}.$major' |
|
13537 |
shlibpath_var=LD_LIBRARY_PATH |
|
13538 |
fi |
|
13539 |
;; |
|
13540 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13541 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
13542 |
version_type=freebsd-elf |
|
13543 |
need_lib_prefix=no |
|
13544 |
need_version=no |
|
13545 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13546 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13547 |
shlibpath_var=LD_LIBRARY_PATH |
|
13548 |
hardcode_into_libs=yes |
|
13549 |
if test "$with_gnu_ld" = yes; then |
|
13550 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
13551 |
shlibpath_overrides_runpath=no |
|
13552 |
else |
|
13553 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
13554 |
shlibpath_overrides_runpath=yes |
|
13555 |
case $host_os in |
|
13556 |
sco3.2v5*) |
|
13557 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
13558 |
;; |
|
13559 |
esac |
|
13560 |
fi |
|
13561 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
13562 |
;; |
|
13563 |
||
1
by paul-mccullagh
Initial import |
13564 |
uts4*) |
13565 |
version_type=linux |
|
13566 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13567 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13568 |
shlibpath_var=LD_LIBRARY_PATH |
|
13569 |
;; |
|
13570 |
||
13571 |
*) |
|
13572 |
dynamic_linker=no |
|
13573 |
;; |
|
13574 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13575 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
13576 |
$as_echo "$dynamic_linker" >&6; } |
|
1
by paul-mccullagh
Initial import |
13577 |
test "$dynamic_linker" = no && can_build_shared=no |
13578 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13579 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
13580 |
$as_echo_n "(cached) " >&6 |
|
13581 |
else |
|
13582 |
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" |
|
13583 |
fi |
|
13584 |
||
13585 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
13586 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
13587 |
$as_echo_n "(cached) " >&6 |
|
13588 |
else |
|
13589 |
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" |
|
13590 |
fi |
|
13591 |
||
13592 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
13593 |
||
13594 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
13595 |
if test "$GCC" = yes; then |
|
13596 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
13597 |
fi |
|
13598 |
||
13599 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
13600 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1
by paul-mccullagh
Initial import |
13601 |
hardcode_action_CXX= |
13602 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
|
13603 |
test -n "$runpath_var_CXX" || \ |
|
13604 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
|
13605 |
||
13606 |
# We can hardcode non-existant directories. |
|
13607 |
if test "$hardcode_direct_CXX" != no && |
|
13608 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
13609 |
# have to relink, otherwise we might link with an installed library |
|
13610 |
# when we should be linking with a yet-to-be-installed one |
|
13611 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
|
13612 |
test "$hardcode_minus_L_CXX" != no; then |
|
13613 |
# Linking always hardcodes the temporary library directory. |
|
13614 |
hardcode_action_CXX=relink |
|
13615 |
else |
|
13616 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
13617 |
hardcode_action_CXX=immediate |
|
13618 |
fi |
|
13619 |
else |
|
13620 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
13621 |
# directories. |
|
13622 |
hardcode_action_CXX=unsupported |
|
13623 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13624 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
13625 |
$as_echo "$hardcode_action_CXX" >&6; } |
|
1
by paul-mccullagh
Initial import |
13626 |
|
13627 |
if test "$hardcode_action_CXX" = relink; then |
|
13628 |
# Fast installation is not supported |
|
13629 |
enable_fast_install=no |
|
13630 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
13631 |
test "$enable_shared" = no; then |
|
13632 |
# Fast installation is not necessary |
|
13633 |
enable_fast_install=needless |
|
13634 |
fi |
|
13635 |
||
13636 |
||
13637 |
# The else clause should only fire when bootstrapping the |
|
13638 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
13639 |
# with your package, and you will get complaints that there are |
|
13640 |
# no rules to generate ltmain.sh. |
|
13641 |
if test -f "$ltmain"; then |
|
13642 |
# See if we are running on zsh, and set the options which allow our commands through |
|
13643 |
# without removal of \ escapes. |
|
13644 |
if test -n "${ZSH_VERSION+set}" ; then |
|
13645 |
setopt NO_GLOB_SUBST |
|
13646 |
fi |
|
13647 |
# Now quote all the things that may contain metacharacters while being |
|
13648 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
|
13649 |
# variables and quote the copies for generation of the libtool script. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13650 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
1
by paul-mccullagh
Initial import |
13651 |
SED SHELL STRIP \ |
13652 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
13653 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
13654 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
|
13655 |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
13656 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
13657 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
13658 |
old_postinstall_cmds old_postuninstall_cmds \ |
|
13659 |
compiler_CXX \ |
|
13660 |
CC_CXX \ |
|
13661 |
LD_CXX \ |
|
13662 |
lt_prog_compiler_wl_CXX \ |
|
13663 |
lt_prog_compiler_pic_CXX \ |
|
13664 |
lt_prog_compiler_static_CXX \ |
|
13665 |
lt_prog_compiler_no_builtin_flag_CXX \ |
|
13666 |
export_dynamic_flag_spec_CXX \ |
|
13667 |
thread_safe_flag_spec_CXX \ |
|
13668 |
whole_archive_flag_spec_CXX \ |
|
13669 |
enable_shared_with_static_runtimes_CXX \ |
|
13670 |
old_archive_cmds_CXX \ |
|
13671 |
old_archive_from_new_cmds_CXX \ |
|
13672 |
predep_objects_CXX \ |
|
13673 |
postdep_objects_CXX \ |
|
13674 |
predeps_CXX \ |
|
13675 |
postdeps_CXX \ |
|
13676 |
compiler_lib_search_path_CXX \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13677 |
compiler_lib_search_dirs_CXX \ |
1
by paul-mccullagh
Initial import |
13678 |
archive_cmds_CXX \ |
13679 |
archive_expsym_cmds_CXX \ |
|
13680 |
postinstall_cmds_CXX \ |
|
13681 |
postuninstall_cmds_CXX \ |
|
13682 |
old_archive_from_expsyms_cmds_CXX \ |
|
13683 |
allow_undefined_flag_CXX \ |
|
13684 |
no_undefined_flag_CXX \ |
|
13685 |
export_symbols_cmds_CXX \ |
|
13686 |
hardcode_libdir_flag_spec_CXX \ |
|
13687 |
hardcode_libdir_flag_spec_ld_CXX \ |
|
13688 |
hardcode_libdir_separator_CXX \ |
|
13689 |
hardcode_automatic_CXX \ |
|
13690 |
module_cmds_CXX \ |
|
13691 |
module_expsym_cmds_CXX \ |
|
13692 |
lt_cv_prog_compiler_c_o_CXX \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13693 |
fix_srcfile_path_CXX \ |
1
by paul-mccullagh
Initial import |
13694 |
exclude_expsyms_CXX \ |
13695 |
include_expsyms_CXX; do |
|
13696 |
||
13697 |
case $var in |
|
13698 |
old_archive_cmds_CXX | \ |
|
13699 |
old_archive_from_new_cmds_CXX | \ |
|
13700 |
archive_cmds_CXX | \ |
|
13701 |
archive_expsym_cmds_CXX | \ |
|
13702 |
module_cmds_CXX | \ |
|
13703 |
module_expsym_cmds_CXX | \ |
|
13704 |
old_archive_from_expsyms_cmds_CXX | \ |
|
13705 |
export_symbols_cmds_CXX | \ |
|
13706 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
13707 |
postinstall_cmds | postuninstall_cmds | \ |
|
13708 |
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
13709 |
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
13710 |
# Double-quote double-evaled strings. |
|
13711 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
13712 |
;; |
|
13713 |
*) |
|
13714 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
13715 |
;; |
|
13716 |
esac |
|
13717 |
done |
|
13718 |
||
13719 |
case $lt_echo in |
|
13720 |
*'\$0 --fallback-echo"') |
|
13721 |
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
13722 |
;; |
|
13723 |
esac |
|
13724 |
||
13725 |
cfgfile="$ofile" |
|
13726 |
||
13727 |
cat <<__EOF__ >> "$cfgfile" |
|
13728 |
# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
13729 |
||
13730 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
13731 |
||
13732 |
# Shell to use when invoking shell scripts. |
|
13733 |
SHELL=$lt_SHELL |
|
13734 |
||
13735 |
# Whether or not to build shared libraries. |
|
13736 |
build_libtool_libs=$enable_shared |
|
13737 |
||
13738 |
# Whether or not to build static libraries. |
|
13739 |
build_old_libs=$enable_static |
|
13740 |
||
13741 |
# Whether or not to add -lc for building shared libraries. |
|
13742 |
build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
13743 |
||
13744 |
# Whether or not to disallow shared libs when runtime libs are static |
|
13745 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
13746 |
||
13747 |
# Whether or not to optimize for fast installation. |
|
13748 |
fast_install=$enable_fast_install |
|
13749 |
||
13750 |
# The host system. |
|
13751 |
host_alias=$host_alias |
|
13752 |
host=$host |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13753 |
host_os=$host_os |
13754 |
||
13755 |
# The build system. |
|
13756 |
build_alias=$build_alias |
|
13757 |
build=$build |
|
13758 |
build_os=$build_os |
|
1
by paul-mccullagh
Initial import |
13759 |
|
13760 |
# An echo program that does not interpret backslashes. |
|
13761 |
echo=$lt_echo |
|
13762 |
||
13763 |
# The archiver. |
|
13764 |
AR=$lt_AR |
|
13765 |
AR_FLAGS=$lt_AR_FLAGS |
|
13766 |
||
13767 |
# A C compiler. |
|
13768 |
LTCC=$lt_LTCC |
|
13769 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13770 |
# LTCC compiler flags. |
13771 |
LTCFLAGS=$lt_LTCFLAGS |
|
13772 |
||
1
by paul-mccullagh
Initial import |
13773 |
# A language-specific compiler. |
13774 |
CC=$lt_compiler_CXX |
|
13775 |
||
13776 |
# Is the compiler the GNU C compiler? |
|
13777 |
with_gcc=$GCC_CXX |
|
13778 |
||
13779 |
# An ERE matcher. |
|
13780 |
EGREP=$lt_EGREP |
|
13781 |
||
13782 |
# The linker used to build libraries. |
|
13783 |
LD=$lt_LD_CXX |
|
13784 |
||
13785 |
# Whether we need hard or soft links. |
|
13786 |
LN_S=$lt_LN_S |
|
13787 |
||
13788 |
# A BSD-compatible nm program. |
|
13789 |
NM=$lt_NM |
|
13790 |
||
13791 |
# A symbol stripping program |
|
13792 |
STRIP=$lt_STRIP |
|
13793 |
||
13794 |
# Used to examine libraries when file_magic_cmd begins "file" |
|
13795 |
MAGIC_CMD=$MAGIC_CMD |
|
13796 |
||
13797 |
# Used on cygwin: DLL creation program. |
|
13798 |
DLLTOOL="$DLLTOOL" |
|
13799 |
||
13800 |
# Used on cygwin: object dumper. |
|
13801 |
OBJDUMP="$OBJDUMP" |
|
13802 |
||
13803 |
# Used on cygwin: assembler. |
|
13804 |
AS="$AS" |
|
13805 |
||
13806 |
# The name of the directory that contains temporary libtool files. |
|
13807 |
objdir=$objdir |
|
13808 |
||
13809 |
# How to create reloadable object files. |
|
13810 |
reload_flag=$lt_reload_flag |
|
13811 |
reload_cmds=$lt_reload_cmds |
|
13812 |
||
13813 |
# How to pass a linker flag through the compiler. |
|
13814 |
wl=$lt_lt_prog_compiler_wl_CXX |
|
13815 |
||
13816 |
# Object file suffix (normally "o"). |
|
13817 |
objext="$ac_objext" |
|
13818 |
||
13819 |
# Old archive suffix (normally "a"). |
|
13820 |
libext="$libext" |
|
13821 |
||
13822 |
# Shared library suffix (normally ".so"). |
|
13823 |
shrext_cmds='$shrext_cmds' |
|
13824 |
||
13825 |
# Executable file suffix (normally ""). |
|
13826 |
exeext="$exeext" |
|
13827 |
||
13828 |
# Additional compiler flags for building library objects. |
|
13829 |
pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
13830 |
pic_mode=$pic_mode |
|
13831 |
||
13832 |
# What is the maximum length of a command? |
|
13833 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
13834 |
||
13835 |
# Does compiler simultaneously support -c and -o options? |
|
13836 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
13837 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13838 |
# Must we lock files when doing compilation? |
1
by paul-mccullagh
Initial import |
13839 |
need_locks=$lt_need_locks |
13840 |
||
13841 |
# Do we need the lib prefix for modules? |
|
13842 |
need_lib_prefix=$need_lib_prefix |
|
13843 |
||
13844 |
# Do we need a version for libraries? |
|
13845 |
need_version=$need_version |
|
13846 |
||
13847 |
# Whether dlopen is supported. |
|
13848 |
dlopen_support=$enable_dlopen |
|
13849 |
||
13850 |
# Whether dlopen of programs is supported. |
|
13851 |
dlopen_self=$enable_dlopen_self |
|
13852 |
||
13853 |
# Whether dlopen of statically linked programs is supported. |
|
13854 |
dlopen_self_static=$enable_dlopen_self_static |
|
13855 |
||
13856 |
# Compiler flag to prevent dynamic linking. |
|
13857 |
link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
13858 |
||
13859 |
# Compiler flag to turn off builtin functions. |
|
13860 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
13861 |
||
13862 |
# Compiler flag to allow reflexive dlopens. |
|
13863 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
13864 |
||
13865 |
# Compiler flag to generate shared objects directly from archives. |
|
13866 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
13867 |
||
13868 |
# Compiler flag to generate thread-safe objects. |
|
13869 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX |
|
13870 |
||
13871 |
# Library versioning type. |
|
13872 |
version_type=$version_type |
|
13873 |
||
13874 |
# Format of library name prefix. |
|
13875 |
libname_spec=$lt_libname_spec |
|
13876 |
||
13877 |
# List of archive names. First name is the real one, the rest are links. |
|
13878 |
# The last name is the one that the linker finds with -lNAME. |
|
13879 |
library_names_spec=$lt_library_names_spec |
|
13880 |
||
13881 |
# The coded name of the library, if different from the real name. |
|
13882 |
soname_spec=$lt_soname_spec |
|
13883 |
||
13884 |
# Commands used to build and install an old-style archive. |
|
13885 |
RANLIB=$lt_RANLIB |
|
13886 |
old_archive_cmds=$lt_old_archive_cmds_CXX |
|
13887 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
13888 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
13889 |
||
13890 |
# Create an old-style archive from a shared archive. |
|
13891 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
13892 |
||
13893 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
13894 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
13895 |
||
13896 |
# Commands used to build and install a shared archive. |
|
13897 |
archive_cmds=$lt_archive_cmds_CXX |
|
13898 |
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
13899 |
postinstall_cmds=$lt_postinstall_cmds |
|
13900 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
13901 |
||
13902 |
# Commands used to build a loadable module (assumed same as above if empty) |
|
13903 |
module_cmds=$lt_module_cmds_CXX |
|
13904 |
module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
13905 |
||
13906 |
# Commands to strip libraries. |
|
13907 |
old_striplib=$lt_old_striplib |
|
13908 |
striplib=$lt_striplib |
|
13909 |
||
13910 |
# Dependencies to place before the objects being linked to create a |
|
13911 |
# shared library. |
|
13912 |
predep_objects=$lt_predep_objects_CXX |
|
13913 |
||
13914 |
# Dependencies to place after the objects being linked to create a |
|
13915 |
# shared library. |
|
13916 |
postdep_objects=$lt_postdep_objects_CXX |
|
13917 |
||
13918 |
# Dependencies to place before the objects being linked to create a |
|
13919 |
# shared library. |
|
13920 |
predeps=$lt_predeps_CXX |
|
13921 |
||
13922 |
# Dependencies to place after the objects being linked to create a |
|
13923 |
# shared library. |
|
13924 |
postdeps=$lt_postdeps_CXX |
|
13925 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
13926 |
# The directories searched by this compiler when creating a shared |
13927 |
# library |
|
13928 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
|
13929 |
||
1
by paul-mccullagh
Initial import |
13930 |
# The library search path used internally by the compiler when linking |
13931 |
# a shared library. |
|
13932 |
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
13933 |
||
13934 |
# Method to check whether dependent libraries are shared objects. |
|
13935 |
deplibs_check_method=$lt_deplibs_check_method |
|
13936 |
||
13937 |
# Command to use when deplibs_check_method == file_magic. |
|
13938 |
file_magic_cmd=$lt_file_magic_cmd |
|
13939 |
||
13940 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
13941 |
allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
13942 |
||
13943 |
# Flag that forces no undefined symbols. |
|
13944 |
no_undefined_flag=$lt_no_undefined_flag_CXX |
|
13945 |
||
13946 |
# Commands used to finish a libtool library installation in a directory. |
|
13947 |
finish_cmds=$lt_finish_cmds |
|
13948 |
||
13949 |
# Same as above, but a single script fragment to be evaled but not shown. |
|
13950 |
finish_eval=$lt_finish_eval |
|
13951 |
||
13952 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
13953 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
13954 |
||
13955 |
# Transform the output of nm in a proper C declaration |
|
13956 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
13957 |
||
13958 |
# Transform the output of nm in a C name address pair |
|
13959 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
13960 |
||
13961 |
# This is the shared library runtime path variable. |
|
13962 |
runpath_var=$runpath_var |
|
13963 |
||
13964 |
# This is the shared library path variable. |
|
13965 |
shlibpath_var=$shlibpath_var |
|
13966 |
||
13967 |
# Is shlibpath searched before the hard-coded library search path? |
|
13968 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
13969 |
||
13970 |
# How to hardcode a shared library path into an executable. |
|
13971 |
hardcode_action=$hardcode_action_CXX |
|
13972 |
||
13973 |
# Whether we should hardcode library paths into libraries. |
|
13974 |
hardcode_into_libs=$hardcode_into_libs |
|
13975 |
||
13976 |
# Flag to hardcode \$libdir into a binary during linking. |
|
13977 |
# This must work even if \$libdir does not exist. |
|
13978 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
13979 |
||
13980 |
# If ld is used when linking, flag to hardcode \$libdir into |
|
13981 |
# a binary during linking. This must work even if \$libdir does |
|
13982 |
# not exist. |
|
13983 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
|
13984 |
||
13985 |
# Whether we need a single -rpath flag with a separated argument. |
|
13986 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
13987 |
||
13988 |
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
13989 |
# resulting binary. |
|
13990 |
hardcode_direct=$hardcode_direct_CXX |
|
13991 |
||
13992 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
13993 |
# resulting binary. |
|
13994 |
hardcode_minus_L=$hardcode_minus_L_CXX |
|
13995 |
||
13996 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
13997 |
# the resulting binary. |
|
13998 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
|
13999 |
||
14000 |
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
14001 |
# and all subsequent libraries and executables linked against it. |
|
14002 |
hardcode_automatic=$hardcode_automatic_CXX |
|
14003 |
||
14004 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
14005 |
# restored at relink time. |
|
14006 |
variables_saved_for_relink="$variables_saved_for_relink" |
|
14007 |
||
14008 |
# Whether libtool must link a program against all its dependency libraries. |
|
14009 |
link_all_deplibs=$link_all_deplibs_CXX |
|
14010 |
||
14011 |
# Compile-time system search path for libraries |
|
14012 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
14013 |
||
14014 |
# Run-time system search path for libraries |
|
14015 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
14016 |
||
14017 |
# Fix the shell variable \$srcfile for the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14018 |
fix_srcfile_path=$lt_fix_srcfile_path |
1
by paul-mccullagh
Initial import |
14019 |
|
14020 |
# Set to yes if exported symbols are required. |
|
14021 |
always_export_symbols=$always_export_symbols_CXX |
|
14022 |
||
14023 |
# The commands to list exported symbols. |
|
14024 |
export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
14025 |
||
14026 |
# The commands to extract the exported symbol list from a shared archive. |
|
14027 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
14028 |
||
14029 |
# Symbols that should not be listed in the preloaded symbols. |
|
14030 |
exclude_expsyms=$lt_exclude_expsyms_CXX |
|
14031 |
||
14032 |
# Symbols that must always be exported. |
|
14033 |
include_expsyms=$lt_include_expsyms_CXX |
|
14034 |
||
14035 |
# ### END LIBTOOL TAG CONFIG: $tagname |
|
14036 |
||
14037 |
__EOF__ |
|
14038 |
||
14039 |
||
14040 |
else |
|
14041 |
# If there is no Makefile yet, we rely on a make rule to execute |
|
14042 |
# `config.status --recheck' to rerun these tests and create the |
|
14043 |
# libtool script then. |
|
14044 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
14045 |
if test -f "$ltmain_in"; then |
|
14046 |
test -f Makefile && make "$ltmain" |
|
14047 |
fi |
|
14048 |
fi |
|
14049 |
||
14050 |
||
14051 |
ac_ext=c |
|
14052 |
ac_cpp='$CPP $CPPFLAGS' |
|
14053 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14054 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14055 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
14056 |
||
14057 |
CC=$lt_save_CC |
|
14058 |
LDCXX=$LD |
|
14059 |
LD=$lt_save_LD |
|
14060 |
GCC=$lt_save_GCC |
|
14061 |
with_gnu_ldcxx=$with_gnu_ld |
|
14062 |
with_gnu_ld=$lt_save_with_gnu_ld |
|
14063 |
lt_cv_path_LDCXX=$lt_cv_path_LD |
|
14064 |
lt_cv_path_LD=$lt_save_path_LD |
|
14065 |
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
|
14066 |
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
|
14067 |
||
14068 |
else |
|
14069 |
tagname="" |
|
14070 |
fi |
|
14071 |
;; |
|
14072 |
||
14073 |
F77) |
|
14074 |
if test -n "$F77" && test "X$F77" != "Xno"; then |
|
14075 |
||
14076 |
ac_ext=f |
|
14077 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
14078 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14079 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
14080 |
||
14081 |
||
14082 |
archive_cmds_need_lc_F77=no |
|
14083 |
allow_undefined_flag_F77= |
|
14084 |
always_export_symbols_F77=no |
|
14085 |
archive_expsym_cmds_F77= |
|
14086 |
export_dynamic_flag_spec_F77= |
|
14087 |
hardcode_direct_F77=no |
|
14088 |
hardcode_libdir_flag_spec_F77= |
|
14089 |
hardcode_libdir_flag_spec_ld_F77= |
|
14090 |
hardcode_libdir_separator_F77= |
|
14091 |
hardcode_minus_L_F77=no |
|
14092 |
hardcode_automatic_F77=no |
|
14093 |
module_cmds_F77= |
|
14094 |
module_expsym_cmds_F77= |
|
14095 |
link_all_deplibs_F77=unknown |
|
14096 |
old_archive_cmds_F77=$old_archive_cmds |
|
14097 |
no_undefined_flag_F77= |
|
14098 |
whole_archive_flag_spec_F77= |
|
14099 |
enable_shared_with_static_runtimes_F77=no |
|
14100 |
||
14101 |
# Source file extension for f77 test sources. |
|
14102 |
ac_ext=f |
|
14103 |
||
14104 |
# Object file extension for compiled f77 test sources. |
|
14105 |
objext=o |
|
14106 |
objext_F77=$objext |
|
14107 |
||
14108 |
# Code to be used in simple compile tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14109 |
lt_simple_compile_test_code="\ |
14110 |
subroutine t |
|
14111 |
return |
|
14112 |
end |
|
14113 |
" |
|
1
by paul-mccullagh
Initial import |
14114 |
|
14115 |
# Code to be used in simple link tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14116 |
lt_simple_link_test_code="\ |
14117 |
program t |
|
14118 |
end |
|
14119 |
" |
|
1
by paul-mccullagh
Initial import |
14120 |
|
14121 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
14122 |
||
14123 |
# If no C compiler was specified, use CC. |
|
14124 |
LTCC=${LTCC-"$CC"} |
|
14125 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14126 |
# If no C compiler flags were specified, use CFLAGS. |
14127 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
14128 |
||
1
by paul-mccullagh
Initial import |
14129 |
# Allow CC to be a program name with arguments. |
14130 |
compiler=$CC |
|
14131 |
||
14132 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14133 |
# save warnings/boilerplate of simple test code |
14134 |
ac_outfile=conftest.$ac_objext |
|
14135 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
14136 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14137 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
14138 |
$rm conftest* |
|
14139 |
||
14140 |
ac_outfile=conftest.$ac_objext |
|
14141 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
14142 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14143 |
_lt_linker_boilerplate=`cat conftest.err` |
|
14144 |
$rm -r conftest* |
|
14145 |
||
14146 |
||
1
by paul-mccullagh
Initial import |
14147 |
# Allow CC to be a program name with arguments. |
14148 |
lt_save_CC="$CC" |
|
14149 |
CC=${F77-"f77"} |
|
14150 |
compiler=$CC |
|
14151 |
compiler_F77=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14152 |
for cc_temp in $compiler""; do |
14153 |
case $cc_temp in |
|
14154 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14155 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14156 |
\-*) ;; |
|
14157 |
*) break;; |
|
14158 |
esac |
|
14159 |
done |
|
14160 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
14161 |
||
14162 |
||
14163 |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
14164 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
14165 |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
14166 |
$as_echo "$can_build_shared" >&6; } |
|
14167 |
||
14168 |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
|
14169 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14170 |
test "$can_build_shared" = "no" && enable_shared=no |
14171 |
||
14172 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
14173 |
# are all built from PIC. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14174 |
case $host_os in |
1
by paul-mccullagh
Initial import |
14175 |
aix3*) |
14176 |
test "$enable_shared" = yes && enable_static=no |
|
14177 |
if test -n "$RANLIB"; then |
|
14178 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
14179 |
postinstall_cmds='$RANLIB $lib' |
|
14180 |
fi |
|
14181 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14182 |
aix[4-9]*) |
14183 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
14184 |
test "$enable_shared" = yes && enable_static=no |
|
14185 |
fi |
|
1
by paul-mccullagh
Initial import |
14186 |
;; |
14187 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14188 |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
14189 |
$as_echo "$enable_shared" >&6; } |
|
1
by paul-mccullagh
Initial import |
14190 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14191 |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
14192 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14193 |
# Make sure either enable_shared or enable_static is yes. |
14194 |
test "$enable_shared" = yes || enable_static=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14195 |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
14196 |
$as_echo "$enable_static" >&6; } |
|
1
by paul-mccullagh
Initial import |
14197 |
|
14198 |
GCC_F77="$G77" |
|
14199 |
LD_F77="$LD" |
|
14200 |
||
14201 |
lt_prog_compiler_wl_F77= |
|
14202 |
lt_prog_compiler_pic_F77= |
|
14203 |
lt_prog_compiler_static_F77= |
|
14204 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14205 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
14206 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14207 |
|
14208 |
if test "$GCC" = yes; then |
|
14209 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14210 |
lt_prog_compiler_static_F77='-static' |
|
14211 |
||
14212 |
case $host_os in |
|
14213 |
aix*) |
|
14214 |
# All AIX code is PIC. |
|
14215 |
if test "$host_cpu" = ia64; then |
|
14216 |
# AIX 5 now supports IA64 processor |
|
14217 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14218 |
fi |
|
14219 |
;; |
|
14220 |
||
14221 |
amigaos*) |
|
14222 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
14223 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
14224 |
# like `-m68040'. |
|
14225 |
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' |
|
14226 |
;; |
|
14227 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14228 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1
by paul-mccullagh
Initial import |
14229 |
# PIC is the default for these OSes. |
14230 |
;; |
|
14231 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14232 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
14233 |
# This hack is so that the source file can tell whether it is being |
14234 |
# built for inclusion in a dll (and should export symbols for example). |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14235 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
14236 |
# (--disable-auto-import) libraries |
|
1
by paul-mccullagh
Initial import |
14237 |
lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
14238 |
;; |
|
14239 |
||
14240 |
darwin* | rhapsody*) |
|
14241 |
# PIC is the default on this platform |
|
14242 |
# Common symbols not allowed in MH_DYLIB files |
|
14243 |
lt_prog_compiler_pic_F77='-fno-common' |
|
14244 |
;; |
|
14245 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14246 |
interix[3-9]*) |
14247 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
14248 |
# Instead, we relocate shared libraries at runtime. |
|
14249 |
;; |
|
14250 |
||
1
by paul-mccullagh
Initial import |
14251 |
msdosdjgpp*) |
14252 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
14253 |
# on systems that don't support them. |
|
14254 |
lt_prog_compiler_can_build_shared_F77=no |
|
14255 |
enable_shared=no |
|
14256 |
;; |
|
14257 |
||
14258 |
sysv4*MP*) |
|
14259 |
if test -d /usr/nec; then |
|
14260 |
lt_prog_compiler_pic_F77=-Kconform_pic |
|
14261 |
fi |
|
14262 |
;; |
|
14263 |
||
14264 |
hpux*) |
|
14265 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
14266 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14267 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
14268 |
hppa*64*|ia64*) |
14269 |
# +Z the default |
|
14270 |
;; |
|
14271 |
*) |
|
14272 |
lt_prog_compiler_pic_F77='-fPIC' |
|
14273 |
;; |
|
14274 |
esac |
|
14275 |
;; |
|
14276 |
||
14277 |
*) |
|
14278 |
lt_prog_compiler_pic_F77='-fPIC' |
|
14279 |
;; |
|
14280 |
esac |
|
14281 |
else |
|
14282 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
14283 |
case $host_os in |
|
14284 |
aix*) |
|
14285 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14286 |
if test "$host_cpu" = ia64; then |
|
14287 |
# AIX 5 now supports IA64 processor |
|
14288 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14289 |
else |
|
14290 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
|
14291 |
fi |
|
14292 |
;; |
|
14293 |
darwin*) |
|
14294 |
# PIC is the default on this platform |
|
14295 |
# Common symbols not allowed in MH_DYLIB files |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14296 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
14297 |
xlc*) |
14298 |
lt_prog_compiler_pic_F77='-qnocommon' |
|
14299 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14300 |
;; |
|
14301 |
esac |
|
14302 |
;; |
|
14303 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14304 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
14305 |
# This hack is so that the source file can tell whether it is being |
14306 |
# built for inclusion in a dll (and should export symbols for example). |
|
14307 |
lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
|
14308 |
;; |
|
14309 |
||
14310 |
hpux9* | hpux10* | hpux11*) |
|
14311 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14312 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
14313 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14314 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
14315 |
hppa*64*|ia64*) |
14316 |
# +Z the default |
|
14317 |
;; |
|
14318 |
*) |
|
14319 |
lt_prog_compiler_pic_F77='+Z' |
|
14320 |
;; |
|
14321 |
esac |
|
14322 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
14323 |
lt_prog_compiler_static_F77='${wl}-a ${wl}archive' |
|
14324 |
;; |
|
14325 |
||
14326 |
irix5* | irix6* | nonstopux*) |
|
14327 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14328 |
# PIC (with -KPIC) is the default. |
|
14329 |
lt_prog_compiler_static_F77='-non_shared' |
|
14330 |
;; |
|
14331 |
||
14332 |
newsos6) |
|
14333 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14334 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14335 |
;; |
|
14336 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14337 |
linux* | k*bsd*-gnu) |
14338 |
case $cc_basename in |
|
1
by paul-mccullagh
Initial import |
14339 |
icc* | ecc*) |
14340 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14341 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14342 |
lt_prog_compiler_static_F77='-static' |
|
14343 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14344 |
pgcc* | pgf77* | pgf90* | pgf95*) |
14345 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
14346 |
# which looks to be a dead project) |
|
14347 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14348 |
lt_prog_compiler_pic_F77='-fpic' |
|
14349 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14350 |
;; |
|
1
by paul-mccullagh
Initial import |
14351 |
ccc*) |
14352 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14353 |
# All Alpha code is PIC. |
|
14354 |
lt_prog_compiler_static_F77='-non_shared' |
|
14355 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14356 |
*) |
14357 |
case `$CC -V 2>&1 | sed 5q` in |
|
14358 |
*Sun\ C*) |
|
14359 |
# Sun C 5.9 |
|
14360 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14361 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14362 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14363 |
;; |
|
14364 |
*Sun\ F*) |
|
14365 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
14366 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14367 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14368 |
lt_prog_compiler_wl_F77='' |
|
14369 |
;; |
|
14370 |
esac |
|
14371 |
;; |
|
1
by paul-mccullagh
Initial import |
14372 |
esac |
14373 |
;; |
|
14374 |
||
14375 |
osf3* | osf4* | osf5*) |
|
14376 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14377 |
# All OSF/1 code is PIC. |
|
14378 |
lt_prog_compiler_static_F77='-non_shared' |
|
14379 |
;; |
|
14380 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14381 |
rdos*) |
14382 |
lt_prog_compiler_static_F77='-non_shared' |
|
1
by paul-mccullagh
Initial import |
14383 |
;; |
14384 |
||
14385 |
solaris*) |
|
14386 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14387 |
lt_prog_compiler_static_F77='-Bstatic' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14388 |
case $cc_basename in |
14389 |
f77* | f90* | f95*) |
|
14390 |
lt_prog_compiler_wl_F77='-Qoption ld ';; |
|
14391 |
*) |
|
14392 |
lt_prog_compiler_wl_F77='-Wl,';; |
|
14393 |
esac |
|
1
by paul-mccullagh
Initial import |
14394 |
;; |
14395 |
||
14396 |
sunos4*) |
|
14397 |
lt_prog_compiler_wl_F77='-Qoption ld ' |
|
14398 |
lt_prog_compiler_pic_F77='-PIC' |
|
14399 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14400 |
;; |
|
14401 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14402 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
1
by paul-mccullagh
Initial import |
14403 |
lt_prog_compiler_wl_F77='-Wl,' |
14404 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14405 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14406 |
;; |
|
14407 |
||
14408 |
sysv4*MP*) |
|
14409 |
if test -d /usr/nec ;then |
|
14410 |
lt_prog_compiler_pic_F77='-Kconform_pic' |
|
14411 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14412 |
fi |
|
14413 |
;; |
|
14414 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14415 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
14416 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14417 |
lt_prog_compiler_pic_F77='-KPIC' |
|
14418 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14419 |
;; |
|
14420 |
||
14421 |
unicos*) |
|
14422 |
lt_prog_compiler_wl_F77='-Wl,' |
|
14423 |
lt_prog_compiler_can_build_shared_F77=no |
|
14424 |
;; |
|
14425 |
||
1
by paul-mccullagh
Initial import |
14426 |
uts4*) |
14427 |
lt_prog_compiler_pic_F77='-pic' |
|
14428 |
lt_prog_compiler_static_F77='-Bstatic' |
|
14429 |
;; |
|
14430 |
||
14431 |
*) |
|
14432 |
lt_prog_compiler_can_build_shared_F77=no |
|
14433 |
;; |
|
14434 |
esac |
|
14435 |
fi |
|
14436 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14437 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
14438 |
$as_echo "$lt_prog_compiler_pic_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
14439 |
|
14440 |
# |
|
14441 |
# Check to make sure the PIC flag actually works. |
|
14442 |
# |
|
14443 |
if test -n "$lt_prog_compiler_pic_F77"; then |
|
14444 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14445 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
14446 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } |
|
14447 |
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then |
|
14448 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
14449 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14450 |
lt_cv_prog_compiler_pic_works_F77=no |
1
by paul-mccullagh
Initial import |
14451 |
ac_outfile=conftest.$ac_objext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14452 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
14453 |
lt_compiler_flag="$lt_prog_compiler_pic_F77" |
14454 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
14455 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
14456 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
14457 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
14458 |
# The option is referenced via a variable to avoid confusing sed. |
|
14459 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14460 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
14461 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14462 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
14463 |
(eval echo "\"\$as_me:14463: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
14464 |
(eval "$lt_compile" 2>conftest.err) |
14465 |
ac_status=$? |
|
14466 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
14467 |
echo "$as_me:14467: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
14468 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
14469 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14470 |
# So say no if there are warnings other than the usual output. |
14471 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
14472 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
14473 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
14474 |
lt_cv_prog_compiler_pic_works_F77=yes |
|
1
by paul-mccullagh
Initial import |
14475 |
fi |
14476 |
fi |
|
14477 |
$rm conftest* |
|
14478 |
||
14479 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14480 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 |
14481 |
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
14482 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14483 |
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then |
1
by paul-mccullagh
Initial import |
14484 |
case $lt_prog_compiler_pic_F77 in |
14485 |
"" | " "*) ;; |
|
14486 |
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
|
14487 |
esac |
|
14488 |
else |
|
14489 |
lt_prog_compiler_pic_F77= |
|
14490 |
lt_prog_compiler_can_build_shared_F77=no |
|
14491 |
fi |
|
14492 |
||
14493 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14494 |
case $host_os in |
1
by paul-mccullagh
Initial import |
14495 |
# For platforms which do not support PIC, -DPIC is meaningless: |
14496 |
*djgpp*) |
|
14497 |
lt_prog_compiler_pic_F77= |
|
14498 |
;; |
|
14499 |
*) |
|
14500 |
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
|
14501 |
;; |
|
14502 |
esac |
|
14503 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14504 |
# |
14505 |
# Check to make sure the static flag actually works. |
|
14506 |
# |
|
14507 |
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
|
14508 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
14509 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
14510 |
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then |
|
14511 |
$as_echo_n "(cached) " >&6 |
|
14512 |
else |
|
14513 |
lt_cv_prog_compiler_static_works_F77=no |
|
14514 |
save_LDFLAGS="$LDFLAGS" |
|
14515 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
14516 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
14517 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
14518 |
# The linker can only warn and ignore the option if not recognized |
|
14519 |
# So say no if there are warnings |
|
14520 |
if test -s conftest.err; then |
|
14521 |
# Append any errors to the config.log. |
|
14522 |
cat conftest.err 1>&5 |
|
14523 |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
14524 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
14525 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
14526 |
lt_cv_prog_compiler_static_works_F77=yes |
|
14527 |
fi |
|
14528 |
else |
|
14529 |
lt_cv_prog_compiler_static_works_F77=yes |
|
14530 |
fi |
|
14531 |
fi |
|
14532 |
$rm -r conftest* |
|
14533 |
LDFLAGS="$save_LDFLAGS" |
|
14534 |
||
14535 |
fi |
|
14536 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 |
|
14537 |
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; } |
|
14538 |
||
14539 |
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then |
|
14540 |
: |
|
14541 |
else |
|
14542 |
lt_prog_compiler_static_F77= |
|
14543 |
fi |
|
14544 |
||
14545 |
||
14546 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
14547 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14548 |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14549 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
14550 |
else |
14551 |
lt_cv_prog_compiler_c_o_F77=no |
|
14552 |
$rm -r conftest 2>/dev/null |
|
14553 |
mkdir conftest |
|
14554 |
cd conftest |
|
14555 |
mkdir out |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14556 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
14557 |
|
14558 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
14559 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
14560 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
14561 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
14562 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
14563 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14564 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
14565 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14566 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
14567 |
(eval echo "\"\$as_me:14567: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
14568 |
(eval "$lt_compile" 2>out/conftest.err) |
14569 |
ac_status=$? |
|
14570 |
cat out/conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
14571 |
echo "$as_me:14571: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
14572 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14573 |
then |
|
14574 |
# The compiler can only warn and ignore the option if not recognized |
|
14575 |
# So say no if there are warnings |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14576 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
14577 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
14578 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
14579 |
lt_cv_prog_compiler_c_o_F77=yes |
14580 |
fi |
|
14581 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14582 |
chmod u+w . 2>&5 |
1
by paul-mccullagh
Initial import |
14583 |
$rm conftest* |
14584 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
14585 |
# template instantiation |
|
14586 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
14587 |
$rm out/* && rmdir out |
|
14588 |
cd .. |
|
14589 |
rmdir conftest |
|
14590 |
$rm conftest* |
|
14591 |
||
14592 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14593 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
14594 |
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
14595 |
|
14596 |
||
14597 |
hard_links="nottested" |
|
14598 |
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
|
14599 |
# do not overwrite the value of need_locks provided by the user |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14600 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
14601 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14602 |
hard_links=yes |
14603 |
$rm conftest* |
|
14604 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
14605 |
touch conftest.a |
|
14606 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
14607 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14608 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
14609 |
$as_echo "$hard_links" >&6; } |
|
1
by paul-mccullagh
Initial import |
14610 |
if test "$hard_links" = no; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14611 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
14612 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1
by paul-mccullagh
Initial import |
14613 |
need_locks=warn |
14614 |
fi |
|
14615 |
else |
|
14616 |
need_locks=no |
|
14617 |
fi |
|
14618 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14619 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
14620 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
14621 |
|
14622 |
runpath_var= |
|
14623 |
allow_undefined_flag_F77= |
|
14624 |
enable_shared_with_static_runtimes_F77=no |
|
14625 |
archive_cmds_F77= |
|
14626 |
archive_expsym_cmds_F77= |
|
14627 |
old_archive_From_new_cmds_F77= |
|
14628 |
old_archive_from_expsyms_cmds_F77= |
|
14629 |
export_dynamic_flag_spec_F77= |
|
14630 |
whole_archive_flag_spec_F77= |
|
14631 |
thread_safe_flag_spec_F77= |
|
14632 |
hardcode_libdir_flag_spec_F77= |
|
14633 |
hardcode_libdir_flag_spec_ld_F77= |
|
14634 |
hardcode_libdir_separator_F77= |
|
14635 |
hardcode_direct_F77=no |
|
14636 |
hardcode_minus_L_F77=no |
|
14637 |
hardcode_shlibpath_var_F77=unsupported |
|
14638 |
link_all_deplibs_F77=unknown |
|
14639 |
hardcode_automatic_F77=no |
|
14640 |
module_cmds_F77= |
|
14641 |
module_expsym_cmds_F77= |
|
14642 |
always_export_symbols_F77=no |
|
14643 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
14644 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
14645 |
# included in the symbol list |
|
14646 |
include_expsyms_F77= |
|
14647 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
14648 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
14649 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
14650 |
# as well as any symbol that contains `d'. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14651 |
exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1
by paul-mccullagh
Initial import |
14652 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
14653 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
14654 |
# the symbol is explicitly referenced. Since portable code cannot |
|
14655 |
# rely on this symbol name, it's probably fine to never include it in |
|
14656 |
# preloaded symbol tables. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14657 |
# Exclude shared library initialization/finalization symbols. |
1
by paul-mccullagh
Initial import |
14658 |
extract_expsyms_cmds= |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14659 |
# Just being paranoid about ensuring that cc_basename is set. |
14660 |
for cc_temp in $compiler""; do |
|
14661 |
case $cc_temp in |
|
14662 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14663 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14664 |
\-*) ;; |
|
14665 |
*) break;; |
|
14666 |
esac |
|
14667 |
done |
|
14668 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
1
by paul-mccullagh
Initial import |
14669 |
|
14670 |
case $host_os in |
|
14671 |
cygwin* | mingw* | pw32*) |
|
14672 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
14673 |
# When not using gcc, we currently assume that we are using |
|
14674 |
# Microsoft Visual C++. |
|
14675 |
if test "$GCC" != yes; then |
|
14676 |
with_gnu_ld=no |
|
14677 |
fi |
|
14678 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14679 |
interix*) |
14680 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
14681 |
with_gnu_ld=yes |
|
14682 |
;; |
|
1
by paul-mccullagh
Initial import |
14683 |
openbsd*) |
14684 |
with_gnu_ld=no |
|
14685 |
;; |
|
14686 |
esac |
|
14687 |
||
14688 |
ld_shlibs_F77=yes |
|
14689 |
if test "$with_gnu_ld" = yes; then |
|
14690 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
14691 |
wlarc='${wl}' |
|
14692 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14693 |
# Set some defaults for GNU ld with shared library support. These |
14694 |
# are reset later if shared libraries are not supported. Putting them |
|
14695 |
# here allows them to be overridden if necessary. |
|
14696 |
runpath_var=LD_RUN_PATH |
|
14697 |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
|
14698 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
|
14699 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
14700 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
14701 |
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
14702 |
else |
|
14703 |
whole_archive_flag_spec_F77= |
|
14704 |
fi |
|
14705 |
supports_anon_versioning=no |
|
14706 |
case `$LD -v 2>/dev/null` in |
|
14707 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
14708 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
14709 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
14710 |
*\ 2.11.*) ;; # other 2.11 versions |
|
14711 |
*) supports_anon_versioning=yes ;; |
|
14712 |
esac |
|
14713 |
||
1
by paul-mccullagh
Initial import |
14714 |
# See if GNU ld supports shared libraries. |
14715 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14716 |
aix[3-9]*) |
1
by paul-mccullagh
Initial import |
14717 |
# On AIX/PPC, the GNU linker is very broken |
14718 |
if test "$host_cpu" != ia64; then |
|
14719 |
ld_shlibs_F77=no |
|
14720 |
cat <<EOF 1>&2 |
|
14721 |
||
14722 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
14723 |
*** to be unable to reliably create shared libraries on AIX. |
|
14724 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
14725 |
*** really care for shared libraries, you may want to modify your PATH |
|
14726 |
*** so that a non-GNU linker is found, and then restart. |
|
14727 |
||
14728 |
EOF |
|
14729 |
fi |
|
14730 |
;; |
|
14731 |
||
14732 |
amigaos*) |
|
14733 |
archive_cmds_F77='$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)' |
|
14734 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14735 |
hardcode_minus_L_F77=yes |
|
14736 |
||
14737 |
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
14738 |
# that the semantics of dynamic libraries on AmigaOS, at least up |
|
14739 |
# to version 4, is to share data among multiple programs linked |
|
14740 |
# with the same dynamic library. Since this doesn't match the |
|
14741 |
# behavior of shared libraries on other platforms, we can't use |
|
14742 |
# them. |
|
14743 |
ld_shlibs_F77=no |
|
14744 |
;; |
|
14745 |
||
14746 |
beos*) |
|
14747 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14748 |
allow_undefined_flag_F77=unsupported |
|
14749 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
14750 |
# support --undefined. This deserves some investigation. FIXME |
|
14751 |
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14752 |
else |
|
14753 |
ld_shlibs_F77=no |
|
14754 |
fi |
|
14755 |
;; |
|
14756 |
||
14757 |
cygwin* | mingw* | pw32*) |
|
14758 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, |
|
14759 |
# as there is no search path for DLLs. |
|
14760 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14761 |
allow_undefined_flag_F77=unsupported |
|
14762 |
always_export_symbols_F77=no |
|
14763 |
enable_shared_with_static_runtimes_F77=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14764 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1
by paul-mccullagh
Initial import |
14765 |
|
14766 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14767 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1
by paul-mccullagh
Initial import |
14768 |
# If the export-symbols file already is a .def file (1st line |
14769 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
14770 |
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
14771 |
cp $export_symbols $output_objdir/$soname.def; |
|
14772 |
else |
|
14773 |
echo EXPORTS > $output_objdir/$soname.def; |
|
14774 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
14775 |
fi~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14776 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14777 |
else |
|
14778 |
ld_shlibs_F77=no |
|
14779 |
fi |
|
14780 |
;; |
|
14781 |
||
14782 |
interix[3-9]*) |
|
14783 |
hardcode_direct_F77=no |
|
14784 |
hardcode_shlibpath_var_F77=no |
|
14785 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
14786 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
14787 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
14788 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
14789 |
# default) and relocated if they conflict, which is a slow very memory |
|
14790 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
14791 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
14792 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
14793 |
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
14794 |
archive_expsym_cmds_F77='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' |
|
14795 |
;; |
|
14796 |
||
14797 |
gnu* | linux* | k*bsd*-gnu) |
|
14798 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14799 |
tmp_addflag= |
|
14800 |
case $cc_basename,$host_cpu in |
|
14801 |
pgcc*) # Portland Group C compiler |
|
14802 |
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14803 |
tmp_addflag=' $pic_flag' |
|
14804 |
;; |
|
14805 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
14806 |
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14807 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
14808 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
14809 |
tmp_addflag=' -i_dynamic' ;; |
|
14810 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
14811 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
14812 |
ifc* | ifort*) # Intel Fortran compiler |
|
14813 |
tmp_addflag=' -nofor_main' ;; |
|
14814 |
esac |
|
14815 |
case `$CC -V 2>&1 | sed 5q` in |
|
14816 |
*Sun\ C*) # Sun C 5.9 |
|
14817 |
whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14818 |
tmp_sharedflag='-G' ;; |
|
14819 |
*Sun\ F*) # Sun Fortran 8.3 |
|
14820 |
tmp_sharedflag='-G' ;; |
|
14821 |
*) |
|
14822 |
tmp_sharedflag='-shared' ;; |
|
14823 |
esac |
|
14824 |
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14825 |
||
14826 |
if test $supports_anon_versioning = yes; then |
|
14827 |
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
14828 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
14829 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
14830 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
14831 |
fi |
|
14832 |
else |
|
14833 |
ld_shlibs_F77=no |
|
1
by paul-mccullagh
Initial import |
14834 |
fi |
14835 |
;; |
|
14836 |
||
14837 |
netbsd*) |
|
14838 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
14839 |
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
14840 |
wlarc= |
|
14841 |
else |
|
14842 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14843 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14844 |
fi |
|
14845 |
;; |
|
14846 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14847 |
solaris*) |
1
by paul-mccullagh
Initial import |
14848 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
14849 |
ld_shlibs_F77=no |
|
14850 |
cat <<EOF 1>&2 |
|
14851 |
||
14852 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
14853 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
14854 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
14855 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
14856 |
*** your PATH or compiler configuration so that the native linker is |
|
14857 |
*** used, and then restart. |
|
14858 |
||
14859 |
EOF |
|
14860 |
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14861 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14862 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14863 |
else |
|
14864 |
ld_shlibs_F77=no |
|
14865 |
fi |
|
14866 |
;; |
|
14867 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14868 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
14869 |
case `$LD -v 2>&1` in |
|
14870 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
14871 |
ld_shlibs_F77=no |
|
14872 |
cat <<_LT_EOF 1>&2 |
|
14873 |
||
14874 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
14875 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
14876 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
14877 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
14878 |
*** your PATH or compiler configuration so that the native linker is |
|
14879 |
*** used, and then restart. |
|
14880 |
||
14881 |
_LT_EOF |
|
14882 |
;; |
|
14883 |
*) |
|
14884 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14885 |
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
14886 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
14887 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
14888 |
else |
|
14889 |
ld_shlibs_F77=no |
|
14890 |
fi |
|
14891 |
;; |
|
14892 |
esac |
|
14893 |
;; |
|
14894 |
||
1
by paul-mccullagh
Initial import |
14895 |
sunos4*) |
14896 |
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
14897 |
wlarc= |
|
14898 |
hardcode_direct_F77=yes |
|
14899 |
hardcode_shlibpath_var_F77=no |
|
14900 |
;; |
|
14901 |
||
14902 |
*) |
|
14903 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14904 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14905 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14906 |
else |
|
14907 |
ld_shlibs_F77=no |
|
14908 |
fi |
|
14909 |
;; |
|
14910 |
esac |
|
14911 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14912 |
if test "$ld_shlibs_F77" = no; then |
14913 |
runpath_var= |
|
14914 |
hardcode_libdir_flag_spec_F77= |
|
14915 |
export_dynamic_flag_spec_F77= |
|
14916 |
whole_archive_flag_spec_F77= |
|
1
by paul-mccullagh
Initial import |
14917 |
fi |
14918 |
else |
|
14919 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
14920 |
case $host_os in |
|
14921 |
aix3*) |
|
14922 |
allow_undefined_flag_F77=unsupported |
|
14923 |
always_export_symbols_F77=yes |
|
14924 |
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
14925 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
14926 |
# are no directories specified by -L. |
|
14927 |
hardcode_minus_L_F77=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14928 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
1
by paul-mccullagh
Initial import |
14929 |
# Neither direct hardcoding nor static linking is supported with a |
14930 |
# broken collect2. |
|
14931 |
hardcode_direct_F77=unsupported |
|
14932 |
fi |
|
14933 |
;; |
|
14934 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14935 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
14936 |
if test "$host_cpu" = ia64; then |
14937 |
# On IA64, the linker does run time linking by default, so we don't |
|
14938 |
# have to do anything special. |
|
14939 |
aix_use_runtimelinking=no |
|
14940 |
exp_sym_flag='-Bexport' |
|
14941 |
no_entry_flag="" |
|
14942 |
else |
|
14943 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
14944 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
14945 |
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
14946 |
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
14947 |
else |
|
14948 |
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
14949 |
fi |
|
14950 |
aix_use_runtimelinking=no |
|
14951 |
||
14952 |
# Test if we are trying to use run time linking or normal |
|
14953 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
14954 |
# need to do runtime linking. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14955 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1
by paul-mccullagh
Initial import |
14956 |
for ld_flag in $LDFLAGS; do |
14957 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
14958 |
aix_use_runtimelinking=yes |
|
14959 |
break |
|
14960 |
fi |
|
14961 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14962 |
;; |
1
by paul-mccullagh
Initial import |
14963 |
esac |
14964 |
||
14965 |
exp_sym_flag='-bexport' |
|
14966 |
no_entry_flag='-bnoentry' |
|
14967 |
fi |
|
14968 |
||
14969 |
# When large executables or shared objects are built, AIX ld can |
|
14970 |
# have problems creating the table of contents. If linking a library |
|
14971 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
14972 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
14973 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
14974 |
||
14975 |
archive_cmds_F77='' |
|
14976 |
hardcode_direct_F77=yes |
|
14977 |
hardcode_libdir_separator_F77=':' |
|
14978 |
link_all_deplibs_F77=yes |
|
14979 |
||
14980 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14981 |
case $host_os in aix4.[012]|aix4.[012].*) |
1
by paul-mccullagh
Initial import |
14982 |
# We only want to do this on AIX 4.2 and lower, the check |
14983 |
# below for broken collect2 doesn't work under 4.3+ |
|
14984 |
collect2name=`${CC} -print-prog-name=collect2` |
|
14985 |
if test -f "$collect2name" && \ |
|
14986 |
strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
14987 |
then |
|
14988 |
# We have reworked collect2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
14989 |
: |
1
by paul-mccullagh
Initial import |
14990 |
else |
14991 |
# We have old collect2 |
|
14992 |
hardcode_direct_F77=unsupported |
|
14993 |
# It fails to find uninstalled libraries when the uninstalled |
|
14994 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
14995 |
# to unsupported forces relinking |
|
14996 |
hardcode_minus_L_F77=yes |
|
14997 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14998 |
hardcode_libdir_separator_F77= |
|
14999 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15000 |
;; |
1
by paul-mccullagh
Initial import |
15001 |
esac |
15002 |
shared_flag='-shared' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15003 |
if test "$aix_use_runtimelinking" = yes; then |
15004 |
shared_flag="$shared_flag "'${wl}-G' |
|
15005 |
fi |
|
1
by paul-mccullagh
Initial import |
15006 |
else |
15007 |
# not using gcc |
|
15008 |
if test "$host_cpu" = ia64; then |
|
15009 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
15010 |
# chokes on -Wl,-G. The following line is correct: |
|
15011 |
shared_flag='-G' |
|
15012 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15013 |
if test "$aix_use_runtimelinking" = yes; then |
1
by paul-mccullagh
Initial import |
15014 |
shared_flag='${wl}-G' |
15015 |
else |
|
15016 |
shared_flag='${wl}-bM:SRE' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15017 |
fi |
1
by paul-mccullagh
Initial import |
15018 |
fi |
15019 |
fi |
|
15020 |
||
15021 |
# It seems that -bexpall does not export symbols beginning with |
|
15022 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
15023 |
always_export_symbols_F77=yes |
|
15024 |
if test "$aix_use_runtimelinking" = yes; then |
|
15025 |
# Warning - without using the other runtime loading flags (-brtl), |
|
15026 |
# -berok will link without error, but may produce a broken library. |
|
15027 |
allow_undefined_flag_F77='-berok' |
|
15028 |
# Determine the default libpath from the value encoded in an empty executable. |
|
15029 |
cat >conftest.$ac_ext <<_ACEOF |
|
15030 |
program main |
|
15031 |
||
15032 |
end |
|
15033 |
_ACEOF |
|
15034 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15035 |
if { (ac_try="$ac_link" |
15036 |
case "(($ac_try" in |
|
15037 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
15038 |
*) ac_try_echo=$ac_try;; |
|
15039 |
esac |
|
15040 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
15041 |
$as_echo "$ac_try_echo") >&5 |
|
15042 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
15043 |
ac_status=$? |
15044 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
15045 |
rm -f conftest.er1 |
|
15046 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15047 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15048 |
(exit $ac_status); } && { |
|
15049 |
test -z "$ac_f77_werror_flag" || |
|
15050 |
test ! -s conftest.err |
|
15051 |
} && test -s conftest$ac_exeext && { |
|
15052 |
test "$cross_compiling" = yes || |
|
15053 |
$as_test_x conftest$ac_exeext |
|
15054 |
}; then |
|
1
by paul-mccullagh
Initial import |
15055 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15056 |
lt_aix_libpath_sed=' |
15057 |
/Import File Strings/,/^$/ { |
|
15058 |
/^0/ { |
|
15059 |
s/^0 *\(.*\)$/\1/ |
|
15060 |
p |
|
15061 |
} |
|
15062 |
}' |
|
15063 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
15064 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15065 |
if test -z "$aix_libpath"; then |
15066 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15067 |
fi |
|
1
by paul-mccullagh
Initial import |
15068 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15069 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
15070 |
sed 's/^/| /' conftest.$ac_ext >&5 |
15071 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15072 |
|
1
by paul-mccullagh
Initial import |
15073 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15074 |
|
15075 |
rm -rf conftest.dSYM |
|
15076 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
15077 |
conftest$ac_exeext conftest.$ac_ext |
15078 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
15079 |
||
15080 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15081 |
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
1
by paul-mccullagh
Initial import |
15082 |
else |
15083 |
if test "$host_cpu" = ia64; then |
|
15084 |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
|
15085 |
allow_undefined_flag_F77="-z nodefs" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15086 |
archive_expsym_cmds_F77="\$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" |
1
by paul-mccullagh
Initial import |
15087 |
else |
15088 |
# Determine the default libpath from the value encoded in an empty executable. |
|
15089 |
cat >conftest.$ac_ext <<_ACEOF |
|
15090 |
program main |
|
15091 |
||
15092 |
end |
|
15093 |
_ACEOF |
|
15094 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15095 |
if { (ac_try="$ac_link" |
15096 |
case "(($ac_try" in |
|
15097 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
15098 |
*) ac_try_echo=$ac_try;; |
|
15099 |
esac |
|
15100 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
15101 |
$as_echo "$ac_try_echo") >&5 |
|
15102 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
15103 |
ac_status=$? |
15104 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
15105 |
rm -f conftest.er1 |
|
15106 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15107 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15108 |
(exit $ac_status); } && { |
|
15109 |
test -z "$ac_f77_werror_flag" || |
|
15110 |
test ! -s conftest.err |
|
15111 |
} && test -s conftest$ac_exeext && { |
|
15112 |
test "$cross_compiling" = yes || |
|
15113 |
$as_test_x conftest$ac_exeext |
|
15114 |
}; then |
|
1
by paul-mccullagh
Initial import |
15115 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15116 |
lt_aix_libpath_sed=' |
15117 |
/Import File Strings/,/^$/ { |
|
15118 |
/^0/ { |
|
15119 |
s/^0 *\(.*\)$/\1/ |
|
15120 |
p |
|
15121 |
} |
|
15122 |
}' |
|
15123 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
15124 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15125 |
if test -z "$aix_libpath"; then |
15126 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15127 |
fi |
|
1
by paul-mccullagh
Initial import |
15128 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15129 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
15130 |
sed 's/^/| /' conftest.$ac_ext >&5 |
15131 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15132 |
|
1
by paul-mccullagh
Initial import |
15133 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15134 |
|
15135 |
rm -rf conftest.dSYM |
|
15136 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
15137 |
conftest$ac_exeext conftest.$ac_ext |
15138 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
15139 |
||
15140 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
15141 |
# Warning - without using the other run time loading flags, |
|
15142 |
# -berok will link without error, but may produce a broken library. |
|
15143 |
no_undefined_flag_F77=' ${wl}-bernotok' |
|
15144 |
allow_undefined_flag_F77=' ${wl}-berok' |
|
15145 |
# Exported symbols can be pulled into shared objects from archives |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15146 |
whole_archive_flag_spec_F77='$convenience' |
1
by paul-mccullagh
Initial import |
15147 |
archive_cmds_need_lc_F77=yes |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15148 |
# This is similar to how AIX traditionally builds its shared libraries. |
15149 |
archive_expsym_cmds_F77="\$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' |
|
1
by paul-mccullagh
Initial import |
15150 |
fi |
15151 |
fi |
|
15152 |
;; |
|
15153 |
||
15154 |
amigaos*) |
|
15155 |
archive_cmds_F77='$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)' |
|
15156 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15157 |
hardcode_minus_L_F77=yes |
|
15158 |
# see comment about different semantics on the GNU ld section |
|
15159 |
ld_shlibs_F77=no |
|
15160 |
;; |
|
15161 |
||
15162 |
bsdi[45]*) |
|
15163 |
export_dynamic_flag_spec_F77=-rdynamic |
|
15164 |
;; |
|
15165 |
||
15166 |
cygwin* | mingw* | pw32*) |
|
15167 |
# When not using gcc, we currently assume that we are using |
|
15168 |
# Microsoft Visual C++. |
|
15169 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
15170 |
# no search path for DLLs. |
|
15171 |
hardcode_libdir_flag_spec_F77=' ' |
|
15172 |
allow_undefined_flag_F77=unsupported |
|
15173 |
# Tell ltmain to make .lib files, not .a files. |
|
15174 |
libext=lib |
|
15175 |
# Tell ltmain to make .dll files, not .so files. |
|
15176 |
shrext_cmds=".dll" |
|
15177 |
# FIXME: Setting linknames here is a bad hack. |
|
15178 |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
15179 |
# The linker will automatically build a .lib file if we build a DLL. |
|
15180 |
old_archive_From_new_cmds_F77='true' |
|
15181 |
# FIXME: Should let the user specify the lib program. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15182 |
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' |
15183 |
fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
|
1
by paul-mccullagh
Initial import |
15184 |
enable_shared_with_static_runtimes_F77=yes |
15185 |
;; |
|
15186 |
||
15187 |
darwin* | rhapsody*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15188 |
allow_undefined_flag_F77="$_lt_dar_allow_undefined" |
1
by paul-mccullagh
Initial import |
15189 |
archive_cmds_need_lc_F77=no |
15190 |
hardcode_direct_F77=no |
|
15191 |
hardcode_automatic_F77=yes |
|
15192 |
hardcode_shlibpath_var_F77=unsupported |
|
15193 |
whole_archive_flag_spec_F77='' |
|
15194 |
link_all_deplibs_F77=yes |
|
15195 |
if test "$GCC" = yes ; then |
|
15196 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15197 |
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
15198 |
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
15199 |
archive_expsym_cmds_F77="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}" |
|
15200 |
module_expsym_cmds_F77="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}" |
|
1
by paul-mccullagh
Initial import |
15201 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15202 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
15203 |
xlc*) |
15204 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15205 |
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
1
by paul-mccullagh
Initial import |
15206 |
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15207 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
15208 |
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
1
by paul-mccullagh
Initial import |
15209 |
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15210 |
;; |
|
15211 |
*) |
|
15212 |
ld_shlibs_F77=no |
|
15213 |
;; |
|
15214 |
esac |
|
15215 |
fi |
|
15216 |
;; |
|
15217 |
||
15218 |
dgux*) |
|
15219 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15220 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15221 |
hardcode_shlibpath_var_F77=no |
|
15222 |
;; |
|
15223 |
||
15224 |
freebsd1*) |
|
15225 |
ld_shlibs_F77=no |
|
15226 |
;; |
|
15227 |
||
15228 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
15229 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
15230 |
# does not break anything, and helps significantly (at the cost of a little |
|
15231 |
# extra space). |
|
15232 |
freebsd2.2*) |
|
15233 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
15234 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15235 |
hardcode_direct_F77=yes |
|
15236 |
hardcode_shlibpath_var_F77=no |
|
15237 |
;; |
|
15238 |
||
15239 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
15240 |
freebsd2*) |
|
15241 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
15242 |
hardcode_direct_F77=yes |
|
15243 |
hardcode_minus_L_F77=yes |
|
15244 |
hardcode_shlibpath_var_F77=no |
|
15245 |
;; |
|
15246 |
||
15247 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15248 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
15249 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
15250 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15251 |
hardcode_direct_F77=yes |
|
15252 |
hardcode_shlibpath_var_F77=no |
|
15253 |
;; |
|
15254 |
||
15255 |
hpux9*) |
|
15256 |
if test "$GCC" = yes; then |
|
15257 |
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
15258 |
else |
|
15259 |
archive_cmds_F77='$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' |
|
15260 |
fi |
|
15261 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
15262 |
hardcode_libdir_separator_F77=: |
|
15263 |
hardcode_direct_F77=yes |
|
15264 |
||
15265 |
# hardcode_minus_L: Not really in the search PATH, |
|
15266 |
# but as the default location of the library. |
|
15267 |
hardcode_minus_L_F77=yes |
|
15268 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
15269 |
;; |
|
15270 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15271 |
hpux10*) |
15272 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
15273 |
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
15274 |
else |
|
15275 |
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
15276 |
fi |
|
15277 |
if test "$with_gnu_ld" = no; then |
|
15278 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
15279 |
hardcode_libdir_separator_F77=: |
|
15280 |
||
15281 |
hardcode_direct_F77=yes |
|
15282 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
15283 |
||
15284 |
# hardcode_minus_L: Not really in the search PATH, |
|
15285 |
# but as the default location of the library. |
|
15286 |
hardcode_minus_L_F77=yes |
|
15287 |
fi |
|
15288 |
;; |
|
15289 |
||
15290 |
hpux11*) |
|
15291 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
15292 |
case $host_cpu in |
|
15293 |
hppa*64*) |
|
1
by paul-mccullagh
Initial import |
15294 |
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
15295 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15296 |
ia64*) |
15297 |
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
15298 |
;; |
|
1
by paul-mccullagh
Initial import |
15299 |
*) |
15300 |
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
15301 |
;; |
|
15302 |
esac |
|
15303 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15304 |
case $host_cpu in |
15305 |
hppa*64*) |
|
15306 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15307 |
;; |
|
15308 |
ia64*) |
|
15309 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
1
by paul-mccullagh
Initial import |
15310 |
;; |
15311 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15312 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1
by paul-mccullagh
Initial import |
15313 |
;; |
15314 |
esac |
|
15315 |
fi |
|
15316 |
if test "$with_gnu_ld" = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15317 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
15318 |
hardcode_libdir_separator_F77=: |
|
15319 |
||
15320 |
case $host_cpu in |
|
15321 |
hppa*64*|ia64*) |
|
1
by paul-mccullagh
Initial import |
15322 |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15323 |
hardcode_direct_F77=no |
15324 |
hardcode_shlibpath_var_F77=no |
|
1
by paul-mccullagh
Initial import |
15325 |
;; |
15326 |
*) |
|
15327 |
hardcode_direct_F77=yes |
|
15328 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
15329 |
||
15330 |
# hardcode_minus_L: Not really in the search PATH, |
|
15331 |
# but as the default location of the library. |
|
15332 |
hardcode_minus_L_F77=yes |
|
15333 |
;; |
|
15334 |
esac |
|
15335 |
fi |
|
15336 |
;; |
|
15337 |
||
15338 |
irix5* | irix6* | nonstopux*) |
|
15339 |
if test "$GCC" = yes; then |
|
15340 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15341 |
else |
|
15342 |
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15343 |
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' |
|
15344 |
fi |
|
15345 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15346 |
hardcode_libdir_separator_F77=: |
|
15347 |
link_all_deplibs_F77=yes |
|
15348 |
;; |
|
15349 |
||
15350 |
netbsd*) |
|
15351 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
15352 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
15353 |
else |
|
15354 |
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
15355 |
fi |
|
15356 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15357 |
hardcode_direct_F77=yes |
|
15358 |
hardcode_shlibpath_var_F77=no |
|
15359 |
;; |
|
15360 |
||
15361 |
newsos6) |
|
15362 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15363 |
hardcode_direct_F77=yes |
|
15364 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15365 |
hardcode_libdir_separator_F77=: |
|
15366 |
hardcode_shlibpath_var_F77=no |
|
15367 |
;; |
|
15368 |
||
15369 |
openbsd*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15370 |
if test -f /usr/libexec/ld.so; then |
15371 |
hardcode_direct_F77=yes |
|
15372 |
hardcode_shlibpath_var_F77=no |
|
15373 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
15374 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
15375 |
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
15376 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
15377 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
15378 |
else |
|
15379 |
case $host_os in |
|
15380 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
15381 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
15382 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15383 |
;; |
|
15384 |
*) |
|
15385 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
15386 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
15387 |
;; |
|
15388 |
esac |
|
15389 |
fi |
|
1
by paul-mccullagh
Initial import |
15390 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15391 |
ld_shlibs_F77=no |
1
by paul-mccullagh
Initial import |
15392 |
fi |
15393 |
;; |
|
15394 |
||
15395 |
os2*) |
|
15396 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15397 |
hardcode_minus_L_F77=yes |
|
15398 |
allow_undefined_flag_F77=unsupported |
|
15399 |
archive_cmds_F77='$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' |
|
15400 |
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
15401 |
;; |
|
15402 |
||
15403 |
osf3*) |
|
15404 |
if test "$GCC" = yes; then |
|
15405 |
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
15406 |
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15407 |
else |
|
15408 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
|
15409 |
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15410 |
fi |
|
15411 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15412 |
hardcode_libdir_separator_F77=: |
|
15413 |
;; |
|
15414 |
||
15415 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
15416 |
if test "$GCC" = yes; then |
|
15417 |
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
15418 |
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15419 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15420 |
else |
|
15421 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
|
15422 |
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15423 |
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15424 |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
1
by paul-mccullagh
Initial import |
15425 |
|
15426 |
# Both c and cxx compiler support -rpath directly |
|
15427 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
|
15428 |
fi |
|
15429 |
hardcode_libdir_separator_F77=: |
|
15430 |
;; |
|
15431 |
||
15432 |
solaris*) |
|
15433 |
no_undefined_flag_F77=' -z text' |
|
15434 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15435 |
wlarc='${wl}' |
1
by paul-mccullagh
Initial import |
15436 |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
15437 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
15438 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
|
15439 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15440 |
wlarc='' |
1
by paul-mccullagh
Initial import |
15441 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
15442 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
15443 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
15444 |
fi |
|
15445 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15446 |
hardcode_shlibpath_var_F77=no |
|
15447 |
case $host_os in |
|
15448 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15449 |
*) |
15450 |
# The compiler driver will combine and reorder linker options, |
|
15451 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
15452 |
# but is careful enough not to reorder. |
|
15453 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
15454 |
if test "$GCC" = yes; then |
|
15455 |
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
15456 |
else |
|
15457 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' |
|
15458 |
fi |
|
15459 |
;; |
|
1
by paul-mccullagh
Initial import |
15460 |
esac |
15461 |
link_all_deplibs_F77=yes |
|
15462 |
;; |
|
15463 |
||
15464 |
sunos4*) |
|
15465 |
if test "x$host_vendor" = xsequent; then |
|
15466 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
15467 |
# files that make .init and .fini sections work. |
|
15468 |
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15469 |
else |
|
15470 |
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
15471 |
fi |
|
15472 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15473 |
hardcode_direct_F77=yes |
|
15474 |
hardcode_minus_L_F77=yes |
|
15475 |
hardcode_shlibpath_var_F77=no |
|
15476 |
;; |
|
15477 |
||
15478 |
sysv4) |
|
15479 |
case $host_vendor in |
|
15480 |
sni) |
|
15481 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15482 |
hardcode_direct_F77=yes # is this really true??? |
|
15483 |
;; |
|
15484 |
siemens) |
|
15485 |
## LD is ld it makes a PLAMLIB |
|
15486 |
## CC just makes a GrossModule. |
|
15487 |
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
15488 |
reload_cmds_F77='$CC -r -o $output$reload_objs' |
|
15489 |
hardcode_direct_F77=no |
|
15490 |
;; |
|
15491 |
motorola) |
|
15492 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15493 |
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie |
|
15494 |
;; |
|
15495 |
esac |
|
15496 |
runpath_var='LD_RUN_PATH' |
|
15497 |
hardcode_shlibpath_var_F77=no |
|
15498 |
;; |
|
15499 |
||
15500 |
sysv4.3*) |
|
15501 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15502 |
hardcode_shlibpath_var_F77=no |
|
15503 |
export_dynamic_flag_spec_F77='-Bexport' |
|
15504 |
;; |
|
15505 |
||
15506 |
sysv4*MP*) |
|
15507 |
if test -d /usr/nec; then |
|
15508 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15509 |
hardcode_shlibpath_var_F77=no |
|
15510 |
runpath_var=LD_RUN_PATH |
|
15511 |
hardcode_runpath_var=yes |
|
15512 |
ld_shlibs_F77=yes |
|
15513 |
fi |
|
15514 |
;; |
|
15515 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15516 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
15517 |
no_undefined_flag_F77='${wl}-z,text' |
|
15518 |
archive_cmds_need_lc_F77=no |
|
15519 |
hardcode_shlibpath_var_F77=no |
|
15520 |
runpath_var='LD_RUN_PATH' |
|
15521 |
||
15522 |
if test "$GCC" = yes; then |
|
15523 |
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15524 |
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15525 |
else |
|
15526 |
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15527 |
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15528 |
fi |
|
15529 |
;; |
|
15530 |
||
15531 |
sysv5* | sco3.2v5* | sco5v6*) |
|
15532 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
15533 |
# link with -lc, and that would cause any symbols used from libc to |
|
15534 |
# always be unresolved, which means just about no library would |
|
15535 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
15536 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
15537 |
# as -z defs. |
|
15538 |
no_undefined_flag_F77='${wl}-z,text' |
|
15539 |
allow_undefined_flag_F77='${wl}-z,nodefs' |
|
15540 |
archive_cmds_need_lc_F77=no |
|
15541 |
hardcode_shlibpath_var_F77=no |
|
15542 |
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
15543 |
hardcode_libdir_separator_F77=':' |
|
15544 |
link_all_deplibs_F77=yes |
|
15545 |
export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
15546 |
runpath_var='LD_RUN_PATH' |
|
15547 |
||
15548 |
if test "$GCC" = yes; then |
|
15549 |
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15550 |
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15551 |
else |
|
15552 |
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15553 |
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15554 |
fi |
|
1
by paul-mccullagh
Initial import |
15555 |
;; |
15556 |
||
15557 |
uts4*) |
|
15558 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15559 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15560 |
hardcode_shlibpath_var_F77=no |
|
15561 |
;; |
|
15562 |
||
15563 |
*) |
|
15564 |
ld_shlibs_F77=no |
|
15565 |
;; |
|
15566 |
esac |
|
15567 |
fi |
|
15568 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15569 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
15570 |
$as_echo "$ld_shlibs_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
15571 |
test "$ld_shlibs_F77" = no && can_build_shared=no |
15572 |
||
15573 |
# |
|
15574 |
# Do we need to explicitly link libc? |
|
15575 |
# |
|
15576 |
case "x$archive_cmds_need_lc_F77" in |
|
15577 |
x|xyes) |
|
15578 |
# Assume -lc should be added |
|
15579 |
archive_cmds_need_lc_F77=yes |
|
15580 |
||
15581 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
15582 |
case $archive_cmds_F77 in |
|
15583 |
*'~'*) |
|
15584 |
# FIXME: we may have to deal with multi-command sequences. |
|
15585 |
;; |
|
15586 |
'$CC '*) |
|
15587 |
# Test whether the compiler implicitly links with -lc since on some |
|
15588 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
15589 |
# to ld, don't add -lc before -lgcc. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15590 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
15591 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1
by paul-mccullagh
Initial import |
15592 |
$rm conftest* |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15593 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
15594 |
|
15595 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
15596 |
(eval $ac_compile) 2>&5 |
|
15597 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15598 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
15599 |
(exit $ac_status); } 2>conftest.err; then |
15600 |
soname=conftest |
|
15601 |
lib=conftest |
|
15602 |
libobjs=conftest.$ac_objext |
|
15603 |
deplibs= |
|
15604 |
wl=$lt_prog_compiler_wl_F77 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15605 |
pic_flag=$lt_prog_compiler_pic_F77 |
1
by paul-mccullagh
Initial import |
15606 |
compiler_flags=-v |
15607 |
linker_flags=-v |
|
15608 |
verstring= |
|
15609 |
output_objdir=. |
|
15610 |
libname=conftest |
|
15611 |
lt_save_allow_undefined_flag=$allow_undefined_flag_F77 |
|
15612 |
allow_undefined_flag_F77= |
|
15613 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
15614 |
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
15615 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15616 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
15617 |
(exit $ac_status); } |
15618 |
then |
|
15619 |
archive_cmds_need_lc_F77=no |
|
15620 |
else |
|
15621 |
archive_cmds_need_lc_F77=yes |
|
15622 |
fi |
|
15623 |
allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
|
15624 |
else |
|
15625 |
cat conftest.err 1>&5 |
|
15626 |
fi |
|
15627 |
$rm conftest* |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15628 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
15629 |
$as_echo "$archive_cmds_need_lc_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
15630 |
;; |
15631 |
esac |
|
15632 |
fi |
|
15633 |
;; |
|
15634 |
esac |
|
15635 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15636 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
15637 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
1
by paul-mccullagh
Initial import |
15638 |
library_names_spec= |
15639 |
libname_spec='lib$name' |
|
15640 |
soname_spec= |
|
15641 |
shrext_cmds=".so" |
|
15642 |
postinstall_cmds= |
|
15643 |
postuninstall_cmds= |
|
15644 |
finish_cmds= |
|
15645 |
finish_eval= |
|
15646 |
shlibpath_var= |
|
15647 |
shlibpath_overrides_runpath=unknown |
|
15648 |
version_type=none |
|
15649 |
dynamic_linker="$host_os ld.so" |
|
15650 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15651 |
|
1
by paul-mccullagh
Initial import |
15652 |
need_lib_prefix=unknown |
15653 |
hardcode_into_libs=no |
|
15654 |
||
15655 |
# when you set need_version to no, make sure it does not cause -set_version |
|
15656 |
# flags to be left without arguments |
|
15657 |
need_version=unknown |
|
15658 |
||
15659 |
case $host_os in |
|
15660 |
aix3*) |
|
15661 |
version_type=linux |
|
15662 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
15663 |
shlibpath_var=LIBPATH |
|
15664 |
||
15665 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
15666 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15667 |
;; |
|
15668 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15669 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
15670 |
version_type=linux |
15671 |
need_lib_prefix=no |
|
15672 |
need_version=no |
|
15673 |
hardcode_into_libs=yes |
|
15674 |
if test "$host_cpu" = ia64; then |
|
15675 |
# AIX 5 supports IA64 |
|
15676 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
15677 |
shlibpath_var=LD_LIBRARY_PATH |
|
15678 |
else |
|
15679 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
15680 |
# for dependence libraries. The import file would start with |
|
15681 |
# the line `#! .'. This would cause the generated library to |
|
15682 |
# depend on `.', always an invalid library. This was fixed in |
|
15683 |
# development snapshots of GCC prior to 3.0. |
|
15684 |
case $host_os in |
|
15685 |
aix4 | aix4.[01] | aix4.[01].*) |
|
15686 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
15687 |
echo ' yes ' |
|
15688 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
15689 |
: |
|
15690 |
else |
|
15691 |
can_build_shared=no |
|
15692 |
fi |
|
15693 |
;; |
|
15694 |
esac |
|
15695 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
15696 |
# soname into executable. Probably we can add versioning support to |
|
15697 |
# collect2, so additional links can be useful in future. |
|
15698 |
if test "$aix_use_runtimelinking" = yes; then |
|
15699 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
15700 |
# instead of lib<name>.a to let people know that these are not |
|
15701 |
# typical AIX shared libraries. |
|
15702 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15703 |
else |
|
15704 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
15705 |
# and later when we are not doing run time linking. |
|
15706 |
library_names_spec='${libname}${release}.a $libname.a' |
|
15707 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15708 |
fi |
|
15709 |
shlibpath_var=LIBPATH |
|
15710 |
fi |
|
15711 |
;; |
|
15712 |
||
15713 |
amigaos*) |
|
15714 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
15715 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
15716 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' |
|
15717 |
;; |
|
15718 |
||
15719 |
beos*) |
|
15720 |
library_names_spec='${libname}${shared_ext}' |
|
15721 |
dynamic_linker="$host_os ld.so" |
|
15722 |
shlibpath_var=LIBRARY_PATH |
|
15723 |
;; |
|
15724 |
||
15725 |
bsdi[45]*) |
|
15726 |
version_type=linux |
|
15727 |
need_version=no |
|
15728 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15729 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15730 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
15731 |
shlibpath_var=LD_LIBRARY_PATH |
|
15732 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
15733 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
15734 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
15735 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
15736 |
# libtool to hard-code these into programs |
|
15737 |
;; |
|
15738 |
||
15739 |
cygwin* | mingw* | pw32*) |
|
15740 |
version_type=windows |
|
15741 |
shrext_cmds=".dll" |
|
15742 |
need_version=no |
|
15743 |
need_lib_prefix=no |
|
15744 |
||
15745 |
case $GCC,$host_os in |
|
15746 |
yes,cygwin* | yes,mingw* | yes,pw32*) |
|
15747 |
library_names_spec='$libname.dll.a' |
|
15748 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
15749 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
15750 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
15751 |
dldir=$destdir/`dirname \$dlpath`~ |
|
15752 |
test -d \$dldir || mkdir -p \$dldir~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15753 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
15754 |
chmod a+x \$dldir/$dlname' |
|
1
by paul-mccullagh
Initial import |
15755 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
15756 |
dlpath=$dir/\$dldll~ |
|
15757 |
$rm \$dlpath' |
|
15758 |
shlibpath_overrides_runpath=yes |
|
15759 |
||
15760 |
case $host_os in |
|
15761 |
cygwin*) |
|
15762 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
15763 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
15764 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
15765 |
;; |
|
15766 |
mingw*) |
|
15767 |
# MinGW DLLs use traditional 'lib' prefix |
|
15768 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
15769 |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
15770 |
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
15771 |
# It is most probably a Windows format PATH printed by |
|
15772 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
15773 |
# path with ; separators, and with drive letters. We can handle the |
|
15774 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
15775 |
# especially as we might pass files found there to a mingw objdump, |
|
15776 |
# which wouldn't understand a cygwinified path. Ahh. |
|
15777 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
15778 |
else |
|
15779 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
15780 |
fi |
|
15781 |
;; |
|
15782 |
pw32*) |
|
15783 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15784 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
1
by paul-mccullagh
Initial import |
15785 |
;; |
15786 |
esac |
|
15787 |
;; |
|
15788 |
||
15789 |
*) |
|
15790 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
15791 |
;; |
|
15792 |
esac |
|
15793 |
dynamic_linker='Win32 ld.exe' |
|
15794 |
# FIXME: first we should search . and the directory the executable is in |
|
15795 |
shlibpath_var=PATH |
|
15796 |
;; |
|
15797 |
||
15798 |
darwin* | rhapsody*) |
|
15799 |
dynamic_linker="$host_os dyld" |
|
15800 |
version_type=darwin |
|
15801 |
need_lib_prefix=no |
|
15802 |
need_version=no |
|
15803 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
15804 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
15805 |
shlibpath_overrides_runpath=yes |
|
15806 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15807 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
15808 |
||
1
by paul-mccullagh
Initial import |
15809 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
15810 |
;; |
|
15811 |
||
15812 |
dgux*) |
|
15813 |
version_type=linux |
|
15814 |
need_lib_prefix=no |
|
15815 |
need_version=no |
|
15816 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
15817 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15818 |
shlibpath_var=LD_LIBRARY_PATH |
|
15819 |
;; |
|
15820 |
||
15821 |
freebsd1*) |
|
15822 |
dynamic_linker=no |
|
15823 |
;; |
|
15824 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15825 |
freebsd* | dragonfly*) |
15826 |
# DragonFly does not have aout. When/if they implement a new |
|
15827 |
# versioning mechanism, adjust this. |
|
15828 |
if test -x /usr/bin/objformat; then |
|
15829 |
objformat=`/usr/bin/objformat` |
|
15830 |
else |
|
15831 |
case $host_os in |
|
15832 |
freebsd[123]*) objformat=aout ;; |
|
15833 |
*) objformat=elf ;; |
|
15834 |
esac |
|
15835 |
fi |
|
1
by paul-mccullagh
Initial import |
15836 |
version_type=freebsd-$objformat |
15837 |
case $version_type in |
|
15838 |
freebsd-elf*) |
|
15839 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
15840 |
need_version=no |
|
15841 |
need_lib_prefix=no |
|
15842 |
;; |
|
15843 |
freebsd-*) |
|
15844 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
15845 |
need_version=yes |
|
15846 |
;; |
|
15847 |
esac |
|
15848 |
shlibpath_var=LD_LIBRARY_PATH |
|
15849 |
case $host_os in |
|
15850 |
freebsd2*) |
|
15851 |
shlibpath_overrides_runpath=yes |
|
15852 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15853 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1
by paul-mccullagh
Initial import |
15854 |
shlibpath_overrides_runpath=yes |
15855 |
hardcode_into_libs=yes |
|
15856 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15857 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
15858 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1
by paul-mccullagh
Initial import |
15859 |
shlibpath_overrides_runpath=no |
15860 |
hardcode_into_libs=yes |
|
15861 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15862 |
*) # from 4.6 on, and DragonFly |
15863 |
shlibpath_overrides_runpath=yes |
|
15864 |
hardcode_into_libs=yes |
|
15865 |
;; |
|
1
by paul-mccullagh
Initial import |
15866 |
esac |
15867 |
;; |
|
15868 |
||
15869 |
gnu*) |
|
15870 |
version_type=linux |
|
15871 |
need_lib_prefix=no |
|
15872 |
need_version=no |
|
15873 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
15874 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15875 |
shlibpath_var=LD_LIBRARY_PATH |
|
15876 |
hardcode_into_libs=yes |
|
15877 |
;; |
|
15878 |
||
15879 |
hpux9* | hpux10* | hpux11*) |
|
15880 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
15881 |
# link against other versions. |
|
15882 |
version_type=sunos |
|
15883 |
need_lib_prefix=no |
|
15884 |
need_version=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15885 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
15886 |
ia64*) |
15887 |
shrext_cmds='.so' |
|
15888 |
hardcode_into_libs=yes |
|
15889 |
dynamic_linker="$host_os dld.so" |
|
15890 |
shlibpath_var=LD_LIBRARY_PATH |
|
15891 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
15892 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15893 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15894 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
15895 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
15896 |
else |
|
15897 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
15898 |
fi |
|
15899 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
15900 |
;; |
|
15901 |
hppa*64*) |
|
15902 |
shrext_cmds='.sl' |
|
15903 |
hardcode_into_libs=yes |
|
15904 |
dynamic_linker="$host_os dld.sl" |
|
15905 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
15906 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
15907 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15908 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15909 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
15910 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
15911 |
;; |
|
15912 |
*) |
|
15913 |
shrext_cmds='.sl' |
|
15914 |
dynamic_linker="$host_os dld.sl" |
|
15915 |
shlibpath_var=SHLIB_PATH |
|
15916 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
15917 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15918 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15919 |
;; |
|
15920 |
esac |
|
15921 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
15922 |
postinstall_cmds='chmod 555 $lib' |
|
15923 |
;; |
|
15924 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15925 |
interix[3-9]*) |
15926 |
version_type=linux |
|
15927 |
need_lib_prefix=no |
|
15928 |
need_version=no |
|
15929 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
15930 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15931 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
15932 |
shlibpath_var=LD_LIBRARY_PATH |
|
15933 |
shlibpath_overrides_runpath=no |
|
15934 |
hardcode_into_libs=yes |
|
15935 |
;; |
|
15936 |
||
1
by paul-mccullagh
Initial import |
15937 |
irix5* | irix6* | nonstopux*) |
15938 |
case $host_os in |
|
15939 |
nonstopux*) version_type=nonstopux ;; |
|
15940 |
*) |
|
15941 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
15942 |
version_type=linux |
|
15943 |
else |
|
15944 |
version_type=irix |
|
15945 |
fi ;; |
|
15946 |
esac |
|
15947 |
need_lib_prefix=no |
|
15948 |
need_version=no |
|
15949 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15950 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
15951 |
case $host_os in |
|
15952 |
irix5* | nonstopux*) |
|
15953 |
libsuff= shlibsuff= |
|
15954 |
;; |
|
15955 |
*) |
|
15956 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
15957 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
15958 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
15959 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
15960 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
15961 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
15962 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
15963 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
15964 |
esac |
|
15965 |
;; |
|
15966 |
esac |
|
15967 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
15968 |
shlibpath_overrides_runpath=no |
|
15969 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
15970 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
15971 |
hardcode_into_libs=yes |
|
15972 |
;; |
|
15973 |
||
15974 |
# No shared lib support for Linux oldld, aout, or coff. |
|
15975 |
linux*oldld* | linux*aout* | linux*coff*) |
|
15976 |
dynamic_linker=no |
|
15977 |
;; |
|
15978 |
||
15979 |
# This must be Linux ELF. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15980 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
15981 |
version_type=linux |
15982 |
need_lib_prefix=no |
|
15983 |
need_version=no |
|
15984 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15985 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
15986 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
15987 |
shlibpath_var=LD_LIBRARY_PATH |
|
15988 |
shlibpath_overrides_runpath=no |
|
15989 |
# This implies no fast_install, which is unacceptable. |
|
15990 |
# Some rework will be needed to allow for fast_install |
|
15991 |
# before this can be enabled. |
|
15992 |
hardcode_into_libs=yes |
|
15993 |
||
15994 |
# Append ld.so.conf contents to the search path |
|
15995 |
if test -f /etc/ld.so.conf; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
15996 |
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;/^$/d' | tr '\n' ' '` |
1
by paul-mccullagh
Initial import |
15997 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
15998 |
fi |
|
15999 |
||
16000 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
16001 |
# powerpc, because MkLinux only supported shared libraries with the |
|
16002 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
16003 |
# most powerpc-linux boxes support dynamic linking these days and |
|
16004 |
# people can always --disable-shared, the test was removed, and we |
|
16005 |
# assume the GNU/Linux dynamic linker is in use. |
|
16006 |
dynamic_linker='GNU/Linux ld.so' |
|
16007 |
;; |
|
16008 |
||
16009 |
netbsd*) |
|
16010 |
version_type=sunos |
|
16011 |
need_lib_prefix=no |
|
16012 |
need_version=no |
|
16013 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
16014 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16015 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16016 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
16017 |
else |
|
16018 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
16019 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16020 |
dynamic_linker='NetBSD ld.elf_so' |
|
16021 |
fi |
|
16022 |
shlibpath_var=LD_LIBRARY_PATH |
|
16023 |
shlibpath_overrides_runpath=yes |
|
16024 |
hardcode_into_libs=yes |
|
16025 |
;; |
|
16026 |
||
16027 |
newsos6) |
|
16028 |
version_type=linux |
|
16029 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16030 |
shlibpath_var=LD_LIBRARY_PATH |
|
16031 |
shlibpath_overrides_runpath=yes |
|
16032 |
;; |
|
16033 |
||
16034 |
nto-qnx*) |
|
16035 |
version_type=linux |
|
16036 |
need_lib_prefix=no |
|
16037 |
need_version=no |
|
16038 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16039 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16040 |
shlibpath_var=LD_LIBRARY_PATH |
|
16041 |
shlibpath_overrides_runpath=yes |
|
16042 |
;; |
|
16043 |
||
16044 |
openbsd*) |
|
16045 |
version_type=sunos |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16046 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1
by paul-mccullagh
Initial import |
16047 |
need_lib_prefix=no |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16048 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
16049 |
case $host_os in |
|
16050 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
16051 |
*) need_version=no ;; |
|
16052 |
esac |
|
1
by paul-mccullagh
Initial import |
16053 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
16054 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16055 |
shlibpath_var=LD_LIBRARY_PATH |
|
16056 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
16057 |
case $host_os in |
|
16058 |
openbsd2.[89] | openbsd2.[89].*) |
|
16059 |
shlibpath_overrides_runpath=no |
|
16060 |
;; |
|
16061 |
*) |
|
16062 |
shlibpath_overrides_runpath=yes |
|
16063 |
;; |
|
16064 |
esac |
|
16065 |
else |
|
16066 |
shlibpath_overrides_runpath=yes |
|
16067 |
fi |
|
16068 |
;; |
|
16069 |
||
16070 |
os2*) |
|
16071 |
libname_spec='$name' |
|
16072 |
shrext_cmds=".dll" |
|
16073 |
need_lib_prefix=no |
|
16074 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
16075 |
dynamic_linker='OS/2 ld.exe' |
|
16076 |
shlibpath_var=LIBPATH |
|
16077 |
;; |
|
16078 |
||
16079 |
osf3* | osf4* | osf5*) |
|
16080 |
version_type=osf |
|
16081 |
need_lib_prefix=no |
|
16082 |
need_version=no |
|
16083 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16084 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16085 |
shlibpath_var=LD_LIBRARY_PATH |
|
16086 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
16087 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
16088 |
;; |
|
16089 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16090 |
rdos*) |
16091 |
dynamic_linker=no |
|
1
by paul-mccullagh
Initial import |
16092 |
;; |
16093 |
||
16094 |
solaris*) |
|
16095 |
version_type=linux |
|
16096 |
need_lib_prefix=no |
|
16097 |
need_version=no |
|
16098 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16099 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16100 |
shlibpath_var=LD_LIBRARY_PATH |
|
16101 |
shlibpath_overrides_runpath=yes |
|
16102 |
hardcode_into_libs=yes |
|
16103 |
# ldd complains unless libraries are executable |
|
16104 |
postinstall_cmds='chmod +x $lib' |
|
16105 |
;; |
|
16106 |
||
16107 |
sunos4*) |
|
16108 |
version_type=sunos |
|
16109 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16110 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
16111 |
shlibpath_var=LD_LIBRARY_PATH |
|
16112 |
shlibpath_overrides_runpath=yes |
|
16113 |
if test "$with_gnu_ld" = yes; then |
|
16114 |
need_lib_prefix=no |
|
16115 |
fi |
|
16116 |
need_version=yes |
|
16117 |
;; |
|
16118 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16119 |
sysv4 | sysv4.3*) |
1
by paul-mccullagh
Initial import |
16120 |
version_type=linux |
16121 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16122 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16123 |
shlibpath_var=LD_LIBRARY_PATH |
|
16124 |
case $host_vendor in |
|
16125 |
sni) |
|
16126 |
shlibpath_overrides_runpath=no |
|
16127 |
need_lib_prefix=no |
|
16128 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
16129 |
runpath_var=LD_RUN_PATH |
|
16130 |
;; |
|
16131 |
siemens) |
|
16132 |
need_lib_prefix=no |
|
16133 |
;; |
|
16134 |
motorola) |
|
16135 |
need_lib_prefix=no |
|
16136 |
need_version=no |
|
16137 |
shlibpath_overrides_runpath=no |
|
16138 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
16139 |
;; |
|
16140 |
esac |
|
16141 |
;; |
|
16142 |
||
16143 |
sysv4*MP*) |
|
16144 |
if test -d /usr/nec ;then |
|
16145 |
version_type=linux |
|
16146 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
16147 |
soname_spec='$libname${shared_ext}.$major' |
|
16148 |
shlibpath_var=LD_LIBRARY_PATH |
|
16149 |
fi |
|
16150 |
;; |
|
16151 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16152 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
16153 |
version_type=freebsd-elf |
|
16154 |
need_lib_prefix=no |
|
16155 |
need_version=no |
|
16156 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16157 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16158 |
shlibpath_var=LD_LIBRARY_PATH |
|
16159 |
hardcode_into_libs=yes |
|
16160 |
if test "$with_gnu_ld" = yes; then |
|
16161 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
16162 |
shlibpath_overrides_runpath=no |
|
16163 |
else |
|
16164 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
16165 |
shlibpath_overrides_runpath=yes |
|
16166 |
case $host_os in |
|
16167 |
sco3.2v5*) |
|
16168 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
16169 |
;; |
|
16170 |
esac |
|
16171 |
fi |
|
16172 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
16173 |
;; |
|
16174 |
||
1
by paul-mccullagh
Initial import |
16175 |
uts4*) |
16176 |
version_type=linux |
|
16177 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16178 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16179 |
shlibpath_var=LD_LIBRARY_PATH |
|
16180 |
;; |
|
16181 |
||
16182 |
*) |
|
16183 |
dynamic_linker=no |
|
16184 |
;; |
|
16185 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16186 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
16187 |
$as_echo "$dynamic_linker" >&6; } |
|
1
by paul-mccullagh
Initial import |
16188 |
test "$dynamic_linker" = no && can_build_shared=no |
16189 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16190 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
16191 |
$as_echo_n "(cached) " >&6 |
|
16192 |
else |
|
16193 |
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" |
|
16194 |
fi |
|
16195 |
||
16196 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
16197 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
16198 |
$as_echo_n "(cached) " >&6 |
|
16199 |
else |
|
16200 |
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" |
|
16201 |
fi |
|
16202 |
||
16203 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
16204 |
||
16205 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
16206 |
if test "$GCC" = yes; then |
|
16207 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
16208 |
fi |
|
16209 |
||
16210 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
16211 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1
by paul-mccullagh
Initial import |
16212 |
hardcode_action_F77= |
16213 |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
|
16214 |
test -n "$runpath_var_F77" || \ |
|
16215 |
test "X$hardcode_automatic_F77" = "Xyes" ; then |
|
16216 |
||
16217 |
# We can hardcode non-existant directories. |
|
16218 |
if test "$hardcode_direct_F77" != no && |
|
16219 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
16220 |
# have to relink, otherwise we might link with an installed library |
|
16221 |
# when we should be linking with a yet-to-be-installed one |
|
16222 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && |
|
16223 |
test "$hardcode_minus_L_F77" != no; then |
|
16224 |
# Linking always hardcodes the temporary library directory. |
|
16225 |
hardcode_action_F77=relink |
|
16226 |
else |
|
16227 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
16228 |
hardcode_action_F77=immediate |
|
16229 |
fi |
|
16230 |
else |
|
16231 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
16232 |
# directories. |
|
16233 |
hardcode_action_F77=unsupported |
|
16234 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16235 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
16236 |
$as_echo "$hardcode_action_F77" >&6; } |
|
1
by paul-mccullagh
Initial import |
16237 |
|
16238 |
if test "$hardcode_action_F77" = relink; then |
|
16239 |
# Fast installation is not supported |
|
16240 |
enable_fast_install=no |
|
16241 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
16242 |
test "$enable_shared" = no; then |
|
16243 |
# Fast installation is not necessary |
|
16244 |
enable_fast_install=needless |
|
16245 |
fi |
|
16246 |
||
16247 |
||
16248 |
# The else clause should only fire when bootstrapping the |
|
16249 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
16250 |
# with your package, and you will get complaints that there are |
|
16251 |
# no rules to generate ltmain.sh. |
|
16252 |
if test -f "$ltmain"; then |
|
16253 |
# See if we are running on zsh, and set the options which allow our commands through |
|
16254 |
# without removal of \ escapes. |
|
16255 |
if test -n "${ZSH_VERSION+set}" ; then |
|
16256 |
setopt NO_GLOB_SUBST |
|
16257 |
fi |
|
16258 |
# Now quote all the things that may contain metacharacters while being |
|
16259 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
|
16260 |
# variables and quote the copies for generation of the libtool script. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16261 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
1
by paul-mccullagh
Initial import |
16262 |
SED SHELL STRIP \ |
16263 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
16264 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
16265 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
|
16266 |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
16267 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
16268 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
16269 |
old_postinstall_cmds old_postuninstall_cmds \ |
|
16270 |
compiler_F77 \ |
|
16271 |
CC_F77 \ |
|
16272 |
LD_F77 \ |
|
16273 |
lt_prog_compiler_wl_F77 \ |
|
16274 |
lt_prog_compiler_pic_F77 \ |
|
16275 |
lt_prog_compiler_static_F77 \ |
|
16276 |
lt_prog_compiler_no_builtin_flag_F77 \ |
|
16277 |
export_dynamic_flag_spec_F77 \ |
|
16278 |
thread_safe_flag_spec_F77 \ |
|
16279 |
whole_archive_flag_spec_F77 \ |
|
16280 |
enable_shared_with_static_runtimes_F77 \ |
|
16281 |
old_archive_cmds_F77 \ |
|
16282 |
old_archive_from_new_cmds_F77 \ |
|
16283 |
predep_objects_F77 \ |
|
16284 |
postdep_objects_F77 \ |
|
16285 |
predeps_F77 \ |
|
16286 |
postdeps_F77 \ |
|
16287 |
compiler_lib_search_path_F77 \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16288 |
compiler_lib_search_dirs_F77 \ |
1
by paul-mccullagh
Initial import |
16289 |
archive_cmds_F77 \ |
16290 |
archive_expsym_cmds_F77 \ |
|
16291 |
postinstall_cmds_F77 \ |
|
16292 |
postuninstall_cmds_F77 \ |
|
16293 |
old_archive_from_expsyms_cmds_F77 \ |
|
16294 |
allow_undefined_flag_F77 \ |
|
16295 |
no_undefined_flag_F77 \ |
|
16296 |
export_symbols_cmds_F77 \ |
|
16297 |
hardcode_libdir_flag_spec_F77 \ |
|
16298 |
hardcode_libdir_flag_spec_ld_F77 \ |
|
16299 |
hardcode_libdir_separator_F77 \ |
|
16300 |
hardcode_automatic_F77 \ |
|
16301 |
module_cmds_F77 \ |
|
16302 |
module_expsym_cmds_F77 \ |
|
16303 |
lt_cv_prog_compiler_c_o_F77 \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16304 |
fix_srcfile_path_F77 \ |
1
by paul-mccullagh
Initial import |
16305 |
exclude_expsyms_F77 \ |
16306 |
include_expsyms_F77; do |
|
16307 |
||
16308 |
case $var in |
|
16309 |
old_archive_cmds_F77 | \ |
|
16310 |
old_archive_from_new_cmds_F77 | \ |
|
16311 |
archive_cmds_F77 | \ |
|
16312 |
archive_expsym_cmds_F77 | \ |
|
16313 |
module_cmds_F77 | \ |
|
16314 |
module_expsym_cmds_F77 | \ |
|
16315 |
old_archive_from_expsyms_cmds_F77 | \ |
|
16316 |
export_symbols_cmds_F77 | \ |
|
16317 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
16318 |
postinstall_cmds | postuninstall_cmds | \ |
|
16319 |
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
16320 |
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
16321 |
# Double-quote double-evaled strings. |
|
16322 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
16323 |
;; |
|
16324 |
*) |
|
16325 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
16326 |
;; |
|
16327 |
esac |
|
16328 |
done |
|
16329 |
||
16330 |
case $lt_echo in |
|
16331 |
*'\$0 --fallback-echo"') |
|
16332 |
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
16333 |
;; |
|
16334 |
esac |
|
16335 |
||
16336 |
cfgfile="$ofile" |
|
16337 |
||
16338 |
cat <<__EOF__ >> "$cfgfile" |
|
16339 |
# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
16340 |
||
16341 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
16342 |
||
16343 |
# Shell to use when invoking shell scripts. |
|
16344 |
SHELL=$lt_SHELL |
|
16345 |
||
16346 |
# Whether or not to build shared libraries. |
|
16347 |
build_libtool_libs=$enable_shared |
|
16348 |
||
16349 |
# Whether or not to build static libraries. |
|
16350 |
build_old_libs=$enable_static |
|
16351 |
||
16352 |
# Whether or not to add -lc for building shared libraries. |
|
16353 |
build_libtool_need_lc=$archive_cmds_need_lc_F77 |
|
16354 |
||
16355 |
# Whether or not to disallow shared libs when runtime libs are static |
|
16356 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 |
|
16357 |
||
16358 |
# Whether or not to optimize for fast installation. |
|
16359 |
fast_install=$enable_fast_install |
|
16360 |
||
16361 |
# The host system. |
|
16362 |
host_alias=$host_alias |
|
16363 |
host=$host |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16364 |
host_os=$host_os |
16365 |
||
16366 |
# The build system. |
|
16367 |
build_alias=$build_alias |
|
16368 |
build=$build |
|
16369 |
build_os=$build_os |
|
1
by paul-mccullagh
Initial import |
16370 |
|
16371 |
# An echo program that does not interpret backslashes. |
|
16372 |
echo=$lt_echo |
|
16373 |
||
16374 |
# The archiver. |
|
16375 |
AR=$lt_AR |
|
16376 |
AR_FLAGS=$lt_AR_FLAGS |
|
16377 |
||
16378 |
# A C compiler. |
|
16379 |
LTCC=$lt_LTCC |
|
16380 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16381 |
# LTCC compiler flags. |
16382 |
LTCFLAGS=$lt_LTCFLAGS |
|
16383 |
||
1
by paul-mccullagh
Initial import |
16384 |
# A language-specific compiler. |
16385 |
CC=$lt_compiler_F77 |
|
16386 |
||
16387 |
# Is the compiler the GNU C compiler? |
|
16388 |
with_gcc=$GCC_F77 |
|
16389 |
||
16390 |
# An ERE matcher. |
|
16391 |
EGREP=$lt_EGREP |
|
16392 |
||
16393 |
# The linker used to build libraries. |
|
16394 |
LD=$lt_LD_F77 |
|
16395 |
||
16396 |
# Whether we need hard or soft links. |
|
16397 |
LN_S=$lt_LN_S |
|
16398 |
||
16399 |
# A BSD-compatible nm program. |
|
16400 |
NM=$lt_NM |
|
16401 |
||
16402 |
# A symbol stripping program |
|
16403 |
STRIP=$lt_STRIP |
|
16404 |
||
16405 |
# Used to examine libraries when file_magic_cmd begins "file" |
|
16406 |
MAGIC_CMD=$MAGIC_CMD |
|
16407 |
||
16408 |
# Used on cygwin: DLL creation program. |
|
16409 |
DLLTOOL="$DLLTOOL" |
|
16410 |
||
16411 |
# Used on cygwin: object dumper. |
|
16412 |
OBJDUMP="$OBJDUMP" |
|
16413 |
||
16414 |
# Used on cygwin: assembler. |
|
16415 |
AS="$AS" |
|
16416 |
||
16417 |
# The name of the directory that contains temporary libtool files. |
|
16418 |
objdir=$objdir |
|
16419 |
||
16420 |
# How to create reloadable object files. |
|
16421 |
reload_flag=$lt_reload_flag |
|
16422 |
reload_cmds=$lt_reload_cmds |
|
16423 |
||
16424 |
# How to pass a linker flag through the compiler. |
|
16425 |
wl=$lt_lt_prog_compiler_wl_F77 |
|
16426 |
||
16427 |
# Object file suffix (normally "o"). |
|
16428 |
objext="$ac_objext" |
|
16429 |
||
16430 |
# Old archive suffix (normally "a"). |
|
16431 |
libext="$libext" |
|
16432 |
||
16433 |
# Shared library suffix (normally ".so"). |
|
16434 |
shrext_cmds='$shrext_cmds' |
|
16435 |
||
16436 |
# Executable file suffix (normally ""). |
|
16437 |
exeext="$exeext" |
|
16438 |
||
16439 |
# Additional compiler flags for building library objects. |
|
16440 |
pic_flag=$lt_lt_prog_compiler_pic_F77 |
|
16441 |
pic_mode=$pic_mode |
|
16442 |
||
16443 |
# What is the maximum length of a command? |
|
16444 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
16445 |
||
16446 |
# Does compiler simultaneously support -c and -o options? |
|
16447 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
|
16448 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16449 |
# Must we lock files when doing compilation? |
1
by paul-mccullagh
Initial import |
16450 |
need_locks=$lt_need_locks |
16451 |
||
16452 |
# Do we need the lib prefix for modules? |
|
16453 |
need_lib_prefix=$need_lib_prefix |
|
16454 |
||
16455 |
# Do we need a version for libraries? |
|
16456 |
need_version=$need_version |
|
16457 |
||
16458 |
# Whether dlopen is supported. |
|
16459 |
dlopen_support=$enable_dlopen |
|
16460 |
||
16461 |
# Whether dlopen of programs is supported. |
|
16462 |
dlopen_self=$enable_dlopen_self |
|
16463 |
||
16464 |
# Whether dlopen of statically linked programs is supported. |
|
16465 |
dlopen_self_static=$enable_dlopen_self_static |
|
16466 |
||
16467 |
# Compiler flag to prevent dynamic linking. |
|
16468 |
link_static_flag=$lt_lt_prog_compiler_static_F77 |
|
16469 |
||
16470 |
# Compiler flag to turn off builtin functions. |
|
16471 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 |
|
16472 |
||
16473 |
# Compiler flag to allow reflexive dlopens. |
|
16474 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 |
|
16475 |
||
16476 |
# Compiler flag to generate shared objects directly from archives. |
|
16477 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 |
|
16478 |
||
16479 |
# Compiler flag to generate thread-safe objects. |
|
16480 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 |
|
16481 |
||
16482 |
# Library versioning type. |
|
16483 |
version_type=$version_type |
|
16484 |
||
16485 |
# Format of library name prefix. |
|
16486 |
libname_spec=$lt_libname_spec |
|
16487 |
||
16488 |
# List of archive names. First name is the real one, the rest are links. |
|
16489 |
# The last name is the one that the linker finds with -lNAME. |
|
16490 |
library_names_spec=$lt_library_names_spec |
|
16491 |
||
16492 |
# The coded name of the library, if different from the real name. |
|
16493 |
soname_spec=$lt_soname_spec |
|
16494 |
||
16495 |
# Commands used to build and install an old-style archive. |
|
16496 |
RANLIB=$lt_RANLIB |
|
16497 |
old_archive_cmds=$lt_old_archive_cmds_F77 |
|
16498 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
16499 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
16500 |
||
16501 |
# Create an old-style archive from a shared archive. |
|
16502 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 |
|
16503 |
||
16504 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
16505 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 |
|
16506 |
||
16507 |
# Commands used to build and install a shared archive. |
|
16508 |
archive_cmds=$lt_archive_cmds_F77 |
|
16509 |
archive_expsym_cmds=$lt_archive_expsym_cmds_F77 |
|
16510 |
postinstall_cmds=$lt_postinstall_cmds |
|
16511 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
16512 |
||
16513 |
# Commands used to build a loadable module (assumed same as above if empty) |
|
16514 |
module_cmds=$lt_module_cmds_F77 |
|
16515 |
module_expsym_cmds=$lt_module_expsym_cmds_F77 |
|
16516 |
||
16517 |
# Commands to strip libraries. |
|
16518 |
old_striplib=$lt_old_striplib |
|
16519 |
striplib=$lt_striplib |
|
16520 |
||
16521 |
# Dependencies to place before the objects being linked to create a |
|
16522 |
# shared library. |
|
16523 |
predep_objects=$lt_predep_objects_F77 |
|
16524 |
||
16525 |
# Dependencies to place after the objects being linked to create a |
|
16526 |
# shared library. |
|
16527 |
postdep_objects=$lt_postdep_objects_F77 |
|
16528 |
||
16529 |
# Dependencies to place before the objects being linked to create a |
|
16530 |
# shared library. |
|
16531 |
predeps=$lt_predeps_F77 |
|
16532 |
||
16533 |
# Dependencies to place after the objects being linked to create a |
|
16534 |
# shared library. |
|
16535 |
postdeps=$lt_postdeps_F77 |
|
16536 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16537 |
# The directories searched by this compiler when creating a shared |
16538 |
# library |
|
16539 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 |
|
16540 |
||
1
by paul-mccullagh
Initial import |
16541 |
# The library search path used internally by the compiler when linking |
16542 |
# a shared library. |
|
16543 |
compiler_lib_search_path=$lt_compiler_lib_search_path_F77 |
|
16544 |
||
16545 |
# Method to check whether dependent libraries are shared objects. |
|
16546 |
deplibs_check_method=$lt_deplibs_check_method |
|
16547 |
||
16548 |
# Command to use when deplibs_check_method == file_magic. |
|
16549 |
file_magic_cmd=$lt_file_magic_cmd |
|
16550 |
||
16551 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
16552 |
allow_undefined_flag=$lt_allow_undefined_flag_F77 |
|
16553 |
||
16554 |
# Flag that forces no undefined symbols. |
|
16555 |
no_undefined_flag=$lt_no_undefined_flag_F77 |
|
16556 |
||
16557 |
# Commands used to finish a libtool library installation in a directory. |
|
16558 |
finish_cmds=$lt_finish_cmds |
|
16559 |
||
16560 |
# Same as above, but a single script fragment to be evaled but not shown. |
|
16561 |
finish_eval=$lt_finish_eval |
|
16562 |
||
16563 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
16564 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
16565 |
||
16566 |
# Transform the output of nm in a proper C declaration |
|
16567 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
16568 |
||
16569 |
# Transform the output of nm in a C name address pair |
|
16570 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
16571 |
||
16572 |
# This is the shared library runtime path variable. |
|
16573 |
runpath_var=$runpath_var |
|
16574 |
||
16575 |
# This is the shared library path variable. |
|
16576 |
shlibpath_var=$shlibpath_var |
|
16577 |
||
16578 |
# Is shlibpath searched before the hard-coded library search path? |
|
16579 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
16580 |
||
16581 |
# How to hardcode a shared library path into an executable. |
|
16582 |
hardcode_action=$hardcode_action_F77 |
|
16583 |
||
16584 |
# Whether we should hardcode library paths into libraries. |
|
16585 |
hardcode_into_libs=$hardcode_into_libs |
|
16586 |
||
16587 |
# Flag to hardcode \$libdir into a binary during linking. |
|
16588 |
# This must work even if \$libdir does not exist. |
|
16589 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 |
|
16590 |
||
16591 |
# If ld is used when linking, flag to hardcode \$libdir into |
|
16592 |
# a binary during linking. This must work even if \$libdir does |
|
16593 |
# not exist. |
|
16594 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 |
|
16595 |
||
16596 |
# Whether we need a single -rpath flag with a separated argument. |
|
16597 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 |
|
16598 |
||
16599 |
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
16600 |
# resulting binary. |
|
16601 |
hardcode_direct=$hardcode_direct_F77 |
|
16602 |
||
16603 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
16604 |
# resulting binary. |
|
16605 |
hardcode_minus_L=$hardcode_minus_L_F77 |
|
16606 |
||
16607 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
16608 |
# the resulting binary. |
|
16609 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 |
|
16610 |
||
16611 |
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
16612 |
# and all subsequent libraries and executables linked against it. |
|
16613 |
hardcode_automatic=$hardcode_automatic_F77 |
|
16614 |
||
16615 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
16616 |
# restored at relink time. |
|
16617 |
variables_saved_for_relink="$variables_saved_for_relink" |
|
16618 |
||
16619 |
# Whether libtool must link a program against all its dependency libraries. |
|
16620 |
link_all_deplibs=$link_all_deplibs_F77 |
|
16621 |
||
16622 |
# Compile-time system search path for libraries |
|
16623 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
16624 |
||
16625 |
# Run-time system search path for libraries |
|
16626 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
16627 |
||
16628 |
# Fix the shell variable \$srcfile for the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16629 |
fix_srcfile_path=$lt_fix_srcfile_path |
1
by paul-mccullagh
Initial import |
16630 |
|
16631 |
# Set to yes if exported symbols are required. |
|
16632 |
always_export_symbols=$always_export_symbols_F77 |
|
16633 |
||
16634 |
# The commands to list exported symbols. |
|
16635 |
export_symbols_cmds=$lt_export_symbols_cmds_F77 |
|
16636 |
||
16637 |
# The commands to extract the exported symbol list from a shared archive. |
|
16638 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
16639 |
||
16640 |
# Symbols that should not be listed in the preloaded symbols. |
|
16641 |
exclude_expsyms=$lt_exclude_expsyms_F77 |
|
16642 |
||
16643 |
# Symbols that must always be exported. |
|
16644 |
include_expsyms=$lt_include_expsyms_F77 |
|
16645 |
||
16646 |
# ### END LIBTOOL TAG CONFIG: $tagname |
|
16647 |
||
16648 |
__EOF__ |
|
16649 |
||
16650 |
||
16651 |
else |
|
16652 |
# If there is no Makefile yet, we rely on a make rule to execute |
|
16653 |
# `config.status --recheck' to rerun these tests and create the |
|
16654 |
# libtool script then. |
|
16655 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
16656 |
if test -f "$ltmain_in"; then |
|
16657 |
test -f Makefile && make "$ltmain" |
|
16658 |
fi |
|
16659 |
fi |
|
16660 |
||
16661 |
||
16662 |
ac_ext=c |
|
16663 |
ac_cpp='$CPP $CPPFLAGS' |
|
16664 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
16665 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
16666 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
16667 |
||
16668 |
CC="$lt_save_CC" |
|
16669 |
||
16670 |
else |
|
16671 |
tagname="" |
|
16672 |
fi |
|
16673 |
;; |
|
16674 |
||
16675 |
GCJ) |
|
16676 |
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
|
16677 |
||
16678 |
||
16679 |
# Source file extension for Java test sources. |
|
16680 |
ac_ext=java |
|
16681 |
||
16682 |
# Object file extension for compiled Java test sources. |
|
16683 |
objext=o |
|
16684 |
objext_GCJ=$objext |
|
16685 |
||
16686 |
# Code to be used in simple compile tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16687 |
lt_simple_compile_test_code="class foo {}" |
1
by paul-mccullagh
Initial import |
16688 |
|
16689 |
# Code to be used in simple link tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16690 |
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' |
1
by paul-mccullagh
Initial import |
16691 |
|
16692 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
16693 |
||
16694 |
# If no C compiler was specified, use CC. |
|
16695 |
LTCC=${LTCC-"$CC"} |
|
16696 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16697 |
# If no C compiler flags were specified, use CFLAGS. |
16698 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
16699 |
||
1
by paul-mccullagh
Initial import |
16700 |
# Allow CC to be a program name with arguments. |
16701 |
compiler=$CC |
|
16702 |
||
16703 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16704 |
# save warnings/boilerplate of simple test code |
16705 |
ac_outfile=conftest.$ac_objext |
|
16706 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
16707 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
16708 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
16709 |
$rm conftest* |
|
16710 |
||
16711 |
ac_outfile=conftest.$ac_objext |
|
16712 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
16713 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
16714 |
_lt_linker_boilerplate=`cat conftest.err` |
|
16715 |
$rm -r conftest* |
|
16716 |
||
16717 |
||
1
by paul-mccullagh
Initial import |
16718 |
# Allow CC to be a program name with arguments. |
16719 |
lt_save_CC="$CC" |
|
16720 |
CC=${GCJ-"gcj"} |
|
16721 |
compiler=$CC |
|
16722 |
compiler_GCJ=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16723 |
for cc_temp in $compiler""; do |
16724 |
case $cc_temp in |
|
16725 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
16726 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
16727 |
\-*) ;; |
|
16728 |
*) break;; |
|
16729 |
esac |
|
16730 |
done |
|
16731 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
16732 |
||
1
by paul-mccullagh
Initial import |
16733 |
|
16734 |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
|
16735 |
archive_cmds_need_lc_GCJ=no |
|
16736 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16737 |
old_archive_cmds_GCJ=$old_archive_cmds |
16738 |
||
1
by paul-mccullagh
Initial import |
16739 |
|
16740 |
lt_prog_compiler_no_builtin_flag_GCJ= |
|
16741 |
||
16742 |
if test "$GCC" = yes; then |
|
16743 |
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
|
16744 |
||
16745 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16746 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
16747 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
1
by paul-mccullagh
Initial import |
16748 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16749 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
16750 |
else |
16751 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
16752 |
ac_outfile=conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16753 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
16754 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
16755 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
16756 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
16757 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
16758 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
16759 |
# The option is referenced via a variable to avoid confusing sed. |
|
16760 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16761 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
16762 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16763 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
16764 |
(eval echo "\"\$as_me:16764: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
16765 |
(eval "$lt_compile" 2>conftest.err) |
16766 |
ac_status=$? |
|
16767 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
16768 |
echo "$as_me:16768: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
16769 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16770 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16771 |
# So say no if there are warnings other than the usual output. |
16772 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
16773 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
16774 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
16775 |
lt_cv_prog_compiler_rtti_exceptions=yes |
16776 |
fi |
|
16777 |
fi |
|
16778 |
$rm conftest* |
|
16779 |
||
16780 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16781 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
16782 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
1
by paul-mccullagh
Initial import |
16783 |
|
16784 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
16785 |
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
|
16786 |
else |
|
16787 |
: |
|
16788 |
fi |
|
16789 |
||
16790 |
fi |
|
16791 |
||
16792 |
lt_prog_compiler_wl_GCJ= |
|
16793 |
lt_prog_compiler_pic_GCJ= |
|
16794 |
lt_prog_compiler_static_GCJ= |
|
16795 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16796 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
16797 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1
by paul-mccullagh
Initial import |
16798 |
|
16799 |
if test "$GCC" = yes; then |
|
16800 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16801 |
lt_prog_compiler_static_GCJ='-static' |
|
16802 |
||
16803 |
case $host_os in |
|
16804 |
aix*) |
|
16805 |
# All AIX code is PIC. |
|
16806 |
if test "$host_cpu" = ia64; then |
|
16807 |
# AIX 5 now supports IA64 processor |
|
16808 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16809 |
fi |
|
16810 |
;; |
|
16811 |
||
16812 |
amigaos*) |
|
16813 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
16814 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
16815 |
# like `-m68040'. |
|
16816 |
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' |
|
16817 |
;; |
|
16818 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16819 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1
by paul-mccullagh
Initial import |
16820 |
# PIC is the default for these OSes. |
16821 |
;; |
|
16822 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16823 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
16824 |
# This hack is so that the source file can tell whether it is being |
16825 |
# built for inclusion in a dll (and should export symbols for example). |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16826 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
16827 |
# (--disable-auto-import) libraries |
|
16828 |
||
1
by paul-mccullagh
Initial import |
16829 |
;; |
16830 |
||
16831 |
darwin* | rhapsody*) |
|
16832 |
# PIC is the default on this platform |
|
16833 |
# Common symbols not allowed in MH_DYLIB files |
|
16834 |
lt_prog_compiler_pic_GCJ='-fno-common' |
|
16835 |
;; |
|
16836 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16837 |
interix[3-9]*) |
16838 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
16839 |
# Instead, we relocate shared libraries at runtime. |
|
16840 |
;; |
|
16841 |
||
1
by paul-mccullagh
Initial import |
16842 |
msdosdjgpp*) |
16843 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
16844 |
# on systems that don't support them. |
|
16845 |
lt_prog_compiler_can_build_shared_GCJ=no |
|
16846 |
enable_shared=no |
|
16847 |
;; |
|
16848 |
||
16849 |
sysv4*MP*) |
|
16850 |
if test -d /usr/nec; then |
|
16851 |
lt_prog_compiler_pic_GCJ=-Kconform_pic |
|
16852 |
fi |
|
16853 |
;; |
|
16854 |
||
16855 |
hpux*) |
|
16856 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
16857 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16858 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
16859 |
hppa*64*|ia64*) |
16860 |
# +Z the default |
|
16861 |
;; |
|
16862 |
*) |
|
16863 |
lt_prog_compiler_pic_GCJ='-fPIC' |
|
16864 |
;; |
|
16865 |
esac |
|
16866 |
;; |
|
16867 |
||
16868 |
*) |
|
16869 |
lt_prog_compiler_pic_GCJ='-fPIC' |
|
16870 |
;; |
|
16871 |
esac |
|
16872 |
else |
|
16873 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
16874 |
case $host_os in |
|
16875 |
aix*) |
|
16876 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16877 |
if test "$host_cpu" = ia64; then |
|
16878 |
# AIX 5 now supports IA64 processor |
|
16879 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16880 |
else |
|
16881 |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
|
16882 |
fi |
|
16883 |
;; |
|
16884 |
darwin*) |
|
16885 |
# PIC is the default on this platform |
|
16886 |
# Common symbols not allowed in MH_DYLIB files |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16887 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
16888 |
xlc*) |
16889 |
lt_prog_compiler_pic_GCJ='-qnocommon' |
|
16890 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16891 |
;; |
|
16892 |
esac |
|
16893 |
;; |
|
16894 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16895 |
mingw* | cygwin* | pw32* | os2*) |
1
by paul-mccullagh
Initial import |
16896 |
# This hack is so that the source file can tell whether it is being |
16897 |
# built for inclusion in a dll (and should export symbols for example). |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16898 |
|
1
by paul-mccullagh
Initial import |
16899 |
;; |
16900 |
||
16901 |
hpux9* | hpux10* | hpux11*) |
|
16902 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16903 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
16904 |
# not for PA HP-UX. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16905 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
16906 |
hppa*64*|ia64*) |
16907 |
# +Z the default |
|
16908 |
;; |
|
16909 |
*) |
|
16910 |
lt_prog_compiler_pic_GCJ='+Z' |
|
16911 |
;; |
|
16912 |
esac |
|
16913 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
16914 |
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' |
|
16915 |
;; |
|
16916 |
||
16917 |
irix5* | irix6* | nonstopux*) |
|
16918 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16919 |
# PIC (with -KPIC) is the default. |
|
16920 |
lt_prog_compiler_static_GCJ='-non_shared' |
|
16921 |
;; |
|
16922 |
||
16923 |
newsos6) |
|
16924 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16925 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16926 |
;; |
|
16927 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16928 |
linux* | k*bsd*-gnu) |
16929 |
case $cc_basename in |
|
1
by paul-mccullagh
Initial import |
16930 |
icc* | ecc*) |
16931 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16932 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16933 |
lt_prog_compiler_static_GCJ='-static' |
|
16934 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16935 |
pgcc* | pgf77* | pgf90* | pgf95*) |
16936 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
16937 |
# which looks to be a dead project) |
|
16938 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16939 |
lt_prog_compiler_pic_GCJ='-fpic' |
|
16940 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16941 |
;; |
|
1
by paul-mccullagh
Initial import |
16942 |
ccc*) |
16943 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16944 |
# All Alpha code is PIC. |
|
16945 |
lt_prog_compiler_static_GCJ='-non_shared' |
|
16946 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16947 |
*) |
16948 |
case `$CC -V 2>&1 | sed 5q` in |
|
16949 |
*Sun\ C*) |
|
16950 |
# Sun C 5.9 |
|
16951 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16952 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16953 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16954 |
;; |
|
16955 |
*Sun\ F*) |
|
16956 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
16957 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16958 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16959 |
lt_prog_compiler_wl_GCJ='' |
|
16960 |
;; |
|
16961 |
esac |
|
16962 |
;; |
|
1
by paul-mccullagh
Initial import |
16963 |
esac |
16964 |
;; |
|
16965 |
||
16966 |
osf3* | osf4* | osf5*) |
|
16967 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16968 |
# All OSF/1 code is PIC. |
|
16969 |
lt_prog_compiler_static_GCJ='-non_shared' |
|
16970 |
;; |
|
16971 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16972 |
rdos*) |
16973 |
lt_prog_compiler_static_GCJ='-non_shared' |
|
1
by paul-mccullagh
Initial import |
16974 |
;; |
16975 |
||
16976 |
solaris*) |
|
16977 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16978 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16979 |
case $cc_basename in |
16980 |
f77* | f90* | f95*) |
|
16981 |
lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
|
16982 |
*) |
|
16983 |
lt_prog_compiler_wl_GCJ='-Wl,';; |
|
16984 |
esac |
|
1
by paul-mccullagh
Initial import |
16985 |
;; |
16986 |
||
16987 |
sunos4*) |
|
16988 |
lt_prog_compiler_wl_GCJ='-Qoption ld ' |
|
16989 |
lt_prog_compiler_pic_GCJ='-PIC' |
|
16990 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16991 |
;; |
|
16992 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
16993 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
1
by paul-mccullagh
Initial import |
16994 |
lt_prog_compiler_wl_GCJ='-Wl,' |
16995 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
16996 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
16997 |
;; |
|
16998 |
||
16999 |
sysv4*MP*) |
|
17000 |
if test -d /usr/nec ;then |
|
17001 |
lt_prog_compiler_pic_GCJ='-Kconform_pic' |
|
17002 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
17003 |
fi |
|
17004 |
;; |
|
17005 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17006 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
17007 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
17008 |
lt_prog_compiler_pic_GCJ='-KPIC' |
|
17009 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
17010 |
;; |
|
17011 |
||
17012 |
unicos*) |
|
17013 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
17014 |
lt_prog_compiler_can_build_shared_GCJ=no |
|
17015 |
;; |
|
17016 |
||
1
by paul-mccullagh
Initial import |
17017 |
uts4*) |
17018 |
lt_prog_compiler_pic_GCJ='-pic' |
|
17019 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
17020 |
;; |
|
17021 |
||
17022 |
*) |
|
17023 |
lt_prog_compiler_can_build_shared_GCJ=no |
|
17024 |
;; |
|
17025 |
esac |
|
17026 |
fi |
|
17027 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17028 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
17029 |
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
17030 |
|
17031 |
# |
|
17032 |
# Check to make sure the PIC flag actually works. |
|
17033 |
# |
|
17034 |
if test -n "$lt_prog_compiler_pic_GCJ"; then |
|
17035 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17036 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
17037 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; } |
|
17038 |
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then |
|
17039 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
17040 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17041 |
lt_cv_prog_compiler_pic_works_GCJ=no |
1
by paul-mccullagh
Initial import |
17042 |
ac_outfile=conftest.$ac_objext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17043 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
17044 |
lt_compiler_flag="$lt_prog_compiler_pic_GCJ" |
17045 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
17046 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
17047 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
17048 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
17049 |
# The option is referenced via a variable to avoid confusing sed. |
|
17050 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17051 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
17052 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17053 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
17054 |
(eval echo "\"\$as_me:17054: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
17055 |
(eval "$lt_compile" 2>conftest.err) |
17056 |
ac_status=$? |
|
17057 |
cat conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
17058 |
echo "$as_me:17058: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
17059 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
17060 |
# The compiler can only warn and ignore the option if not recognized |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17061 |
# So say no if there are warnings other than the usual output. |
17062 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
17063 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
17064 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
17065 |
lt_cv_prog_compiler_pic_works_GCJ=yes |
|
1
by paul-mccullagh
Initial import |
17066 |
fi |
17067 |
fi |
|
17068 |
$rm conftest* |
|
17069 |
||
17070 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17071 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 |
17072 |
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
17073 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17074 |
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then |
1
by paul-mccullagh
Initial import |
17075 |
case $lt_prog_compiler_pic_GCJ in |
17076 |
"" | " "*) ;; |
|
17077 |
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
|
17078 |
esac |
|
17079 |
else |
|
17080 |
lt_prog_compiler_pic_GCJ= |
|
17081 |
lt_prog_compiler_can_build_shared_GCJ=no |
|
17082 |
fi |
|
17083 |
||
17084 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17085 |
case $host_os in |
1
by paul-mccullagh
Initial import |
17086 |
# For platforms which do not support PIC, -DPIC is meaningless: |
17087 |
*djgpp*) |
|
17088 |
lt_prog_compiler_pic_GCJ= |
|
17089 |
;; |
|
17090 |
*) |
|
17091 |
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
|
17092 |
;; |
|
17093 |
esac |
|
17094 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17095 |
# |
17096 |
# Check to make sure the static flag actually works. |
|
17097 |
# |
|
17098 |
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" |
|
17099 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
17100 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
17101 |
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then |
|
17102 |
$as_echo_n "(cached) " >&6 |
|
17103 |
else |
|
17104 |
lt_cv_prog_compiler_static_works_GCJ=no |
|
17105 |
save_LDFLAGS="$LDFLAGS" |
|
17106 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
17107 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
17108 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
17109 |
# The linker can only warn and ignore the option if not recognized |
|
17110 |
# So say no if there are warnings |
|
17111 |
if test -s conftest.err; then |
|
17112 |
# Append any errors to the config.log. |
|
17113 |
cat conftest.err 1>&5 |
|
17114 |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
17115 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
17116 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
17117 |
lt_cv_prog_compiler_static_works_GCJ=yes |
|
17118 |
fi |
|
17119 |
else |
|
17120 |
lt_cv_prog_compiler_static_works_GCJ=yes |
|
17121 |
fi |
|
17122 |
fi |
|
17123 |
$rm -r conftest* |
|
17124 |
LDFLAGS="$save_LDFLAGS" |
|
17125 |
||
17126 |
fi |
|
17127 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 |
|
17128 |
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; } |
|
17129 |
||
17130 |
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then |
|
17131 |
: |
|
17132 |
else |
|
17133 |
lt_prog_compiler_static_GCJ= |
|
17134 |
fi |
|
17135 |
||
17136 |
||
17137 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
17138 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
1
by paul-mccullagh
Initial import |
17139 |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17140 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
17141 |
else |
17142 |
lt_cv_prog_compiler_c_o_GCJ=no |
|
17143 |
$rm -r conftest 2>/dev/null |
|
17144 |
mkdir conftest |
|
17145 |
cd conftest |
|
17146 |
mkdir out |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17147 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
17148 |
|
17149 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
17150 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
17151 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
17152 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
17153 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
17154 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17155 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1
by paul-mccullagh
Initial import |
17156 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17157 |
-e 's:$: $lt_compiler_flag:'` |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
17158 |
(eval echo "\"\$as_me:17158: $lt_compile\"" >&5) |
1
by paul-mccullagh
Initial import |
17159 |
(eval "$lt_compile" 2>out/conftest.err) |
17160 |
ac_status=$? |
|
17161 |
cat out/conftest.err >&5 |
|
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
17162 |
echo "$as_me:17162: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
17163 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
17164 |
then |
|
17165 |
# The compiler can only warn and ignore the option if not recognized |
|
17166 |
# So say no if there are warnings |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17167 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
17168 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
17169 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
1
by paul-mccullagh
Initial import |
17170 |
lt_cv_prog_compiler_c_o_GCJ=yes |
17171 |
fi |
|
17172 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17173 |
chmod u+w . 2>&5 |
1
by paul-mccullagh
Initial import |
17174 |
$rm conftest* |
17175 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
17176 |
# template instantiation |
|
17177 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
17178 |
$rm out/* && rmdir out |
|
17179 |
cd .. |
|
17180 |
rmdir conftest |
|
17181 |
$rm conftest* |
|
17182 |
||
17183 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17184 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
17185 |
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
17186 |
|
17187 |
||
17188 |
hard_links="nottested" |
|
17189 |
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
|
17190 |
# do not overwrite the value of need_locks provided by the user |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17191 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
17192 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1
by paul-mccullagh
Initial import |
17193 |
hard_links=yes |
17194 |
$rm conftest* |
|
17195 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
17196 |
touch conftest.a |
|
17197 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
17198 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17199 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
17200 |
$as_echo "$hard_links" >&6; } |
|
1
by paul-mccullagh
Initial import |
17201 |
if test "$hard_links" = no; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17202 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
17203 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1
by paul-mccullagh
Initial import |
17204 |
need_locks=warn |
17205 |
fi |
|
17206 |
else |
|
17207 |
need_locks=no |
|
17208 |
fi |
|
17209 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17210 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
17211 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by paul-mccullagh
Initial import |
17212 |
|
17213 |
runpath_var= |
|
17214 |
allow_undefined_flag_GCJ= |
|
17215 |
enable_shared_with_static_runtimes_GCJ=no |
|
17216 |
archive_cmds_GCJ= |
|
17217 |
archive_expsym_cmds_GCJ= |
|
17218 |
old_archive_From_new_cmds_GCJ= |
|
17219 |
old_archive_from_expsyms_cmds_GCJ= |
|
17220 |
export_dynamic_flag_spec_GCJ= |
|
17221 |
whole_archive_flag_spec_GCJ= |
|
17222 |
thread_safe_flag_spec_GCJ= |
|
17223 |
hardcode_libdir_flag_spec_GCJ= |
|
17224 |
hardcode_libdir_flag_spec_ld_GCJ= |
|
17225 |
hardcode_libdir_separator_GCJ= |
|
17226 |
hardcode_direct_GCJ=no |
|
17227 |
hardcode_minus_L_GCJ=no |
|
17228 |
hardcode_shlibpath_var_GCJ=unsupported |
|
17229 |
link_all_deplibs_GCJ=unknown |
|
17230 |
hardcode_automatic_GCJ=no |
|
17231 |
module_cmds_GCJ= |
|
17232 |
module_expsym_cmds_GCJ= |
|
17233 |
always_export_symbols_GCJ=no |
|
17234 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
17235 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
17236 |
# included in the symbol list |
|
17237 |
include_expsyms_GCJ= |
|
17238 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
17239 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
17240 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
17241 |
# as well as any symbol that contains `d'. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17242 |
exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1
by paul-mccullagh
Initial import |
17243 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
17244 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
17245 |
# the symbol is explicitly referenced. Since portable code cannot |
|
17246 |
# rely on this symbol name, it's probably fine to never include it in |
|
17247 |
# preloaded symbol tables. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17248 |
# Exclude shared library initialization/finalization symbols. |
1
by paul-mccullagh
Initial import |
17249 |
extract_expsyms_cmds= |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17250 |
# Just being paranoid about ensuring that cc_basename is set. |
17251 |
for cc_temp in $compiler""; do |
|
17252 |
case $cc_temp in |
|
17253 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
17254 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
17255 |
\-*) ;; |
|
17256 |
*) break;; |
|
17257 |
esac |
|
17258 |
done |
|
17259 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
1
by paul-mccullagh
Initial import |
17260 |
|
17261 |
case $host_os in |
|
17262 |
cygwin* | mingw* | pw32*) |
|
17263 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
17264 |
# When not using gcc, we currently assume that we are using |
|
17265 |
# Microsoft Visual C++. |
|
17266 |
if test "$GCC" != yes; then |
|
17267 |
with_gnu_ld=no |
|
17268 |
fi |
|
17269 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17270 |
interix*) |
17271 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
17272 |
with_gnu_ld=yes |
|
17273 |
;; |
|
1
by paul-mccullagh
Initial import |
17274 |
openbsd*) |
17275 |
with_gnu_ld=no |
|
17276 |
;; |
|
17277 |
esac |
|
17278 |
||
17279 |
ld_shlibs_GCJ=yes |
|
17280 |
if test "$with_gnu_ld" = yes; then |
|
17281 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
17282 |
wlarc='${wl}' |
|
17283 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17284 |
# Set some defaults for GNU ld with shared library support. These |
17285 |
# are reset later if shared libraries are not supported. Putting them |
|
17286 |
# here allows them to be overridden if necessary. |
|
17287 |
runpath_var=LD_RUN_PATH |
|
17288 |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
|
17289 |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
|
17290 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
17291 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
17292 |
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
17293 |
else |
|
17294 |
whole_archive_flag_spec_GCJ= |
|
17295 |
fi |
|
17296 |
supports_anon_versioning=no |
|
17297 |
case `$LD -v 2>/dev/null` in |
|
17298 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
17299 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
17300 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
17301 |
*\ 2.11.*) ;; # other 2.11 versions |
|
17302 |
*) supports_anon_versioning=yes ;; |
|
17303 |
esac |
|
17304 |
||
1
by paul-mccullagh
Initial import |
17305 |
# See if GNU ld supports shared libraries. |
17306 |
case $host_os in |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17307 |
aix[3-9]*) |
1
by paul-mccullagh
Initial import |
17308 |
# On AIX/PPC, the GNU linker is very broken |
17309 |
if test "$host_cpu" != ia64; then |
|
17310 |
ld_shlibs_GCJ=no |
|
17311 |
cat <<EOF 1>&2 |
|
17312 |
||
17313 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
17314 |
*** to be unable to reliably create shared libraries on AIX. |
|
17315 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
17316 |
*** really care for shared libraries, you may want to modify your PATH |
|
17317 |
*** so that a non-GNU linker is found, and then restart. |
|
17318 |
||
17319 |
EOF |
|
17320 |
fi |
|
17321 |
;; |
|
17322 |
||
17323 |
amigaos*) |
|
17324 |
archive_cmds_GCJ='$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)' |
|
17325 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17326 |
hardcode_minus_L_GCJ=yes |
|
17327 |
||
17328 |
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
17329 |
# that the semantics of dynamic libraries on AmigaOS, at least up |
|
17330 |
# to version 4, is to share data among multiple programs linked |
|
17331 |
# with the same dynamic library. Since this doesn't match the |
|
17332 |
# behavior of shared libraries on other platforms, we can't use |
|
17333 |
# them. |
|
17334 |
ld_shlibs_GCJ=no |
|
17335 |
;; |
|
17336 |
||
17337 |
beos*) |
|
17338 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17339 |
allow_undefined_flag_GCJ=unsupported |
|
17340 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
17341 |
# support --undefined. This deserves some investigation. FIXME |
|
17342 |
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17343 |
else |
|
17344 |
ld_shlibs_GCJ=no |
|
17345 |
fi |
|
17346 |
;; |
|
17347 |
||
17348 |
cygwin* | mingw* | pw32*) |
|
17349 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, |
|
17350 |
# as there is no search path for DLLs. |
|
17351 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17352 |
allow_undefined_flag_GCJ=unsupported |
|
17353 |
always_export_symbols_GCJ=no |
|
17354 |
enable_shared_with_static_runtimes_GCJ=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17355 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1
by paul-mccullagh
Initial import |
17356 |
|
17357 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17358 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1
by paul-mccullagh
Initial import |
17359 |
# If the export-symbols file already is a .def file (1st line |
17360 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
17361 |
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
17362 |
cp $export_symbols $output_objdir/$soname.def; |
|
17363 |
else |
|
17364 |
echo EXPORTS > $output_objdir/$soname.def; |
|
17365 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
17366 |
fi~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17367 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
17368 |
else |
|
17369 |
ld_shlibs_GCJ=no |
|
17370 |
fi |
|
17371 |
;; |
|
17372 |
||
17373 |
interix[3-9]*) |
|
17374 |
hardcode_direct_GCJ=no |
|
17375 |
hardcode_shlibpath_var_GCJ=no |
|
17376 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17377 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17378 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
17379 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
17380 |
# default) and relocated if they conflict, which is a slow very memory |
|
17381 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
17382 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
17383 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
17384 |
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
17385 |
archive_expsym_cmds_GCJ='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' |
|
17386 |
;; |
|
17387 |
||
17388 |
gnu* | linux* | k*bsd*-gnu) |
|
17389 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17390 |
tmp_addflag= |
|
17391 |
case $cc_basename,$host_cpu in |
|
17392 |
pgcc*) # Portland Group C compiler |
|
17393 |
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
17394 |
tmp_addflag=' $pic_flag' |
|
17395 |
;; |
|
17396 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
17397 |
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
17398 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
17399 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
17400 |
tmp_addflag=' -i_dynamic' ;; |
|
17401 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
17402 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
17403 |
ifc* | ifort*) # Intel Fortran compiler |
|
17404 |
tmp_addflag=' -nofor_main' ;; |
|
17405 |
esac |
|
17406 |
case `$CC -V 2>&1 | sed 5q` in |
|
17407 |
*Sun\ C*) # Sun C 5.9 |
|
17408 |
whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
17409 |
tmp_sharedflag='-G' ;; |
|
17410 |
*Sun\ F*) # Sun Fortran 8.3 |
|
17411 |
tmp_sharedflag='-G' ;; |
|
17412 |
*) |
|
17413 |
tmp_sharedflag='-shared' ;; |
|
17414 |
esac |
|
17415 |
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17416 |
||
17417 |
if test $supports_anon_versioning = yes; then |
|
17418 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
17419 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
17420 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
17421 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
17422 |
fi |
|
17423 |
else |
|
17424 |
ld_shlibs_GCJ=no |
|
1
by paul-mccullagh
Initial import |
17425 |
fi |
17426 |
;; |
|
17427 |
||
17428 |
netbsd*) |
|
17429 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
17430 |
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
17431 |
wlarc= |
|
17432 |
else |
|
17433 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17434 |
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17435 |
fi |
|
17436 |
;; |
|
17437 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17438 |
solaris*) |
1
by paul-mccullagh
Initial import |
17439 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
17440 |
ld_shlibs_GCJ=no |
|
17441 |
cat <<EOF 1>&2 |
|
17442 |
||
17443 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
17444 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
17445 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
17446 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
17447 |
*** your PATH or compiler configuration so that the native linker is |
|
17448 |
*** used, and then restart. |
|
17449 |
||
17450 |
EOF |
|
17451 |
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17452 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17453 |
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17454 |
else |
|
17455 |
ld_shlibs_GCJ=no |
|
17456 |
fi |
|
17457 |
;; |
|
17458 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17459 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
17460 |
case `$LD -v 2>&1` in |
|
17461 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
17462 |
ld_shlibs_GCJ=no |
|
17463 |
cat <<_LT_EOF 1>&2 |
|
17464 |
||
17465 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
17466 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
17467 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
17468 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
17469 |
*** your PATH or compiler configuration so that the native linker is |
|
17470 |
*** used, and then restart. |
|
17471 |
||
17472 |
_LT_EOF |
|
17473 |
;; |
|
17474 |
*) |
|
17475 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17476 |
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
17477 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
17478 |
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
17479 |
else |
|
17480 |
ld_shlibs_GCJ=no |
|
17481 |
fi |
|
17482 |
;; |
|
17483 |
esac |
|
17484 |
;; |
|
17485 |
||
1
by paul-mccullagh
Initial import |
17486 |
sunos4*) |
17487 |
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17488 |
wlarc= |
|
17489 |
hardcode_direct_GCJ=yes |
|
17490 |
hardcode_shlibpath_var_GCJ=no |
|
17491 |
;; |
|
17492 |
||
17493 |
*) |
|
17494 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17495 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17496 |
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17497 |
else |
|
17498 |
ld_shlibs_GCJ=no |
|
17499 |
fi |
|
17500 |
;; |
|
17501 |
esac |
|
17502 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17503 |
if test "$ld_shlibs_GCJ" = no; then |
17504 |
runpath_var= |
|
17505 |
hardcode_libdir_flag_spec_GCJ= |
|
17506 |
export_dynamic_flag_spec_GCJ= |
|
17507 |
whole_archive_flag_spec_GCJ= |
|
1
by paul-mccullagh
Initial import |
17508 |
fi |
17509 |
else |
|
17510 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
17511 |
case $host_os in |
|
17512 |
aix3*) |
|
17513 |
allow_undefined_flag_GCJ=unsupported |
|
17514 |
always_export_symbols_GCJ=yes |
|
17515 |
archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
17516 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
17517 |
# are no directories specified by -L. |
|
17518 |
hardcode_minus_L_GCJ=yes |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17519 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
1
by paul-mccullagh
Initial import |
17520 |
# Neither direct hardcoding nor static linking is supported with a |
17521 |
# broken collect2. |
|
17522 |
hardcode_direct_GCJ=unsupported |
|
17523 |
fi |
|
17524 |
;; |
|
17525 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17526 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
17527 |
if test "$host_cpu" = ia64; then |
17528 |
# On IA64, the linker does run time linking by default, so we don't |
|
17529 |
# have to do anything special. |
|
17530 |
aix_use_runtimelinking=no |
|
17531 |
exp_sym_flag='-Bexport' |
|
17532 |
no_entry_flag="" |
|
17533 |
else |
|
17534 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
17535 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
17536 |
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
17537 |
export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
17538 |
else |
|
17539 |
export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
17540 |
fi |
|
17541 |
aix_use_runtimelinking=no |
|
17542 |
||
17543 |
# Test if we are trying to use run time linking or normal |
|
17544 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
17545 |
# need to do runtime linking. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17546 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1
by paul-mccullagh
Initial import |
17547 |
for ld_flag in $LDFLAGS; do |
17548 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
17549 |
aix_use_runtimelinking=yes |
|
17550 |
break |
|
17551 |
fi |
|
17552 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17553 |
;; |
1
by paul-mccullagh
Initial import |
17554 |
esac |
17555 |
||
17556 |
exp_sym_flag='-bexport' |
|
17557 |
no_entry_flag='-bnoentry' |
|
17558 |
fi |
|
17559 |
||
17560 |
# When large executables or shared objects are built, AIX ld can |
|
17561 |
# have problems creating the table of contents. If linking a library |
|
17562 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
17563 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
17564 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
17565 |
||
17566 |
archive_cmds_GCJ='' |
|
17567 |
hardcode_direct_GCJ=yes |
|
17568 |
hardcode_libdir_separator_GCJ=':' |
|
17569 |
link_all_deplibs_GCJ=yes |
|
17570 |
||
17571 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17572 |
case $host_os in aix4.[012]|aix4.[012].*) |
1
by paul-mccullagh
Initial import |
17573 |
# We only want to do this on AIX 4.2 and lower, the check |
17574 |
# below for broken collect2 doesn't work under 4.3+ |
|
17575 |
collect2name=`${CC} -print-prog-name=collect2` |
|
17576 |
if test -f "$collect2name" && \ |
|
17577 |
strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
17578 |
then |
|
17579 |
# We have reworked collect2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17580 |
: |
1
by paul-mccullagh
Initial import |
17581 |
else |
17582 |
# We have old collect2 |
|
17583 |
hardcode_direct_GCJ=unsupported |
|
17584 |
# It fails to find uninstalled libraries when the uninstalled |
|
17585 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
17586 |
# to unsupported forces relinking |
|
17587 |
hardcode_minus_L_GCJ=yes |
|
17588 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17589 |
hardcode_libdir_separator_GCJ= |
|
17590 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17591 |
;; |
1
by paul-mccullagh
Initial import |
17592 |
esac |
17593 |
shared_flag='-shared' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17594 |
if test "$aix_use_runtimelinking" = yes; then |
17595 |
shared_flag="$shared_flag "'${wl}-G' |
|
17596 |
fi |
|
1
by paul-mccullagh
Initial import |
17597 |
else |
17598 |
# not using gcc |
|
17599 |
if test "$host_cpu" = ia64; then |
|
17600 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
17601 |
# chokes on -Wl,-G. The following line is correct: |
|
17602 |
shared_flag='-G' |
|
17603 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17604 |
if test "$aix_use_runtimelinking" = yes; then |
1
by paul-mccullagh
Initial import |
17605 |
shared_flag='${wl}-G' |
17606 |
else |
|
17607 |
shared_flag='${wl}-bM:SRE' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17608 |
fi |
1
by paul-mccullagh
Initial import |
17609 |
fi |
17610 |
fi |
|
17611 |
||
17612 |
# It seems that -bexpall does not export symbols beginning with |
|
17613 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
17614 |
always_export_symbols_GCJ=yes |
|
17615 |
if test "$aix_use_runtimelinking" = yes; then |
|
17616 |
# Warning - without using the other runtime loading flags (-brtl), |
|
17617 |
# -berok will link without error, but may produce a broken library. |
|
17618 |
allow_undefined_flag_GCJ='-berok' |
|
17619 |
# Determine the default libpath from the value encoded in an empty executable. |
|
17620 |
cat >conftest.$ac_ext <<_ACEOF |
|
17621 |
/* confdefs.h. */ |
|
17622 |
_ACEOF |
|
17623 |
cat confdefs.h >>conftest.$ac_ext |
|
17624 |
cat >>conftest.$ac_ext <<_ACEOF |
|
17625 |
/* end confdefs.h. */ |
|
17626 |
||
17627 |
int |
|
17628 |
main () |
|
17629 |
{ |
|
17630 |
||
17631 |
; |
|
17632 |
return 0; |
|
17633 |
} |
|
17634 |
_ACEOF |
|
17635 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17636 |
if { (ac_try="$ac_link" |
17637 |
case "(($ac_try" in |
|
17638 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
17639 |
*) ac_try_echo=$ac_try;; |
|
17640 |
esac |
|
17641 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
17642 |
$as_echo "$ac_try_echo") >&5 |
|
17643 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
17644 |
ac_status=$? |
17645 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
17646 |
rm -f conftest.er1 |
|
17647 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17648 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17649 |
(exit $ac_status); } && { |
|
17650 |
test -z "$ac_c_werror_flag" || |
|
17651 |
test ! -s conftest.err |
|
17652 |
} && test -s conftest$ac_exeext && { |
|
17653 |
test "$cross_compiling" = yes || |
|
17654 |
$as_test_x conftest$ac_exeext |
|
17655 |
}; then |
|
1
by paul-mccullagh
Initial import |
17656 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17657 |
lt_aix_libpath_sed=' |
17658 |
/Import File Strings/,/^$/ { |
|
17659 |
/^0/ { |
|
17660 |
s/^0 *\(.*\)$/\1/ |
|
17661 |
p |
|
17662 |
} |
|
17663 |
}' |
|
17664 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
17665 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17666 |
if test -z "$aix_libpath"; then |
17667 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17668 |
fi |
|
1
by paul-mccullagh
Initial import |
17669 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17670 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
17671 |
sed 's/^/| /' conftest.$ac_ext >&5 |
17672 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17673 |
|
1
by paul-mccullagh
Initial import |
17674 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17675 |
|
17676 |
rm -rf conftest.dSYM |
|
17677 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
17678 |
conftest$ac_exeext conftest.$ac_ext |
17679 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
17680 |
||
17681 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17682 |
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
1
by paul-mccullagh
Initial import |
17683 |
else |
17684 |
if test "$host_cpu" = ia64; then |
|
17685 |
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
|
17686 |
allow_undefined_flag_GCJ="-z nodefs" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17687 |
archive_expsym_cmds_GCJ="\$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" |
1
by paul-mccullagh
Initial import |
17688 |
else |
17689 |
# Determine the default libpath from the value encoded in an empty executable. |
|
17690 |
cat >conftest.$ac_ext <<_ACEOF |
|
17691 |
/* confdefs.h. */ |
|
17692 |
_ACEOF |
|
17693 |
cat confdefs.h >>conftest.$ac_ext |
|
17694 |
cat >>conftest.$ac_ext <<_ACEOF |
|
17695 |
/* end confdefs.h. */ |
|
17696 |
||
17697 |
int |
|
17698 |
main () |
|
17699 |
{ |
|
17700 |
||
17701 |
; |
|
17702 |
return 0; |
|
17703 |
} |
|
17704 |
_ACEOF |
|
17705 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17706 |
if { (ac_try="$ac_link" |
17707 |
case "(($ac_try" in |
|
17708 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
17709 |
*) ac_try_echo=$ac_try;; |
|
17710 |
esac |
|
17711 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
17712 |
$as_echo "$ac_try_echo") >&5 |
|
17713 |
(eval "$ac_link") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
17714 |
ac_status=$? |
17715 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
17716 |
rm -f conftest.er1 |
|
17717 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17718 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17719 |
(exit $ac_status); } && { |
|
17720 |
test -z "$ac_c_werror_flag" || |
|
17721 |
test ! -s conftest.err |
|
17722 |
} && test -s conftest$ac_exeext && { |
|
17723 |
test "$cross_compiling" = yes || |
|
17724 |
$as_test_x conftest$ac_exeext |
|
17725 |
}; then |
|
1
by paul-mccullagh
Initial import |
17726 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17727 |
lt_aix_libpath_sed=' |
17728 |
/Import File Strings/,/^$/ { |
|
17729 |
/^0/ { |
|
17730 |
s/^0 *\(.*\)$/\1/ |
|
17731 |
p |
|
17732 |
} |
|
17733 |
}' |
|
17734 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1
by paul-mccullagh
Initial import |
17735 |
# Check for a 64-bit object if we didn't find anything. |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17736 |
if test -z "$aix_libpath"; then |
17737 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17738 |
fi |
|
1
by paul-mccullagh
Initial import |
17739 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17740 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
17741 |
sed 's/^/| /' conftest.$ac_ext >&5 |
17742 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17743 |
|
1
by paul-mccullagh
Initial import |
17744 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17745 |
|
17746 |
rm -rf conftest.dSYM |
|
17747 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
1
by paul-mccullagh
Initial import |
17748 |
conftest$ac_exeext conftest.$ac_ext |
17749 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
17750 |
||
17751 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
17752 |
# Warning - without using the other run time loading flags, |
|
17753 |
# -berok will link without error, but may produce a broken library. |
|
17754 |
no_undefined_flag_GCJ=' ${wl}-bernotok' |
|
17755 |
allow_undefined_flag_GCJ=' ${wl}-berok' |
|
17756 |
# Exported symbols can be pulled into shared objects from archives |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17757 |
whole_archive_flag_spec_GCJ='$convenience' |
1
by paul-mccullagh
Initial import |
17758 |
archive_cmds_need_lc_GCJ=yes |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17759 |
# This is similar to how AIX traditionally builds its shared libraries. |
17760 |
archive_expsym_cmds_GCJ="\$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' |
|
1
by paul-mccullagh
Initial import |
17761 |
fi |
17762 |
fi |
|
17763 |
;; |
|
17764 |
||
17765 |
amigaos*) |
|
17766 |
archive_cmds_GCJ='$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)' |
|
17767 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17768 |
hardcode_minus_L_GCJ=yes |
|
17769 |
# see comment about different semantics on the GNU ld section |
|
17770 |
ld_shlibs_GCJ=no |
|
17771 |
;; |
|
17772 |
||
17773 |
bsdi[45]*) |
|
17774 |
export_dynamic_flag_spec_GCJ=-rdynamic |
|
17775 |
;; |
|
17776 |
||
17777 |
cygwin* | mingw* | pw32*) |
|
17778 |
# When not using gcc, we currently assume that we are using |
|
17779 |
# Microsoft Visual C++. |
|
17780 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
17781 |
# no search path for DLLs. |
|
17782 |
hardcode_libdir_flag_spec_GCJ=' ' |
|
17783 |
allow_undefined_flag_GCJ=unsupported |
|
17784 |
# Tell ltmain to make .lib files, not .a files. |
|
17785 |
libext=lib |
|
17786 |
# Tell ltmain to make .dll files, not .so files. |
|
17787 |
shrext_cmds=".dll" |
|
17788 |
# FIXME: Setting linknames here is a bad hack. |
|
17789 |
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
17790 |
# The linker will automatically build a .lib file if we build a DLL. |
|
17791 |
old_archive_From_new_cmds_GCJ='true' |
|
17792 |
# FIXME: Should let the user specify the lib program. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17793 |
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' |
17794 |
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
|
1
by paul-mccullagh
Initial import |
17795 |
enable_shared_with_static_runtimes_GCJ=yes |
17796 |
;; |
|
17797 |
||
17798 |
darwin* | rhapsody*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17799 |
allow_undefined_flag_GCJ="$_lt_dar_allow_undefined" |
1
by paul-mccullagh
Initial import |
17800 |
archive_cmds_need_lc_GCJ=no |
17801 |
hardcode_direct_GCJ=no |
|
17802 |
hardcode_automatic_GCJ=yes |
|
17803 |
hardcode_shlibpath_var_GCJ=unsupported |
|
17804 |
whole_archive_flag_spec_GCJ='' |
|
17805 |
link_all_deplibs_GCJ=yes |
|
17806 |
if test "$GCC" = yes ; then |
|
17807 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17808 |
archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
17809 |
module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
17810 |
archive_expsym_cmds_GCJ="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}" |
|
17811 |
module_expsym_cmds_GCJ="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}" |
|
1
by paul-mccullagh
Initial import |
17812 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17813 |
case $cc_basename in |
1
by paul-mccullagh
Initial import |
17814 |
xlc*) |
17815 |
output_verbose_link_cmd='echo' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17816 |
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
1
by paul-mccullagh
Initial import |
17817 |
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17818 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
17819 |
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
1
by paul-mccullagh
Initial import |
17820 |
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
17821 |
;; |
|
17822 |
*) |
|
17823 |
ld_shlibs_GCJ=no |
|
17824 |
;; |
|
17825 |
esac |
|
17826 |
fi |
|
17827 |
;; |
|
17828 |
||
17829 |
dgux*) |
|
17830 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
17831 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17832 |
hardcode_shlibpath_var_GCJ=no |
|
17833 |
;; |
|
17834 |
||
17835 |
freebsd1*) |
|
17836 |
ld_shlibs_GCJ=no |
|
17837 |
;; |
|
17838 |
||
17839 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
17840 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
17841 |
# does not break anything, and helps significantly (at the cost of a little |
|
17842 |
# extra space). |
|
17843 |
freebsd2.2*) |
|
17844 |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
17845 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17846 |
hardcode_direct_GCJ=yes |
|
17847 |
hardcode_shlibpath_var_GCJ=no |
|
17848 |
;; |
|
17849 |
||
17850 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
17851 |
freebsd2*) |
|
17852 |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17853 |
hardcode_direct_GCJ=yes |
|
17854 |
hardcode_minus_L_GCJ=yes |
|
17855 |
hardcode_shlibpath_var_GCJ=no |
|
17856 |
;; |
|
17857 |
||
17858 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17859 |
freebsd* | dragonfly*) |
1
by paul-mccullagh
Initial import |
17860 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
17861 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17862 |
hardcode_direct_GCJ=yes |
|
17863 |
hardcode_shlibpath_var_GCJ=no |
|
17864 |
;; |
|
17865 |
||
17866 |
hpux9*) |
|
17867 |
if test "$GCC" = yes; then |
|
17868 |
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
17869 |
else |
|
17870 |
archive_cmds_GCJ='$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' |
|
17871 |
fi |
|
17872 |
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
17873 |
hardcode_libdir_separator_GCJ=: |
|
17874 |
hardcode_direct_GCJ=yes |
|
17875 |
||
17876 |
# hardcode_minus_L: Not really in the search PATH, |
|
17877 |
# but as the default location of the library. |
|
17878 |
hardcode_minus_L_GCJ=yes |
|
17879 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17880 |
;; |
|
17881 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17882 |
hpux10*) |
17883 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
17884 |
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
17885 |
else |
|
17886 |
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
17887 |
fi |
|
17888 |
if test "$with_gnu_ld" = no; then |
|
17889 |
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
17890 |
hardcode_libdir_separator_GCJ=: |
|
17891 |
||
17892 |
hardcode_direct_GCJ=yes |
|
17893 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17894 |
||
17895 |
# hardcode_minus_L: Not really in the search PATH, |
|
17896 |
# but as the default location of the library. |
|
17897 |
hardcode_minus_L_GCJ=yes |
|
17898 |
fi |
|
17899 |
;; |
|
17900 |
||
17901 |
hpux11*) |
|
17902 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
17903 |
case $host_cpu in |
|
17904 |
hppa*64*) |
|
1
by paul-mccullagh
Initial import |
17905 |
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17906 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17907 |
ia64*) |
17908 |
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
17909 |
;; |
|
1
by paul-mccullagh
Initial import |
17910 |
*) |
17911 |
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
17912 |
;; |
|
17913 |
esac |
|
17914 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17915 |
case $host_cpu in |
17916 |
hppa*64*) |
|
17917 |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
17918 |
;; |
|
17919 |
ia64*) |
|
17920 |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
1
by paul-mccullagh
Initial import |
17921 |
;; |
17922 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17923 |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1
by paul-mccullagh
Initial import |
17924 |
;; |
17925 |
esac |
|
17926 |
fi |
|
17927 |
if test "$with_gnu_ld" = no; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17928 |
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
17929 |
hardcode_libdir_separator_GCJ=: |
|
17930 |
||
17931 |
case $host_cpu in |
|
17932 |
hppa*64*|ia64*) |
|
1
by paul-mccullagh
Initial import |
17933 |
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17934 |
hardcode_direct_GCJ=no |
17935 |
hardcode_shlibpath_var_GCJ=no |
|
1
by paul-mccullagh
Initial import |
17936 |
;; |
17937 |
*) |
|
17938 |
hardcode_direct_GCJ=yes |
|
17939 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17940 |
||
17941 |
# hardcode_minus_L: Not really in the search PATH, |
|
17942 |
# but as the default location of the library. |
|
17943 |
hardcode_minus_L_GCJ=yes |
|
17944 |
;; |
|
17945 |
esac |
|
17946 |
fi |
|
17947 |
;; |
|
17948 |
||
17949 |
irix5* | irix6* | nonstopux*) |
|
17950 |
if test "$GCC" = yes; then |
|
17951 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
17952 |
else |
|
17953 |
archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
17954 |
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' |
|
17955 |
fi |
|
17956 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
17957 |
hardcode_libdir_separator_GCJ=: |
|
17958 |
link_all_deplibs_GCJ=yes |
|
17959 |
;; |
|
17960 |
||
17961 |
netbsd*) |
|
17962 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
17963 |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
17964 |
else |
|
17965 |
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
17966 |
fi |
|
17967 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17968 |
hardcode_direct_GCJ=yes |
|
17969 |
hardcode_shlibpath_var_GCJ=no |
|
17970 |
;; |
|
17971 |
||
17972 |
newsos6) |
|
17973 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
17974 |
hardcode_direct_GCJ=yes |
|
17975 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
17976 |
hardcode_libdir_separator_GCJ=: |
|
17977 |
hardcode_shlibpath_var_GCJ=no |
|
17978 |
;; |
|
17979 |
||
17980 |
openbsd*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
17981 |
if test -f /usr/libexec/ld.so; then |
17982 |
hardcode_direct_GCJ=yes |
|
17983 |
hardcode_shlibpath_var_GCJ=no |
|
17984 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
17985 |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
17986 |
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
17987 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17988 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17989 |
else |
|
17990 |
case $host_os in |
|
17991 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
17992 |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17993 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17994 |
;; |
|
17995 |
*) |
|
17996 |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
17997 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17998 |
;; |
|
17999 |
esac |
|
18000 |
fi |
|
1
by paul-mccullagh
Initial import |
18001 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18002 |
ld_shlibs_GCJ=no |
1
by paul-mccullagh
Initial import |
18003 |
fi |
18004 |
;; |
|
18005 |
||
18006 |
os2*) |
|
18007 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18008 |
hardcode_minus_L_GCJ=yes |
|
18009 |
allow_undefined_flag_GCJ=unsupported |
|
18010 |
archive_cmds_GCJ='$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' |
|
18011 |
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
18012 |
;; |
|
18013 |
||
18014 |
osf3*) |
|
18015 |
if test "$GCC" = yes; then |
|
18016 |
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' |
|
18017 |
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
18018 |
else |
|
18019 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
|
18020 |
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
18021 |
fi |
|
18022 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
18023 |
hardcode_libdir_separator_GCJ=: |
|
18024 |
;; |
|
18025 |
||
18026 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
18027 |
if test "$GCC" = yes; then |
|
18028 |
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' |
|
18029 |
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
18030 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
18031 |
else |
|
18032 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
|
18033 |
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
18034 |
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18035 |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
1
by paul-mccullagh
Initial import |
18036 |
|
18037 |
# Both c and cxx compiler support -rpath directly |
|
18038 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
|
18039 |
fi |
|
18040 |
hardcode_libdir_separator_GCJ=: |
|
18041 |
;; |
|
18042 |
||
18043 |
solaris*) |
|
18044 |
no_undefined_flag_GCJ=' -z text' |
|
18045 |
if test "$GCC" = yes; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18046 |
wlarc='${wl}' |
1
by paul-mccullagh
Initial import |
18047 |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
18048 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
18049 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
|
18050 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18051 |
wlarc='' |
1
by paul-mccullagh
Initial import |
18052 |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
18053 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
18054 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
18055 |
fi |
|
18056 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
18057 |
hardcode_shlibpath_var_GCJ=no |
|
18058 |
case $host_os in |
|
18059 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18060 |
*) |
18061 |
# The compiler driver will combine and reorder linker options, |
|
18062 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
18063 |
# but is careful enough not to reorder. |
|
18064 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
18065 |
if test "$GCC" = yes; then |
|
18066 |
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
18067 |
else |
|
18068 |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' |
|
18069 |
fi |
|
18070 |
;; |
|
1
by paul-mccullagh
Initial import |
18071 |
esac |
18072 |
link_all_deplibs_GCJ=yes |
|
18073 |
;; |
|
18074 |
||
18075 |
sunos4*) |
|
18076 |
if test "x$host_vendor" = xsequent; then |
|
18077 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
18078 |
# files that make .init and .fini sections work. |
|
18079 |
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18080 |
else |
|
18081 |
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
18082 |
fi |
|
18083 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18084 |
hardcode_direct_GCJ=yes |
|
18085 |
hardcode_minus_L_GCJ=yes |
|
18086 |
hardcode_shlibpath_var_GCJ=no |
|
18087 |
;; |
|
18088 |
||
18089 |
sysv4) |
|
18090 |
case $host_vendor in |
|
18091 |
sni) |
|
18092 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18093 |
hardcode_direct_GCJ=yes # is this really true??? |
|
18094 |
;; |
|
18095 |
siemens) |
|
18096 |
## LD is ld it makes a PLAMLIB |
|
18097 |
## CC just makes a GrossModule. |
|
18098 |
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
18099 |
reload_cmds_GCJ='$CC -r -o $output$reload_objs' |
|
18100 |
hardcode_direct_GCJ=no |
|
18101 |
;; |
|
18102 |
motorola) |
|
18103 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18104 |
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie |
|
18105 |
;; |
|
18106 |
esac |
|
18107 |
runpath_var='LD_RUN_PATH' |
|
18108 |
hardcode_shlibpath_var_GCJ=no |
|
18109 |
;; |
|
18110 |
||
18111 |
sysv4.3*) |
|
18112 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18113 |
hardcode_shlibpath_var_GCJ=no |
|
18114 |
export_dynamic_flag_spec_GCJ='-Bexport' |
|
18115 |
;; |
|
18116 |
||
18117 |
sysv4*MP*) |
|
18118 |
if test -d /usr/nec; then |
|
18119 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18120 |
hardcode_shlibpath_var_GCJ=no |
|
18121 |
runpath_var=LD_RUN_PATH |
|
18122 |
hardcode_runpath_var=yes |
|
18123 |
ld_shlibs_GCJ=yes |
|
18124 |
fi |
|
18125 |
;; |
|
18126 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18127 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
18128 |
no_undefined_flag_GCJ='${wl}-z,text' |
|
18129 |
archive_cmds_need_lc_GCJ=no |
|
18130 |
hardcode_shlibpath_var_GCJ=no |
|
18131 |
runpath_var='LD_RUN_PATH' |
|
18132 |
||
18133 |
if test "$GCC" = yes; then |
|
18134 |
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18135 |
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18136 |
else |
|
18137 |
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18138 |
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18139 |
fi |
|
18140 |
;; |
|
18141 |
||
18142 |
sysv5* | sco3.2v5* | sco5v6*) |
|
18143 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
18144 |
# link with -lc, and that would cause any symbols used from libc to |
|
18145 |
# always be unresolved, which means just about no library would |
|
18146 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
18147 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
18148 |
# as -z defs. |
|
18149 |
no_undefined_flag_GCJ='${wl}-z,text' |
|
18150 |
allow_undefined_flag_GCJ='${wl}-z,nodefs' |
|
18151 |
archive_cmds_need_lc_GCJ=no |
|
18152 |
hardcode_shlibpath_var_GCJ=no |
|
18153 |
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
18154 |
hardcode_libdir_separator_GCJ=':' |
|
18155 |
link_all_deplibs_GCJ=yes |
|
18156 |
export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
18157 |
runpath_var='LD_RUN_PATH' |
|
18158 |
||
18159 |
if test "$GCC" = yes; then |
|
18160 |
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18161 |
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18162 |
else |
|
18163 |
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18164 |
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18165 |
fi |
|
1
by paul-mccullagh
Initial import |
18166 |
;; |
18167 |
||
18168 |
uts4*) |
|
18169 |
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18170 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18171 |
hardcode_shlibpath_var_GCJ=no |
|
18172 |
;; |
|
18173 |
||
18174 |
*) |
|
18175 |
ld_shlibs_GCJ=no |
|
18176 |
;; |
|
18177 |
esac |
|
18178 |
fi |
|
18179 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18180 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
18181 |
$as_echo "$ld_shlibs_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
18182 |
test "$ld_shlibs_GCJ" = no && can_build_shared=no |
18183 |
||
18184 |
# |
|
18185 |
# Do we need to explicitly link libc? |
|
18186 |
# |
|
18187 |
case "x$archive_cmds_need_lc_GCJ" in |
|
18188 |
x|xyes) |
|
18189 |
# Assume -lc should be added |
|
18190 |
archive_cmds_need_lc_GCJ=yes |
|
18191 |
||
18192 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
18193 |
case $archive_cmds_GCJ in |
|
18194 |
*'~'*) |
|
18195 |
# FIXME: we may have to deal with multi-command sequences. |
|
18196 |
;; |
|
18197 |
'$CC '*) |
|
18198 |
# Test whether the compiler implicitly links with -lc since on some |
|
18199 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
18200 |
# to ld, don't add -lc before -lgcc. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18201 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
18202 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1
by paul-mccullagh
Initial import |
18203 |
$rm conftest* |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18204 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1
by paul-mccullagh
Initial import |
18205 |
|
18206 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
18207 |
(eval $ac_compile) 2>&5 |
|
18208 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18209 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
18210 |
(exit $ac_status); } 2>conftest.err; then |
18211 |
soname=conftest |
|
18212 |
lib=conftest |
|
18213 |
libobjs=conftest.$ac_objext |
|
18214 |
deplibs= |
|
18215 |
wl=$lt_prog_compiler_wl_GCJ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18216 |
pic_flag=$lt_prog_compiler_pic_GCJ |
1
by paul-mccullagh
Initial import |
18217 |
compiler_flags=-v |
18218 |
linker_flags=-v |
|
18219 |
verstring= |
|
18220 |
output_objdir=. |
|
18221 |
libname=conftest |
|
18222 |
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ |
|
18223 |
allow_undefined_flag_GCJ= |
|
18224 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
18225 |
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
18226 |
ac_status=$? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18227 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by paul-mccullagh
Initial import |
18228 |
(exit $ac_status); } |
18229 |
then |
|
18230 |
archive_cmds_need_lc_GCJ=no |
|
18231 |
else |
|
18232 |
archive_cmds_need_lc_GCJ=yes |
|
18233 |
fi |
|
18234 |
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
|
18235 |
else |
|
18236 |
cat conftest.err 1>&5 |
|
18237 |
fi |
|
18238 |
$rm conftest* |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18239 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
18240 |
$as_echo "$archive_cmds_need_lc_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
18241 |
;; |
18242 |
esac |
|
18243 |
fi |
|
18244 |
;; |
|
18245 |
esac |
|
18246 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18247 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
18248 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
1
by paul-mccullagh
Initial import |
18249 |
library_names_spec= |
18250 |
libname_spec='lib$name' |
|
18251 |
soname_spec= |
|
18252 |
shrext_cmds=".so" |
|
18253 |
postinstall_cmds= |
|
18254 |
postuninstall_cmds= |
|
18255 |
finish_cmds= |
|
18256 |
finish_eval= |
|
18257 |
shlibpath_var= |
|
18258 |
shlibpath_overrides_runpath=unknown |
|
18259 |
version_type=none |
|
18260 |
dynamic_linker="$host_os ld.so" |
|
18261 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18262 |
|
1
by paul-mccullagh
Initial import |
18263 |
need_lib_prefix=unknown |
18264 |
hardcode_into_libs=no |
|
18265 |
||
18266 |
# when you set need_version to no, make sure it does not cause -set_version |
|
18267 |
# flags to be left without arguments |
|
18268 |
need_version=unknown |
|
18269 |
||
18270 |
case $host_os in |
|
18271 |
aix3*) |
|
18272 |
version_type=linux |
|
18273 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
18274 |
shlibpath_var=LIBPATH |
|
18275 |
||
18276 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
18277 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18278 |
;; |
|
18279 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18280 |
aix[4-9]*) |
1
by paul-mccullagh
Initial import |
18281 |
version_type=linux |
18282 |
need_lib_prefix=no |
|
18283 |
need_version=no |
|
18284 |
hardcode_into_libs=yes |
|
18285 |
if test "$host_cpu" = ia64; then |
|
18286 |
# AIX 5 supports IA64 |
|
18287 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
18288 |
shlibpath_var=LD_LIBRARY_PATH |
|
18289 |
else |
|
18290 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
18291 |
# for dependence libraries. The import file would start with |
|
18292 |
# the line `#! .'. This would cause the generated library to |
|
18293 |
# depend on `.', always an invalid library. This was fixed in |
|
18294 |
# development snapshots of GCC prior to 3.0. |
|
18295 |
case $host_os in |
|
18296 |
aix4 | aix4.[01] | aix4.[01].*) |
|
18297 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
18298 |
echo ' yes ' |
|
18299 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
18300 |
: |
|
18301 |
else |
|
18302 |
can_build_shared=no |
|
18303 |
fi |
|
18304 |
;; |
|
18305 |
esac |
|
18306 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
18307 |
# soname into executable. Probably we can add versioning support to |
|
18308 |
# collect2, so additional links can be useful in future. |
|
18309 |
if test "$aix_use_runtimelinking" = yes; then |
|
18310 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
18311 |
# instead of lib<name>.a to let people know that these are not |
|
18312 |
# typical AIX shared libraries. |
|
18313 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18314 |
else |
|
18315 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
18316 |
# and later when we are not doing run time linking. |
|
18317 |
library_names_spec='${libname}${release}.a $libname.a' |
|
18318 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18319 |
fi |
|
18320 |
shlibpath_var=LIBPATH |
|
18321 |
fi |
|
18322 |
;; |
|
18323 |
||
18324 |
amigaos*) |
|
18325 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
18326 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
18327 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' |
|
18328 |
;; |
|
18329 |
||
18330 |
beos*) |
|
18331 |
library_names_spec='${libname}${shared_ext}' |
|
18332 |
dynamic_linker="$host_os ld.so" |
|
18333 |
shlibpath_var=LIBRARY_PATH |
|
18334 |
;; |
|
18335 |
||
18336 |
bsdi[45]*) |
|
18337 |
version_type=linux |
|
18338 |
need_version=no |
|
18339 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18340 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18341 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
18342 |
shlibpath_var=LD_LIBRARY_PATH |
|
18343 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
18344 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
18345 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
18346 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
18347 |
# libtool to hard-code these into programs |
|
18348 |
;; |
|
18349 |
||
18350 |
cygwin* | mingw* | pw32*) |
|
18351 |
version_type=windows |
|
18352 |
shrext_cmds=".dll" |
|
18353 |
need_version=no |
|
18354 |
need_lib_prefix=no |
|
18355 |
||
18356 |
case $GCC,$host_os in |
|
18357 |
yes,cygwin* | yes,mingw* | yes,pw32*) |
|
18358 |
library_names_spec='$libname.dll.a' |
|
18359 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
18360 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
18361 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
18362 |
dldir=$destdir/`dirname \$dlpath`~ |
|
18363 |
test -d \$dldir || mkdir -p \$dldir~ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18364 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
18365 |
chmod a+x \$dldir/$dlname' |
|
1
by paul-mccullagh
Initial import |
18366 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
18367 |
dlpath=$dir/\$dldll~ |
|
18368 |
$rm \$dlpath' |
|
18369 |
shlibpath_overrides_runpath=yes |
|
18370 |
||
18371 |
case $host_os in |
|
18372 |
cygwin*) |
|
18373 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
18374 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
18375 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
18376 |
;; |
|
18377 |
mingw*) |
|
18378 |
# MinGW DLLs use traditional 'lib' prefix |
|
18379 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
18380 |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
18381 |
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
18382 |
# It is most probably a Windows format PATH printed by |
|
18383 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
18384 |
# path with ; separators, and with drive letters. We can handle the |
|
18385 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
18386 |
# especially as we might pass files found there to a mingw objdump, |
|
18387 |
# which wouldn't understand a cygwinified path. Ahh. |
|
18388 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
18389 |
else |
|
18390 |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
18391 |
fi |
|
18392 |
;; |
|
18393 |
pw32*) |
|
18394 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18395 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
1
by paul-mccullagh
Initial import |
18396 |
;; |
18397 |
esac |
|
18398 |
;; |
|
18399 |
||
18400 |
*) |
|
18401 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
18402 |
;; |
|
18403 |
esac |
|
18404 |
dynamic_linker='Win32 ld.exe' |
|
18405 |
# FIXME: first we should search . and the directory the executable is in |
|
18406 |
shlibpath_var=PATH |
|
18407 |
;; |
|
18408 |
||
18409 |
darwin* | rhapsody*) |
|
18410 |
dynamic_linker="$host_os dyld" |
|
18411 |
version_type=darwin |
|
18412 |
need_lib_prefix=no |
|
18413 |
need_version=no |
|
18414 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
18415 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
18416 |
shlibpath_overrides_runpath=yes |
|
18417 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18418 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
18419 |
||
1
by paul-mccullagh
Initial import |
18420 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
18421 |
;; |
|
18422 |
||
18423 |
dgux*) |
|
18424 |
version_type=linux |
|
18425 |
need_lib_prefix=no |
|
18426 |
need_version=no |
|
18427 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
18428 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18429 |
shlibpath_var=LD_LIBRARY_PATH |
|
18430 |
;; |
|
18431 |
||
18432 |
freebsd1*) |
|
18433 |
dynamic_linker=no |
|
18434 |
;; |
|
18435 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18436 |
freebsd* | dragonfly*) |
18437 |
# DragonFly does not have aout. When/if they implement a new |
|
18438 |
# versioning mechanism, adjust this. |
|
18439 |
if test -x /usr/bin/objformat; then |
|
18440 |
objformat=`/usr/bin/objformat` |
|
18441 |
else |
|
18442 |
case $host_os in |
|
18443 |
freebsd[123]*) objformat=aout ;; |
|
18444 |
*) objformat=elf ;; |
|
18445 |
esac |
|
18446 |
fi |
|
1
by paul-mccullagh
Initial import |
18447 |
version_type=freebsd-$objformat |
18448 |
case $version_type in |
|
18449 |
freebsd-elf*) |
|
18450 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18451 |
need_version=no |
|
18452 |
need_lib_prefix=no |
|
18453 |
;; |
|
18454 |
freebsd-*) |
|
18455 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
18456 |
need_version=yes |
|
18457 |
;; |
|
18458 |
esac |
|
18459 |
shlibpath_var=LD_LIBRARY_PATH |
|
18460 |
case $host_os in |
|
18461 |
freebsd2*) |
|
18462 |
shlibpath_overrides_runpath=yes |
|
18463 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18464 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1
by paul-mccullagh
Initial import |
18465 |
shlibpath_overrides_runpath=yes |
18466 |
hardcode_into_libs=yes |
|
18467 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18468 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
18469 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1
by paul-mccullagh
Initial import |
18470 |
shlibpath_overrides_runpath=no |
18471 |
hardcode_into_libs=yes |
|
18472 |
;; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18473 |
*) # from 4.6 on, and DragonFly |
18474 |
shlibpath_overrides_runpath=yes |
|
18475 |
hardcode_into_libs=yes |
|
18476 |
;; |
|
1
by paul-mccullagh
Initial import |
18477 |
esac |
18478 |
;; |
|
18479 |
||
18480 |
gnu*) |
|
18481 |
version_type=linux |
|
18482 |
need_lib_prefix=no |
|
18483 |
need_version=no |
|
18484 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
18485 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18486 |
shlibpath_var=LD_LIBRARY_PATH |
|
18487 |
hardcode_into_libs=yes |
|
18488 |
;; |
|
18489 |
||
18490 |
hpux9* | hpux10* | hpux11*) |
|
18491 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
18492 |
# link against other versions. |
|
18493 |
version_type=sunos |
|
18494 |
need_lib_prefix=no |
|
18495 |
need_version=no |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18496 |
case $host_cpu in |
1
by paul-mccullagh
Initial import |
18497 |
ia64*) |
18498 |
shrext_cmds='.so' |
|
18499 |
hardcode_into_libs=yes |
|
18500 |
dynamic_linker="$host_os dld.so" |
|
18501 |
shlibpath_var=LD_LIBRARY_PATH |
|
18502 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
18503 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18504 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18505 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
18506 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
18507 |
else |
|
18508 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
18509 |
fi |
|
18510 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
18511 |
;; |
|
18512 |
hppa*64*) |
|
18513 |
shrext_cmds='.sl' |
|
18514 |
hardcode_into_libs=yes |
|
18515 |
dynamic_linker="$host_os dld.sl" |
|
18516 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
18517 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
18518 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18519 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18520 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
18521 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
18522 |
;; |
|
18523 |
*) |
|
18524 |
shrext_cmds='.sl' |
|
18525 |
dynamic_linker="$host_os dld.sl" |
|
18526 |
shlibpath_var=SHLIB_PATH |
|
18527 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
18528 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18529 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18530 |
;; |
|
18531 |
esac |
|
18532 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
18533 |
postinstall_cmds='chmod 555 $lib' |
|
18534 |
;; |
|
18535 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18536 |
interix[3-9]*) |
18537 |
version_type=linux |
|
18538 |
need_lib_prefix=no |
|
18539 |
need_version=no |
|
18540 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
18541 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18542 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
18543 |
shlibpath_var=LD_LIBRARY_PATH |
|
18544 |
shlibpath_overrides_runpath=no |
|
18545 |
hardcode_into_libs=yes |
|
18546 |
;; |
|
18547 |
||
1
by paul-mccullagh
Initial import |
18548 |
irix5* | irix6* | nonstopux*) |
18549 |
case $host_os in |
|
18550 |
nonstopux*) version_type=nonstopux ;; |
|
18551 |
*) |
|
18552 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
18553 |
version_type=linux |
|
18554 |
else |
|
18555 |
version_type=irix |
|
18556 |
fi ;; |
|
18557 |
esac |
|
18558 |
need_lib_prefix=no |
|
18559 |
need_version=no |
|
18560 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18561 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18562 |
case $host_os in |
|
18563 |
irix5* | nonstopux*) |
|
18564 |
libsuff= shlibsuff= |
|
18565 |
;; |
|
18566 |
*) |
|
18567 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
18568 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
18569 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
18570 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
18571 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
18572 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
18573 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
18574 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
18575 |
esac |
|
18576 |
;; |
|
18577 |
esac |
|
18578 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
18579 |
shlibpath_overrides_runpath=no |
|
18580 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
18581 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
18582 |
hardcode_into_libs=yes |
|
18583 |
;; |
|
18584 |
||
18585 |
# No shared lib support for Linux oldld, aout, or coff. |
|
18586 |
linux*oldld* | linux*aout* | linux*coff*) |
|
18587 |
dynamic_linker=no |
|
18588 |
;; |
|
18589 |
||
18590 |
# This must be Linux ELF. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18591 |
linux* | k*bsd*-gnu) |
1
by paul-mccullagh
Initial import |
18592 |
version_type=linux |
18593 |
need_lib_prefix=no |
|
18594 |
need_version=no |
|
18595 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18596 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18597 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
18598 |
shlibpath_var=LD_LIBRARY_PATH |
|
18599 |
shlibpath_overrides_runpath=no |
|
18600 |
# This implies no fast_install, which is unacceptable. |
|
18601 |
# Some rework will be needed to allow for fast_install |
|
18602 |
# before this can be enabled. |
|
18603 |
hardcode_into_libs=yes |
|
18604 |
||
18605 |
# Append ld.so.conf contents to the search path |
|
18606 |
if test -f /etc/ld.so.conf; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18607 |
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;/^$/d' | tr '\n' ' '` |
1
by paul-mccullagh
Initial import |
18608 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
18609 |
fi |
|
18610 |
||
18611 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
18612 |
# powerpc, because MkLinux only supported shared libraries with the |
|
18613 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
18614 |
# most powerpc-linux boxes support dynamic linking these days and |
|
18615 |
# people can always --disable-shared, the test was removed, and we |
|
18616 |
# assume the GNU/Linux dynamic linker is in use. |
|
18617 |
dynamic_linker='GNU/Linux ld.so' |
|
18618 |
;; |
|
18619 |
||
18620 |
netbsd*) |
|
18621 |
version_type=sunos |
|
18622 |
need_lib_prefix=no |
|
18623 |
need_version=no |
|
18624 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
18625 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
18626 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
18627 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
18628 |
else |
|
18629 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
18630 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18631 |
dynamic_linker='NetBSD ld.elf_so' |
|
18632 |
fi |
|
18633 |
shlibpath_var=LD_LIBRARY_PATH |
|
18634 |
shlibpath_overrides_runpath=yes |
|
18635 |
hardcode_into_libs=yes |
|
18636 |
;; |
|
18637 |
||
18638 |
newsos6) |
|
18639 |
version_type=linux |
|
18640 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18641 |
shlibpath_var=LD_LIBRARY_PATH |
|
18642 |
shlibpath_overrides_runpath=yes |
|
18643 |
;; |
|
18644 |
||
18645 |
nto-qnx*) |
|
18646 |
version_type=linux |
|
18647 |
need_lib_prefix=no |
|
18648 |
need_version=no |
|
18649 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18650 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18651 |
shlibpath_var=LD_LIBRARY_PATH |
|
18652 |
shlibpath_overrides_runpath=yes |
|
18653 |
;; |
|
18654 |
||
18655 |
openbsd*) |
|
18656 |
version_type=sunos |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18657 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1
by paul-mccullagh
Initial import |
18658 |
need_lib_prefix=no |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18659 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
18660 |
case $host_os in |
|
18661 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
18662 |
*) need_version=no ;; |
|
18663 |
esac |
|
1
by paul-mccullagh
Initial import |
18664 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
18665 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
18666 |
shlibpath_var=LD_LIBRARY_PATH |
|
18667 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
18668 |
case $host_os in |
|
18669 |
openbsd2.[89] | openbsd2.[89].*) |
|
18670 |
shlibpath_overrides_runpath=no |
|
18671 |
;; |
|
18672 |
*) |
|
18673 |
shlibpath_overrides_runpath=yes |
|
18674 |
;; |
|
18675 |
esac |
|
18676 |
else |
|
18677 |
shlibpath_overrides_runpath=yes |
|
18678 |
fi |
|
18679 |
;; |
|
18680 |
||
18681 |
os2*) |
|
18682 |
libname_spec='$name' |
|
18683 |
shrext_cmds=".dll" |
|
18684 |
need_lib_prefix=no |
|
18685 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
18686 |
dynamic_linker='OS/2 ld.exe' |
|
18687 |
shlibpath_var=LIBPATH |
|
18688 |
;; |
|
18689 |
||
18690 |
osf3* | osf4* | osf5*) |
|
18691 |
version_type=osf |
|
18692 |
need_lib_prefix=no |
|
18693 |
need_version=no |
|
18694 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18695 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18696 |
shlibpath_var=LD_LIBRARY_PATH |
|
18697 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
18698 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
18699 |
;; |
|
18700 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18701 |
rdos*) |
18702 |
dynamic_linker=no |
|
1
by paul-mccullagh
Initial import |
18703 |
;; |
18704 |
||
18705 |
solaris*) |
|
18706 |
version_type=linux |
|
18707 |
need_lib_prefix=no |
|
18708 |
need_version=no |
|
18709 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18710 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18711 |
shlibpath_var=LD_LIBRARY_PATH |
|
18712 |
shlibpath_overrides_runpath=yes |
|
18713 |
hardcode_into_libs=yes |
|
18714 |
# ldd complains unless libraries are executable |
|
18715 |
postinstall_cmds='chmod +x $lib' |
|
18716 |
;; |
|
18717 |
||
18718 |
sunos4*) |
|
18719 |
version_type=sunos |
|
18720 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
18721 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
18722 |
shlibpath_var=LD_LIBRARY_PATH |
|
18723 |
shlibpath_overrides_runpath=yes |
|
18724 |
if test "$with_gnu_ld" = yes; then |
|
18725 |
need_lib_prefix=no |
|
18726 |
fi |
|
18727 |
need_version=yes |
|
18728 |
;; |
|
18729 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18730 |
sysv4 | sysv4.3*) |
1
by paul-mccullagh
Initial import |
18731 |
version_type=linux |
18732 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18733 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18734 |
shlibpath_var=LD_LIBRARY_PATH |
|
18735 |
case $host_vendor in |
|
18736 |
sni) |
|
18737 |
shlibpath_overrides_runpath=no |
|
18738 |
need_lib_prefix=no |
|
18739 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
18740 |
runpath_var=LD_RUN_PATH |
|
18741 |
;; |
|
18742 |
siemens) |
|
18743 |
need_lib_prefix=no |
|
18744 |
;; |
|
18745 |
motorola) |
|
18746 |
need_lib_prefix=no |
|
18747 |
need_version=no |
|
18748 |
shlibpath_overrides_runpath=no |
|
18749 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
18750 |
;; |
|
18751 |
esac |
|
18752 |
;; |
|
18753 |
||
18754 |
sysv4*MP*) |
|
18755 |
if test -d /usr/nec ;then |
|
18756 |
version_type=linux |
|
18757 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
18758 |
soname_spec='$libname${shared_ext}.$major' |
|
18759 |
shlibpath_var=LD_LIBRARY_PATH |
|
18760 |
fi |
|
18761 |
;; |
|
18762 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18763 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
18764 |
version_type=freebsd-elf |
|
18765 |
need_lib_prefix=no |
|
18766 |
need_version=no |
|
18767 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18768 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18769 |
shlibpath_var=LD_LIBRARY_PATH |
|
18770 |
hardcode_into_libs=yes |
|
18771 |
if test "$with_gnu_ld" = yes; then |
|
18772 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
18773 |
shlibpath_overrides_runpath=no |
|
18774 |
else |
|
18775 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
18776 |
shlibpath_overrides_runpath=yes |
|
18777 |
case $host_os in |
|
18778 |
sco3.2v5*) |
|
18779 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
18780 |
;; |
|
18781 |
esac |
|
18782 |
fi |
|
18783 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
18784 |
;; |
|
18785 |
||
1
by paul-mccullagh
Initial import |
18786 |
uts4*) |
18787 |
version_type=linux |
|
18788 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18789 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
18790 |
shlibpath_var=LD_LIBRARY_PATH |
|
18791 |
;; |
|
18792 |
||
18793 |
*) |
|
18794 |
dynamic_linker=no |
|
18795 |
;; |
|
18796 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18797 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
18798 |
$as_echo "$dynamic_linker" >&6; } |
|
1
by paul-mccullagh
Initial import |
18799 |
test "$dynamic_linker" = no && can_build_shared=no |
18800 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18801 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
18802 |
$as_echo_n "(cached) " >&6 |
|
18803 |
else |
|
18804 |
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" |
|
18805 |
fi |
|
18806 |
||
18807 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
18808 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
18809 |
$as_echo_n "(cached) " >&6 |
|
18810 |
else |
|
18811 |
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" |
|
18812 |
fi |
|
18813 |
||
18814 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
18815 |
||
18816 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
18817 |
if test "$GCC" = yes; then |
|
18818 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
18819 |
fi |
|
18820 |
||
18821 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
18822 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1
by paul-mccullagh
Initial import |
18823 |
hardcode_action_GCJ= |
18824 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
|
18825 |
test -n "$runpath_var_GCJ" || \ |
|
18826 |
test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
|
18827 |
||
18828 |
# We can hardcode non-existant directories. |
|
18829 |
if test "$hardcode_direct_GCJ" != no && |
|
18830 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
18831 |
# have to relink, otherwise we might link with an installed library |
|
18832 |
# when we should be linking with a yet-to-be-installed one |
|
18833 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && |
|
18834 |
test "$hardcode_minus_L_GCJ" != no; then |
|
18835 |
# Linking always hardcodes the temporary library directory. |
|
18836 |
hardcode_action_GCJ=relink |
|
18837 |
else |
|
18838 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
18839 |
hardcode_action_GCJ=immediate |
|
18840 |
fi |
|
18841 |
else |
|
18842 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
18843 |
# directories. |
|
18844 |
hardcode_action_GCJ=unsupported |
|
18845 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18846 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
18847 |
$as_echo "$hardcode_action_GCJ" >&6; } |
|
1
by paul-mccullagh
Initial import |
18848 |
|
18849 |
if test "$hardcode_action_GCJ" = relink; then |
|
18850 |
# Fast installation is not supported |
|
18851 |
enable_fast_install=no |
|
18852 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
18853 |
test "$enable_shared" = no; then |
|
18854 |
# Fast installation is not necessary |
|
18855 |
enable_fast_install=needless |
|
18856 |
fi |
|
18857 |
||
18858 |
||
18859 |
# The else clause should only fire when bootstrapping the |
|
18860 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
18861 |
# with your package, and you will get complaints that there are |
|
18862 |
# no rules to generate ltmain.sh. |
|
18863 |
if test -f "$ltmain"; then |
|
18864 |
# See if we are running on zsh, and set the options which allow our commands through |
|
18865 |
# without removal of \ escapes. |
|
18866 |
if test -n "${ZSH_VERSION+set}" ; then |
|
18867 |
setopt NO_GLOB_SUBST |
|
18868 |
fi |
|
18869 |
# Now quote all the things that may contain metacharacters while being |
|
18870 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
|
18871 |
# variables and quote the copies for generation of the libtool script. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18872 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
1
by paul-mccullagh
Initial import |
18873 |
SED SHELL STRIP \ |
18874 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
18875 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
18876 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
|
18877 |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
18878 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
18879 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
18880 |
old_postinstall_cmds old_postuninstall_cmds \ |
|
18881 |
compiler_GCJ \ |
|
18882 |
CC_GCJ \ |
|
18883 |
LD_GCJ \ |
|
18884 |
lt_prog_compiler_wl_GCJ \ |
|
18885 |
lt_prog_compiler_pic_GCJ \ |
|
18886 |
lt_prog_compiler_static_GCJ \ |
|
18887 |
lt_prog_compiler_no_builtin_flag_GCJ \ |
|
18888 |
export_dynamic_flag_spec_GCJ \ |
|
18889 |
thread_safe_flag_spec_GCJ \ |
|
18890 |
whole_archive_flag_spec_GCJ \ |
|
18891 |
enable_shared_with_static_runtimes_GCJ \ |
|
18892 |
old_archive_cmds_GCJ \ |
|
18893 |
old_archive_from_new_cmds_GCJ \ |
|
18894 |
predep_objects_GCJ \ |
|
18895 |
postdep_objects_GCJ \ |
|
18896 |
predeps_GCJ \ |
|
18897 |
postdeps_GCJ \ |
|
18898 |
compiler_lib_search_path_GCJ \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18899 |
compiler_lib_search_dirs_GCJ \ |
1
by paul-mccullagh
Initial import |
18900 |
archive_cmds_GCJ \ |
18901 |
archive_expsym_cmds_GCJ \ |
|
18902 |
postinstall_cmds_GCJ \ |
|
18903 |
postuninstall_cmds_GCJ \ |
|
18904 |
old_archive_from_expsyms_cmds_GCJ \ |
|
18905 |
allow_undefined_flag_GCJ \ |
|
18906 |
no_undefined_flag_GCJ \ |
|
18907 |
export_symbols_cmds_GCJ \ |
|
18908 |
hardcode_libdir_flag_spec_GCJ \ |
|
18909 |
hardcode_libdir_flag_spec_ld_GCJ \ |
|
18910 |
hardcode_libdir_separator_GCJ \ |
|
18911 |
hardcode_automatic_GCJ \ |
|
18912 |
module_cmds_GCJ \ |
|
18913 |
module_expsym_cmds_GCJ \ |
|
18914 |
lt_cv_prog_compiler_c_o_GCJ \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18915 |
fix_srcfile_path_GCJ \ |
1
by paul-mccullagh
Initial import |
18916 |
exclude_expsyms_GCJ \ |
18917 |
include_expsyms_GCJ; do |
|
18918 |
||
18919 |
case $var in |
|
18920 |
old_archive_cmds_GCJ | \ |
|
18921 |
old_archive_from_new_cmds_GCJ | \ |
|
18922 |
archive_cmds_GCJ | \ |
|
18923 |
archive_expsym_cmds_GCJ | \ |
|
18924 |
module_cmds_GCJ | \ |
|
18925 |
module_expsym_cmds_GCJ | \ |
|
18926 |
old_archive_from_expsyms_cmds_GCJ | \ |
|
18927 |
export_symbols_cmds_GCJ | \ |
|
18928 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
18929 |
postinstall_cmds | postuninstall_cmds | \ |
|
18930 |
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
18931 |
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
18932 |
# Double-quote double-evaled strings. |
|
18933 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
18934 |
;; |
|
18935 |
*) |
|
18936 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
18937 |
;; |
|
18938 |
esac |
|
18939 |
done |
|
18940 |
||
18941 |
case $lt_echo in |
|
18942 |
*'\$0 --fallback-echo"') |
|
18943 |
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
18944 |
;; |
|
18945 |
esac |
|
18946 |
||
18947 |
cfgfile="$ofile" |
|
18948 |
||
18949 |
cat <<__EOF__ >> "$cfgfile" |
|
18950 |
# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
18951 |
||
18952 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
18953 |
||
18954 |
# Shell to use when invoking shell scripts. |
|
18955 |
SHELL=$lt_SHELL |
|
18956 |
||
18957 |
# Whether or not to build shared libraries. |
|
18958 |
build_libtool_libs=$enable_shared |
|
18959 |
||
18960 |
# Whether or not to build static libraries. |
|
18961 |
build_old_libs=$enable_static |
|
18962 |
||
18963 |
# Whether or not to add -lc for building shared libraries. |
|
18964 |
build_libtool_need_lc=$archive_cmds_need_lc_GCJ |
|
18965 |
||
18966 |
# Whether or not to disallow shared libs when runtime libs are static |
|
18967 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ |
|
18968 |
||
18969 |
# Whether or not to optimize for fast installation. |
|
18970 |
fast_install=$enable_fast_install |
|
18971 |
||
18972 |
# The host system. |
|
18973 |
host_alias=$host_alias |
|
18974 |
host=$host |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18975 |
host_os=$host_os |
18976 |
||
18977 |
# The build system. |
|
18978 |
build_alias=$build_alias |
|
18979 |
build=$build |
|
18980 |
build_os=$build_os |
|
1
by paul-mccullagh
Initial import |
18981 |
|
18982 |
# An echo program that does not interpret backslashes. |
|
18983 |
echo=$lt_echo |
|
18984 |
||
18985 |
# The archiver. |
|
18986 |
AR=$lt_AR |
|
18987 |
AR_FLAGS=$lt_AR_FLAGS |
|
18988 |
||
18989 |
# A C compiler. |
|
18990 |
LTCC=$lt_LTCC |
|
18991 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
18992 |
# LTCC compiler flags. |
18993 |
LTCFLAGS=$lt_LTCFLAGS |
|
18994 |
||
1
by paul-mccullagh
Initial import |
18995 |
# A language-specific compiler. |
18996 |
CC=$lt_compiler_GCJ |
|
18997 |
||
18998 |
# Is the compiler the GNU C compiler? |
|
18999 |
with_gcc=$GCC_GCJ |
|
19000 |
||
19001 |
# An ERE matcher. |
|
19002 |
EGREP=$lt_EGREP |
|
19003 |
||
19004 |
# The linker used to build libraries. |
|
19005 |
LD=$lt_LD_GCJ |
|
19006 |
||
19007 |
# Whether we need hard or soft links. |
|
19008 |
LN_S=$lt_LN_S |
|
19009 |
||
19010 |
# A BSD-compatible nm program. |
|
19011 |
NM=$lt_NM |
|
19012 |
||
19013 |
# A symbol stripping program |
|
19014 |
STRIP=$lt_STRIP |
|
19015 |
||
19016 |
# Used to examine libraries when file_magic_cmd begins "file" |
|
19017 |
MAGIC_CMD=$MAGIC_CMD |
|
19018 |
||
19019 |
# Used on cygwin: DLL creation program. |
|
19020 |
DLLTOOL="$DLLTOOL" |
|
19021 |
||
19022 |
# Used on cygwin: object dumper. |
|
19023 |
OBJDUMP="$OBJDUMP" |
|
19024 |
||
19025 |
# Used on cygwin: assembler. |
|
19026 |
AS="$AS" |
|
19027 |
||
19028 |
# The name of the directory that contains temporary libtool files. |
|
19029 |
objdir=$objdir |
|
19030 |
||
19031 |
# How to create reloadable object files. |
|
19032 |
reload_flag=$lt_reload_flag |
|
19033 |
reload_cmds=$lt_reload_cmds |
|
19034 |
||
19035 |
# How to pass a linker flag through the compiler. |
|
19036 |
wl=$lt_lt_prog_compiler_wl_GCJ |
|
19037 |
||
19038 |
# Object file suffix (normally "o"). |
|
19039 |
objext="$ac_objext" |
|
19040 |
||
19041 |
# Old archive suffix (normally "a"). |
|
19042 |
libext="$libext" |
|
19043 |
||
19044 |
# Shared library suffix (normally ".so"). |
|
19045 |
shrext_cmds='$shrext_cmds' |
|
19046 |
||
19047 |
# Executable file suffix (normally ""). |
|
19048 |
exeext="$exeext" |
|
19049 |
||
19050 |
# Additional compiler flags for building library objects. |
|
19051 |
pic_flag=$lt_lt_prog_compiler_pic_GCJ |
|
19052 |
pic_mode=$pic_mode |
|
19053 |
||
19054 |
# What is the maximum length of a command? |
|
19055 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
19056 |
||
19057 |
# Does compiler simultaneously support -c and -o options? |
|
19058 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
|
19059 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19060 |
# Must we lock files when doing compilation? |
1
by paul-mccullagh
Initial import |
19061 |
need_locks=$lt_need_locks |
19062 |
||
19063 |
# Do we need the lib prefix for modules? |
|
19064 |
need_lib_prefix=$need_lib_prefix |
|
19065 |
||
19066 |
# Do we need a version for libraries? |
|
19067 |
need_version=$need_version |
|
19068 |
||
19069 |
# Whether dlopen is supported. |
|
19070 |
dlopen_support=$enable_dlopen |
|
19071 |
||
19072 |
# Whether dlopen of programs is supported. |
|
19073 |
dlopen_self=$enable_dlopen_self |
|
19074 |
||
19075 |
# Whether dlopen of statically linked programs is supported. |
|
19076 |
dlopen_self_static=$enable_dlopen_self_static |
|
19077 |
||
19078 |
# Compiler flag to prevent dynamic linking. |
|
19079 |
link_static_flag=$lt_lt_prog_compiler_static_GCJ |
|
19080 |
||
19081 |
# Compiler flag to turn off builtin functions. |
|
19082 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ |
|
19083 |
||
19084 |
# Compiler flag to allow reflexive dlopens. |
|
19085 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ |
|
19086 |
||
19087 |
# Compiler flag to generate shared objects directly from archives. |
|
19088 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ |
|
19089 |
||
19090 |
# Compiler flag to generate thread-safe objects. |
|
19091 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ |
|
19092 |
||
19093 |
# Library versioning type. |
|
19094 |
version_type=$version_type |
|
19095 |
||
19096 |
# Format of library name prefix. |
|
19097 |
libname_spec=$lt_libname_spec |
|
19098 |
||
19099 |
# List of archive names. First name is the real one, the rest are links. |
|
19100 |
# The last name is the one that the linker finds with -lNAME. |
|
19101 |
library_names_spec=$lt_library_names_spec |
|
19102 |
||
19103 |
# The coded name of the library, if different from the real name. |
|
19104 |
soname_spec=$lt_soname_spec |
|
19105 |
||
19106 |
# Commands used to build and install an old-style archive. |
|
19107 |
RANLIB=$lt_RANLIB |
|
19108 |
old_archive_cmds=$lt_old_archive_cmds_GCJ |
|
19109 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
19110 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
19111 |
||
19112 |
# Create an old-style archive from a shared archive. |
|
19113 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ |
|
19114 |
||
19115 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
19116 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ |
|
19117 |
||
19118 |
# Commands used to build and install a shared archive. |
|
19119 |
archive_cmds=$lt_archive_cmds_GCJ |
|
19120 |
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ |
|
19121 |
postinstall_cmds=$lt_postinstall_cmds |
|
19122 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
19123 |
||
19124 |
# Commands used to build a loadable module (assumed same as above if empty) |
|
19125 |
module_cmds=$lt_module_cmds_GCJ |
|
19126 |
module_expsym_cmds=$lt_module_expsym_cmds_GCJ |
|
19127 |
||
19128 |
# Commands to strip libraries. |
|
19129 |
old_striplib=$lt_old_striplib |
|
19130 |
striplib=$lt_striplib |
|
19131 |
||
19132 |
# Dependencies to place before the objects being linked to create a |
|
19133 |
# shared library. |
|
19134 |
predep_objects=$lt_predep_objects_GCJ |
|
19135 |
||
19136 |
# Dependencies to place after the objects being linked to create a |
|
19137 |
# shared library. |
|
19138 |
postdep_objects=$lt_postdep_objects_GCJ |
|
19139 |
||
19140 |
# Dependencies to place before the objects being linked to create a |
|
19141 |
# shared library. |
|
19142 |
predeps=$lt_predeps_GCJ |
|
19143 |
||
19144 |
# Dependencies to place after the objects being linked to create a |
|
19145 |
# shared library. |
|
19146 |
postdeps=$lt_postdeps_GCJ |
|
19147 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19148 |
# The directories searched by this compiler when creating a shared |
19149 |
# library |
|
19150 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ |
|
19151 |
||
1
by paul-mccullagh
Initial import |
19152 |
# The library search path used internally by the compiler when linking |
19153 |
# a shared library. |
|
19154 |
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ |
|
19155 |
||
19156 |
# Method to check whether dependent libraries are shared objects. |
|
19157 |
deplibs_check_method=$lt_deplibs_check_method |
|
19158 |
||
19159 |
# Command to use when deplibs_check_method == file_magic. |
|
19160 |
file_magic_cmd=$lt_file_magic_cmd |
|
19161 |
||
19162 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
19163 |
allow_undefined_flag=$lt_allow_undefined_flag_GCJ |
|
19164 |
||
19165 |
# Flag that forces no undefined symbols. |
|
19166 |
no_undefined_flag=$lt_no_undefined_flag_GCJ |
|
19167 |
||
19168 |
# Commands used to finish a libtool library installation in a directory. |
|
19169 |
finish_cmds=$lt_finish_cmds |
|
19170 |
||
19171 |
# Same as above, but a single script fragment to be evaled but not shown. |
|
19172 |
finish_eval=$lt_finish_eval |
|
19173 |
||
19174 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
19175 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
19176 |
||
19177 |
# Transform the output of nm in a proper C declaration |
|
19178 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
19179 |
||
19180 |
# Transform the output of nm in a C name address pair |
|
19181 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
19182 |
||
19183 |
# This is the shared library runtime path variable. |
|
19184 |
runpath_var=$runpath_var |
|
19185 |
||
19186 |
# This is the shared library path variable. |
|
19187 |
shlibpath_var=$shlibpath_var |
|
19188 |
||
19189 |
# Is shlibpath searched before the hard-coded library search path? |
|
19190 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
19191 |
||
19192 |
# How to hardcode a shared library path into an executable. |
|
19193 |
hardcode_action=$hardcode_action_GCJ |
|
19194 |
||
19195 |
# Whether we should hardcode library paths into libraries. |
|
19196 |
hardcode_into_libs=$hardcode_into_libs |
|
19197 |
||
19198 |
# Flag to hardcode \$libdir into a binary during linking. |
|
19199 |
# This must work even if \$libdir does not exist. |
|
19200 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ |
|
19201 |
||
19202 |
# If ld is used when linking, flag to hardcode \$libdir into |
|
19203 |
# a binary during linking. This must work even if \$libdir does |
|
19204 |
# not exist. |
|
19205 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ |
|
19206 |
||
19207 |
# Whether we need a single -rpath flag with a separated argument. |
|
19208 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ |
|
19209 |
||
19210 |
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
19211 |
# resulting binary. |
|
19212 |
hardcode_direct=$hardcode_direct_GCJ |
|
19213 |
||
19214 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
19215 |
# resulting binary. |
|
19216 |
hardcode_minus_L=$hardcode_minus_L_GCJ |
|
19217 |
||
19218 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
19219 |
# the resulting binary. |
|
19220 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ |
|
19221 |
||
19222 |
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
19223 |
# and all subsequent libraries and executables linked against it. |
|
19224 |
hardcode_automatic=$hardcode_automatic_GCJ |
|
19225 |
||
19226 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
19227 |
# restored at relink time. |
|
19228 |
variables_saved_for_relink="$variables_saved_for_relink" |
|
19229 |
||
19230 |
# Whether libtool must link a program against all its dependency libraries. |
|
19231 |
link_all_deplibs=$link_all_deplibs_GCJ |
|
19232 |
||
19233 |
# Compile-time system search path for libraries |
|
19234 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
19235 |
||
19236 |
# Run-time system search path for libraries |
|
19237 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
19238 |
||
19239 |
# Fix the shell variable \$srcfile for the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19240 |
fix_srcfile_path=$lt_fix_srcfile_path |
1
by paul-mccullagh
Initial import |
19241 |
|
19242 |
# Set to yes if exported symbols are required. |
|
19243 |
always_export_symbols=$always_export_symbols_GCJ |
|
19244 |
||
19245 |
# The commands to list exported symbols. |
|
19246 |
export_symbols_cmds=$lt_export_symbols_cmds_GCJ |
|
19247 |
||
19248 |
# The commands to extract the exported symbol list from a shared archive. |
|
19249 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
19250 |
||
19251 |
# Symbols that should not be listed in the preloaded symbols. |
|
19252 |
exclude_expsyms=$lt_exclude_expsyms_GCJ |
|
19253 |
||
19254 |
# Symbols that must always be exported. |
|
19255 |
include_expsyms=$lt_include_expsyms_GCJ |
|
19256 |
||
19257 |
# ### END LIBTOOL TAG CONFIG: $tagname |
|
19258 |
||
19259 |
__EOF__ |
|
19260 |
||
19261 |
||
19262 |
else |
|
19263 |
# If there is no Makefile yet, we rely on a make rule to execute |
|
19264 |
# `config.status --recheck' to rerun these tests and create the |
|
19265 |
# libtool script then. |
|
19266 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
19267 |
if test -f "$ltmain_in"; then |
|
19268 |
test -f Makefile && make "$ltmain" |
|
19269 |
fi |
|
19270 |
fi |
|
19271 |
||
19272 |
||
19273 |
ac_ext=c |
|
19274 |
ac_cpp='$CPP $CPPFLAGS' |
|
19275 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
19276 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
19277 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
19278 |
||
19279 |
CC="$lt_save_CC" |
|
19280 |
||
19281 |
else |
|
19282 |
tagname="" |
|
19283 |
fi |
|
19284 |
;; |
|
19285 |
||
19286 |
RC) |
|
19287 |
||
19288 |
||
19289 |
# Source file extension for RC test sources. |
|
19290 |
ac_ext=rc |
|
19291 |
||
19292 |
# Object file extension for compiled RC test sources. |
|
19293 |
objext=o |
|
19294 |
objext_RC=$objext |
|
19295 |
||
19296 |
# Code to be used in simple compile tests |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19297 |
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' |
1
by paul-mccullagh
Initial import |
19298 |
|
19299 |
# Code to be used in simple link tests |
|
19300 |
lt_simple_link_test_code="$lt_simple_compile_test_code" |
|
19301 |
||
19302 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
19303 |
||
19304 |
# If no C compiler was specified, use CC. |
|
19305 |
LTCC=${LTCC-"$CC"} |
|
19306 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19307 |
# If no C compiler flags were specified, use CFLAGS. |
19308 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
19309 |
||
1
by paul-mccullagh
Initial import |
19310 |
# Allow CC to be a program name with arguments. |
19311 |
compiler=$CC |
|
19312 |
||
19313 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19314 |
# save warnings/boilerplate of simple test code |
19315 |
ac_outfile=conftest.$ac_objext |
|
19316 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
19317 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
19318 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
19319 |
$rm conftest* |
|
19320 |
||
19321 |
ac_outfile=conftest.$ac_objext |
|
19322 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
19323 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
19324 |
_lt_linker_boilerplate=`cat conftest.err` |
|
19325 |
$rm -r conftest* |
|
19326 |
||
19327 |
||
1
by paul-mccullagh
Initial import |
19328 |
# Allow CC to be a program name with arguments. |
19329 |
lt_save_CC="$CC" |
|
19330 |
CC=${RC-"windres"} |
|
19331 |
compiler=$CC |
|
19332 |
compiler_RC=$CC |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19333 |
for cc_temp in $compiler""; do |
19334 |
case $cc_temp in |
|
19335 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
19336 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
19337 |
\-*) ;; |
|
19338 |
*) break;; |
|
19339 |
esac |
|
19340 |
done |
|
19341 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
19342 |
||
1
by paul-mccullagh
Initial import |
19343 |
lt_cv_prog_compiler_c_o_RC=yes |
19344 |
||
19345 |
# The else clause should only fire when bootstrapping the |
|
19346 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
19347 |
# with your package, and you will get complaints that there are |
|
19348 |
# no rules to generate ltmain.sh. |
|
19349 |
if test -f "$ltmain"; then |
|
19350 |
# See if we are running on zsh, and set the options which allow our commands through |
|
19351 |
# without removal of \ escapes. |
|
19352 |
if test -n "${ZSH_VERSION+set}" ; then |
|
19353 |
setopt NO_GLOB_SUBST |
|
19354 |
fi |
|
19355 |
# Now quote all the things that may contain metacharacters while being |
|
19356 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
|
19357 |
# variables and quote the copies for generation of the libtool script. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19358 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
1
by paul-mccullagh
Initial import |
19359 |
SED SHELL STRIP \ |
19360 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
19361 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
19362 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
|
19363 |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
19364 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
19365 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
19366 |
old_postinstall_cmds old_postuninstall_cmds \ |
|
19367 |
compiler_RC \ |
|
19368 |
CC_RC \ |
|
19369 |
LD_RC \ |
|
19370 |
lt_prog_compiler_wl_RC \ |
|
19371 |
lt_prog_compiler_pic_RC \ |
|
19372 |
lt_prog_compiler_static_RC \ |
|
19373 |
lt_prog_compiler_no_builtin_flag_RC \ |
|
19374 |
export_dynamic_flag_spec_RC \ |
|
19375 |
thread_safe_flag_spec_RC \ |
|
19376 |
whole_archive_flag_spec_RC \ |
|
19377 |
enable_shared_with_static_runtimes_RC \ |
|
19378 |
old_archive_cmds_RC \ |
|
19379 |
old_archive_from_new_cmds_RC \ |
|
19380 |
predep_objects_RC \ |
|
19381 |
postdep_objects_RC \ |
|
19382 |
predeps_RC \ |
|
19383 |
postdeps_RC \ |
|
19384 |
compiler_lib_search_path_RC \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19385 |
compiler_lib_search_dirs_RC \ |
1
by paul-mccullagh
Initial import |
19386 |
archive_cmds_RC \ |
19387 |
archive_expsym_cmds_RC \ |
|
19388 |
postinstall_cmds_RC \ |
|
19389 |
postuninstall_cmds_RC \ |
|
19390 |
old_archive_from_expsyms_cmds_RC \ |
|
19391 |
allow_undefined_flag_RC \ |
|
19392 |
no_undefined_flag_RC \ |
|
19393 |
export_symbols_cmds_RC \ |
|
19394 |
hardcode_libdir_flag_spec_RC \ |
|
19395 |
hardcode_libdir_flag_spec_ld_RC \ |
|
19396 |
hardcode_libdir_separator_RC \ |
|
19397 |
hardcode_automatic_RC \ |
|
19398 |
module_cmds_RC \ |
|
19399 |
module_expsym_cmds_RC \ |
|
19400 |
lt_cv_prog_compiler_c_o_RC \ |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19401 |
fix_srcfile_path_RC \ |
1
by paul-mccullagh
Initial import |
19402 |
exclude_expsyms_RC \ |
19403 |
include_expsyms_RC; do |
|
19404 |
||
19405 |
case $var in |
|
19406 |
old_archive_cmds_RC | \ |
|
19407 |
old_archive_from_new_cmds_RC | \ |
|
19408 |
archive_cmds_RC | \ |
|
19409 |
archive_expsym_cmds_RC | \ |
|
19410 |
module_cmds_RC | \ |
|
19411 |
module_expsym_cmds_RC | \ |
|
19412 |
old_archive_from_expsyms_cmds_RC | \ |
|
19413 |
export_symbols_cmds_RC | \ |
|
19414 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
19415 |
postinstall_cmds | postuninstall_cmds | \ |
|
19416 |
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
19417 |
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
19418 |
# Double-quote double-evaled strings. |
|
19419 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
19420 |
;; |
|
19421 |
*) |
|
19422 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
19423 |
;; |
|
19424 |
esac |
|
19425 |
done |
|
19426 |
||
19427 |
case $lt_echo in |
|
19428 |
*'\$0 --fallback-echo"') |
|
19429 |
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
19430 |
;; |
|
19431 |
esac |
|
19432 |
||
19433 |
cfgfile="$ofile" |
|
19434 |
||
19435 |
cat <<__EOF__ >> "$cfgfile" |
|
19436 |
# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
19437 |
||
19438 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
19439 |
||
19440 |
# Shell to use when invoking shell scripts. |
|
19441 |
SHELL=$lt_SHELL |
|
19442 |
||
19443 |
# Whether or not to build shared libraries. |
|
19444 |
build_libtool_libs=$enable_shared |
|
19445 |
||
19446 |
# Whether or not to build static libraries. |
|
19447 |
build_old_libs=$enable_static |
|
19448 |
||
19449 |
# Whether or not to add -lc for building shared libraries. |
|
19450 |
build_libtool_need_lc=$archive_cmds_need_lc_RC |
|
19451 |
||
19452 |
# Whether or not to disallow shared libs when runtime libs are static |
|
19453 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC |
|
19454 |
||
19455 |
# Whether or not to optimize for fast installation. |
|
19456 |
fast_install=$enable_fast_install |
|
19457 |
||
19458 |
# The host system. |
|
19459 |
host_alias=$host_alias |
|
19460 |
host=$host |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19461 |
host_os=$host_os |
19462 |
||
19463 |
# The build system. |
|
19464 |
build_alias=$build_alias |
|
19465 |
build=$build |
|
19466 |
build_os=$build_os |
|
1
by paul-mccullagh
Initial import |
19467 |
|
19468 |
# An echo program that does not interpret backslashes. |
|
19469 |
echo=$lt_echo |
|
19470 |
||
19471 |
# The archiver. |
|
19472 |
AR=$lt_AR |
|
19473 |
AR_FLAGS=$lt_AR_FLAGS |
|
19474 |
||
19475 |
# A C compiler. |
|
19476 |
LTCC=$lt_LTCC |
|
19477 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19478 |
# LTCC compiler flags. |
19479 |
LTCFLAGS=$lt_LTCFLAGS |
|
19480 |
||
1
by paul-mccullagh
Initial import |
19481 |
# A language-specific compiler. |
19482 |
CC=$lt_compiler_RC |
|
19483 |
||
19484 |
# Is the compiler the GNU C compiler? |
|
19485 |
with_gcc=$GCC_RC |
|
19486 |
||
19487 |
# An ERE matcher. |
|
19488 |
EGREP=$lt_EGREP |
|
19489 |
||
19490 |
# The linker used to build libraries. |
|
19491 |
LD=$lt_LD_RC |
|
19492 |
||
19493 |
# Whether we need hard or soft links. |
|
19494 |
LN_S=$lt_LN_S |
|
19495 |
||
19496 |
# A BSD-compatible nm program. |
|
19497 |
NM=$lt_NM |
|
19498 |
||
19499 |
# A symbol stripping program |
|
19500 |
STRIP=$lt_STRIP |
|
19501 |
||
19502 |
# Used to examine libraries when file_magic_cmd begins "file" |
|
19503 |
MAGIC_CMD=$MAGIC_CMD |
|
19504 |
||
19505 |
# Used on cygwin: DLL creation program. |
|
19506 |
DLLTOOL="$DLLTOOL" |
|
19507 |
||
19508 |
# Used on cygwin: object dumper. |
|
19509 |
OBJDUMP="$OBJDUMP" |
|
19510 |
||
19511 |
# Used on cygwin: assembler. |
|
19512 |
AS="$AS" |
|
19513 |
||
19514 |
# The name of the directory that contains temporary libtool files. |
|
19515 |
objdir=$objdir |
|
19516 |
||
19517 |
# How to create reloadable object files. |
|
19518 |
reload_flag=$lt_reload_flag |
|
19519 |
reload_cmds=$lt_reload_cmds |
|
19520 |
||
19521 |
# How to pass a linker flag through the compiler. |
|
19522 |
wl=$lt_lt_prog_compiler_wl_RC |
|
19523 |
||
19524 |
# Object file suffix (normally "o"). |
|
19525 |
objext="$ac_objext" |
|
19526 |
||
19527 |
# Old archive suffix (normally "a"). |
|
19528 |
libext="$libext" |
|
19529 |
||
19530 |
# Shared library suffix (normally ".so"). |
|
19531 |
shrext_cmds='$shrext_cmds' |
|
19532 |
||
19533 |
# Executable file suffix (normally ""). |
|
19534 |
exeext="$exeext" |
|
19535 |
||
19536 |
# Additional compiler flags for building library objects. |
|
19537 |
pic_flag=$lt_lt_prog_compiler_pic_RC |
|
19538 |
pic_mode=$pic_mode |
|
19539 |
||
19540 |
# What is the maximum length of a command? |
|
19541 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
19542 |
||
19543 |
# Does compiler simultaneously support -c and -o options? |
|
19544 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
|
19545 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19546 |
# Must we lock files when doing compilation? |
1
by paul-mccullagh
Initial import |
19547 |
need_locks=$lt_need_locks |
19548 |
||
19549 |
# Do we need the lib prefix for modules? |
|
19550 |
need_lib_prefix=$need_lib_prefix |
|
19551 |
||
19552 |
# Do we need a version for libraries? |
|
19553 |
need_version=$need_version |
|
19554 |
||
19555 |
# Whether dlopen is supported. |
|
19556 |
dlopen_support=$enable_dlopen |
|
19557 |
||
19558 |
# Whether dlopen of programs is supported. |
|
19559 |
dlopen_self=$enable_dlopen_self |
|
19560 |
||
19561 |
# Whether dlopen of statically linked programs is supported. |
|
19562 |
dlopen_self_static=$enable_dlopen_self_static |
|
19563 |
||
19564 |
# Compiler flag to prevent dynamic linking. |
|
19565 |
link_static_flag=$lt_lt_prog_compiler_static_RC |
|
19566 |
||
19567 |
# Compiler flag to turn off builtin functions. |
|
19568 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC |
|
19569 |
||
19570 |
# Compiler flag to allow reflexive dlopens. |
|
19571 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC |
|
19572 |
||
19573 |
# Compiler flag to generate shared objects directly from archives. |
|
19574 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC |
|
19575 |
||
19576 |
# Compiler flag to generate thread-safe objects. |
|
19577 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC |
|
19578 |
||
19579 |
# Library versioning type. |
|
19580 |
version_type=$version_type |
|
19581 |
||
19582 |
# Format of library name prefix. |
|
19583 |
libname_spec=$lt_libname_spec |
|
19584 |
||
19585 |
# List of archive names. First name is the real one, the rest are links. |
|
19586 |
# The last name is the one that the linker finds with -lNAME. |
|
19587 |
library_names_spec=$lt_library_names_spec |
|
19588 |
||
19589 |
# The coded name of the library, if different from the real name. |
|
19590 |
soname_spec=$lt_soname_spec |
|
19591 |
||
19592 |
# Commands used to build and install an old-style archive. |
|
19593 |
RANLIB=$lt_RANLIB |
|
19594 |
old_archive_cmds=$lt_old_archive_cmds_RC |
|
19595 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
19596 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
19597 |
||
19598 |
# Create an old-style archive from a shared archive. |
|
19599 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC |
|
19600 |
||
19601 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
19602 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC |
|
19603 |
||
19604 |
# Commands used to build and install a shared archive. |
|
19605 |
archive_cmds=$lt_archive_cmds_RC |
|
19606 |
archive_expsym_cmds=$lt_archive_expsym_cmds_RC |
|
19607 |
postinstall_cmds=$lt_postinstall_cmds |
|
19608 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
19609 |
||
19610 |
# Commands used to build a loadable module (assumed same as above if empty) |
|
19611 |
module_cmds=$lt_module_cmds_RC |
|
19612 |
module_expsym_cmds=$lt_module_expsym_cmds_RC |
|
19613 |
||
19614 |
# Commands to strip libraries. |
|
19615 |
old_striplib=$lt_old_striplib |
|
19616 |
striplib=$lt_striplib |
|
19617 |
||
19618 |
# Dependencies to place before the objects being linked to create a |
|
19619 |
# shared library. |
|
19620 |
predep_objects=$lt_predep_objects_RC |
|
19621 |
||
19622 |
# Dependencies to place after the objects being linked to create a |
|
19623 |
# shared library. |
|
19624 |
postdep_objects=$lt_postdep_objects_RC |
|
19625 |
||
19626 |
# Dependencies to place before the objects being linked to create a |
|
19627 |
# shared library. |
|
19628 |
predeps=$lt_predeps_RC |
|
19629 |
||
19630 |
# Dependencies to place after the objects being linked to create a |
|
19631 |
# shared library. |
|
19632 |
postdeps=$lt_postdeps_RC |
|
19633 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19634 |
# The directories searched by this compiler when creating a shared |
19635 |
# library |
|
19636 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC |
|
19637 |
||
1
by paul-mccullagh
Initial import |
19638 |
# The library search path used internally by the compiler when linking |
19639 |
# a shared library. |
|
19640 |
compiler_lib_search_path=$lt_compiler_lib_search_path_RC |
|
19641 |
||
19642 |
# Method to check whether dependent libraries are shared objects. |
|
19643 |
deplibs_check_method=$lt_deplibs_check_method |
|
19644 |
||
19645 |
# Command to use when deplibs_check_method == file_magic. |
|
19646 |
file_magic_cmd=$lt_file_magic_cmd |
|
19647 |
||
19648 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
19649 |
allow_undefined_flag=$lt_allow_undefined_flag_RC |
|
19650 |
||
19651 |
# Flag that forces no undefined symbols. |
|
19652 |
no_undefined_flag=$lt_no_undefined_flag_RC |
|
19653 |
||
19654 |
# Commands used to finish a libtool library installation in a directory. |
|
19655 |
finish_cmds=$lt_finish_cmds |
|
19656 |
||
19657 |
# Same as above, but a single script fragment to be evaled but not shown. |
|
19658 |
finish_eval=$lt_finish_eval |
|
19659 |
||
19660 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
19661 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
19662 |
||
19663 |
# Transform the output of nm in a proper C declaration |
|
19664 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
19665 |
||
19666 |
# Transform the output of nm in a C name address pair |
|
19667 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
19668 |
||
19669 |
# This is the shared library runtime path variable. |
|
19670 |
runpath_var=$runpath_var |
|
19671 |
||
19672 |
# This is the shared library path variable. |
|
19673 |
shlibpath_var=$shlibpath_var |
|
19674 |
||
19675 |
# Is shlibpath searched before the hard-coded library search path? |
|
19676 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
19677 |
||
19678 |
# How to hardcode a shared library path into an executable. |
|
19679 |
hardcode_action=$hardcode_action_RC |
|
19680 |
||
19681 |
# Whether we should hardcode library paths into libraries. |
|
19682 |
hardcode_into_libs=$hardcode_into_libs |
|
19683 |
||
19684 |
# Flag to hardcode \$libdir into a binary during linking. |
|
19685 |
# This must work even if \$libdir does not exist. |
|
19686 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC |
|
19687 |
||
19688 |
# If ld is used when linking, flag to hardcode \$libdir into |
|
19689 |
# a binary during linking. This must work even if \$libdir does |
|
19690 |
# not exist. |
|
19691 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC |
|
19692 |
||
19693 |
# Whether we need a single -rpath flag with a separated argument. |
|
19694 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC |
|
19695 |
||
19696 |
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
19697 |
# resulting binary. |
|
19698 |
hardcode_direct=$hardcode_direct_RC |
|
19699 |
||
19700 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
19701 |
# resulting binary. |
|
19702 |
hardcode_minus_L=$hardcode_minus_L_RC |
|
19703 |
||
19704 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
19705 |
# the resulting binary. |
|
19706 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC |
|
19707 |
||
19708 |
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
19709 |
# and all subsequent libraries and executables linked against it. |
|
19710 |
hardcode_automatic=$hardcode_automatic_RC |
|
19711 |
||
19712 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
19713 |
# restored at relink time. |
|
19714 |
variables_saved_for_relink="$variables_saved_for_relink" |
|
19715 |
||
19716 |
# Whether libtool must link a program against all its dependency libraries. |
|
19717 |
link_all_deplibs=$link_all_deplibs_RC |
|
19718 |
||
19719 |
# Compile-time system search path for libraries |
|
19720 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
19721 |
||
19722 |
# Run-time system search path for libraries |
|
19723 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
19724 |
||
19725 |
# Fix the shell variable \$srcfile for the compiler. |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19726 |
fix_srcfile_path=$lt_fix_srcfile_path |
1
by paul-mccullagh
Initial import |
19727 |
|
19728 |
# Set to yes if exported symbols are required. |
|
19729 |
always_export_symbols=$always_export_symbols_RC |
|
19730 |
||
19731 |
# The commands to list exported symbols. |
|
19732 |
export_symbols_cmds=$lt_export_symbols_cmds_RC |
|
19733 |
||
19734 |
# The commands to extract the exported symbol list from a shared archive. |
|
19735 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
19736 |
||
19737 |
# Symbols that should not be listed in the preloaded symbols. |
|
19738 |
exclude_expsyms=$lt_exclude_expsyms_RC |
|
19739 |
||
19740 |
# Symbols that must always be exported. |
|
19741 |
include_expsyms=$lt_include_expsyms_RC |
|
19742 |
||
19743 |
# ### END LIBTOOL TAG CONFIG: $tagname |
|
19744 |
||
19745 |
__EOF__ |
|
19746 |
||
19747 |
||
19748 |
else |
|
19749 |
# If there is no Makefile yet, we rely on a make rule to execute |
|
19750 |
# `config.status --recheck' to rerun these tests and create the |
|
19751 |
# libtool script then. |
|
19752 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
19753 |
if test -f "$ltmain_in"; then |
|
19754 |
test -f Makefile && make "$ltmain" |
|
19755 |
fi |
|
19756 |
fi |
|
19757 |
||
19758 |
||
19759 |
ac_ext=c |
|
19760 |
ac_cpp='$CPP $CPPFLAGS' |
|
19761 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
19762 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
19763 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
19764 |
||
19765 |
CC="$lt_save_CC" |
|
19766 |
||
19767 |
;; |
|
19768 |
||
19769 |
*) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19770 |
{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 |
19771 |
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;} |
|
1
by paul-mccullagh
Initial import |
19772 |
{ (exit 1); exit 1; }; } |
19773 |
;; |
|
19774 |
esac |
|
19775 |
||
19776 |
# Append the new tag name to the list of available tags. |
|
19777 |
if test -n "$tagname" ; then |
|
19778 |
available_tags="$available_tags $tagname" |
|
19779 |
fi |
|
19780 |
fi |
|
19781 |
done |
|
19782 |
IFS="$lt_save_ifs" |
|
19783 |
||
19784 |
# Now substitute the updated list of available tags. |
|
19785 |
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then |
|
19786 |
mv "${ofile}T" "$ofile" |
|
19787 |
chmod +x "$ofile" |
|
19788 |
else |
|
19789 |
rm -f "${ofile}T" |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19790 |
{ { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 |
19791 |
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;} |
|
1
by paul-mccullagh
Initial import |
19792 |
{ (exit 1); exit 1; }; } |
19793 |
fi |
|
19794 |
fi |
|
19795 |
||
19796 |
||
19797 |
||
19798 |
# This can be used to rebuild libtool when needed |
|
19799 |
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
|
19800 |
||
19801 |
# Always use our own libtool. |
|
19802 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
19803 |
||
19804 |
# Prevent multiple expansion |
|
19805 |
||
19806 |
||
19807 |
||
19808 |
||
19809 |
||
19810 |
||
19811 |
||
19812 |
||
19813 |
||
19814 |
||
19815 |
||
19816 |
||
19817 |
||
19818 |
||
19819 |
||
19820 |
||
19821 |
||
19822 |
||
19823 |
||
19824 |
||
19825 |
LIBTOOL="$LIBTOOL --preserve-dup-deps" |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19826 |
if test -n "$ac_tool_prefix"; then |
19827 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
19828 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19829 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
19830 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19831 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19832 |
$as_echo_n "(cached) " >&6 |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19833 |
else |
19834 |
if test -n "$RANLIB"; then |
|
19835 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
19836 |
else |
|
19837 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
19838 |
for as_dir in $PATH |
|
19839 |
do |
|
19840 |
IFS=$as_save_IFS |
|
19841 |
test -z "$as_dir" && as_dir=. |
|
19842 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19843 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19844 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19845 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19846 |
break 2 |
19847 |
fi |
|
19848 |
done |
|
19849 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19850 |
IFS=$as_save_IFS |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19851 |
|
19852 |
fi |
|
19853 |
fi |
|
19854 |
RANLIB=$ac_cv_prog_RANLIB |
|
19855 |
if test -n "$RANLIB"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19856 |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
19857 |
$as_echo "$RANLIB" >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19858 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19859 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
19860 |
$as_echo "no" >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19861 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19862 |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19863 |
|
19864 |
fi |
|
19865 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
19866 |
ac_ct_RANLIB=$RANLIB |
|
19867 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
19868 |
set dummy ranlib; ac_word=$2 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19869 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
19870 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19871 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19872 |
$as_echo_n "(cached) " >&6 |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19873 |
else |
19874 |
if test -n "$ac_ct_RANLIB"; then |
|
19875 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
19876 |
else |
|
19877 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
19878 |
for as_dir in $PATH |
|
19879 |
do |
|
19880 |
IFS=$as_save_IFS |
|
19881 |
test -z "$as_dir" && as_dir=. |
|
19882 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19883 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19884 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19885 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19886 |
break 2 |
19887 |
fi |
|
19888 |
done |
|
19889 |
done |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19890 |
IFS=$as_save_IFS |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19891 |
|
19892 |
fi |
|
19893 |
fi |
|
19894 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
19895 |
if test -n "$ac_ct_RANLIB"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19896 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
19897 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19898 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19899 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
19900 |
$as_echo "no" >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19901 |
fi |
19902 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19903 |
if test "x$ac_ct_RANLIB" = x; then |
19904 |
RANLIB=":" |
|
19905 |
else |
|
19906 |
case $cross_compiling:$ac_tool_warned in |
|
19907 |
yes:) |
|
19908 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
19909 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
19910 |
ac_tool_warned=yes ;; |
|
19911 |
esac |
|
19912 |
RANLIB=$ac_ct_RANLIB |
|
19913 |
fi |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19914 |
else |
19915 |
RANLIB="$ac_cv_prog_RANLIB" |
|
19916 |
fi |
|
19917 |
||
19918 |
||
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19919 |
|
19920 |
||
19921 |
||
19922 |
||
19923 |
||
19924 |
||
19925 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19926 |
{ $as_echo "$as_me:$LINENO: checking for mysql source code" >&5 |
19927 |
$as_echo_n "checking for mysql source code... " >&6; } |
|
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19928 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19929 |
# Check whether --with-mysql was given. |
1
by paul-mccullagh
Initial import |
19930 |
if test "${with_mysql+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19931 |
withval=$with_mysql; ENG_MYSQL_SRC="$withval" |
7
by paul-mccullagh
Fixed configure |
19932 |
else |
19933 |
ENG_MYSQL_SRC="../.." |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19934 |
fi |
19935 |
||
7
by paul-mccullagh
Fixed configure |
19936 |
if test "$ENG_MYSQL_SRC" = "no"; then |
19937 |
ENG_MYSQL_SRC="../.." |
|
19938 |
fi; |
|
19939 |
if test -d "$ENG_MYSQL_SRC/sql"; then |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19940 |
ENG_MYSQL_SRC=`(cd $ENG_MYSQL_SRC && pwd;)` |
1
by paul-mccullagh
Initial import |
19941 |
|
19942 |
cat >>confdefs.h <<\_ACEOF |
|
7
by paul-mccullagh
Fixed configure |
19943 |
#define ENG_MYSQL_SRC 1 |
1
by paul-mccullagh
Initial import |
19944 |
_ACEOF |
19945 |
||
7
by paul-mccullagh
Fixed configure |
19946 |
ENG_MYSQL_INC="-I$ENG_MYSQL_SRC/sql -I$ENG_MYSQL_SRC/include -I$ENG_MYSQL_SRC/regex -I$ENG_MYSQL_SRC" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19947 |
ENG_DRIZZLE_FLAG="" |
19948 |
MYSQ_SERVER_TYPE="mysql" |
|
19949 |
MYSQL_DIR="mysql" |
|
19950 |
MYSQ_CLIENT_LIB="mysqlclient_r" |
|
19951 |
{ $as_echo "$as_me:$LINENO: result: \"$ENG_MYSQL_SRC\"" >&5 |
|
19952 |
$as_echo "\"$ENG_MYSQL_SRC\"" >&6; } |
|
7
by paul-mccullagh
Fixed configure |
19953 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19954 |
if test -d "$ENG_MYSQL_SRC/drizzled"; then |
19955 |
ENG_MYSQL_SRC=`(cd $ENG_MYSQL_SRC && pwd;)` |
|
19956 |
||
19957 |
cat >>confdefs.h <<\_ACEOF |
|
19958 |
#define ENG_MYSQL_SRC 1 |
|
19959 |
_ACEOF |
|
19960 |
||
19961 |
ENG_MYSQL_INC="-I$ENG_MYSQL_SRC" |
|
19962 |
ENG_DRIZZLE_FLAG="-DDRIZZLED" |
|
19963 |
MYSQL_DIR="" |
|
19964 |
MYSQ_SERVER_TYPE="drizzle" |
|
19965 |
MYSQ_CLIENT_LIB="drizzle" |
|
19966 |
{ $as_echo "$as_me:$LINENO: result: \"$ENG_MYSQL_SRC\"" >&5 |
|
19967 |
$as_echo "\"$ENG_MYSQL_SRC\"" >&6; } |
|
19968 |
else |
|
19969 |
{ { $as_echo "$as_me:$LINENO: error: \"no MySQL source found at $ENG_MYSQL_SRC\"" >&5 |
|
19970 |
$as_echo "$as_me: error: \"no MySQL source found at $ENG_MYSQL_SRC\"" >&2;} |
|
1
by paul-mccullagh
Initial import |
19971 |
{ (exit 1); exit 1; }; } |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19972 |
fi |
7
by paul-mccullagh
Fixed configure |
19973 |
fi |
19974 |
||
19975 |
||
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19976 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19977 |
{ $as_echo "$as_me:$LINENO: checking for mysql configuration settings" >&5 |
19978 |
$as_echo_n "checking for mysql configuration settings... " >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19979 |
if test -f $ENG_MYSQL_SRC/config.status ; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19980 |
pbxt_mysql_op=`echo '@exec_prefix@' | ./config.status --file=-` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19981 |
if test "x$pbxt_mysql_op" != "x" ; then |
19982 |
exec_prefix=$pbxt_mysql_op |
|
19983 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19984 |
pbxt_mysql_op=`echo '@prefix@' | $ENG_MYSQL_SRC/config.status --file=-` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19985 |
if test "x$pbxt_mysql_op" != "x" ; then |
19986 |
prefix=$pbxt_mysql_op |
|
19987 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19988 |
pbxt_mysql_op=`echo '@libdir@' | $ENG_MYSQL_SRC/config.status --file=-` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19989 |
if test "x$pbxt_mysql_op" != "x" ; then |
19990 |
libdir=$pbxt_mysql_op |
|
19991 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19992 |
pbxt_mysql_op=`echo '@includedir@' | $ENG_MYSQL_SRC/config.status --file=-` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19993 |
if test "x$pbxt_mysql_op" != "x" ; then |
19994 |
includedir=$pbxt_mysql_op |
|
19995 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
19996 |
pbxt_mysql_op=`echo '@CFLAGS@' | $ENG_MYSQL_SRC/config.status --file=- | sed "s/-g / /" | sed "s/-O[0-9]* / /"` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
19997 |
if test "x$pbxt_mysql_op" != "x" ; then |
19998 |
MYSQL_CFLAGS=$pbxt_mysql_op |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
19999 |
else |
20000 |
MYSQL_CFLAGS="" |
|
20001 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20002 |
pbxt_mysql_op=`echo '@CXXFLAGS@' | $ENG_MYSQL_SRC/config.status --file=- | sed "s/-g / /" | sed "s/-O[0-9]* / /"` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
20003 |
if test "x$pbxt_mysql_op" != "x" ; then |
20004 |
MYSQL_CXXFLAGS=$pbxt_mysql_op |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
20005 |
else |
20006 |
MYSQL_CXXFLAGS="" |
|
20007 |
fi |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20008 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20009 |
MYSQL_CONFIGURE_COMMAND=`echo '@CONF_COMMAND@' | $ENG_MYSQL_SRC/config.status --file=-` |
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20010 |
pbxt_mysql_op=`echo $MYSQL_CONFIGURE_COMMAND| grep "with-debug"` |
54
by barry_leslie
Internal name changes from MyBS to PBMS. |
20011 |
if test "x$pbxt_mysql_op" != "x" ; then |
20012 |
MYSQL_DEBUG_LEVEL=`echo $pbxt_mysql_op | sed "s/.*--with-debug=//" | sed "s/'.*//"` |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
20013 |
else |
20014 |
MYSQL_DEBUG_LEVEL="no" |
|
20015 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20016 |
{ $as_echo "$as_me:$LINENO: result: \"$prefix\"" >&5 |
20017 |
$as_echo "\"$prefix\"" >&6; } |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
20018 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20019 |
{ { $as_echo "$as_me:$LINENO: error: \"no config.status found at $ENG_MYSQL_SRC\"" >&5 |
20020 |
$as_echo "$as_me: error: \"no config.status found at $ENG_MYSQL_SRC\"" >&2;} |
|
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
20021 |
{ (exit 1); exit 1; }; } |
20022 |
fi |
|
20023 |
||
20024 |
||
7
by paul-mccullagh
Fixed configure |
20025 |
# ----- AC_SUBST(ENG_MYSQL_INC) |
1
by paul-mccullagh
Initial import |
20026 |
|
20027 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20028 |
# ----- AC_SUBST(ENG_DRIZZLE_FLAG) |
20029 |
||
20030 |
||
20031 |
# ----- AC_SUBST(MYSQ_SERVER_TYPE) |
|
20032 |
||
20033 |
||
20034 |
# ----- AC_SUBST(MYSQ_CLIENT_LIB) |
|
20035 |
||
20036 |
||
20037 |
# ----- AC_SUBST(MYSQL_DIR) |
|
20038 |
||
20039 |
||
1
by paul-mccullagh
Initial import |
20040 |
SYSTEM_TYPE="$host_vendor-$host_os" |
20041 |
||
20042 |
# ----- Build type |
|
20043 |
MAX_C_OPTIMIZE="-O3" |
|
20044 |
MAX_CXX_OPTIMIZE="-O3" |
|
20045 |
||
20046 |
# Build optimized or debug version ? |
|
20047 |
# First check for gcc and g++ |
|
20048 |
if test "$ac_cv_c_compiler_gnu" = "yes" |
|
20049 |
then |
|
20050 |
DEBUG_CFLAGS="-g" |
|
20051 |
DEBUG_OPTIMIZE_CC="-O" |
|
20052 |
OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" |
|
7
by paul-mccullagh
Fixed configure |
20053 |
PROFILE_CFLAGS="$MAX_C_OPTIMIZE -pg" |
1
by paul-mccullagh
Initial import |
20054 |
DEBUG_ONLY_CFLAGS="-g" |
20055 |
else |
|
20056 |
DEBUG_CFLAGS="-g" |
|
20057 |
DEBUG_OPTIMIZE_CC="" |
|
20058 |
OPTIMIZE_CFLAGS="-O" |
|
7
by paul-mccullagh
Fixed configure |
20059 |
PROFILE_CFLAGS="-O -pg" |
1
by paul-mccullagh
Initial import |
20060 |
DEBUG_ONLY_CFLAGS="-g" |
20061 |
fi |
|
20062 |
if test "$ac_cv_prog_cxx_g" = "yes" |
|
20063 |
then |
|
20064 |
DEBUG_CXXFLAGS="-g" |
|
20065 |
DEBUG_OPTIMIZE_CXX="-O" |
|
20066 |
OPTIMIZE_CXXFLAGS="$MAX_CXX_OPTIMIZE" |
|
7
by paul-mccullagh
Fixed configure |
20067 |
PROFILE_CXXFLAGS="$MAX_CXX_OPTIMIZE -pg" |
1
by paul-mccullagh
Initial import |
20068 |
DEBUG_ONLY_CXXFLAGS="-g" |
20069 |
else |
|
20070 |
DEBUG_CXXFLAGS="-g" |
|
20071 |
DEBUG_OPTIMIZE_CXX="" |
|
20072 |
OPTIMIZE_CXXFLAGS="-O" |
|
7
by paul-mccullagh
Fixed configure |
20073 |
PROFILE_CXXFLAGS="-O -pg" |
1
by paul-mccullagh
Initial import |
20074 |
DEBUG_ONLY_CXXFLAGS="-g" |
20075 |
fi |
|
20076 |
||
20077 |
# ----- AC_ARG_WITH(debug |
|
20078 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20079 |
# Check whether --with-debug was given. |
1
by paul-mccullagh
Initial import |
20080 |
if test "${with_debug+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20081 |
withval=$with_debug; with_debug=$withval |
1
by paul-mccullagh
Initial import |
20082 |
else |
38
by barry_leslie
I have simplified the configuration. You now only need to supply |
20083 |
with_debug=$MYSQL_DEBUG_LEVEL |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20084 |
fi |
20085 |
||
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
20086 |
|
85
by Barry.Leslie at PrimeBase
Changed the debug flag. |
20087 |
if test "$with_debug" = "full" |
20088 |
then |
|
20089 |
# Full debug. Very slow in some cases |
|
20090 |
CFLAGS="$DEBUG_ONLY_CFLAGS -DDEBUG $MYSQL_CFLAGS" |
|
20091 |
CXXFLAGS="$DEBUG_ONLY_CXXFLAGS -DDEBUG $MYSQL_CXXFLAGS" |
|
20092 |
elif test "$with_debug" = "yes" |
|
20093 |
then |
|
20094 |
# Medium debug, debug symbols without optimization (no assertions or internal debug code). |
|
1
by paul-mccullagh
Initial import |
20095 |
|
20096 |
cat >>confdefs.h <<\_ACEOF |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20097 |
#define DBUG_ON 1 |
1
by paul-mccullagh
Initial import |
20098 |
_ACEOF |
20099 |
||
85
by Barry.Leslie at PrimeBase
Changed the debug flag. |
20100 |
CFLAGS="$DEBUG_ONLY_CFLAGS -DNDEBUG $MYSQL_CFLAGS" |
20101 |
CXXFLAGS="$DEBUG_ONLY_CXXFLAGS -DNDEBUG $MYSQL_CXXFLAGS" |
|
7
by paul-mccullagh
Fixed configure |
20102 |
elif test "$with_debug" = "prof" |
20103 |
then |
|
20104 |
# Profile version. No debug |
|
20105 |
||
20106 |
cat >>confdefs.h <<\_ACEOF |
|
20107 |
#define DBUG_OFF 1 |
|
20108 |
_ACEOF |
|
20109 |
||
85
by Barry.Leslie at PrimeBase
Changed the debug flag. |
20110 |
CFLAGS="$PROFILE_CFLAGS -DNDEBUG $MYSQL_CFLAGS" |
20111 |
CXXFLAGS="$PROFILE_CXXFLAGS -DNDEBUG $MYSQL_CXXFLAGS" |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20112 |
elif test "$with_debug" = "" -o "$with_debug" = "no" |
20113 |
then |
|
1
by paul-mccullagh
Initial import |
20114 |
# Optimized version. No debug |
20115 |
||
20116 |
cat >>confdefs.h <<\_ACEOF |
|
20117 |
#define DBUG_OFF 1 |
|
20118 |
_ACEOF |
|
20119 |
||
85
by Barry.Leslie at PrimeBase
Changed the debug flag. |
20120 |
CFLAGS="$OPTIMIZE_CFLAGS -DNDEBUG $MYSQL_CFLAGS" |
20121 |
CXXFLAGS="$OPTIMIZE_CXXFLAGS -DNDEBUG $MYSQL_CXXFLAGS" |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20122 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20123 |
{ { $as_echo "$as_me:$LINENO: error: Unknown debug flag: $with_debug" >&5 |
20124 |
$as_echo "$as_me: error: Unknown debug flag: $with_debug" >&2;} |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20125 |
{ (exit 1); exit 1; }; } |
1
by paul-mccullagh
Initial import |
20126 |
fi |
20127 |
||
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
20128 |
# ----- AC_ARG_WITH(pbms-port |
20129 |
||
20130 |
# Check whether --with-pbms-port was given. |
|
20131 |
if test "${with_pbms_port+set}" = set; then |
|
20132 |
withval=$with_pbms_port; pbms_port=$withval |
|
20133 |
else |
|
20134 |
pbms_port=8080 |
|
20135 |
fi |
|
20136 |
||
20137 |
||
20138 |
CFLAGS="$CFLAGS -Werror -DPBMS_PORT=$pbms_port" |
|
20139 |
CXXFLAGS="$CXXFLAGS -Werror -DPBMS_PORT=$pbms_port" |
|
20140 |
||
1
by paul-mccullagh
Initial import |
20141 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20142 |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
20143 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
|
1
by paul-mccullagh
Initial import |
20144 |
if test "${ac_cv_c_const+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20145 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
20146 |
else |
20147 |
cat >conftest.$ac_ext <<_ACEOF |
|
20148 |
/* confdefs.h. */ |
|
20149 |
_ACEOF |
|
20150 |
cat confdefs.h >>conftest.$ac_ext |
|
20151 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20152 |
/* end confdefs.h. */ |
|
20153 |
||
20154 |
int |
|
20155 |
main () |
|
20156 |
{ |
|
20157 |
/* FIXME: Include the comments suggested by Paul. */ |
|
20158 |
#ifndef __cplusplus |
|
20159 |
/* Ultrix mips cc rejects this. */ |
|
20160 |
typedef int charset[2]; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20161 |
const charset cs; |
1
by paul-mccullagh
Initial import |
20162 |
/* SunOS 4.1.1 cc rejects this. */ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20163 |
char const *const *pcpcc; |
20164 |
char **ppc; |
|
1
by paul-mccullagh
Initial import |
20165 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
20166 |
struct point {int x, y;}; |
|
20167 |
static struct point const zero = {0,0}; |
|
20168 |
/* AIX XL C 1.02.0.0 rejects this. |
|
20169 |
It does not let you subtract one const X* pointer from another in |
|
20170 |
an arm of an if-expression whose if-part is not a constant |
|
20171 |
expression */ |
|
20172 |
const char *g = "string"; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20173 |
pcpcc = &g + (g ? g-g : 0); |
1
by paul-mccullagh
Initial import |
20174 |
/* HPUX 7.0 cc rejects these. */ |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20175 |
++pcpcc; |
20176 |
ppc = (char**) pcpcc; |
|
20177 |
pcpcc = (char const *const *) ppc; |
|
1
by paul-mccullagh
Initial import |
20178 |
{ /* SCO 3.2v4 cc rejects this. */ |
20179 |
char *t; |
|
20180 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
20181 |
||
20182 |
*t++ = 0; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20183 |
if (s) return 0; |
1
by paul-mccullagh
Initial import |
20184 |
} |
20185 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
20186 |
int x[] = {25, 17}; |
|
20187 |
const int *foo = &x[0]; |
|
20188 |
++foo; |
|
20189 |
} |
|
20190 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
20191 |
typedef const int *iptr; |
|
20192 |
iptr p = 0; |
|
20193 |
++p; |
|
20194 |
} |
|
20195 |
{ /* AIX XL C 1.02.0.0 rejects this saying |
|
20196 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
20197 |
struct s { int j; const int *ap[3]; }; |
|
20198 |
struct s *b; b->j = 5; |
|
20199 |
} |
|
20200 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
20201 |
const int foo = 10; |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20202 |
if (!foo) return 0; |
1
by paul-mccullagh
Initial import |
20203 |
} |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20204 |
return !cs[0] && !zero.x; |
1
by paul-mccullagh
Initial import |
20205 |
#endif |
20206 |
||
20207 |
; |
|
20208 |
return 0; |
|
20209 |
} |
|
20210 |
_ACEOF |
|
20211 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20212 |
if { (ac_try="$ac_compile" |
20213 |
case "(($ac_try" in |
|
20214 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20215 |
*) ac_try_echo=$ac_try;; |
|
20216 |
esac |
|
20217 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
20218 |
$as_echo "$ac_try_echo") >&5 |
|
20219 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
20220 |
ac_status=$? |
20221 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20222 |
rm -f conftest.er1 |
|
20223 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20224 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20225 |
(exit $ac_status); } && { |
|
20226 |
test -z "$ac_c_werror_flag" || |
|
20227 |
test ! -s conftest.err |
|
20228 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
20229 |
ac_cv_c_const=yes |
20230 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20231 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
20232 |
sed 's/^/| /' conftest.$ac_ext >&5 |
20233 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20234 |
ac_cv_c_const=no |
20235 |
fi |
|
20236 |
||
20237 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
20238 |
fi |
|
20239 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
20240 |
$as_echo "$ac_cv_c_const" >&6; } |
|
1
by paul-mccullagh
Initial import |
20241 |
if test $ac_cv_c_const = no; then |
20242 |
||
20243 |
cat >>confdefs.h <<\_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20244 |
#define const /**/ |
1
by paul-mccullagh
Initial import |
20245 |
_ACEOF |
20246 |
||
20247 |
fi |
|
20248 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20249 |
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 |
20250 |
$as_echo_n "checking for size_t... " >&6; } |
|
1
by paul-mccullagh
Initial import |
20251 |
if test "${ac_cv_type_size_t+set}" = set; then |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20252 |
$as_echo_n "(cached) " >&6 |
1
by paul-mccullagh
Initial import |
20253 |
else |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20254 |
ac_cv_type_size_t=no |
20255 |
cat >conftest.$ac_ext <<_ACEOF |
|
1
by paul-mccullagh
Initial import |
20256 |
/* confdefs.h. */ |
20257 |
_ACEOF |
|
20258 |
cat confdefs.h >>conftest.$ac_ext |
|
20259 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20260 |
/* end confdefs.h. */ |
|
20261 |
$ac_includes_default |
|
20262 |
int |
|
20263 |
main () |
|
20264 |
{ |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
20265 |
if (sizeof (size_t)) |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20266 |
return 0; |
20267 |
; |
|
20268 |
return 0; |
|
20269 |
} |
|
20270 |
_ACEOF |
|
20271 |
rm -f conftest.$ac_objext |
|
20272 |
if { (ac_try="$ac_compile" |
|
20273 |
case "(($ac_try" in |
|
20274 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20275 |
*) ac_try_echo=$ac_try;; |
|
20276 |
esac |
|
20277 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
20278 |
$as_echo "$ac_try_echo") >&5 |
|
20279 |
(eval "$ac_compile") 2>conftest.er1 |
|
20280 |
ac_status=$? |
|
20281 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20282 |
rm -f conftest.er1 |
|
20283 |
cat conftest.err >&5 |
|
20284 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
20285 |
(exit $ac_status); } && { |
|
20286 |
test -z "$ac_c_werror_flag" || |
|
20287 |
test ! -s conftest.err |
|
20288 |
} && test -s conftest.$ac_objext; then |
|
20289 |
cat >conftest.$ac_ext <<_ACEOF |
|
20290 |
/* confdefs.h. */ |
|
20291 |
_ACEOF |
|
20292 |
cat confdefs.h >>conftest.$ac_ext |
|
20293 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20294 |
/* end confdefs.h. */ |
|
20295 |
$ac_includes_default |
|
20296 |
int |
|
20297 |
main () |
|
20298 |
{ |
|
20299 |
if (sizeof ((size_t))) |
|
20300 |
return 0; |
|
20301 |
; |
|
20302 |
return 0; |
|
20303 |
} |
|
20304 |
_ACEOF |
|
20305 |
rm -f conftest.$ac_objext |
|
20306 |
if { (ac_try="$ac_compile" |
|
20307 |
case "(($ac_try" in |
|
20308 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20309 |
*) ac_try_echo=$ac_try;; |
|
20310 |
esac |
|
20311 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
20312 |
$as_echo "$ac_try_echo") >&5 |
|
20313 |
(eval "$ac_compile") 2>conftest.er1 |
|
20314 |
ac_status=$? |
|
20315 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20316 |
rm -f conftest.er1 |
|
20317 |
cat conftest.err >&5 |
|
20318 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
20319 |
(exit $ac_status); } && { |
|
20320 |
test -z "$ac_c_werror_flag" || |
|
20321 |
test ! -s conftest.err |
|
20322 |
} && test -s conftest.$ac_objext; then |
|
20323 |
: |
|
20324 |
else |
|
20325 |
$as_echo "$as_me: failed program was:" >&5 |
|
20326 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
20327 |
||
20328 |
ac_cv_type_size_t=yes |
|
20329 |
fi |
|
20330 |
||
20331 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
20332 |
else |
|
20333 |
$as_echo "$as_me: failed program was:" >&5 |
|
20334 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
20335 |
||
20336 |
||
20337 |
fi |
|
20338 |
||
20339 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
20340 |
fi |
|
20341 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
|
20342 |
$as_echo "$ac_cv_type_size_t" >&6; } |
|
20343 |
if test "x$ac_cv_type_size_t" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
20344 |
: |
20345 |
else |
|
20346 |
||
20347 |
cat >>confdefs.h <<_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20348 |
#define size_t unsigned int |
1
by paul-mccullagh
Initial import |
20349 |
_ACEOF |
20350 |
||
20351 |
fi |
|
20352 |
||
20353 |
||
20354 |
||
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
20355 |
|
20356 |
||
20357 |
for ac_header in limits.h syslimits.h curl/curl.h libxml/parser.h |
|
1
by paul-mccullagh
Initial import |
20358 |
do |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20359 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20360 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
20361 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
20362 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
20363 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
20364 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
20365 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20366 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
20367 |
$as_echo "$as_val"'` |
|
20368 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
20369 |
$as_echo "$ac_res" >&6; } |
|
1
by paul-mccullagh
Initial import |
20370 |
else |
20371 |
# Is the header compilable? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20372 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20373 |
$as_echo_n "checking $ac_header usability... " >&6; } |
|
1
by paul-mccullagh
Initial import |
20374 |
cat >conftest.$ac_ext <<_ACEOF |
20375 |
/* confdefs.h. */ |
|
20376 |
_ACEOF |
|
20377 |
cat confdefs.h >>conftest.$ac_ext |
|
20378 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20379 |
/* end confdefs.h. */ |
|
20380 |
$ac_includes_default |
|
20381 |
#include <$ac_header> |
|
20382 |
_ACEOF |
|
20383 |
rm -f conftest.$ac_objext |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20384 |
if { (ac_try="$ac_compile" |
20385 |
case "(($ac_try" in |
|
20386 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20387 |
*) ac_try_echo=$ac_try;; |
|
20388 |
esac |
|
20389 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
20390 |
$as_echo "$ac_try_echo") >&5 |
|
20391 |
(eval "$ac_compile") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
20392 |
ac_status=$? |
20393 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20394 |
rm -f conftest.er1 |
|
20395 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20396 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20397 |
(exit $ac_status); } && { |
|
20398 |
test -z "$ac_c_werror_flag" || |
|
20399 |
test ! -s conftest.err |
|
20400 |
} && test -s conftest.$ac_objext; then |
|
1
by paul-mccullagh
Initial import |
20401 |
ac_header_compiler=yes |
20402 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20403 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
20404 |
sed 's/^/| /' conftest.$ac_ext >&5 |
20405 |
||
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20406 |
ac_header_compiler=no |
1
by paul-mccullagh
Initial import |
20407 |
fi |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20408 |
|
20409 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
20410 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
20411 |
$as_echo "$ac_header_compiler" >&6; } |
|
1
by paul-mccullagh
Initial import |
20412 |
|
20413 |
# Is the header present? |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20414 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20415 |
$as_echo_n "checking $ac_header presence... " >&6; } |
|
1
by paul-mccullagh
Initial import |
20416 |
cat >conftest.$ac_ext <<_ACEOF |
20417 |
/* confdefs.h. */ |
|
20418 |
_ACEOF |
|
20419 |
cat confdefs.h >>conftest.$ac_ext |
|
20420 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20421 |
/* end confdefs.h. */ |
|
20422 |
#include <$ac_header> |
|
20423 |
_ACEOF |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20424 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
20425 |
case "(($ac_try" in |
|
20426 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20427 |
*) ac_try_echo=$ac_try;; |
|
20428 |
esac |
|
20429 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
20430 |
$as_echo "$ac_try_echo") >&5 |
|
20431 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
1
by paul-mccullagh
Initial import |
20432 |
ac_status=$? |
20433 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20434 |
rm -f conftest.er1 |
|
20435 |
cat conftest.err >&5 |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20436 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20437 |
(exit $ac_status); } >/dev/null && { |
|
20438 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
20439 |
test ! -s conftest.err |
|
20440 |
}; then |
|
1
by paul-mccullagh
Initial import |
20441 |
ac_header_preproc=yes |
20442 |
else |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20443 |
$as_echo "$as_me: failed program was:" >&5 |
1
by paul-mccullagh
Initial import |
20444 |
sed 's/^/| /' conftest.$ac_ext >&5 |
20445 |
||
20446 |
ac_header_preproc=no |
|
20447 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20448 |
|
1
by paul-mccullagh
Initial import |
20449 |
rm -f conftest.err conftest.$ac_ext |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20450 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20451 |
$as_echo "$ac_header_preproc" >&6; } |
|
1
by paul-mccullagh
Initial import |
20452 |
|
20453 |
# So? What about this header? |
|
20454 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
20455 |
yes:no: ) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20456 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20457 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
20458 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
20459 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
1
by paul-mccullagh
Initial import |
20460 |
ac_header_preproc=yes |
20461 |
;; |
|
20462 |
no:yes:* ) |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20463 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20464 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
20465 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
20466 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
20467 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
20468 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
20469 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
20470 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
20471 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
20472 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
20473 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
20474 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
20475 |
||
1
by paul-mccullagh
Initial import |
20476 |
;; |
20477 |
esac |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20478 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20479 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
20480 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
20481 |
$as_echo_n "(cached) " >&6 |
|
1
by paul-mccullagh
Initial import |
20482 |
else |
20483 |
eval "$as_ac_Header=\$ac_header_preproc" |
|
20484 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20485 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
20486 |
$as_echo "$as_val"'` |
|
20487 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
20488 |
$as_echo "$ac_res" >&6; } |
|
1
by paul-mccullagh
Initial import |
20489 |
|
20490 |
fi |
|
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20491 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
20492 |
$as_echo "$as_val"'` |
|
20493 |
if test "x$as_val" = x""yes; then |
|
1
by paul-mccullagh
Initial import |
20494 |
cat >>confdefs.h <<_ACEOF |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20495 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20496 |
_ACEOF |
|
20497 |
||
20498 |
fi |
|
20499 |
||
20500 |
done |
|
20501 |
||
172
by Barry.Leslie at PrimeBase
Updated version number and added configure option --with-pbms-port. |
20502 |
ac_config_files="$ac_config_files Makefile src/Makefile pbmstest/Makefile" |
63
by Barry.Leslie at PrimeBase
This is a temporary commit which I expect to uncommit later. It is |
20503 |
|
20504 |
cat >confcache <<\_ACEOF |
|
20505 |
# This file is a shell script that caches the results of configure |
|
20506 |
# tests run on this system so they can be shared between configure |
|
20507 |
# scripts and configure runs, see configure's option --config-cache. |
|
20508 |
# It is not useful on other systems. If it contains results you don't |
|
20509 |
# want to keep, you may remove or edit it. |
|
20510 |
# |
|
20511 |
# config.status only pays attention to the cache file if you give it |
|
20512 |
# the --recheck option to rerun configure. |
|
20513 |
# |
|
20514 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
20515 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
20516 |
# following values. |
|
20517 |
||
20518 |
_ACEOF |
|
20519 |
||
20520 |
# The following way of writing the cache mishandles newlines in values, |
|
20521 |
# but we know of no workaround that is simple, portable, and efficient. |
|
20522 |
# So, we kill variables containing newlines. |
|
20523 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
20524 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
20525 |
( |
|
20526 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
20527 |
eval ac_val=\$$ac_var |
|
20528 |
case $ac_val in #( |
|
20529 |
*${as_nl}*) |
|
20530 |
case $ac_var in #( |
|
20531 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|
20532 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
20533 |
esac |
|
20534 |
case $ac_var in #( |
|
20535 |
_ | IFS | as_nl) ;; #( |
|
20536 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
20537 |
*) $as_unset $ac_var ;; |
|
20538 |
esac ;; |
|
20539 |
esac |
|
20540 |
done |
|
20541 |
||
20542 |
(set) 2>&1 | |
|
20543 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
20544 |
*${as_nl}ac_space=\ *) |
|
20545 |
# `set' does not quote correctly, so add quotes (double-quote |
|
20546 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
|
20547 |
sed -n \ |
|
20548 |
"s/'/'\\\\''/g; |
|
20549 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
20550 |
;; #( |
|
20551 |
*) |
|
20552 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
20553 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
20554 |
;; |
|
20555 |
esac | |
|
20556 |
sort |
|
20557 |
) | |
|
20558 |
sed ' |
|
20559 |
/^ac_cv_env_/b end |
|
20560 |
t clear |
|
20561 |
:clear |
|
20562 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
20563 |
t end |
|
20564 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
20565 |
:end' >>confcache |
|
20566 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
20567 |
if test -w "$cache_file"; then |
|
20568 |
test "x$cache_file" != "x/dev/null" && |
|
20569 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
20570 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
20571 |
cat confcache >$cache_file |
|
20572 |
else |
|
20573 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|
20574 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
20575 |
fi |
|
20576 |
fi |
|
20577 |
rm -f confcache |
|
20578 |
||
20579 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
20580 |
# Let make expand exec_prefix. |
|
20581 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
20582 |
||
20583 |
DEFS=-DHAVE_CONFIG_H |
|
20584 |
||
20585 |
ac_libobjs= |
|
20586 |
ac_ltlibobjs= |
|
20587 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
20588 |
# 1. Remove the extension, and $U if already installed. |
|
20589 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
20590 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
20591 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
20592 |
# will be set to the directory where LIBOBJS objects are built. |
|
20593 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
20594 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|
20595 |
done |
|
20596 |
LIBOBJS=$ac_libobjs |
|
20597 |
||
20598 |
LTLIBOBJS=$ac_ltlibobjs |
|
20599 |
||
20600 |
||
20601 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
20602 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
|
20603 |
Usually this means the macro was only invoked conditionally." >&5 |
|
20604 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
20605 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
20606 |
{ (exit 1); exit 1; }; } |
|
20607 |
fi |
|
20608 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
20609 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
20610 |
Usually this means the macro was only invoked conditionally." >&5 |
|
20611 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
20612 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
20613 |
{ (exit 1); exit 1; }; } |
|
20614 |
fi |
|
20615 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
20616 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
|
20617 |
Usually this means the macro was only invoked conditionally." >&5 |
|
20618 |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
20619 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
20620 |
{ (exit 1); exit 1; }; } |
|
20621 |
fi |
|
20622 |
||
20623 |
: ${CONFIG_STATUS=./config.status} |
|
20624 |
ac_write_fail=0 |
|
20625 |
ac_clean_files_save=$ac_clean_files |
|
20626 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
20627 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|
20628 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
20629 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
20630 |
#! $SHELL |
|
20631 |
# Generated by $as_me. |
|
20632 |
# Run this file to recreate the current configuration. |
|
20633 |
# Compiler output produced by configure, useful for debugging |
|
20634 |
# configure, is in config.log if it exists. |
|
20635 |
||
20636 |
debug=false |
|
20637 |
ac_cs_recheck=false |
|
20638 |
ac_cs_silent=false |
|
20639 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
20640 |
_ACEOF |
|
20641 |
||
20642 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
20643 |
## --------------------- ## |
|
20644 |
## M4sh Initialization. ## |
|
20645 |
## --------------------- ## |
|
20646 |
||
20647 |
# Be more Bourne compatible |
|
20648 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
20649 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
20650 |
emulate sh |
|
20651 |
NULLCMD=: |
|
20652 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
20653 |
# is contrary to our usage. Disable this feature. |
|
20654 |
alias -g '${1+"$@"}'='"$@"' |
|
20655 |
setopt NO_GLOB_SUBST |
|
20656 |
else |
|
20657 |
case `(set -o) 2>/dev/null` in |
|
20658 |
*posix*) set -o posix ;; |
|
20659 |
esac |
|
20660 |
||
20661 |
fi |
|
20662 |
||
20663 |
||
20664 |
||
20665 |
||
20666 |
# PATH needs CR |
|
20667 |
# Avoid depending upon Character Ranges. |
|
20668 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
20669 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
20670 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
20671 |
as_cr_digits='0123456789' |
|
20672 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
20673 |
||
20674 |
as_nl=' |
|
20675 |
' |
|
20676 |
export as_nl |
|
20677 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
20678 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
20679 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
20680 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
20681 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
20682 |
as_echo='printf %s\n' |
|
20683 |
as_echo_n='printf %s' |
|
20684 |
else |
|
20685 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
20686 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
20687 |
as_echo_n='/usr/ucb/echo -n' |
|
20688 |
else |
|
20689 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
20690 |
as_echo_n_body='eval |
|
20691 |
arg=$1; |
|
20692 |
case $arg in |
|
20693 |
*"$as_nl"*) |
|
20694 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
20695 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
20696 |
esac; |
|
20697 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
20698 |
' |
|
20699 |
export as_echo_n_body |
|
20700 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
20701 |
fi |
|
20702 |
export as_echo_body |
|
20703 |
as_echo='sh -c $as_echo_body as_echo' |
|
20704 |
fi |
|
20705 |
||
20706 |
# The user is always right. |
|
20707 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
20708 |
PATH_SEPARATOR=: |
|
20709 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
20710 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
20711 |
PATH_SEPARATOR=';' |
|
20712 |
} |
|
20713 |
fi |
|
20714 |
||
20715 |
# Support unset when possible. |
|
20716 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
20717 |
as_unset=unset |
|
20718 |
else |
|
20719 |
as_unset=false |
|
20720 |
fi |
|
20721 |
||
20722 |
||
20723 |
# IFS |
|
20724 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
20725 |
# there to prevent editors from complaining about space-tab. |
|
20726 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
20727 |
# splitting by setting IFS to empty value.) |
|
20728 |
IFS=" "" $as_nl" |
|
20729 |
||
20730 |
# Find who we are. Look in the path if we contain no directory separator. |
|
20731 |
case $0 in |
|
20732 |
*[\\/]* ) as_myself=$0 ;; |
|
20733 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
20734 |
for as_dir in $PATH |
|
20735 |
do |
|
20736 |
IFS=$as_save_IFS |
|
20737 |
test -z "$as_dir" && as_dir=. |
|
20738 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
20739 |
done |
|
20740 |
IFS=$as_save_IFS |
|
20741 |
||
20742 |
;; |
|
20743 |
esac |
|
20744 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
20745 |
# in which case we are not to be found in the path. |
|
20746 |
if test "x$as_myself" = x; then |
|
20747 |
as_myself=$0 |
|
20748 |
fi |
|
20749 |
if test ! -f "$as_myself"; then |
|
20750 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
20751 |
{ (exit 1); exit 1; } |
|
20752 |
fi |
|
20753 |
||
20754 |
# Work around bugs in pre-3.0 UWIN ksh. |
|
20755 |
for as_var in ENV MAIL MAILPATH |
|
20756 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
20757 |
done |
|
20758 |
PS1='$ ' |
|
20759 |
PS2='> ' |
|
20760 |
PS4='+ ' |
|
20761 |
||
20762 |
# NLS nuisances. |
|
20763 |
LC_ALL=C |
|
20764 |
export LC_ALL |
|
20765 |
LANGUAGE=C |
|
20766 |
export LANGUAGE |
|
20767 |
||
20768 |
# Required to use basename. |
|
20769 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
20770 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
20771 |
as_expr=expr |
|
20772 |
else |
|
20773 |
as_expr=false |
|
20774 |
fi |
|
20775 |
||
20776 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
20777 |
as_basename=basename |
|
20778 |
else |
|
20779 |
as_basename=false |
|
20780 |
fi |
|
20781 |
||
20782 |
||
20783 |
# Name of the executable. |
|
20784 |
as_me=`$as_basename -- "$0" || |
|
20785 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
20786 |
X"$0" : 'X\(//\)$' \| \ |
|
20787 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
20788 |
$as_echo X/"$0" | |
|
20789 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
20790 |
s//\1/ |
|
20791 |
q |
|
20792 |
} |
|
20793 |
/^X\/\(\/\/\)$/{ |
|
20794 |
s//\1/ |
|
20795 |
q |
|
20796 |
} |
|
20797 |
/^X\/\(\/\).*/{ |
|
20798 |
s//\1/ |
|
20799 |
q |
|
20800 |
} |
|
20801 |
s/.*/./; q'` |
|
20802 |
||
20803 |
# CDPATH. |
|
20804 |
$as_unset CDPATH |
|
20805 |
||
20806 |
||
20807 |
||
20808 |
as_lineno_1=$LINENO |
|
20809 |
as_lineno_2=$LINENO |
|
20810 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
20811 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
20812 |
||
20813 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
20814 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
20815 |
# line-number line after each line using $LINENO; the second 'sed' |
|
20816 |
# does the real work. The second script uses 'N' to pair each |
|
20817 |
# line-number line with the line containing $LINENO, and appends |
|
20818 |
# trailing '-' during substitution so that $LINENO is not a special |
|
20819 |
# case at line end. |
|
20820 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
20821 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
|
20822 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
20823 |
sed -n ' |
|
20824 |
p |
|
20825 |
/[$]LINENO/= |
|
20826 |
' <$as_myself | |
|
20827 |
sed ' |
|
20828 |
s/[$]LINENO.*/&-/ |
|
20829 |
t lineno |
|
20830 |
b |
|
20831 |
:lineno |
|
20832 |
N |
|
20833 |
:loop |
|
20834 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
20835 |
t loop |
|
20836 |
s/-\n.*// |
|
20837 |
' >$as_me.lineno && |
|
20838 |
chmod +x "$as_me.lineno" || |
|
20839 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
20840 |
{ (exit 1); exit 1; }; } |
|
20841 |
||
20842 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
20843 |
# (the dirname of $[0] is not the place where we might find the |
|
20844 |
# original and so on. Autoconf is especially sensitive to this). |
|
20845 |
. "./$as_me.lineno" |
|
20846 |
# Exit status is that of the last command. |
|
20847 |
exit |
|
20848 |
} |
|
20849 |
||
20850 |
||
20851 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
20852 |
as_dirname=dirname |
|
20853 |
else |
|
20854 |
as_dirname=false |
|
20855 |
fi |
|
20856 |
||
20857 |
ECHO_C= ECHO_N= ECHO_T= |
|
20858 |
case `echo -n x` in |
|
20859 |
-n*) |
|
20860 |
case `echo 'x\c'` in |
|
20861 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
20862 |
*) ECHO_C='\c';; |
|
20863 |
esac;; |
|
20864 |
*) |
|
20865 |
ECHO_N='-n';; |
|
20866 |
esac |
|
20867 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
20868 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
20869 |
as_expr=expr |
|
20870 |
else |
|
20871 |
as_expr=false |
|
20872 |
fi |
|
20873 |
||
20874 |
rm -f conf$$ conf$$.exe conf$$.file |
|
20875 |
if test -d conf$$.dir; then |
|
20876 |
rm -f conf$$.dir/conf$$.file |
|
20877 |
else |
|
20878 |
rm -f conf$$.dir |
|
20879 |
mkdir conf$$.dir 2>/dev/null |
|
20880 |
fi |
|
20881 |
if (echo >conf$$.file) 2>/dev/null; then |
|
20882 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
20883 |
as_ln_s='ln -s' |
|
20884 |
# ... but there are two gotchas: |
|
20885 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
20886 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
20887 |
# In both cases, we have to default to `cp -p'. |
|
20888 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
20889 |
as_ln_s='cp -p' |
|
20890 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
20891 |
as_ln_s=ln |
|
20892 |
else |
|
20893 |
as_ln_s='cp -p' |
|
20894 |
fi |
|
20895 |
else |
|
20896 |
as_ln_s='cp -p' |
|
20897 |
fi |
|
20898 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
20899 |
rmdir conf$$.dir 2>/dev/null |
|
20900 |
||
20901 |
if mkdir -p . 2>/dev/null; then |
|
20902 |
as_mkdir_p=: |
|
20903 |
else |
|
20904 |
test -d ./-p && rmdir ./-p |
|
20905 |
as_mkdir_p=false |
|
20906 |
fi |
|
20907 |
||
20908 |
if test -x / >/dev/null 2>&1; then |
|
20909 |
as_test_x='test -x' |
|
20910 |
else |
|
20911 |
if ls -dL / >/dev/null 2>&1; then |
|
20912 |
as_ls_L_option=L |
|
20913 |
else |
|
20914 |
as_ls_L_option= |
|
20915 |
fi |
|
20916 |
as_test_x=' |
|
20917 |
eval sh -c '\'' |
|
20918 |
if test -d "$1"; then |
|
20919 |
test -d "$1/."; |
|
20920 |
else |
|
20921 |
case $1 in |
|
20922 |
-*)set "./$1";; |
|
20923 |
esac; |
|
20924 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
20925 |
???[sx]*):;;*)false;;esac;fi |
|
20926 |
'\'' sh |
|
20927 |
' |
|
20928 |
fi |
|
20929 |
as_executable_p=$as_test_x |
|
20930 |
||
20931 |
# Sed expression to map a string onto a valid CPP name. |
|
20932 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
20933 |
||
20934 |
# Sed expression to map a string onto a valid variable name. |
|
20935 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
20936 |
||
20937 |
||
20938 |
exec 6>&1 |
|
20939 |
||
20940 |
# Save the log message, to keep $[0] and so on meaningful, and to |
|
20941 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
20942 |
# values after options handling. |
|
20943 |
ac_log=" |
|
20944 |
This file was extended by $as_me, which was |
|
20945 |
generated by GNU Autoconf 2.63. Invocation command line was |
|
20946 |
||
20947 |
CONFIG_FILES = $CONFIG_FILES |
|
20948 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
20949 |
CONFIG_LINKS = $CONFIG_LINKS |
|
20950 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
20951 |
$ $0 $@ |
|
20952 |
||
20953 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
20954 |
" |
|
20955 |
||
20956 |
_ACEOF |
|
20957 |
||
20958 |
case $ac_config_files in *" |
|
20959 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
20960 |
esac |
|
20961 |
||
20962 |
case $ac_config_headers in *" |
|
20963 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
20964 |
esac |
|
20965 |
||
20966 |
||
20967 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
20968 |
# Files that config.status was made for. |
|
20969 |
config_files="$ac_config_files" |
|
20970 |
config_headers="$ac_config_headers" |
|
20971 |
config_commands="$ac_config_commands" |
|
20972 |
||
20973 |
_ACEOF |
|
20974 |
||
20975 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
20976 |
ac_cs_usage="\ |
|
20977 |
\`$as_me' instantiates files from templates according to the |
|
20978 |
current configuration. |
|
20979 |
||
20980 |
Usage: $0 [OPTION]... [FILE]... |
|
20981 |
||
20982 |
-h, --help print this help, then exit |
|
20983 |
-V, --version print version number and configuration settings, then exit |
|
20984 |
-q, --quiet, --silent |
|
20985 |
do not print progress messages |
|
20986 |
-d, --debug don't remove temporary files |
|
20987 |
--recheck update $as_me by reconfiguring in the same conditions |
|
20988 |
--file=FILE[:TEMPLATE] |
|
20989 |
instantiate the configuration file FILE |
|
20990 |
--header=FILE[:TEMPLATE] |
|
20991 |
instantiate the configuration header FILE |
|
20992 |
||
20993 |
Configuration files: |
|
20994 |
$config_files |
|
20995 |
||
20996 |
Configuration headers: |
|
20997 |
$config_headers |
|
20998 |
||
20999 |
Configuration commands: |
|
21000 |
$config_commands |
|
21001 |
||
21002 |
Report bugs to <bug-autoconf@gnu.org>." |
|
21003 |
||
21004 |
_ACEOF |
|
21005 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21006 |
ac_cs_version="\\ |
|
21007 |
config.status |
|
21008 |
configured by $0, generated by GNU Autoconf 2.63, |
|
21009 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
21010 |
||
21011 |
Copyright (C) 2008 Free Software Foundation, Inc. |
|
21012 |
This config.status script is free software; the Free Software Foundation |
|
21013 |
gives unlimited permission to copy, distribute and modify it." |
|
21014 |
||
21015 |
ac_pwd='$ac_pwd' |
|
21016 |
srcdir='$srcdir' |
|
21017 |
INSTALL='$INSTALL' |
|
21018 |
MKDIR_P='$MKDIR_P' |
|
21019 |
AWK='$AWK' |
|
21020 |
test -n "\$AWK" || AWK=awk |
|
21021 |
_ACEOF |
|
21022 |
||
21023 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21024 |
# The default lists apply if the user does not specify any file. |
|
21025 |
ac_need_defaults=: |
|
21026 |
while test $# != 0 |
|
21027 |
do |
|
21028 |
case $1 in |
|
21029 |
--*=*) |
|
21030 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
21031 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
21032 |
ac_shift=: |
|
21033 |
;; |
|
21034 |
*) |
|
21035 |
ac_option=$1 |
|
21036 |
ac_optarg=$2 |
|
21037 |
ac_shift=shift |
|
21038 |
;; |
|
21039 |
esac |
|
21040 |
||
21041 |
case $ac_option in |
|
21042 |
# Handling of the options. |
|
21043 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
21044 |
ac_cs_recheck=: ;; |
|
21045 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
21046 |
$as_echo "$ac_cs_version"; exit ;; |
|
21047 |
--debug | --debu | --deb | --de | --d | -d ) |
|
21048 |
debug=: ;; |
|
21049 |
--file | --fil | --fi | --f ) |
|
21050 |
$ac_shift |
|
21051 |
case $ac_optarg in |
|
21052 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
21053 |
esac |
|
21054 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
|
21055 |
ac_need_defaults=false;; |
|
21056 |
--header | --heade | --head | --hea ) |
|
21057 |
$ac_shift |
|
21058 |
case $ac_optarg in |
|
21059 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
21060 |
esac |
|
21061 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
|
21062 |
ac_need_defaults=false;; |
|
21063 |
--he | --h) |
|
21064 |
# Conflict between --help and --header |
|
21065 |
{ $as_echo "$as_me: error: ambiguous option: $1 |
|
21066 |
Try \`$0 --help' for more information." >&2 |
|
21067 |
{ (exit 1); exit 1; }; };; |
|
21068 |
--help | --hel | -h ) |
|
21069 |
$as_echo "$ac_cs_usage"; exit ;; |
|
21070 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
21071 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
21072 |
ac_cs_silent=: ;; |
|
21073 |
||
21074 |
# This is an error. |
|
21075 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
|
21076 |
Try \`$0 --help' for more information." >&2 |
|
21077 |
{ (exit 1); exit 1; }; } ;; |
|
21078 |
||
21079 |
*) ac_config_targets="$ac_config_targets $1" |
|
21080 |
ac_need_defaults=false ;; |
|
21081 |
||
21082 |
esac |
|
21083 |
shift |
|
21084 |
done |
|
21085 |
||
21086 |
ac_configure_extra_args= |
|
21087 |
||
21088 |
if $ac_cs_silent; then |
|
21089 |
exec 6>/dev/null |
|
21090 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
21091 |
fi |
|
21092 |
||
21093 |
_ACEOF |
|
21094 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21095 |
if \$ac_cs_recheck; then |
|
21096 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
21097 |
shift |
|
21098 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
21099 |
CONFIG_SHELL='$SHELL' |
|
21100 |
export CONFIG_SHELL |
|
21101 |
exec "\$@" |
|
21102 |
fi |
|
21103 |
||
21104 |
_ACEOF |
|
21105 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21106 |
exec 5>>config.log |
|
21107 |
{ |
|
21108 |
echo |
|
21109 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
21110 |
## Running $as_me. ## |
|
21111 |
_ASBOX |
|
21112 |
$as_echo "$ac_log" |
|
21113 |
} >&5 |
|
21114 |
||
21115 |
_ACEOF |
|
21116 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21117 |
# |
|
21118 |
# INIT-COMMANDS |
|
21119 |
# |
|
21120 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
21121 |
||
21122 |
_ACEOF |
|
21123 |
||
21124 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21125 |
||
21126 |
# Handling of arguments. |
|
21127 |
for ac_config_target in $ac_config_targets |
|
21128 |
do |
|
21129 |
case $ac_config_target in |
|
21130 |
"pbms_config.h") CONFIG_HEADERS="$CONFIG_HEADERS pbms_config.h" ;; |
|
21131 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
21132 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
21133 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
21134 |
"pbmstest/Makefile") CONFIG_FILES="$CONFIG_FILES pbmstest/Makefile" ;; |
|
21135 |
||
21136 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
21137 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
21138 |
{ (exit 1); exit 1; }; };; |
|
21139 |
esac |
|
21140 |
done |
|
21141 |
||
21142 |
||
21143 |
# If the user did not use the arguments to specify the items to instantiate, |
|
21144 |
# then the envvar interface is used. Set only those that are not. |
|
21145 |
# We use the long form for the default assignment because of an extremely |
|
21146 |
# bizarre bug on SunOS 4.1.3. |
|
21147 |
if $ac_need_defaults; then |
|
21148 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
21149 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
21150 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
21151 |
fi |
|
21152 |
||
21153 |
# Have a temporary directory for convenience. Make it in the build tree |
|
21154 |
# simply because there is no reason against having it here, and in addition, |
|
21155 |
# creating and moving files from /tmp can sometimes cause problems. |
|
21156 |
# Hook for its removal unless debugging. |
|
21157 |
# Note that there is a small window in which the directory will not be cleaned: |
|
21158 |
# after its creation but before its name has been assigned to `$tmp'. |
|
21159 |
$debug || |
|
21160 |
{ |
|
21161 |
tmp= |
|
21162 |
trap 'exit_status=$? |
|
21163 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
21164 |
' 0 |
|
21165 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
21166 |
} |
|
21167 |
# Create a (secure) tmp directory for tmp files. |
|
21168 |
||
21169 |
{ |
|
21170 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
21171 |
test -n "$tmp" && test -d "$tmp" |
|
21172 |
} || |
|
21173 |
{ |
|
21174 |
tmp=./conf$$-$RANDOM |
|
21175 |
(umask 077 && mkdir "$tmp") |
|
21176 |
} || |
|
21177 |
{ |
|
21178 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
|
21179 |
{ (exit 1); exit 1; } |
|
21180 |
} |
|
21181 |
||
21182 |
# Set up the scripts for CONFIG_FILES section. |
|
21183 |
# No need to generate them if there are no CONFIG_FILES. |
|
21184 |
# This happens for instance with `./config.status config.h'. |
|
21185 |
if test -n "$CONFIG_FILES"; then |
|
21186 |
||
21187 |
||
21188 |
ac_cr=' ' |
|
21189 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
21190 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
21191 |
ac_cs_awk_cr='\\r' |
|
21192 |
else |
|
21193 |
ac_cs_awk_cr=$ac_cr |
|
21194 |
fi |
|
21195 |
||
21196 |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
|
21197 |
_ACEOF |
|
21198 |
||
21199 |
||
21200 |
{ |
|
21201 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
21202 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
21203 |
echo "_ACEOF" |
|
21204 |
} >conf$$subs.sh || |
|
21205 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
21206 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
21207 |
{ (exit 1); exit 1; }; } |
|
21208 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|
21209 |
ac_delim='%!_!# ' |
|
21210 |
for ac_last_try in false false false false false :; do |
|
21211 |
. ./conf$$subs.sh || |
|
21212 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
21213 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
21214 |
{ (exit 1); exit 1; }; } |
|
21215 |
||
21216 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
21217 |
if test $ac_delim_n = $ac_delim_num; then |
|
21218 |
break |
|
21219 |
elif $ac_last_try; then |
|
21220 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
21221 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
21222 |
{ (exit 1); exit 1; }; } |
|
21223 |
else |
|
21224 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
21225 |
fi |
|
21226 |
done |
|
21227 |
rm -f conf$$subs.sh |
|
21228 |
||
21229 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21230 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|
21231 |
_ACEOF |
|
21232 |
sed -n ' |
|
21233 |
h |
|
21234 |
s/^/S["/; s/!.*/"]=/ |
|
21235 |
p |
|
21236 |
g |
|
21237 |
s/^[^!]*!// |
|
21238 |
:repl |
|
21239 |
t repl |
|
21240 |
s/'"$ac_delim"'$// |
|
21241 |
t delim |
|
21242 |
:nl |
|
21243 |
h |
|
21244 |
s/\(.\{148\}\).*/\1/ |
|
21245 |
t more1 |
|
21246 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
21247 |
p |
|
21248 |
n |
|
21249 |
b repl |
|
21250 |
:more1 |
|
21251 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
21252 |
p |
|
21253 |
g |
|
21254 |
s/.\{148\}// |
|
21255 |
t nl |
|
21256 |
:delim |
|
21257 |
h |
|
21258 |
s/\(.\{148\}\).*/\1/ |
|
21259 |
t more2 |
|
21260 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
21261 |
p |
|
21262 |
b |
|
21263 |
:more2 |
|
21264 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
21265 |
p |
|
21266 |
g |
|
21267 |
s/.\{148\}// |
|
21268 |
t delim |
|
21269 |
' <conf$$subs.awk | sed ' |
|
21270 |
/^[^""]/{ |
|
21271 |
N |
|
21272 |
s/\n// |
|
21273 |
} |
|
21274 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
21275 |
rm -f conf$$subs.awk |
|
21276 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21277 |
_ACAWK |
|
21278 |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
21279 |
for (key in S) S_is_set[key] = 1 |
|
21280 |
FS = "" |
|
21281 |
||
21282 |
} |
|
21283 |
{ |
|
21284 |
line = $ 0 |
|
21285 |
nfields = split(line, field, "@") |
|
21286 |
substed = 0 |
|
21287 |
len = length(field[1]) |
|
21288 |
for (i = 2; i < nfields; i++) { |
|
21289 |
key = field[i] |
|
21290 |
keylen = length(key) |
|
21291 |
if (S_is_set[key]) { |
|
21292 |
value = S[key] |
|
21293 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
21294 |
len += length(value) + length(field[++i]) |
|
21295 |
substed = 1 |
|
21296 |
} else |
|
21297 |
len += 1 + keylen |
|
21298 |
} |
|
21299 |
||
21300 |
print line |
|
21301 |
} |
|
21302 |
||
21303 |
_ACAWK |
|
21304 |
_ACEOF |
|
21305 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21306 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
21307 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
21308 |
else |
|
21309 |
cat |
|
21310 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|
21311 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
|
21312 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
|
21313 |
{ (exit 1); exit 1; }; } |
|
21314 |
_ACEOF |
|
21315 |
||
21316 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
21317 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
21318 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
21319 |
# (actually we leave an empty line to preserve line numbers). |
|
21320 |
if test "x$srcdir" = x.; then |
|
21321 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
21322 |
s/:*\$(srcdir):*/:/ |
|
21323 |
s/:*\${srcdir}:*/:/ |
|
21324 |
s/:*@srcdir@:*/:/ |
|
21325 |
s/^\([^=]*=[ ]*\):*/\1/ |
|
21326 |
s/:*$// |
|
21327 |
s/^[^=]*=[ ]*$// |
|
21328 |
}' |
|
21329 |
fi |
|
21330 |
||
21331 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21332 |
fi # test -n "$CONFIG_FILES" |
|
21333 |
||
21334 |
# Set up the scripts for CONFIG_HEADERS section. |
|
21335 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
21336 |
# This happens for instance with `./config.status Makefile'. |
|
21337 |
if test -n "$CONFIG_HEADERS"; then |
|
21338 |
cat >"$tmp/defines.awk" <<\_ACAWK || |
|
21339 |
BEGIN { |
|
21340 |
_ACEOF |
|
21341 |
||
21342 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
21343 |
# here-document in config.status, that substitutes the proper values into |
|
21344 |
# config.h.in to produce config.h. |
|
21345 |
||
21346 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
21347 |
# handling of long lines. |
|
21348 |
ac_delim='%!_!# ' |
|
21349 |
for ac_last_try in false false :; do |
|
21350 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
21351 |
if test -z "$ac_t"; then |
|
21352 |
break |
|
21353 |
elif $ac_last_try; then |
|
21354 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
|
21355 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
|
21356 |
{ (exit 1); exit 1; }; } |
|
21357 |
else |
|
21358 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
21359 |
fi |
|
21360 |
done |
|
21361 |
||
21362 |
# For the awk script, D is an array of macro values keyed by name, |
|
21363 |
# likewise P contains macro parameters if any. Preserve backslash |
|
21364 |
# newline sequences. |
|
21365 |
||
21366 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
21367 |
sed -n ' |
|
21368 |
s/.\{148\}/&'"$ac_delim"'/g |
|
21369 |
t rset |
|
21370 |
:rset |
|
21371 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
21372 |
t def |
|
21373 |
d |
|
21374 |
:def |
|
21375 |
s/\\$// |
|
21376 |
t bsnl |
|
21377 |
s/["\\]/\\&/g |
|
21378 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
21379 |
D["\1"]=" \3"/p |
|
21380 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
21381 |
d |
|
21382 |
:bsnl |
|
21383 |
s/["\\]/\\&/g |
|
21384 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
21385 |
D["\1"]=" \3\\\\\\n"\\/p |
|
21386 |
t cont |
|
21387 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
21388 |
t cont |
|
21389 |
d |
|
21390 |
:cont |
|
21391 |
n |
|
21392 |
s/.\{148\}/&'"$ac_delim"'/g |
|
21393 |
t clear |
|
21394 |
:clear |
|
21395 |
s/\\$// |
|
21396 |
t bsnlc |
|
21397 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
21398 |
d |
|
21399 |
:bsnlc |
|
21400 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
21401 |
b cont |
|
21402 |
' <confdefs.h | sed ' |
|
21403 |
s/'"$ac_delim"'/"\\\ |
|
21404 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
21405 |
||
21406 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21407 |
for (key in D) D_is_set[key] = 1 |
|
21408 |
FS = "" |
|
21409 |
} |
|
21410 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
21411 |
line = \$ 0 |
|
21412 |
split(line, arg, " ") |
|
21413 |
if (arg[1] == "#") { |
|
21414 |
defundef = arg[2] |
|
21415 |
mac1 = arg[3] |
|
21416 |
} else { |
|
21417 |
defundef = substr(arg[1], 2) |
|
21418 |
mac1 = arg[2] |
|
21419 |
} |
|
21420 |
split(mac1, mac2, "(") #) |
|
21421 |
macro = mac2[1] |
|
21422 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
21423 |
if (D_is_set[macro]) { |
|
21424 |
# Preserve the white space surrounding the "#". |
|
21425 |
print prefix "define", macro P[macro] D[macro] |
|
21426 |
next |
|
21427 |
} else { |
|
21428 |
# Replace #undef with comments. This is necessary, for example, |
|
21429 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
21430 |
# on some systems where configure will not decide to define it. |
|
21431 |
if (defundef == "undef") { |
|
21432 |
print "/*", prefix defundef, macro, "*/" |
|
21433 |
next |
|
21434 |
} |
|
21435 |
} |
|
21436 |
} |
|
21437 |
{ print } |
|
21438 |
_ACAWK |
|
21439 |
_ACEOF |
|
21440 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21441 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
|
21442 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
|
21443 |
{ (exit 1); exit 1; }; } |
|
21444 |
fi # test -n "$CONFIG_HEADERS" |
|
21445 |
||
21446 |
||
21447 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
21448 |
shift |
|
21449 |
for ac_tag |
|
21450 |
do |
|
21451 |
case $ac_tag in |
|
21452 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
21453 |
esac |
|
21454 |
case $ac_mode$ac_tag in |
|
21455 |
:[FHL]*:*);; |
|
21456 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
|
21457 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
|
21458 |
{ (exit 1); exit 1; }; };; |
|
21459 |
:[FH]-) ac_tag=-:-;; |
|
21460 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
21461 |
esac |
|
21462 |
ac_save_IFS=$IFS |
|
21463 |
IFS=: |
|
21464 |
set x $ac_tag |
|
21465 |
IFS=$ac_save_IFS |
|
21466 |
shift |
|
21467 |
ac_file=$1 |
|
21468 |
shift |
|
21469 |
||
21470 |
case $ac_mode in |
|
21471 |
:L) ac_source=$1;; |
|
21472 |
:[FH]) |
|
21473 |
ac_file_inputs= |
|
21474 |
for ac_f |
|
21475 |
do |
|
21476 |
case $ac_f in |
|
21477 |
-) ac_f="$tmp/stdin";; |
|
21478 |
*) # Look for the file first in the build tree, then in the source tree |
|
21479 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
21480 |
# because $ac_f cannot contain `:'. |
|
21481 |
test -f "$ac_f" || |
|
21482 |
case $ac_f in |
|
21483 |
[\\/$]*) false;; |
|
21484 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
21485 |
esac || |
|
21486 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
21487 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
21488 |
{ (exit 1); exit 1; }; };; |
|
21489 |
esac |
|
21490 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
21491 |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
|
21492 |
done |
|
21493 |
||
21494 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
21495 |
# use $as_me), people would be surprised to read: |
|
21496 |
# /* config.h. Generated by config.status. */ |
|
21497 |
configure_input='Generated from '` |
|
21498 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
21499 |
`' by configure.' |
|
21500 |
if test x"$ac_file" != x-; then |
|
21501 |
configure_input="$ac_file. $configure_input" |
|
21502 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
21503 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
21504 |
fi |
|
21505 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
21506 |
case $configure_input in #( |
|
21507 |
*\&* | *\|* | *\\* ) |
|
21508 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
21509 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
21510 |
*) ac_sed_conf_input=$configure_input;; |
|
21511 |
esac |
|
21512 |
||
21513 |
case $ac_tag in |
|
21514 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
|
21515 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
21516 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
21517 |
{ (exit 1); exit 1; }; } ;; |
|
21518 |
esac |
|
21519 |
;; |
|
21520 |
esac |
|
21521 |
||
21522 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
21523 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21524 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
21525 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
21526 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
21527 |
$as_echo X"$ac_file" | |
|
21528 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21529 |
s//\1/ |
|
21530 |
q |
|
21531 |
} |
|
21532 |
/^X\(\/\/\)[^/].*/{ |
|
21533 |
s//\1/ |
|
21534 |
q |
|
21535 |
} |
|
21536 |
/^X\(\/\/\)$/{ |
|
21537 |
s//\1/ |
|
21538 |
q |
|
21539 |
} |
|
21540 |
/^X\(\/\).*/{ |
|
21541 |
s//\1/ |
|
21542 |
q |
|
21543 |
} |
|
21544 |
s/.*/./; q'` |
|
21545 |
{ as_dir="$ac_dir" |
|
21546 |
case $as_dir in #( |
|
21547 |
-*) as_dir=./$as_dir;; |
|
21548 |
esac |
|
21549 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
21550 |
as_dirs= |
|
21551 |
while :; do |
|
21552 |
case $as_dir in #( |
|
21553 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
21554 |
*) as_qdir=$as_dir;; |
|
21555 |
esac |
|
21556 |
as_dirs="'$as_qdir' $as_dirs" |
|
21557 |
as_dir=`$as_dirname -- "$as_dir" || |
|
21558 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21559 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
21560 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
21561 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
21562 |
$as_echo X"$as_dir" | |
|
21563 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21564 |
s//\1/ |
|
21565 |
q |
|
21566 |
} |
|
21567 |
/^X\(\/\/\)[^/].*/{ |
|
21568 |
s//\1/ |
|
21569 |
q |
|
21570 |
} |
|
21571 |
/^X\(\/\/\)$/{ |
|
21572 |
s//\1/ |
|
21573 |
q |
|
21574 |
} |
|
21575 |
/^X\(\/\).*/{ |
|
21576 |
s//\1/ |
|
21577 |
q |
|
21578 |
} |
|
21579 |
s/.*/./; q'` |
|
21580 |
test -d "$as_dir" && break |
|
21581 |
done |
|
21582 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
21583 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
21584 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
21585 |
{ (exit 1); exit 1; }; }; } |
|
21586 |
ac_builddir=. |
|
21587 |
||
21588 |
case "$ac_dir" in |
|
21589 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
21590 |
*) |
|
21591 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
21592 |
# A ".." for each directory in $ac_dir_suffix. |
|
21593 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
21594 |
case $ac_top_builddir_sub in |
|
21595 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
21596 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
21597 |
esac ;; |
|
21598 |
esac |
|
21599 |
ac_abs_top_builddir=$ac_pwd |
|
21600 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
21601 |
# for backward compatibility: |
|
21602 |
ac_top_builddir=$ac_top_build_prefix |
|
21603 |
||
21604 |
case $srcdir in |
|
21605 |
.) # We are building in place. |
|
21606 |
ac_srcdir=. |
|
21607 |
ac_top_srcdir=$ac_top_builddir_sub |
|
21608 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
21609 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
21610 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
21611 |
ac_top_srcdir=$srcdir |
|
21612 |
ac_abs_top_srcdir=$srcdir ;; |
|
21613 |
*) # Relative name. |
|
21614 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
21615 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
21616 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
21617 |
esac |
|
21618 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
21619 |
||
21620 |
||
21621 |
case $ac_mode in |
|
21622 |
:F) |
|
21623 |
# |
|
21624 |
# CONFIG_FILE |
|
21625 |
# |
|
21626 |
||
21627 |
case $INSTALL in |
|
21628 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
21629 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
21630 |
esac |
|
21631 |
ac_MKDIR_P=$MKDIR_P |
|
21632 |
case $MKDIR_P in |
|
21633 |
[\\/$]* | ?:[\\/]* ) ;; |
|
21634 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
21635 |
esac |
|
21636 |
_ACEOF |
|
21637 |
||
21638 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21639 |
# If the template does not know about datarootdir, expand it. |
|
21640 |
# FIXME: This hack should be removed a few years after 2.60. |
|
21641 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
21642 |
||
21643 |
ac_sed_dataroot=' |
|
21644 |
/datarootdir/ { |
|
21645 |
p |
|
21646 |
q |
|
21647 |
} |
|
21648 |
/@datadir@/p |
|
21649 |
/@docdir@/p |
|
21650 |
/@infodir@/p |
|
21651 |
/@localedir@/p |
|
21652 |
/@mandir@/p |
|
21653 |
' |
|
21654 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
21655 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
21656 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
21657 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
21658 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
21659 |
_ACEOF |
|
21660 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21661 |
ac_datarootdir_hack=' |
|
21662 |
s&@datadir@&$datadir&g |
|
21663 |
s&@docdir@&$docdir&g |
|
21664 |
s&@infodir@&$infodir&g |
|
21665 |
s&@localedir@&$localedir&g |
|
21666 |
s&@mandir@&$mandir&g |
|
21667 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
21668 |
esac |
|
21669 |
_ACEOF |
|
21670 |
||
21671 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
21672 |
# Shell code in configure.ac might set extrasub. |
|
21673 |
# FIXME: do we really want to maintain this feature? |
|
21674 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
21675 |
ac_sed_extra="$ac_vpsub |
|
21676 |
$extrasub |
|
21677 |
_ACEOF |
|
21678 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
21679 |
:t |
|
21680 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
21681 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
21682 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
21683 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
21684 |
s&@srcdir@&$ac_srcdir&;t t |
|
21685 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
21686 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
21687 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
21688 |
s&@builddir@&$ac_builddir&;t t |
|
21689 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
21690 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
21691 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
21692 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
21693 |
$ac_datarootdir_hack |
|
21694 |
" |
|
21695 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
21696 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
21697 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
21698 |
{ (exit 1); exit 1; }; } |
|
21699 |
||
21700 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
21701 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
21702 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
21703 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
21704 |
which seems to be undefined. Please make sure it is defined." >&5 |
|
21705 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
21706 |
which seems to be undefined. Please make sure it is defined." >&2;} |
|
21707 |
||
21708 |
rm -f "$tmp/stdin" |
|
21709 |
case $ac_file in |
|
21710 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
|
21711 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|
21712 |
esac \ |
|
21713 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
21714 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
21715 |
{ (exit 1); exit 1; }; } |
|
21716 |
;; |
|
21717 |
:H) |
|
21718 |
# |
|
21719 |
# CONFIG_HEADER |
|
21720 |
# |
|
21721 |
if test x"$ac_file" != x-; then |
|
21722 |
{ |
|
21723 |
$as_echo "/* $configure_input */" \ |
|
21724 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
21725 |
} >"$tmp/config.h" \ |
|
21726 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
21727 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
21728 |
{ (exit 1); exit 1; }; } |
|
21729 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
|
21730 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
21731 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
21732 |
else |
|
21733 |
rm -f "$ac_file" |
|
21734 |
mv "$tmp/config.h" "$ac_file" \ |
|
21735 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
21736 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
21737 |
{ (exit 1); exit 1; }; } |
|
21738 |
fi |
|
21739 |
else |
|
21740 |
$as_echo "/* $configure_input */" \ |
|
21741 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
21742 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
|
21743 |
$as_echo "$as_me: error: could not create -" >&2;} |
|
21744 |
{ (exit 1); exit 1; }; } |
|
21745 |
fi |
|
21746 |
# Compute "$ac_file"'s index in $config_headers. |
|
21747 |
_am_arg="$ac_file" |
|
21748 |
_am_stamp_count=1 |
|
21749 |
for _am_header in $config_headers :; do |
|
21750 |
case $_am_header in |
|
21751 |
$_am_arg | $_am_arg:* ) |
|
21752 |
break ;; |
|
21753 |
* ) |
|
21754 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
21755 |
esac |
|
21756 |
done |
|
21757 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
21758 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21759 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
21760 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
21761 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
21762 |
$as_echo X"$_am_arg" | |
|
21763 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21764 |
s//\1/ |
|
21765 |
q |
|
21766 |
} |
|
21767 |
/^X\(\/\/\)[^/].*/{ |
|
21768 |
s//\1/ |
|
21769 |
q |
|
21770 |
} |
|
21771 |
/^X\(\/\/\)$/{ |
|
21772 |
s//\1/ |
|
21773 |
q |
|
21774 |
} |
|
21775 |
/^X\(\/\).*/{ |
|
21776 |
s//\1/ |
|
21777 |
q |
|
21778 |
} |
|
21779 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
21780 |
;; |
|
21781 |
||
21782 |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
|
21783 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
21784 |
;; |
|
21785 |
esac |
|
21786 |
||
21787 |
||
21788 |
case $ac_file$ac_mode in |
|
21789 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
|
21790 |
# Strip MF so we end up with the name of the file. |
|
21791 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
21792 |
# Check whether this is an Automake generated Makefile or not. |
|
21793 |
# We used to match only the files named `Makefile.in', but |
|
21794 |
# some people rename them; so instead we look at the file content. |
|
21795 |
# Grep'ing the first line is not enough: some people post-process |
|
21796 |
# each Makefile.in and add a new line on top of each file to say so. |
|
21797 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
21798 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
21799 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
21800 |
dirpart=`$as_dirname -- "$mf" || |
|
21801 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21802 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
21803 |
X"$mf" : 'X\(//\)$' \| \ |
|
21804 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
21805 |
$as_echo X"$mf" | |
|
21806 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21807 |
s//\1/ |
|
21808 |
q |
|
21809 |
} |
|
21810 |
/^X\(\/\/\)[^/].*/{ |
|
21811 |
s//\1/ |
|
21812 |
q |
|
21813 |
} |
|
21814 |
/^X\(\/\/\)$/{ |
|
21815 |
s//\1/ |
|
21816 |
q |
|
21817 |
} |
|
21818 |
/^X\(\/\).*/{ |
|
21819 |
s//\1/ |
|
21820 |
q |
|
21821 |
} |
|
21822 |
s/.*/./; q'` |
|
21823 |
else |
|
21824 |
continue |
|
21825 |
fi |
|
21826 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
21827 |
# from the Makefile without running `make'. |
|
21828 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
21829 |
test -z "$DEPDIR" && continue |
|
21830 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
21831 |
test -z "am__include" && continue |
|
21832 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
21833 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
21834 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
21835 |
# Find all dependency output files, they are included files with |
|
21836 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
21837 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
21838 |
# expansion. |
|
21839 |
for file in `sed -n " |
|
21840 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
21841 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
21842 |
# Make sure the directory exists. |
|
21843 |
test -f "$dirpart/$file" && continue |
|
21844 |
fdir=`$as_dirname -- "$file" || |
|
21845 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21846 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
21847 |
X"$file" : 'X\(//\)$' \| \ |
|
21848 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
21849 |
$as_echo X"$file" | |
|
21850 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21851 |
s//\1/ |
|
21852 |
q |
|
21853 |
} |
|
21854 |
/^X\(\/\/\)[^/].*/{ |
|
21855 |
s//\1/ |
|
21856 |
q |
|
21857 |
} |
|
21858 |
/^X\(\/\/\)$/{ |
|
21859 |
s//\1/ |
|
21860 |
q |
|
21861 |
} |
|
21862 |
/^X\(\/\).*/{ |
|
21863 |
s//\1/ |
|
21864 |
q |
|
21865 |
} |
|
21866 |
s/.*/./; q'` |
|
21867 |
{ as_dir=$dirpart/$fdir |
|
21868 |
case $as_dir in #( |
|
21869 |
-*) as_dir=./$as_dir;; |
|
21870 |
esac |
|
21871 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
21872 |
as_dirs= |
|
21873 |
while :; do |
|
21874 |
case $as_dir in #( |
|
21875 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
21876 |
*) as_qdir=$as_dir;; |
|
21877 |
esac |
|
21878 |
as_dirs="'$as_qdir' $as_dirs" |
|
21879 |
as_dir=`$as_dirname -- "$as_dir" || |
|
21880 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
21881 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
21882 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
21883 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
21884 |
$as_echo X"$as_dir" | |
|
21885 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
21886 |
s//\1/ |
|
21887 |
q |
|
21888 |
} |
|
21889 |
/^X\(\/\/\)[^/].*/{ |
|
21890 |
s//\1/ |
|
21891 |
q |
|
21892 |
} |
|
21893 |
/^X\(\/\/\)$/{ |
|
21894 |
s//\1/ |
|
21895 |
q |
|
21896 |
} |
|
21897 |
/^X\(\/\).*/{ |
|
21898 |
s//\1/ |
|
21899 |
q |
|
21900 |
} |
|
21901 |
s/.*/./; q'` |
|
21902 |
test -d "$as_dir" && break |
|
21903 |
done |
|
21904 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
21905 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
21906 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
21907 |
{ (exit 1); exit 1; }; }; } |
|
21908 |
# echo "creating $dirpart/$file" |
|
21909 |
echo '# dummy' > "$dirpart/$file" |
|
21910 |
done |
|
21911 |
done |
|
21912 |
;; |
|
21913 |
||
21914 |
esac |
|
21915 |
done # for ac_tag |
|
21916 |
||
21917 |
||
21918 |
{ (exit 0); exit 0; } |
|
21919 |
_ACEOF |
|
21920 |
chmod +x $CONFIG_STATUS |
|
21921 |
ac_clean_files=$ac_clean_files_save |
|
21922 |
||
21923 |
test $ac_write_fail = 0 || |
|
21924 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
21925 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
21926 |
{ (exit 1); exit 1; }; } |
|
21927 |
||
21928 |
||
21929 |
# configure is writing to config.log, and then calls config.status. |
|
21930 |
# config.status does its own redirection, appending to config.log. |
|
21931 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
21932 |
# by configure, so config.status won't be able to write to it; its |
|
21933 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
21934 |
# effectively closing config.log, so it can be properly (re)opened and |
|
21935 |
# appended to by config.status. When coming back to configure, we |
|
21936 |
# need to make the FD available again. |
|
21937 |
if test "$no_create" != yes; then |
|
21938 |
ac_cs_success=: |
|
21939 |
ac_config_status_args= |
|
21940 |
test "$silent" = yes && |
|
21941 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
21942 |
exec 5>/dev/null |
|
21943 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
21944 |
exec 5>>config.log |
|
21945 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
21946 |
# would make configure fail if this is the last instruction. |
|
21947 |
$ac_cs_success || { (exit 1); exit 1; } |
|
21948 |
fi |
|
21949 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
21950 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
21951 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
21952 |
fi |
|
21953 |
||
21954 |
||
21955 |
cat >confcache <<\_ACEOF |
|
21956 |
# This file is a shell script that caches the results of configure |
|
21957 |
# tests run on this system so they can be shared between configure |
|
21958 |
# scripts and configure runs, see configure's option --config-cache. |
|
21959 |
# It is not useful on other systems. If it contains results you don't |
|
21960 |
# want to keep, you may remove or edit it. |
|
21961 |
# |
|
21962 |
# config.status only pays attention to the cache file if you give it |
|
21963 |
# the --recheck option to rerun configure. |
|
21964 |
# |
|
21965 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
21966 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
21967 |
# following values. |
|
21968 |
||
21969 |
_ACEOF |
|
21970 |
||
21971 |
# The following way of writing the cache mishandles newlines in values, |
|
21972 |
# but we know of no workaround that is simple, portable, and efficient. |
|
21973 |
# So, we kill variables containing newlines. |
|
21974 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
21975 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
21976 |
( |
|
21977 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
21978 |
eval ac_val=\$$ac_var |
|
21979 |
case $ac_val in #( |
|
21980 |
*${as_nl}*) |
|
21981 |
case $ac_var in #( |
|
21982 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|
21983 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
21984 |
esac |
|
21985 |
case $ac_var in #( |
|
21986 |
_ | IFS | as_nl) ;; #( |
|
21987 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
21988 |
*) $as_unset $ac_var ;; |
|
21989 |
esac ;; |
|
21990 |
esac |
|
21991 |
done |
|
21992 |
||
21993 |
(set) 2>&1 | |
|
21994 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
21995 |
*${as_nl}ac_space=\ *) |
|
21996 |
# `set' does not quote correctly, so add quotes (double-quote |
|
21997 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
|
21998 |
sed -n \ |
|
21999 |
"s/'/'\\\\''/g; |
|
22000 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
22001 |
;; #( |
|
22002 |
*) |
|
22003 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
22004 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
22005 |
;; |
|
22006 |
esac | |
|
22007 |
sort |
|
22008 |
) | |
|
22009 |
sed ' |
|
22010 |
/^ac_cv_env_/b end |
|
22011 |
t clear |
|
22012 |
:clear |
|
22013 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
22014 |
t end |
|
22015 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
22016 |
:end' >>confcache |
|
22017 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
22018 |
if test -w "$cache_file"; then |
|
22019 |
test "x$cache_file" != "x/dev/null" && |
|
22020 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
22021 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
22022 |
cat confcache >$cache_file |
|
22023 |
else |
|
22024 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|
22025 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
22026 |
fi |
|
22027 |
fi |
|
22028 |
rm -f confcache |
|
22029 |
||
22030 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
22031 |
# Let make expand exec_prefix. |
|
22032 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
22033 |
||
22034 |
DEFS=-DHAVE_CONFIG_H |
|
22035 |
||
22036 |
ac_libobjs= |
|
22037 |
ac_ltlibobjs= |
|
22038 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
22039 |
# 1. Remove the extension, and $U if already installed. |
|
22040 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
22041 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
22042 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
22043 |
# will be set to the directory where LIBOBJS objects are built. |
|
22044 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
22045 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|
22046 |
done |
|
22047 |
LIBOBJS=$ac_libobjs |
|
22048 |
||
22049 |
LTLIBOBJS=$ac_ltlibobjs |
|
22050 |
||
22051 |
||
22052 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
22053 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
|
22054 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22055 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
22056 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22057 |
{ (exit 1); exit 1; }; } |
|
22058 |
fi |
|
22059 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
22060 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
22061 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22062 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
22063 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22064 |
{ (exit 1); exit 1; }; } |
|
22065 |
fi |
|
22066 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
22067 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
|
22068 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22069 |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
22070 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22071 |
{ (exit 1); exit 1; }; } |
|
22072 |
fi |
|
22073 |
||
22074 |
: ${CONFIG_STATUS=./config.status} |
|
22075 |
ac_write_fail=0 |
|
22076 |
ac_clean_files_save=$ac_clean_files |
|
22077 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
22078 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|
22079 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
22080 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22081 |
#! $SHELL |
|
22082 |
# Generated by $as_me. |
|
22083 |
# Run this file to recreate the current configuration. |
|
22084 |
# Compiler output produced by configure, useful for debugging |
|
22085 |
# configure, is in config.log if it exists. |
|
22086 |
||
22087 |
debug=false |
|
22088 |
ac_cs_recheck=false |
|
22089 |
ac_cs_silent=false |
|
22090 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
22091 |
_ACEOF |
|
22092 |
||
22093 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22094 |
## --------------------- ## |
|
22095 |
## M4sh Initialization. ## |
|
22096 |
## --------------------- ## |
|
22097 |
||
22098 |
# Be more Bourne compatible |
|
22099 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
22100 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
22101 |
emulate sh |
|
22102 |
NULLCMD=: |
|
22103 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
22104 |
# is contrary to our usage. Disable this feature. |
|
22105 |
alias -g '${1+"$@"}'='"$@"' |
|
22106 |
setopt NO_GLOB_SUBST |
|
22107 |
else |
|
22108 |
case `(set -o) 2>/dev/null` in |
|
22109 |
*posix*) set -o posix ;; |
|
22110 |
esac |
|
22111 |
||
22112 |
fi |
|
22113 |
||
22114 |
||
22115 |
||
22116 |
||
22117 |
# PATH needs CR |
|
22118 |
# Avoid depending upon Character Ranges. |
|
22119 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
22120 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
22121 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
22122 |
as_cr_digits='0123456789' |
|
22123 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
22124 |
||
22125 |
as_nl=' |
|
22126 |
' |
|
22127 |
export as_nl |
|
22128 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
22129 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
22130 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
22131 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
22132 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
22133 |
as_echo='printf %s\n' |
|
22134 |
as_echo_n='printf %s' |
|
22135 |
else |
|
22136 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
22137 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
22138 |
as_echo_n='/usr/ucb/echo -n' |
|
22139 |
else |
|
22140 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
22141 |
as_echo_n_body='eval |
|
22142 |
arg=$1; |
|
22143 |
case $arg in |
|
22144 |
*"$as_nl"*) |
|
22145 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
22146 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
22147 |
esac; |
|
22148 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
22149 |
' |
|
22150 |
export as_echo_n_body |
|
22151 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
22152 |
fi |
|
22153 |
export as_echo_body |
|
22154 |
as_echo='sh -c $as_echo_body as_echo' |
|
22155 |
fi |
|
22156 |
||
22157 |
# The user is always right. |
|
22158 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
22159 |
PATH_SEPARATOR=: |
|
22160 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
22161 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
22162 |
PATH_SEPARATOR=';' |
|
22163 |
} |
|
22164 |
fi |
|
22165 |
||
22166 |
# Support unset when possible. |
|
22167 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
22168 |
as_unset=unset |
|
22169 |
else |
|
22170 |
as_unset=false |
|
22171 |
fi |
|
22172 |
||
22173 |
||
22174 |
# IFS |
|
22175 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
22176 |
# there to prevent editors from complaining about space-tab. |
|
22177 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
22178 |
# splitting by setting IFS to empty value.) |
|
22179 |
IFS=" "" $as_nl" |
|
22180 |
||
22181 |
# Find who we are. Look in the path if we contain no directory separator. |
|
22182 |
case $0 in |
|
22183 |
*[\\/]* ) as_myself=$0 ;; |
|
22184 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
22185 |
for as_dir in $PATH |
|
22186 |
do |
|
22187 |
IFS=$as_save_IFS |
|
22188 |
test -z "$as_dir" && as_dir=. |
|
22189 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
22190 |
done |
|
22191 |
IFS=$as_save_IFS |
|
22192 |
||
22193 |
;; |
|
22194 |
esac |
|
22195 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
22196 |
# in which case we are not to be found in the path. |
|
22197 |
if test "x$as_myself" = x; then |
|
22198 |
as_myself=$0 |
|
22199 |
fi |
|
22200 |
if test ! -f "$as_myself"; then |
|
22201 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
22202 |
{ (exit 1); exit 1; } |
|
22203 |
fi |
|
22204 |
||
22205 |
# Work around bugs in pre-3.0 UWIN ksh. |
|
22206 |
for as_var in ENV MAIL MAILPATH |
|
22207 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
22208 |
done |
|
22209 |
PS1='$ ' |
|
22210 |
PS2='> ' |
|
22211 |
PS4='+ ' |
|
22212 |
||
22213 |
# NLS nuisances. |
|
22214 |
LC_ALL=C |
|
22215 |
export LC_ALL |
|
22216 |
LANGUAGE=C |
|
22217 |
export LANGUAGE |
|
22218 |
||
22219 |
# Required to use basename. |
|
22220 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
22221 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
22222 |
as_expr=expr |
|
22223 |
else |
|
22224 |
as_expr=false |
|
22225 |
fi |
|
22226 |
||
22227 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
22228 |
as_basename=basename |
|
22229 |
else |
|
22230 |
as_basename=false |
|
22231 |
fi |
|
22232 |
||
22233 |
||
22234 |
# Name of the executable. |
|
22235 |
as_me=`$as_basename -- "$0" || |
|
22236 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
22237 |
X"$0" : 'X\(//\)$' \| \ |
|
22238 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
22239 |
$as_echo X/"$0" | |
|
22240 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
22241 |
s//\1/ |
|
22242 |
q |
|
22243 |
} |
|
22244 |
/^X\/\(\/\/\)$/{ |
|
22245 |
s//\1/ |
|
22246 |
q |
|
22247 |
} |
|
22248 |
/^X\/\(\/\).*/{ |
|
22249 |
s//\1/ |
|
22250 |
q |
|
22251 |
} |
|
22252 |
s/.*/./; q'` |
|
22253 |
||
22254 |
# CDPATH. |
|
22255 |
$as_unset CDPATH |
|
22256 |
||
22257 |
||
22258 |
||
22259 |
as_lineno_1=$LINENO |
|
22260 |
as_lineno_2=$LINENO |
|
22261 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
22262 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
22263 |
||
22264 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
22265 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
22266 |
# line-number line after each line using $LINENO; the second 'sed' |
|
22267 |
# does the real work. The second script uses 'N' to pair each |
|
22268 |
# line-number line with the line containing $LINENO, and appends |
|
22269 |
# trailing '-' during substitution so that $LINENO is not a special |
|
22270 |
# case at line end. |
|
22271 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
22272 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
|
22273 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
22274 |
sed -n ' |
|
22275 |
p |
|
22276 |
/[$]LINENO/= |
|
22277 |
' <$as_myself | |
|
22278 |
sed ' |
|
22279 |
s/[$]LINENO.*/&-/ |
|
22280 |
t lineno |
|
22281 |
b |
|
22282 |
:lineno |
|
22283 |
N |
|
22284 |
:loop |
|
22285 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
22286 |
t loop |
|
22287 |
s/-\n.*// |
|
22288 |
' >$as_me.lineno && |
|
22289 |
chmod +x "$as_me.lineno" || |
|
22290 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
22291 |
{ (exit 1); exit 1; }; } |
|
22292 |
||
22293 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
22294 |
# (the dirname of $[0] is not the place where we might find the |
|
22295 |
# original and so on. Autoconf is especially sensitive to this). |
|
22296 |
. "./$as_me.lineno" |
|
22297 |
# Exit status is that of the last command. |
|
22298 |
exit |
|
22299 |
} |
|
22300 |
||
22301 |
||
22302 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
22303 |
as_dirname=dirname |
|
22304 |
else |
|
22305 |
as_dirname=false |
|
22306 |
fi |
|
22307 |
||
22308 |
ECHO_C= ECHO_N= ECHO_T= |
|
22309 |
case `echo -n x` in |
|
22310 |
-n*) |
|
22311 |
case `echo 'x\c'` in |
|
22312 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
22313 |
*) ECHO_C='\c';; |
|
22314 |
esac;; |
|
22315 |
*) |
|
22316 |
ECHO_N='-n';; |
|
22317 |
esac |
|
22318 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
22319 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
22320 |
as_expr=expr |
|
22321 |
else |
|
22322 |
as_expr=false |
|
22323 |
fi |
|
22324 |
||
22325 |
rm -f conf$$ conf$$.exe conf$$.file |
|
22326 |
if test -d conf$$.dir; then |
|
22327 |
rm -f conf$$.dir/conf$$.file |
|
22328 |
else |
|
22329 |
rm -f conf$$.dir |
|
22330 |
mkdir conf$$.dir 2>/dev/null |
|
22331 |
fi |
|
22332 |
if (echo >conf$$.file) 2>/dev/null; then |
|
22333 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
22334 |
as_ln_s='ln -s' |
|
22335 |
# ... but there are two gotchas: |
|
22336 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
22337 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
22338 |
# In both cases, we have to default to `cp -p'. |
|
22339 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
22340 |
as_ln_s='cp -p' |
|
22341 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
22342 |
as_ln_s=ln |
|
22343 |
else |
|
22344 |
as_ln_s='cp -p' |
|
22345 |
fi |
|
22346 |
else |
|
22347 |
as_ln_s='cp -p' |
|
22348 |
fi |
|
22349 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
22350 |
rmdir conf$$.dir 2>/dev/null |
|
22351 |
||
22352 |
if mkdir -p . 2>/dev/null; then |
|
22353 |
as_mkdir_p=: |
|
22354 |
else |
|
22355 |
test -d ./-p && rmdir ./-p |
|
22356 |
as_mkdir_p=false |
|
22357 |
fi |
|
22358 |
||
22359 |
if test -x / >/dev/null 2>&1; then |
|
22360 |
as_test_x='test -x' |
|
22361 |
else |
|
22362 |
if ls -dL / >/dev/null 2>&1; then |
|
22363 |
as_ls_L_option=L |
|
22364 |
else |
|
22365 |
as_ls_L_option= |
|
22366 |
fi |
|
22367 |
as_test_x=' |
|
22368 |
eval sh -c '\'' |
|
22369 |
if test -d "$1"; then |
|
22370 |
test -d "$1/."; |
|
22371 |
else |
|
22372 |
case $1 in |
|
22373 |
-*)set "./$1";; |
|
22374 |
esac; |
|
22375 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
22376 |
???[sx]*):;;*)false;;esac;fi |
|
22377 |
'\'' sh |
|
22378 |
' |
|
22379 |
fi |
|
22380 |
as_executable_p=$as_test_x |
|
22381 |
||
22382 |
# Sed expression to map a string onto a valid CPP name. |
|
22383 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
22384 |
||
22385 |
# Sed expression to map a string onto a valid variable name. |
|
22386 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
22387 |
||
22388 |
||
22389 |
exec 6>&1 |
|
22390 |
||
22391 |
# Save the log message, to keep $[0] and so on meaningful, and to |
|
22392 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
22393 |
# values after options handling. |
|
22394 |
ac_log=" |
|
22395 |
This file was extended by $as_me, which was |
|
22396 |
generated by GNU Autoconf 2.63. Invocation command line was |
|
22397 |
||
22398 |
CONFIG_FILES = $CONFIG_FILES |
|
22399 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
22400 |
CONFIG_LINKS = $CONFIG_LINKS |
|
22401 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
22402 |
$ $0 $@ |
|
22403 |
||
22404 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
22405 |
" |
|
22406 |
||
22407 |
_ACEOF |
|
22408 |
||
22409 |
case $ac_config_files in *" |
|
22410 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
22411 |
esac |
|
22412 |
||
22413 |
case $ac_config_headers in *" |
|
22414 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
22415 |
esac |
|
22416 |
||
22417 |
||
22418 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22419 |
# Files that config.status was made for. |
|
22420 |
config_files="$ac_config_files" |
|
22421 |
config_headers="$ac_config_headers" |
|
22422 |
config_commands="$ac_config_commands" |
|
22423 |
||
22424 |
_ACEOF |
|
22425 |
||
22426 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22427 |
ac_cs_usage="\ |
|
22428 |
\`$as_me' instantiates files from templates according to the |
|
22429 |
current configuration. |
|
22430 |
||
22431 |
Usage: $0 [OPTION]... [FILE]... |
|
22432 |
||
22433 |
-h, --help print this help, then exit |
|
22434 |
-V, --version print version number and configuration settings, then exit |
|
22435 |
-q, --quiet, --silent |
|
22436 |
do not print progress messages |
|
22437 |
-d, --debug don't remove temporary files |
|
22438 |
--recheck update $as_me by reconfiguring in the same conditions |
|
22439 |
--file=FILE[:TEMPLATE] |
|
22440 |
instantiate the configuration file FILE |
|
22441 |
--header=FILE[:TEMPLATE] |
|
22442 |
instantiate the configuration header FILE |
|
22443 |
||
22444 |
Configuration files: |
|
22445 |
$config_files |
|
22446 |
||
22447 |
Configuration headers: |
|
22448 |
$config_headers |
|
22449 |
||
22450 |
Configuration commands: |
|
22451 |
$config_commands |
|
22452 |
||
22453 |
Report bugs to <bug-autoconf@gnu.org>." |
|
22454 |
||
22455 |
_ACEOF |
|
22456 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22457 |
ac_cs_version="\\ |
|
22458 |
config.status |
|
22459 |
configured by $0, generated by GNU Autoconf 2.63, |
|
22460 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
22461 |
||
22462 |
Copyright (C) 2008 Free Software Foundation, Inc. |
|
22463 |
This config.status script is free software; the Free Software Foundation |
|
22464 |
gives unlimited permission to copy, distribute and modify it." |
|
22465 |
||
22466 |
ac_pwd='$ac_pwd' |
|
22467 |
srcdir='$srcdir' |
|
22468 |
INSTALL='$INSTALL' |
|
22469 |
MKDIR_P='$MKDIR_P' |
|
22470 |
AWK='$AWK' |
|
22471 |
test -n "\$AWK" || AWK=awk |
|
22472 |
_ACEOF |
|
22473 |
||
22474 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22475 |
# The default lists apply if the user does not specify any file. |
|
22476 |
ac_need_defaults=: |
|
22477 |
while test $# != 0 |
|
22478 |
do |
|
22479 |
case $1 in |
|
22480 |
--*=*) |
|
22481 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
22482 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
22483 |
ac_shift=: |
|
22484 |
;; |
|
22485 |
*) |
|
22486 |
ac_option=$1 |
|
22487 |
ac_optarg=$2 |
|
22488 |
ac_shift=shift |
|
22489 |
;; |
|
22490 |
esac |
|
22491 |
||
22492 |
case $ac_option in |
|
22493 |
# Handling of the options. |
|
22494 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
22495 |
ac_cs_recheck=: ;; |
|
22496 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
22497 |
$as_echo "$ac_cs_version"; exit ;; |
|
22498 |
--debug | --debu | --deb | --de | --d | -d ) |
|
22499 |
debug=: ;; |
|
22500 |
--file | --fil | --fi | --f ) |
|
22501 |
$ac_shift |
|
22502 |
case $ac_optarg in |
|
22503 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
22504 |
esac |
|
22505 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
|
22506 |
ac_need_defaults=false;; |
|
22507 |
--header | --heade | --head | --hea ) |
|
22508 |
$ac_shift |
|
22509 |
case $ac_optarg in |
|
22510 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
22511 |
esac |
|
22512 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
|
22513 |
ac_need_defaults=false;; |
|
22514 |
--he | --h) |
|
22515 |
# Conflict between --help and --header |
|
22516 |
{ $as_echo "$as_me: error: ambiguous option: $1 |
|
22517 |
Try \`$0 --help' for more information." >&2 |
|
22518 |
{ (exit 1); exit 1; }; };; |
|
22519 |
--help | --hel | -h ) |
|
22520 |
$as_echo "$ac_cs_usage"; exit ;; |
|
22521 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
22522 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
22523 |
ac_cs_silent=: ;; |
|
22524 |
||
22525 |
# This is an error. |
|
22526 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
|
22527 |
Try \`$0 --help' for more information." >&2 |
|
22528 |
{ (exit 1); exit 1; }; } ;; |
|
22529 |
||
22530 |
*) ac_config_targets="$ac_config_targets $1" |
|
22531 |
ac_need_defaults=false ;; |
|
22532 |
||
22533 |
esac |
|
22534 |
shift |
|
22535 |
done |
|
22536 |
||
22537 |
ac_configure_extra_args= |
|
22538 |
||
22539 |
if $ac_cs_silent; then |
|
22540 |
exec 6>/dev/null |
|
22541 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
22542 |
fi |
|
22543 |
||
22544 |
_ACEOF |
|
22545 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22546 |
if \$ac_cs_recheck; then |
|
22547 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
22548 |
shift |
|
22549 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
22550 |
CONFIG_SHELL='$SHELL' |
|
22551 |
export CONFIG_SHELL |
|
22552 |
exec "\$@" |
|
22553 |
fi |
|
22554 |
||
22555 |
_ACEOF |
|
22556 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22557 |
exec 5>>config.log |
|
22558 |
{ |
|
22559 |
echo |
|
22560 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
22561 |
## Running $as_me. ## |
|
22562 |
_ASBOX |
|
22563 |
$as_echo "$ac_log" |
|
22564 |
} >&5 |
|
22565 |
||
22566 |
_ACEOF |
|
22567 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22568 |
# |
|
22569 |
# INIT-COMMANDS |
|
22570 |
# |
|
22571 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
22572 |
||
22573 |
_ACEOF |
|
22574 |
||
22575 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22576 |
||
22577 |
# Handling of arguments. |
|
22578 |
for ac_config_target in $ac_config_targets |
|
22579 |
do |
|
22580 |
case $ac_config_target in |
|
22581 |
"pbms_config.h") CONFIG_HEADERS="$CONFIG_HEADERS pbms_config.h" ;; |
|
22582 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
22583 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
22584 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
22585 |
"pbmstest/Makefile") CONFIG_FILES="$CONFIG_FILES pbmstest/Makefile" ;; |
|
22586 |
||
22587 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
22588 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
22589 |
{ (exit 1); exit 1; }; };; |
|
22590 |
esac |
|
22591 |
done |
|
22592 |
||
22593 |
||
22594 |
# If the user did not use the arguments to specify the items to instantiate, |
|
22595 |
# then the envvar interface is used. Set only those that are not. |
|
22596 |
# We use the long form for the default assignment because of an extremely |
|
22597 |
# bizarre bug on SunOS 4.1.3. |
|
22598 |
if $ac_need_defaults; then |
|
22599 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
22600 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
22601 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
22602 |
fi |
|
22603 |
||
22604 |
# Have a temporary directory for convenience. Make it in the build tree |
|
22605 |
# simply because there is no reason against having it here, and in addition, |
|
22606 |
# creating and moving files from /tmp can sometimes cause problems. |
|
22607 |
# Hook for its removal unless debugging. |
|
22608 |
# Note that there is a small window in which the directory will not be cleaned: |
|
22609 |
# after its creation but before its name has been assigned to `$tmp'. |
|
22610 |
$debug || |
|
22611 |
{ |
|
22612 |
tmp= |
|
22613 |
trap 'exit_status=$? |
|
22614 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
22615 |
' 0 |
|
22616 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
22617 |
} |
|
22618 |
# Create a (secure) tmp directory for tmp files. |
|
22619 |
||
22620 |
{ |
|
22621 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
22622 |
test -n "$tmp" && test -d "$tmp" |
|
22623 |
} || |
|
22624 |
{ |
|
22625 |
tmp=./conf$$-$RANDOM |
|
22626 |
(umask 077 && mkdir "$tmp") |
|
22627 |
} || |
|
22628 |
{ |
|
22629 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
|
22630 |
{ (exit 1); exit 1; } |
|
22631 |
} |
|
22632 |
||
22633 |
# Set up the scripts for CONFIG_FILES section. |
|
22634 |
# No need to generate them if there are no CONFIG_FILES. |
|
22635 |
# This happens for instance with `./config.status config.h'. |
|
22636 |
if test -n "$CONFIG_FILES"; then |
|
22637 |
||
22638 |
||
22639 |
ac_cr=' ' |
|
22640 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
22641 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
22642 |
ac_cs_awk_cr='\\r' |
|
22643 |
else |
|
22644 |
ac_cs_awk_cr=$ac_cr |
|
22645 |
fi |
|
22646 |
||
22647 |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
|
22648 |
_ACEOF |
|
22649 |
||
22650 |
||
22651 |
{ |
|
22652 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
22653 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
22654 |
echo "_ACEOF" |
|
22655 |
} >conf$$subs.sh || |
|
22656 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
22657 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
22658 |
{ (exit 1); exit 1; }; } |
|
22659 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|
22660 |
ac_delim='%!_!# ' |
|
22661 |
for ac_last_try in false false false false false :; do |
|
22662 |
. ./conf$$subs.sh || |
|
22663 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
22664 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
22665 |
{ (exit 1); exit 1; }; } |
|
22666 |
||
22667 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
22668 |
if test $ac_delim_n = $ac_delim_num; then |
|
22669 |
break |
|
22670 |
elif $ac_last_try; then |
|
22671 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
22672 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
22673 |
{ (exit 1); exit 1; }; } |
|
22674 |
else |
|
22675 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
22676 |
fi |
|
22677 |
done |
|
22678 |
rm -f conf$$subs.sh |
|
22679 |
||
22680 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22681 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|
22682 |
_ACEOF |
|
22683 |
sed -n ' |
|
22684 |
h |
|
22685 |
s/^/S["/; s/!.*/"]=/ |
|
22686 |
p |
|
22687 |
g |
|
22688 |
s/^[^!]*!// |
|
22689 |
:repl |
|
22690 |
t repl |
|
22691 |
s/'"$ac_delim"'$// |
|
22692 |
t delim |
|
22693 |
:nl |
|
22694 |
h |
|
22695 |
s/\(.\{148\}\).*/\1/ |
|
22696 |
t more1 |
|
22697 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
22698 |
p |
|
22699 |
n |
|
22700 |
b repl |
|
22701 |
:more1 |
|
22702 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
22703 |
p |
|
22704 |
g |
|
22705 |
s/.\{148\}// |
|
22706 |
t nl |
|
22707 |
:delim |
|
22708 |
h |
|
22709 |
s/\(.\{148\}\).*/\1/ |
|
22710 |
t more2 |
|
22711 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
22712 |
p |
|
22713 |
b |
|
22714 |
:more2 |
|
22715 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
22716 |
p |
|
22717 |
g |
|
22718 |
s/.\{148\}// |
|
22719 |
t delim |
|
22720 |
' <conf$$subs.awk | sed ' |
|
22721 |
/^[^""]/{ |
|
22722 |
N |
|
22723 |
s/\n// |
|
22724 |
} |
|
22725 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
22726 |
rm -f conf$$subs.awk |
|
22727 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22728 |
_ACAWK |
|
22729 |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
22730 |
for (key in S) S_is_set[key] = 1 |
|
22731 |
FS = "" |
|
22732 |
||
22733 |
} |
|
22734 |
{ |
|
22735 |
line = $ 0 |
|
22736 |
nfields = split(line, field, "@") |
|
22737 |
substed = 0 |
|
22738 |
len = length(field[1]) |
|
22739 |
for (i = 2; i < nfields; i++) { |
|
22740 |
key = field[i] |
|
22741 |
keylen = length(key) |
|
22742 |
if (S_is_set[key]) { |
|
22743 |
value = S[key] |
|
22744 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
22745 |
len += length(value) + length(field[++i]) |
|
22746 |
substed = 1 |
|
22747 |
} else |
|
22748 |
len += 1 + keylen |
|
22749 |
} |
|
22750 |
||
22751 |
print line |
|
22752 |
} |
|
22753 |
||
22754 |
_ACAWK |
|
22755 |
_ACEOF |
|
22756 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22757 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
22758 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
22759 |
else |
|
22760 |
cat |
|
22761 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|
22762 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
|
22763 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
|
22764 |
{ (exit 1); exit 1; }; } |
|
22765 |
_ACEOF |
|
22766 |
||
22767 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
22768 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
22769 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
22770 |
# (actually we leave an empty line to preserve line numbers). |
|
22771 |
if test "x$srcdir" = x.; then |
|
22772 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
22773 |
s/:*\$(srcdir):*/:/ |
|
22774 |
s/:*\${srcdir}:*/:/ |
|
22775 |
s/:*@srcdir@:*/:/ |
|
22776 |
s/^\([^=]*=[ ]*\):*/\1/ |
|
22777 |
s/:*$// |
|
22778 |
s/^[^=]*=[ ]*$// |
|
22779 |
}' |
|
22780 |
fi |
|
22781 |
||
22782 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22783 |
fi # test -n "$CONFIG_FILES" |
|
22784 |
||
22785 |
# Set up the scripts for CONFIG_HEADERS section. |
|
22786 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
22787 |
# This happens for instance with `./config.status Makefile'. |
|
22788 |
if test -n "$CONFIG_HEADERS"; then |
|
22789 |
cat >"$tmp/defines.awk" <<\_ACAWK || |
|
22790 |
BEGIN { |
|
22791 |
_ACEOF |
|
22792 |
||
22793 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
22794 |
# here-document in config.status, that substitutes the proper values into |
|
22795 |
# config.h.in to produce config.h. |
|
22796 |
||
22797 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
22798 |
# handling of long lines. |
|
22799 |
ac_delim='%!_!# ' |
|
22800 |
for ac_last_try in false false :; do |
|
22801 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
22802 |
if test -z "$ac_t"; then |
|
22803 |
break |
|
22804 |
elif $ac_last_try; then |
|
22805 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
|
22806 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
|
22807 |
{ (exit 1); exit 1; }; } |
|
22808 |
else |
|
22809 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
22810 |
fi |
|
22811 |
done |
|
22812 |
||
22813 |
# For the awk script, D is an array of macro values keyed by name, |
|
22814 |
# likewise P contains macro parameters if any. Preserve backslash |
|
22815 |
# newline sequences. |
|
22816 |
||
22817 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
22818 |
sed -n ' |
|
22819 |
s/.\{148\}/&'"$ac_delim"'/g |
|
22820 |
t rset |
|
22821 |
:rset |
|
22822 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
22823 |
t def |
|
22824 |
d |
|
22825 |
:def |
|
22826 |
s/\\$// |
|
22827 |
t bsnl |
|
22828 |
s/["\\]/\\&/g |
|
22829 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
22830 |
D["\1"]=" \3"/p |
|
22831 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
22832 |
d |
|
22833 |
:bsnl |
|
22834 |
s/["\\]/\\&/g |
|
22835 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
22836 |
D["\1"]=" \3\\\\\\n"\\/p |
|
22837 |
t cont |
|
22838 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
22839 |
t cont |
|
22840 |
d |
|
22841 |
:cont |
|
22842 |
n |
|
22843 |
s/.\{148\}/&'"$ac_delim"'/g |
|
22844 |
t clear |
|
22845 |
:clear |
|
22846 |
s/\\$// |
|
22847 |
t bsnlc |
|
22848 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
22849 |
d |
|
22850 |
:bsnlc |
|
22851 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
22852 |
b cont |
|
22853 |
' <confdefs.h | sed ' |
|
22854 |
s/'"$ac_delim"'/"\\\ |
|
22855 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
22856 |
||
22857 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
22858 |
for (key in D) D_is_set[key] = 1 |
|
22859 |
FS = "" |
|
22860 |
} |
|
22861 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
22862 |
line = \$ 0 |
|
22863 |
split(line, arg, " ") |
|
22864 |
if (arg[1] == "#") { |
|
22865 |
defundef = arg[2] |
|
22866 |
mac1 = arg[3] |
|
22867 |
} else { |
|
22868 |
defundef = substr(arg[1], 2) |
|
22869 |
mac1 = arg[2] |
|
22870 |
} |
|
22871 |
split(mac1, mac2, "(") #) |
|
22872 |
macro = mac2[1] |
|
22873 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
22874 |
if (D_is_set[macro]) { |
|
22875 |
# Preserve the white space surrounding the "#". |
|
22876 |
print prefix "define", macro P[macro] D[macro] |
|
22877 |
next |
|
22878 |
} else { |
|
22879 |
# Replace #undef with comments. This is necessary, for example, |
|
22880 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
22881 |
# on some systems where configure will not decide to define it. |
|
22882 |
if (defundef == "undef") { |
|
22883 |
print "/*", prefix defundef, macro, "*/" |
|
22884 |
next |
|
22885 |
} |
|
22886 |
} |
|
22887 |
} |
|
22888 |
{ print } |
|
22889 |
_ACAWK |
|
22890 |
_ACEOF |
|
22891 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
22892 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
|
22893 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
|
22894 |
{ (exit 1); exit 1; }; } |
|
22895 |
fi # test -n "$CONFIG_HEADERS" |
|
22896 |
||
22897 |
||
22898 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
22899 |
shift |
|
22900 |
for ac_tag |
|
22901 |
do |
|
22902 |
case $ac_tag in |
|
22903 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
22904 |
esac |
|
22905 |
case $ac_mode$ac_tag in |
|
22906 |
:[FHL]*:*);; |
|
22907 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
|
22908 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
|
22909 |
{ (exit 1); exit 1; }; };; |
|
22910 |
:[FH]-) ac_tag=-:-;; |
|
22911 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
22912 |
esac |
|
22913 |
ac_save_IFS=$IFS |
|
22914 |
IFS=: |
|
22915 |
set x $ac_tag |
|
22916 |
IFS=$ac_save_IFS |
|
22917 |
shift |
|
22918 |
ac_file=$1 |
|
22919 |
shift |
|
22920 |
||
22921 |
case $ac_mode in |
|
22922 |
:L) ac_source=$1;; |
|
22923 |
:[FH]) |
|
22924 |
ac_file_inputs= |
|
22925 |
for ac_f |
|
22926 |
do |
|
22927 |
case $ac_f in |
|
22928 |
-) ac_f="$tmp/stdin";; |
|
22929 |
*) # Look for the file first in the build tree, then in the source tree |
|
22930 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
22931 |
# because $ac_f cannot contain `:'. |
|
22932 |
test -f "$ac_f" || |
|
22933 |
case $ac_f in |
|
22934 |
[\\/$]*) false;; |
|
22935 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
22936 |
esac || |
|
22937 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
22938 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
22939 |
{ (exit 1); exit 1; }; };; |
|
22940 |
esac |
|
22941 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
22942 |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
|
22943 |
done |
|
22944 |
||
22945 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
22946 |
# use $as_me), people would be surprised to read: |
|
22947 |
# /* config.h. Generated by config.status. */ |
|
22948 |
configure_input='Generated from '` |
|
22949 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
22950 |
`' by configure.' |
|
22951 |
if test x"$ac_file" != x-; then |
|
22952 |
configure_input="$ac_file. $configure_input" |
|
22953 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
22954 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
22955 |
fi |
|
22956 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
22957 |
case $configure_input in #( |
|
22958 |
*\&* | *\|* | *\\* ) |
|
22959 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
22960 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
22961 |
*) ac_sed_conf_input=$configure_input;; |
|
22962 |
esac |
|
22963 |
||
22964 |
case $ac_tag in |
|
22965 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
|
22966 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
22967 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
22968 |
{ (exit 1); exit 1; }; } ;; |
|
22969 |
esac |
|
22970 |
;; |
|
22971 |
esac |
|
22972 |
||
22973 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
22974 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
22975 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
22976 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
22977 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
22978 |
$as_echo X"$ac_file" | |
|
22979 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
22980 |
s//\1/ |
|
22981 |
q |
|
22982 |
} |
|
22983 |
/^X\(\/\/\)[^/].*/{ |
|
22984 |
s//\1/ |
|
22985 |
q |
|
22986 |
} |
|
22987 |
/^X\(\/\/\)$/{ |
|
22988 |
s//\1/ |
|
22989 |
q |
|
22990 |
} |
|
22991 |
/^X\(\/\).*/{ |
|
22992 |
s//\1/ |
|
22993 |
q |
|
22994 |
} |
|
22995 |
s/.*/./; q'` |
|
22996 |
{ as_dir="$ac_dir" |
|
22997 |
case $as_dir in #( |
|
22998 |
-*) as_dir=./$as_dir;; |
|
22999 |
esac |
|
23000 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
23001 |
as_dirs= |
|
23002 |
while :; do |
|
23003 |
case $as_dir in #( |
|
23004 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
23005 |
*) as_qdir=$as_dir;; |
|
23006 |
esac |
|
23007 |
as_dirs="'$as_qdir' $as_dirs" |
|
23008 |
as_dir=`$as_dirname -- "$as_dir" || |
|
23009 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
23010 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
23011 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
23012 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
23013 |
$as_echo X"$as_dir" | |
|
23014 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
23015 |
s//\1/ |
|
23016 |
q |
|
23017 |
} |
|
23018 |
/^X\(\/\/\)[^/].*/{ |
|
23019 |
s//\1/ |
|
23020 |
q |
|
23021 |
} |
|
23022 |
/^X\(\/\/\)$/{ |
|
23023 |
s//\1/ |
|
23024 |
q |
|
23025 |
} |
|
23026 |
/^X\(\/\).*/{ |
|
23027 |
s//\1/ |
|
23028 |
q |
|
23029 |
} |
|
23030 |
s/.*/./; q'` |
|
23031 |
test -d "$as_dir" && break |
|
23032 |
done |
|
23033 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
23034 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
23035 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
23036 |
{ (exit 1); exit 1; }; }; } |
|
23037 |
ac_builddir=. |
|
23038 |
||
23039 |
case "$ac_dir" in |
|
23040 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
23041 |
*) |
|
23042 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
23043 |
# A ".." for each directory in $ac_dir_suffix. |
|
23044 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
23045 |
case $ac_top_builddir_sub in |
|
23046 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
23047 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
23048 |
esac ;; |
|
23049 |
esac |
|
23050 |
ac_abs_top_builddir=$ac_pwd |
|
23051 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
23052 |
# for backward compatibility: |
|
23053 |
ac_top_builddir=$ac_top_build_prefix |
|
23054 |
||
23055 |
case $srcdir in |
|
23056 |
.) # We are building in place. |
|
23057 |
ac_srcdir=. |
|
23058 |
ac_top_srcdir=$ac_top_builddir_sub |
|
23059 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
23060 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
23061 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
23062 |
ac_top_srcdir=$srcdir |
|
23063 |
ac_abs_top_srcdir=$srcdir ;; |
|
23064 |
*) # Relative name. |
|
23065 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
23066 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
23067 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
23068 |
esac |
|
23069 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
23070 |
||
23071 |
||
23072 |
case $ac_mode in |
|
23073 |
:F) |
|
23074 |
# |
|
23075 |
# CONFIG_FILE |
|
23076 |
# |
|
23077 |
||
23078 |
case $INSTALL in |
|
23079 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
23080 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
23081 |
esac |
|
23082 |
ac_MKDIR_P=$MKDIR_P |
|
23083 |
case $MKDIR_P in |
|
23084 |
[\\/$]* | ?:[\\/]* ) ;; |
|
23085 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
23086 |
esac |
|
23087 |
_ACEOF |
|
23088 |
||
23089 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
23090 |
# If the template does not know about datarootdir, expand it. |
|
23091 |
# FIXME: This hack should be removed a few years after 2.60. |
|
23092 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
23093 |
||
23094 |
ac_sed_dataroot=' |
|
23095 |
/datarootdir/ { |
|
23096 |
p |
|
23097 |
q |
|
23098 |
} |
|
23099 |
/@datadir@/p |
|
23100 |
/@docdir@/p |
|
23101 |
/@infodir@/p |
|
23102 |
/@localedir@/p |
|
23103 |
/@mandir@/p |
|
23104 |
' |
|
23105 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
23106 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
23107 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
23108 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
23109 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
23110 |
_ACEOF |
|
23111 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
23112 |
ac_datarootdir_hack=' |
|
23113 |
s&@datadir@&$datadir&g |
|
23114 |
s&@docdir@&$docdir&g |
|
23115 |
s&@infodir@&$infodir&g |
|
23116 |
s&@localedir@&$localedir&g |
|
23117 |
s&@mandir@&$mandir&g |
|
23118 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
23119 |
esac |
|
23120 |
_ACEOF |
|
23121 |
||
23122 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
23123 |
# Shell code in configure.ac might set extrasub. |
|
23124 |
# FIXME: do we really want to maintain this feature? |
|
23125 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
23126 |
ac_sed_extra="$ac_vpsub |
|
23127 |
$extrasub |
|
23128 |
_ACEOF |
|
23129 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
23130 |
:t |
|
23131 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
23132 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
23133 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
23134 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
23135 |
s&@srcdir@&$ac_srcdir&;t t |
|
23136 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
23137 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
23138 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
23139 |
s&@builddir@&$ac_builddir&;t t |
|
23140 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
23141 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
23142 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
23143 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
23144 |
$ac_datarootdir_hack |
|
23145 |
" |
|
23146 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
23147 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
23148 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
23149 |
{ (exit 1); exit 1; }; } |
|
23150 |
||
23151 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
23152 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
23153 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
23154 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
23155 |
which seems to be undefined. Please make sure it is defined." >&5 |
|
23156 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
23157 |
which seems to be undefined. Please make sure it is defined." >&2;} |
|
23158 |
||
23159 |
rm -f "$tmp/stdin" |
|
23160 |
case $ac_file in |
|
23161 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
|
23162 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|
23163 |
esac \ |
|
23164 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
23165 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
23166 |
{ (exit 1); exit 1; }; } |
|
23167 |
;; |
|
23168 |
:H) |
|
23169 |
# |
|
23170 |
# CONFIG_HEADER |
|
23171 |
# |
|
23172 |
if test x"$ac_file" != x-; then |
|
23173 |
{ |
|
23174 |
$as_echo "/* $configure_input */" \ |
|
23175 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
23176 |
} >"$tmp/config.h" \ |
|
23177 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
23178 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
23179 |
{ (exit 1); exit 1; }; } |
|
23180 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
|
23181 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
23182 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
23183 |
else |
|
23184 |
rm -f "$ac_file" |
|
23185 |
mv "$tmp/config.h" "$ac_file" \ |
|
23186 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
23187 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
23188 |
{ (exit 1); exit 1; }; } |
|
23189 |
fi |
|
23190 |
else |
|
23191 |
$as_echo "/* $configure_input */" \ |
|
23192 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
23193 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
|
23194 |
$as_echo "$as_me: error: could not create -" >&2;} |
|
23195 |
{ (exit 1); exit 1; }; } |
|
23196 |
fi |
|
23197 |
# Compute "$ac_file"'s index in $config_headers. |
|
23198 |
_am_arg="$ac_file" |
|
23199 |
_am_stamp_count=1 |
|
23200 |
for _am_header in $config_headers :; do |
|
23201 |
case $_am_header in |
|
23202 |
$_am_arg | $_am_arg:* ) |
|
23203 |
break ;; |
|
23204 |
* ) |
|
23205 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
23206 |
esac |
|
23207 |
done |
|
23208 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
23209 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
23210 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
23211 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
23212 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
23213 |
$as_echo X"$_am_arg" | |
|
23214 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
23215 |
s//\1/ |
|
23216 |
q |
|
23217 |
} |
|
23218 |
/^X\(\/\/\)[^/].*/{ |
|
23219 |
s//\1/ |
|
23220 |
q |
|
23221 |
} |
|
23222 |
/^X\(\/\/\)$/{ |
|
23223 |
s//\1/ |
|
23224 |
q |
|
23225 |
} |
|
23226 |
/^X\(\/\).*/{ |
|
23227 |
s//\1/ |
|
23228 |
q |
|
23229 |
} |
|
23230 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
23231 |
;; |
|
23232 |
||
23233 |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
|
23234 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
23235 |
;; |
|
23236 |
esac |
|
23237 |
||
23238 |
||
23239 |
case $ac_file$ac_mode in |
|
23240 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
|
23241 |
# Strip MF so we end up with the name of the file. |
|
23242 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
23243 |
# Check whether this is an Automake generated Makefile or not. |
|
23244 |
# We used to match only the files named `Makefile.in', but |
|
23245 |
# some people rename them; so instead we look at the file content. |
|
23246 |
# Grep'ing the first line is not enough: some people post-process |
|
23247 |
# each Makefile.in and add a new line on top of each file to say so. |
|
23248 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
23249 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
23250 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
23251 |
dirpart=`$as_dirname -- "$mf" || |
|
23252 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
23253 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
23254 |
X"$mf" : 'X\(//\)$' \| \ |
|
23255 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
23256 |
$as_echo X"$mf" | |
|
23257 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
23258 |
s//\1/ |
|
23259 |
q |
|
23260 |
} |
|
23261 |
/^X\(\/\/\)[^/].*/{ |
|
23262 |
s//\1/ |
|
23263 |
q |
|
23264 |
} |
|
23265 |
/^X\(\/\/\)$/{ |
|
23266 |
s//\1/ |
|
23267 |
q |
|
23268 |
} |
|
23269 |
/^X\(\/\).*/{ |
|
23270 |
s//\1/ |
|
23271 |
q |
|
23272 |
} |
|
23273 |
s/.*/./; q'` |
|
23274 |
else |
|
23275 |
continue |
|
23276 |
fi |
|
23277 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
23278 |
# from the Makefile without running `make'. |
|
23279 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
23280 |
test -z "$DEPDIR" && continue |
|
23281 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
23282 |
test -z "am__include" && continue |
|
23283 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
23284 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
23285 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
23286 |
# Find all dependency output files, they are included files with |
|
23287 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
23288 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
23289 |
# expansion. |
|
23290 |
for file in `sed -n " |
|
23291 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
23292 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
23293 |
# Make sure the directory exists. |
|
23294 |
test -f "$dirpart/$file" && continue |
|
23295 |
fdir=`$as_dirname -- "$file" || |
|
23296 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
23297 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
23298 |
X"$file" : 'X\(//\)$' \| \ |
|
23299 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
23300 |
$as_echo X"$file" | |
|
23301 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
23302 |
s//\1/ |
|
23303 |
q |
|
23304 |
} |
|
23305 |
/^X\(\/\/\)[^/].*/{ |
|
23306 |
s//\1/ |
|
23307 |
q |
|
23308 |
} |
|
23309 |
/^X\(\/\/\)$/{ |
|
23310 |
s//\1/ |
|
23311 |
q |
|
23312 |
} |
|
23313 |
/^X\(\/\).*/{ |
|
23314 |
s//\1/ |
|
23315 |
q |
|
23316 |
} |
|
23317 |
s/.*/./; q'` |
|
23318 |
{ as_dir=$dirpart/$fdir |
|
23319 |
case $as_dir in #( |
|
23320 |
-*) as_dir=./$as_dir;; |
|
23321 |
esac |
|
23322 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
23323 |
as_dirs= |
|
23324 |
while :; do |
|
23325 |
case $as_dir in #( |
|
23326 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
23327 |
*) as_qdir=$as_dir;; |
|
23328 |
esac |
|
23329 |
as_dirs="'$as_qdir' $as_dirs" |
|
23330 |
as_dir=`$as_dirname -- "$as_dir" || |
|
23331 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
23332 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
23333 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
23334 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
23335 |
$as_echo X"$as_dir" | |
|
23336 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
23337 |
s//\1/ |
|
23338 |
q |
|
23339 |
} |
|
23340 |
/^X\(\/\/\)[^/].*/{ |
|
23341 |
s//\1/ |
|
23342 |
q |
|
23343 |
} |
|
23344 |
/^X\(\/\/\)$/{ |
|
23345 |
s//\1/ |
|
23346 |
q |
|
23347 |
} |
|
23348 |
/^X\(\/\).*/{ |
|
23349 |
s//\1/ |
|
23350 |
q |
|
23351 |
} |
|
23352 |
s/.*/./; q'` |
|
23353 |
test -d "$as_dir" && break |
|
23354 |
done |
|
23355 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
23356 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
23357 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
23358 |
{ (exit 1); exit 1; }; }; } |
|
23359 |
# echo "creating $dirpart/$file" |
|
23360 |
echo '# dummy' > "$dirpart/$file" |
|
23361 |
done |
|
23362 |
done |
|
23363 |
;; |
|
23364 |
||
23365 |
esac |
|
23366 |
done # for ac_tag |
|
23367 |
||
23368 |
||
23369 |
{ (exit 0); exit 0; } |
|
23370 |
_ACEOF |
|
23371 |
chmod +x $CONFIG_STATUS |
|
23372 |
ac_clean_files=$ac_clean_files_save |
|
23373 |
||
23374 |
test $ac_write_fail = 0 || |
|
23375 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
23376 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
23377 |
{ (exit 1); exit 1; }; } |
|
23378 |
||
23379 |
||
23380 |
# configure is writing to config.log, and then calls config.status. |
|
23381 |
# config.status does its own redirection, appending to config.log. |
|
23382 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
23383 |
# by configure, so config.status won't be able to write to it; its |
|
23384 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
23385 |
# effectively closing config.log, so it can be properly (re)opened and |
|
23386 |
# appended to by config.status. When coming back to configure, we |
|
23387 |
# need to make the FD available again. |
|
23388 |
if test "$no_create" != yes; then |
|
23389 |
ac_cs_success=: |
|
23390 |
ac_config_status_args= |
|
23391 |
test "$silent" = yes && |
|
23392 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
23393 |
exec 5>/dev/null |
|
23394 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
23395 |
exec 5>>config.log |
|
23396 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
23397 |
# would make configure fail if this is the last instruction. |
|
23398 |
$ac_cs_success || { (exit 1); exit 1; } |
|
23399 |
fi |
|
23400 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
23401 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
23402 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
60
by Barry.Leslie at PrimeBase
Fixed assorted warning messages. |
23403 |
fi |
23404 |
||
23405 |
echo |
|
23406 |
echo "---------------------------------------------------------------------------------------" |
|
23407 |
echo "PBMS has been configured to match the MySQL configuration taken from \"$ENG_MYSQL_SRC\"" |
|
23408 |
echo "The MySQL build was configured as:" |
|
23409 |
echo "$MYSQL_CONFIGURE_COMMAND" |
|
23410 |
echo |
|
23411 |
echo "The default debug level as taken from the MySQL build is: --with-debug=$MYSQL_DEBUG_LEVEL" |
|
23412 |
echo "Let the fun begin! :-)" |
|
23413 |
echo "---------------------------------------------------------------------------------------" |
|
23414 |
||
23415 |
||
1
by paul-mccullagh
Initial import |
23416 |