bzr branch
http://bzr.ed.am/sqlite3cc
5
by edam
- updated README |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
26
by edam
prep for release |
3 |
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.1. |
5
by edam
- updated README |
4 |
# |
19
by edam
updated autotols stuff |
5 |
# Report bugs to <tim@ed.am>. |
5
by edam
- updated README |
6 |
# |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
7 |
# |
5
by edam
- updated README |
8 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
19
by edam
updated autotols stuff |
9 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
10 |
# Foundation, Inc. |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
11 |
# |
5
by edam
- updated README |
12 |
# |
13 |
# This configure script is free software; the Free Software Foundation |
|
14 |
# gives unlimited permission to copy, distribute and modify it. |
|
15 |
## -------------------- ## |
|
16 |
## M4sh Initialization. ## |
|
17 |
## -------------------- ## |
|
18 |
||
19 |
# Be more Bourne compatible |
|
20 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
21 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
22 |
emulate sh |
|
23 |
NULLCMD=: |
|
24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
25 |
# is contrary to our usage. Disable this feature. |
|
26 |
alias -g '${1+"$@"}'='"$@"' |
|
27 |
setopt NO_GLOB_SUBST |
|
28 |
else |
|
29 |
case `(set -o) 2>/dev/null` in #( |
|
30 |
*posix*) : |
|
31 |
set -o posix ;; #( |
|
32 |
*) : |
|
33 |
;; |
|
34 |
esac |
|
35 |
fi |
|
36 |
||
37 |
||
38 |
as_nl=' |
|
39 |
' |
|
40 |
export as_nl |
|
41 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
42 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
43 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
44 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
45 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
46 |
# but without wasting forks for bash or zsh. |
|
47 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
48 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
49 |
as_echo='print -r --' |
|
50 |
as_echo_n='print -rn --' |
|
51 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
52 |
as_echo='printf %s\n' |
|
53 |
as_echo_n='printf %s' |
|
54 |
else |
|
55 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
56 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
57 |
as_echo_n='/usr/ucb/echo -n' |
|
58 |
else |
|
59 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
60 |
as_echo_n_body='eval |
|
61 |
arg=$1; |
|
62 |
case $arg in #( |
|
63 |
*"$as_nl"*) |
|
64 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
65 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
66 |
esac; |
|
67 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
68 |
' |
|
69 |
export as_echo_n_body |
|
70 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
71 |
fi |
|
72 |
export as_echo_body |
|
73 |
as_echo='sh -c $as_echo_body as_echo' |
|
74 |
fi |
|
75 |
||
76 |
# The user is always right. |
|
77 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
78 |
PATH_SEPARATOR=: |
|
79 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
80 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
81 |
PATH_SEPARATOR=';' |
|
82 |
} |
|
83 |
fi |
|
84 |
||
85 |
||
86 |
# IFS |
|
87 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
88 |
# there to prevent editors from complaining about space-tab. |
|
89 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
90 |
# splitting by setting IFS to empty value.) |
|
91 |
IFS=" "" $as_nl" |
|
92 |
||
93 |
# Find who we are. Look in the path if we contain no directory separator. |
|
19
by edam
updated autotols stuff |
94 |
as_myself= |
5
by edam
- updated README |
95 |
case $0 in #(( |
96 |
*[\\/]* ) as_myself=$0 ;; |
|
97 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
98 |
for as_dir in $PATH |
|
99 |
do |
|
100 |
IFS=$as_save_IFS |
|
101 |
test -z "$as_dir" && as_dir=. |
|
102 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
103 |
done |
|
104 |
IFS=$as_save_IFS |
|
105 |
||
106 |
;; |
|
107 |
esac |
|
108 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
109 |
# in which case we are not to be found in the path. |
|
110 |
if test "x$as_myself" = x; then |
|
111 |
as_myself=$0 |
|
112 |
fi |
|
113 |
if test ! -f "$as_myself"; then |
|
114 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
115 |
exit 1 |
|
116 |
fi |
|
117 |
||
118 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
119 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
120 |
# suppresses any "Segmentation fault" message there. '((' could |
|
121 |
# trigger a bug in pdksh 5.2.14. |
|
122 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
123 |
do eval test x\${$as_var+set} = xset \ |
|
124 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
125 |
done |
|
126 |
PS1='$ ' |
|
127 |
PS2='> ' |
|
128 |
PS4='+ ' |
|
129 |
||
130 |
# NLS nuisances. |
|
131 |
LC_ALL=C |
|
132 |
export LC_ALL |
|
133 |
LANGUAGE=C |
|
134 |
export LANGUAGE |
|
135 |
||
136 |
# CDPATH. |
|
137 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
138 |
||
139 |
if test "x$CONFIG_SHELL" = x; then |
|
140 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
141 |
emulate sh |
|
142 |
NULLCMD=: |
|
143 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
144 |
# is contrary to our usage. Disable this feature. |
|
145 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
146 |
setopt NO_GLOB_SUBST |
|
147 |
else |
|
148 |
case \`(set -o) 2>/dev/null\` in #( |
|
149 |
*posix*) : |
|
150 |
set -o posix ;; #( |
|
151 |
*) : |
|
152 |
;; |
|
153 |
esac |
|
154 |
fi |
|
155 |
" |
|
156 |
as_required="as_fn_return () { (exit \$1); } |
|
157 |
as_fn_success () { as_fn_return 0; } |
|
158 |
as_fn_failure () { as_fn_return 1; } |
|
159 |
as_fn_ret_success () { return 0; } |
|
160 |
as_fn_ret_failure () { return 1; } |
|
161 |
||
162 |
exitcode=0 |
|
163 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
164 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
165 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
166 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
167 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
168 |
||
169 |
else |
|
170 |
exitcode=1; echo positional parameters were not saved. |
|
171 |
fi |
|
172 |
test x\$exitcode = x0 || exit 1" |
|
173 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
174 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
175 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
176 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
19
by edam
updated autotols stuff |
177 |
|
178 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
|
179 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
180 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
181 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
182 |
PATH=/empty FPATH=/empty; export PATH FPATH |
|
183 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
|
184 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
|
5
by edam
- updated README |
185 |
test \$(( 1 + 1 )) = 2 || exit 1" |
186 |
if (eval "$as_required") 2>/dev/null; then : |
|
187 |
as_have_required=yes |
|
188 |
else |
|
189 |
as_have_required=no |
|
190 |
fi |
|
191 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
192 |
||
193 |
else |
|
194 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
195 |
as_found=false |
|
196 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
197 |
do |
|
198 |
IFS=$as_save_IFS |
|
199 |
test -z "$as_dir" && as_dir=. |
|
200 |
as_found=: |
|
201 |
case $as_dir in #( |
|
202 |
/*) |
|
203 |
for as_base in sh bash ksh sh5; do |
|
204 |
# Try only shells that exist, to save several forks. |
|
205 |
as_shell=$as_dir/$as_base |
|
206 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
207 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
208 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
209 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
210 |
break 2 |
|
211 |
fi |
|
212 |
fi |
|
213 |
done;; |
|
214 |
esac |
|
215 |
as_found=false |
|
216 |
done |
|
217 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
218 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
219 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
220 |
fi; } |
|
221 |
IFS=$as_save_IFS |
|
222 |
||
223 |
||
224 |
if test "x$CONFIG_SHELL" != x; then : |
|
225 |
# We cannot yet assume a decent shell, so we have to provide a |
|
226 |
# neutralization value for shells without unset; and this also |
|
227 |
# works around shells that cannot unset nonexistent variables. |
|
19
by edam
updated autotols stuff |
228 |
# Preserve -v and -x to the replacement shell. |
5
by edam
- updated README |
229 |
BASH_ENV=/dev/null |
230 |
ENV=/dev/null |
|
231 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
232 |
export CONFIG_SHELL |
|
19
by edam
updated autotols stuff |
233 |
case $- in # (((( |
234 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
235 |
*v* ) as_opts=-v ;; |
|
236 |
*x* ) as_opts=-x ;; |
|
237 |
* ) as_opts= ;; |
|
238 |
esac |
|
239 |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
|
5
by edam
- updated README |
240 |
fi |
241 |
||
242 |
if test x$as_have_required = xno; then : |
|
243 |
$as_echo "$0: This script requires a shell more modern than all" |
|
244 |
$as_echo "$0: the shells that I found on your system." |
|
245 |
if test x${ZSH_VERSION+set} = xset ; then |
|
246 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
247 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
248 |
else |
|
19
by edam
updated autotols stuff |
249 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and tim@ed.am about |
250 |
$0: your system, including any error possibly output before |
|
251 |
$0: this message. Then install a modern shell, or manually |
|
252 |
$0: run the script under such a shell if you do have one." |
|
5
by edam
- updated README |
253 |
fi |
254 |
exit 1 |
|
255 |
fi |
|
256 |
fi |
|
257 |
fi |
|
258 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
259 |
export SHELL |
|
260 |
# Unset more variables known to interfere with behavior of common tools. |
|
261 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
262 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
263 |
||
264 |
## --------------------- ## |
|
265 |
## M4sh Shell Functions. ## |
|
266 |
## --------------------- ## |
|
267 |
# as_fn_unset VAR |
|
268 |
# --------------- |
|
269 |
# Portably unset VAR. |
|
270 |
as_fn_unset () |
|
271 |
{ |
|
272 |
{ eval $1=; unset $1;} |
|
273 |
} |
|
274 |
as_unset=as_fn_unset |
|
275 |
||
276 |
# as_fn_set_status STATUS |
|
277 |
# ----------------------- |
|
278 |
# Set $? to STATUS, without forking. |
|
279 |
as_fn_set_status () |
|
280 |
{ |
|
281 |
return $1 |
|
282 |
} # as_fn_set_status |
|
283 |
||
284 |
# as_fn_exit STATUS |
|
285 |
# ----------------- |
|
286 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
287 |
as_fn_exit () |
|
288 |
{ |
|
289 |
set +e |
|
290 |
as_fn_set_status $1 |
|
291 |
exit $1 |
|
292 |
} # as_fn_exit |
|
293 |
||
294 |
# as_fn_mkdir_p |
|
295 |
# ------------- |
|
296 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
297 |
as_fn_mkdir_p () |
|
298 |
{ |
|
299 |
||
300 |
case $as_dir in #( |
|
301 |
-*) as_dir=./$as_dir;; |
|
302 |
esac |
|
303 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
304 |
as_dirs= |
|
305 |
while :; do |
|
306 |
case $as_dir in #( |
|
307 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
308 |
*) as_qdir=$as_dir;; |
|
309 |
esac |
|
310 |
as_dirs="'$as_qdir' $as_dirs" |
|
311 |
as_dir=`$as_dirname -- "$as_dir" || |
|
312 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
313 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
314 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
315 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
316 |
$as_echo X"$as_dir" | |
|
317 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
318 |
s//\1/ |
|
319 |
q |
|
320 |
} |
|
321 |
/^X\(\/\/\)[^/].*/{ |
|
322 |
s//\1/ |
|
323 |
q |
|
324 |
} |
|
325 |
/^X\(\/\/\)$/{ |
|
326 |
s//\1/ |
|
327 |
q |
|
328 |
} |
|
329 |
/^X\(\/\).*/{ |
|
330 |
s//\1/ |
|
331 |
q |
|
332 |
} |
|
333 |
s/.*/./; q'` |
|
334 |
test -d "$as_dir" && break |
|
335 |
done |
|
336 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
19
by edam
updated autotols stuff |
337 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
5
by edam
- updated README |
338 |
|
339 |
||
340 |
} # as_fn_mkdir_p |
|
341 |
# as_fn_append VAR VALUE |
|
342 |
# ---------------------- |
|
343 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
344 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
345 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
346 |
# implementations. |
|
347 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
348 |
eval 'as_fn_append () |
|
349 |
{ |
|
350 |
eval $1+=\$2 |
|
351 |
}' |
|
352 |
else |
|
353 |
as_fn_append () |
|
354 |
{ |
|
355 |
eval $1=\$$1\$2 |
|
356 |
} |
|
357 |
fi # as_fn_append |
|
358 |
||
359 |
# as_fn_arith ARG... |
|
360 |
# ------------------ |
|
361 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
362 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
363 |
# must be portable across $(()) and expr. |
|
364 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
365 |
eval 'as_fn_arith () |
|
366 |
{ |
|
367 |
as_val=$(( $* )) |
|
368 |
}' |
|
369 |
else |
|
370 |
as_fn_arith () |
|
371 |
{ |
|
372 |
as_val=`expr "$@" || test $? -eq 1` |
|
373 |
} |
|
374 |
fi # as_fn_arith |
|
375 |
||
376 |
||
19
by edam
updated autotols stuff |
377 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
378 |
# ---------------------------------------- |
|
5
by edam
- updated README |
379 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
380 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
19
by edam
updated autotols stuff |
381 |
# script with STATUS, using 1 if that was 0. |
5
by edam
- updated README |
382 |
as_fn_error () |
383 |
{ |
|
19
by edam
updated autotols stuff |
384 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
385 |
if test "$4"; then |
|
386 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
387 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
5
by edam
- updated README |
388 |
fi |
19
by edam
updated autotols stuff |
389 |
$as_echo "$as_me: error: $2" >&2 |
5
by edam
- updated README |
390 |
as_fn_exit $as_status |
391 |
} # as_fn_error |
|
392 |
||
393 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
394 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
395 |
as_expr=expr |
|
396 |
else |
|
397 |
as_expr=false |
|
398 |
fi |
|
399 |
||
400 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
401 |
as_basename=basename |
|
402 |
else |
|
403 |
as_basename=false |
|
404 |
fi |
|
405 |
||
406 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
407 |
as_dirname=dirname |
|
408 |
else |
|
409 |
as_dirname=false |
|
410 |
fi |
|
411 |
||
412 |
as_me=`$as_basename -- "$0" || |
|
413 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
414 |
X"$0" : 'X\(//\)$' \| \ |
|
415 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
416 |
$as_echo X/"$0" | |
|
417 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
418 |
s//\1/ |
|
419 |
q |
|
420 |
} |
|
421 |
/^X\/\(\/\/\)$/{ |
|
422 |
s//\1/ |
|
423 |
q |
|
424 |
} |
|
425 |
/^X\/\(\/\).*/{ |
|
426 |
s//\1/ |
|
427 |
q |
|
428 |
} |
|
429 |
s/.*/./; q'` |
|
430 |
||
431 |
# Avoid depending upon Character Ranges. |
|
432 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
433 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
434 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
435 |
as_cr_digits='0123456789' |
|
436 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
437 |
||
438 |
||
439 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
440 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
441 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
442 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
443 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
444 |
sed -n ' |
|
445 |
p |
|
446 |
/[$]LINENO/= |
|
447 |
' <$as_myself | |
|
448 |
sed ' |
|
449 |
s/[$]LINENO.*/&-/ |
|
450 |
t lineno |
|
451 |
b |
|
452 |
:lineno |
|
453 |
N |
|
454 |
:loop |
|
455 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
456 |
t loop |
|
457 |
s/-\n.*// |
|
458 |
' >$as_me.lineno && |
|
459 |
chmod +x "$as_me.lineno" || |
|
460 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
461 |
||
462 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
463 |
# (the dirname of $[0] is not the place where we might find the |
|
464 |
# original and so on. Autoconf is especially sensitive to this). |
|
465 |
. "./$as_me.lineno" |
|
466 |
# Exit status is that of the last command. |
|
467 |
exit |
|
468 |
} |
|
469 |
||
470 |
ECHO_C= ECHO_N= ECHO_T= |
|
471 |
case `echo -n x` in #((((( |
|
472 |
-n*) |
|
473 |
case `echo 'xy\c'` in |
|
474 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
475 |
xy) ECHO_C='\c';; |
|
476 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
477 |
ECHO_T=' ';; |
|
478 |
esac;; |
|
479 |
*) |
|
480 |
ECHO_N='-n';; |
|
481 |
esac |
|
482 |
||
483 |
rm -f conf$$ conf$$.exe conf$$.file |
|
484 |
if test -d conf$$.dir; then |
|
485 |
rm -f conf$$.dir/conf$$.file |
|
486 |
else |
|
487 |
rm -f conf$$.dir |
|
488 |
mkdir conf$$.dir 2>/dev/null |
|
489 |
fi |
|
490 |
if (echo >conf$$.file) 2>/dev/null; then |
|
491 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
492 |
as_ln_s='ln -s' |
|
493 |
# ... but there are two gotchas: |
|
494 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
495 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
496 |
# In both cases, we have to default to `cp -p'. |
|
497 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
498 |
as_ln_s='cp -p' |
|
499 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
500 |
as_ln_s=ln |
|
501 |
else |
|
502 |
as_ln_s='cp -p' |
|
503 |
fi |
|
504 |
else |
|
505 |
as_ln_s='cp -p' |
|
506 |
fi |
|
507 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
508 |
rmdir conf$$.dir 2>/dev/null |
|
509 |
||
510 |
if mkdir -p . 2>/dev/null; then |
|
511 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
512 |
else |
|
513 |
test -d ./-p && rmdir ./-p |
|
514 |
as_mkdir_p=false |
|
515 |
fi |
|
516 |
||
517 |
if test -x / >/dev/null 2>&1; then |
|
518 |
as_test_x='test -x' |
|
519 |
else |
|
520 |
if ls -dL / >/dev/null 2>&1; then |
|
521 |
as_ls_L_option=L |
|
522 |
else |
|
523 |
as_ls_L_option= |
|
524 |
fi |
|
525 |
as_test_x=' |
|
526 |
eval sh -c '\'' |
|
527 |
if test -d "$1"; then |
|
528 |
test -d "$1/."; |
|
529 |
else |
|
530 |
case $1 in #( |
|
531 |
-*)set "./$1";; |
|
532 |
esac; |
|
533 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
534 |
???[sx]*):;;*)false;;esac;fi |
|
535 |
'\'' sh |
|
536 |
' |
|
537 |
fi |
|
538 |
as_executable_p=$as_test_x |
|
539 |
||
540 |
# Sed expression to map a string onto a valid CPP name. |
|
541 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
542 |
||
543 |
# Sed expression to map a string onto a valid variable name. |
|
544 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
545 |
||
546 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
547 |
||
548 |
||
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
549 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
550 |
exec 6>&1 |
|
5
by edam
- updated README |
551 |
|
552 |
# Name of the host. |
|
19
by edam
updated autotols stuff |
553 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
5
by edam
- updated README |
554 |
# so uname gets run too. |
555 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
556 |
||
557 |
# |
|
558 |
# Initializations. |
|
559 |
# |
|
560 |
ac_default_prefix=/usr/local |
|
561 |
ac_clean_files= |
|
562 |
ac_config_libobj_dir=. |
|
563 |
LIBOBJS= |
|
564 |
cross_compiling=no |
|
565 |
subdirs= |
|
566 |
MFLAGS= |
|
567 |
MAKEFLAGS= |
|
568 |
||
569 |
# Identity of this package. |
|
570 |
PACKAGE_NAME='sqlite3cc' |
|
571 |
PACKAGE_TARNAME='sqlite3cc' |
|
26
by edam
prep for release |
572 |
PACKAGE_VERSION='0.1' |
573 |
PACKAGE_STRING='sqlite3cc 0.1' |
|
19
by edam
updated autotols stuff |
574 |
PACKAGE_BUGREPORT='tim@ed.am' |
575 |
PACKAGE_URL='http://ed.am/dev/sqlite3cc' |
|
5
by edam
- updated README |
576 |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
577 |
ac_unique_file="src/command.cc" |
5
by edam
- updated README |
578 |
# Factoring default headers for most tests. |
579 |
ac_includes_default="\ |
|
580 |
#include <stdio.h> |
|
581 |
#ifdef HAVE_SYS_TYPES_H |
|
582 |
# include <sys/types.h> |
|
583 |
#endif |
|
584 |
#ifdef HAVE_SYS_STAT_H |
|
585 |
# include <sys/stat.h> |
|
586 |
#endif |
|
587 |
#ifdef STDC_HEADERS |
|
588 |
# include <stdlib.h> |
|
589 |
# include <stddef.h> |
|
590 |
#else |
|
591 |
# ifdef HAVE_STDLIB_H |
|
592 |
# include <stdlib.h> |
|
593 |
# endif |
|
594 |
#endif |
|
595 |
#ifdef HAVE_STRING_H |
|
596 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
597 |
# include <memory.h> |
|
598 |
# endif |
|
599 |
# include <string.h> |
|
600 |
#endif |
|
601 |
#ifdef HAVE_STRINGS_H |
|
602 |
# include <strings.h> |
|
603 |
#endif |
|
604 |
#ifdef HAVE_INTTYPES_H |
|
605 |
# include <inttypes.h> |
|
606 |
#endif |
|
607 |
#ifdef HAVE_STDINT_H |
|
608 |
# include <stdint.h> |
|
609 |
#endif |
|
610 |
#ifdef HAVE_UNISTD_H |
|
611 |
# include <unistd.h> |
|
612 |
#endif" |
|
613 |
||
614 |
ac_subst_vars='am__EXEEXT_FALSE |
|
615 |
am__EXEEXT_TRUE |
|
616 |
LTLIBOBJS |
|
617 |
LIBOBJS |
|
618 |
CXXCPP |
|
619 |
CPP |
|
620 |
OTOOL64 |
|
621 |
OTOOL |
|
622 |
LIPO |
|
623 |
NMEDIT |
|
624 |
DSYMUTIL |
|
19
by edam
updated autotols stuff |
625 |
MANIFEST_TOOL |
5
by edam
- updated README |
626 |
RANLIB |
19
by edam
updated autotols stuff |
627 |
ac_ct_AR |
5
by edam
- updated README |
628 |
AR |
19
by edam
updated autotols stuff |
629 |
DLLTOOL |
5
by edam
- updated README |
630 |
OBJDUMP |
631 |
LN_S |
|
632 |
NM |
|
633 |
ac_ct_DUMPBIN |
|
634 |
DUMPBIN |
|
635 |
LD |
|
636 |
FGREP |
|
637 |
EGREP |
|
638 |
GREP |
|
639 |
SED |
|
640 |
am__fastdepCC_FALSE |
|
641 |
am__fastdepCC_TRUE |
|
642 |
CCDEPMODE |
|
643 |
ac_ct_CC |
|
644 |
CFLAGS |
|
645 |
CC |
|
646 |
host_os |
|
647 |
host_vendor |
|
648 |
host_cpu |
|
649 |
host |
|
650 |
build_os |
|
651 |
build_vendor |
|
652 |
build_cpu |
|
653 |
build |
|
654 |
LIBTOOL |
|
19
by edam
updated autotols stuff |
655 |
am__fastdepCXX_FALSE |
656 |
am__fastdepCXX_TRUE |
|
657 |
CXXDEPMODE |
|
29
by edam
updated autotools |
658 |
am__nodep |
19
by edam
updated autotols stuff |
659 |
AMDEPBACKSLASH |
660 |
AMDEP_FALSE |
|
661 |
AMDEP_TRUE |
|
662 |
am__quote |
|
663 |
am__include |
|
664 |
DEPDIR |
|
665 |
OBJEXT |
|
666 |
EXEEXT |
|
667 |
ac_ct_CXX |
|
668 |
CPPFLAGS |
|
669 |
LDFLAGS |
|
670 |
CXXFLAGS |
|
671 |
CXX |
|
5
by edam
- updated README |
672 |
am__untar |
673 |
am__tar |
|
674 |
AMTAR |
|
675 |
am__leading_dot |
|
676 |
SET_MAKE |
|
677 |
AWK |
|
678 |
mkdir_p |
|
679 |
MKDIR_P |
|
680 |
INSTALL_STRIP_PROGRAM |
|
681 |
STRIP |
|
682 |
install_sh |
|
683 |
MAKEINFO |
|
684 |
AUTOHEADER |
|
685 |
AUTOMAKE |
|
686 |
AUTOCONF |
|
687 |
ACLOCAL |
|
688 |
VERSION |
|
689 |
PACKAGE |
|
690 |
CYGPATH_W |
|
691 |
am__isrc |
|
692 |
INSTALL_DATA |
|
693 |
INSTALL_SCRIPT |
|
694 |
INSTALL_PROGRAM |
|
7
by edam
- removed "OK" from test-main when test is successful |
695 |
LIBSQLITE3CC_INTERFACE |
5
by edam
- updated README |
696 |
target_alias |
697 |
host_alias |
|
698 |
build_alias |
|
699 |
LIBS |
|
700 |
ECHO_T |
|
701 |
ECHO_N |
|
702 |
ECHO_C |
|
703 |
DEFS |
|
704 |
mandir |
|
705 |
localedir |
|
706 |
libdir |
|
707 |
psdir |
|
708 |
pdfdir |
|
709 |
dvidir |
|
710 |
htmldir |
|
711 |
infodir |
|
712 |
docdir |
|
713 |
oldincludedir |
|
714 |
includedir |
|
715 |
localstatedir |
|
716 |
sharedstatedir |
|
717 |
sysconfdir |
|
718 |
datadir |
|
719 |
datarootdir |
|
720 |
libexecdir |
|
721 |
sbindir |
|
722 |
bindir |
|
723 |
program_transform_name |
|
724 |
prefix |
|
725 |
exec_prefix |
|
726 |
PACKAGE_URL |
|
727 |
PACKAGE_BUGREPORT |
|
728 |
PACKAGE_STRING |
|
729 |
PACKAGE_VERSION |
|
730 |
PACKAGE_TARNAME |
|
731 |
PACKAGE_NAME |
|
732 |
PATH_SEPARATOR |
|
733 |
SHELL' |
|
734 |
ac_subst_files='' |
|
735 |
ac_user_opts=' |
|
736 |
enable_option_checking |
|
19
by edam
updated autotols stuff |
737 |
enable_dependency_tracking |
5
by edam
- updated README |
738 |
enable_shared |
739 |
enable_static |
|
740 |
with_pic |
|
741 |
enable_fast_install |
|
742 |
with_gnu_ld |
|
19
by edam
updated autotols stuff |
743 |
with_sysroot |
5
by edam
- updated README |
744 |
enable_libtool_lock |
745 |
' |
|
746 |
ac_precious_vars='build_alias |
|
747 |
host_alias |
|
748 |
target_alias |
|
19
by edam
updated autotols stuff |
749 |
CXX |
750 |
CXXFLAGS |
|
5
by edam
- updated README |
751 |
LDFLAGS |
752 |
LIBS |
|
753 |
CPPFLAGS |
|
754 |
CCC |
|
19
by edam
updated autotols stuff |
755 |
CC |
756 |
CFLAGS |
|
757 |
CPP |
|
5
by edam
- updated README |
758 |
CXXCPP' |
759 |
||
760 |
||
761 |
# Initialize some variables set by options. |
|
762 |
ac_init_help= |
|
763 |
ac_init_version=false |
|
764 |
ac_unrecognized_opts= |
|
765 |
ac_unrecognized_sep= |
|
766 |
# The variables have the same names as the options, with |
|
767 |
# dashes changed to underlines. |
|
768 |
cache_file=/dev/null |
|
769 |
exec_prefix=NONE |
|
770 |
no_create= |
|
771 |
no_recursion= |
|
772 |
prefix=NONE |
|
773 |
program_prefix=NONE |
|
774 |
program_suffix=NONE |
|
775 |
program_transform_name=s,x,x, |
|
776 |
silent= |
|
777 |
site= |
|
778 |
srcdir= |
|
779 |
verbose= |
|
780 |
x_includes=NONE |
|
781 |
x_libraries=NONE |
|
782 |
||
783 |
# Installation directory options. |
|
784 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
785 |
# and all the variables that are supposed to be based on exec_prefix |
|
786 |
# by default will actually change. |
|
787 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
788 |
# (The list follows the same order as the GNU Coding Standards.) |
|
789 |
bindir='${exec_prefix}/bin' |
|
790 |
sbindir='${exec_prefix}/sbin' |
|
791 |
libexecdir='${exec_prefix}/libexec' |
|
792 |
datarootdir='${prefix}/share' |
|
793 |
datadir='${datarootdir}' |
|
794 |
sysconfdir='${prefix}/etc' |
|
795 |
sharedstatedir='${prefix}/com' |
|
796 |
localstatedir='${prefix}/var' |
|
797 |
includedir='${prefix}/include' |
|
798 |
oldincludedir='/usr/include' |
|
799 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
800 |
infodir='${datarootdir}/info' |
|
801 |
htmldir='${docdir}' |
|
802 |
dvidir='${docdir}' |
|
803 |
pdfdir='${docdir}' |
|
804 |
psdir='${docdir}' |
|
805 |
libdir='${exec_prefix}/lib' |
|
806 |
localedir='${datarootdir}/locale' |
|
807 |
mandir='${datarootdir}/man' |
|
808 |
||
809 |
ac_prev= |
|
810 |
ac_dashdash= |
|
811 |
for ac_option |
|
812 |
do |
|
813 |
# If the previous option needs an argument, assign it. |
|
814 |
if test -n "$ac_prev"; then |
|
815 |
eval $ac_prev=\$ac_option |
|
816 |
ac_prev= |
|
817 |
continue |
|
818 |
fi |
|
819 |
||
820 |
case $ac_option in |
|
19
by edam
updated autotols stuff |
821 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
822 |
*=) ac_optarg= ;; |
|
823 |
*) ac_optarg=yes ;; |
|
5
by edam
- updated README |
824 |
esac |
825 |
||
826 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
827 |
||
828 |
case $ac_dashdash$ac_option in |
|
829 |
--) |
|
830 |
ac_dashdash=yes ;; |
|
831 |
||
832 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
833 |
ac_prev=bindir ;; |
|
834 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
835 |
bindir=$ac_optarg ;; |
|
836 |
||
837 |
-build | --build | --buil | --bui | --bu) |
|
838 |
ac_prev=build_alias ;; |
|
839 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
840 |
build_alias=$ac_optarg ;; |
|
841 |
||
842 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
843 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
844 |
ac_prev=cache_file ;; |
|
845 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
846 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
847 |
cache_file=$ac_optarg ;; |
|
848 |
||
849 |
--config-cache | -C) |
|
850 |
cache_file=config.cache ;; |
|
851 |
||
852 |
-datadir | --datadir | --datadi | --datad) |
|
853 |
ac_prev=datadir ;; |
|
854 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
855 |
datadir=$ac_optarg ;; |
|
856 |
||
857 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
858 |
| --dataroo | --dataro | --datar) |
|
859 |
ac_prev=datarootdir ;; |
|
860 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
861 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
862 |
datarootdir=$ac_optarg ;; |
|
863 |
||
864 |
-disable-* | --disable-*) |
|
865 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
866 |
# Reject names that are not valid shell variable names. |
|
867 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
19
by edam
updated autotols stuff |
868 |
as_fn_error $? "invalid feature name: $ac_useropt" |
5
by edam
- updated README |
869 |
ac_useropt_orig=$ac_useropt |
870 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
871 |
case $ac_user_opts in |
|
872 |
*" |
|
873 |
"enable_$ac_useropt" |
|
874 |
"*) ;; |
|
875 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
876 |
ac_unrecognized_sep=', ';; |
|
877 |
esac |
|
878 |
eval enable_$ac_useropt=no ;; |
|
879 |
||
880 |
-docdir | --docdir | --docdi | --doc | --do) |
|
881 |
ac_prev=docdir ;; |
|
882 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
883 |
docdir=$ac_optarg ;; |
|
884 |
||
885 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
886 |
ac_prev=dvidir ;; |
|
887 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
888 |
dvidir=$ac_optarg ;; |
|
889 |
||
890 |
-enable-* | --enable-*) |
|
891 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
892 |
# Reject names that are not valid shell variable names. |
|
893 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
19
by edam
updated autotols stuff |
894 |
as_fn_error $? "invalid feature name: $ac_useropt" |
5
by edam
- updated README |
895 |
ac_useropt_orig=$ac_useropt |
896 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
897 |
case $ac_user_opts in |
|
898 |
*" |
|
899 |
"enable_$ac_useropt" |
|
900 |
"*) ;; |
|
901 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
902 |
ac_unrecognized_sep=', ';; |
|
903 |
esac |
|
904 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
905 |
||
906 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
907 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
908 |
| --exec | --exe | --ex) |
|
909 |
ac_prev=exec_prefix ;; |
|
910 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
911 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
912 |
| --exec=* | --exe=* | --ex=*) |
|
913 |
exec_prefix=$ac_optarg ;; |
|
914 |
||
915 |
-gas | --gas | --ga | --g) |
|
916 |
# Obsolete; use --with-gas. |
|
917 |
with_gas=yes ;; |
|
918 |
||
919 |
-help | --help | --hel | --he | -h) |
|
920 |
ac_init_help=long ;; |
|
921 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
922 |
ac_init_help=recursive ;; |
|
923 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
924 |
ac_init_help=short ;; |
|
925 |
||
926 |
-host | --host | --hos | --ho) |
|
927 |
ac_prev=host_alias ;; |
|
928 |
-host=* | --host=* | --hos=* | --ho=*) |
|
929 |
host_alias=$ac_optarg ;; |
|
930 |
||
931 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
932 |
ac_prev=htmldir ;; |
|
933 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
934 |
| --ht=*) |
|
935 |
htmldir=$ac_optarg ;; |
|
936 |
||
937 |
-includedir | --includedir | --includedi | --included | --include \ |
|
938 |
| --includ | --inclu | --incl | --inc) |
|
939 |
ac_prev=includedir ;; |
|
940 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
941 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
942 |
includedir=$ac_optarg ;; |
|
943 |
||
944 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
945 |
ac_prev=infodir ;; |
|
946 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
947 |
infodir=$ac_optarg ;; |
|
948 |
||
949 |
-libdir | --libdir | --libdi | --libd) |
|
950 |
ac_prev=libdir ;; |
|
951 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
952 |
libdir=$ac_optarg ;; |
|
953 |
||
954 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
955 |
| --libexe | --libex | --libe) |
|
956 |
ac_prev=libexecdir ;; |
|
957 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
958 |
| --libexe=* | --libex=* | --libe=*) |
|
959 |
libexecdir=$ac_optarg ;; |
|
960 |
||
961 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
962 |
ac_prev=localedir ;; |
|
963 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
964 |
localedir=$ac_optarg ;; |
|
965 |
||
966 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
967 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
968 |
ac_prev=localstatedir ;; |
|
969 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
970 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
971 |
localstatedir=$ac_optarg ;; |
|
972 |
||
973 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
974 |
ac_prev=mandir ;; |
|
975 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
976 |
mandir=$ac_optarg ;; |
|
977 |
||
978 |
-nfp | --nfp | --nf) |
|
979 |
# Obsolete; use --without-fp. |
|
980 |
with_fp=no ;; |
|
981 |
||
982 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
983 |
| --no-cr | --no-c | -n) |
|
984 |
no_create=yes ;; |
|
985 |
||
986 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
987 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
988 |
no_recursion=yes ;; |
|
989 |
||
990 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
991 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
992 |
| --oldin | --oldi | --old | --ol | --o) |
|
993 |
ac_prev=oldincludedir ;; |
|
994 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
995 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
996 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
997 |
oldincludedir=$ac_optarg ;; |
|
998 |
||
999 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1000 |
ac_prev=prefix ;; |
|
1001 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1002 |
prefix=$ac_optarg ;; |
|
1003 |
||
1004 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1005 |
| --program-pre | --program-pr | --program-p) |
|
1006 |
ac_prev=program_prefix ;; |
|
1007 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1008 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1009 |
program_prefix=$ac_optarg ;; |
|
1010 |
||
1011 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1012 |
| --program-suf | --program-su | --program-s) |
|
1013 |
ac_prev=program_suffix ;; |
|
1014 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1015 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1016 |
program_suffix=$ac_optarg ;; |
|
1017 |
||
1018 |
-program-transform-name | --program-transform-name \ |
|
1019 |
| --program-transform-nam | --program-transform-na \ |
|
1020 |
| --program-transform-n | --program-transform- \ |
|
1021 |
| --program-transform | --program-transfor \ |
|
1022 |
| --program-transfo | --program-transf \ |
|
1023 |
| --program-trans | --program-tran \ |
|
1024 |
| --progr-tra | --program-tr | --program-t) |
|
1025 |
ac_prev=program_transform_name ;; |
|
1026 |
-program-transform-name=* | --program-transform-name=* \ |
|
1027 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1028 |
| --program-transform-n=* | --program-transform-=* \ |
|
1029 |
| --program-transform=* | --program-transfor=* \ |
|
1030 |
| --program-transfo=* | --program-transf=* \ |
|
1031 |
| --program-trans=* | --program-tran=* \ |
|
1032 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1033 |
program_transform_name=$ac_optarg ;; |
|
1034 |
||
1035 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1036 |
ac_prev=pdfdir ;; |
|
1037 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1038 |
pdfdir=$ac_optarg ;; |
|
1039 |
||
1040 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1041 |
ac_prev=psdir ;; |
|
1042 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1043 |
psdir=$ac_optarg ;; |
|
1044 |
||
1045 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1046 |
| -silent | --silent | --silen | --sile | --sil) |
|
1047 |
silent=yes ;; |
|
1048 |
||
1049 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1050 |
ac_prev=sbindir ;; |
|
1051 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1052 |
| --sbi=* | --sb=*) |
|
1053 |
sbindir=$ac_optarg ;; |
|
1054 |
||
1055 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1056 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1057 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1058 |
| --sha | --sh) |
|
1059 |
ac_prev=sharedstatedir ;; |
|
1060 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1061 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1062 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1063 |
| --sha=* | --sh=*) |
|
1064 |
sharedstatedir=$ac_optarg ;; |
|
1065 |
||
1066 |
-site | --site | --sit) |
|
1067 |
ac_prev=site ;; |
|
1068 |
-site=* | --site=* | --sit=*) |
|
1069 |
site=$ac_optarg ;; |
|
1070 |
||
1071 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1072 |
ac_prev=srcdir ;; |
|
1073 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1074 |
srcdir=$ac_optarg ;; |
|
1075 |
||
1076 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1077 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1078 |
ac_prev=sysconfdir ;; |
|
1079 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1080 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1081 |
sysconfdir=$ac_optarg ;; |
|
1082 |
||
1083 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1084 |
ac_prev=target_alias ;; |
|
1085 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1086 |
target_alias=$ac_optarg ;; |
|
1087 |
||
1088 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1089 |
verbose=yes ;; |
|
1090 |
||
1091 |
-version | --version | --versio | --versi | --vers | -V) |
|
1092 |
ac_init_version=: ;; |
|
1093 |
||
1094 |
-with-* | --with-*) |
|
1095 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1096 |
# Reject names that are not valid shell variable names. |
|
1097 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
19
by edam
updated autotols stuff |
1098 |
as_fn_error $? "invalid package name: $ac_useropt" |
5
by edam
- updated README |
1099 |
ac_useropt_orig=$ac_useropt |
1100 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1101 |
case $ac_user_opts in |
|
1102 |
*" |
|
1103 |
"with_$ac_useropt" |
|
1104 |
"*) ;; |
|
1105 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1106 |
ac_unrecognized_sep=', ';; |
|
1107 |
esac |
|
1108 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1109 |
||
1110 |
-without-* | --without-*) |
|
1111 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1112 |
# Reject names that are not valid shell variable names. |
|
1113 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
19
by edam
updated autotols stuff |
1114 |
as_fn_error $? "invalid package name: $ac_useropt" |
5
by edam
- updated README |
1115 |
ac_useropt_orig=$ac_useropt |
1116 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1117 |
case $ac_user_opts in |
|
1118 |
*" |
|
1119 |
"with_$ac_useropt" |
|
1120 |
"*) ;; |
|
1121 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1122 |
ac_unrecognized_sep=', ';; |
|
1123 |
esac |
|
1124 |
eval with_$ac_useropt=no ;; |
|
1125 |
||
1126 |
--x) |
|
1127 |
# Obsolete; use --with-x. |
|
1128 |
with_x=yes ;; |
|
1129 |
||
1130 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1131 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1132 |
ac_prev=x_includes ;; |
|
1133 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1134 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1135 |
x_includes=$ac_optarg ;; |
|
1136 |
||
1137 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1138 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1139 |
ac_prev=x_libraries ;; |
|
1140 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1141 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1142 |
x_libraries=$ac_optarg ;; |
|
1143 |
||
19
by edam
updated autotols stuff |
1144 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1145 |
Try \`$0 --help' for more information" |
|
5
by edam
- updated README |
1146 |
;; |
1147 |
||
1148 |
*=*) |
|
1149 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1150 |
# Reject names that are not valid shell variable names. |
|
1151 |
case $ac_envvar in #( |
|
1152 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
19
by edam
updated autotols stuff |
1153 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
5
by edam
- updated README |
1154 |
esac |
1155 |
eval $ac_envvar=\$ac_optarg |
|
1156 |
export $ac_envvar ;; |
|
1157 |
||
1158 |
*) |
|
1159 |
# FIXME: should be removed in autoconf 3.0. |
|
1160 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1161 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1162 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
19
by edam
updated autotols stuff |
1163 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
5
by edam
- updated README |
1164 |
;; |
1165 |
||
1166 |
esac |
|
1167 |
done |
|
1168 |
||
1169 |
if test -n "$ac_prev"; then |
|
1170 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
19
by edam
updated autotols stuff |
1171 |
as_fn_error $? "missing argument to $ac_option" |
5
by edam
- updated README |
1172 |
fi |
1173 |
||
1174 |
if test -n "$ac_unrecognized_opts"; then |
|
1175 |
case $enable_option_checking in |
|
1176 |
no) ;; |
|
19
by edam
updated autotols stuff |
1177 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
5
by edam
- updated README |
1178 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1179 |
esac |
|
1180 |
fi |
|
1181 |
||
1182 |
# Check all directory arguments for consistency. |
|
1183 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1184 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1185 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1186 |
libdir localedir mandir |
|
1187 |
do |
|
1188 |
eval ac_val=\$$ac_var |
|
1189 |
# Remove trailing slashes. |
|
1190 |
case $ac_val in |
|
1191 |
*/ ) |
|
1192 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1193 |
eval $ac_var=\$ac_val;; |
|
1194 |
esac |
|
1195 |
# Be sure to have absolute directory names. |
|
1196 |
case $ac_val in |
|
1197 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1198 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1199 |
esac |
|
19
by edam
updated autotols stuff |
1200 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
5
by edam
- updated README |
1201 |
done |
1202 |
||
1203 |
# There might be people who depend on the old broken behavior: `$host' |
|
1204 |
# used to hold the argument of --host etc. |
|
1205 |
# FIXME: To remove some day. |
|
1206 |
build=$build_alias |
|
1207 |
host=$host_alias |
|
1208 |
target=$target_alias |
|
1209 |
||
1210 |
# FIXME: To remove some day. |
|
1211 |
if test "x$host_alias" != x; then |
|
1212 |
if test "x$build_alias" = x; then |
|
1213 |
cross_compiling=maybe |
|
19
by edam
updated autotols stuff |
1214 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1215 |
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
5
by edam
- updated README |
1216 |
elif test "x$build_alias" != "x$host_alias"; then |
1217 |
cross_compiling=yes |
|
1218 |
fi |
|
1219 |
fi |
|
1220 |
||
1221 |
ac_tool_prefix= |
|
1222 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1223 |
||
1224 |
test "$silent" = yes && exec 6>/dev/null |
|
1225 |
||
1226 |
||
1227 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1228 |
ac_ls_di=`ls -di .` && |
|
1229 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
19
by edam
updated autotols stuff |
1230 |
as_fn_error $? "working directory cannot be determined" |
5
by edam
- updated README |
1231 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
19
by edam
updated autotols stuff |
1232 |
as_fn_error $? "pwd does not report name of working directory" |
5
by edam
- updated README |
1233 |
|
1234 |
||
1235 |
# Find the source files, if location was not specified. |
|
1236 |
if test -z "$srcdir"; then |
|
1237 |
ac_srcdir_defaulted=yes |
|
1238 |
# Try the directory containing this script, then the parent directory. |
|
1239 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1240 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1241 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1242 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1243 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1244 |
$as_echo X"$as_myself" | |
|
1245 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1246 |
s//\1/ |
|
1247 |
q |
|
1248 |
} |
|
1249 |
/^X\(\/\/\)[^/].*/{ |
|
1250 |
s//\1/ |
|
1251 |
q |
|
1252 |
} |
|
1253 |
/^X\(\/\/\)$/{ |
|
1254 |
s//\1/ |
|
1255 |
q |
|
1256 |
} |
|
1257 |
/^X\(\/\).*/{ |
|
1258 |
s//\1/ |
|
1259 |
q |
|
1260 |
} |
|
1261 |
s/.*/./; q'` |
|
1262 |
srcdir=$ac_confdir |
|
1263 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1264 |
srcdir=.. |
|
1265 |
fi |
|
1266 |
else |
|
1267 |
ac_srcdir_defaulted=no |
|
1268 |
fi |
|
1269 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1270 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
19
by edam
updated autotols stuff |
1271 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
5
by edam
- updated README |
1272 |
fi |
1273 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1274 |
ac_abs_confdir=`( |
|
19
by edam
updated autotols stuff |
1275 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
5
by edam
- updated README |
1276 |
pwd)` |
1277 |
# When building in place, set srcdir=. |
|
1278 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1279 |
srcdir=. |
|
1280 |
fi |
|
1281 |
# Remove unnecessary trailing slashes from srcdir. |
|
1282 |
# Double slashes in file names in object file debugging info |
|
1283 |
# mess up M-x gdb in Emacs. |
|
1284 |
case $srcdir in |
|
1285 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1286 |
esac |
|
1287 |
for ac_var in $ac_precious_vars; do |
|
1288 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1289 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1290 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1291 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1292 |
done |
|
1293 |
||
1294 |
# |
|
1295 |
# Report the --help message. |
|
1296 |
# |
|
1297 |
if test "$ac_init_help" = "long"; then |
|
1298 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1299 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1300 |
cat <<_ACEOF |
|
26
by edam
prep for release |
1301 |
\`configure' configures sqlite3cc 0.1 to adapt to many kinds of systems. |
5
by edam
- updated README |
1302 |
|
1303 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1304 |
||
1305 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1306 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1307 |
||
1308 |
Defaults for the options are specified in brackets. |
|
1309 |
||
1310 |
Configuration: |
|
1311 |
-h, --help display this help and exit |
|
1312 |
--help=short display options specific to this package |
|
1313 |
--help=recursive display the short help of all the included packages |
|
1314 |
-V, --version display version information and exit |
|
19
by edam
updated autotols stuff |
1315 |
-q, --quiet, --silent do not print \`checking ...' messages |
5
by edam
- updated README |
1316 |
--cache-file=FILE cache test results in FILE [disabled] |
1317 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1318 |
-n, --no-create do not create output files |
|
1319 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1320 |
||
1321 |
Installation directories: |
|
1322 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1323 |
[$ac_default_prefix] |
|
1324 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1325 |
[PREFIX] |
|
1326 |
||
1327 |
By default, \`make install' will install all the files in |
|
1328 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1329 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1330 |
for instance \`--prefix=\$HOME'. |
|
1331 |
||
1332 |
For better control, use the options below. |
|
1333 |
||
1334 |
Fine tuning of the installation directories: |
|
1335 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1336 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1337 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1338 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1339 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1340 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1341 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1342 |
--includedir=DIR C header files [PREFIX/include] |
|
1343 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1344 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1345 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1346 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1347 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1348 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1349 |
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc] |
|
1350 |
--htmldir=DIR html documentation [DOCDIR] |
|
1351 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1352 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1353 |
--psdir=DIR ps documentation [DOCDIR] |
|
1354 |
_ACEOF |
|
1355 |
||
1356 |
cat <<\_ACEOF |
|
1357 |
||
1358 |
Program names: |
|
1359 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1360 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1361 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1362 |
||
1363 |
System types: |
|
1364 |
--build=BUILD configure for building on BUILD [guessed] |
|
1365 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1366 |
_ACEOF |
|
1367 |
fi |
|
1368 |
||
1369 |
if test -n "$ac_init_help"; then |
|
1370 |
case $ac_init_help in |
|
26
by edam
prep for release |
1371 |
short | recursive ) echo "Configuration of sqlite3cc 0.1:";; |
5
by edam
- updated README |
1372 |
esac |
1373 |
cat <<\_ACEOF |
|
1374 |
||
1375 |
Optional Features: |
|
1376 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
1377 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1378 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
19
by edam
updated autotols stuff |
1379 |
--disable-dependency-tracking speeds up one-time build |
1380 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
5
by edam
- updated README |
1381 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
1382 |
--enable-static[=PKGS] build static libraries [default=yes] |
|
1383 |
--enable-fast-install[=PKGS] |
|
1384 |
optimize for fast installation [default=yes] |
|
1385 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1386 |
||
1387 |
Optional Packages: |
|
1388 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1389 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
19
by edam
updated autotols stuff |
1390 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
5
by edam
- updated README |
1391 |
both] |
1392 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
19
by edam
updated autotols stuff |
1393 |
--with-sysroot=DIR Search for dependent libraries within DIR |
1394 |
(or the compiler's sysroot if not specified). |
|
5
by edam
- updated README |
1395 |
|
1396 |
Some influential environment variables: |
|
19
by edam
updated autotols stuff |
1397 |
CXX C++ compiler command |
1398 |
CXXFLAGS C++ compiler flags |
|
5
by edam
- updated README |
1399 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1400 |
nonstandard directory <lib dir> |
|
1401 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1402 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
5
by edam
- updated README |
1403 |
you have headers in a nonstandard directory <include dir> |
19
by edam
updated autotols stuff |
1404 |
CC C compiler command |
1405 |
CFLAGS C compiler flags |
|
5
by edam
- updated README |
1406 |
CPP C preprocessor |
1407 |
CXXCPP C++ preprocessor |
|
1408 |
||
1409 |
Use these variables to override the choices made by `configure' or to help |
|
1410 |
it to find libraries and programs with nonstandard names/locations. |
|
1411 |
||
19
by edam
updated autotols stuff |
1412 |
Report bugs to <tim@ed.am>. |
1413 |
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>. |
|
5
by edam
- updated README |
1414 |
_ACEOF |
1415 |
ac_status=$? |
|
1416 |
fi |
|
1417 |
||
1418 |
if test "$ac_init_help" = "recursive"; then |
|
1419 |
# If there are subdirs, report their specific --help. |
|
1420 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1421 |
test -d "$ac_dir" || |
|
1422 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1423 |
continue |
|
1424 |
ac_builddir=. |
|
1425 |
||
1426 |
case "$ac_dir" in |
|
1427 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1428 |
*) |
|
1429 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1430 |
# A ".." for each directory in $ac_dir_suffix. |
|
1431 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1432 |
case $ac_top_builddir_sub in |
|
1433 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1434 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1435 |
esac ;; |
|
1436 |
esac |
|
1437 |
ac_abs_top_builddir=$ac_pwd |
|
1438 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1439 |
# for backward compatibility: |
|
1440 |
ac_top_builddir=$ac_top_build_prefix |
|
1441 |
||
1442 |
case $srcdir in |
|
1443 |
.) # We are building in place. |
|
1444 |
ac_srcdir=. |
|
1445 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1446 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1447 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1448 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1449 |
ac_top_srcdir=$srcdir |
|
1450 |
ac_abs_top_srcdir=$srcdir ;; |
|
1451 |
*) # Relative name. |
|
1452 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1453 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1454 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1455 |
esac |
|
1456 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1457 |
||
1458 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1459 |
# Check for guested configure. |
|
1460 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1461 |
echo && |
|
1462 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1463 |
elif test -f "$ac_srcdir/configure"; then |
|
1464 |
echo && |
|
1465 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1466 |
else |
|
1467 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1468 |
fi || ac_status=$? |
|
1469 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1470 |
done |
|
1471 |
fi |
|
1472 |
||
1473 |
test -n "$ac_init_help" && exit $ac_status |
|
1474 |
if $ac_init_version; then |
|
1475 |
cat <<\_ACEOF |
|
26
by edam
prep for release |
1476 |
sqlite3cc configure 0.1 |
19
by edam
updated autotols stuff |
1477 |
generated by GNU Autoconf 2.68 |
5
by edam
- updated README |
1478 |
|
19
by edam
updated autotols stuff |
1479 |
Copyright (C) 2010 Free Software Foundation, Inc. |
5
by edam
- updated README |
1480 |
This configure script is free software; the Free Software Foundation |
1481 |
gives unlimited permission to copy, distribute and modify it. |
|
1482 |
_ACEOF |
|
1483 |
exit |
|
1484 |
fi |
|
1485 |
||
1486 |
## ------------------------ ## |
|
1487 |
## Autoconf initialization. ## |
|
1488 |
## ------------------------ ## |
|
1489 |
||
19
by edam
updated autotols stuff |
1490 |
# ac_fn_cxx_try_compile LINENO |
1491 |
# ---------------------------- |
|
1492 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1493 |
ac_fn_cxx_try_compile () |
|
1494 |
{ |
|
1495 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1496 |
rm -f conftest.$ac_objext |
|
1497 |
if { { ac_try="$ac_compile" |
|
1498 |
case "(($ac_try" in |
|
1499 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1500 |
*) ac_try_echo=$ac_try;; |
|
1501 |
esac |
|
1502 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1503 |
$as_echo "$ac_try_echo"; } >&5 |
|
1504 |
(eval "$ac_compile") 2>conftest.err |
|
1505 |
ac_status=$? |
|
1506 |
if test -s conftest.err; then |
|
1507 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1508 |
cat conftest.er1 >&5 |
|
1509 |
mv -f conftest.er1 conftest.err |
|
1510 |
fi |
|
1511 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1512 |
test $ac_status = 0; } && { |
|
1513 |
test -z "$ac_cxx_werror_flag" || |
|
1514 |
test ! -s conftest.err |
|
1515 |
} && test -s conftest.$ac_objext; then : |
|
1516 |
ac_retval=0 |
|
1517 |
else |
|
1518 |
$as_echo "$as_me: failed program was:" >&5 |
|
1519 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1520 |
||
1521 |
ac_retval=1 |
|
1522 |
fi |
|
1523 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1524 |
as_fn_set_status $ac_retval |
|
1525 |
||
1526 |
} # ac_fn_cxx_try_compile |
|
1527 |
||
5
by edam
- updated README |
1528 |
# ac_fn_c_try_compile LINENO |
1529 |
# -------------------------- |
|
1530 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1531 |
ac_fn_c_try_compile () |
|
1532 |
{ |
|
1533 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1534 |
rm -f conftest.$ac_objext |
|
1535 |
if { { ac_try="$ac_compile" |
|
1536 |
case "(($ac_try" in |
|
1537 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1538 |
*) ac_try_echo=$ac_try;; |
|
1539 |
esac |
|
1540 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1541 |
$as_echo "$ac_try_echo"; } >&5 |
|
1542 |
(eval "$ac_compile") 2>conftest.err |
|
1543 |
ac_status=$? |
|
1544 |
if test -s conftest.err; then |
|
1545 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1546 |
cat conftest.er1 >&5 |
|
1547 |
mv -f conftest.er1 conftest.err |
|
1548 |
fi |
|
1549 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1550 |
test $ac_status = 0; } && { |
|
1551 |
test -z "$ac_c_werror_flag" || |
|
1552 |
test ! -s conftest.err |
|
1553 |
} && test -s conftest.$ac_objext; then : |
|
1554 |
ac_retval=0 |
|
1555 |
else |
|
1556 |
$as_echo "$as_me: failed program was:" >&5 |
|
1557 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1558 |
||
1559 |
ac_retval=1 |
|
1560 |
fi |
|
19
by edam
updated autotols stuff |
1561 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1562 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1563 |
|
1564 |
} # ac_fn_c_try_compile |
|
1565 |
||
1566 |
# ac_fn_c_try_link LINENO |
|
1567 |
# ----------------------- |
|
1568 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1569 |
ac_fn_c_try_link () |
|
1570 |
{ |
|
1571 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1572 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1573 |
if { { ac_try="$ac_link" |
|
1574 |
case "(($ac_try" in |
|
1575 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1576 |
*) ac_try_echo=$ac_try;; |
|
1577 |
esac |
|
1578 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1579 |
$as_echo "$ac_try_echo"; } >&5 |
|
1580 |
(eval "$ac_link") 2>conftest.err |
|
1581 |
ac_status=$? |
|
1582 |
if test -s conftest.err; then |
|
1583 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1584 |
cat conftest.er1 >&5 |
|
1585 |
mv -f conftest.er1 conftest.err |
|
1586 |
fi |
|
1587 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1588 |
test $ac_status = 0; } && { |
|
1589 |
test -z "$ac_c_werror_flag" || |
|
1590 |
test ! -s conftest.err |
|
1591 |
} && test -s conftest$ac_exeext && { |
|
1592 |
test "$cross_compiling" = yes || |
|
1593 |
$as_test_x conftest$ac_exeext |
|
1594 |
}; then : |
|
1595 |
ac_retval=0 |
|
1596 |
else |
|
1597 |
$as_echo "$as_me: failed program was:" >&5 |
|
1598 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1599 |
||
1600 |
ac_retval=1 |
|
1601 |
fi |
|
1602 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1603 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1604 |
# interfere with the next link command; also delete a directory that is |
|
1605 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1606 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
19
by edam
updated autotols stuff |
1607 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1608 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1609 |
|
1610 |
} # ac_fn_c_try_link |
|
1611 |
||
1612 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1613 |
# ------------------------------------------------------- |
|
1614 |
# Tests whether HEADER exists and can be compiled using the include files in |
|
1615 |
# INCLUDES, setting the cache variable VAR accordingly. |
|
1616 |
ac_fn_c_check_header_compile () |
|
1617 |
{ |
|
1618 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1620 |
$as_echo_n "checking for $2... " >&6; } |
|
19
by edam
updated autotols stuff |
1621 |
if eval \${$3+:} false; then : |
5
by edam
- updated README |
1622 |
$as_echo_n "(cached) " >&6 |
1623 |
else |
|
1624 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1625 |
/* end confdefs.h. */ |
|
1626 |
$4 |
|
1627 |
#include <$2> |
|
1628 |
_ACEOF |
|
1629 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1630 |
eval "$3=yes" |
|
1631 |
else |
|
1632 |
eval "$3=no" |
|
1633 |
fi |
|
1634 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1635 |
fi |
|
1636 |
eval ac_res=\$$3 |
|
1637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1638 |
$as_echo "$ac_res" >&6; } |
|
19
by edam
updated autotols stuff |
1639 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
5
by edam
- updated README |
1640 |
|
1641 |
} # ac_fn_c_check_header_compile |
|
1642 |
||
1643 |
# ac_fn_c_try_cpp LINENO |
|
1644 |
# ---------------------- |
|
1645 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1646 |
ac_fn_c_try_cpp () |
|
1647 |
{ |
|
1648 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1649 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1650 |
case "(($ac_try" in |
|
1651 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1652 |
*) ac_try_echo=$ac_try;; |
|
1653 |
esac |
|
1654 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1655 |
$as_echo "$ac_try_echo"; } >&5 |
|
1656 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1657 |
ac_status=$? |
|
1658 |
if test -s conftest.err; then |
|
1659 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1660 |
cat conftest.er1 >&5 |
|
1661 |
mv -f conftest.er1 conftest.err |
|
1662 |
fi |
|
1663 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
19
by edam
updated autotols stuff |
1664 |
test $ac_status = 0; } > conftest.i && { |
5
by edam
- updated README |
1665 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1666 |
test ! -s conftest.err |
|
1667 |
}; then : |
|
1668 |
ac_retval=0 |
|
1669 |
else |
|
1670 |
$as_echo "$as_me: failed program was:" >&5 |
|
1671 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1672 |
||
1673 |
ac_retval=1 |
|
1674 |
fi |
|
19
by edam
updated autotols stuff |
1675 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1676 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1677 |
|
1678 |
} # ac_fn_c_try_cpp |
|
1679 |
||
1680 |
# ac_fn_c_try_run LINENO |
|
1681 |
# ---------------------- |
|
1682 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1683 |
# that executables *can* be run. |
|
1684 |
ac_fn_c_try_run () |
|
1685 |
{ |
|
1686 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1687 |
if { { ac_try="$ac_link" |
|
1688 |
case "(($ac_try" in |
|
1689 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1690 |
*) ac_try_echo=$ac_try;; |
|
1691 |
esac |
|
1692 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1693 |
$as_echo "$ac_try_echo"; } >&5 |
|
1694 |
(eval "$ac_link") 2>&5 |
|
1695 |
ac_status=$? |
|
1696 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1697 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1698 |
{ { case "(($ac_try" in |
|
1699 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1700 |
*) ac_try_echo=$ac_try;; |
|
1701 |
esac |
|
1702 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1703 |
$as_echo "$ac_try_echo"; } >&5 |
|
1704 |
(eval "$ac_try") 2>&5 |
|
1705 |
ac_status=$? |
|
1706 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1707 |
test $ac_status = 0; }; }; then : |
|
1708 |
ac_retval=0 |
|
1709 |
else |
|
1710 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1711 |
$as_echo "$as_me: failed program was:" >&5 |
|
1712 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1713 |
||
1714 |
ac_retval=$ac_status |
|
1715 |
fi |
|
1716 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
19
by edam
updated autotols stuff |
1717 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1718 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1719 |
|
1720 |
} # ac_fn_c_try_run |
|
1721 |
||
1722 |
# ac_fn_c_check_func LINENO FUNC VAR |
|
1723 |
# ---------------------------------- |
|
1724 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1725 |
ac_fn_c_check_func () |
|
1726 |
{ |
|
1727 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1729 |
$as_echo_n "checking for $2... " >&6; } |
|
19
by edam
updated autotols stuff |
1730 |
if eval \${$3+:} false; then : |
5
by edam
- updated README |
1731 |
$as_echo_n "(cached) " >&6 |
1732 |
else |
|
1733 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1734 |
/* end confdefs.h. */ |
|
1735 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1736 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1737 |
#define $2 innocuous_$2 |
|
1738 |
||
1739 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1740 |
which can conflict with char $2 (); below. |
|
1741 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1742 |
<limits.h> exists even on freestanding compilers. */ |
|
1743 |
||
1744 |
#ifdef __STDC__ |
|
1745 |
# include <limits.h> |
|
1746 |
#else |
|
1747 |
# include <assert.h> |
|
1748 |
#endif |
|
1749 |
||
1750 |
#undef $2 |
|
1751 |
||
1752 |
/* Override any GCC internal prototype to avoid an error. |
|
1753 |
Use char because int might match the return type of a GCC |
|
1754 |
builtin and then its argument prototype would still apply. */ |
|
1755 |
#ifdef __cplusplus |
|
1756 |
extern "C" |
|
1757 |
#endif |
|
1758 |
char $2 (); |
|
1759 |
/* The GNU C library defines this for functions which it implements |
|
1760 |
to always fail with ENOSYS. Some functions are actually named |
|
1761 |
something starting with __ and the normal name is an alias. */ |
|
1762 |
#if defined __stub_$2 || defined __stub___$2 |
|
1763 |
choke me |
|
1764 |
#endif |
|
1765 |
||
1766 |
int |
|
1767 |
main () |
|
1768 |
{ |
|
1769 |
return $2 (); |
|
1770 |
; |
|
1771 |
return 0; |
|
1772 |
} |
|
1773 |
_ACEOF |
|
1774 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1775 |
eval "$3=yes" |
|
1776 |
else |
|
1777 |
eval "$3=no" |
|
1778 |
fi |
|
1779 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1780 |
conftest$ac_exeext conftest.$ac_ext |
|
1781 |
fi |
|
1782 |
eval ac_res=\$$3 |
|
1783 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1784 |
$as_echo "$ac_res" >&6; } |
|
19
by edam
updated autotols stuff |
1785 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
5
by edam
- updated README |
1786 |
|
1787 |
} # ac_fn_c_check_func |
|
1788 |
||
1789 |
# ac_fn_cxx_try_cpp LINENO |
|
1790 |
# ------------------------ |
|
1791 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1792 |
ac_fn_cxx_try_cpp () |
|
1793 |
{ |
|
1794 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1795 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1796 |
case "(($ac_try" in |
|
1797 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1798 |
*) ac_try_echo=$ac_try;; |
|
1799 |
esac |
|
1800 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1801 |
$as_echo "$ac_try_echo"; } >&5 |
|
1802 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1803 |
ac_status=$? |
|
1804 |
if test -s conftest.err; then |
|
1805 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1806 |
cat conftest.er1 >&5 |
|
1807 |
mv -f conftest.er1 conftest.err |
|
1808 |
fi |
|
1809 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
19
by edam
updated autotols stuff |
1810 |
test $ac_status = 0; } > conftest.i && { |
5
by edam
- updated README |
1811 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
1812 |
test ! -s conftest.err |
|
1813 |
}; then : |
|
1814 |
ac_retval=0 |
|
1815 |
else |
|
1816 |
$as_echo "$as_me: failed program was:" >&5 |
|
1817 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1818 |
||
1819 |
ac_retval=1 |
|
1820 |
fi |
|
19
by edam
updated autotols stuff |
1821 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1822 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1823 |
|
1824 |
} # ac_fn_cxx_try_cpp |
|
1825 |
||
1826 |
# ac_fn_cxx_try_link LINENO |
|
1827 |
# ------------------------- |
|
1828 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1829 |
ac_fn_cxx_try_link () |
|
1830 |
{ |
|
1831 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1832 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1833 |
if { { ac_try="$ac_link" |
|
1834 |
case "(($ac_try" in |
|
1835 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1836 |
*) ac_try_echo=$ac_try;; |
|
1837 |
esac |
|
1838 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1839 |
$as_echo "$ac_try_echo"; } >&5 |
|
1840 |
(eval "$ac_link") 2>conftest.err |
|
1841 |
ac_status=$? |
|
1842 |
if test -s conftest.err; then |
|
1843 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1844 |
cat conftest.er1 >&5 |
|
1845 |
mv -f conftest.er1 conftest.err |
|
1846 |
fi |
|
1847 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1848 |
test $ac_status = 0; } && { |
|
1849 |
test -z "$ac_cxx_werror_flag" || |
|
1850 |
test ! -s conftest.err |
|
1851 |
} && test -s conftest$ac_exeext && { |
|
1852 |
test "$cross_compiling" = yes || |
|
1853 |
$as_test_x conftest$ac_exeext |
|
1854 |
}; then : |
|
1855 |
ac_retval=0 |
|
1856 |
else |
|
1857 |
$as_echo "$as_me: failed program was:" >&5 |
|
1858 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1859 |
||
1860 |
ac_retval=1 |
|
1861 |
fi |
|
1862 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1863 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1864 |
# interfere with the next link command; also delete a directory that is |
|
1865 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1866 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
19
by edam
updated autotols stuff |
1867 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
1868 |
as_fn_set_status $ac_retval |
5
by edam
- updated README |
1869 |
|
1870 |
} # ac_fn_cxx_try_link |
|
1871 |
||
1872 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1873 |
# ------------------------------------------------------- |
|
1874 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1875 |
# the include files in INCLUDES and setting the cache variable VAR |
|
1876 |
# accordingly. |
|
1877 |
ac_fn_c_check_header_mongrel () |
|
1878 |
{ |
|
1879 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
19
by edam
updated autotols stuff |
1880 |
if eval \${$3+:} false; then : |
5
by edam
- updated README |
1881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1882 |
$as_echo_n "checking for $2... " >&6; } |
|
19
by edam
updated autotols stuff |
1883 |
if eval \${$3+:} false; then : |
5
by edam
- updated README |
1884 |
$as_echo_n "(cached) " >&6 |
1885 |
fi |
|
1886 |
eval ac_res=\$$3 |
|
1887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1888 |
$as_echo "$ac_res" >&6; } |
|
1889 |
else |
|
1890 |
# Is the header compilable? |
|
1891 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1892 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1893 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1894 |
/* end confdefs.h. */ |
|
1895 |
$4 |
|
1896 |
#include <$2> |
|
1897 |
_ACEOF |
|
1898 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1899 |
ac_header_compiler=yes |
|
1900 |
else |
|
1901 |
ac_header_compiler=no |
|
1902 |
fi |
|
1903 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1905 |
$as_echo "$ac_header_compiler" >&6; } |
|
1906 |
||
1907 |
# Is the header present? |
|
1908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1909 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1910 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1911 |
/* end confdefs.h. */ |
|
1912 |
#include <$2> |
|
1913 |
_ACEOF |
|
1914 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1915 |
ac_header_preproc=yes |
|
1916 |
else |
|
1917 |
ac_header_preproc=no |
|
1918 |
fi |
|
19
by edam
updated autotols stuff |
1919 |
rm -f conftest.err conftest.i conftest.$ac_ext |
5
by edam
- updated README |
1920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1921 |
$as_echo "$ac_header_preproc" >&6; } |
|
1922 |
||
1923 |
# So? What about this header? |
|
1924 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1925 |
yes:no: ) |
|
1926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1927 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1929 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1930 |
;; |
|
1931 |
no:yes:* ) |
|
1932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1933 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1934 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1935 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1937 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1939 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1941 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
19
by edam
updated autotols stuff |
1942 |
( $as_echo "## ------------------------ ## |
1943 |
## Report this to tim@ed.am ## |
|
1944 |
## ------------------------ ##" |
|
5
by edam
- updated README |
1945 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
1946 |
;; |
|
1947 |
esac |
|
1948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1949 |
$as_echo_n "checking for $2... " >&6; } |
|
19
by edam
updated autotols stuff |
1950 |
if eval \${$3+:} false; then : |
5
by edam
- updated README |
1951 |
$as_echo_n "(cached) " >&6 |
1952 |
else |
|
1953 |
eval "$3=\$ac_header_compiler" |
|
1954 |
fi |
|
1955 |
eval ac_res=\$$3 |
|
1956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1957 |
$as_echo "$ac_res" >&6; } |
|
1958 |
fi |
|
19
by edam
updated autotols stuff |
1959 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
5
by edam
- updated README |
1960 |
|
1961 |
} # ac_fn_c_check_header_mongrel |
|
1962 |
cat >config.log <<_ACEOF |
|
1963 |
This file contains any messages produced by compilers while |
|
1964 |
running configure, to aid debugging if configure makes a mistake. |
|
1965 |
||
26
by edam
prep for release |
1966 |
It was created by sqlite3cc $as_me 0.1, which was |
19
by edam
updated autotols stuff |
1967 |
generated by GNU Autoconf 2.68. Invocation command line was |
5
by edam
- updated README |
1968 |
|
1969 |
$ $0 $@ |
|
1970 |
||
1971 |
_ACEOF |
|
1972 |
exec 5>>config.log |
|
1973 |
{ |
|
1974 |
cat <<_ASUNAME |
|
1975 |
## --------- ## |
|
1976 |
## Platform. ## |
|
1977 |
## --------- ## |
|
1978 |
||
1979 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1980 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1981 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1982 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1983 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1984 |
||
1985 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1986 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1987 |
||
1988 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1989 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1990 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1991 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1992 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1993 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1994 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1995 |
||
1996 |
_ASUNAME |
|
1997 |
||
1998 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1999 |
for as_dir in $PATH |
|
2000 |
do |
|
2001 |
IFS=$as_save_IFS |
|
2002 |
test -z "$as_dir" && as_dir=. |
|
2003 |
$as_echo "PATH: $as_dir" |
|
2004 |
done |
|
2005 |
IFS=$as_save_IFS |
|
2006 |
||
2007 |
} >&5 |
|
2008 |
||
2009 |
cat >&5 <<_ACEOF |
|
2010 |
||
2011 |
||
2012 |
## ----------- ## |
|
2013 |
## Core tests. ## |
|
2014 |
## ----------- ## |
|
2015 |
||
2016 |
_ACEOF |
|
2017 |
||
2018 |
||
2019 |
# Keep a trace of the command line. |
|
2020 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
2021 |
# Strip out --silent because we don't want to record it for future runs. |
|
2022 |
# Also quote any args containing shell meta-characters. |
|
2023 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
2024 |
ac_configure_args= |
|
2025 |
ac_configure_args0= |
|
2026 |
ac_configure_args1= |
|
2027 |
ac_must_keep_next=false |
|
2028 |
for ac_pass in 1 2 |
|
2029 |
do |
|
2030 |
for ac_arg |
|
2031 |
do |
|
2032 |
case $ac_arg in |
|
2033 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
2034 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2035 |
| -silent | --silent | --silen | --sile | --sil) |
|
2036 |
continue ;; |
|
2037 |
*\'*) |
|
2038 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2039 |
esac |
|
2040 |
case $ac_pass in |
|
2041 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
2042 |
2) |
|
2043 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
2044 |
if test $ac_must_keep_next = true; then |
|
2045 |
ac_must_keep_next=false # Got value, back to normal. |
|
2046 |
else |
|
2047 |
case $ac_arg in |
|
2048 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2049 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2050 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2051 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2052 |
case "$ac_configure_args0 " in |
|
2053 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2054 |
esac |
|
2055 |
;; |
|
2056 |
-* ) ac_must_keep_next=true ;; |
|
2057 |
esac |
|
2058 |
fi |
|
2059 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
2060 |
;; |
|
2061 |
esac |
|
2062 |
done |
|
2063 |
done |
|
2064 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
2065 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
2066 |
||
2067 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2068 |
# config.log. We remove comments because anyway the quotes in there |
|
2069 |
# would cause problems or look ugly. |
|
2070 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
2071 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
2072 |
trap 'exit_status=$? |
|
2073 |
# Save into config.log some information that might help in debugging. |
|
2074 |
{ |
|
2075 |
echo |
|
2076 |
||
19
by edam
updated autotols stuff |
2077 |
$as_echo "## ---------------- ## |
5
by edam
- updated README |
2078 |
## Cache variables. ## |
19
by edam
updated autotols stuff |
2079 |
## ---------------- ##" |
5
by edam
- updated README |
2080 |
echo |
2081 |
# The following way of writing the cache mishandles newlines in values, |
|
2082 |
( |
|
2083 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2084 |
eval ac_val=\$$ac_var |
|
2085 |
case $ac_val in #( |
|
2086 |
*${as_nl}*) |
|
2087 |
case $ac_var in #( |
|
2088 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2089 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2090 |
esac |
|
2091 |
case $ac_var in #( |
|
2092 |
_ | IFS | as_nl) ;; #( |
|
2093 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2094 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2095 |
esac ;; |
|
2096 |
esac |
|
2097 |
done |
|
2098 |
(set) 2>&1 | |
|
2099 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
2100 |
*${as_nl}ac_space=\ *) |
|
2101 |
sed -n \ |
|
2102 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
2103 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2104 |
;; #( |
|
2105 |
*) |
|
2106 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
2107 |
;; |
|
2108 |
esac | |
|
2109 |
sort |
|
2110 |
) |
|
2111 |
echo |
|
2112 |
||
19
by edam
updated autotols stuff |
2113 |
$as_echo "## ----------------- ## |
5
by edam
- updated README |
2114 |
## Output variables. ## |
19
by edam
updated autotols stuff |
2115 |
## ----------------- ##" |
5
by edam
- updated README |
2116 |
echo |
2117 |
for ac_var in $ac_subst_vars |
|
2118 |
do |
|
2119 |
eval ac_val=\$$ac_var |
|
2120 |
case $ac_val in |
|
2121 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2122 |
esac |
|
2123 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2124 |
done | sort |
|
2125 |
echo |
|
2126 |
||
2127 |
if test -n "$ac_subst_files"; then |
|
19
by edam
updated autotols stuff |
2128 |
$as_echo "## ------------------- ## |
5
by edam
- updated README |
2129 |
## File substitutions. ## |
19
by edam
updated autotols stuff |
2130 |
## ------------------- ##" |
5
by edam
- updated README |
2131 |
echo |
2132 |
for ac_var in $ac_subst_files |
|
2133 |
do |
|
2134 |
eval ac_val=\$$ac_var |
|
2135 |
case $ac_val in |
|
2136 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2137 |
esac |
|
2138 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2139 |
done | sort |
|
2140 |
echo |
|
2141 |
fi |
|
2142 |
||
2143 |
if test -s confdefs.h; then |
|
19
by edam
updated autotols stuff |
2144 |
$as_echo "## ----------- ## |
5
by edam
- updated README |
2145 |
## confdefs.h. ## |
19
by edam
updated autotols stuff |
2146 |
## ----------- ##" |
5
by edam
- updated README |
2147 |
echo |
2148 |
cat confdefs.h |
|
2149 |
echo |
|
2150 |
fi |
|
2151 |
test "$ac_signal" != 0 && |
|
2152 |
$as_echo "$as_me: caught signal $ac_signal" |
|
2153 |
$as_echo "$as_me: exit $exit_status" |
|
2154 |
} >&5 |
|
2155 |
rm -f core *.core core.conftest.* && |
|
2156 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
2157 |
exit $exit_status |
|
2158 |
' 0 |
|
2159 |
for ac_signal in 1 2 13 15; do |
|
2160 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
2161 |
done |
|
2162 |
ac_signal=0 |
|
2163 |
||
2164 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
2165 |
rm -f -r conftest* confdefs.h |
|
2166 |
||
2167 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
2168 |
||
2169 |
# Predefined preprocessor variables. |
|
2170 |
||
2171 |
cat >>confdefs.h <<_ACEOF |
|
2172 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2173 |
_ACEOF |
|
2174 |
||
2175 |
cat >>confdefs.h <<_ACEOF |
|
2176 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2177 |
_ACEOF |
|
2178 |
||
2179 |
cat >>confdefs.h <<_ACEOF |
|
2180 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2181 |
_ACEOF |
|
2182 |
||
2183 |
cat >>confdefs.h <<_ACEOF |
|
2184 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2185 |
_ACEOF |
|
2186 |
||
2187 |
cat >>confdefs.h <<_ACEOF |
|
2188 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2189 |
_ACEOF |
|
2190 |
||
2191 |
cat >>confdefs.h <<_ACEOF |
|
2192 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
2193 |
_ACEOF |
|
2194 |
||
2195 |
||
2196 |
# Let the site file select an alternate cache file if it wants to. |
|
2197 |
# Prefer an explicitly selected file to automatically selected ones. |
|
2198 |
ac_site_file1=NONE |
|
2199 |
ac_site_file2=NONE |
|
2200 |
if test -n "$CONFIG_SITE"; then |
|
19
by edam
updated autotols stuff |
2201 |
# We do not want a PATH search for config.site. |
2202 |
case $CONFIG_SITE in #(( |
|
2203 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2204 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2205 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2206 |
esac |
|
5
by edam
- updated README |
2207 |
elif test "x$prefix" != xNONE; then |
2208 |
ac_site_file1=$prefix/share/config.site |
|
2209 |
ac_site_file2=$prefix/etc/config.site |
|
2210 |
else |
|
2211 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2212 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
2213 |
fi |
|
2214 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2215 |
do |
|
2216 |
test "x$ac_site_file" = xNONE && continue |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2217 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
5
by edam
- updated README |
2218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2219 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2220 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
19
by edam
updated autotols stuff |
2221 |
. "$ac_site_file" \ |
2222 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2223 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2224 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2225 |
See \`config.log' for more details" "$LINENO" 5; } |
|
5
by edam
- updated README |
2226 |
fi |
2227 |
done |
|
2228 |
||
2229 |
if test -r "$cache_file"; then |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2230 |
# Some versions of bash will fail to source /dev/null (special files |
2231 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2232 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
5
by edam
- updated README |
2233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2234 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2235 |
case $cache_file in |
|
2236 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2237 |
*) . "./$cache_file";; |
|
2238 |
esac |
|
2239 |
fi |
|
2240 |
else |
|
2241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2242 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2243 |
>$cache_file |
|
2244 |
fi |
|
2245 |
||
2246 |
# Check that the precious variables saved in the cache have kept the same |
|
2247 |
# value. |
|
2248 |
ac_cache_corrupted=false |
|
2249 |
for ac_var in $ac_precious_vars; do |
|
2250 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2251 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2252 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2253 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2254 |
case $ac_old_set,$ac_new_set in |
|
2255 |
set,) |
|
2256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2257 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2258 |
ac_cache_corrupted=: ;; |
|
2259 |
,set) |
|
2260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2261 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2262 |
ac_cache_corrupted=: ;; |
|
2263 |
,);; |
|
2264 |
*) |
|
2265 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2266 |
# differences in whitespace do not lead to failure. |
|
2267 |
ac_old_val_w=`echo x $ac_old_val` |
|
2268 |
ac_new_val_w=`echo x $ac_new_val` |
|
2269 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2271 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2272 |
ac_cache_corrupted=: |
|
2273 |
else |
|
2274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2275 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2276 |
eval $ac_var=\$ac_old_val |
|
2277 |
fi |
|
2278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2279 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2281 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2282 |
fi;; |
|
2283 |
esac |
|
2284 |
# Pass precious variables to config.status. |
|
2285 |
if test "$ac_new_set" = set; then |
|
2286 |
case $ac_new_val in |
|
2287 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2288 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2289 |
esac |
|
2290 |
case " $ac_configure_args " in |
|
2291 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2292 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2293 |
esac |
|
2294 |
fi |
|
2295 |
done |
|
2296 |
if $ac_cache_corrupted; then |
|
2297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2298 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2299 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2300 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
19
by edam
updated autotols stuff |
2301 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
5
by edam
- updated README |
2302 |
fi |
2303 |
## -------------------- ## |
|
2304 |
## Main body of script. ## |
|
2305 |
## -------------------- ## |
|
2306 |
||
2307 |
ac_ext=c |
|
2308 |
ac_cpp='$CPP $CPPFLAGS' |
|
2309 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2310 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2311 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2312 |
||
2313 |
||
7
by edam
- removed "OK" from test-main when test is successful |
2314 |
LIBSQLITE3CC_INTERFACE=0:0:0 |
2315 |
||
5
by edam
- updated README |
2316 |
ac_aux_dir= |
2317 |
for ac_dir in build-aux "$srcdir"/build-aux; do |
|
19
by edam
updated autotols stuff |
2318 |
if test -f "$ac_dir/install-sh"; then |
2319 |
ac_aux_dir=$ac_dir |
|
2320 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2321 |
break |
|
2322 |
elif test -f "$ac_dir/install.sh"; then |
|
2323 |
ac_aux_dir=$ac_dir |
|
2324 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2325 |
break |
|
2326 |
elif test -f "$ac_dir/shtool"; then |
|
2327 |
ac_aux_dir=$ac_dir |
|
2328 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2329 |
break |
|
2330 |
fi |
|
5
by edam
- updated README |
2331 |
done |
2332 |
if test -z "$ac_aux_dir"; then |
|
19
by edam
updated autotols stuff |
2333 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 |
5
by edam
- updated README |
2334 |
fi |
2335 |
||
2336 |
# These three variables are undocumented and unsupported, |
|
2337 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2338 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2339 |
# whose full name contains unusual characters. |
|
2340 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2341 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2342 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2343 |
||
2344 |
||
2345 |
||
2346 |
am__api_version='1.11' |
|
2347 |
||
2348 |
# Find a good install program. We prefer a C program (faster), |
|
2349 |
# so one script is as good as another. But avoid the broken or |
|
2350 |
# incompatible versions: |
|
2351 |
# SysV /etc/install, /usr/sbin/install |
|
2352 |
# SunOS /usr/etc/install |
|
2353 |
# IRIX /sbin/install |
|
2354 |
# AIX /bin/install |
|
2355 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2356 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2357 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2358 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2359 |
# OS/2's system install, which has a completely different semantic |
|
2360 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
2361 |
# Reject install programs that cannot install multiple files. |
|
2362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2363 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2364 |
if test -z "$INSTALL"; then |
|
19
by edam
updated autotols stuff |
2365 |
if ${ac_cv_path_install+:} false; then : |
5
by edam
- updated README |
2366 |
$as_echo_n "(cached) " >&6 |
2367 |
else |
|
2368 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2369 |
for as_dir in $PATH |
|
2370 |
do |
|
2371 |
IFS=$as_save_IFS |
|
2372 |
test -z "$as_dir" && as_dir=. |
|
2373 |
# Account for people who put trailing slashes in PATH elements. |
|
2374 |
case $as_dir/ in #(( |
|
2375 |
./ | .// | /[cC]/* | \ |
|
2376 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2377 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2378 |
/usr/ucb/* ) ;; |
|
2379 |
*) |
|
2380 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2381 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2382 |
# by default. |
|
2383 |
for ac_prog in ginstall scoinst install; do |
|
2384 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2385 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
2386 |
if test $ac_prog = install && |
|
2387 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2388 |
# AIX install. It has an incompatible calling convention. |
|
2389 |
: |
|
2390 |
elif test $ac_prog = install && |
|
2391 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2392 |
# program-specific install script used by HP pwplus--don't use. |
|
2393 |
: |
|
2394 |
else |
|
2395 |
rm -rf conftest.one conftest.two conftest.dir |
|
2396 |
echo one > conftest.one |
|
2397 |
echo two > conftest.two |
|
2398 |
mkdir conftest.dir |
|
2399 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2400 |
test -s conftest.one && test -s conftest.two && |
|
2401 |
test -s conftest.dir/conftest.one && |
|
2402 |
test -s conftest.dir/conftest.two |
|
2403 |
then |
|
2404 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2405 |
break 3 |
|
2406 |
fi |
|
2407 |
fi |
|
2408 |
fi |
|
2409 |
done |
|
2410 |
done |
|
2411 |
;; |
|
2412 |
esac |
|
2413 |
||
2414 |
done |
|
2415 |
IFS=$as_save_IFS |
|
2416 |
||
2417 |
rm -rf conftest.one conftest.two conftest.dir |
|
2418 |
||
2419 |
fi |
|
2420 |
if test "${ac_cv_path_install+set}" = set; then |
|
2421 |
INSTALL=$ac_cv_path_install |
|
2422 |
else |
|
2423 |
# As a last resort, use the slow shell script. Don't cache a |
|
2424 |
# value for INSTALL within a source directory, because that will |
|
2425 |
# break other packages using the cache if that directory is |
|
2426 |
# removed, or if the value is a relative name. |
|
2427 |
INSTALL=$ac_install_sh |
|
2428 |
fi |
|
2429 |
fi |
|
2430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2431 |
$as_echo "$INSTALL" >&6; } |
|
2432 |
||
2433 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2434 |
# It thinks the first close brace ends the variable substitution. |
|
2435 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2436 |
||
2437 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2438 |
||
2439 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2440 |
||
2441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2442 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2443 |
# Just in case |
|
2444 |
sleep 1 |
|
2445 |
echo timestamp > conftest.file |
|
2446 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
2447 |
# name. Accept space and tab only in the latter. |
|
2448 |
am_lf=' |
|
2449 |
' |
|
2450 |
case `pwd` in |
|
2451 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
19
by edam
updated autotols stuff |
2452 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
5
by edam
- updated README |
2453 |
esac |
2454 |
case $srcdir in |
|
2455 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
19
by edam
updated autotols stuff |
2456 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
5
by edam
- updated README |
2457 |
esac |
2458 |
||
2459 |
# Do `set' in a subshell so we don't clobber the current shell's |
|
2460 |
# arguments. Must try -L first in case configure is actually a |
|
2461 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2462 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2463 |
# directory). |
|
2464 |
if ( |
|
2465 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2466 |
if test "$*" = "X"; then |
|
2467 |
# -L didn't work. |
|
2468 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2469 |
fi |
|
2470 |
rm -f conftest.file |
|
2471 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2472 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2473 |
||
2474 |
# If neither matched, then we have a broken ls. This can happen |
|
2475 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2476 |
# broken ls alias from the environment. This has actually |
|
2477 |
# happened. Such a system could not be considered "sane". |
|
19
by edam
updated autotols stuff |
2478 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
5
by edam
- updated README |
2479 |
alias in your environment" "$LINENO" 5 |
2480 |
fi |
|
2481 |
||
2482 |
test "$2" = conftest.file |
|
2483 |
) |
|
2484 |
then |
|
2485 |
# Ok. |
|
2486 |
: |
|
2487 |
else |
|
19
by edam
updated autotols stuff |
2488 |
as_fn_error $? "newly created file is older than distributed files! |
5
by edam
- updated README |
2489 |
Check your system clock" "$LINENO" 5 |
2490 |
fi |
|
2491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2492 |
$as_echo "yes" >&6; } |
|
2493 |
test "$program_prefix" != NONE && |
|
2494 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2495 |
# Use a double $ so make ignores it. |
|
2496 |
test "$program_suffix" != NONE && |
|
2497 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2498 |
# Double any \ or $. |
|
2499 |
# By default was `s,x,x', remove it if useless. |
|
2500 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2501 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2502 |
||
2503 |
# expand $ac_aux_dir to an absolute path |
|
2504 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2505 |
||
2506 |
if test x"${MISSING+set}" != xset; then |
|
2507 |
case $am_aux_dir in |
|
2508 |
*\ * | *\ *) |
|
2509 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2510 |
*) |
|
2511 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2512 |
esac |
|
2513 |
fi |
|
2514 |
# Use eval to expand $SHELL |
|
2515 |
if eval "$MISSING --run true"; then |
|
2516 |
am_missing_run="$MISSING --run " |
|
2517 |
else |
|
2518 |
am_missing_run= |
|
2519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
|
2520 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
2521 |
fi |
|
2522 |
||
2523 |
if test x"${install_sh}" != xset; then |
|
2524 |
case $am_aux_dir in |
|
2525 |
*\ * | *\ *) |
|
2526 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2527 |
*) |
|
2528 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2529 |
esac |
|
2530 |
fi |
|
2531 |
||
2532 |
# Installed binaries are usually stripped using `strip' when the user |
|
2533 |
# run `make install-strip'. However `strip' might not be the right |
|
2534 |
# tool to use in cross-compilation environments, therefore Automake |
|
2535 |
# will honor the `STRIP' environment variable to overrule this program. |
|
2536 |
if test "$cross_compiling" != no; then |
|
2537 |
if test -n "$ac_tool_prefix"; then |
|
2538 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2539 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2541 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
2542 |
if ${ac_cv_prog_STRIP+:} false; then : |
5
by edam
- updated README |
2543 |
$as_echo_n "(cached) " >&6 |
2544 |
else |
|
2545 |
if test -n "$STRIP"; then |
|
2546 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2547 |
else |
|
2548 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2549 |
for as_dir in $PATH |
|
2550 |
do |
|
2551 |
IFS=$as_save_IFS |
|
2552 |
test -z "$as_dir" && as_dir=. |
|
2553 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2554 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2555 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2556 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2557 |
break 2 |
|
2558 |
fi |
|
2559 |
done |
|
2560 |
done |
|
2561 |
IFS=$as_save_IFS |
|
2562 |
||
2563 |
fi |
|
2564 |
fi |
|
2565 |
STRIP=$ac_cv_prog_STRIP |
|
2566 |
if test -n "$STRIP"; then |
|
2567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2568 |
$as_echo "$STRIP" >&6; } |
|
2569 |
else |
|
2570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2571 |
$as_echo "no" >&6; } |
|
2572 |
fi |
|
2573 |
||
2574 |
||
2575 |
fi |
|
2576 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2577 |
ac_ct_STRIP=$STRIP |
|
2578 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2579 |
set dummy strip; ac_word=$2 |
|
2580 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2581 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
2582 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
5
by edam
- updated README |
2583 |
$as_echo_n "(cached) " >&6 |
2584 |
else |
|
2585 |
if test -n "$ac_ct_STRIP"; then |
|
2586 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2587 |
else |
|
2588 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2589 |
for as_dir in $PATH |
|
2590 |
do |
|
2591 |
IFS=$as_save_IFS |
|
2592 |
test -z "$as_dir" && as_dir=. |
|
2593 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2594 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2595 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2596 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2597 |
break 2 |
|
2598 |
fi |
|
2599 |
done |
|
2600 |
done |
|
2601 |
IFS=$as_save_IFS |
|
2602 |
||
2603 |
fi |
|
2604 |
fi |
|
2605 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2606 |
if test -n "$ac_ct_STRIP"; then |
|
2607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2608 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2609 |
else |
|
2610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2611 |
$as_echo "no" >&6; } |
|
2612 |
fi |
|
2613 |
||
2614 |
if test "x$ac_ct_STRIP" = x; then |
|
2615 |
STRIP=":" |
|
2616 |
else |
|
2617 |
case $cross_compiling:$ac_tool_warned in |
|
2618 |
yes:) |
|
2619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2620 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2621 |
ac_tool_warned=yes ;; |
|
2622 |
esac |
|
2623 |
STRIP=$ac_ct_STRIP |
|
2624 |
fi |
|
2625 |
else |
|
2626 |
STRIP="$ac_cv_prog_STRIP" |
|
2627 |
fi |
|
2628 |
||
2629 |
fi |
|
2630 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2631 |
||
2632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2633 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2634 |
if test -z "$MKDIR_P"; then |
|
19
by edam
updated autotols stuff |
2635 |
if ${ac_cv_path_mkdir+:} false; then : |
5
by edam
- updated README |
2636 |
$as_echo_n "(cached) " >&6 |
2637 |
else |
|
2638 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2639 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2640 |
do |
|
2641 |
IFS=$as_save_IFS |
|
2642 |
test -z "$as_dir" && as_dir=. |
|
2643 |
for ac_prog in mkdir gmkdir; do |
|
2644 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2645 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2646 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2647 |
'mkdir (GNU coreutils) '* | \ |
|
2648 |
'mkdir (coreutils) '* | \ |
|
2649 |
'mkdir (fileutils) '4.1*) |
|
2650 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2651 |
break 3;; |
|
2652 |
esac |
|
2653 |
done |
|
2654 |
done |
|
2655 |
done |
|
2656 |
IFS=$as_save_IFS |
|
2657 |
||
2658 |
fi |
|
2659 |
||
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2660 |
test -d ./--version && rmdir ./--version |
5
by edam
- updated README |
2661 |
if test "${ac_cv_path_mkdir+set}" = set; then |
2662 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2663 |
else |
|
2664 |
# As a last resort, use the slow shell script. Don't cache a |
|
2665 |
# value for MKDIR_P within a source directory, because that will |
|
2666 |
# break other packages using the cache if that directory is |
|
2667 |
# removed, or if the value is a relative name. |
|
2668 |
MKDIR_P="$ac_install_sh -d" |
|
2669 |
fi |
|
2670 |
fi |
|
2671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2672 |
$as_echo "$MKDIR_P" >&6; } |
|
2673 |
||
2674 |
mkdir_p="$MKDIR_P" |
|
2675 |
case $mkdir_p in |
|
2676 |
[\\/$]* | ?:[\\/]*) ;; |
|
2677 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2678 |
esac |
|
2679 |
||
2680 |
for ac_prog in gawk mawk nawk awk |
|
2681 |
do |
|
2682 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2683 |
set dummy $ac_prog; ac_word=$2 |
|
2684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2685 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
2686 |
if ${ac_cv_prog_AWK+:} false; then : |
5
by edam
- updated README |
2687 |
$as_echo_n "(cached) " >&6 |
2688 |
else |
|
2689 |
if test -n "$AWK"; then |
|
2690 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2691 |
else |
|
2692 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2693 |
for as_dir in $PATH |
|
2694 |
do |
|
2695 |
IFS=$as_save_IFS |
|
2696 |
test -z "$as_dir" && as_dir=. |
|
2697 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2698 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2699 |
ac_cv_prog_AWK="$ac_prog" |
|
2700 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2701 |
break 2 |
|
2702 |
fi |
|
2703 |
done |
|
2704 |
done |
|
2705 |
IFS=$as_save_IFS |
|
2706 |
||
2707 |
fi |
|
2708 |
fi |
|
2709 |
AWK=$ac_cv_prog_AWK |
|
2710 |
if test -n "$AWK"; then |
|
2711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2712 |
$as_echo "$AWK" >&6; } |
|
2713 |
else |
|
2714 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2715 |
$as_echo "no" >&6; } |
|
2716 |
fi |
|
2717 |
||
2718 |
||
2719 |
test -n "$AWK" && break |
|
2720 |
done |
|
2721 |
||
2722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2723 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2724 |
set x ${MAKE-make} |
|
2725 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
19
by edam
updated autotols stuff |
2726 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
5
by edam
- updated README |
2727 |
$as_echo_n "(cached) " >&6 |
2728 |
else |
|
2729 |
cat >conftest.make <<\_ACEOF |
|
2730 |
SHELL = /bin/sh |
|
2731 |
all: |
|
2732 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2733 |
_ACEOF |
|
19
by edam
updated autotols stuff |
2734 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
5
by edam
- updated README |
2735 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2736 |
*@@@%%%=?*=@@@%%%*) |
|
2737 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2738 |
*) |
|
2739 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2740 |
esac |
|
2741 |
rm -f conftest.make |
|
2742 |
fi |
|
2743 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2744 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2745 |
$as_echo "yes" >&6; } |
|
2746 |
SET_MAKE= |
|
2747 |
else |
|
2748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2749 |
$as_echo "no" >&6; } |
|
2750 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2751 |
fi |
|
2752 |
||
2753 |
rm -rf .tst 2>/dev/null |
|
2754 |
mkdir .tst 2>/dev/null |
|
2755 |
if test -d .tst; then |
|
2756 |
am__leading_dot=. |
|
2757 |
else |
|
2758 |
am__leading_dot=_ |
|
2759 |
fi |
|
2760 |
rmdir .tst 2>/dev/null |
|
2761 |
||
2762 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2763 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2764 |
# is not polluted with repeated "-I." |
|
2765 |
am__isrc=' -I$(srcdir)' |
|
2766 |
# test to see if srcdir already configured |
|
2767 |
if test -f $srcdir/config.status; then |
|
19
by edam
updated autotols stuff |
2768 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
5
by edam
- updated README |
2769 |
fi |
2770 |
fi |
|
2771 |
||
2772 |
# test whether we have cygpath |
|
2773 |
if test -z "$CYGPATH_W"; then |
|
2774 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2775 |
CYGPATH_W='cygpath -w' |
|
2776 |
else |
|
2777 |
CYGPATH_W=echo |
|
2778 |
fi |
|
2779 |
fi |
|
2780 |
||
2781 |
||
2782 |
# Define the identity of the package. |
|
2783 |
PACKAGE='sqlite3cc' |
|
26
by edam
prep for release |
2784 |
VERSION='0.1' |
5
by edam
- updated README |
2785 |
|
2786 |
||
2787 |
cat >>confdefs.h <<_ACEOF |
|
2788 |
#define PACKAGE "$PACKAGE" |
|
2789 |
_ACEOF |
|
2790 |
||
2791 |
||
2792 |
cat >>confdefs.h <<_ACEOF |
|
2793 |
#define VERSION "$VERSION" |
|
2794 |
_ACEOF |
|
2795 |
||
2796 |
# Some tools Automake needs. |
|
2797 |
||
2798 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2799 |
||
2800 |
||
2801 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2802 |
||
2803 |
||
2804 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2805 |
||
2806 |
||
2807 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2808 |
||
2809 |
||
2810 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2811 |
||
2812 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2813 |
# some platforms. |
|
29
by edam
updated autotools |
2814 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2815 |
# in the wild :-( We should find a proper way to deprecate it ... |
|
2816 |
AMTAR='$${TAR-tar}' |
|
2817 |
||
2818 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
5
by edam
- updated README |
2819 |
|
2820 |
||
2821 |
||
2822 |
||
2823 |
||
2824 |
||
2825 |
ac_config_headers="$ac_config_headers config.h" |
|
2826 |
||
19
by edam
updated autotols stuff |
2827 |
|
2828 |
# checks for programs. |
|
2829 |
ac_ext=cpp |
|
2830 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
2831 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2832 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2833 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
2834 |
if test -z "$CXX"; then |
|
2835 |
if test -n "$CCC"; then |
|
2836 |
CXX=$CCC |
|
5
by edam
- updated README |
2837 |
else |
19
by edam
updated autotols stuff |
2838 |
if test -n "$ac_tool_prefix"; then |
2839 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
5
by edam
- updated README |
2840 |
do |
2841 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2842 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2843 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2844 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
2845 |
if ${ac_cv_prog_CXX+:} false; then : |
5
by edam
- updated README |
2846 |
$as_echo_n "(cached) " >&6 |
2847 |
else |
|
19
by edam
updated autotols stuff |
2848 |
if test -n "$CXX"; then |
2849 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
5
by edam
- updated README |
2850 |
else |
2851 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2852 |
for as_dir in $PATH |
|
2853 |
do |
|
2854 |
IFS=$as_save_IFS |
|
2855 |
test -z "$as_dir" && as_dir=. |
|
2856 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2857 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
19
by edam
updated autotols stuff |
2858 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5
by edam
- updated README |
2859 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2860 |
break 2 |
|
2861 |
fi |
|
2862 |
done |
|
2863 |
done |
|
2864 |
IFS=$as_save_IFS |
|
2865 |
||
2866 |
fi |
|
2867 |
fi |
|
19
by edam
updated autotols stuff |
2868 |
CXX=$ac_cv_prog_CXX |
2869 |
if test -n "$CXX"; then |
|
2870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
|
2871 |
$as_echo "$CXX" >&6; } |
|
5
by edam
- updated README |
2872 |
else |
2873 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2874 |
$as_echo "no" >&6; } |
|
2875 |
fi |
|
2876 |
||
2877 |
||
19
by edam
updated autotols stuff |
2878 |
test -n "$CXX" && break |
5
by edam
- updated README |
2879 |
done |
2880 |
fi |
|
19
by edam
updated autotols stuff |
2881 |
if test -z "$CXX"; then |
2882 |
ac_ct_CXX=$CXX |
|
2883 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
5
by edam
- updated README |
2884 |
do |
2885 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2886 |
set dummy $ac_prog; ac_word=$2 |
|
2887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2888 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
2889 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
5
by edam
- updated README |
2890 |
$as_echo_n "(cached) " >&6 |
2891 |
else |
|
19
by edam
updated autotols stuff |
2892 |
if test -n "$ac_ct_CXX"; then |
2893 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
5
by edam
- updated README |
2894 |
else |
2895 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2896 |
for as_dir in $PATH |
|
2897 |
do |
|
2898 |
IFS=$as_save_IFS |
|
2899 |
test -z "$as_dir" && as_dir=. |
|
2900 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2901 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
19
by edam
updated autotols stuff |
2902 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
5
by edam
- updated README |
2903 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2904 |
break 2 |
|
2905 |
fi |
|
2906 |
done |
|
2907 |
done |
|
2908 |
IFS=$as_save_IFS |
|
2909 |
||
2910 |
fi |
|
2911 |
fi |
|
19
by edam
updated autotols stuff |
2912 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2913 |
if test -n "$ac_ct_CXX"; then |
|
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
|
2915 |
$as_echo "$ac_ct_CXX" >&6; } |
|
5
by edam
- updated README |
2916 |
else |
2917 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2918 |
$as_echo "no" >&6; } |
|
2919 |
fi |
|
2920 |
||
2921 |
||
19
by edam
updated autotols stuff |
2922 |
test -n "$ac_ct_CXX" && break |
5
by edam
- updated README |
2923 |
done |
2924 |
||
19
by edam
updated autotols stuff |
2925 |
if test "x$ac_ct_CXX" = x; then |
2926 |
CXX="g++" |
|
5
by edam
- updated README |
2927 |
else |
2928 |
case $cross_compiling:$ac_tool_warned in |
|
2929 |
yes:) |
|
2930 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2931 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2932 |
ac_tool_warned=yes ;; |
|
2933 |
esac |
|
19
by edam
updated autotols stuff |
2934 |
CXX=$ac_ct_CXX |
2935 |
fi |
|
2936 |
fi |
|
2937 |
||
2938 |
fi |
|
2939 |
fi |
|
5
by edam
- updated README |
2940 |
# Provide some information about the compiler. |
19
by edam
updated autotols stuff |
2941 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
5
by edam
- updated README |
2942 |
set X $ac_compile |
2943 |
ac_compiler=$2 |
|
2944 |
for ac_option in --version -v -V -qversion; do |
|
2945 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
2946 |
case "(($ac_try" in |
|
2947 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2948 |
*) ac_try_echo=$ac_try;; |
|
2949 |
esac |
|
2950 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2951 |
$as_echo "$ac_try_echo"; } >&5 |
|
2952 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
2953 |
ac_status=$? |
|
2954 |
if test -s conftest.err; then |
|
2955 |
sed '10a\ |
|
2956 |
... rest of stderr output deleted ... |
|
2957 |
10q' conftest.err >conftest.er1 |
|
2958 |
cat conftest.er1 >&5 |
|
2959 |
fi |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2960 |
rm -f conftest.er1 conftest.err |
5
by edam
- updated README |
2961 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2962 |
test $ac_status = 0; } |
|
2963 |
done |
|
2964 |
||
2965 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2966 |
/* end confdefs.h. */ |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2967 |
|
5
by edam
- updated README |
2968 |
int |
2969 |
main () |
|
2970 |
{ |
|
2971 |
||
2972 |
; |
|
2973 |
return 0; |
|
2974 |
} |
|
2975 |
_ACEOF |
|
2976 |
ac_clean_files_save=$ac_clean_files |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
2977 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
5
by edam
- updated README |
2978 |
# Try to create an executable without -o first, disregard a.out. |
2979 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
2980 |
# of exeext. |
|
19
by edam
updated autotols stuff |
2981 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
2982 |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
|
5
by edam
- updated README |
2983 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2984 |
||
2985 |
# The possible output files: |
|
2986 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
2987 |
||
2988 |
ac_rmfiles= |
|
2989 |
for ac_file in $ac_files |
|
2990 |
do |
|
2991 |
case $ac_file in |
|
2992 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
2993 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
2994 |
esac |
|
2995 |
done |
|
2996 |
rm -f $ac_rmfiles |
|
2997 |
||
2998 |
if { { ac_try="$ac_link_default" |
|
2999 |
case "(($ac_try" in |
|
3000 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3001 |
*) ac_try_echo=$ac_try;; |
|
3002 |
esac |
|
3003 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3004 |
$as_echo "$ac_try_echo"; } >&5 |
|
3005 |
(eval "$ac_link_default") 2>&5 |
|
3006 |
ac_status=$? |
|
3007 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3008 |
test $ac_status = 0; }; then : |
|
3009 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3010 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3011 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3012 |
# so that the user can short-circuit this test for compilers unknown to |
|
3013 |
# Autoconf. |
|
3014 |
for ac_file in $ac_files '' |
|
3015 |
do |
|
3016 |
test -f "$ac_file" || continue |
|
3017 |
case $ac_file in |
|
3018 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3019 |
;; |
|
3020 |
[ab].out ) |
|
3021 |
# We found the default executable, but exeext='' is most |
|
3022 |
# certainly right. |
|
3023 |
break;; |
|
3024 |
*.* ) |
|
3025 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3026 |
then :; else |
|
3027 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3028 |
fi |
|
3029 |
# We set ac_cv_exeext here because the later test for it is not |
|
3030 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3031 |
# argument, so we may need to know it at that point already. |
|
3032 |
# Even if this section looks crufty: it has the advantage of |
|
3033 |
# actually working. |
|
3034 |
break;; |
|
3035 |
* ) |
|
3036 |
break;; |
|
3037 |
esac |
|
3038 |
done |
|
3039 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3040 |
||
3041 |
else |
|
3042 |
ac_file='' |
|
3043 |
fi |
|
3044 |
if test -z "$ac_file"; then : |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3046 |
$as_echo "no" >&6; } |
|
3047 |
$as_echo "$as_me: failed program was:" >&5 |
|
5
by edam
- updated README |
3048 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3049 |
||
3050 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3051 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
3052 |
as_fn_error 77 "C++ compiler cannot create executables |
3053 |
See \`config.log' for more details" "$LINENO" 5; } |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3054 |
else |
3055 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3056 |
$as_echo "yes" >&6; } |
|
5
by edam
- updated README |
3057 |
fi |
19
by edam
updated autotols stuff |
3058 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
3059 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3061 |
$as_echo "$ac_file" >&6; } |
|
5
by edam
- updated README |
3062 |
ac_exeext=$ac_cv_exeext |
3063 |
||
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3064 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
5
by edam
- updated README |
3065 |
ac_clean_files=$ac_clean_files_save |
3066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3067 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3068 |
if { { ac_try="$ac_link" |
|
3069 |
case "(($ac_try" in |
|
3070 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3071 |
*) ac_try_echo=$ac_try;; |
|
3072 |
esac |
|
3073 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3074 |
$as_echo "$ac_try_echo"; } >&5 |
|
3075 |
(eval "$ac_link") 2>&5 |
|
3076 |
ac_status=$? |
|
3077 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3078 |
test $ac_status = 0; }; then : |
|
3079 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3080 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3081 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3082 |
# `rm'. |
|
3083 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3084 |
test -f "$ac_file" || continue |
|
3085 |
case $ac_file in |
|
3086 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3087 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3088 |
break;; |
|
3089 |
* ) break;; |
|
3090 |
esac |
|
3091 |
done |
|
3092 |
else |
|
3093 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3094 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
3095 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3096 |
See \`config.log' for more details" "$LINENO" 5; } |
|
5
by edam
- updated README |
3097 |
fi |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3098 |
rm -f conftest conftest$ac_cv_exeext |
5
by edam
- updated README |
3099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3100 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3101 |
||
3102 |
rm -f conftest.$ac_ext |
|
3103 |
EXEEXT=$ac_cv_exeext |
|
3104 |
ac_exeext=$EXEEXT |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3105 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3106 |
/* end confdefs.h. */ |
|
3107 |
#include <stdio.h> |
|
3108 |
int |
|
3109 |
main () |
|
3110 |
{ |
|
3111 |
FILE *f = fopen ("conftest.out", "w"); |
|
3112 |
return ferror (f) || fclose (f) != 0; |
|
3113 |
||
3114 |
; |
|
3115 |
return 0; |
|
3116 |
} |
|
3117 |
_ACEOF |
|
3118 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3119 |
# Check that the compiler produces executables we can run. If not, either |
|
3120 |
# the compiler is broken, or we cross compile. |
|
3121 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3122 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3123 |
if test "$cross_compiling" != yes; then |
|
3124 |
{ { ac_try="$ac_link" |
|
3125 |
case "(($ac_try" in |
|
3126 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3127 |
*) ac_try_echo=$ac_try;; |
|
3128 |
esac |
|
3129 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3130 |
$as_echo "$ac_try_echo"; } >&5 |
|
3131 |
(eval "$ac_link") 2>&5 |
|
3132 |
ac_status=$? |
|
3133 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3134 |
test $ac_status = 0; } |
|
3135 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3136 |
{ { case "(($ac_try" in |
|
3137 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3138 |
*) ac_try_echo=$ac_try;; |
|
3139 |
esac |
|
3140 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3141 |
$as_echo "$ac_try_echo"; } >&5 |
|
3142 |
(eval "$ac_try") 2>&5 |
|
3143 |
ac_status=$? |
|
3144 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3145 |
test $ac_status = 0; }; }; then |
|
3146 |
cross_compiling=no |
|
3147 |
else |
|
3148 |
if test "$cross_compiling" = maybe; then |
|
3149 |
cross_compiling=yes |
|
3150 |
else |
|
3151 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3152 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
3153 |
as_fn_error $? "cannot run C++ compiled programs. |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3154 |
If you meant to cross compile, use \`--host'. |
19
by edam
updated autotols stuff |
3155 |
See \`config.log' for more details" "$LINENO" 5; } |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
3156 |
fi |
3157 |
fi |
|
3158 |
fi |
|
3159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3160 |
$as_echo "$cross_compiling" >&6; } |
|
3161 |
||
3162 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3163 |
ac_clean_files=$ac_clean_files_save |
|
5
by edam
- updated README |
3164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3165 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
19
by edam
updated autotols stuff |
3166 |
if ${ac_cv_objext+:} false; then : |
5
by edam
- updated README |
3167 |
$as_echo_n "(cached) " >&6 |
3168 |
else |
|
3169 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3170 |
/* end confdefs.h. */ |
|
3171 |
||
3172 |
int |
|
3173 |
main () |
|
3174 |
{ |
|
3175 |
||
3176 |
; |
|
3177 |
return 0; |
|
3178 |
} |
|
3179 |
_ACEOF |
|
3180 |
rm -f conftest.o conftest.obj |
|
3181 |
if { { ac_try="$ac_compile" |
|
3182 |
case "(($ac_try" in |
|
3183 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3184 |
*) ac_try_echo=$ac_try;; |
|
3185 |
esac |
|
3186 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3187 |
$as_echo "$ac_try_echo"; } >&5 |
|
3188 |
(eval "$ac_compile") 2>&5 |
|
3189 |
ac_status=$? |
|
3190 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3191 |
test $ac_status = 0; }; then : |
|
3192 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3193 |
test -f "$ac_file" || continue; |
|
3194 |
case $ac_file in |
|
3195 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3196 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3197 |
break;; |
|
3198 |
esac |
|
3199 |
done |
|
3200 |
else |
|
3201 |
$as_echo "$as_me: failed program was:" >&5 |
|
3202 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3203 |
||
3204 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3205 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
3206 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3207 |
See \`config.log' for more details" "$LINENO" 5; } |
|
5
by edam
- updated README |
3208 |
fi |
3209 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3210 |
fi |
|
3211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3212 |
$as_echo "$ac_cv_objext" >&6; } |
|
3213 |
OBJEXT=$ac_cv_objext |
|
3214 |
ac_objext=$OBJEXT |
|
19
by edam
updated autotols stuff |
3215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3216 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
3217 |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
|
3218 |
$as_echo_n "(cached) " >&6 |
|
3219 |
else |
|
3220 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3221 |
/* end confdefs.h. */ |
|
3222 |
||
3223 |
int |
|
3224 |
main () |
|
3225 |
{ |
|
3226 |
#ifndef __GNUC__ |
|
3227 |
choke me |
|
3228 |
#endif |
|
3229 |
||
3230 |
; |
|
3231 |
return 0; |
|
3232 |
} |
|
3233 |
_ACEOF |
|
3234 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3235 |
ac_compiler_gnu=yes |
|
3236 |
else |
|
3237 |
ac_compiler_gnu=no |
|
3238 |
fi |
|
3239 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3240 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
3241 |
||
3242 |
fi |
|
3243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
3244 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
3245 |
if test $ac_compiler_gnu = yes; then |
|
3246 |
GXX=yes |
|
3247 |
else |
|
3248 |
GXX= |
|
3249 |
fi |
|
3250 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
3251 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
3252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
|
3253 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
3254 |
if ${ac_cv_prog_cxx_g+:} false; then : |
|
3255 |
$as_echo_n "(cached) " >&6 |
|
3256 |
else |
|
3257 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
3258 |
ac_cxx_werror_flag=yes |
|
3259 |
ac_cv_prog_cxx_g=no |
|
3260 |
CXXFLAGS="-g" |
|
3261 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3262 |
/* end confdefs.h. */ |
|
3263 |
||
3264 |
int |
|
3265 |
main () |
|
3266 |
{ |
|
3267 |
||
3268 |
; |
|
3269 |
return 0; |
|
3270 |
} |
|
3271 |
_ACEOF |
|
3272 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3273 |
ac_cv_prog_cxx_g=yes |
|
3274 |
else |
|
3275 |
CXXFLAGS="" |
|
3276 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3277 |
/* end confdefs.h. */ |
|
3278 |
||
3279 |
int |
|
3280 |
main () |
|
3281 |
{ |
|
3282 |
||
3283 |
; |
|
3284 |
return 0; |
|
3285 |
} |
|
3286 |
_ACEOF |
|
3287 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3288 |
||
3289 |
else |
|
3290 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3291 |
CXXFLAGS="-g" |
|
3292 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3293 |
/* end confdefs.h. */ |
|
3294 |
||
3295 |
int |
|
3296 |
main () |
|
3297 |
{ |
|
3298 |
||
3299 |
; |
|
3300 |
return 0; |
|
3301 |
} |
|
3302 |
_ACEOF |
|
3303 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3304 |
ac_cv_prog_cxx_g=yes |
|
3305 |
fi |
|
3306 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3307 |
fi |
|
3308 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3309 |
fi |
|
3310 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3311 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3312 |
fi |
|
3313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
|
3314 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
3315 |
if test "$ac_test_CXXFLAGS" = set; then |
|
3316 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
3317 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
3318 |
if test "$GXX" = yes; then |
|
3319 |
CXXFLAGS="-g -O2" |
|
3320 |
else |
|
3321 |
CXXFLAGS="-g" |
|
3322 |
fi |
|
3323 |
else |
|
3324 |
if test "$GXX" = yes; then |
|
3325 |
CXXFLAGS="-O2" |
|
3326 |
else |
|
3327 |
CXXFLAGS= |
|
3328 |
fi |
|
3329 |
fi |
|
3330 |
ac_ext=c |
|
3331 |
ac_cpp='$CPP $CPPFLAGS' |
|
3332 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3333 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3334 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3335 |
DEPDIR="${am__leading_dot}deps" |
|
3336 |
||
3337 |
ac_config_commands="$ac_config_commands depfiles" |
|
3338 |
||
3339 |
||
3340 |
am_make=${MAKE-make} |
|
3341 |
cat > confinc << 'END' |
|
3342 |
am__doit: |
|
3343 |
@echo this is the am__doit target |
|
3344 |
.PHONY: am__doit |
|
3345 |
END |
|
3346 |
# If we don't find an include directive, just comment out the code. |
|
3347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
3348 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
3349 |
am__include="#" |
|
3350 |
am__quote= |
|
3351 |
_am_result=none |
|
3352 |
# First try GNU make style include. |
|
3353 |
echo "include confinc" > confmf |
|
3354 |
# Ignore all kinds of additional output from `make'. |
|
3355 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3356 |
*the\ am__doit\ target*) |
|
3357 |
am__include=include |
|
3358 |
am__quote= |
|
3359 |
_am_result=GNU |
|
3360 |
;; |
|
3361 |
esac |
|
3362 |
# Now try BSD make style include. |
|
3363 |
if test "$am__include" = "#"; then |
|
3364 |
echo '.include "confinc"' > confmf |
|
3365 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3366 |
*the\ am__doit\ target*) |
|
3367 |
am__include=.include |
|
3368 |
am__quote="\"" |
|
3369 |
_am_result=BSD |
|
3370 |
;; |
|
3371 |
esac |
|
3372 |
fi |
|
3373 |
||
3374 |
||
3375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
3376 |
$as_echo "$_am_result" >&6; } |
|
3377 |
rm -f confinc confmf |
|
3378 |
||
3379 |
# Check whether --enable-dependency-tracking was given. |
|
3380 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
3381 |
enableval=$enable_dependency_tracking; |
|
3382 |
fi |
|
3383 |
||
3384 |
if test "x$enable_dependency_tracking" != xno; then |
|
3385 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3386 |
AMDEPBACKSLASH='\' |
|
29
by edam
updated autotools |
3387 |
am__nodep='_no' |
19
by edam
updated autotols stuff |
3388 |
fi |
3389 |
if test "x$enable_dependency_tracking" != xno; then |
|
3390 |
AMDEP_TRUE= |
|
3391 |
AMDEP_FALSE='#' |
|
3392 |
else |
|
3393 |
AMDEP_TRUE='#' |
|
3394 |
AMDEP_FALSE= |
|
3395 |
fi |
|
3396 |
||
3397 |
||
3398 |
||
3399 |
depcc="$CXX" am_compiler_list= |
|
3400 |
||
3401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3402 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3403 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
|
3404 |
$as_echo_n "(cached) " >&6 |
|
3405 |
else |
|
3406 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3407 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3408 |
# making bogus files that we don't know about and never remove. For |
|
3409 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3410 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
3411 |
# in D'. |
|
29
by edam
updated autotools |
3412 |
rm -rf conftest.dir |
19
by edam
updated autotols stuff |
3413 |
mkdir conftest.dir |
3414 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3415 |
# using a relative directory. |
|
3416 |
cp "$am_depcomp" conftest.dir |
|
3417 |
cd conftest.dir |
|
3418 |
# We will build objects and dependencies in a subdirectory because |
|
3419 |
# it helps to detect inapplicable dependency modes. For instance |
|
3420 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3421 |
# side effect of compilation, but ICC will put the dependencies in |
|
3422 |
# the current directory while Tru64 will put them in the object |
|
3423 |
# directory. |
|
3424 |
mkdir sub |
|
3425 |
||
3426 |
am_cv_CXX_dependencies_compiler_type=none |
|
3427 |
if test "$am_compiler_list" = ""; then |
|
3428 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3429 |
fi |
|
3430 |
am__universal=false |
|
3431 |
case " $depcc " in #( |
|
3432 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3433 |
esac |
|
3434 |
||
3435 |
for depmode in $am_compiler_list; do |
|
3436 |
# Setup a source with many dependencies, because some compilers |
|
3437 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3438 |
# we should not choose a depcomp mode which is confused by this. |
|
3439 |
# |
|
3440 |
# We need to recreate these files for each test, as the compiler may |
|
3441 |
# overwrite some of them when testing with obscure command lines. |
|
3442 |
# This happens at least with the AIX C compiler. |
|
3443 |
: > sub/conftest.c |
|
3444 |
for i in 1 2 3 4 5 6; do |
|
3445 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3446 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3447 |
# Solaris 8's {/usr,}/bin/sh. |
|
3448 |
touch sub/conftst$i.h |
|
3449 |
done |
|
3450 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3451 |
||
3452 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
3453 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3454 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
3455 |
# versions had trouble with output in subdirs |
|
3456 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3457 |
am__minus_obj="-o $am__obj" |
|
3458 |
case $depmode in |
|
3459 |
gcc) |
|
3460 |
# This depmode causes a compiler race in universal mode. |
|
3461 |
test "$am__universal" = false || continue |
|
3462 |
;; |
|
3463 |
nosideeffect) |
|
3464 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
3465 |
# only be used when explicitly requested |
|
3466 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3467 |
continue |
|
3468 |
else |
|
3469 |
break |
|
3470 |
fi |
|
3471 |
;; |
|
29
by edam
updated autotools |
3472 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
19
by edam
updated autotols stuff |
3473 |
# This compiler won't grok `-c -o', but also, the minuso test has |
3474 |
# not run yet. These depmodes are late enough in the game, and |
|
3475 |
# so weak that their functioning should not be impacted. |
|
3476 |
am__obj=conftest.${OBJEXT-o} |
|
3477 |
am__minus_obj= |
|
3478 |
;; |
|
3479 |
none) break ;; |
|
3480 |
esac |
|
3481 |
if depmode=$depmode \ |
|
3482 |
source=sub/conftest.c object=$am__obj \ |
|
3483 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3484 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3485 |
>/dev/null 2>conftest.err && |
|
3486 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3487 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3488 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3489 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3490 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3491 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3492 |
# that says an option was ignored or not supported. |
|
3493 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3494 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3495 |
# The diagnosis changed in icc 8.0: |
|
3496 |
# icc: Command line remark: option '-MP' not supported |
|
3497 |
if (grep 'ignoring option' conftest.err || |
|
3498 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3499 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
3500 |
break |
|
3501 |
fi |
|
3502 |
fi |
|
3503 |
done |
|
3504 |
||
3505 |
cd .. |
|
3506 |
rm -rf conftest.dir |
|
3507 |
else |
|
3508 |
am_cv_CXX_dependencies_compiler_type=none |
|
3509 |
fi |
|
3510 |
||
3511 |
fi |
|
3512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
3513 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
3514 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
3515 |
||
3516 |
if |
|
3517 |
test "x$enable_dependency_tracking" != xno \ |
|
3518 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
3519 |
am__fastdepCXX_TRUE= |
|
3520 |
am__fastdepCXX_FALSE='#' |
|
3521 |
else |
|
3522 |
am__fastdepCXX_TRUE='#' |
|
3523 |
am__fastdepCXX_FALSE= |
|
3524 |
fi |
|
3525 |
||
3526 |
||
3527 |
case `pwd` in |
|
3528 |
*\ * | *\ *) |
|
3529 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
3530 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
3531 |
esac |
|
3532 |
||
3533 |
||
3534 |
||
3535 |
macro_version='2.4.2' |
|
3536 |
macro_revision='1.3337' |
|
3537 |
||
3538 |
||
3539 |
||
3540 |
||
3541 |
||
3542 |
||
3543 |
||
3544 |
||
3545 |
||
3546 |
||
3547 |
||
3548 |
||
3549 |
||
3550 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
3551 |
||
3552 |
# Make sure we can run config.sub. |
|
3553 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
3554 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
3555 |
||
3556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
3557 |
$as_echo_n "checking build system type... " >&6; } |
|
3558 |
if ${ac_cv_build+:} false; then : |
|
3559 |
$as_echo_n "(cached) " >&6 |
|
3560 |
else |
|
3561 |
ac_build_alias=$build_alias |
|
3562 |
test "x$ac_build_alias" = x && |
|
3563 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
3564 |
test "x$ac_build_alias" = x && |
|
3565 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
3566 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
3567 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
3568 |
||
3569 |
fi |
|
3570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
3571 |
$as_echo "$ac_cv_build" >&6; } |
|
3572 |
case $ac_cv_build in |
|
3573 |
*-*-*) ;; |
|
3574 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
3575 |
esac |
|
3576 |
build=$ac_cv_build |
|
3577 |
ac_save_IFS=$IFS; IFS='-' |
|
3578 |
set x $ac_cv_build |
|
3579 |
shift |
|
3580 |
build_cpu=$1 |
|
3581 |
build_vendor=$2 |
|
3582 |
shift; shift |
|
3583 |
# Remember, the first character of IFS is used to create $*, |
|
3584 |
# except with old shells: |
|
3585 |
build_os=$* |
|
3586 |
IFS=$ac_save_IFS |
|
3587 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
3588 |
||
3589 |
||
3590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
3591 |
$as_echo_n "checking host system type... " >&6; } |
|
3592 |
if ${ac_cv_host+:} false; then : |
|
3593 |
$as_echo_n "(cached) " >&6 |
|
3594 |
else |
|
3595 |
if test "x$host_alias" = x; then |
|
3596 |
ac_cv_host=$ac_cv_build |
|
3597 |
else |
|
3598 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
3599 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
3600 |
fi |
|
3601 |
||
3602 |
fi |
|
3603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
3604 |
$as_echo "$ac_cv_host" >&6; } |
|
3605 |
case $ac_cv_host in |
|
3606 |
*-*-*) ;; |
|
3607 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
3608 |
esac |
|
3609 |
host=$ac_cv_host |
|
3610 |
ac_save_IFS=$IFS; IFS='-' |
|
3611 |
set x $ac_cv_host |
|
3612 |
shift |
|
3613 |
host_cpu=$1 |
|
3614 |
host_vendor=$2 |
|
3615 |
shift; shift |
|
3616 |
# Remember, the first character of IFS is used to create $*, |
|
3617 |
# except with old shells: |
|
3618 |
host_os=$* |
|
3619 |
IFS=$ac_save_IFS |
|
3620 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
3621 |
||
3622 |
||
3623 |
# Backslashify metacharacters that are still active within |
|
3624 |
# double-quoted strings. |
|
3625 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
3626 |
||
3627 |
# Same as above, but do not quote variable references. |
|
3628 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
3629 |
||
3630 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
3631 |
# double_quote_subst'ed string. |
|
3632 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
3633 |
||
3634 |
# Sed substitution to delay expansion of an escaped single quote. |
|
3635 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
3636 |
||
3637 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
3638 |
no_glob_subst='s/\*/\\\*/g' |
|
3639 |
||
3640 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
3641 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
3642 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
3643 |
||
3644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
3645 |
$as_echo_n "checking how to print strings... " >&6; } |
|
3646 |
# Test print first, because it will be a builtin if present. |
|
3647 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
3648 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
3649 |
ECHO='print -r --' |
|
3650 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
3651 |
ECHO='printf %s\n' |
|
3652 |
else |
|
3653 |
# Use this function as a fallback that always works. |
|
3654 |
func_fallback_echo () |
|
3655 |
{ |
|
3656 |
eval 'cat <<_LTECHO_EOF |
|
3657 |
$1 |
|
3658 |
_LTECHO_EOF' |
|
3659 |
} |
|
3660 |
ECHO='func_fallback_echo' |
|
3661 |
fi |
|
3662 |
||
3663 |
# func_echo_all arg... |
|
3664 |
# Invoke $ECHO with all args, space-separated. |
|
3665 |
func_echo_all () |
|
3666 |
{ |
|
3667 |
$ECHO "" |
|
3668 |
} |
|
3669 |
||
3670 |
case "$ECHO" in |
|
3671 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
3672 |
$as_echo "printf" >&6; } ;; |
|
3673 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
3674 |
$as_echo "print -r" >&6; } ;; |
|
3675 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
3676 |
$as_echo "cat" >&6; } ;; |
|
3677 |
esac |
|
3678 |
||
3679 |
||
3680 |
||
3681 |
||
3682 |
||
3683 |
||
3684 |
||
3685 |
||
3686 |
||
3687 |
||
3688 |
||
3689 |
||
3690 |
||
3691 |
||
3692 |
ac_ext=c |
|
3693 |
ac_cpp='$CPP $CPPFLAGS' |
|
3694 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3695 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3696 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3697 |
if test -n "$ac_tool_prefix"; then |
|
3698 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
3699 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
3700 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3701 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3702 |
if ${ac_cv_prog_CC+:} false; then : |
|
3703 |
$as_echo_n "(cached) " >&6 |
|
3704 |
else |
|
3705 |
if test -n "$CC"; then |
|
3706 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3707 |
else |
|
3708 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3709 |
for as_dir in $PATH |
|
3710 |
do |
|
3711 |
IFS=$as_save_IFS |
|
3712 |
test -z "$as_dir" && as_dir=. |
|
3713 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3714 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3715 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
3716 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3717 |
break 2 |
|
3718 |
fi |
|
3719 |
done |
|
3720 |
done |
|
3721 |
IFS=$as_save_IFS |
|
3722 |
||
3723 |
fi |
|
3724 |
fi |
|
3725 |
CC=$ac_cv_prog_CC |
|
3726 |
if test -n "$CC"; then |
|
3727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3728 |
$as_echo "$CC" >&6; } |
|
3729 |
else |
|
3730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3731 |
$as_echo "no" >&6; } |
|
3732 |
fi |
|
3733 |
||
3734 |
||
3735 |
fi |
|
3736 |
if test -z "$ac_cv_prog_CC"; then |
|
3737 |
ac_ct_CC=$CC |
|
3738 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
3739 |
set dummy gcc; ac_word=$2 |
|
3740 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3741 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3742 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3743 |
$as_echo_n "(cached) " >&6 |
|
3744 |
else |
|
3745 |
if test -n "$ac_ct_CC"; then |
|
3746 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3747 |
else |
|
3748 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3749 |
for as_dir in $PATH |
|
3750 |
do |
|
3751 |
IFS=$as_save_IFS |
|
3752 |
test -z "$as_dir" && as_dir=. |
|
3753 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3754 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3755 |
ac_cv_prog_ac_ct_CC="gcc" |
|
3756 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3757 |
break 2 |
|
3758 |
fi |
|
3759 |
done |
|
3760 |
done |
|
3761 |
IFS=$as_save_IFS |
|
3762 |
||
3763 |
fi |
|
3764 |
fi |
|
3765 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3766 |
if test -n "$ac_ct_CC"; then |
|
3767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3768 |
$as_echo "$ac_ct_CC" >&6; } |
|
3769 |
else |
|
3770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3771 |
$as_echo "no" >&6; } |
|
3772 |
fi |
|
3773 |
||
3774 |
if test "x$ac_ct_CC" = x; then |
|
3775 |
CC="" |
|
3776 |
else |
|
3777 |
case $cross_compiling:$ac_tool_warned in |
|
3778 |
yes:) |
|
3779 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3780 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3781 |
ac_tool_warned=yes ;; |
|
3782 |
esac |
|
3783 |
CC=$ac_ct_CC |
|
3784 |
fi |
|
3785 |
else |
|
3786 |
CC="$ac_cv_prog_CC" |
|
3787 |
fi |
|
3788 |
||
3789 |
if test -z "$CC"; then |
|
3790 |
if test -n "$ac_tool_prefix"; then |
|
3791 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
3792 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
3793 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3794 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3795 |
if ${ac_cv_prog_CC+:} false; then : |
|
3796 |
$as_echo_n "(cached) " >&6 |
|
3797 |
else |
|
3798 |
if test -n "$CC"; then |
|
3799 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3800 |
else |
|
3801 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3802 |
for as_dir in $PATH |
|
3803 |
do |
|
3804 |
IFS=$as_save_IFS |
|
3805 |
test -z "$as_dir" && as_dir=. |
|
3806 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3807 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3808 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
3809 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3810 |
break 2 |
|
3811 |
fi |
|
3812 |
done |
|
3813 |
done |
|
3814 |
IFS=$as_save_IFS |
|
3815 |
||
3816 |
fi |
|
3817 |
fi |
|
3818 |
CC=$ac_cv_prog_CC |
|
3819 |
if test -n "$CC"; then |
|
3820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3821 |
$as_echo "$CC" >&6; } |
|
3822 |
else |
|
3823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3824 |
$as_echo "no" >&6; } |
|
3825 |
fi |
|
3826 |
||
3827 |
||
3828 |
fi |
|
3829 |
fi |
|
3830 |
if test -z "$CC"; then |
|
3831 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3832 |
set dummy cc; ac_word=$2 |
|
3833 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3834 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3835 |
if ${ac_cv_prog_CC+:} false; then : |
|
3836 |
$as_echo_n "(cached) " >&6 |
|
3837 |
else |
|
3838 |
if test -n "$CC"; then |
|
3839 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3840 |
else |
|
3841 |
ac_prog_rejected=no |
|
3842 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3843 |
for as_dir in $PATH |
|
3844 |
do |
|
3845 |
IFS=$as_save_IFS |
|
3846 |
test -z "$as_dir" && as_dir=. |
|
3847 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3848 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3849 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3850 |
ac_prog_rejected=yes |
|
3851 |
continue |
|
3852 |
fi |
|
3853 |
ac_cv_prog_CC="cc" |
|
3854 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3855 |
break 2 |
|
3856 |
fi |
|
3857 |
done |
|
3858 |
done |
|
3859 |
IFS=$as_save_IFS |
|
3860 |
||
3861 |
if test $ac_prog_rejected = yes; then |
|
3862 |
# We found a bogon in the path, so make sure we never use it. |
|
3863 |
set dummy $ac_cv_prog_CC |
|
3864 |
shift |
|
3865 |
if test $# != 0; then |
|
3866 |
# We chose a different compiler from the bogus one. |
|
3867 |
# However, it has the same basename, so the bogon will be chosen |
|
3868 |
# first if we set CC to just the basename; use the full file name. |
|
3869 |
shift |
|
3870 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3871 |
fi |
|
3872 |
fi |
|
3873 |
fi |
|
3874 |
fi |
|
3875 |
CC=$ac_cv_prog_CC |
|
3876 |
if test -n "$CC"; then |
|
3877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3878 |
$as_echo "$CC" >&6; } |
|
3879 |
else |
|
3880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3881 |
$as_echo "no" >&6; } |
|
3882 |
fi |
|
3883 |
||
3884 |
||
3885 |
fi |
|
3886 |
if test -z "$CC"; then |
|
3887 |
if test -n "$ac_tool_prefix"; then |
|
3888 |
for ac_prog in cl.exe |
|
3889 |
do |
|
3890 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3891 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3893 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3894 |
if ${ac_cv_prog_CC+:} false; then : |
|
3895 |
$as_echo_n "(cached) " >&6 |
|
3896 |
else |
|
3897 |
if test -n "$CC"; then |
|
3898 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3899 |
else |
|
3900 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3901 |
for as_dir in $PATH |
|
3902 |
do |
|
3903 |
IFS=$as_save_IFS |
|
3904 |
test -z "$as_dir" && as_dir=. |
|
3905 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3906 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3907 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3908 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3909 |
break 2 |
|
3910 |
fi |
|
3911 |
done |
|
3912 |
done |
|
3913 |
IFS=$as_save_IFS |
|
3914 |
||
3915 |
fi |
|
3916 |
fi |
|
3917 |
CC=$ac_cv_prog_CC |
|
3918 |
if test -n "$CC"; then |
|
3919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3920 |
$as_echo "$CC" >&6; } |
|
3921 |
else |
|
3922 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3923 |
$as_echo "no" >&6; } |
|
3924 |
fi |
|
3925 |
||
3926 |
||
3927 |
test -n "$CC" && break |
|
3928 |
done |
|
3929 |
fi |
|
3930 |
if test -z "$CC"; then |
|
3931 |
ac_ct_CC=$CC |
|
3932 |
for ac_prog in cl.exe |
|
3933 |
do |
|
3934 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3935 |
set dummy $ac_prog; ac_word=$2 |
|
3936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3937 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3938 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3939 |
$as_echo_n "(cached) " >&6 |
|
3940 |
else |
|
3941 |
if test -n "$ac_ct_CC"; then |
|
3942 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3943 |
else |
|
3944 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3945 |
for as_dir in $PATH |
|
3946 |
do |
|
3947 |
IFS=$as_save_IFS |
|
3948 |
test -z "$as_dir" && as_dir=. |
|
3949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3950 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3951 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3952 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3953 |
break 2 |
|
3954 |
fi |
|
3955 |
done |
|
3956 |
done |
|
3957 |
IFS=$as_save_IFS |
|
3958 |
||
3959 |
fi |
|
3960 |
fi |
|
3961 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3962 |
if test -n "$ac_ct_CC"; then |
|
3963 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3964 |
$as_echo "$ac_ct_CC" >&6; } |
|
3965 |
else |
|
3966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3967 |
$as_echo "no" >&6; } |
|
3968 |
fi |
|
3969 |
||
3970 |
||
3971 |
test -n "$ac_ct_CC" && break |
|
3972 |
done |
|
3973 |
||
3974 |
if test "x$ac_ct_CC" = x; then |
|
3975 |
CC="" |
|
3976 |
else |
|
3977 |
case $cross_compiling:$ac_tool_warned in |
|
3978 |
yes:) |
|
3979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3980 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3981 |
ac_tool_warned=yes ;; |
|
3982 |
esac |
|
3983 |
CC=$ac_ct_CC |
|
3984 |
fi |
|
3985 |
fi |
|
3986 |
||
3987 |
fi |
|
3988 |
||
3989 |
||
3990 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3991 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3992 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3993 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3994 |
||
3995 |
# Provide some information about the compiler. |
|
3996 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3997 |
set X $ac_compile |
|
3998 |
ac_compiler=$2 |
|
3999 |
for ac_option in --version -v -V -qversion; do |
|
4000 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
4001 |
case "(($ac_try" in |
|
4002 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4003 |
*) ac_try_echo=$ac_try;; |
|
4004 |
esac |
|
4005 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4006 |
$as_echo "$ac_try_echo"; } >&5 |
|
4007 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
4008 |
ac_status=$? |
|
4009 |
if test -s conftest.err; then |
|
4010 |
sed '10a\ |
|
4011 |
... rest of stderr output deleted ... |
|
4012 |
10q' conftest.err >conftest.er1 |
|
4013 |
cat conftest.er1 >&5 |
|
4014 |
fi |
|
4015 |
rm -f conftest.er1 conftest.err |
|
4016 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4017 |
test $ac_status = 0; } |
|
4018 |
done |
|
4019 |
||
5
by edam
- updated README |
4020 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4021 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
19
by edam
updated autotols stuff |
4022 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
5
by edam
- updated README |
4023 |
$as_echo_n "(cached) " >&6 |
4024 |
else |
|
4025 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4026 |
/* end confdefs.h. */ |
|
4027 |
||
4028 |
int |
|
4029 |
main () |
|
4030 |
{ |
|
4031 |
#ifndef __GNUC__ |
|
4032 |
choke me |
|
4033 |
#endif |
|
4034 |
||
4035 |
; |
|
4036 |
return 0; |
|
4037 |
} |
|
4038 |
_ACEOF |
|
4039 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4040 |
ac_compiler_gnu=yes |
|
4041 |
else |
|
4042 |
ac_compiler_gnu=no |
|
4043 |
fi |
|
4044 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4045 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
4046 |
||
4047 |
fi |
|
4048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
4049 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
4050 |
if test $ac_compiler_gnu = yes; then |
|
4051 |
GCC=yes |
|
4052 |
else |
|
4053 |
GCC= |
|
4054 |
fi |
|
4055 |
ac_test_CFLAGS=${CFLAGS+set} |
|
4056 |
ac_save_CFLAGS=$CFLAGS |
|
4057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
4058 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
19
by edam
updated autotols stuff |
4059 |
if ${ac_cv_prog_cc_g+:} false; then : |
5
by edam
- updated README |
4060 |
$as_echo_n "(cached) " >&6 |
4061 |
else |
|
4062 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
4063 |
ac_c_werror_flag=yes |
|
4064 |
ac_cv_prog_cc_g=no |
|
4065 |
CFLAGS="-g" |
|
4066 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4067 |
/* end confdefs.h. */ |
|
4068 |
||
4069 |
int |
|
4070 |
main () |
|
4071 |
{ |
|
4072 |
||
4073 |
; |
|
4074 |
return 0; |
|
4075 |
} |
|
4076 |
_ACEOF |
|
4077 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4078 |
ac_cv_prog_cc_g=yes |
|
4079 |
else |
|
4080 |
CFLAGS="" |
|
4081 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4082 |
/* end confdefs.h. */ |
|
4083 |
||
4084 |
int |
|
4085 |
main () |
|
4086 |
{ |
|
4087 |
||
4088 |
; |
|
4089 |
return 0; |
|
4090 |
} |
|
4091 |
_ACEOF |
|
4092 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4093 |
||
4094 |
else |
|
4095 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4096 |
CFLAGS="-g" |
|
4097 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4098 |
/* end confdefs.h. */ |
|
4099 |
||
4100 |
int |
|
4101 |
main () |
|
4102 |
{ |
|
4103 |
||
4104 |
; |
|
4105 |
return 0; |
|
4106 |
} |
|
4107 |
_ACEOF |
|
4108 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4109 |
ac_cv_prog_cc_g=yes |
|
4110 |
fi |
|
4111 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4112 |
fi |
|
4113 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4114 |
fi |
|
4115 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4116 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4117 |
fi |
|
4118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
4119 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
4120 |
if test "$ac_test_CFLAGS" = set; then |
|
4121 |
CFLAGS=$ac_save_CFLAGS |
|
4122 |
elif test $ac_cv_prog_cc_g = yes; then |
|
4123 |
if test "$GCC" = yes; then |
|
4124 |
CFLAGS="-g -O2" |
|
4125 |
else |
|
4126 |
CFLAGS="-g" |
|
4127 |
fi |
|
4128 |
else |
|
4129 |
if test "$GCC" = yes; then |
|
4130 |
CFLAGS="-O2" |
|
4131 |
else |
|
4132 |
CFLAGS= |
|
4133 |
fi |
|
4134 |
fi |
|
4135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
4136 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
19
by edam
updated autotols stuff |
4137 |
if ${ac_cv_prog_cc_c89+:} false; then : |
5
by edam
- updated README |
4138 |
$as_echo_n "(cached) " >&6 |
4139 |
else |
|
4140 |
ac_cv_prog_cc_c89=no |
|
4141 |
ac_save_CC=$CC |
|
4142 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4143 |
/* end confdefs.h. */ |
|
4144 |
#include <stdarg.h> |
|
4145 |
#include <stdio.h> |
|
4146 |
#include <sys/types.h> |
|
4147 |
#include <sys/stat.h> |
|
4148 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
4149 |
struct buf { int x; }; |
|
4150 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
4151 |
static char *e (p, i) |
|
4152 |
char **p; |
|
4153 |
int i; |
|
4154 |
{ |
|
4155 |
return p[i]; |
|
4156 |
} |
|
4157 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
4158 |
{ |
|
4159 |
char *s; |
|
4160 |
va_list v; |
|
4161 |
va_start (v,p); |
|
4162 |
s = g (p, va_arg (v,int)); |
|
4163 |
va_end (v); |
|
4164 |
return s; |
|
4165 |
} |
|
4166 |
||
4167 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
4168 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
4169 |
These don't provoke an error unfortunately, instead are silently treated |
|
4170 |
as 'x'. The following induces an error, until -std is added to get |
|
4171 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
4172 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
4173 |
that's true only with -std. */ |
|
4174 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
4175 |
||
4176 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
4177 |
inside strings and character constants. */ |
|
4178 |
#define FOO(x) 'x' |
|
4179 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
4180 |
||
4181 |
int test (int i, double x); |
|
4182 |
struct s1 {int (*f) (int a);}; |
|
4183 |
struct s2 {int (*f) (double a);}; |
|
4184 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
4185 |
int argc; |
|
4186 |
char **argv; |
|
4187 |
int |
|
4188 |
main () |
|
4189 |
{ |
|
4190 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
4191 |
; |
|
4192 |
return 0; |
|
4193 |
} |
|
4194 |
_ACEOF |
|
4195 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
4196 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
4197 |
do |
|
4198 |
CC="$ac_save_CC $ac_arg" |
|
4199 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4200 |
ac_cv_prog_cc_c89=$ac_arg |
|
4201 |
fi |
|
4202 |
rm -f core conftest.err conftest.$ac_objext |
|
4203 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
4204 |
done |
|
4205 |
rm -f conftest.$ac_ext |
|
4206 |
CC=$ac_save_CC |
|
4207 |
||
4208 |
fi |
|
4209 |
# AC_CACHE_VAL |
|
4210 |
case "x$ac_cv_prog_cc_c89" in |
|
4211 |
x) |
|
4212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
4213 |
$as_echo "none needed" >&6; } ;; |
|
4214 |
xno) |
|
4215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
4216 |
$as_echo "unsupported" >&6; } ;; |
|
4217 |
*) |
|
4218 |
CC="$CC $ac_cv_prog_cc_c89" |
|
4219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
4220 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
4221 |
esac |
|
4222 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
4223 |
||
4224 |
fi |
|
4225 |
||
4226 |
ac_ext=c |
|
4227 |
ac_cpp='$CPP $CPPFLAGS' |
|
4228 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4229 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4230 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4231 |
||
4232 |
depcc="$CC" am_compiler_list= |
|
4233 |
||
4234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
4235 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
19
by edam
updated autotols stuff |
4236 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
5
by edam
- updated README |
4237 |
$as_echo_n "(cached) " >&6 |
4238 |
else |
|
4239 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4240 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
4241 |
# making bogus files that we don't know about and never remove. For |
|
4242 |
# instance it was reported that on HP-UX the gcc test will end up |
|
4243 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
4244 |
# in D'. |
|
29
by edam
updated autotools |
4245 |
rm -rf conftest.dir |
5
by edam
- updated README |
4246 |
mkdir conftest.dir |
4247 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
4248 |
# using a relative directory. |
|
4249 |
cp "$am_depcomp" conftest.dir |
|
4250 |
cd conftest.dir |
|
4251 |
# We will build objects and dependencies in a subdirectory because |
|
4252 |
# it helps to detect inapplicable dependency modes. For instance |
|
4253 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
4254 |
# side effect of compilation, but ICC will put the dependencies in |
|
4255 |
# the current directory while Tru64 will put them in the object |
|
4256 |
# directory. |
|
4257 |
mkdir sub |
|
4258 |
||
4259 |
am_cv_CC_dependencies_compiler_type=none |
|
4260 |
if test "$am_compiler_list" = ""; then |
|
4261 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4262 |
fi |
|
4263 |
am__universal=false |
|
4264 |
case " $depcc " in #( |
|
4265 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4266 |
esac |
|
4267 |
||
4268 |
for depmode in $am_compiler_list; do |
|
4269 |
# Setup a source with many dependencies, because some compilers |
|
4270 |
# like to wrap large dependency lists on column 80 (with \), and |
|
4271 |
# we should not choose a depcomp mode which is confused by this. |
|
4272 |
# |
|
4273 |
# We need to recreate these files for each test, as the compiler may |
|
4274 |
# overwrite some of them when testing with obscure command lines. |
|
4275 |
# This happens at least with the AIX C compiler. |
|
4276 |
: > sub/conftest.c |
|
4277 |
for i in 1 2 3 4 5 6; do |
|
4278 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4279 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
4280 |
# Solaris 8's {/usr,}/bin/sh. |
|
4281 |
touch sub/conftst$i.h |
|
4282 |
done |
|
4283 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4284 |
||
4285 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
4286 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
4287 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
4288 |
# versions had trouble with output in subdirs |
|
4289 |
am__obj=sub/conftest.${OBJEXT-o} |
|
4290 |
am__minus_obj="-o $am__obj" |
|
4291 |
case $depmode in |
|
4292 |
gcc) |
|
4293 |
# This depmode causes a compiler race in universal mode. |
|
4294 |
test "$am__universal" = false || continue |
|
4295 |
;; |
|
4296 |
nosideeffect) |
|
4297 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
4298 |
# only be used when explicitly requested |
|
4299 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4300 |
continue |
|
4301 |
else |
|
4302 |
break |
|
4303 |
fi |
|
4304 |
;; |
|
29
by edam
updated autotools |
4305 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
5
by edam
- updated README |
4306 |
# This compiler won't grok `-c -o', but also, the minuso test has |
4307 |
# not run yet. These depmodes are late enough in the game, and |
|
4308 |
# so weak that their functioning should not be impacted. |
|
4309 |
am__obj=conftest.${OBJEXT-o} |
|
4310 |
am__minus_obj= |
|
4311 |
;; |
|
4312 |
none) break ;; |
|
4313 |
esac |
|
4314 |
if depmode=$depmode \ |
|
4315 |
source=sub/conftest.c object=$am__obj \ |
|
4316 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4317 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
4318 |
>/dev/null 2>conftest.err && |
|
4319 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
4320 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
4321 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
4322 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4323 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
4324 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
4325 |
# that says an option was ignored or not supported. |
|
4326 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4327 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4328 |
# The diagnosis changed in icc 8.0: |
|
4329 |
# icc: Command line remark: option '-MP' not supported |
|
4330 |
if (grep 'ignoring option' conftest.err || |
|
4331 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4332 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
4333 |
break |
|
4334 |
fi |
|
4335 |
fi |
|
4336 |
done |
|
4337 |
||
4338 |
cd .. |
|
4339 |
rm -rf conftest.dir |
|
4340 |
else |
|
4341 |
am_cv_CC_dependencies_compiler_type=none |
|
4342 |
fi |
|
4343 |
||
4344 |
fi |
|
4345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
4346 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
4347 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
4348 |
||
4349 |
if |
|
4350 |
test "x$enable_dependency_tracking" != xno \ |
|
4351 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4352 |
am__fastdepCC_TRUE= |
|
4353 |
am__fastdepCC_FALSE='#' |
|
4354 |
else |
|
4355 |
am__fastdepCC_TRUE='#' |
|
4356 |
am__fastdepCC_FALSE= |
|
4357 |
fi |
|
4358 |
||
4359 |
||
4360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
|
4361 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
19
by edam
updated autotols stuff |
4362 |
if ${ac_cv_path_SED+:} false; then : |
5
by edam
- updated README |
4363 |
$as_echo_n "(cached) " >&6 |
4364 |
else |
|
4365 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
4366 |
for ac_i in 1 2 3 4 5 6 7; do |
|
4367 |
ac_script="$ac_script$as_nl$ac_script" |
|
4368 |
done |
|
4369 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
4370 |
{ ac_script=; unset ac_script;} |
|
4371 |
if test -z "$SED"; then |
|
4372 |
ac_path_SED_found=false |
|
4373 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4374 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4375 |
for as_dir in $PATH |
|
4376 |
do |
|
4377 |
IFS=$as_save_IFS |
|
4378 |
test -z "$as_dir" && as_dir=. |
|
4379 |
for ac_prog in sed gsed; do |
|
4380 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4381 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
4382 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
4383 |
# Check for GNU ac_path_SED and select it if it is found. |
|
4384 |
# Check for GNU $ac_path_SED |
|
4385 |
case `"$ac_path_SED" --version 2>&1` in |
|
4386 |
*GNU*) |
|
4387 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
4388 |
*) |
|
4389 |
ac_count=0 |
|
4390 |
$as_echo_n 0123456789 >"conftest.in" |
|
4391 |
while : |
|
4392 |
do |
|
4393 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4394 |
mv "conftest.tmp" "conftest.in" |
|
4395 |
cp "conftest.in" "conftest.nl" |
|
4396 |
$as_echo '' >> "conftest.nl" |
|
4397 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4398 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4399 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4400 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
4401 |
# Best one so far, save it but keep looking for a better one |
|
4402 |
ac_cv_path_SED="$ac_path_SED" |
|
4403 |
ac_path_SED_max=$ac_count |
|
4404 |
fi |
|
4405 |
# 10*(2^10) chars as input seems more than enough |
|
4406 |
test $ac_count -gt 10 && break |
|
4407 |
done |
|
4408 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4409 |
esac |
|
4410 |
||
4411 |
$ac_path_SED_found && break 3 |
|
4412 |
done |
|
4413 |
done |
|
4414 |
done |
|
4415 |
IFS=$as_save_IFS |
|
4416 |
if test -z "$ac_cv_path_SED"; then |
|
19
by edam
updated autotols stuff |
4417 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
5
by edam
- updated README |
4418 |
fi |
4419 |
else |
|
4420 |
ac_cv_path_SED=$SED |
|
4421 |
fi |
|
4422 |
||
4423 |
fi |
|
4424 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
4425 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
4426 |
SED="$ac_cv_path_SED" |
|
4427 |
rm -f conftest.sed |
|
4428 |
||
4429 |
test -z "$SED" && SED=sed |
|
4430 |
Xsed="$SED -e 1s/^X//" |
|
4431 |
||
4432 |
||
4433 |
||
4434 |
||
4435 |
||
4436 |
||
4437 |
||
4438 |
||
4439 |
||
4440 |
||
4441 |
||
4442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
4443 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
19
by edam
updated autotols stuff |
4444 |
if ${ac_cv_path_GREP+:} false; then : |
5
by edam
- updated README |
4445 |
$as_echo_n "(cached) " >&6 |
4446 |
else |
|
4447 |
if test -z "$GREP"; then |
|
4448 |
ac_path_GREP_found=false |
|
4449 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4450 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4451 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4452 |
do |
|
4453 |
IFS=$as_save_IFS |
|
4454 |
test -z "$as_dir" && as_dir=. |
|
4455 |
for ac_prog in grep ggrep; do |
|
4456 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4457 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4458 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
4459 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
4460 |
# Check for GNU $ac_path_GREP |
|
4461 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4462 |
*GNU*) |
|
4463 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4464 |
*) |
|
4465 |
ac_count=0 |
|
4466 |
$as_echo_n 0123456789 >"conftest.in" |
|
4467 |
while : |
|
4468 |
do |
|
4469 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4470 |
mv "conftest.tmp" "conftest.in" |
|
4471 |
cp "conftest.in" "conftest.nl" |
|
4472 |
$as_echo 'GREP' >> "conftest.nl" |
|
4473 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4474 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4475 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4476 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4477 |
# Best one so far, save it but keep looking for a better one |
|
4478 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4479 |
ac_path_GREP_max=$ac_count |
|
4480 |
fi |
|
4481 |
# 10*(2^10) chars as input seems more than enough |
|
4482 |
test $ac_count -gt 10 && break |
|
4483 |
done |
|
4484 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4485 |
esac |
|
4486 |
||
4487 |
$ac_path_GREP_found && break 3 |
|
4488 |
done |
|
4489 |
done |
|
4490 |
done |
|
4491 |
IFS=$as_save_IFS |
|
4492 |
if test -z "$ac_cv_path_GREP"; then |
|
19
by edam
updated autotols stuff |
4493 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
5
by edam
- updated README |
4494 |
fi |
4495 |
else |
|
4496 |
ac_cv_path_GREP=$GREP |
|
4497 |
fi |
|
4498 |
||
4499 |
fi |
|
4500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
4501 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
4502 |
GREP="$ac_cv_path_GREP" |
|
4503 |
||
4504 |
||
4505 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
4506 |
$as_echo_n "checking for egrep... " >&6; } |
|
19
by edam
updated autotols stuff |
4507 |
if ${ac_cv_path_EGREP+:} false; then : |
5
by edam
- updated README |
4508 |
$as_echo_n "(cached) " >&6 |
4509 |
else |
|
4510 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4511 |
then ac_cv_path_EGREP="$GREP -E" |
|
4512 |
else |
|
4513 |
if test -z "$EGREP"; then |
|
4514 |
ac_path_EGREP_found=false |
|
4515 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4516 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4517 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4518 |
do |
|
4519 |
IFS=$as_save_IFS |
|
4520 |
test -z "$as_dir" && as_dir=. |
|
4521 |
for ac_prog in egrep; do |
|
4522 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4523 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4524 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
4525 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
4526 |
# Check for GNU $ac_path_EGREP |
|
4527 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4528 |
*GNU*) |
|
4529 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4530 |
*) |
|
4531 |
ac_count=0 |
|
4532 |
$as_echo_n 0123456789 >"conftest.in" |
|
4533 |
while : |
|
4534 |
do |
|
4535 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4536 |
mv "conftest.tmp" "conftest.in" |
|
4537 |
cp "conftest.in" "conftest.nl" |
|
4538 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4539 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4540 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4541 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4542 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4543 |
# Best one so far, save it but keep looking for a better one |
|
4544 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4545 |
ac_path_EGREP_max=$ac_count |
|
4546 |
fi |
|
4547 |
# 10*(2^10) chars as input seems more than enough |
|
4548 |
test $ac_count -gt 10 && break |
|
4549 |
done |
|
4550 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4551 |
esac |
|
4552 |
||
4553 |
$ac_path_EGREP_found && break 3 |
|
4554 |
done |
|
4555 |
done |
|
4556 |
done |
|
4557 |
IFS=$as_save_IFS |
|
4558 |
if test -z "$ac_cv_path_EGREP"; then |
|
19
by edam
updated autotols stuff |
4559 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
5
by edam
- updated README |
4560 |
fi |
4561 |
else |
|
4562 |
ac_cv_path_EGREP=$EGREP |
|
4563 |
fi |
|
4564 |
||
4565 |
fi |
|
4566 |
fi |
|
4567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
4568 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4569 |
EGREP="$ac_cv_path_EGREP" |
|
4570 |
||
4571 |
||
4572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
|
4573 |
$as_echo_n "checking for fgrep... " >&6; } |
|
19
by edam
updated autotols stuff |
4574 |
if ${ac_cv_path_FGREP+:} false; then : |
5
by edam
- updated README |
4575 |
$as_echo_n "(cached) " >&6 |
4576 |
else |
|
4577 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
4578 |
then ac_cv_path_FGREP="$GREP -F" |
|
4579 |
else |
|
4580 |
if test -z "$FGREP"; then |
|
4581 |
ac_path_FGREP_found=false |
|
4582 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4583 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4584 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4585 |
do |
|
4586 |
IFS=$as_save_IFS |
|
4587 |
test -z "$as_dir" && as_dir=. |
|
4588 |
for ac_prog in fgrep; do |
|
4589 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4590 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4591 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
4592 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
4593 |
# Check for GNU $ac_path_FGREP |
|
4594 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
4595 |
*GNU*) |
|
4596 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
4597 |
*) |
|
4598 |
ac_count=0 |
|
4599 |
$as_echo_n 0123456789 >"conftest.in" |
|
4600 |
while : |
|
4601 |
do |
|
4602 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4603 |
mv "conftest.tmp" "conftest.in" |
|
4604 |
cp "conftest.in" "conftest.nl" |
|
4605 |
$as_echo 'FGREP' >> "conftest.nl" |
|
4606 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4607 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4608 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4609 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
4610 |
# Best one so far, save it but keep looking for a better one |
|
4611 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
4612 |
ac_path_FGREP_max=$ac_count |
|
4613 |
fi |
|
4614 |
# 10*(2^10) chars as input seems more than enough |
|
4615 |
test $ac_count -gt 10 && break |
|
4616 |
done |
|
4617 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4618 |
esac |
|
4619 |
||
4620 |
$ac_path_FGREP_found && break 3 |
|
4621 |
done |
|
4622 |
done |
|
4623 |
done |
|
4624 |
IFS=$as_save_IFS |
|
4625 |
if test -z "$ac_cv_path_FGREP"; then |
|
19
by edam
updated autotols stuff |
4626 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
5
by edam
- updated README |
4627 |
fi |
4628 |
else |
|
4629 |
ac_cv_path_FGREP=$FGREP |
|
4630 |
fi |
|
4631 |
||
4632 |
fi |
|
4633 |
fi |
|
4634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
|
4635 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
4636 |
FGREP="$ac_cv_path_FGREP" |
|
4637 |
||
4638 |
||
4639 |
test -z "$GREP" && GREP=grep |
|
4640 |
||
4641 |
||
4642 |
||
4643 |
||
4644 |
||
4645 |
||
4646 |
||
4647 |
||
4648 |
||
4649 |
||
4650 |
||
4651 |
||
4652 |
||
4653 |
||
4654 |
||
4655 |
||
4656 |
||
4657 |
||
4658 |
||
4659 |
# Check whether --with-gnu-ld was given. |
|
4660 |
if test "${with_gnu_ld+set}" = set; then : |
|
4661 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
4662 |
else |
|
4663 |
with_gnu_ld=no |
|
4664 |
fi |
|
4665 |
||
4666 |
ac_prog=ld |
|
4667 |
if test "$GCC" = yes; then |
|
4668 |
# Check if gcc -print-prog-name=ld gives a path. |
|
4669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
|
4670 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
4671 |
case $host in |
|
4672 |
*-*-mingw*) |
|
4673 |
# gcc leaves a trailing carriage return which upsets mingw |
|
4674 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
4675 |
*) |
|
4676 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
4677 |
esac |
|
4678 |
case $ac_prog in |
|
4679 |
# Accept absolute paths. |
|
4680 |
[\\/]* | ?:[\\/]*) |
|
4681 |
re_direlt='/[^/][^/]*/\.\./' |
|
4682 |
# Canonicalize the pathname of ld |
|
4683 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
4684 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
4685 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
4686 |
done |
|
4687 |
test -z "$LD" && LD="$ac_prog" |
|
4688 |
;; |
|
4689 |
"") |
|
4690 |
# If it fails, then pretend we aren't using GCC. |
|
4691 |
ac_prog=ld |
|
4692 |
;; |
|
4693 |
*) |
|
4694 |
# If it is relative, then search for the first ld in PATH. |
|
4695 |
with_gnu_ld=unknown |
|
4696 |
;; |
|
4697 |
esac |
|
4698 |
elif test "$with_gnu_ld" = yes; then |
|
4699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
4700 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
4701 |
else |
|
4702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
4703 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
4704 |
fi |
|
19
by edam
updated autotols stuff |
4705 |
if ${lt_cv_path_LD+:} false; then : |
5
by edam
- updated README |
4706 |
$as_echo_n "(cached) " >&6 |
4707 |
else |
|
4708 |
if test -z "$LD"; then |
|
4709 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4710 |
for ac_dir in $PATH; do |
|
4711 |
IFS="$lt_save_ifs" |
|
4712 |
test -z "$ac_dir" && ac_dir=. |
|
4713 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
4714 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
4715 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
4716 |
# but apparently some variants of GNU ld only accept -v. |
|
4717 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
4718 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
4719 |
*GNU* | *'with BFD'*) |
|
4720 |
test "$with_gnu_ld" != no && break |
|
4721 |
;; |
|
4722 |
*) |
|
4723 |
test "$with_gnu_ld" != yes && break |
|
4724 |
;; |
|
4725 |
esac |
|
4726 |
fi |
|
4727 |
done |
|
4728 |
IFS="$lt_save_ifs" |
|
4729 |
else |
|
4730 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
4731 |
fi |
|
4732 |
fi |
|
4733 |
||
4734 |
LD="$lt_cv_path_LD" |
|
4735 |
if test -n "$LD"; then |
|
4736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
4737 |
$as_echo "$LD" >&6; } |
|
4738 |
else |
|
4739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4740 |
$as_echo "no" >&6; } |
|
4741 |
fi |
|
19
by edam
updated autotols stuff |
4742 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
5
by edam
- updated README |
4743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4744 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
19
by edam
updated autotols stuff |
4745 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
5
by edam
- updated README |
4746 |
$as_echo_n "(cached) " >&6 |
4747 |
else |
|
4748 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
4749 |
case `$LD -v 2>&1 </dev/null` in |
|
4750 |
*GNU* | *'with BFD'*) |
|
4751 |
lt_cv_prog_gnu_ld=yes |
|
4752 |
;; |
|
4753 |
*) |
|
4754 |
lt_cv_prog_gnu_ld=no |
|
4755 |
;; |
|
4756 |
esac |
|
4757 |
fi |
|
4758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
|
4759 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
4760 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
4761 |
||
4762 |
||
4763 |
||
4764 |
||
4765 |
||
4766 |
||
4767 |
||
4768 |
||
4769 |
||
4770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
4771 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
19
by edam
updated autotols stuff |
4772 |
if ${lt_cv_path_NM+:} false; then : |
5
by edam
- updated README |
4773 |
$as_echo_n "(cached) " >&6 |
4774 |
else |
|
4775 |
if test -n "$NM"; then |
|
4776 |
# Let the user override the test. |
|
4777 |
lt_cv_path_NM="$NM" |
|
4778 |
else |
|
4779 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
4780 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
4781 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
4782 |
fi |
|
4783 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
4784 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4785 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
4786 |
IFS="$lt_save_ifs" |
|
4787 |
test -z "$ac_dir" && ac_dir=. |
|
4788 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
4789 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
4790 |
# Check to see if the nm accepts a BSD-compat flag. |
|
4791 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
4792 |
# nm: unknown option "B" ignored |
|
4793 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
4794 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
4795 |
*/dev/null* | *'Invalid file or object type'*) |
|
4796 |
lt_cv_path_NM="$tmp_nm -B" |
|
4797 |
break |
|
4798 |
;; |
|
4799 |
*) |
|
4800 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
4801 |
*/dev/null*) |
|
4802 |
lt_cv_path_NM="$tmp_nm -p" |
|
4803 |
break |
|
4804 |
;; |
|
4805 |
*) |
|
4806 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
4807 |
continue # so that we can try to find one that supports BSD flags |
|
4808 |
;; |
|
4809 |
esac |
|
4810 |
;; |
|
4811 |
esac |
|
4812 |
fi |
|
4813 |
done |
|
4814 |
IFS="$lt_save_ifs" |
|
4815 |
done |
|
4816 |
: ${lt_cv_path_NM=no} |
|
4817 |
fi |
|
4818 |
fi |
|
4819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
|
4820 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
4821 |
if test "$lt_cv_path_NM" != "no"; then |
|
4822 |
NM="$lt_cv_path_NM" |
|
4823 |
else |
|
4824 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
19
by edam
updated autotols stuff |
4825 |
if test -n "$DUMPBIN"; then : |
4826 |
# Let the user override the test. |
|
4827 |
else |
|
4828 |
if test -n "$ac_tool_prefix"; then |
|
4829 |
for ac_prog in dumpbin "link -dump" |
|
5
by edam
- updated README |
4830 |
do |
4831 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4832 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4833 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4834 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
4835 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
5
by edam
- updated README |
4836 |
$as_echo_n "(cached) " >&6 |
4837 |
else |
|
4838 |
if test -n "$DUMPBIN"; then |
|
4839 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
4840 |
else |
|
4841 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4842 |
for as_dir in $PATH |
|
4843 |
do |
|
4844 |
IFS=$as_save_IFS |
|
4845 |
test -z "$as_dir" && as_dir=. |
|
4846 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4847 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4848 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
4849 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4850 |
break 2 |
|
4851 |
fi |
|
4852 |
done |
|
4853 |
done |
|
4854 |
IFS=$as_save_IFS |
|
4855 |
||
4856 |
fi |
|
4857 |
fi |
|
4858 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
4859 |
if test -n "$DUMPBIN"; then |
|
4860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
|
4861 |
$as_echo "$DUMPBIN" >&6; } |
|
4862 |
else |
|
4863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4864 |
$as_echo "no" >&6; } |
|
4865 |
fi |
|
4866 |
||
4867 |
||
4868 |
test -n "$DUMPBIN" && break |
|
4869 |
done |
|
4870 |
fi |
|
4871 |
if test -z "$DUMPBIN"; then |
|
4872 |
ac_ct_DUMPBIN=$DUMPBIN |
|
19
by edam
updated autotols stuff |
4873 |
for ac_prog in dumpbin "link -dump" |
5
by edam
- updated README |
4874 |
do |
4875 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4876 |
set dummy $ac_prog; ac_word=$2 |
|
4877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4878 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
4879 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
5
by edam
- updated README |
4880 |
$as_echo_n "(cached) " >&6 |
4881 |
else |
|
4882 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4883 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
4884 |
else |
|
4885 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4886 |
for as_dir in $PATH |
|
4887 |
do |
|
4888 |
IFS=$as_save_IFS |
|
4889 |
test -z "$as_dir" && as_dir=. |
|
4890 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4891 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4892 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
4893 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4894 |
break 2 |
|
4895 |
fi |
|
4896 |
done |
|
4897 |
done |
|
4898 |
IFS=$as_save_IFS |
|
4899 |
||
4900 |
fi |
|
4901 |
fi |
|
4902 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
4903 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
|
4905 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
4906 |
else |
|
4907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4908 |
$as_echo "no" >&6; } |
|
4909 |
fi |
|
4910 |
||
4911 |
||
4912 |
test -n "$ac_ct_DUMPBIN" && break |
|
4913 |
done |
|
4914 |
||
4915 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
4916 |
DUMPBIN=":" |
|
4917 |
else |
|
4918 |
case $cross_compiling:$ac_tool_warned in |
|
4919 |
yes:) |
|
4920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4921 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4922 |
ac_tool_warned=yes ;; |
|
4923 |
esac |
|
4924 |
DUMPBIN=$ac_ct_DUMPBIN |
|
4925 |
fi |
|
4926 |
fi |
|
4927 |
||
19
by edam
updated autotols stuff |
4928 |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
4929 |
*COFF*) |
|
4930 |
DUMPBIN="$DUMPBIN -symbols" |
|
4931 |
;; |
|
4932 |
*) |
|
4933 |
DUMPBIN=: |
|
4934 |
;; |
|
4935 |
esac |
|
4936 |
fi |
|
5
by edam
- updated README |
4937 |
|
4938 |
if test "$DUMPBIN" != ":"; then |
|
4939 |
NM="$DUMPBIN" |
|
4940 |
fi |
|
4941 |
fi |
|
4942 |
test -z "$NM" && NM=nm |
|
4943 |
||
4944 |
||
4945 |
||
4946 |
||
4947 |
||
4948 |
||
4949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
|
4950 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
19
by edam
updated autotols stuff |
4951 |
if ${lt_cv_nm_interface+:} false; then : |
5
by edam
- updated README |
4952 |
$as_echo_n "(cached) " >&6 |
4953 |
else |
|
4954 |
lt_cv_nm_interface="BSD nm" |
|
4955 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
4956 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
5
by edam
- updated README |
4957 |
(eval "$ac_compile" 2>conftest.err) |
4958 |
cat conftest.err >&5 |
|
19
by edam
updated autotols stuff |
4959 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5
by edam
- updated README |
4960 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4961 |
cat conftest.err >&5 |
|
19
by edam
updated autotols stuff |
4962 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
5
by edam
- updated README |
4963 |
cat conftest.out >&5 |
4964 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
4965 |
lt_cv_nm_interface="MS dumpbin" |
|
4966 |
fi |
|
4967 |
rm -f conftest* |
|
4968 |
fi |
|
4969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
|
4970 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
4971 |
||
4972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
4973 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
4974 |
LN_S=$as_ln_s |
|
4975 |
if test "$LN_S" = "ln -s"; then |
|
4976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
4977 |
$as_echo "yes" >&6; } |
|
4978 |
else |
|
4979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
4980 |
$as_echo "no, using $LN_S" >&6; } |
|
4981 |
fi |
|
4982 |
||
4983 |
# find the maximum length of command line arguments |
|
4984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
|
4985 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
19
by edam
updated autotols stuff |
4986 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
5
by edam
- updated README |
4987 |
$as_echo_n "(cached) " >&6 |
4988 |
else |
|
4989 |
i=0 |
|
4990 |
teststring="ABCD" |
|
4991 |
||
4992 |
case $build_os in |
|
4993 |
msdosdjgpp*) |
|
4994 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
4995 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
4996 |
# during glob expansion). Even if it were fixed, the result of this |
|
4997 |
# check would be larger than it should be. |
|
4998 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
4999 |
;; |
|
5000 |
||
5001 |
gnu*) |
|
5002 |
# Under GNU Hurd, this test is not required because there is |
|
5003 |
# no limit to the length of command line arguments. |
|
5004 |
# Libtool will interpret -1 as no limit whatsoever |
|
5005 |
lt_cv_sys_max_cmd_len=-1; |
|
5006 |
;; |
|
5007 |
||
5008 |
cygwin* | mingw* | cegcc*) |
|
5009 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
5010 |
# about 5 minutes as the teststring grows exponentially. |
|
5011 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
5012 |
# you end up with a "frozen" computer, even though with patience |
|
5013 |
# the test eventually succeeds (with a max line length of 256k). |
|
5014 |
# Instead, let's just punt: use the minimum linelength reported by |
|
5015 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
5016 |
lt_cv_sys_max_cmd_len=8192; |
|
5017 |
;; |
|
5018 |
||
19
by edam
updated autotols stuff |
5019 |
mint*) |
5020 |
# On MiNT this can take a long time and run out of memory. |
|
5021 |
lt_cv_sys_max_cmd_len=8192; |
|
5022 |
;; |
|
5023 |
||
5
by edam
- updated README |
5024 |
amigaos*) |
5025 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
5026 |
# So we just punt and use a minimum line length of 8192. |
|
5027 |
lt_cv_sys_max_cmd_len=8192; |
|
5028 |
;; |
|
5029 |
||
5030 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
5031 |
# This has been around since 386BSD, at least. Likely further. |
|
5032 |
if test -x /sbin/sysctl; then |
|
5033 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
5034 |
elif test -x /usr/sbin/sysctl; then |
|
5035 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
5036 |
else |
|
5037 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
5038 |
fi |
|
5039 |
# And add a safety zone |
|
5040 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5041 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5042 |
;; |
|
5043 |
||
5044 |
interix*) |
|
5045 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
5046 |
lt_cv_sys_max_cmd_len=196608 |
|
5047 |
;; |
|
5048 |
||
19
by edam
updated autotols stuff |
5049 |
os2*) |
5050 |
# The test takes a long time on OS/2. |
|
5051 |
lt_cv_sys_max_cmd_len=8192 |
|
5052 |
;; |
|
5053 |
||
5
by edam
- updated README |
5054 |
osf*) |
5055 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
5056 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
5057 |
# nice to cause kernel panics so lets avoid the loop below. |
|
5058 |
# First set a reasonable default. |
|
5059 |
lt_cv_sys_max_cmd_len=16384 |
|
5060 |
# |
|
5061 |
if test -x /sbin/sysconfig; then |
|
5062 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
5063 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
5064 |
esac |
|
5065 |
fi |
|
5066 |
;; |
|
5067 |
sco3.2v5*) |
|
5068 |
lt_cv_sys_max_cmd_len=102400 |
|
5069 |
;; |
|
5070 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
5071 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
5072 |
if test -n "$kargmax"; then |
|
5073 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
5074 |
else |
|
5075 |
lt_cv_sys_max_cmd_len=32768 |
|
5076 |
fi |
|
5077 |
;; |
|
5078 |
*) |
|
5079 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
5080 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
5081 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5082 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5083 |
else |
|
5084 |
# Make teststring a little bigger before we do anything with it. |
|
5085 |
# a 1K string should be a reasonable start. |
|
5086 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
5087 |
teststring=$teststring$teststring |
|
5088 |
done |
|
5089 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
5090 |
# If test is not a shell built-in, we'll probably end up computing a |
|
5091 |
# maximum length that is only half of the actual maximum length, but |
|
5092 |
# we can't tell. |
|
19
by edam
updated autotols stuff |
5093 |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5094 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
|
5
by edam
- updated README |
5095 |
test $i != 17 # 1/2 MB should be enough |
5096 |
do |
|
5097 |
i=`expr $i + 1` |
|
5098 |
teststring=$teststring$teststring |
|
5099 |
done |
|
5100 |
# Only check the string length outside the loop. |
|
5101 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
5102 |
teststring= |
|
5103 |
# Add a significant safety factor because C++ compilers can tack on |
|
5104 |
# massive amounts of additional arguments before passing them to the |
|
5105 |
# linker. It appears as though 1/2 is a usable value. |
|
5106 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
5107 |
fi |
|
5108 |
;; |
|
5109 |
esac |
|
5110 |
||
5111 |
fi |
|
5112 |
||
5113 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
5114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
|
5115 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
5116 |
else |
|
5117 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
|
5118 |
$as_echo "none" >&6; } |
|
5119 |
fi |
|
5120 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
5121 |
||
5122 |
||
5123 |
||
5124 |
||
5125 |
||
5126 |
||
5127 |
: ${CP="cp -f"} |
|
5128 |
: ${MV="mv -f"} |
|
5129 |
: ${RM="rm -f"} |
|
5130 |
||
5131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
|
5132 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
5133 |
# Try some XSI features |
|
5134 |
xsi_shell=no |
|
5135 |
( _lt_dummy="a/b/c" |
|
19
by edam
updated autotols stuff |
5136 |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5137 |
= c,a/b,b/c, \ |
|
5
by edam
- updated README |
5138 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5139 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
5140 |
&& xsi_shell=yes |
|
5141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
|
5142 |
$as_echo "$xsi_shell" >&6; } |
|
5143 |
||
5144 |
||
5145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
|
5146 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
5147 |
lt_shell_append=no |
|
5148 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
5149 |
>/dev/null 2>&1 \ |
|
5150 |
&& lt_shell_append=yes |
|
5151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
|
5152 |
$as_echo "$lt_shell_append" >&6; } |
|
5153 |
||
5154 |
||
5155 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
5156 |
lt_unset=unset |
|
5157 |
else |
|
5158 |
lt_unset=false |
|
5159 |
fi |
|
5160 |
||
5161 |
||
5162 |
||
5163 |
||
5164 |
||
5165 |
# test EBCDIC or ASCII |
|
5166 |
case `echo X|tr X '\101'` in |
|
5167 |
A) # ASCII based system |
|
5168 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
5169 |
lt_SP2NL='tr \040 \012' |
|
5170 |
lt_NL2SP='tr \015\012 \040\040' |
|
5171 |
;; |
|
5172 |
*) # EBCDIC based system |
|
5173 |
lt_SP2NL='tr \100 \n' |
|
5174 |
lt_NL2SP='tr \r\n \100\100' |
|
5175 |
;; |
|
5176 |
esac |
|
5177 |
||
5178 |
||
5179 |
||
5180 |
||
5181 |
||
5182 |
||
5183 |
||
5184 |
||
5185 |
||
19
by edam
updated autotols stuff |
5186 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5187 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
5188 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
5189 |
$as_echo_n "(cached) " >&6 |
|
5190 |
else |
|
5191 |
case $host in |
|
5192 |
*-*-mingw* ) |
|
5193 |
case $build in |
|
5194 |
*-*-mingw* ) # actually msys |
|
5195 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
5196 |
;; |
|
5197 |
*-*-cygwin* ) |
|
5198 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
5199 |
;; |
|
5200 |
* ) # otherwise, assume *nix |
|
5201 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
5202 |
;; |
|
5203 |
esac |
|
5204 |
;; |
|
5205 |
*-*-cygwin* ) |
|
5206 |
case $build in |
|
5207 |
*-*-mingw* ) # actually msys |
|
5208 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
5209 |
;; |
|
5210 |
*-*-cygwin* ) |
|
5211 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
5212 |
;; |
|
5213 |
* ) # otherwise, assume *nix |
|
5214 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
5215 |
;; |
|
5216 |
esac |
|
5217 |
;; |
|
5218 |
* ) # unhandled hosts (and "normal" native builds) |
|
5219 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
5220 |
;; |
|
5221 |
esac |
|
5222 |
||
5223 |
fi |
|
5224 |
||
5225 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
5226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
5227 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
5228 |
||
5229 |
||
5230 |
||
5231 |
||
5232 |
||
5233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
5234 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
5235 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
5236 |
$as_echo_n "(cached) " >&6 |
|
5237 |
else |
|
5238 |
#assume ordinary cross tools, or native build. |
|
5239 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
5240 |
case $host in |
|
5241 |
*-*-mingw* ) |
|
5242 |
case $build in |
|
5243 |
*-*-mingw* ) # actually msys |
|
5244 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
5245 |
;; |
|
5246 |
esac |
|
5247 |
;; |
|
5248 |
esac |
|
5249 |
||
5250 |
fi |
|
5251 |
||
5252 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
5253 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
5254 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
5255 |
||
5256 |
||
5257 |
||
5258 |
||
5259 |
||
5
by edam
- updated README |
5260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5261 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
19
by edam
updated autotols stuff |
5262 |
if ${lt_cv_ld_reload_flag+:} false; then : |
5
by edam
- updated README |
5263 |
$as_echo_n "(cached) " >&6 |
5264 |
else |
|
5265 |
lt_cv_ld_reload_flag='-r' |
|
5266 |
fi |
|
5267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
|
5268 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
5269 |
reload_flag=$lt_cv_ld_reload_flag |
|
5270 |
case $reload_flag in |
|
5271 |
"" | " "*) ;; |
|
5272 |
*) reload_flag=" $reload_flag" ;; |
|
5273 |
esac |
|
5274 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5275 |
case $host_os in |
|
19
by edam
updated autotols stuff |
5276 |
cygwin* | mingw* | pw32* | cegcc*) |
5277 |
if test "$GCC" != yes; then |
|
5278 |
reload_cmds=false |
|
5279 |
fi |
|
5280 |
;; |
|
5
by edam
- updated README |
5281 |
darwin*) |
5282 |
if test "$GCC" = yes; then |
|
5283 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
5284 |
else |
|
5285 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5286 |
fi |
|
5287 |
;; |
|
5288 |
esac |
|
5289 |
||
5290 |
||
5291 |
||
5292 |
||
5293 |
||
5294 |
||
5295 |
||
5296 |
||
5297 |
||
5298 |
if test -n "$ac_tool_prefix"; then |
|
5299 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
5300 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
5301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5302 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
5303 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5
by edam
- updated README |
5304 |
$as_echo_n "(cached) " >&6 |
5305 |
else |
|
5306 |
if test -n "$OBJDUMP"; then |
|
5307 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
5308 |
else |
|
5309 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5310 |
for as_dir in $PATH |
|
5311 |
do |
|
5312 |
IFS=$as_save_IFS |
|
5313 |
test -z "$as_dir" && as_dir=. |
|
5314 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5315 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5316 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
5317 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5318 |
break 2 |
|
5319 |
fi |
|
5320 |
done |
|
5321 |
done |
|
5322 |
IFS=$as_save_IFS |
|
5323 |
||
5324 |
fi |
|
5325 |
fi |
|
5326 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
5327 |
if test -n "$OBJDUMP"; then |
|
5328 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
|
5329 |
$as_echo "$OBJDUMP" >&6; } |
|
5330 |
else |
|
5331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5332 |
$as_echo "no" >&6; } |
|
5333 |
fi |
|
5334 |
||
5335 |
||
5336 |
fi |
|
5337 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
5338 |
ac_ct_OBJDUMP=$OBJDUMP |
|
5339 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
5340 |
set dummy objdump; ac_word=$2 |
|
5341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5342 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
5343 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5
by edam
- updated README |
5344 |
$as_echo_n "(cached) " >&6 |
5345 |
else |
|
5346 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5347 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
5348 |
else |
|
5349 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5350 |
for as_dir in $PATH |
|
5351 |
do |
|
5352 |
IFS=$as_save_IFS |
|
5353 |
test -z "$as_dir" && as_dir=. |
|
5354 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5355 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5356 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
5357 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5358 |
break 2 |
|
5359 |
fi |
|
5360 |
done |
|
5361 |
done |
|
5362 |
IFS=$as_save_IFS |
|
5363 |
||
5364 |
fi |
|
5365 |
fi |
|
5366 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
5367 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
|
5369 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
5370 |
else |
|
5371 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5372 |
$as_echo "no" >&6; } |
|
5373 |
fi |
|
5374 |
||
5375 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
5376 |
OBJDUMP="false" |
|
5377 |
else |
|
5378 |
case $cross_compiling:$ac_tool_warned in |
|
5379 |
yes:) |
|
5380 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5381 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5382 |
ac_tool_warned=yes ;; |
|
5383 |
esac |
|
5384 |
OBJDUMP=$ac_ct_OBJDUMP |
|
5385 |
fi |
|
5386 |
else |
|
5387 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
5388 |
fi |
|
5389 |
||
5390 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
5391 |
||
5392 |
||
5393 |
||
5394 |
||
5395 |
||
5396 |
||
5397 |
||
5398 |
||
5399 |
||
5400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
|
5401 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
19
by edam
updated autotols stuff |
5402 |
if ${lt_cv_deplibs_check_method+:} false; then : |
5
by edam
- updated README |
5403 |
$as_echo_n "(cached) " >&6 |
5404 |
else |
|
5405 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
5406 |
lt_cv_file_magic_test_file= |
|
5407 |
lt_cv_deplibs_check_method='unknown' |
|
5408 |
# Need to set the preceding variable on all platforms that support |
|
5409 |
# interlibrary dependencies. |
|
5410 |
# 'none' -- dependencies not supported. |
|
5411 |
# `unknown' -- same as none, but documents that we really don't know. |
|
5412 |
# 'pass_all' -- all dependencies passed with no checks. |
|
5413 |
# 'test_compile' -- check by making test program. |
|
5414 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
5415 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
5416 |
# If you have `file' or equivalent on your system and you're not sure |
|
5417 |
# whether `pass_all' will *always* work, you probably want this one. |
|
5418 |
||
5419 |
case $host_os in |
|
5420 |
aix[4-9]*) |
|
5421 |
lt_cv_deplibs_check_method=pass_all |
|
5422 |
;; |
|
5423 |
||
5424 |
beos*) |
|
5425 |
lt_cv_deplibs_check_method=pass_all |
|
5426 |
;; |
|
5427 |
||
5428 |
bsdi[45]*) |
|
5429 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
5430 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
5431 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
5432 |
;; |
|
5433 |
||
5434 |
cygwin*) |
|
5435 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
5436 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
5437 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5438 |
;; |
|
5439 |
||
5440 |
mingw* | pw32*) |
|
5441 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
5442 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
5443 |
# unless we find 'file', for example because we are cross-compiling. |
|
19
by edam
updated autotols stuff |
5444 |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5445 |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
|
5
by edam
- updated README |
5446 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5447 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5448 |
else |
|
19
by edam
updated autotols stuff |
5449 |
# Keep this pattern in sync with the one in func_win32_libid. |
5450 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
|
5
by edam
- updated README |
5451 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5452 |
fi |
|
5453 |
;; |
|
5454 |
||
19
by edam
updated autotols stuff |
5455 |
cegcc*) |
5
by edam
- updated README |
5456 |
# use the weaker test based on 'objdump'. See mingw*. |
5457 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
5458 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
5459 |
;; |
|
5460 |
||
5461 |
darwin* | rhapsody*) |
|
5462 |
lt_cv_deplibs_check_method=pass_all |
|
5463 |
;; |
|
5464 |
||
5465 |
freebsd* | dragonfly*) |
|
5466 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5467 |
case $host_cpu in |
|
5468 |
i*86 ) |
|
5469 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
5470 |
# Let's accept both of them until this is cleared up. |
|
5471 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
5472 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5473 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
5474 |
;; |
|
5475 |
esac |
|
5476 |
else |
|
5477 |
lt_cv_deplibs_check_method=pass_all |
|
5478 |
fi |
|
5479 |
;; |
|
5480 |
||
5481 |
gnu*) |
|
5482 |
lt_cv_deplibs_check_method=pass_all |
|
5483 |
;; |
|
5484 |
||
19
by edam
updated autotols stuff |
5485 |
haiku*) |
5486 |
lt_cv_deplibs_check_method=pass_all |
|
5487 |
;; |
|
5488 |
||
5
by edam
- updated README |
5489 |
hpux10.20* | hpux11*) |
5490 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5491 |
case $host_cpu in |
|
5492 |
ia64*) |
|
5493 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
5494 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
5495 |
;; |
|
5496 |
hppa*64*) |
|
19
by edam
updated autotols stuff |
5497 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
5
by edam
- updated README |
5498 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5499 |
;; |
|
5500 |
*) |
|
19
by edam
updated autotols stuff |
5501 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5
by edam
- updated README |
5502 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5503 |
;; |
|
5504 |
esac |
|
5505 |
;; |
|
5506 |
||
5507 |
interix[3-9]*) |
|
5508 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
5509 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
5510 |
;; |
|
5511 |
||
5512 |
irix5* | irix6* | nonstopux*) |
|
5513 |
case $LD in |
|
5514 |
*-32|*"-32 ") libmagic=32-bit;; |
|
5515 |
*-n32|*"-n32 ") libmagic=N32;; |
|
5516 |
*-64|*"-64 ") libmagic=64-bit;; |
|
5517 |
*) libmagic=never-match;; |
|
5518 |
esac |
|
5519 |
lt_cv_deplibs_check_method=pass_all |
|
5520 |
;; |
|
5521 |
||
19
by edam
updated autotols stuff |
5522 |
# This must be glibc/ELF. |
5523 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
5
by edam
- updated README |
5524 |
lt_cv_deplibs_check_method=pass_all |
5525 |
;; |
|
5526 |
||
5527 |
netbsd* | netbsdelf*-gnu) |
|
5528 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5529 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5530 |
else |
|
5531 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
5532 |
fi |
|
5533 |
;; |
|
5534 |
||
5535 |
newos6*) |
|
5536 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
5537 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5538 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
5539 |
;; |
|
5540 |
||
5541 |
*nto* | *qnx*) |
|
5542 |
lt_cv_deplibs_check_method=pass_all |
|
5543 |
;; |
|
5544 |
||
5545 |
openbsd*) |
|
5546 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
5547 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
5548 |
else |
|
5549 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5550 |
fi |
|
5551 |
;; |
|
5552 |
||
5553 |
osf3* | osf4* | osf5*) |
|
5554 |
lt_cv_deplibs_check_method=pass_all |
|
5555 |
;; |
|
5556 |
||
5557 |
rdos*) |
|
5558 |
lt_cv_deplibs_check_method=pass_all |
|
5559 |
;; |
|
5560 |
||
5561 |
solaris*) |
|
5562 |
lt_cv_deplibs_check_method=pass_all |
|
5563 |
;; |
|
5564 |
||
5565 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
5566 |
lt_cv_deplibs_check_method=pass_all |
|
5567 |
;; |
|
5568 |
||
5569 |
sysv4 | sysv4.3*) |
|
5570 |
case $host_vendor in |
|
5571 |
motorola) |
|
5572 |
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]' |
|
5573 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
5574 |
;; |
|
5575 |
ncr) |
|
5576 |
lt_cv_deplibs_check_method=pass_all |
|
5577 |
;; |
|
5578 |
sequent) |
|
5579 |
lt_cv_file_magic_cmd='/bin/file' |
|
5580 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
5581 |
;; |
|
5582 |
sni) |
|
5583 |
lt_cv_file_magic_cmd='/bin/file' |
|
5584 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
5585 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
5586 |
;; |
|
5587 |
siemens) |
|
5588 |
lt_cv_deplibs_check_method=pass_all |
|
5589 |
;; |
|
5590 |
pc) |
|
5591 |
lt_cv_deplibs_check_method=pass_all |
|
5592 |
;; |
|
5593 |
esac |
|
5594 |
;; |
|
5595 |
||
5596 |
tpf*) |
|
5597 |
lt_cv_deplibs_check_method=pass_all |
|
5598 |
;; |
|
5599 |
esac |
|
5600 |
||
5601 |
fi |
|
5602 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
|
5603 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
19
by edam
updated autotols stuff |
5604 |
|
5605 |
file_magic_glob= |
|
5606 |
want_nocaseglob=no |
|
5607 |
if test "$build" = "$host"; then |
|
5608 |
case $host_os in |
|
5609 |
mingw* | pw32*) |
|
5610 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
5611 |
want_nocaseglob=yes |
|
5612 |
else |
|
5613 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
5614 |
fi |
|
5615 |
;; |
|
5616 |
esac |
|
5617 |
fi |
|
5618 |
||
5
by edam
- updated README |
5619 |
file_magic_cmd=$lt_cv_file_magic_cmd |
5620 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
5621 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
5622 |
||
5623 |
||
5624 |
||
5625 |
||
5626 |
||
5627 |
||
5628 |
||
5629 |
||
5630 |
||
5631 |
||
5632 |
||
5633 |
||
19
by edam
updated autotols stuff |
5634 |
|
5635 |
||
5636 |
||
5637 |
||
5638 |
||
5639 |
||
5640 |
||
5641 |
||
5642 |
||
5643 |
||
5644 |
if test -n "$ac_tool_prefix"; then |
|
5645 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
5646 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
5647 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5648 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5649 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
|
5650 |
$as_echo_n "(cached) " >&6 |
|
5651 |
else |
|
5652 |
if test -n "$DLLTOOL"; then |
|
5653 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
5654 |
else |
|
5655 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5656 |
for as_dir in $PATH |
|
5657 |
do |
|
5658 |
IFS=$as_save_IFS |
|
5659 |
test -z "$as_dir" && as_dir=. |
|
5660 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5661 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5662 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
5663 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5664 |
break 2 |
|
5665 |
fi |
|
5666 |
done |
|
5667 |
done |
|
5668 |
IFS=$as_save_IFS |
|
5669 |
||
5670 |
fi |
|
5671 |
fi |
|
5672 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
5673 |
if test -n "$DLLTOOL"; then |
|
5674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
5675 |
$as_echo "$DLLTOOL" >&6; } |
|
5676 |
else |
|
5677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5678 |
$as_echo "no" >&6; } |
|
5679 |
fi |
|
5680 |
||
5681 |
||
5682 |
fi |
|
5683 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
5684 |
ac_ct_DLLTOOL=$DLLTOOL |
|
5685 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
5686 |
set dummy dlltool; ac_word=$2 |
|
5687 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5688 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5689 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
5690 |
$as_echo_n "(cached) " >&6 |
|
5691 |
else |
|
5692 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5693 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
5694 |
else |
|
5695 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5696 |
for as_dir in $PATH |
|
5697 |
do |
|
5698 |
IFS=$as_save_IFS |
|
5699 |
test -z "$as_dir" && as_dir=. |
|
5700 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5701 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5702 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
5703 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5704 |
break 2 |
|
5705 |
fi |
|
5706 |
done |
|
5707 |
done |
|
5708 |
IFS=$as_save_IFS |
|
5709 |
||
5710 |
fi |
|
5711 |
fi |
|
5712 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
5713 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5714 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
5715 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
5716 |
else |
|
5717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5718 |
$as_echo "no" >&6; } |
|
5719 |
fi |
|
5720 |
||
5721 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
5722 |
DLLTOOL="false" |
|
5723 |
else |
|
5724 |
case $cross_compiling:$ac_tool_warned in |
|
5725 |
yes:) |
|
5726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5727 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5728 |
ac_tool_warned=yes ;; |
|
5729 |
esac |
|
5730 |
DLLTOOL=$ac_ct_DLLTOOL |
|
5731 |
fi |
|
5732 |
else |
|
5733 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
5734 |
fi |
|
5735 |
||
5736 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
5737 |
||
5738 |
||
5739 |
||
5740 |
||
5741 |
||
5742 |
||
5743 |
||
5744 |
||
5745 |
||
5746 |
||
5747 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
5748 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
5749 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
5750 |
$as_echo_n "(cached) " >&6 |
|
5751 |
else |
|
5752 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
5753 |
||
5754 |
case $host_os in |
|
5755 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5756 |
# two different shell functions defined in ltmain.sh |
|
5757 |
# decide which to use based on capabilities of $DLLTOOL |
|
5758 |
case `$DLLTOOL --help 2>&1` in |
|
5759 |
*--identify-strict*) |
|
5760 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
5761 |
;; |
|
5762 |
*) |
|
5763 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
5764 |
;; |
|
5765 |
esac |
|
5766 |
;; |
|
5767 |
*) |
|
5768 |
# fallback: assume linklib IS sharedlib |
|
5769 |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
|
5770 |
;; |
|
5771 |
esac |
|
5772 |
||
5773 |
fi |
|
5774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
5775 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
5776 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
5777 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
5778 |
||
5779 |
||
5780 |
||
5781 |
||
5782 |
||
5783 |
||
5784 |
||
5785 |
||
5786 |
if test -n "$ac_tool_prefix"; then |
|
5787 |
for ac_prog in ar |
|
5788 |
do |
|
5789 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5790 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5792 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5793 |
if ${ac_cv_prog_AR+:} false; then : |
|
5
by edam
- updated README |
5794 |
$as_echo_n "(cached) " >&6 |
5795 |
else |
|
5796 |
if test -n "$AR"; then |
|
5797 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
5798 |
else |
|
5799 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5800 |
for as_dir in $PATH |
|
5801 |
do |
|
5802 |
IFS=$as_save_IFS |
|
5803 |
test -z "$as_dir" && as_dir=. |
|
5804 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5805 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
19
by edam
updated autotols stuff |
5806 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
5
by edam
- updated README |
5807 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5808 |
break 2 |
|
5809 |
fi |
|
5810 |
done |
|
5811 |
done |
|
5812 |
IFS=$as_save_IFS |
|
5813 |
||
5814 |
fi |
|
5815 |
fi |
|
5816 |
AR=$ac_cv_prog_AR |
|
5817 |
if test -n "$AR"; then |
|
5818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
5819 |
$as_echo "$AR" >&6; } |
|
5820 |
else |
|
5821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5822 |
$as_echo "no" >&6; } |
|
5823 |
fi |
|
5824 |
||
5825 |
||
19
by edam
updated autotols stuff |
5826 |
test -n "$AR" && break |
5827 |
done |
|
5
by edam
- updated README |
5828 |
fi |
19
by edam
updated autotols stuff |
5829 |
if test -z "$AR"; then |
5
by edam
- updated README |
5830 |
ac_ct_AR=$AR |
19
by edam
updated autotols stuff |
5831 |
for ac_prog in ar |
5832 |
do |
|
5833 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5834 |
set dummy $ac_prog; ac_word=$2 |
|
5
by edam
- updated README |
5835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5836 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
5837 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
5
by edam
- updated README |
5838 |
$as_echo_n "(cached) " >&6 |
5839 |
else |
|
5840 |
if test -n "$ac_ct_AR"; then |
|
5841 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
5842 |
else |
|
5843 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5844 |
for as_dir in $PATH |
|
5845 |
do |
|
5846 |
IFS=$as_save_IFS |
|
5847 |
test -z "$as_dir" && as_dir=. |
|
5848 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5849 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
19
by edam
updated autotols stuff |
5850 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
5
by edam
- updated README |
5851 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5852 |
break 2 |
|
5853 |
fi |
|
5854 |
done |
|
5855 |
done |
|
5856 |
IFS=$as_save_IFS |
|
5857 |
||
5858 |
fi |
|
5859 |
fi |
|
5860 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
5861 |
if test -n "$ac_ct_AR"; then |
|
5862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
5863 |
$as_echo "$ac_ct_AR" >&6; } |
|
5864 |
else |
|
5865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5866 |
$as_echo "no" >&6; } |
|
5867 |
fi |
|
5868 |
||
19
by edam
updated autotols stuff |
5869 |
|
5870 |
test -n "$ac_ct_AR" && break |
|
5871 |
done |
|
5872 |
||
5
by edam
- updated README |
5873 |
if test "x$ac_ct_AR" = x; then |
5874 |
AR="false" |
|
5875 |
else |
|
5876 |
case $cross_compiling:$ac_tool_warned in |
|
5877 |
yes:) |
|
5878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5879 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5880 |
ac_tool_warned=yes ;; |
|
5881 |
esac |
|
5882 |
AR=$ac_ct_AR |
|
5883 |
fi |
|
19
by edam
updated autotols stuff |
5884 |
fi |
5885 |
||
5886 |
: ${AR=ar} |
|
5887 |
: ${AR_FLAGS=cru} |
|
5888 |
||
5889 |
||
5890 |
||
5891 |
||
5892 |
||
5893 |
||
5894 |
||
5895 |
||
5896 |
||
5897 |
||
5898 |
||
5899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
5900 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
5901 |
if ${lt_cv_ar_at_file+:} false; then : |
|
5902 |
$as_echo_n "(cached) " >&6 |
|
5903 |
else |
|
5904 |
lt_cv_ar_at_file=no |
|
5905 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5906 |
/* end confdefs.h. */ |
|
5907 |
||
5908 |
int |
|
5909 |
main () |
|
5910 |
{ |
|
5911 |
||
5912 |
; |
|
5913 |
return 0; |
|
5914 |
} |
|
5915 |
_ACEOF |
|
5916 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
5917 |
echo conftest.$ac_objext > conftest.lst |
|
5918 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
5919 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5920 |
(eval $lt_ar_try) 2>&5 |
|
5921 |
ac_status=$? |
|
5922 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5923 |
test $ac_status = 0; } |
|
5924 |
if test "$ac_status" -eq 0; then |
|
5925 |
# Ensure the archiver fails upon bogus file names. |
|
5926 |
rm -f conftest.$ac_objext libconftest.a |
|
5927 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5928 |
(eval $lt_ar_try) 2>&5 |
|
5929 |
ac_status=$? |
|
5930 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5931 |
test $ac_status = 0; } |
|
5932 |
if test "$ac_status" -ne 0; then |
|
5933 |
lt_cv_ar_at_file=@ |
|
5934 |
fi |
|
5935 |
fi |
|
5936 |
rm -f conftest.* libconftest.a |
|
5937 |
||
5938 |
fi |
|
5939 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5940 |
||
5941 |
fi |
|
5942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
5943 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
5944 |
||
5945 |
if test "x$lt_cv_ar_at_file" = xno; then |
|
5946 |
archiver_list_spec= |
|
5947 |
else |
|
5948 |
archiver_list_spec=$lt_cv_ar_at_file |
|
5949 |
fi |
|
5
by edam
- updated README |
5950 |
|
5951 |
||
5952 |
||
5953 |
||
5954 |
||
5955 |
||
5956 |
||
5957 |
if test -n "$ac_tool_prefix"; then |
|
5958 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
5959 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
5960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5961 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
5962 |
if ${ac_cv_prog_STRIP+:} false; then : |
5
by edam
- updated README |
5963 |
$as_echo_n "(cached) " >&6 |
5964 |
else |
|
5965 |
if test -n "$STRIP"; then |
|
5966 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
5967 |
else |
|
5968 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5969 |
for as_dir in $PATH |
|
5970 |
do |
|
5971 |
IFS=$as_save_IFS |
|
5972 |
test -z "$as_dir" && as_dir=. |
|
5973 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5974 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5975 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
5976 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5977 |
break 2 |
|
5978 |
fi |
|
5979 |
done |
|
5980 |
done |
|
5981 |
IFS=$as_save_IFS |
|
5982 |
||
5983 |
fi |
|
5984 |
fi |
|
5985 |
STRIP=$ac_cv_prog_STRIP |
|
5986 |
if test -n "$STRIP"; then |
|
5987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
5988 |
$as_echo "$STRIP" >&6; } |
|
5989 |
else |
|
5990 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5991 |
$as_echo "no" >&6; } |
|
5992 |
fi |
|
5993 |
||
5994 |
||
5995 |
fi |
|
5996 |
if test -z "$ac_cv_prog_STRIP"; then |
|
5997 |
ac_ct_STRIP=$STRIP |
|
5998 |
# Extract the first word of "strip", so it can be a program name with args. |
|
5999 |
set dummy strip; ac_word=$2 |
|
6000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6001 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6002 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
5
by edam
- updated README |
6003 |
$as_echo_n "(cached) " >&6 |
6004 |
else |
|
6005 |
if test -n "$ac_ct_STRIP"; then |
|
6006 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
6007 |
else |
|
6008 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6009 |
for as_dir in $PATH |
|
6010 |
do |
|
6011 |
IFS=$as_save_IFS |
|
6012 |
test -z "$as_dir" && as_dir=. |
|
6013 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6014 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6015 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
6016 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6017 |
break 2 |
|
6018 |
fi |
|
6019 |
done |
|
6020 |
done |
|
6021 |
IFS=$as_save_IFS |
|
6022 |
||
6023 |
fi |
|
6024 |
fi |
|
6025 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
6026 |
if test -n "$ac_ct_STRIP"; then |
|
6027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
6028 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
6029 |
else |
|
6030 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6031 |
$as_echo "no" >&6; } |
|
6032 |
fi |
|
6033 |
||
6034 |
if test "x$ac_ct_STRIP" = x; then |
|
6035 |
STRIP=":" |
|
6036 |
else |
|
6037 |
case $cross_compiling:$ac_tool_warned in |
|
6038 |
yes:) |
|
6039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6040 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6041 |
ac_tool_warned=yes ;; |
|
6042 |
esac |
|
6043 |
STRIP=$ac_ct_STRIP |
|
6044 |
fi |
|
6045 |
else |
|
6046 |
STRIP="$ac_cv_prog_STRIP" |
|
6047 |
fi |
|
6048 |
||
6049 |
test -z "$STRIP" && STRIP=: |
|
6050 |
||
6051 |
||
6052 |
||
6053 |
||
6054 |
||
6055 |
||
6056 |
if test -n "$ac_tool_prefix"; then |
|
6057 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
6058 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
6059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6060 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6061 |
if ${ac_cv_prog_RANLIB+:} false; then : |
5
by edam
- updated README |
6062 |
$as_echo_n "(cached) " >&6 |
6063 |
else |
|
6064 |
if test -n "$RANLIB"; then |
|
6065 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
6066 |
else |
|
6067 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6068 |
for as_dir in $PATH |
|
6069 |
do |
|
6070 |
IFS=$as_save_IFS |
|
6071 |
test -z "$as_dir" && as_dir=. |
|
6072 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6073 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6074 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
6075 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6076 |
break 2 |
|
6077 |
fi |
|
6078 |
done |
|
6079 |
done |
|
6080 |
IFS=$as_save_IFS |
|
6081 |
||
6082 |
fi |
|
6083 |
fi |
|
6084 |
RANLIB=$ac_cv_prog_RANLIB |
|
6085 |
if test -n "$RANLIB"; then |
|
6086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
6087 |
$as_echo "$RANLIB" >&6; } |
|
6088 |
else |
|
6089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6090 |
$as_echo "no" >&6; } |
|
6091 |
fi |
|
6092 |
||
6093 |
||
6094 |
fi |
|
6095 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
6096 |
ac_ct_RANLIB=$RANLIB |
|
6097 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
6098 |
set dummy ranlib; ac_word=$2 |
|
6099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6100 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6101 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
5
by edam
- updated README |
6102 |
$as_echo_n "(cached) " >&6 |
6103 |
else |
|
6104 |
if test -n "$ac_ct_RANLIB"; then |
|
6105 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
6106 |
else |
|
6107 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6108 |
for as_dir in $PATH |
|
6109 |
do |
|
6110 |
IFS=$as_save_IFS |
|
6111 |
test -z "$as_dir" && as_dir=. |
|
6112 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6113 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6114 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
6115 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6116 |
break 2 |
|
6117 |
fi |
|
6118 |
done |
|
6119 |
done |
|
6120 |
IFS=$as_save_IFS |
|
6121 |
||
6122 |
fi |
|
6123 |
fi |
|
6124 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
6125 |
if test -n "$ac_ct_RANLIB"; then |
|
6126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
6127 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
6128 |
else |
|
6129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6130 |
$as_echo "no" >&6; } |
|
6131 |
fi |
|
6132 |
||
6133 |
if test "x$ac_ct_RANLIB" = x; then |
|
6134 |
RANLIB=":" |
|
6135 |
else |
|
6136 |
case $cross_compiling:$ac_tool_warned in |
|
6137 |
yes:) |
|
6138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6139 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6140 |
ac_tool_warned=yes ;; |
|
6141 |
esac |
|
6142 |
RANLIB=$ac_ct_RANLIB |
|
6143 |
fi |
|
6144 |
else |
|
6145 |
RANLIB="$ac_cv_prog_RANLIB" |
|
6146 |
fi |
|
6147 |
||
6148 |
test -z "$RANLIB" && RANLIB=: |
|
6149 |
||
6150 |
||
6151 |
||
6152 |
||
6153 |
||
6154 |
||
6155 |
# Determine commands to create old-style static archives. |
|
6156 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
6157 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
6158 |
old_postuninstall_cmds= |
|
6159 |
||
6160 |
if test -n "$RANLIB"; then |
|
6161 |
case $host_os in |
|
6162 |
openbsd*) |
|
19
by edam
updated autotols stuff |
6163 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
5
by edam
- updated README |
6164 |
;; |
6165 |
*) |
|
19
by edam
updated autotols stuff |
6166 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
5
by edam
- updated README |
6167 |
;; |
6168 |
esac |
|
19
by edam
updated autotols stuff |
6169 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
5
by edam
- updated README |
6170 |
fi |
6171 |
||
19
by edam
updated autotols stuff |
6172 |
case $host_os in |
6173 |
darwin*) |
|
6174 |
lock_old_archive_extraction=yes ;; |
|
6175 |
*) |
|
6176 |
lock_old_archive_extraction=no ;; |
|
6177 |
esac |
|
6178 |
||
6179 |
||
6180 |
||
6181 |
||
6182 |
||
6183 |
||
5
by edam
- updated README |
6184 |
|
6185 |
||
6186 |
||
6187 |
||
6188 |
||
6189 |
||
6190 |
||
6191 |
||
6192 |
||
6193 |
||
6194 |
||
6195 |
||
6196 |
||
6197 |
||
6198 |
||
6199 |
||
6200 |
||
6201 |
||
6202 |
||
6203 |
||
6204 |
||
6205 |
||
6206 |
||
6207 |
||
6208 |
||
6209 |
||
6210 |
||
6211 |
||
6212 |
||
6213 |
||
6214 |
||
6215 |
||
6216 |
||
6217 |
# If no C compiler was specified, use CC. |
|
6218 |
LTCC=${LTCC-"$CC"} |
|
6219 |
||
6220 |
# If no C compiler flags were specified, use CFLAGS. |
|
6221 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
6222 |
||
6223 |
# Allow CC to be a program name with arguments. |
|
6224 |
compiler=$CC |
|
6225 |
||
6226 |
||
6227 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
6228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
|
6229 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
19
by edam
updated autotols stuff |
6230 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
5
by edam
- updated README |
6231 |
$as_echo_n "(cached) " >&6 |
6232 |
else |
|
6233 |
||
6234 |
# These are sane defaults that work on at least a few old systems. |
|
6235 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
6236 |
||
6237 |
# Character class describing NM global symbol codes. |
|
6238 |
symcode='[BCDEGRST]' |
|
6239 |
||
6240 |
# Regexp to match symbols that can be accessed directly from C. |
|
6241 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
6242 |
||
6243 |
# Define system-specific variables. |
|
6244 |
case $host_os in |
|
6245 |
aix*) |
|
6246 |
symcode='[BCDT]' |
|
6247 |
;; |
|
6248 |
cygwin* | mingw* | pw32* | cegcc*) |
|
6249 |
symcode='[ABCDGISTW]' |
|
6250 |
;; |
|
6251 |
hpux*) |
|
6252 |
if test "$host_cpu" = ia64; then |
|
6253 |
symcode='[ABCDEGRST]' |
|
6254 |
fi |
|
6255 |
;; |
|
6256 |
irix* | nonstopux*) |
|
6257 |
symcode='[BCDEGRST]' |
|
6258 |
;; |
|
6259 |
osf*) |
|
6260 |
symcode='[BCDEGQRST]' |
|
6261 |
;; |
|
6262 |
solaris*) |
|
6263 |
symcode='[BDRT]' |
|
6264 |
;; |
|
6265 |
sco3.2v5*) |
|
6266 |
symcode='[DT]' |
|
6267 |
;; |
|
6268 |
sysv4.2uw2*) |
|
6269 |
symcode='[DT]' |
|
6270 |
;; |
|
6271 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
6272 |
symcode='[ABDT]' |
|
6273 |
;; |
|
6274 |
sysv4) |
|
6275 |
symcode='[DFNSTU]' |
|
6276 |
;; |
|
6277 |
esac |
|
6278 |
||
6279 |
# If we're using GNU nm, then use its standard symbol codes. |
|
6280 |
case `$NM -V 2>&1` in |
|
6281 |
*GNU* | *'with BFD'*) |
|
6282 |
symcode='[ABCDGIRSTW]' ;; |
|
6283 |
esac |
|
6284 |
||
6285 |
# Transform an extracted symbol line into a proper C declaration. |
|
6286 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
6287 |
# so use this general approach. |
|
6288 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6289 |
||
6290 |
# Transform an extracted symbol line into symbol name and symbol address |
|
19
by edam
updated autotols stuff |
6291 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6292 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
|
5
by edam
- updated README |
6293 |
|
6294 |
# Handle CRLF in mingw tool chain |
|
6295 |
opt_cr= |
|
6296 |
case $build_os in |
|
6297 |
mingw*) |
|
6298 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
6299 |
;; |
|
6300 |
esac |
|
6301 |
||
6302 |
# Try without a prefix underscore, then with it. |
|
6303 |
for ac_symprfx in "" "_"; do |
|
6304 |
||
6305 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
6306 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
6307 |
||
6308 |
# Write the raw and C identifiers. |
|
6309 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6310 |
# Fake it for dumpbin and say T for any non-static function |
|
6311 |
# and D for any global variable. |
|
6312 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
6313 |
# which start with @ or ?. |
|
6314 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
6315 |
" {last_section=section; section=\$ 3};"\ |
|
19
by edam
updated autotols stuff |
6316 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
5
by edam
- updated README |
6317 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6318 |
" \$ 0!~/External *\|/{next};"\ |
|
6319 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
6320 |
" {if(hide[section]) next};"\ |
|
6321 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
6322 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
6323 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
6324 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
6325 |
" ' prfx=^$ac_symprfx" |
|
6326 |
else |
|
6327 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
6328 |
fi |
|
19
by edam
updated autotols stuff |
6329 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
5
by edam
- updated README |
6330 |
|
6331 |
# Check to see that the pipe works correctly. |
|
6332 |
pipe_works=no |
|
6333 |
||
6334 |
rm -f conftest* |
|
6335 |
cat > conftest.$ac_ext <<_LT_EOF |
|
6336 |
#ifdef __cplusplus |
|
6337 |
extern "C" { |
|
6338 |
#endif |
|
6339 |
char nm_test_var; |
|
6340 |
void nm_test_func(void); |
|
6341 |
void nm_test_func(void){} |
|
6342 |
#ifdef __cplusplus |
|
6343 |
} |
|
6344 |
#endif |
|
6345 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
6346 |
_LT_EOF |
|
6347 |
||
6348 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6349 |
(eval $ac_compile) 2>&5 |
|
6350 |
ac_status=$? |
|
6351 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6352 |
test $ac_status = 0; }; then |
|
6353 |
# Now try to grab the symbols. |
|
6354 |
nlist=conftest.nm |
|
19
by edam
updated autotols stuff |
6355 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6356 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
|
5
by edam
- updated README |
6357 |
ac_status=$? |
6358 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6359 |
test $ac_status = 0; } && test -s "$nlist"; then |
|
6360 |
# Try sorting and uniquifying the output. |
|
6361 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
6362 |
mv -f "$nlist"T "$nlist" |
|
6363 |
else |
|
6364 |
rm -f "$nlist"T |
|
6365 |
fi |
|
6366 |
||
6367 |
# Make sure that we snagged all the symbols we need. |
|
6368 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
6369 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
6370 |
cat <<_LT_EOF > conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
6371 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6372 |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
|
6373 |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
|
6374 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
6375 |
# define LT_DLSYM_CONST |
|
6376 |
#elif defined(__osf__) |
|
6377 |
/* This system does not cope well with relocations in const data. */ |
|
6378 |
# define LT_DLSYM_CONST |
|
6379 |
#else |
|
6380 |
# define LT_DLSYM_CONST const |
|
6381 |
#endif |
|
6382 |
||
5
by edam
- updated README |
6383 |
#ifdef __cplusplus |
6384 |
extern "C" { |
|
6385 |
#endif |
|
6386 |
||
6387 |
_LT_EOF |
|
6388 |
# Now generate the symbol file. |
|
6389 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
6390 |
||
6391 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
6392 |
||
6393 |
/* The mapping between symbol names and symbols. */ |
|
19
by edam
updated autotols stuff |
6394 |
LT_DLSYM_CONST struct { |
5
by edam
- updated README |
6395 |
const char *name; |
6396 |
void *address; |
|
6397 |
} |
|
6398 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
6399 |
{ |
|
6400 |
{ "@PROGRAM@", (void *) 0 }, |
|
6401 |
_LT_EOF |
|
6402 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
6403 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
6404 |
{0, (void *) 0} |
|
6405 |
}; |
|
6406 |
||
6407 |
/* This works around a problem in FreeBSD linker */ |
|
6408 |
#ifdef FREEBSD_WORKAROUND |
|
6409 |
static const void *lt_preloaded_setup() { |
|
6410 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
6411 |
} |
|
6412 |
#endif |
|
6413 |
||
6414 |
#ifdef __cplusplus |
|
6415 |
} |
|
6416 |
#endif |
|
6417 |
_LT_EOF |
|
6418 |
# Now try linking the two files. |
|
6419 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
19
by edam
updated autotols stuff |
6420 |
lt_globsym_save_LIBS=$LIBS |
6421 |
lt_globsym_save_CFLAGS=$CFLAGS |
|
5
by edam
- updated README |
6422 |
LIBS="conftstm.$ac_objext" |
6423 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
6424 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
6425 |
(eval $ac_link) 2>&5 |
|
6426 |
ac_status=$? |
|
6427 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6428 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
|
6429 |
pipe_works=yes |
|
6430 |
fi |
|
19
by edam
updated autotols stuff |
6431 |
LIBS=$lt_globsym_save_LIBS |
6432 |
CFLAGS=$lt_globsym_save_CFLAGS |
|
5
by edam
- updated README |
6433 |
else |
6434 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
6435 |
fi |
|
6436 |
else |
|
6437 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
6438 |
fi |
|
6439 |
else |
|
6440 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
6441 |
fi |
|
6442 |
else |
|
6443 |
echo "$progname: failed program was:" >&5 |
|
6444 |
cat conftest.$ac_ext >&5 |
|
6445 |
fi |
|
6446 |
rm -rf conftest* conftst* |
|
6447 |
||
6448 |
# Do not use the global_symbol_pipe unless it works. |
|
6449 |
if test "$pipe_works" = yes; then |
|
6450 |
break |
|
6451 |
else |
|
6452 |
lt_cv_sys_global_symbol_pipe= |
|
6453 |
fi |
|
6454 |
done |
|
6455 |
||
6456 |
fi |
|
6457 |
||
6458 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
6459 |
lt_cv_sys_global_symbol_to_cdecl= |
|
6460 |
fi |
|
6461 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
6462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
|
6463 |
$as_echo "failed" >&6; } |
|
6464 |
else |
|
6465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
6466 |
$as_echo "ok" >&6; } |
|
6467 |
fi |
|
6468 |
||
19
by edam
updated autotols stuff |
6469 |
# Response file support. |
6470 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6471 |
nm_file_list_spec='@' |
|
6472 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
6473 |
nm_file_list_spec='@' |
|
6474 |
fi |
|
6475 |
||
6476 |
||
6477 |
||
6478 |
||
6479 |
||
6480 |
||
6481 |
||
6482 |
||
6483 |
||
6484 |
||
6485 |
||
6486 |
||
6487 |
||
6488 |
||
6489 |
||
6490 |
||
6491 |
||
6492 |
||
6493 |
||
6494 |
||
6495 |
||
6496 |
||
6497 |
||
6498 |
||
6499 |
||
6500 |
||
6501 |
||
6502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
6503 |
$as_echo_n "checking for sysroot... " >&6; } |
|
6504 |
||
6505 |
# Check whether --with-sysroot was given. |
|
6506 |
if test "${with_sysroot+set}" = set; then : |
|
6507 |
withval=$with_sysroot; |
|
6508 |
else |
|
6509 |
with_sysroot=no |
|
6510 |
fi |
|
6511 |
||
6512 |
||
6513 |
lt_sysroot= |
|
6514 |
case ${with_sysroot} in #( |
|
6515 |
yes) |
|
6516 |
if test "$GCC" = yes; then |
|
6517 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
6518 |
fi |
|
6519 |
;; #( |
|
6520 |
/*) |
|
6521 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
6522 |
;; #( |
|
6523 |
no|'') |
|
6524 |
;; #( |
|
6525 |
*) |
|
6526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
|
6527 |
$as_echo "${with_sysroot}" >&6; } |
|
6528 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
6529 |
;; |
|
6530 |
esac |
|
6531 |
||
6532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
6533 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
5
by edam
- updated README |
6534 |
|
6535 |
||
6536 |
||
6537 |
||
6538 |
||
6539 |
# Check whether --enable-libtool-lock was given. |
|
6540 |
if test "${enable_libtool_lock+set}" = set; then : |
|
6541 |
enableval=$enable_libtool_lock; |
|
6542 |
fi |
|
6543 |
||
6544 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
6545 |
||
6546 |
# Some flags need to be propagated to the compiler or linker for good |
|
6547 |
# libtool support. |
|
6548 |
case $host in |
|
6549 |
ia64-*-hpux*) |
|
6550 |
# Find out which ABI we are using. |
|
6551 |
echo 'int i;' > conftest.$ac_ext |
|
6552 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6553 |
(eval $ac_compile) 2>&5 |
|
6554 |
ac_status=$? |
|
6555 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6556 |
test $ac_status = 0; }; then |
|
6557 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6558 |
*ELF-32*) |
|
6559 |
HPUX_IA64_MODE="32" |
|
6560 |
;; |
|
6561 |
*ELF-64*) |
|
6562 |
HPUX_IA64_MODE="64" |
|
6563 |
;; |
|
6564 |
esac |
|
6565 |
fi |
|
6566 |
rm -rf conftest* |
|
6567 |
;; |
|
6568 |
*-*-irix6*) |
|
6569 |
# Find out which ABI we are using. |
|
19
by edam
updated autotols stuff |
6570 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
5
by edam
- updated README |
6571 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6572 |
(eval $ac_compile) 2>&5 |
|
6573 |
ac_status=$? |
|
6574 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6575 |
test $ac_status = 0; }; then |
|
6576 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
6577 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6578 |
*32-bit*) |
|
6579 |
LD="${LD-ld} -melf32bsmip" |
|
6580 |
;; |
|
6581 |
*N32*) |
|
6582 |
LD="${LD-ld} -melf32bmipn32" |
|
6583 |
;; |
|
6584 |
*64-bit*) |
|
6585 |
LD="${LD-ld} -melf64bmip" |
|
6586 |
;; |
|
6587 |
esac |
|
6588 |
else |
|
6589 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6590 |
*32-bit*) |
|
6591 |
LD="${LD-ld} -32" |
|
6592 |
;; |
|
6593 |
*N32*) |
|
6594 |
LD="${LD-ld} -n32" |
|
6595 |
;; |
|
6596 |
*64-bit*) |
|
6597 |
LD="${LD-ld} -64" |
|
6598 |
;; |
|
6599 |
esac |
|
6600 |
fi |
|
6601 |
fi |
|
6602 |
rm -rf conftest* |
|
6603 |
;; |
|
6604 |
||
6605 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
6606 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
6607 |
# Find out which ABI we are using. |
|
6608 |
echo 'int i;' > conftest.$ac_ext |
|
6609 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6610 |
(eval $ac_compile) 2>&5 |
|
6611 |
ac_status=$? |
|
6612 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6613 |
test $ac_status = 0; }; then |
|
6614 |
case `/usr/bin/file conftest.o` in |
|
6615 |
*32-bit*) |
|
6616 |
case $host in |
|
6617 |
x86_64-*kfreebsd*-gnu) |
|
6618 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
6619 |
;; |
|
6620 |
x86_64-*linux*) |
|
6621 |
LD="${LD-ld} -m elf_i386" |
|
6622 |
;; |
|
6623 |
ppc64-*linux*|powerpc64-*linux*) |
|
6624 |
LD="${LD-ld} -m elf32ppclinux" |
|
6625 |
;; |
|
6626 |
s390x-*linux*) |
|
6627 |
LD="${LD-ld} -m elf_s390" |
|
6628 |
;; |
|
6629 |
sparc64-*linux*) |
|
6630 |
LD="${LD-ld} -m elf32_sparc" |
|
6631 |
;; |
|
6632 |
esac |
|
6633 |
;; |
|
6634 |
*64-bit*) |
|
6635 |
case $host in |
|
6636 |
x86_64-*kfreebsd*-gnu) |
|
6637 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
6638 |
;; |
|
6639 |
x86_64-*linux*) |
|
6640 |
LD="${LD-ld} -m elf_x86_64" |
|
6641 |
;; |
|
6642 |
ppc*-*linux*|powerpc*-*linux*) |
|
6643 |
LD="${LD-ld} -m elf64ppc" |
|
6644 |
;; |
|
6645 |
s390*-*linux*|s390*-*tpf*) |
|
6646 |
LD="${LD-ld} -m elf64_s390" |
|
6647 |
;; |
|
6648 |
sparc*-*linux*) |
|
6649 |
LD="${LD-ld} -m elf64_sparc" |
|
6650 |
;; |
|
6651 |
esac |
|
6652 |
;; |
|
6653 |
esac |
|
6654 |
fi |
|
6655 |
rm -rf conftest* |
|
6656 |
;; |
|
6657 |
||
6658 |
*-*-sco3.2v5*) |
|
6659 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
6660 |
SAVE_CFLAGS="$CFLAGS" |
|
6661 |
CFLAGS="$CFLAGS -belf" |
|
6662 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
|
6663 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
19
by edam
updated autotols stuff |
6664 |
if ${lt_cv_cc_needs_belf+:} false; then : |
5
by edam
- updated README |
6665 |
$as_echo_n "(cached) " >&6 |
6666 |
else |
|
6667 |
ac_ext=c |
|
6668 |
ac_cpp='$CPP $CPPFLAGS' |
|
6669 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6670 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6671 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6672 |
||
6673 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6674 |
/* end confdefs.h. */ |
|
6675 |
||
6676 |
int |
|
6677 |
main () |
|
6678 |
{ |
|
6679 |
||
6680 |
; |
|
6681 |
return 0; |
|
6682 |
} |
|
6683 |
_ACEOF |
|
6684 |
if ac_fn_c_try_link "$LINENO"; then : |
|
6685 |
lt_cv_cc_needs_belf=yes |
|
6686 |
else |
|
6687 |
lt_cv_cc_needs_belf=no |
|
6688 |
fi |
|
6689 |
rm -f core conftest.err conftest.$ac_objext \ |
|
6690 |
conftest$ac_exeext conftest.$ac_ext |
|
6691 |
ac_ext=c |
|
6692 |
ac_cpp='$CPP $CPPFLAGS' |
|
6693 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6694 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6695 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6696 |
||
6697 |
fi |
|
6698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
|
6699 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
6700 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
6701 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
6702 |
CFLAGS="$SAVE_CFLAGS" |
|
6703 |
fi |
|
6704 |
;; |
|
19
by edam
updated autotols stuff |
6705 |
*-*solaris*) |
5
by edam
- updated README |
6706 |
# Find out which ABI we are using. |
6707 |
echo 'int i;' > conftest.$ac_ext |
|
6708 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6709 |
(eval $ac_compile) 2>&5 |
|
6710 |
ac_status=$? |
|
6711 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6712 |
test $ac_status = 0; }; then |
|
6713 |
case `/usr/bin/file conftest.o` in |
|
6714 |
*64-bit*) |
|
6715 |
case $lt_cv_prog_gnu_ld in |
|
19
by edam
updated autotols stuff |
6716 |
yes*) |
6717 |
case $host in |
|
6718 |
i?86-*-solaris*) |
|
6719 |
LD="${LD-ld} -m elf_x86_64" |
|
6720 |
;; |
|
6721 |
sparc*-*-solaris*) |
|
6722 |
LD="${LD-ld} -m elf64_sparc" |
|
6723 |
;; |
|
6724 |
esac |
|
6725 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
|
6726 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
|
6727 |
LD="${LD-ld}_sol2" |
|
6728 |
fi |
|
6729 |
;; |
|
5
by edam
- updated README |
6730 |
*) |
6731 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
6732 |
LD="${LD-ld} -64" |
|
6733 |
fi |
|
6734 |
;; |
|
6735 |
esac |
|
6736 |
;; |
|
6737 |
esac |
|
6738 |
fi |
|
6739 |
rm -rf conftest* |
|
6740 |
;; |
|
6741 |
esac |
|
6742 |
||
6743 |
need_locks="$enable_libtool_lock" |
|
6744 |
||
19
by edam
updated autotols stuff |
6745 |
if test -n "$ac_tool_prefix"; then |
6746 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
6747 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
6748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6749 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6750 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
6751 |
$as_echo_n "(cached) " >&6 |
|
6752 |
else |
|
6753 |
if test -n "$MANIFEST_TOOL"; then |
|
6754 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
6755 |
else |
|
6756 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6757 |
for as_dir in $PATH |
|
6758 |
do |
|
6759 |
IFS=$as_save_IFS |
|
6760 |
test -z "$as_dir" && as_dir=. |
|
6761 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6762 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6763 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
6764 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6765 |
break 2 |
|
6766 |
fi |
|
6767 |
done |
|
6768 |
done |
|
6769 |
IFS=$as_save_IFS |
|
6770 |
||
6771 |
fi |
|
6772 |
fi |
|
6773 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
6774 |
if test -n "$MANIFEST_TOOL"; then |
|
6775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
6776 |
$as_echo "$MANIFEST_TOOL" >&6; } |
|
6777 |
else |
|
6778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6779 |
$as_echo "no" >&6; } |
|
6780 |
fi |
|
6781 |
||
6782 |
||
6783 |
fi |
|
6784 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
6785 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
6786 |
# Extract the first word of "mt", so it can be a program name with args. |
|
6787 |
set dummy mt; ac_word=$2 |
|
6788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6789 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6790 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
6791 |
$as_echo_n "(cached) " >&6 |
|
6792 |
else |
|
6793 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6794 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
6795 |
else |
|
6796 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6797 |
for as_dir in $PATH |
|
6798 |
do |
|
6799 |
IFS=$as_save_IFS |
|
6800 |
test -z "$as_dir" && as_dir=. |
|
6801 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6802 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6803 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
6804 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6805 |
break 2 |
|
6806 |
fi |
|
6807 |
done |
|
6808 |
done |
|
6809 |
IFS=$as_save_IFS |
|
6810 |
||
6811 |
fi |
|
6812 |
fi |
|
6813 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
6814 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
6816 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
6817 |
else |
|
6818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6819 |
$as_echo "no" >&6; } |
|
6820 |
fi |
|
6821 |
||
6822 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
6823 |
MANIFEST_TOOL=":" |
|
6824 |
else |
|
6825 |
case $cross_compiling:$ac_tool_warned in |
|
6826 |
yes:) |
|
6827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6828 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6829 |
ac_tool_warned=yes ;; |
|
6830 |
esac |
|
6831 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
6832 |
fi |
|
6833 |
else |
|
6834 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
6835 |
fi |
|
6836 |
||
6837 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
6838 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
6839 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
6840 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
6841 |
$as_echo_n "(cached) " >&6 |
|
6842 |
else |
|
6843 |
lt_cv_path_mainfest_tool=no |
|
6844 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
6845 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
6846 |
cat conftest.err >&5 |
|
6847 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
6848 |
lt_cv_path_mainfest_tool=yes |
|
6849 |
fi |
|
6850 |
rm -f conftest* |
|
6851 |
fi |
|
6852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
6853 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
6854 |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
|
6855 |
MANIFEST_TOOL=: |
|
6856 |
fi |
|
6857 |
||
6858 |
||
6859 |
||
6860 |
||
6861 |
||
5
by edam
- updated README |
6862 |
|
6863 |
case $host_os in |
|
6864 |
rhapsody* | darwin*) |
|
6865 |
if test -n "$ac_tool_prefix"; then |
|
6866 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
6867 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
6868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6869 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6870 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
5
by edam
- updated README |
6871 |
$as_echo_n "(cached) " >&6 |
6872 |
else |
|
6873 |
if test -n "$DSYMUTIL"; then |
|
6874 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
6875 |
else |
|
6876 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6877 |
for as_dir in $PATH |
|
6878 |
do |
|
6879 |
IFS=$as_save_IFS |
|
6880 |
test -z "$as_dir" && as_dir=. |
|
6881 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6882 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6883 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
6884 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6885 |
break 2 |
|
6886 |
fi |
|
6887 |
done |
|
6888 |
done |
|
6889 |
IFS=$as_save_IFS |
|
6890 |
||
6891 |
fi |
|
6892 |
fi |
|
6893 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
6894 |
if test -n "$DSYMUTIL"; then |
|
6895 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
6896 |
$as_echo "$DSYMUTIL" >&6; } |
|
6897 |
else |
|
6898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6899 |
$as_echo "no" >&6; } |
|
6900 |
fi |
|
6901 |
||
6902 |
||
6903 |
fi |
|
6904 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
6905 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
6906 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
6907 |
set dummy dsymutil; ac_word=$2 |
|
6908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6909 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6910 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
5
by edam
- updated README |
6911 |
$as_echo_n "(cached) " >&6 |
6912 |
else |
|
6913 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6914 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
6915 |
else |
|
6916 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6917 |
for as_dir in $PATH |
|
6918 |
do |
|
6919 |
IFS=$as_save_IFS |
|
6920 |
test -z "$as_dir" && as_dir=. |
|
6921 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6922 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6923 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
6924 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6925 |
break 2 |
|
6926 |
fi |
|
6927 |
done |
|
6928 |
done |
|
6929 |
IFS=$as_save_IFS |
|
6930 |
||
6931 |
fi |
|
6932 |
fi |
|
6933 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
6934 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
|
6936 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
6937 |
else |
|
6938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6939 |
$as_echo "no" >&6; } |
|
6940 |
fi |
|
6941 |
||
6942 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
6943 |
DSYMUTIL=":" |
|
6944 |
else |
|
6945 |
case $cross_compiling:$ac_tool_warned in |
|
6946 |
yes:) |
|
6947 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6948 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6949 |
ac_tool_warned=yes ;; |
|
6950 |
esac |
|
6951 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
6952 |
fi |
|
6953 |
else |
|
6954 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
6955 |
fi |
|
6956 |
||
6957 |
if test -n "$ac_tool_prefix"; then |
|
6958 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
6959 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
6960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6961 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
6962 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
5
by edam
- updated README |
6963 |
$as_echo_n "(cached) " >&6 |
6964 |
else |
|
6965 |
if test -n "$NMEDIT"; then |
|
6966 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
6967 |
else |
|
6968 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6969 |
for as_dir in $PATH |
|
6970 |
do |
|
6971 |
IFS=$as_save_IFS |
|
6972 |
test -z "$as_dir" && as_dir=. |
|
6973 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6974 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6975 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
6976 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6977 |
break 2 |
|
6978 |
fi |
|
6979 |
done |
|
6980 |
done |
|
6981 |
IFS=$as_save_IFS |
|
6982 |
||
6983 |
fi |
|
6984 |
fi |
|
6985 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
6986 |
if test -n "$NMEDIT"; then |
|
6987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
|
6988 |
$as_echo "$NMEDIT" >&6; } |
|
6989 |
else |
|
6990 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6991 |
$as_echo "no" >&6; } |
|
6992 |
fi |
|
6993 |
||
6994 |
||
6995 |
fi |
|
6996 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
6997 |
ac_ct_NMEDIT=$NMEDIT |
|
6998 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
6999 |
set dummy nmedit; ac_word=$2 |
|
7000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7001 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7002 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
5
by edam
- updated README |
7003 |
$as_echo_n "(cached) " >&6 |
7004 |
else |
|
7005 |
if test -n "$ac_ct_NMEDIT"; then |
|
7006 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
7007 |
else |
|
7008 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7009 |
for as_dir in $PATH |
|
7010 |
do |
|
7011 |
IFS=$as_save_IFS |
|
7012 |
test -z "$as_dir" && as_dir=. |
|
7013 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7014 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7015 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
7016 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7017 |
break 2 |
|
7018 |
fi |
|
7019 |
done |
|
7020 |
done |
|
7021 |
IFS=$as_save_IFS |
|
7022 |
||
7023 |
fi |
|
7024 |
fi |
|
7025 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
7026 |
if test -n "$ac_ct_NMEDIT"; then |
|
7027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
|
7028 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
7029 |
else |
|
7030 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7031 |
$as_echo "no" >&6; } |
|
7032 |
fi |
|
7033 |
||
7034 |
if test "x$ac_ct_NMEDIT" = x; then |
|
7035 |
NMEDIT=":" |
|
7036 |
else |
|
7037 |
case $cross_compiling:$ac_tool_warned in |
|
7038 |
yes:) |
|
7039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7040 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7041 |
ac_tool_warned=yes ;; |
|
7042 |
esac |
|
7043 |
NMEDIT=$ac_ct_NMEDIT |
|
7044 |
fi |
|
7045 |
else |
|
7046 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
7047 |
fi |
|
7048 |
||
7049 |
if test -n "$ac_tool_prefix"; then |
|
7050 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
7051 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
7052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7053 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7054 |
if ${ac_cv_prog_LIPO+:} false; then : |
5
by edam
- updated README |
7055 |
$as_echo_n "(cached) " >&6 |
7056 |
else |
|
7057 |
if test -n "$LIPO"; then |
|
7058 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
7059 |
else |
|
7060 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7061 |
for as_dir in $PATH |
|
7062 |
do |
|
7063 |
IFS=$as_save_IFS |
|
7064 |
test -z "$as_dir" && as_dir=. |
|
7065 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7066 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7067 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
7068 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7069 |
break 2 |
|
7070 |
fi |
|
7071 |
done |
|
7072 |
done |
|
7073 |
IFS=$as_save_IFS |
|
7074 |
||
7075 |
fi |
|
7076 |
fi |
|
7077 |
LIPO=$ac_cv_prog_LIPO |
|
7078 |
if test -n "$LIPO"; then |
|
7079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
|
7080 |
$as_echo "$LIPO" >&6; } |
|
7081 |
else |
|
7082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7083 |
$as_echo "no" >&6; } |
|
7084 |
fi |
|
7085 |
||
7086 |
||
7087 |
fi |
|
7088 |
if test -z "$ac_cv_prog_LIPO"; then |
|
7089 |
ac_ct_LIPO=$LIPO |
|
7090 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
7091 |
set dummy lipo; ac_word=$2 |
|
7092 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7093 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7094 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
5
by edam
- updated README |
7095 |
$as_echo_n "(cached) " >&6 |
7096 |
else |
|
7097 |
if test -n "$ac_ct_LIPO"; then |
|
7098 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
7099 |
else |
|
7100 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7101 |
for as_dir in $PATH |
|
7102 |
do |
|
7103 |
IFS=$as_save_IFS |
|
7104 |
test -z "$as_dir" && as_dir=. |
|
7105 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7106 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7107 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
7108 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7109 |
break 2 |
|
7110 |
fi |
|
7111 |
done |
|
7112 |
done |
|
7113 |
IFS=$as_save_IFS |
|
7114 |
||
7115 |
fi |
|
7116 |
fi |
|
7117 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
7118 |
if test -n "$ac_ct_LIPO"; then |
|
7119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
|
7120 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
7121 |
else |
|
7122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7123 |
$as_echo "no" >&6; } |
|
7124 |
fi |
|
7125 |
||
7126 |
if test "x$ac_ct_LIPO" = x; then |
|
7127 |
LIPO=":" |
|
7128 |
else |
|
7129 |
case $cross_compiling:$ac_tool_warned in |
|
7130 |
yes:) |
|
7131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7132 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7133 |
ac_tool_warned=yes ;; |
|
7134 |
esac |
|
7135 |
LIPO=$ac_ct_LIPO |
|
7136 |
fi |
|
7137 |
else |
|
7138 |
LIPO="$ac_cv_prog_LIPO" |
|
7139 |
fi |
|
7140 |
||
7141 |
if test -n "$ac_tool_prefix"; then |
|
7142 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
7143 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
7144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7145 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7146 |
if ${ac_cv_prog_OTOOL+:} false; then : |
5
by edam
- updated README |
7147 |
$as_echo_n "(cached) " >&6 |
7148 |
else |
|
7149 |
if test -n "$OTOOL"; then |
|
7150 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
7151 |
else |
|
7152 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7153 |
for as_dir in $PATH |
|
7154 |
do |
|
7155 |
IFS=$as_save_IFS |
|
7156 |
test -z "$as_dir" && as_dir=. |
|
7157 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7158 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7159 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
7160 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7161 |
break 2 |
|
7162 |
fi |
|
7163 |
done |
|
7164 |
done |
|
7165 |
IFS=$as_save_IFS |
|
7166 |
||
7167 |
fi |
|
7168 |
fi |
|
7169 |
OTOOL=$ac_cv_prog_OTOOL |
|
7170 |
if test -n "$OTOOL"; then |
|
7171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
|
7172 |
$as_echo "$OTOOL" >&6; } |
|
7173 |
else |
|
7174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7175 |
$as_echo "no" >&6; } |
|
7176 |
fi |
|
7177 |
||
7178 |
||
7179 |
fi |
|
7180 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
7181 |
ac_ct_OTOOL=$OTOOL |
|
7182 |
# Extract the first word of "otool", so it can be a program name with args. |
|
7183 |
set dummy otool; ac_word=$2 |
|
7184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7185 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7186 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
5
by edam
- updated README |
7187 |
$as_echo_n "(cached) " >&6 |
7188 |
else |
|
7189 |
if test -n "$ac_ct_OTOOL"; then |
|
7190 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
7191 |
else |
|
7192 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7193 |
for as_dir in $PATH |
|
7194 |
do |
|
7195 |
IFS=$as_save_IFS |
|
7196 |
test -z "$as_dir" && as_dir=. |
|
7197 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7198 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7199 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
7200 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7201 |
break 2 |
|
7202 |
fi |
|
7203 |
done |
|
7204 |
done |
|
7205 |
IFS=$as_save_IFS |
|
7206 |
||
7207 |
fi |
|
7208 |
fi |
|
7209 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
7210 |
if test -n "$ac_ct_OTOOL"; then |
|
7211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
|
7212 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
7213 |
else |
|
7214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7215 |
$as_echo "no" >&6; } |
|
7216 |
fi |
|
7217 |
||
7218 |
if test "x$ac_ct_OTOOL" = x; then |
|
7219 |
OTOOL=":" |
|
7220 |
else |
|
7221 |
case $cross_compiling:$ac_tool_warned in |
|
7222 |
yes:) |
|
7223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7224 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7225 |
ac_tool_warned=yes ;; |
|
7226 |
esac |
|
7227 |
OTOOL=$ac_ct_OTOOL |
|
7228 |
fi |
|
7229 |
else |
|
7230 |
OTOOL="$ac_cv_prog_OTOOL" |
|
7231 |
fi |
|
7232 |
||
7233 |
if test -n "$ac_tool_prefix"; then |
|
7234 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
7235 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
7236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7237 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7238 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
5
by edam
- updated README |
7239 |
$as_echo_n "(cached) " >&6 |
7240 |
else |
|
7241 |
if test -n "$OTOOL64"; then |
|
7242 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
7243 |
else |
|
7244 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7245 |
for as_dir in $PATH |
|
7246 |
do |
|
7247 |
IFS=$as_save_IFS |
|
7248 |
test -z "$as_dir" && as_dir=. |
|
7249 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7250 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7251 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
7252 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7253 |
break 2 |
|
7254 |
fi |
|
7255 |
done |
|
7256 |
done |
|
7257 |
IFS=$as_save_IFS |
|
7258 |
||
7259 |
fi |
|
7260 |
fi |
|
7261 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
7262 |
if test -n "$OTOOL64"; then |
|
7263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
|
7264 |
$as_echo "$OTOOL64" >&6; } |
|
7265 |
else |
|
7266 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7267 |
$as_echo "no" >&6; } |
|
7268 |
fi |
|
7269 |
||
7270 |
||
7271 |
fi |
|
7272 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
7273 |
ac_ct_OTOOL64=$OTOOL64 |
|
7274 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
7275 |
set dummy otool64; ac_word=$2 |
|
7276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7277 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
19
by edam
updated autotols stuff |
7278 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
5
by edam
- updated README |
7279 |
$as_echo_n "(cached) " >&6 |
7280 |
else |
|
7281 |
if test -n "$ac_ct_OTOOL64"; then |
|
7282 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
7283 |
else |
|
7284 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7285 |
for as_dir in $PATH |
|
7286 |
do |
|
7287 |
IFS=$as_save_IFS |
|
7288 |
test -z "$as_dir" && as_dir=. |
|
7289 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7290 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7291 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
7292 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7293 |
break 2 |
|
7294 |
fi |
|
7295 |
done |
|
7296 |
done |
|
7297 |
IFS=$as_save_IFS |
|
7298 |
||
7299 |
fi |
|
7300 |
fi |
|
7301 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
7302 |
if test -n "$ac_ct_OTOOL64"; then |
|
7303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
|
7304 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
7305 |
else |
|
7306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7307 |
$as_echo "no" >&6; } |
|
7308 |
fi |
|
7309 |
||
7310 |
if test "x$ac_ct_OTOOL64" = x; then |
|
7311 |
OTOOL64=":" |
|
7312 |
else |
|
7313 |
case $cross_compiling:$ac_tool_warned in |
|
7314 |
yes:) |
|
7315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7316 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7317 |
ac_tool_warned=yes ;; |
|
7318 |
esac |
|
7319 |
OTOOL64=$ac_ct_OTOOL64 |
|
7320 |
fi |
|
7321 |
else |
|
7322 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
7323 |
fi |
|
7324 |
||
7325 |
||
7326 |
||
7327 |
||
7328 |
||
7329 |
||
7330 |
||
7331 |
||
7332 |
||
7333 |
||
7334 |
||
7335 |
||
7336 |
||
7337 |
||
7338 |
||
7339 |
||
7340 |
||
7341 |
||
7342 |
||
7343 |
||
7344 |
||
7345 |
||
7346 |
||
7347 |
||
7348 |
||
7349 |
||
7350 |
||
7351 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
|
7352 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
19
by edam
updated autotols stuff |
7353 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
5
by edam
- updated README |
7354 |
$as_echo_n "(cached) " >&6 |
7355 |
else |
|
7356 |
lt_cv_apple_cc_single_mod=no |
|
7357 |
if test -z "${LT_MULTI_MODULE}"; then |
|
7358 |
# By default we will add the -single_module flag. You can override |
|
7359 |
# by either setting the environment variable LT_MULTI_MODULE |
|
7360 |
# non-empty at configure time, or by adding -multi_module to the |
|
7361 |
# link flags. |
|
7362 |
rm -rf libconftest.dylib* |
|
7363 |
echo "int foo(void){return 1;}" > conftest.c |
|
7364 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7365 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
7366 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7367 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
7368 |
_lt_result=$? |
|
19
by edam
updated autotols stuff |
7369 |
# If there is a non-empty error log, and "single_module" |
7370 |
# appears in it, assume the flag caused a linker warning |
|
7371 |
if test -s conftest.err && $GREP single_module conftest.err; then |
|
7372 |
cat conftest.err >&5 |
|
7373 |
# Otherwise, if the output was created with a 0 exit code from |
|
7374 |
# the compiler, it worked. |
|
7375 |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
|
5
by edam
- updated README |
7376 |
lt_cv_apple_cc_single_mod=yes |
7377 |
else |
|
7378 |
cat conftest.err >&5 |
|
7379 |
fi |
|
7380 |
rm -rf libconftest.dylib* |
|
7381 |
rm -f conftest.* |
|
7382 |
fi |
|
7383 |
fi |
|
7384 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
|
7385 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
19
by edam
updated autotols stuff |
7386 |
|
5
by edam
- updated README |
7387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7388 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
19
by edam
updated autotols stuff |
7389 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
5
by edam
- updated README |
7390 |
$as_echo_n "(cached) " >&6 |
7391 |
else |
|
7392 |
lt_cv_ld_exported_symbols_list=no |
|
7393 |
save_LDFLAGS=$LDFLAGS |
|
7394 |
echo "_main" > conftest.sym |
|
7395 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
7396 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7397 |
/* end confdefs.h. */ |
|
7398 |
||
7399 |
int |
|
7400 |
main () |
|
7401 |
{ |
|
7402 |
||
7403 |
; |
|
7404 |
return 0; |
|
7405 |
} |
|
7406 |
_ACEOF |
|
7407 |
if ac_fn_c_try_link "$LINENO"; then : |
|
7408 |
lt_cv_ld_exported_symbols_list=yes |
|
7409 |
else |
|
7410 |
lt_cv_ld_exported_symbols_list=no |
|
7411 |
fi |
|
7412 |
rm -f core conftest.err conftest.$ac_objext \ |
|
7413 |
conftest$ac_exeext conftest.$ac_ext |
|
7414 |
LDFLAGS="$save_LDFLAGS" |
|
7415 |
||
7416 |
fi |
|
7417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
7418 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
19
by edam
updated autotols stuff |
7419 |
|
7420 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
|
7421 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
|
7422 |
if ${lt_cv_ld_force_load+:} false; then : |
|
7423 |
$as_echo_n "(cached) " >&6 |
|
7424 |
else |
|
7425 |
lt_cv_ld_force_load=no |
|
7426 |
cat > conftest.c << _LT_EOF |
|
7427 |
int forced_loaded() { return 2;} |
|
7428 |
_LT_EOF |
|
7429 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
|
7430 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
|
7431 |
echo "$AR cru libconftest.a conftest.o" >&5 |
|
7432 |
$AR cru libconftest.a conftest.o 2>&5 |
|
7433 |
echo "$RANLIB libconftest.a" >&5 |
|
7434 |
$RANLIB libconftest.a 2>&5 |
|
7435 |
cat > conftest.c << _LT_EOF |
|
7436 |
int main() { return 0;} |
|
7437 |
_LT_EOF |
|
7438 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
|
7439 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
|
7440 |
_lt_result=$? |
|
7441 |
if test -s conftest.err && $GREP force_load conftest.err; then |
|
7442 |
cat conftest.err >&5 |
|
7443 |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
|
7444 |
lt_cv_ld_force_load=yes |
|
7445 |
else |
|
7446 |
cat conftest.err >&5 |
|
7447 |
fi |
|
7448 |
rm -f conftest.err libconftest.a conftest conftest.c |
|
7449 |
rm -rf conftest.dSYM |
|
7450 |
||
7451 |
fi |
|
7452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
|
7453 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
|
5
by edam
- updated README |
7454 |
case $host_os in |
7455 |
rhapsody* | darwin1.[012]) |
|
7456 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
7457 |
darwin1.*) |
|
7458 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7459 |
darwin*) # darwin 5.x on |
|
7460 |
# if running on 10.5 or later, the deployment target defaults |
|
7461 |
# to the OS version, if on x86, and 10.4, the deployment |
|
7462 |
# target defaults to 10.4. Don't you love it? |
|
7463 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
7464 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
7465 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7466 |
10.[012]*) |
|
7467 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7468 |
10.*) |
|
7469 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7470 |
esac |
|
7471 |
;; |
|
7472 |
esac |
|
7473 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
7474 |
_lt_dar_single_mod='$single_module' |
|
7475 |
fi |
|
7476 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
7477 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
7478 |
else |
|
7479 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
7480 |
fi |
|
19
by edam
updated autotols stuff |
7481 |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
5
by edam
- updated README |
7482 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7483 |
else |
|
7484 |
_lt_dsymutil= |
|
7485 |
fi |
|
7486 |
;; |
|
7487 |
esac |
|
7488 |
||
7489 |
ac_ext=c |
|
7490 |
ac_cpp='$CPP $CPPFLAGS' |
|
7491 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7492 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7493 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
7495 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
7496 |
# On Suns, sometimes $CPP names a directory. |
|
7497 |
if test -n "$CPP" && test -d "$CPP"; then |
|
7498 |
CPP= |
|
7499 |
fi |
|
7500 |
if test -z "$CPP"; then |
|
19
by edam
updated autotols stuff |
7501 |
if ${ac_cv_prog_CPP+:} false; then : |
5
by edam
- updated README |
7502 |
$as_echo_n "(cached) " >&6 |
7503 |
else |
|
7504 |
# Double quotes because CPP needs to be expanded |
|
7505 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
7506 |
do |
|
7507 |
ac_preproc_ok=false |
|
7508 |
for ac_c_preproc_warn_flag in '' yes |
|
7509 |
do |
|
7510 |
# Use a header file that comes with gcc, so configuring glibc |
|
7511 |
# with a fresh cross-compiler works. |
|
7512 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7513 |
# <limits.h> exists even on freestanding compilers. |
|
7514 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
7515 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
7516 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7517 |
/* end confdefs.h. */ |
|
7518 |
#ifdef __STDC__ |
|
7519 |
# include <limits.h> |
|
7520 |
#else |
|
7521 |
# include <assert.h> |
|
7522 |
#endif |
|
7523 |
Syntax error |
|
7524 |
_ACEOF |
|
7525 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7526 |
||
7527 |
else |
|
7528 |
# Broken: fails on valid input. |
|
7529 |
continue |
|
7530 |
fi |
|
19
by edam
updated autotols stuff |
7531 |
rm -f conftest.err conftest.i conftest.$ac_ext |
5
by edam
- updated README |
7532 |
|
7533 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
7534 |
# can be detected and how. |
|
7535 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7536 |
/* end confdefs.h. */ |
|
7537 |
#include <ac_nonexistent.h> |
|
7538 |
_ACEOF |
|
7539 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7540 |
# Broken: success on invalid input. |
|
7541 |
continue |
|
7542 |
else |
|
7543 |
# Passes both tests. |
|
7544 |
ac_preproc_ok=: |
|
7545 |
break |
|
7546 |
fi |
|
19
by edam
updated autotols stuff |
7547 |
rm -f conftest.err conftest.i conftest.$ac_ext |
5
by edam
- updated README |
7548 |
|
7549 |
done |
|
7550 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
19
by edam
updated autotols stuff |
7551 |
rm -f conftest.i conftest.err conftest.$ac_ext |
5
by edam
- updated README |
7552 |
if $ac_preproc_ok; then : |
7553 |
break |
|
7554 |
fi |
|
7555 |
||
7556 |
done |
|
7557 |
ac_cv_prog_CPP=$CPP |
|
7558 |
||
7559 |
fi |
|
7560 |
CPP=$ac_cv_prog_CPP |
|
7561 |
else |
|
7562 |
ac_cv_prog_CPP=$CPP |
|
7563 |
fi |
|
7564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
7565 |
$as_echo "$CPP" >&6; } |
|
7566 |
ac_preproc_ok=false |
|
7567 |
for ac_c_preproc_warn_flag in '' yes |
|
7568 |
do |
|
7569 |
# Use a header file that comes with gcc, so configuring glibc |
|
7570 |
# with a fresh cross-compiler works. |
|
7571 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7572 |
# <limits.h> exists even on freestanding compilers. |
|
7573 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
7574 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
7575 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7576 |
/* end confdefs.h. */ |
|
7577 |
#ifdef __STDC__ |
|
7578 |
# include <limits.h> |
|
7579 |
#else |
|
7580 |
# include <assert.h> |
|
7581 |
#endif |
|
7582 |
Syntax error |
|
7583 |
_ACEOF |
|
7584 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7585 |
||
7586 |
else |
|
7587 |
# Broken: fails on valid input. |
|
7588 |
continue |
|
7589 |
fi |
|
19
by edam
updated autotols stuff |
7590 |
rm -f conftest.err conftest.i conftest.$ac_ext |
5
by edam
- updated README |
7591 |
|
7592 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
7593 |
# can be detected and how. |
|
7594 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7595 |
/* end confdefs.h. */ |
|
7596 |
#include <ac_nonexistent.h> |
|
7597 |
_ACEOF |
|
7598 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7599 |
# Broken: success on invalid input. |
|
7600 |
continue |
|
7601 |
else |
|
7602 |
# Passes both tests. |
|
7603 |
ac_preproc_ok=: |
|
7604 |
break |
|
7605 |
fi |
|
19
by edam
updated autotols stuff |
7606 |
rm -f conftest.err conftest.i conftest.$ac_ext |
5
by edam
- updated README |
7607 |
|
7608 |
done |
|
7609 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
19
by edam
updated autotols stuff |
7610 |
rm -f conftest.i conftest.err conftest.$ac_ext |
5
by edam
- updated README |
7611 |
if $ac_preproc_ok; then : |
7612 |
||
7613 |
else |
|
7614 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
7615 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
7616 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7617 |
See \`config.log' for more details" "$LINENO" 5; } |
|
5
by edam
- updated README |
7618 |
fi |
7619 |
||
7620 |
ac_ext=c |
|
7621 |
ac_cpp='$CPP $CPPFLAGS' |
|
7622 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7623 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7624 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7625 |
||
7626 |
||
7627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
7628 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
19
by edam
updated autotols stuff |
7629 |
if ${ac_cv_header_stdc+:} false; then : |
5
by edam
- updated README |
7630 |
$as_echo_n "(cached) " >&6 |
7631 |
else |
|
7632 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7633 |
/* end confdefs.h. */ |
|
7634 |
#include <stdlib.h> |
|
7635 |
#include <stdarg.h> |
|
7636 |
#include <string.h> |
|
7637 |
#include <float.h> |
|
7638 |
||
7639 |
int |
|
7640 |
main () |
|
7641 |
{ |
|
7642 |
||
7643 |
; |
|
7644 |
return 0; |
|
7645 |
} |
|
7646 |
_ACEOF |
|
7647 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
7648 |
ac_cv_header_stdc=yes |
|
7649 |
else |
|
7650 |
ac_cv_header_stdc=no |
|
7651 |
fi |
|
7652 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7653 |
||
7654 |
if test $ac_cv_header_stdc = yes; then |
|
7655 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
7656 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7657 |
/* end confdefs.h. */ |
|
7658 |
#include <string.h> |
|
7659 |
||
7660 |
_ACEOF |
|
7661 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7662 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
7663 |
||
7664 |
else |
|
7665 |
ac_cv_header_stdc=no |
|
7666 |
fi |
|
7667 |
rm -f conftest* |
|
7668 |
||
7669 |
fi |
|
7670 |
||
7671 |
if test $ac_cv_header_stdc = yes; then |
|
7672 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
7673 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7674 |
/* end confdefs.h. */ |
|
7675 |
#include <stdlib.h> |
|
7676 |
||
7677 |
_ACEOF |
|
7678 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7679 |
$EGREP "free" >/dev/null 2>&1; then : |
|
7680 |
||
7681 |
else |
|
7682 |
ac_cv_header_stdc=no |
|
7683 |
fi |
|
7684 |
rm -f conftest* |
|
7685 |
||
7686 |
fi |
|
7687 |
||
7688 |
if test $ac_cv_header_stdc = yes; then |
|
7689 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
7690 |
if test "$cross_compiling" = yes; then : |
|
7691 |
: |
|
7692 |
else |
|
7693 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7694 |
/* end confdefs.h. */ |
|
7695 |
#include <ctype.h> |
|
7696 |
#include <stdlib.h> |
|
7697 |
#if ((' ' & 0x0FF) == 0x020) |
|
7698 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
7699 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
7700 |
#else |
|
7701 |
# define ISLOWER(c) \ |
|
7702 |
(('a' <= (c) && (c) <= 'i') \ |
|
7703 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
7704 |
|| ('s' <= (c) && (c) <= 'z')) |
|
7705 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
7706 |
#endif |
|
7707 |
||
7708 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
7709 |
int |
|
7710 |
main () |
|
7711 |
{ |
|
7712 |
int i; |
|
7713 |
for (i = 0; i < 256; i++) |
|
7714 |
if (XOR (islower (i), ISLOWER (i)) |
|
7715 |
|| toupper (i) != TOUPPER (i)) |
|
7716 |
return 2; |
|
7717 |
return 0; |
|
7718 |
} |
|
7719 |
_ACEOF |
|
7720 |
if ac_fn_c_try_run "$LINENO"; then : |
|
7721 |
||
7722 |
else |
|
7723 |
ac_cv_header_stdc=no |
|
7724 |
fi |
|
7725 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
7726 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
7727 |
fi |
|
7728 |
||
7729 |
fi |
|
7730 |
fi |
|
7731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
7732 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
7733 |
if test $ac_cv_header_stdc = yes; then |
|
7734 |
||
7735 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
7736 |
||
7737 |
fi |
|
7738 |
||
7739 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
7740 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7741 |
inttypes.h stdint.h unistd.h |
|
7742 |
do : |
|
7743 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7744 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
7745 |
" |
|
19
by edam
updated autotols stuff |
7746 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5
by edam
- updated README |
7747 |
cat >>confdefs.h <<_ACEOF |
7748 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
7749 |
_ACEOF |
|
7750 |
||
7751 |
fi |
|
7752 |
||
7753 |
done |
|
7754 |
||
7755 |
||
7756 |
for ac_header in dlfcn.h |
|
7757 |
do : |
|
7758 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
|
7759 |
" |
|
19
by edam
updated autotols stuff |
7760 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
5
by edam
- updated README |
7761 |
cat >>confdefs.h <<_ACEOF |
7762 |
#define HAVE_DLFCN_H 1 |
|
7763 |
_ACEOF |
|
7764 |
||
7765 |
fi |
|
7766 |
||
7767 |
done |
|
7768 |
||
7769 |
||
7770 |
||
19
by edam
updated autotols stuff |
7771 |
|
7772 |
func_stripname_cnf () |
|
7773 |
{ |
|
7774 |
case ${2} in |
|
7775 |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
|
7776 |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
|
7777 |
esac |
|
7778 |
} # func_stripname_cnf |
|
7779 |
||
7780 |
||
7781 |
||
7782 |
||
7783 |
||
5
by edam
- updated README |
7784 |
# Set options |
7785 |
||
7786 |
||
7787 |
||
7788 |
enable_dlopen=no |
|
7789 |
||
7790 |
||
7791 |
enable_win32_dll=no |
|
7792 |
||
7793 |
||
7794 |
# Check whether --enable-shared was given. |
|
7795 |
if test "${enable_shared+set}" = set; then : |
|
7796 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
7797 |
case $enableval in |
|
7798 |
yes) enable_shared=yes ;; |
|
7799 |
no) enable_shared=no ;; |
|
7800 |
*) |
|
7801 |
enable_shared=no |
|
7802 |
# Look at the argument we got. We use all the common list separators. |
|
7803 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7804 |
for pkg in $enableval; do |
|
7805 |
IFS="$lt_save_ifs" |
|
7806 |
if test "X$pkg" = "X$p"; then |
|
7807 |
enable_shared=yes |
|
7808 |
fi |
|
7809 |
done |
|
7810 |
IFS="$lt_save_ifs" |
|
7811 |
;; |
|
7812 |
esac |
|
7813 |
else |
|
7814 |
enable_shared=yes |
|
7815 |
fi |
|
7816 |
||
7817 |
||
7818 |
||
7819 |
||
7820 |
||
7821 |
||
7822 |
||
7823 |
||
7824 |
||
7825 |
# Check whether --enable-static was given. |
|
7826 |
if test "${enable_static+set}" = set; then : |
|
7827 |
enableval=$enable_static; p=${PACKAGE-default} |
|
7828 |
case $enableval in |
|
7829 |
yes) enable_static=yes ;; |
|
7830 |
no) enable_static=no ;; |
|
7831 |
*) |
|
7832 |
enable_static=no |
|
7833 |
# Look at the argument we got. We use all the common list separators. |
|
7834 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7835 |
for pkg in $enableval; do |
|
7836 |
IFS="$lt_save_ifs" |
|
7837 |
if test "X$pkg" = "X$p"; then |
|
7838 |
enable_static=yes |
|
7839 |
fi |
|
7840 |
done |
|
7841 |
IFS="$lt_save_ifs" |
|
7842 |
;; |
|
7843 |
esac |
|
7844 |
else |
|
7845 |
enable_static=yes |
|
7846 |
fi |
|
7847 |
||
7848 |
||
7849 |
||
7850 |
||
7851 |
||
7852 |
||
7853 |
||
7854 |
||
7855 |
||
7856 |
||
7857 |
# Check whether --with-pic was given. |
|
7858 |
if test "${with_pic+set}" = set; then : |
|
19
by edam
updated autotols stuff |
7859 |
withval=$with_pic; lt_p=${PACKAGE-default} |
7860 |
case $withval in |
|
7861 |
yes|no) pic_mode=$withval ;; |
|
7862 |
*) |
|
7863 |
pic_mode=default |
|
7864 |
# Look at the argument we got. We use all the common list separators. |
|
7865 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7866 |
for lt_pkg in $withval; do |
|
7867 |
IFS="$lt_save_ifs" |
|
7868 |
if test "X$lt_pkg" = "X$lt_p"; then |
|
7869 |
pic_mode=yes |
|
7870 |
fi |
|
7871 |
done |
|
7872 |
IFS="$lt_save_ifs" |
|
7873 |
;; |
|
7874 |
esac |
|
5
by edam
- updated README |
7875 |
else |
7876 |
pic_mode=default |
|
7877 |
fi |
|
7878 |
||
7879 |
||
7880 |
test -z "$pic_mode" && pic_mode=default |
|
7881 |
||
7882 |
||
7883 |
||
7884 |
||
7885 |
||
7886 |
||
7887 |
||
7888 |
# Check whether --enable-fast-install was given. |
|
7889 |
if test "${enable_fast_install+set}" = set; then : |
|
7890 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
7891 |
case $enableval in |
|
7892 |
yes) enable_fast_install=yes ;; |
|
7893 |
no) enable_fast_install=no ;; |
|
7894 |
*) |
|
7895 |
enable_fast_install=no |
|
7896 |
# Look at the argument we got. We use all the common list separators. |
|
7897 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7898 |
for pkg in $enableval; do |
|
7899 |
IFS="$lt_save_ifs" |
|
7900 |
if test "X$pkg" = "X$p"; then |
|
7901 |
enable_fast_install=yes |
|
7902 |
fi |
|
7903 |
done |
|
7904 |
IFS="$lt_save_ifs" |
|
7905 |
;; |
|
7906 |
esac |
|
7907 |
else |
|
7908 |
enable_fast_install=yes |
|
7909 |
fi |
|
7910 |
||
7911 |
||
7912 |
||
7913 |
||
7914 |
||
7915 |
||
7916 |
||
7917 |
||
7918 |
||
7919 |
||
7920 |
||
7921 |
# This can be used to rebuild libtool when needed |
|
7922 |
LIBTOOL_DEPS="$ltmain" |
|
7923 |
||
7924 |
# Always use our own libtool. |
|
7925 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
7926 |
||
7927 |
||
7928 |
||
7929 |
||
7930 |
||
7931 |
||
7932 |
||
7933 |
||
7934 |
||
7935 |
||
7936 |
||
7937 |
||
7938 |
||
7939 |
||
7940 |
||
7941 |
||
7942 |
||
7943 |
||
7944 |
||
7945 |
||
7946 |
||
7947 |
||
7948 |
||
7949 |
||
7950 |
||
19
by edam
updated autotols stuff |
7951 |
|
7952 |
||
7953 |
||
7954 |
||
7955 |
||
5
by edam
- updated README |
7956 |
test -z "$LN_S" && LN_S="ln -s" |
7957 |
||
7958 |
||
7959 |
||
7960 |
||
7961 |
||
7962 |
||
7963 |
||
7964 |
||
7965 |
||
7966 |
||
7967 |
||
7968 |
||
7969 |
||
7970 |
||
7971 |
if test -n "${ZSH_VERSION+set}" ; then |
|
7972 |
setopt NO_GLOB_SUBST |
|
7973 |
fi |
|
7974 |
||
7975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
|
7976 |
$as_echo_n "checking for objdir... " >&6; } |
|
19
by edam
updated autotols stuff |
7977 |
if ${lt_cv_objdir+:} false; then : |
5
by edam
- updated README |
7978 |
$as_echo_n "(cached) " >&6 |
7979 |
else |
|
7980 |
rm -f .libs 2>/dev/null |
|
7981 |
mkdir .libs 2>/dev/null |
|
7982 |
if test -d .libs; then |
|
7983 |
lt_cv_objdir=.libs |
|
7984 |
else |
|
7985 |
# MS-DOS does not allow filenames that begin with a dot. |
|
7986 |
lt_cv_objdir=_libs |
|
7987 |
fi |
|
7988 |
rmdir .libs 2>/dev/null |
|
7989 |
fi |
|
7990 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
|
7991 |
$as_echo "$lt_cv_objdir" >&6; } |
|
7992 |
objdir=$lt_cv_objdir |
|
7993 |
||
7994 |
||
7995 |
||
7996 |
||
7997 |
||
7998 |
cat >>confdefs.h <<_ACEOF |
|
7999 |
#define LT_OBJDIR "$lt_cv_objdir/" |
|
8000 |
_ACEOF |
|
8001 |
||
8002 |
||
8003 |
||
8004 |
||
8005 |
case $host_os in |
|
8006 |
aix3*) |
|
8007 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
8008 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
8009 |
# vanish in a puff of smoke. |
|
8010 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
8011 |
COLLECT_NAMES= |
|
8012 |
export COLLECT_NAMES |
|
8013 |
fi |
|
8014 |
;; |
|
8015 |
esac |
|
8016 |
||
8017 |
# Global variables: |
|
8018 |
ofile=libtool |
|
8019 |
can_build_shared=yes |
|
8020 |
||
8021 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
|
8022 |
# which needs '.lib'). |
|
8023 |
libext=a |
|
8024 |
||
8025 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
8026 |
||
8027 |
old_CC="$CC" |
|
8028 |
old_CFLAGS="$CFLAGS" |
|
8029 |
||
8030 |
# Set sane defaults for various variables |
|
8031 |
test -z "$CC" && CC=cc |
|
8032 |
test -z "$LTCC" && LTCC=$CC |
|
8033 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
8034 |
test -z "$LD" && LD=ld |
|
8035 |
test -z "$ac_objext" && ac_objext=o |
|
8036 |
||
8037 |
for cc_temp in $compiler""; do |
|
8038 |
case $cc_temp in |
|
8039 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
8040 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
8041 |
\-*) ;; |
|
8042 |
*) break;; |
|
8043 |
esac |
|
8044 |
done |
|
19
by edam
updated autotols stuff |
8045 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
5
by edam
- updated README |
8046 |
|
8047 |
||
8048 |
# Only perform the check for file, if the check method requires it |
|
8049 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
8050 |
case $deplibs_check_method in |
|
8051 |
file_magic*) |
|
8052 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
8053 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
|
8054 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
19
by edam
updated autotols stuff |
8055 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
5
by edam
- updated README |
8056 |
$as_echo_n "(cached) " >&6 |
8057 |
else |
|
8058 |
case $MAGIC_CMD in |
|
8059 |
[\\/*] | ?:[\\/]*) |
|
8060 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
8061 |
;; |
|
8062 |
*) |
|
8063 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
8064 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
8065 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8066 |
for ac_dir in $ac_dummy; do |
|
8067 |
IFS="$lt_save_ifs" |
|
8068 |
test -z "$ac_dir" && ac_dir=. |
|
8069 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
8070 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
8071 |
if test -n "$file_magic_test_file"; then |
|
8072 |
case $deplibs_check_method in |
|
8073 |
"file_magic "*) |
|
8074 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8075 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8076 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8077 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8078 |
: |
|
8079 |
else |
|
8080 |
cat <<_LT_EOF 1>&2 |
|
8081 |
||
8082 |
*** Warning: the command libtool uses to detect shared libraries, |
|
8083 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
8084 |
*** The result is that libtool may fail to recognize shared libraries |
|
8085 |
*** as such. This will affect the creation of libtool libraries that |
|
8086 |
*** depend on shared libraries, but programs linked with such libtool |
|
8087 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
8088 |
*** may want to report the problem to your system manager and/or to |
|
8089 |
*** bug-libtool@gnu.org |
|
8090 |
||
8091 |
_LT_EOF |
|
8092 |
fi ;; |
|
8093 |
esac |
|
8094 |
fi |
|
8095 |
break |
|
8096 |
fi |
|
8097 |
done |
|
8098 |
IFS="$lt_save_ifs" |
|
8099 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
8100 |
;; |
|
8101 |
esac |
|
8102 |
fi |
|
8103 |
||
8104 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8105 |
if test -n "$MAGIC_CMD"; then |
|
8106 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
8107 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8108 |
else |
|
8109 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8110 |
$as_echo "no" >&6; } |
|
8111 |
fi |
|
8112 |
||
8113 |
||
8114 |
||
8115 |
||
8116 |
||
8117 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
8118 |
if test -n "$ac_tool_prefix"; then |
|
8119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
|
8120 |
$as_echo_n "checking for file... " >&6; } |
|
19
by edam
updated autotols stuff |
8121 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
5
by edam
- updated README |
8122 |
$as_echo_n "(cached) " >&6 |
8123 |
else |
|
8124 |
case $MAGIC_CMD in |
|
8125 |
[\\/*] | ?:[\\/]*) |
|
8126 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
8127 |
;; |
|
8128 |
*) |
|
8129 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
8130 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
8131 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8132 |
for ac_dir in $ac_dummy; do |
|
8133 |
IFS="$lt_save_ifs" |
|
8134 |
test -z "$ac_dir" && ac_dir=. |
|
8135 |
if test -f $ac_dir/file; then |
|
8136 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
8137 |
if test -n "$file_magic_test_file"; then |
|
8138 |
case $deplibs_check_method in |
|
8139 |
"file_magic "*) |
|
8140 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8141 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8142 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8143 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8144 |
: |
|
8145 |
else |
|
8146 |
cat <<_LT_EOF 1>&2 |
|
8147 |
||
8148 |
*** Warning: the command libtool uses to detect shared libraries, |
|
8149 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
8150 |
*** The result is that libtool may fail to recognize shared libraries |
|
8151 |
*** as such. This will affect the creation of libtool libraries that |
|
8152 |
*** depend on shared libraries, but programs linked with such libtool |
|
8153 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
8154 |
*** may want to report the problem to your system manager and/or to |
|
8155 |
*** bug-libtool@gnu.org |
|
8156 |
||
8157 |
_LT_EOF |
|
8158 |
fi ;; |
|
8159 |
esac |
|
8160 |
fi |
|
8161 |
break |
|
8162 |
fi |
|
8163 |
done |
|
8164 |
IFS="$lt_save_ifs" |
|
8165 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
8166 |
;; |
|
8167 |
esac |
|
8168 |
fi |
|
8169 |
||
8170 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8171 |
if test -n "$MAGIC_CMD"; then |
|
8172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
8173 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8174 |
else |
|
8175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8176 |
$as_echo "no" >&6; } |
|
8177 |
fi |
|
8178 |
||
8179 |
||
8180 |
else |
|
8181 |
MAGIC_CMD=: |
|
8182 |
fi |
|
8183 |
fi |
|
8184 |
||
8185 |
fi |
|
8186 |
;; |
|
8187 |
esac |
|
8188 |
||
8189 |
# Use C for the default configuration in the libtool script |
|
8190 |
||
8191 |
lt_save_CC="$CC" |
|
8192 |
ac_ext=c |
|
8193 |
ac_cpp='$CPP $CPPFLAGS' |
|
8194 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8195 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8196 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8197 |
||
8198 |
||
8199 |
# Source file extension for C test sources. |
|
8200 |
ac_ext=c |
|
8201 |
||
8202 |
# Object file extension for compiled C test sources. |
|
8203 |
objext=o |
|
8204 |
objext=$objext |
|
8205 |
||
8206 |
# Code to be used in simple compile tests |
|
8207 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
8208 |
||
8209 |
# Code to be used in simple link tests |
|
8210 |
lt_simple_link_test_code='int main(){return(0);}' |
|
8211 |
||
8212 |
||
8213 |
||
8214 |
||
8215 |
||
8216 |
||
8217 |
||
8218 |
# If no C compiler was specified, use CC. |
|
8219 |
LTCC=${LTCC-"$CC"} |
|
8220 |
||
8221 |
# If no C compiler flags were specified, use CFLAGS. |
|
8222 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
8223 |
||
8224 |
# Allow CC to be a program name with arguments. |
|
8225 |
compiler=$CC |
|
8226 |
||
8227 |
# Save the default compiler, since it gets overwritten when the other |
|
8228 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
8229 |
compiler_DEFAULT=$CC |
|
8230 |
||
8231 |
# save warnings/boilerplate of simple test code |
|
8232 |
ac_outfile=conftest.$ac_objext |
|
8233 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
8234 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8235 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
8236 |
$RM conftest* |
|
8237 |
||
8238 |
ac_outfile=conftest.$ac_objext |
|
8239 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
8240 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8241 |
_lt_linker_boilerplate=`cat conftest.err` |
|
8242 |
$RM -r conftest* |
|
8243 |
||
8244 |
||
8245 |
## CAVEAT EMPTOR: |
|
8246 |
## There is no encapsulation within the following macros, do not change |
|
8247 |
## the running order or otherwise move them around unless you know exactly |
|
8248 |
## what you are doing... |
|
8249 |
if test -n "$compiler"; then |
|
8250 |
||
8251 |
lt_prog_compiler_no_builtin_flag= |
|
8252 |
||
8253 |
if test "$GCC" = yes; then |
|
19
by edam
updated autotols stuff |
8254 |
case $cc_basename in |
8255 |
nvcc*) |
|
8256 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
|
8257 |
*) |
|
8258 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
|
8259 |
esac |
|
5
by edam
- updated README |
8260 |
|
8261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
8262 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
19
by edam
updated autotols stuff |
8263 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
5
by edam
- updated README |
8264 |
$as_echo_n "(cached) " >&6 |
8265 |
else |
|
8266 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
8267 |
ac_outfile=conftest.$ac_objext |
|
8268 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8269 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
8270 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8271 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8272 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8273 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8274 |
# The option is referenced via a variable to avoid confusing sed. |
|
8275 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8276 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8277 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8278 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
8279 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
8280 |
(eval "$lt_compile" 2>conftest.err) |
8281 |
ac_status=$? |
|
8282 |
cat conftest.err >&5 |
|
19
by edam
updated autotols stuff |
8283 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
8284 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8285 |
# The compiler can only warn and ignore the option if not recognized |
|
8286 |
# So say no if there are warnings other than the usual output. |
|
19
by edam
updated autotols stuff |
8287 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
5
by edam
- updated README |
8288 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8289 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8290 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
8291 |
fi |
|
8292 |
fi |
|
8293 |
$RM conftest* |
|
8294 |
||
8295 |
fi |
|
8296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
8297 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
8298 |
||
8299 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
8300 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
8301 |
else |
|
8302 |
: |
|
8303 |
fi |
|
8304 |
||
8305 |
fi |
|
8306 |
||
8307 |
||
8308 |
||
8309 |
||
8310 |
||
8311 |
||
8312 |
lt_prog_compiler_wl= |
|
8313 |
lt_prog_compiler_pic= |
|
8314 |
lt_prog_compiler_static= |
|
8315 |
||
8316 |
||
8317 |
if test "$GCC" = yes; then |
|
8318 |
lt_prog_compiler_wl='-Wl,' |
|
8319 |
lt_prog_compiler_static='-static' |
|
8320 |
||
8321 |
case $host_os in |
|
8322 |
aix*) |
|
8323 |
# All AIX code is PIC. |
|
8324 |
if test "$host_cpu" = ia64; then |
|
8325 |
# AIX 5 now supports IA64 processor |
|
8326 |
lt_prog_compiler_static='-Bstatic' |
|
8327 |
fi |
|
8328 |
;; |
|
8329 |
||
8330 |
amigaos*) |
|
8331 |
case $host_cpu in |
|
8332 |
powerpc) |
|
8333 |
# see comment about AmigaOS4 .so support |
|
8334 |
lt_prog_compiler_pic='-fPIC' |
|
8335 |
;; |
|
8336 |
m68k) |
|
8337 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
8338 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
8339 |
# like `-m68040'. |
|
8340 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
8341 |
;; |
|
8342 |
esac |
|
8343 |
;; |
|
8344 |
||
8345 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
8346 |
# PIC is the default for these OSes. |
|
8347 |
;; |
|
8348 |
||
8349 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8350 |
# This hack is so that the source file can tell whether it is being |
|
8351 |
# built for inclusion in a dll (and should export symbols for example). |
|
8352 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
8353 |
# (--disable-auto-import) libraries |
|
8354 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8355 |
;; |
|
8356 |
||
8357 |
darwin* | rhapsody*) |
|
8358 |
# PIC is the default on this platform |
|
8359 |
# Common symbols not allowed in MH_DYLIB files |
|
8360 |
lt_prog_compiler_pic='-fno-common' |
|
8361 |
;; |
|
8362 |
||
19
by edam
updated autotols stuff |
8363 |
haiku*) |
8364 |
# PIC is the default for Haiku. |
|
8365 |
# The "-static" flag exists, but is broken. |
|
8366 |
lt_prog_compiler_static= |
|
8367 |
;; |
|
8368 |
||
5
by edam
- updated README |
8369 |
hpux*) |
8370 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
8371 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
8372 |
# sets the default TLS model and affects inlining. |
|
8373 |
case $host_cpu in |
|
8374 |
hppa*64*) |
|
8375 |
# +Z the default |
|
8376 |
;; |
|
8377 |
*) |
|
8378 |
lt_prog_compiler_pic='-fPIC' |
|
8379 |
;; |
|
8380 |
esac |
|
8381 |
;; |
|
8382 |
||
8383 |
interix[3-9]*) |
|
8384 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
8385 |
# Instead, we relocate shared libraries at runtime. |
|
8386 |
;; |
|
8387 |
||
8388 |
msdosdjgpp*) |
|
8389 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
8390 |
# on systems that don't support them. |
|
8391 |
lt_prog_compiler_can_build_shared=no |
|
8392 |
enable_shared=no |
|
8393 |
;; |
|
8394 |
||
8395 |
*nto* | *qnx*) |
|
8396 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8397 |
# it will coredump. |
|
8398 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8399 |
;; |
|
8400 |
||
8401 |
sysv4*MP*) |
|
8402 |
if test -d /usr/nec; then |
|
8403 |
lt_prog_compiler_pic=-Kconform_pic |
|
8404 |
fi |
|
8405 |
;; |
|
8406 |
||
8407 |
*) |
|
8408 |
lt_prog_compiler_pic='-fPIC' |
|
8409 |
;; |
|
8410 |
esac |
|
19
by edam
updated autotols stuff |
8411 |
|
8412 |
case $cc_basename in |
|
8413 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
8414 |
lt_prog_compiler_wl='-Xlinker ' |
|
8415 |
if test -n "$lt_prog_compiler_pic"; then |
|
8416 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
|
8417 |
fi |
|
8418 |
;; |
|
8419 |
esac |
|
5
by edam
- updated README |
8420 |
else |
8421 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
8422 |
case $host_os in |
|
8423 |
aix*) |
|
8424 |
lt_prog_compiler_wl='-Wl,' |
|
8425 |
if test "$host_cpu" = ia64; then |
|
8426 |
# AIX 5 now supports IA64 processor |
|
8427 |
lt_prog_compiler_static='-Bstatic' |
|
8428 |
else |
|
8429 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
8430 |
fi |
|
8431 |
;; |
|
8432 |
||
8433 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8434 |
# This hack is so that the source file can tell whether it is being |
|
8435 |
# built for inclusion in a dll (and should export symbols for example). |
|
8436 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8437 |
;; |
|
8438 |
||
8439 |
hpux9* | hpux10* | hpux11*) |
|
8440 |
lt_prog_compiler_wl='-Wl,' |
|
8441 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
8442 |
# not for PA HP-UX. |
|
8443 |
case $host_cpu in |
|
8444 |
hppa*64*|ia64*) |
|
8445 |
# +Z the default |
|
8446 |
;; |
|
8447 |
*) |
|
8448 |
lt_prog_compiler_pic='+Z' |
|
8449 |
;; |
|
8450 |
esac |
|
8451 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
8452 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
8453 |
;; |
|
8454 |
||
8455 |
irix5* | irix6* | nonstopux*) |
|
8456 |
lt_prog_compiler_wl='-Wl,' |
|
8457 |
# PIC (with -KPIC) is the default. |
|
8458 |
lt_prog_compiler_static='-non_shared' |
|
8459 |
;; |
|
8460 |
||
19
by edam
updated autotols stuff |
8461 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5
by edam
- updated README |
8462 |
case $cc_basename in |
8463 |
# old Intel for x86_64 which still supported -KPIC. |
|
8464 |
ecc*) |
|
8465 |
lt_prog_compiler_wl='-Wl,' |
|
8466 |
lt_prog_compiler_pic='-KPIC' |
|
8467 |
lt_prog_compiler_static='-static' |
|
8468 |
;; |
|
8469 |
# icc used to be incompatible with GCC. |
|
8470 |
# ICC 10 doesn't accept -KPIC any more. |
|
8471 |
icc* | ifort*) |
|
8472 |
lt_prog_compiler_wl='-Wl,' |
|
8473 |
lt_prog_compiler_pic='-fPIC' |
|
8474 |
lt_prog_compiler_static='-static' |
|
8475 |
;; |
|
8476 |
# Lahey Fortran 8.1. |
|
8477 |
lf95*) |
|
8478 |
lt_prog_compiler_wl='-Wl,' |
|
8479 |
lt_prog_compiler_pic='--shared' |
|
8480 |
lt_prog_compiler_static='--static' |
|
8481 |
;; |
|
19
by edam
updated autotols stuff |
8482 |
nagfor*) |
8483 |
# NAG Fortran compiler |
|
8484 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
8485 |
lt_prog_compiler_pic='-PIC' |
|
8486 |
lt_prog_compiler_static='-Bstatic' |
|
8487 |
;; |
|
8488 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
5
by edam
- updated README |
8489 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
8490 |
# which looks to be a dead project) |
|
8491 |
lt_prog_compiler_wl='-Wl,' |
|
8492 |
lt_prog_compiler_pic='-fpic' |
|
8493 |
lt_prog_compiler_static='-Bstatic' |
|
8494 |
;; |
|
8495 |
ccc*) |
|
8496 |
lt_prog_compiler_wl='-Wl,' |
|
8497 |
# All Alpha code is PIC. |
|
8498 |
lt_prog_compiler_static='-non_shared' |
|
8499 |
;; |
|
19
by edam
updated autotols stuff |
8500 |
xl* | bgxl* | bgf* | mpixl*) |
8501 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
5
by edam
- updated README |
8502 |
lt_prog_compiler_wl='-Wl,' |
8503 |
lt_prog_compiler_pic='-qpic' |
|
8504 |
lt_prog_compiler_static='-qstaticlink' |
|
8505 |
;; |
|
8506 |
*) |
|
8507 |
case `$CC -V 2>&1 | sed 5q` in |
|
19
by edam
updated autotols stuff |
8508 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8509 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
8510 |
lt_prog_compiler_pic='-KPIC' |
|
8511 |
lt_prog_compiler_static='-Bstatic' |
|
8512 |
lt_prog_compiler_wl='' |
|
8513 |
;; |
|
8514 |
*Sun\ F* | *Sun*Fortran*) |
|
8515 |
lt_prog_compiler_pic='-KPIC' |
|
8516 |
lt_prog_compiler_static='-Bstatic' |
|
8517 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8518 |
;; |
|
5
by edam
- updated README |
8519 |
*Sun\ C*) |
8520 |
# Sun C 5.9 |
|
8521 |
lt_prog_compiler_pic='-KPIC' |
|
8522 |
lt_prog_compiler_static='-Bstatic' |
|
8523 |
lt_prog_compiler_wl='-Wl,' |
|
8524 |
;; |
|
19
by edam
updated autotols stuff |
8525 |
*Intel*\ [CF]*Compiler*) |
8526 |
lt_prog_compiler_wl='-Wl,' |
|
8527 |
lt_prog_compiler_pic='-fPIC' |
|
8528 |
lt_prog_compiler_static='-static' |
|
8529 |
;; |
|
8530 |
*Portland\ Group*) |
|
8531 |
lt_prog_compiler_wl='-Wl,' |
|
8532 |
lt_prog_compiler_pic='-fpic' |
|
5
by edam
- updated README |
8533 |
lt_prog_compiler_static='-Bstatic' |
8534 |
;; |
|
8535 |
esac |
|
8536 |
;; |
|
8537 |
esac |
|
8538 |
;; |
|
8539 |
||
8540 |
newsos6) |
|
8541 |
lt_prog_compiler_pic='-KPIC' |
|
8542 |
lt_prog_compiler_static='-Bstatic' |
|
8543 |
;; |
|
8544 |
||
8545 |
*nto* | *qnx*) |
|
8546 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8547 |
# it will coredump. |
|
8548 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8549 |
;; |
|
8550 |
||
8551 |
osf3* | osf4* | osf5*) |
|
8552 |
lt_prog_compiler_wl='-Wl,' |
|
8553 |
# All OSF/1 code is PIC. |
|
8554 |
lt_prog_compiler_static='-non_shared' |
|
8555 |
;; |
|
8556 |
||
8557 |
rdos*) |
|
8558 |
lt_prog_compiler_static='-non_shared' |
|
8559 |
;; |
|
8560 |
||
8561 |
solaris*) |
|
8562 |
lt_prog_compiler_pic='-KPIC' |
|
8563 |
lt_prog_compiler_static='-Bstatic' |
|
8564 |
case $cc_basename in |
|
19
by edam
updated autotols stuff |
8565 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
5
by edam
- updated README |
8566 |
lt_prog_compiler_wl='-Qoption ld ';; |
8567 |
*) |
|
8568 |
lt_prog_compiler_wl='-Wl,';; |
|
8569 |
esac |
|
8570 |
;; |
|
8571 |
||
8572 |
sunos4*) |
|
8573 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8574 |
lt_prog_compiler_pic='-PIC' |
|
8575 |
lt_prog_compiler_static='-Bstatic' |
|
8576 |
;; |
|
8577 |
||
8578 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
8579 |
lt_prog_compiler_wl='-Wl,' |
|
8580 |
lt_prog_compiler_pic='-KPIC' |
|
8581 |
lt_prog_compiler_static='-Bstatic' |
|
8582 |
;; |
|
8583 |
||
8584 |
sysv4*MP*) |
|
8585 |
if test -d /usr/nec ;then |
|
8586 |
lt_prog_compiler_pic='-Kconform_pic' |
|
8587 |
lt_prog_compiler_static='-Bstatic' |
|
8588 |
fi |
|
8589 |
;; |
|
8590 |
||
8591 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
8592 |
lt_prog_compiler_wl='-Wl,' |
|
8593 |
lt_prog_compiler_pic='-KPIC' |
|
8594 |
lt_prog_compiler_static='-Bstatic' |
|
8595 |
;; |
|
8596 |
||
8597 |
unicos*) |
|
8598 |
lt_prog_compiler_wl='-Wl,' |
|
8599 |
lt_prog_compiler_can_build_shared=no |
|
8600 |
;; |
|
8601 |
||
8602 |
uts4*) |
|
8603 |
lt_prog_compiler_pic='-pic' |
|
8604 |
lt_prog_compiler_static='-Bstatic' |
|
8605 |
;; |
|
8606 |
||
8607 |
*) |
|
8608 |
lt_prog_compiler_can_build_shared=no |
|
8609 |
;; |
|
8610 |
esac |
|
8611 |
fi |
|
8612 |
||
8613 |
case $host_os in |
|
8614 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
8615 |
*djgpp*) |
|
8616 |
lt_prog_compiler_pic= |
|
8617 |
;; |
|
8618 |
*) |
|
8619 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
8620 |
;; |
|
8621 |
esac |
|
19
by edam
updated autotols stuff |
8622 |
|
8623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
8624 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
8625 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
8626 |
$as_echo_n "(cached) " >&6 |
|
8627 |
else |
|
8628 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
8629 |
fi |
|
8630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
8631 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
8632 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
5
by edam
- updated README |
8633 |
|
8634 |
# |
|
8635 |
# Check to make sure the PIC flag actually works. |
|
8636 |
# |
|
8637 |
if test -n "$lt_prog_compiler_pic"; then |
|
8638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
8639 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
19
by edam
updated autotols stuff |
8640 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
5
by edam
- updated README |
8641 |
$as_echo_n "(cached) " >&6 |
8642 |
else |
|
8643 |
lt_cv_prog_compiler_pic_works=no |
|
8644 |
ac_outfile=conftest.$ac_objext |
|
8645 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8646 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
|
8647 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8648 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8649 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8650 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8651 |
# The option is referenced via a variable to avoid confusing sed. |
|
8652 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8653 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8654 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8655 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
8656 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
8657 |
(eval "$lt_compile" 2>conftest.err) |
8658 |
ac_status=$? |
|
8659 |
cat conftest.err >&5 |
|
19
by edam
updated autotols stuff |
8660 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
8661 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8662 |
# The compiler can only warn and ignore the option if not recognized |
|
8663 |
# So say no if there are warnings other than the usual output. |
|
19
by edam
updated autotols stuff |
8664 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
5
by edam
- updated README |
8665 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8666 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8667 |
lt_cv_prog_compiler_pic_works=yes |
|
8668 |
fi |
|
8669 |
fi |
|
8670 |
$RM conftest* |
|
8671 |
||
8672 |
fi |
|
8673 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
|
8674 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
8675 |
||
8676 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
|
8677 |
case $lt_prog_compiler_pic in |
|
8678 |
"" | " "*) ;; |
|
8679 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
8680 |
esac |
|
8681 |
else |
|
8682 |
lt_prog_compiler_pic= |
|
8683 |
lt_prog_compiler_can_build_shared=no |
|
8684 |
fi |
|
8685 |
||
8686 |
fi |
|
8687 |
||
8688 |
||
8689 |
||
8690 |
||
8691 |
||
8692 |
||
19
by edam
updated autotols stuff |
8693 |
|
8694 |
||
8695 |
||
8696 |
||
8697 |
||
5
by edam
- updated README |
8698 |
# |
8699 |
# Check to make sure the static flag actually works. |
|
8700 |
# |
|
8701 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
8702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
8703 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
19
by edam
updated autotols stuff |
8704 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
5
by edam
- updated README |
8705 |
$as_echo_n "(cached) " >&6 |
8706 |
else |
|
8707 |
lt_cv_prog_compiler_static_works=no |
|
8708 |
save_LDFLAGS="$LDFLAGS" |
|
8709 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
8710 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
8711 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
8712 |
# The linker can only warn and ignore the option if not recognized |
|
8713 |
# So say no if there are warnings |
|
8714 |
if test -s conftest.err; then |
|
8715 |
# Append any errors to the config.log. |
|
8716 |
cat conftest.err 1>&5 |
|
19
by edam
updated autotols stuff |
8717 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
5
by edam
- updated README |
8718 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8719 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
8720 |
lt_cv_prog_compiler_static_works=yes |
|
8721 |
fi |
|
8722 |
else |
|
8723 |
lt_cv_prog_compiler_static_works=yes |
|
8724 |
fi |
|
8725 |
fi |
|
8726 |
$RM -r conftest* |
|
8727 |
LDFLAGS="$save_LDFLAGS" |
|
8728 |
||
8729 |
fi |
|
8730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
|
8731 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
8732 |
||
8733 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
8734 |
: |
|
8735 |
else |
|
8736 |
lt_prog_compiler_static= |
|
8737 |
fi |
|
8738 |
||
8739 |
||
8740 |
||
8741 |
||
8742 |
||
8743 |
||
8744 |
||
8745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8746 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
19
by edam
updated autotols stuff |
8747 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
5
by edam
- updated README |
8748 |
$as_echo_n "(cached) " >&6 |
8749 |
else |
|
8750 |
lt_cv_prog_compiler_c_o=no |
|
8751 |
$RM -r conftest 2>/dev/null |
|
8752 |
mkdir conftest |
|
8753 |
cd conftest |
|
8754 |
mkdir out |
|
8755 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8756 |
||
8757 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8758 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8759 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8760 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8761 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8762 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8763 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8764 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8765 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
8766 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
8767 |
(eval "$lt_compile" 2>out/conftest.err) |
8768 |
ac_status=$? |
|
8769 |
cat out/conftest.err >&5 |
|
19
by edam
updated autotols stuff |
8770 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
8771 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8772 |
then |
|
8773 |
# The compiler can only warn and ignore the option if not recognized |
|
8774 |
# So say no if there are warnings |
|
19
by edam
updated autotols stuff |
8775 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
5
by edam
- updated README |
8776 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8777 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8778 |
lt_cv_prog_compiler_c_o=yes |
|
8779 |
fi |
|
8780 |
fi |
|
8781 |
chmod u+w . 2>&5 |
|
8782 |
$RM conftest* |
|
8783 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8784 |
# template instantiation |
|
8785 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8786 |
$RM out/* && rmdir out |
|
8787 |
cd .. |
|
8788 |
$RM -r conftest |
|
8789 |
$RM conftest* |
|
8790 |
||
8791 |
fi |
|
8792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8793 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8794 |
||
8795 |
||
8796 |
||
8797 |
||
8798 |
||
8799 |
||
8800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8801 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
19
by edam
updated autotols stuff |
8802 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
5
by edam
- updated README |
8803 |
$as_echo_n "(cached) " >&6 |
8804 |
else |
|
8805 |
lt_cv_prog_compiler_c_o=no |
|
8806 |
$RM -r conftest 2>/dev/null |
|
8807 |
mkdir conftest |
|
8808 |
cd conftest |
|
8809 |
mkdir out |
|
8810 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8811 |
||
8812 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8813 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8814 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8815 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8816 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8817 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8818 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8819 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8820 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
8821 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
8822 |
(eval "$lt_compile" 2>out/conftest.err) |
8823 |
ac_status=$? |
|
8824 |
cat out/conftest.err >&5 |
|
19
by edam
updated autotols stuff |
8825 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
8826 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8827 |
then |
|
8828 |
# The compiler can only warn and ignore the option if not recognized |
|
8829 |
# So say no if there are warnings |
|
19
by edam
updated autotols stuff |
8830 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
5
by edam
- updated README |
8831 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8832 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8833 |
lt_cv_prog_compiler_c_o=yes |
|
8834 |
fi |
|
8835 |
fi |
|
8836 |
chmod u+w . 2>&5 |
|
8837 |
$RM conftest* |
|
8838 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8839 |
# template instantiation |
|
8840 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8841 |
$RM out/* && rmdir out |
|
8842 |
cd .. |
|
8843 |
$RM -r conftest |
|
8844 |
$RM conftest* |
|
8845 |
||
8846 |
fi |
|
8847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8848 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8849 |
||
8850 |
||
8851 |
||
8852 |
||
8853 |
hard_links="nottested" |
|
8854 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
8855 |
# do not overwrite the value of need_locks provided by the user |
|
8856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
|
8857 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
8858 |
hard_links=yes |
|
8859 |
$RM conftest* |
|
8860 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8861 |
touch conftest.a |
|
8862 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
8863 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8864 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
|
8865 |
$as_echo "$hard_links" >&6; } |
|
8866 |
if test "$hard_links" = no; then |
|
8867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
8868 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
8869 |
need_locks=warn |
|
8870 |
fi |
|
8871 |
else |
|
8872 |
need_locks=no |
|
8873 |
fi |
|
8874 |
||
8875 |
||
8876 |
||
8877 |
||
8878 |
||
8879 |
||
8880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
8881 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
8882 |
||
8883 |
runpath_var= |
|
8884 |
allow_undefined_flag= |
|
8885 |
always_export_symbols=no |
|
8886 |
archive_cmds= |
|
8887 |
archive_expsym_cmds= |
|
8888 |
compiler_needs_object=no |
|
8889 |
enable_shared_with_static_runtimes=no |
|
8890 |
export_dynamic_flag_spec= |
|
8891 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
8892 |
hardcode_automatic=no |
|
8893 |
hardcode_direct=no |
|
8894 |
hardcode_direct_absolute=no |
|
8895 |
hardcode_libdir_flag_spec= |
|
8896 |
hardcode_libdir_separator= |
|
8897 |
hardcode_minus_L=no |
|
8898 |
hardcode_shlibpath_var=unsupported |
|
8899 |
inherit_rpath=no |
|
8900 |
link_all_deplibs=unknown |
|
8901 |
module_cmds= |
|
8902 |
module_expsym_cmds= |
|
8903 |
old_archive_from_new_cmds= |
|
8904 |
old_archive_from_expsyms_cmds= |
|
8905 |
thread_safe_flag_spec= |
|
8906 |
whole_archive_flag_spec= |
|
8907 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
8908 |
# included in the symbol list |
|
8909 |
include_expsyms= |
|
8910 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
8911 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
8912 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
8913 |
# as well as any symbol that contains `d'. |
|
8914 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
8915 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
8916 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
8917 |
# the symbol is explicitly referenced. Since portable code cannot |
|
8918 |
# rely on this symbol name, it's probably fine to never include it in |
|
8919 |
# preloaded symbol tables. |
|
8920 |
# Exclude shared library initialization/finalization symbols. |
|
8921 |
extract_expsyms_cmds= |
|
8922 |
||
8923 |
case $host_os in |
|
8924 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8925 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
8926 |
# When not using gcc, we currently assume that we are using |
|
8927 |
# Microsoft Visual C++. |
|
8928 |
if test "$GCC" != yes; then |
|
8929 |
with_gnu_ld=no |
|
8930 |
fi |
|
8931 |
;; |
|
8932 |
interix*) |
|
8933 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
8934 |
with_gnu_ld=yes |
|
8935 |
;; |
|
8936 |
openbsd*) |
|
8937 |
with_gnu_ld=no |
|
8938 |
;; |
|
19
by edam
updated autotols stuff |
8939 |
linux* | k*bsd*-gnu | gnu*) |
5
by edam
- updated README |
8940 |
link_all_deplibs=no |
8941 |
;; |
|
8942 |
esac |
|
8943 |
||
8944 |
ld_shlibs=yes |
|
19
by edam
updated autotols stuff |
8945 |
|
8946 |
# On some targets, GNU ld is compatible enough with the native linker |
|
8947 |
# that we're better off using the native interface for both. |
|
8948 |
lt_use_gnu_ld_interface=no |
|
5
by edam
- updated README |
8949 |
if test "$with_gnu_ld" = yes; then |
19
by edam
updated autotols stuff |
8950 |
case $host_os in |
8951 |
aix*) |
|
8952 |
# The AIX port of GNU ld has always aspired to compatibility |
|
8953 |
# with the native linker. However, as the warning in the GNU ld |
|
8954 |
# block says, versions before 2.19.5* couldn't really create working |
|
8955 |
# shared libraries, regardless of the interface used. |
|
8956 |
case `$LD -v 2>&1` in |
|
8957 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
8958 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
8959 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
8960 |
*) |
|
8961 |
lt_use_gnu_ld_interface=yes |
|
8962 |
;; |
|
8963 |
esac |
|
8964 |
;; |
|
8965 |
*) |
|
8966 |
lt_use_gnu_ld_interface=yes |
|
8967 |
;; |
|
8968 |
esac |
|
8969 |
fi |
|
8970 |
||
8971 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
5
by edam
- updated README |
8972 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
8973 |
wlarc='${wl}' |
|
8974 |
||
8975 |
# Set some defaults for GNU ld with shared library support. These |
|
8976 |
# are reset later if shared libraries are not supported. Putting them |
|
8977 |
# here allows them to be overridden if necessary. |
|
8978 |
runpath_var=LD_RUN_PATH |
|
8979 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8980 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
8981 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
8982 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
8983 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
8984 |
else |
|
8985 |
whole_archive_flag_spec= |
|
8986 |
fi |
|
8987 |
supports_anon_versioning=no |
|
8988 |
case `$LD -v 2>&1` in |
|
19
by edam
updated autotols stuff |
8989 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
5
by edam
- updated README |
8990 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
8991 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8992 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8993 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8994 |
*) supports_anon_versioning=yes ;; |
|
8995 |
esac |
|
8996 |
||
8997 |
# See if GNU ld supports shared libraries. |
|
8998 |
case $host_os in |
|
8999 |
aix[3-9]*) |
|
9000 |
# On AIX/PPC, the GNU linker is very broken |
|
9001 |
if test "$host_cpu" != ia64; then |
|
9002 |
ld_shlibs=no |
|
9003 |
cat <<_LT_EOF 1>&2 |
|
9004 |
||
19
by edam
updated autotols stuff |
9005 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
5
by edam
- updated README |
9006 |
*** to be unable to reliably create shared libraries on AIX. |
9007 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
19
by edam
updated autotols stuff |
9008 |
*** really care for shared libraries, you may want to install binutils |
9009 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
9010 |
*** You will then need to restart the configuration process. |
|
5
by edam
- updated README |
9011 |
|
9012 |
_LT_EOF |
|
9013 |
fi |
|
9014 |
;; |
|
9015 |
||
9016 |
amigaos*) |
|
9017 |
case $host_cpu in |
|
9018 |
powerpc) |
|
9019 |
# see comment about AmigaOS4 .so support |
|
9020 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9021 |
archive_expsym_cmds='' |
|
9022 |
;; |
|
9023 |
m68k) |
|
9024 |
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)' |
|
9025 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9026 |
hardcode_minus_L=yes |
|
9027 |
;; |
|
9028 |
esac |
|
9029 |
;; |
|
9030 |
||
9031 |
beos*) |
|
9032 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9033 |
allow_undefined_flag=unsupported |
|
9034 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
9035 |
# support --undefined. This deserves some investigation. FIXME |
|
9036 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9037 |
else |
|
9038 |
ld_shlibs=no |
|
9039 |
fi |
|
9040 |
;; |
|
9041 |
||
9042 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9043 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
9044 |
# as there is no search path for DLLs. |
|
9045 |
hardcode_libdir_flag_spec='-L$libdir' |
|
19
by edam
updated autotols stuff |
9046 |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
5
by edam
- updated README |
9047 |
allow_undefined_flag=unsupported |
9048 |
always_export_symbols=no |
|
9049 |
enable_shared_with_static_runtimes=yes |
|
19
by edam
updated autotols stuff |
9050 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9051 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
5
by edam
- updated README |
9052 |
|
9053 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
9054 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
9055 |
# If the export-symbols file already is a .def file (1st line |
|
9056 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
9057 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
9058 |
cp $export_symbols $output_objdir/$soname.def; |
|
9059 |
else |
|
9060 |
echo EXPORTS > $output_objdir/$soname.def; |
|
9061 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
9062 |
fi~ |
|
9063 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
9064 |
else |
|
9065 |
ld_shlibs=no |
|
9066 |
fi |
|
9067 |
;; |
|
9068 |
||
19
by edam
updated autotols stuff |
9069 |
haiku*) |
9070 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9071 |
link_all_deplibs=yes |
|
9072 |
;; |
|
9073 |
||
5
by edam
- updated README |
9074 |
interix[3-9]*) |
9075 |
hardcode_direct=no |
|
9076 |
hardcode_shlibpath_var=no |
|
9077 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9078 |
export_dynamic_flag_spec='${wl}-E' |
|
9079 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
9080 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
9081 |
# default) and relocated if they conflict, which is a slow very memory |
|
9082 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
9083 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
9084 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
9085 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
9086 |
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' |
|
9087 |
;; |
|
9088 |
||
19
by edam
updated autotols stuff |
9089 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
5
by edam
- updated README |
9090 |
tmp_diet=no |
9091 |
if test "$host_os" = linux-dietlibc; then |
|
9092 |
case $cc_basename in |
|
9093 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
9094 |
esac |
|
9095 |
fi |
|
9096 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
9097 |
&& test "$tmp_diet" = no |
|
9098 |
then |
|
19
by edam
updated autotols stuff |
9099 |
tmp_addflag=' $pic_flag' |
5
by edam
- updated README |
9100 |
tmp_sharedflag='-shared' |
9101 |
case $cc_basename,$host_cpu in |
|
9102 |
pgcc*) # Portland Group C compiler |
|
19
by edam
updated autotols stuff |
9103 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
5
by edam
- updated README |
9104 |
tmp_addflag=' $pic_flag' |
9105 |
;; |
|
19
by edam
updated autotols stuff |
9106 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9107 |
# Portland Group f77 and f90 compilers |
|
9108 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
5
by edam
- updated README |
9109 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
9110 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
9111 |
tmp_addflag=' -i_dynamic' ;; |
|
9112 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
9113 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
9114 |
ifc* | ifort*) # Intel Fortran compiler |
|
9115 |
tmp_addflag=' -nofor_main' ;; |
|
9116 |
lf95*) # Lahey Fortran 8.1 |
|
9117 |
whole_archive_flag_spec= |
|
9118 |
tmp_sharedflag='--shared' ;; |
|
19
by edam
updated autotols stuff |
9119 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
5
by edam
- updated README |
9120 |
tmp_sharedflag='-qmkshrobj' |
9121 |
tmp_addflag= ;; |
|
19
by edam
updated autotols stuff |
9122 |
nvcc*) # Cuda Compiler Driver 2.2 |
9123 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
9124 |
compiler_needs_object=yes |
|
9125 |
;; |
|
5
by edam
- updated README |
9126 |
esac |
9127 |
case `$CC -V 2>&1 | sed 5q` in |
|
9128 |
*Sun\ C*) # Sun C 5.9 |
|
19
by edam
updated autotols stuff |
9129 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
5
by edam
- updated README |
9130 |
compiler_needs_object=yes |
9131 |
tmp_sharedflag='-G' ;; |
|
9132 |
*Sun\ F*) # Sun Fortran 8.3 |
|
9133 |
tmp_sharedflag='-G' ;; |
|
9134 |
esac |
|
9135 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9136 |
||
9137 |
if test "x$supports_anon_versioning" = xyes; then |
|
9138 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9139 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9140 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
9141 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
9142 |
fi |
|
9143 |
||
9144 |
case $cc_basename in |
|
19
by edam
updated autotols stuff |
9145 |
xlf* | bgf* | bgxlf* | mpixlf*) |
5
by edam
- updated README |
9146 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9147 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
19
by edam
updated autotols stuff |
9148 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9149 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
5
by edam
- updated README |
9150 |
if test "x$supports_anon_versioning" = xyes; then |
9151 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9152 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9153 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
19
by edam
updated autotols stuff |
9154 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
5
by edam
- updated README |
9155 |
fi |
9156 |
;; |
|
9157 |
esac |
|
9158 |
else |
|
9159 |
ld_shlibs=no |
|
9160 |
fi |
|
9161 |
;; |
|
9162 |
||
9163 |
netbsd* | netbsdelf*-gnu) |
|
9164 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9165 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
9166 |
wlarc= |
|
9167 |
else |
|
19
by edam
updated autotols stuff |
9168 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9169 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
5
by edam
- updated README |
9170 |
fi |
9171 |
;; |
|
9172 |
||
9173 |
solaris*) |
|
9174 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
9175 |
ld_shlibs=no |
|
9176 |
cat <<_LT_EOF 1>&2 |
|
9177 |
||
9178 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
9179 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
9180 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9181 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
9182 |
*** your PATH or compiler configuration so that the native linker is |
|
9183 |
*** used, and then restart. |
|
9184 |
||
9185 |
_LT_EOF |
|
9186 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
19
by edam
updated autotols stuff |
9187 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9188 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
5
by edam
- updated README |
9189 |
else |
9190 |
ld_shlibs=no |
|
9191 |
fi |
|
9192 |
;; |
|
9193 |
||
9194 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
9195 |
case `$LD -v 2>&1` in |
|
9196 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
9197 |
ld_shlibs=no |
|
9198 |
cat <<_LT_EOF 1>&2 |
|
9199 |
||
9200 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
9201 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
9202 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9203 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
9204 |
*** your PATH or compiler configuration so that the native linker is |
|
9205 |
*** used, and then restart. |
|
9206 |
||
9207 |
_LT_EOF |
|
9208 |
;; |
|
9209 |
*) |
|
9210 |
# For security reasons, it is highly recommended that you always |
|
9211 |
# use absolute paths for naming shared libraries, and exclude the |
|
9212 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
9213 |
# requires that you compile everything twice, which is a pain. |
|
9214 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9215 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9216 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9217 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
9218 |
else |
|
9219 |
ld_shlibs=no |
|
9220 |
fi |
|
9221 |
;; |
|
9222 |
esac |
|
9223 |
;; |
|
9224 |
||
9225 |
sunos4*) |
|
9226 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9227 |
wlarc= |
|
9228 |
hardcode_direct=yes |
|
9229 |
hardcode_shlibpath_var=no |
|
9230 |
;; |
|
9231 |
||
9232 |
*) |
|
9233 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
19
by edam
updated autotols stuff |
9234 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9235 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
5
by edam
- updated README |
9236 |
else |
9237 |
ld_shlibs=no |
|
9238 |
fi |
|
9239 |
;; |
|
9240 |
esac |
|
9241 |
||
9242 |
if test "$ld_shlibs" = no; then |
|
9243 |
runpath_var= |
|
9244 |
hardcode_libdir_flag_spec= |
|
9245 |
export_dynamic_flag_spec= |
|
9246 |
whole_archive_flag_spec= |
|
9247 |
fi |
|
9248 |
else |
|
9249 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
9250 |
case $host_os in |
|
9251 |
aix3*) |
|
9252 |
allow_undefined_flag=unsupported |
|
9253 |
always_export_symbols=yes |
|
9254 |
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' |
|
9255 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
9256 |
# are no directories specified by -L. |
|
9257 |
hardcode_minus_L=yes |
|
9258 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
9259 |
# Neither direct hardcoding nor static linking is supported with a |
|
9260 |
# broken collect2. |
|
9261 |
hardcode_direct=unsupported |
|
9262 |
fi |
|
9263 |
;; |
|
9264 |
||
9265 |
aix[4-9]*) |
|
9266 |
if test "$host_cpu" = ia64; then |
|
9267 |
# On IA64, the linker does run time linking by default, so we don't |
|
9268 |
# have to do anything special. |
|
9269 |
aix_use_runtimelinking=no |
|
9270 |
exp_sym_flag='-Bexport' |
|
9271 |
no_entry_flag="" |
|
9272 |
else |
|
9273 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
9274 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
19
by edam
updated autotols stuff |
9275 |
# Also, AIX nm treats weak defined symbols like other global |
9276 |
# defined symbols, whereas GNU nm marks them as "W". |
|
5
by edam
- updated README |
9277 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
19
by edam
updated autotols stuff |
9278 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
5
by edam
- updated README |
9279 |
else |
9280 |
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' |
|
9281 |
fi |
|
9282 |
aix_use_runtimelinking=no |
|
9283 |
||
9284 |
# Test if we are trying to use run time linking or normal |
|
9285 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
9286 |
# need to do runtime linking. |
|
9287 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
9288 |
for ld_flag in $LDFLAGS; do |
|
9289 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
9290 |
aix_use_runtimelinking=yes |
|
9291 |
break |
|
9292 |
fi |
|
9293 |
done |
|
9294 |
;; |
|
9295 |
esac |
|
9296 |
||
9297 |
exp_sym_flag='-bexport' |
|
9298 |
no_entry_flag='-bnoentry' |
|
9299 |
fi |
|
9300 |
||
9301 |
# When large executables or shared objects are built, AIX ld can |
|
9302 |
# have problems creating the table of contents. If linking a library |
|
9303 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
9304 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
9305 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
9306 |
||
9307 |
archive_cmds='' |
|
9308 |
hardcode_direct=yes |
|
9309 |
hardcode_direct_absolute=yes |
|
9310 |
hardcode_libdir_separator=':' |
|
9311 |
link_all_deplibs=yes |
|
9312 |
file_list_spec='${wl}-f,' |
|
9313 |
||
9314 |
if test "$GCC" = yes; then |
|
9315 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
9316 |
# We only want to do this on AIX 4.2 and lower, the check |
|
9317 |
# below for broken collect2 doesn't work under 4.3+ |
|
9318 |
collect2name=`${CC} -print-prog-name=collect2` |
|
9319 |
if test -f "$collect2name" && |
|
9320 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
9321 |
then |
|
9322 |
# We have reworked collect2 |
|
9323 |
: |
|
9324 |
else |
|
9325 |
# We have old collect2 |
|
9326 |
hardcode_direct=unsupported |
|
9327 |
# It fails to find uninstalled libraries when the uninstalled |
|
9328 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
9329 |
# to unsupported forces relinking |
|
9330 |
hardcode_minus_L=yes |
|
9331 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9332 |
hardcode_libdir_separator= |
|
9333 |
fi |
|
9334 |
;; |
|
9335 |
esac |
|
9336 |
shared_flag='-shared' |
|
9337 |
if test "$aix_use_runtimelinking" = yes; then |
|
9338 |
shared_flag="$shared_flag "'${wl}-G' |
|
9339 |
fi |
|
9340 |
link_all_deplibs=no |
|
9341 |
else |
|
9342 |
# not using gcc |
|
9343 |
if test "$host_cpu" = ia64; then |
|
9344 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
9345 |
# chokes on -Wl,-G. The following line is correct: |
|
9346 |
shared_flag='-G' |
|
9347 |
else |
|
9348 |
if test "$aix_use_runtimelinking" = yes; then |
|
9349 |
shared_flag='${wl}-G' |
|
9350 |
else |
|
9351 |
shared_flag='${wl}-bM:SRE' |
|
9352 |
fi |
|
9353 |
fi |
|
9354 |
fi |
|
9355 |
||
9356 |
export_dynamic_flag_spec='${wl}-bexpall' |
|
9357 |
# It seems that -bexpall does not export symbols beginning with |
|
9358 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
9359 |
always_export_symbols=yes |
|
9360 |
if test "$aix_use_runtimelinking" = yes; then |
|
9361 |
# Warning - without using the other runtime loading flags (-brtl), |
|
9362 |
# -berok will link without error, but may produce a broken library. |
|
9363 |
allow_undefined_flag='-berok' |
|
9364 |
# Determine the default libpath from the value encoded in an |
|
9365 |
# empty executable. |
|
19
by edam
updated autotols stuff |
9366 |
if test "${lt_cv_aix_libpath+set}" = set; then |
9367 |
aix_libpath=$lt_cv_aix_libpath |
|
9368 |
else |
|
9369 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9370 |
$as_echo_n "(cached) " >&6 |
|
9371 |
else |
|
9372 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
9373 |
/* end confdefs.h. */ |
9374 |
||
9375 |
int |
|
9376 |
main () |
|
9377 |
{ |
|
9378 |
||
9379 |
; |
|
9380 |
return 0; |
|
9381 |
} |
|
9382 |
_ACEOF |
|
9383 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9384 |
||
19
by edam
updated autotols stuff |
9385 |
lt_aix_libpath_sed=' |
9386 |
/Import File Strings/,/^$/ { |
|
9387 |
/^0/ { |
|
9388 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9389 |
p |
|
9390 |
} |
|
9391 |
}' |
|
9392 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9393 |
# Check for a 64-bit object if we didn't find anything. |
|
9394 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9395 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9396 |
fi |
|
5
by edam
- updated README |
9397 |
fi |
9398 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9399 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
9400 |
if test -z "$lt_cv_aix_libpath_"; then |
9401 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
9402 |
fi |
|
9403 |
||
9404 |
fi |
|
9405 |
||
9406 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9407 |
fi |
|
5
by edam
- updated README |
9408 |
|
9409 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
19
by edam
updated autotols stuff |
9410 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
5
by edam
- updated README |
9411 |
else |
9412 |
if test "$host_cpu" = ia64; then |
|
9413 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
9414 |
allow_undefined_flag="-z nodefs" |
|
9415 |
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" |
|
9416 |
else |
|
9417 |
# Determine the default libpath from the value encoded in an |
|
9418 |
# empty executable. |
|
19
by edam
updated autotols stuff |
9419 |
if test "${lt_cv_aix_libpath+set}" = set; then |
9420 |
aix_libpath=$lt_cv_aix_libpath |
|
9421 |
else |
|
9422 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9423 |
$as_echo_n "(cached) " >&6 |
|
9424 |
else |
|
9425 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
9426 |
/* end confdefs.h. */ |
9427 |
||
9428 |
int |
|
9429 |
main () |
|
9430 |
{ |
|
9431 |
||
9432 |
; |
|
9433 |
return 0; |
|
9434 |
} |
|
9435 |
_ACEOF |
|
9436 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9437 |
||
19
by edam
updated autotols stuff |
9438 |
lt_aix_libpath_sed=' |
9439 |
/Import File Strings/,/^$/ { |
|
9440 |
/^0/ { |
|
9441 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9442 |
p |
|
9443 |
} |
|
9444 |
}' |
|
9445 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9446 |
# Check for a 64-bit object if we didn't find anything. |
|
9447 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9448 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9449 |
fi |
|
5
by edam
- updated README |
9450 |
fi |
9451 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9452 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
9453 |
if test -z "$lt_cv_aix_libpath_"; then |
9454 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
9455 |
fi |
|
9456 |
||
9457 |
fi |
|
9458 |
||
9459 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9460 |
fi |
|
5
by edam
- updated README |
9461 |
|
9462 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
9463 |
# Warning - without using the other run time loading flags, |
|
9464 |
# -berok will link without error, but may produce a broken library. |
|
9465 |
no_undefined_flag=' ${wl}-bernotok' |
|
9466 |
allow_undefined_flag=' ${wl}-berok' |
|
19
by edam
updated autotols stuff |
9467 |
if test "$with_gnu_ld" = yes; then |
9468 |
# We only use this code for GNU lds that support --whole-archive. |
|
9469 |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
9470 |
else |
|
9471 |
# Exported symbols can be pulled into shared objects from archives |
|
9472 |
whole_archive_flag_spec='$convenience' |
|
9473 |
fi |
|
5
by edam
- updated README |
9474 |
archive_cmds_need_lc=yes |
9475 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
9476 |
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' |
|
9477 |
fi |
|
9478 |
fi |
|
9479 |
;; |
|
9480 |
||
9481 |
amigaos*) |
|
9482 |
case $host_cpu in |
|
9483 |
powerpc) |
|
9484 |
# see comment about AmigaOS4 .so support |
|
9485 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9486 |
archive_expsym_cmds='' |
|
9487 |
;; |
|
9488 |
m68k) |
|
9489 |
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)' |
|
9490 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9491 |
hardcode_minus_L=yes |
|
9492 |
;; |
|
9493 |
esac |
|
9494 |
;; |
|
9495 |
||
9496 |
bsdi[45]*) |
|
9497 |
export_dynamic_flag_spec=-rdynamic |
|
9498 |
;; |
|
9499 |
||
9500 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9501 |
# When not using gcc, we currently assume that we are using |
|
9502 |
# Microsoft Visual C++. |
|
9503 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
9504 |
# no search path for DLLs. |
|
19
by edam
updated autotols stuff |
9505 |
case $cc_basename in |
9506 |
cl*) |
|
9507 |
# Native MSVC |
|
9508 |
hardcode_libdir_flag_spec=' ' |
|
9509 |
allow_undefined_flag=unsupported |
|
9510 |
always_export_symbols=yes |
|
9511 |
file_list_spec='@' |
|
9512 |
# Tell ltmain to make .lib files, not .a files. |
|
9513 |
libext=lib |
|
9514 |
# Tell ltmain to make .dll files, not .so files. |
|
9515 |
shrext_cmds=".dll" |
|
9516 |
# FIXME: Setting linknames here is a bad hack. |
|
9517 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
9518 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
9519 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
9520 |
else |
|
9521 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
9522 |
fi~ |
|
9523 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
9524 |
linknames=' |
|
9525 |
# The linker will not automatically build a static lib if we build a DLL. |
|
9526 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
|
9527 |
enable_shared_with_static_runtimes=yes |
|
9528 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
|
9529 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
9530 |
# Don't use ranlib |
|
9531 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
9532 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
|
9533 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
9534 |
case $lt_outputfile in |
|
9535 |
*.exe|*.EXE) ;; |
|
9536 |
*) |
|
9537 |
lt_outputfile="$lt_outputfile.exe" |
|
9538 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
9539 |
;; |
|
9540 |
esac~ |
|
9541 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
9542 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
9543 |
$RM "$lt_outputfile.manifest"; |
|
9544 |
fi' |
|
9545 |
;; |
|
9546 |
*) |
|
9547 |
# Assume MSVC wrapper |
|
9548 |
hardcode_libdir_flag_spec=' ' |
|
9549 |
allow_undefined_flag=unsupported |
|
9550 |
# Tell ltmain to make .lib files, not .a files. |
|
9551 |
libext=lib |
|
9552 |
# Tell ltmain to make .dll files, not .so files. |
|
9553 |
shrext_cmds=".dll" |
|
9554 |
# FIXME: Setting linknames here is a bad hack. |
|
9555 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
9556 |
# The linker will automatically build a .lib file if we build a DLL. |
|
9557 |
old_archive_from_new_cmds='true' |
|
9558 |
# FIXME: Should let the user specify the lib program. |
|
9559 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
9560 |
enable_shared_with_static_runtimes=yes |
|
9561 |
;; |
|
9562 |
esac |
|
5
by edam
- updated README |
9563 |
;; |
9564 |
||
9565 |
darwin* | rhapsody*) |
|
9566 |
||
9567 |
||
9568 |
archive_cmds_need_lc=no |
|
9569 |
hardcode_direct=no |
|
9570 |
hardcode_automatic=yes |
|
9571 |
hardcode_shlibpath_var=unsupported |
|
19
by edam
updated autotols stuff |
9572 |
if test "$lt_cv_ld_force_load" = "yes"; then |
9573 |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
9574 |
||
9575 |
else |
|
9576 |
whole_archive_flag_spec='' |
|
9577 |
fi |
|
5
by edam
- updated README |
9578 |
link_all_deplibs=yes |
9579 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
9580 |
case $cc_basename in |
|
9581 |
ifort*) _lt_dar_can_shared=yes ;; |
|
9582 |
*) _lt_dar_can_shared=$GCC ;; |
|
9583 |
esac |
|
9584 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
19
by edam
updated autotols stuff |
9585 |
output_verbose_link_cmd=func_echo_all |
5
by edam
- updated README |
9586 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9587 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
9588 |
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}" |
|
9589 |
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}" |
|
9590 |
||
9591 |
else |
|
9592 |
ld_shlibs=no |
|
9593 |
fi |
|
9594 |
||
9595 |
;; |
|
9596 |
||
9597 |
dgux*) |
|
9598 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9599 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9600 |
hardcode_shlibpath_var=no |
|
9601 |
;; |
|
9602 |
||
9603 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
9604 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
9605 |
# does not break anything, and helps significantly (at the cost of a little |
|
9606 |
# extra space). |
|
9607 |
freebsd2.2*) |
|
9608 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
9609 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9610 |
hardcode_direct=yes |
|
9611 |
hardcode_shlibpath_var=no |
|
9612 |
;; |
|
9613 |
||
9614 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
19
by edam
updated autotols stuff |
9615 |
freebsd2.*) |
5
by edam
- updated README |
9616 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9617 |
hardcode_direct=yes |
|
9618 |
hardcode_minus_L=yes |
|
9619 |
hardcode_shlibpath_var=no |
|
9620 |
;; |
|
9621 |
||
9622 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
9623 |
freebsd* | dragonfly*) |
|
19
by edam
updated autotols stuff |
9624 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
5
by edam
- updated README |
9625 |
hardcode_libdir_flag_spec='-R$libdir' |
9626 |
hardcode_direct=yes |
|
9627 |
hardcode_shlibpath_var=no |
|
9628 |
;; |
|
9629 |
||
9630 |
hpux9*) |
|
9631 |
if test "$GCC" = yes; then |
|
19
by edam
updated autotols stuff |
9632 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
5
by edam
- updated README |
9633 |
else |
9634 |
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' |
|
9635 |
fi |
|
9636 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9637 |
hardcode_libdir_separator=: |
|
9638 |
hardcode_direct=yes |
|
9639 |
||
9640 |
# hardcode_minus_L: Not really in the search PATH, |
|
9641 |
# but as the default location of the library. |
|
9642 |
hardcode_minus_L=yes |
|
9643 |
export_dynamic_flag_spec='${wl}-E' |
|
9644 |
;; |
|
9645 |
||
9646 |
hpux10*) |
|
19
by edam
updated autotols stuff |
9647 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9648 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
5
by edam
- updated README |
9649 |
else |
9650 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9651 |
fi |
|
9652 |
if test "$with_gnu_ld" = no; then |
|
9653 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9654 |
hardcode_libdir_separator=: |
|
9655 |
hardcode_direct=yes |
|
9656 |
hardcode_direct_absolute=yes |
|
9657 |
export_dynamic_flag_spec='${wl}-E' |
|
9658 |
# hardcode_minus_L: Not really in the search PATH, |
|
9659 |
# but as the default location of the library. |
|
9660 |
hardcode_minus_L=yes |
|
9661 |
fi |
|
9662 |
;; |
|
9663 |
||
9664 |
hpux11*) |
|
19
by edam
updated autotols stuff |
9665 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
5
by edam
- updated README |
9666 |
case $host_cpu in |
9667 |
hppa*64*) |
|
9668 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9669 |
;; |
|
9670 |
ia64*) |
|
19
by edam
updated autotols stuff |
9671 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
5
by edam
- updated README |
9672 |
;; |
9673 |
*) |
|
19
by edam
updated autotols stuff |
9674 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
5
by edam
- updated README |
9675 |
;; |
9676 |
esac |
|
9677 |
else |
|
9678 |
case $host_cpu in |
|
9679 |
hppa*64*) |
|
9680 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9681 |
;; |
|
9682 |
ia64*) |
|
9683 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9684 |
;; |
|
9685 |
*) |
|
19
by edam
updated autotols stuff |
9686 |
|
9687 |
# Older versions of the 11.00 compiler do not understand -b yet |
|
9688 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
|
9689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
|
9690 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
|
9691 |
if ${lt_cv_prog_compiler__b+:} false; then : |
|
9692 |
$as_echo_n "(cached) " >&6 |
|
9693 |
else |
|
9694 |
lt_cv_prog_compiler__b=no |
|
9695 |
save_LDFLAGS="$LDFLAGS" |
|
9696 |
LDFLAGS="$LDFLAGS -b" |
|
9697 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
9698 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
9699 |
# The linker can only warn and ignore the option if not recognized |
|
9700 |
# So say no if there are warnings |
|
9701 |
if test -s conftest.err; then |
|
9702 |
# Append any errors to the config.log. |
|
9703 |
cat conftest.err 1>&5 |
|
9704 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
9705 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
9706 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
9707 |
lt_cv_prog_compiler__b=yes |
|
9708 |
fi |
|
9709 |
else |
|
9710 |
lt_cv_prog_compiler__b=yes |
|
9711 |
fi |
|
9712 |
fi |
|
9713 |
$RM -r conftest* |
|
9714 |
LDFLAGS="$save_LDFLAGS" |
|
9715 |
||
9716 |
fi |
|
9717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
|
9718 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
9719 |
||
9720 |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
|
9721 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9722 |
else |
|
9723 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9724 |
fi |
|
9725 |
||
5
by edam
- updated README |
9726 |
;; |
9727 |
esac |
|
9728 |
fi |
|
9729 |
if test "$with_gnu_ld" = no; then |
|
9730 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9731 |
hardcode_libdir_separator=: |
|
9732 |
||
9733 |
case $host_cpu in |
|
9734 |
hppa*64*|ia64*) |
|
9735 |
hardcode_direct=no |
|
9736 |
hardcode_shlibpath_var=no |
|
9737 |
;; |
|
9738 |
*) |
|
9739 |
hardcode_direct=yes |
|
9740 |
hardcode_direct_absolute=yes |
|
9741 |
export_dynamic_flag_spec='${wl}-E' |
|
9742 |
||
9743 |
# hardcode_minus_L: Not really in the search PATH, |
|
9744 |
# but as the default location of the library. |
|
9745 |
hardcode_minus_L=yes |
|
9746 |
;; |
|
9747 |
esac |
|
9748 |
fi |
|
9749 |
;; |
|
9750 |
||
9751 |
irix5* | irix6* | nonstopux*) |
|
9752 |
if test "$GCC" = yes; then |
|
19
by edam
updated autotols stuff |
9753 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
9754 |
# Try to use the -exported_symbol ld option, if it does not |
9755 |
# work, assume that -exports_file does not work either and |
|
9756 |
# implicitly export all symbols. |
|
19
by edam
updated autotols stuff |
9757 |
# This should be the same for all languages, so no per-tag cache variable. |
9758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
9759 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
9760 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
9761 |
$as_echo_n "(cached) " >&6 |
|
9762 |
else |
|
9763 |
save_LDFLAGS="$LDFLAGS" |
|
9764 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
9765 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
9766 |
/* end confdefs.h. */ |
19
by edam
updated autotols stuff |
9767 |
int foo (void) { return 0; } |
5
by edam
- updated README |
9768 |
_ACEOF |
9769 |
if ac_fn_c_try_link "$LINENO"; then : |
|
19
by edam
updated autotols stuff |
9770 |
lt_cv_irix_exported_symbol=yes |
9771 |
else |
|
9772 |
lt_cv_irix_exported_symbol=no |
|
5
by edam
- updated README |
9773 |
fi |
9774 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9775 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
9776 |
LDFLAGS="$save_LDFLAGS" |
9777 |
fi |
|
9778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
9779 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
9780 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
9781 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
|
9782 |
fi |
|
5
by edam
- updated README |
9783 |
else |
19
by edam
updated autotols stuff |
9784 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
9785 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
5
by edam
- updated README |
9786 |
fi |
9787 |
archive_cmds_need_lc='no' |
|
9788 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9789 |
hardcode_libdir_separator=: |
|
9790 |
inherit_rpath=yes |
|
9791 |
link_all_deplibs=yes |
|
9792 |
;; |
|
9793 |
||
9794 |
netbsd* | netbsdelf*-gnu) |
|
9795 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9796 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
9797 |
else |
|
9798 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
9799 |
fi |
|
9800 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9801 |
hardcode_direct=yes |
|
9802 |
hardcode_shlibpath_var=no |
|
9803 |
;; |
|
9804 |
||
9805 |
newsos6) |
|
9806 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9807 |
hardcode_direct=yes |
|
9808 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9809 |
hardcode_libdir_separator=: |
|
9810 |
hardcode_shlibpath_var=no |
|
9811 |
;; |
|
9812 |
||
9813 |
*nto* | *qnx*) |
|
9814 |
;; |
|
9815 |
||
9816 |
openbsd*) |
|
9817 |
if test -f /usr/libexec/ld.so; then |
|
9818 |
hardcode_direct=yes |
|
9819 |
hardcode_shlibpath_var=no |
|
9820 |
hardcode_direct_absolute=yes |
|
9821 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
9822 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9823 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
9824 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9825 |
export_dynamic_flag_spec='${wl}-E' |
|
9826 |
else |
|
9827 |
case $host_os in |
|
9828 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
9829 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9830 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9831 |
;; |
|
9832 |
*) |
|
9833 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9834 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9835 |
;; |
|
9836 |
esac |
|
9837 |
fi |
|
9838 |
else |
|
9839 |
ld_shlibs=no |
|
9840 |
fi |
|
9841 |
;; |
|
9842 |
||
9843 |
os2*) |
|
9844 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9845 |
hardcode_minus_L=yes |
|
9846 |
allow_undefined_flag=unsupported |
|
19
by edam
updated autotols stuff |
9847 |
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' |
5
by edam
- updated README |
9848 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
9849 |
;; |
|
9850 |
||
9851 |
osf3*) |
|
9852 |
if test "$GCC" = yes; then |
|
9853 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
19
by edam
updated autotols stuff |
9854 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
9855 |
else |
9856 |
allow_undefined_flag=' -expect_unresolved \*' |
|
19
by edam
updated autotols stuff |
9857 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
9858 |
fi |
9859 |
archive_cmds_need_lc='no' |
|
9860 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9861 |
hardcode_libdir_separator=: |
|
9862 |
;; |
|
9863 |
||
9864 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
9865 |
if test "$GCC" = yes; then |
|
9866 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
19
by edam
updated autotols stuff |
9867 |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
9868 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9869 |
else |
|
9870 |
allow_undefined_flag=' -expect_unresolved \*' |
|
19
by edam
updated autotols stuff |
9871 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
9872 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
19
by edam
updated autotols stuff |
9873 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
5
by edam
- updated README |
9874 |
|
9875 |
# Both c and cxx compiler support -rpath directly |
|
9876 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
9877 |
fi |
|
9878 |
archive_cmds_need_lc='no' |
|
9879 |
hardcode_libdir_separator=: |
|
9880 |
;; |
|
9881 |
||
9882 |
solaris*) |
|
9883 |
no_undefined_flag=' -z defs' |
|
9884 |
if test "$GCC" = yes; then |
|
9885 |
wlarc='${wl}' |
|
19
by edam
updated autotols stuff |
9886 |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
5
by edam
- updated README |
9887 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
19
by edam
updated autotols stuff |
9888 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
5
by edam
- updated README |
9889 |
else |
9890 |
case `$CC -V 2>&1` in |
|
9891 |
*"Compilers 5.0"*) |
|
9892 |
wlarc='' |
|
9893 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9894 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9895 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
9896 |
;; |
|
9897 |
*) |
|
9898 |
wlarc='${wl}' |
|
9899 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9900 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9901 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
9902 |
;; |
|
9903 |
esac |
|
9904 |
fi |
|
9905 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9906 |
hardcode_shlibpath_var=no |
|
9907 |
case $host_os in |
|
9908 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
9909 |
*) |
|
9910 |
# The compiler driver will combine and reorder linker options, |
|
9911 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
9912 |
# but is careful enough not to reorder. |
|
9913 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
9914 |
if test "$GCC" = yes; then |
|
9915 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
9916 |
else |
|
9917 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
9918 |
fi |
|
9919 |
;; |
|
9920 |
esac |
|
9921 |
link_all_deplibs=yes |
|
9922 |
;; |
|
9923 |
||
9924 |
sunos4*) |
|
9925 |
if test "x$host_vendor" = xsequent; then |
|
9926 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
9927 |
# files that make .init and .fini sections work. |
|
9928 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9929 |
else |
|
9930 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
9931 |
fi |
|
9932 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9933 |
hardcode_direct=yes |
|
9934 |
hardcode_minus_L=yes |
|
9935 |
hardcode_shlibpath_var=no |
|
9936 |
;; |
|
9937 |
||
9938 |
sysv4) |
|
9939 |
case $host_vendor in |
|
9940 |
sni) |
|
9941 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9942 |
hardcode_direct=yes # is this really true??? |
|
9943 |
;; |
|
9944 |
siemens) |
|
9945 |
## LD is ld it makes a PLAMLIB |
|
9946 |
## CC just makes a GrossModule. |
|
9947 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
9948 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
9949 |
hardcode_direct=no |
|
9950 |
;; |
|
9951 |
motorola) |
|
9952 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9953 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
9954 |
;; |
|
9955 |
esac |
|
9956 |
runpath_var='LD_RUN_PATH' |
|
9957 |
hardcode_shlibpath_var=no |
|
9958 |
;; |
|
9959 |
||
9960 |
sysv4.3*) |
|
9961 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9962 |
hardcode_shlibpath_var=no |
|
9963 |
export_dynamic_flag_spec='-Bexport' |
|
9964 |
;; |
|
9965 |
||
9966 |
sysv4*MP*) |
|
9967 |
if test -d /usr/nec; then |
|
9968 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9969 |
hardcode_shlibpath_var=no |
|
9970 |
runpath_var=LD_RUN_PATH |
|
9971 |
hardcode_runpath_var=yes |
|
9972 |
ld_shlibs=yes |
|
9973 |
fi |
|
9974 |
;; |
|
9975 |
||
9976 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
9977 |
no_undefined_flag='${wl}-z,text' |
|
9978 |
archive_cmds_need_lc=no |
|
9979 |
hardcode_shlibpath_var=no |
|
9980 |
runpath_var='LD_RUN_PATH' |
|
9981 |
||
9982 |
if test "$GCC" = yes; then |
|
9983 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9984 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9985 |
else |
|
9986 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9987 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9988 |
fi |
|
9989 |
;; |
|
9990 |
||
9991 |
sysv5* | sco3.2v5* | sco5v6*) |
|
9992 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
9993 |
# link with -lc, and that would cause any symbols used from libc to |
|
9994 |
# always be unresolved, which means just about no library would |
|
9995 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
9996 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
9997 |
# as -z defs. |
|
9998 |
no_undefined_flag='${wl}-z,text' |
|
9999 |
allow_undefined_flag='${wl}-z,nodefs' |
|
10000 |
archive_cmds_need_lc=no |
|
10001 |
hardcode_shlibpath_var=no |
|
10002 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
|
10003 |
hardcode_libdir_separator=':' |
|
10004 |
link_all_deplibs=yes |
|
10005 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
10006 |
runpath_var='LD_RUN_PATH' |
|
10007 |
||
10008 |
if test "$GCC" = yes; then |
|
10009 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10010 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10011 |
else |
|
10012 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10013 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10014 |
fi |
|
10015 |
;; |
|
10016 |
||
10017 |
uts4*) |
|
10018 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10019 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10020 |
hardcode_shlibpath_var=no |
|
10021 |
;; |
|
10022 |
||
10023 |
*) |
|
10024 |
ld_shlibs=no |
|
10025 |
;; |
|
10026 |
esac |
|
10027 |
||
10028 |
if test x$host_vendor = xsni; then |
|
10029 |
case $host in |
|
10030 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
10031 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
10032 |
;; |
|
10033 |
esac |
|
10034 |
fi |
|
10035 |
fi |
|
10036 |
||
10037 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
|
10038 |
$as_echo "$ld_shlibs" >&6; } |
|
10039 |
test "$ld_shlibs" = no && can_build_shared=no |
|
10040 |
||
10041 |
with_gnu_ld=$with_gnu_ld |
|
10042 |
||
10043 |
||
10044 |
||
10045 |
||
10046 |
||
10047 |
||
10048 |
||
10049 |
||
10050 |
||
10051 |
||
10052 |
||
10053 |
||
10054 |
||
10055 |
||
10056 |
||
10057 |
# |
|
10058 |
# Do we need to explicitly link libc? |
|
10059 |
# |
|
10060 |
case "x$archive_cmds_need_lc" in |
|
10061 |
x|xyes) |
|
10062 |
# Assume -lc should be added |
|
10063 |
archive_cmds_need_lc=yes |
|
10064 |
||
10065 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
10066 |
case $archive_cmds in |
|
10067 |
*'~'*) |
|
10068 |
# FIXME: we may have to deal with multi-command sequences. |
|
10069 |
;; |
|
10070 |
'$CC '*) |
|
10071 |
# Test whether the compiler implicitly links with -lc since on some |
|
10072 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
10073 |
# to ld, don't add -lc before -lgcc. |
|
10074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
|
10075 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
19
by edam
updated autotols stuff |
10076 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10077 |
$as_echo_n "(cached) " >&6 |
|
10078 |
else |
|
10079 |
$RM conftest* |
|
10080 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
5
by edam
- updated README |
10081 |
|
19
by edam
updated autotols stuff |
10082 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
5
by edam
- updated README |
10083 |
(eval $ac_compile) 2>&5 |
10084 |
ac_status=$? |
|
10085 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
10086 |
test $ac_status = 0; } 2>conftest.err; then |
|
19
by edam
updated autotols stuff |
10087 |
soname=conftest |
10088 |
lib=conftest |
|
10089 |
libobjs=conftest.$ac_objext |
|
10090 |
deplibs= |
|
10091 |
wl=$lt_prog_compiler_wl |
|
10092 |
pic_flag=$lt_prog_compiler_pic |
|
10093 |
compiler_flags=-v |
|
10094 |
linker_flags=-v |
|
10095 |
verstring= |
|
10096 |
output_objdir=. |
|
10097 |
libname=conftest |
|
10098 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
10099 |
allow_undefined_flag= |
|
10100 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
5
by edam
- updated README |
10101 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10102 |
ac_status=$? |
|
10103 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
10104 |
test $ac_status = 0; } |
|
19
by edam
updated autotols stuff |
10105 |
then |
10106 |
lt_cv_archive_cmds_need_lc=no |
|
10107 |
else |
|
10108 |
lt_cv_archive_cmds_need_lc=yes |
|
10109 |
fi |
|
10110 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
10111 |
else |
|
10112 |
cat conftest.err 1>&5 |
|
10113 |
fi |
|
10114 |
$RM conftest* |
|
10115 |
||
10116 |
fi |
|
10117 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
10118 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
|
10119 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
|
5
by edam
- updated README |
10120 |
;; |
10121 |
esac |
|
10122 |
fi |
|
10123 |
;; |
|
10124 |
esac |
|
10125 |
||
10126 |
||
10127 |
||
10128 |
||
10129 |
||
10130 |
||
10131 |
||
10132 |
||
10133 |
||
10134 |
||
10135 |
||
10136 |
||
10137 |
||
10138 |
||
10139 |
||
10140 |
||
10141 |
||
10142 |
||
10143 |
||
10144 |
||
10145 |
||
10146 |
||
10147 |
||
10148 |
||
10149 |
||
10150 |
||
10151 |
||
10152 |
||
10153 |
||
10154 |
||
10155 |
||
10156 |
||
10157 |
||
10158 |
||
10159 |
||
10160 |
||
10161 |
||
10162 |
||
10163 |
||
10164 |
||
10165 |
||
10166 |
||
10167 |
||
10168 |
||
10169 |
||
10170 |
||
10171 |
||
10172 |
||
10173 |
||
10174 |
||
10175 |
||
10176 |
||
10177 |
||
10178 |
||
10179 |
||
10180 |
||
10181 |
||
10182 |
||
10183 |
||
10184 |
||
10185 |
||
10186 |
||
10187 |
||
10188 |
||
10189 |
||
10190 |
||
10191 |
||
10192 |
||
10193 |
||
10194 |
||
10195 |
||
10196 |
||
10197 |
||
10198 |
||
10199 |
||
10200 |
||
10201 |
||
10202 |
||
10203 |
||
10204 |
||
10205 |
||
10206 |
||
10207 |
||
10208 |
||
10209 |
||
10210 |
||
10211 |
||
10212 |
||
10213 |
||
10214 |
||
10215 |
||
10216 |
||
10217 |
||
10218 |
||
10219 |
||
10220 |
||
10221 |
||
10222 |
||
10223 |
||
10224 |
||
10225 |
||
10226 |
||
10227 |
||
10228 |
||
10229 |
||
10230 |
||
10231 |
||
10232 |
||
10233 |
||
10234 |
||
10235 |
||
10236 |
||
10237 |
||
10238 |
||
10239 |
||
10240 |
||
10241 |
||
10242 |
||
10243 |
||
10244 |
||
10245 |
||
10246 |
||
10247 |
||
10248 |
||
10249 |
||
10250 |
||
10251 |
||
10252 |
||
10253 |
||
10254 |
||
10255 |
||
10256 |
||
10257 |
||
10258 |
||
10259 |
||
10260 |
||
10261 |
||
10262 |
||
10263 |
||
10264 |
||
10265 |
||
10266 |
||
10267 |
||
10268 |
||
10269 |
||
10270 |
||
10271 |
||
10272 |
||
10273 |
||
10274 |
||
10275 |
||
10276 |
||
10277 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
10278 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
10279 |
||
10280 |
if test "$GCC" = yes; then |
|
10281 |
case $host_os in |
|
10282 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
10283 |
*) lt_awk_arg="/^libraries:/" ;; |
|
10284 |
esac |
|
19
by edam
updated autotols stuff |
10285 |
case $host_os in |
10286 |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
|
10287 |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
|
10288 |
esac |
|
10289 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
|
10290 |
case $lt_search_path_spec in |
|
10291 |
*\;*) |
|
5
by edam
- updated README |
10292 |
# if the path contains ";" then we assume it to be the separator |
10293 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
10294 |
# assumed that no part of a normal pathname contains ";" but that should |
|
10295 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
19
by edam
updated autotols stuff |
10296 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10297 |
;; |
|
10298 |
*) |
|
10299 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
|
10300 |
;; |
|
10301 |
esac |
|
5
by edam
- updated README |
10302 |
# Ok, now we have the path, separated by spaces, we can step through it |
10303 |
# and add multilib dir if necessary. |
|
10304 |
lt_tmp_lt_search_path_spec= |
|
10305 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
10306 |
for lt_sys_path in $lt_search_path_spec; do |
|
10307 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
10308 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
10309 |
else |
|
10310 |
test -d "$lt_sys_path" && \ |
|
10311 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
10312 |
fi |
|
10313 |
done |
|
19
by edam
updated autotols stuff |
10314 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
5
by edam
- updated README |
10315 |
BEGIN {RS=" "; FS="/|\n";} { |
10316 |
lt_foo=""; |
|
10317 |
lt_count=0; |
|
10318 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
10319 |
if ($lt_i != "" && $lt_i != ".") { |
|
10320 |
if ($lt_i == "..") { |
|
10321 |
lt_count++; |
|
10322 |
} else { |
|
10323 |
if (lt_count == 0) { |
|
10324 |
lt_foo="/" $lt_i lt_foo; |
|
10325 |
} else { |
|
10326 |
lt_count--; |
|
10327 |
} |
|
10328 |
} |
|
10329 |
} |
|
10330 |
} |
|
10331 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
10332 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
10333 |
}'` |
|
19
by edam
updated autotols stuff |
10334 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10335 |
# for these hosts. |
|
10336 |
case $host_os in |
|
10337 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
|
10338 |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
|
10339 |
esac |
|
10340 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
|
5
by edam
- updated README |
10341 |
else |
10342 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
10343 |
fi |
|
10344 |
library_names_spec= |
|
10345 |
libname_spec='lib$name' |
|
10346 |
soname_spec= |
|
10347 |
shrext_cmds=".so" |
|
10348 |
postinstall_cmds= |
|
10349 |
postuninstall_cmds= |
|
10350 |
finish_cmds= |
|
10351 |
finish_eval= |
|
10352 |
shlibpath_var= |
|
10353 |
shlibpath_overrides_runpath=unknown |
|
10354 |
version_type=none |
|
10355 |
dynamic_linker="$host_os ld.so" |
|
10356 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
10357 |
need_lib_prefix=unknown |
|
10358 |
hardcode_into_libs=no |
|
10359 |
||
10360 |
# when you set need_version to no, make sure it does not cause -set_version |
|
10361 |
# flags to be left without arguments |
|
10362 |
need_version=unknown |
|
10363 |
||
10364 |
case $host_os in |
|
10365 |
aix3*) |
|
19
by edam
updated autotols stuff |
10366 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10367 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10368 |
shlibpath_var=LIBPATH |
|
10369 |
||
10370 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
10371 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10372 |
;; |
|
10373 |
||
10374 |
aix[4-9]*) |
|
19
by edam
updated autotols stuff |
10375 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10376 |
need_lib_prefix=no |
10377 |
need_version=no |
|
10378 |
hardcode_into_libs=yes |
|
10379 |
if test "$host_cpu" = ia64; then |
|
10380 |
# AIX 5 supports IA64 |
|
10381 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
10382 |
shlibpath_var=LD_LIBRARY_PATH |
|
10383 |
else |
|
10384 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
10385 |
# for dependence libraries. The import file would start with |
|
10386 |
# the line `#! .'. This would cause the generated library to |
|
10387 |
# depend on `.', always an invalid library. This was fixed in |
|
10388 |
# development snapshots of GCC prior to 3.0. |
|
10389 |
case $host_os in |
|
10390 |
aix4 | aix4.[01] | aix4.[01].*) |
|
10391 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
10392 |
echo ' yes ' |
|
10393 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
|
10394 |
: |
|
10395 |
else |
|
10396 |
can_build_shared=no |
|
10397 |
fi |
|
10398 |
;; |
|
10399 |
esac |
|
10400 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
10401 |
# soname into executable. Probably we can add versioning support to |
|
10402 |
# collect2, so additional links can be useful in future. |
|
10403 |
if test "$aix_use_runtimelinking" = yes; then |
|
10404 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
10405 |
# instead of lib<name>.a to let people know that these are not |
|
10406 |
# typical AIX shared libraries. |
|
10407 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10408 |
else |
|
10409 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
10410 |
# and later when we are not doing run time linking. |
|
10411 |
library_names_spec='${libname}${release}.a $libname.a' |
|
10412 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10413 |
fi |
|
10414 |
shlibpath_var=LIBPATH |
|
10415 |
fi |
|
10416 |
;; |
|
10417 |
||
10418 |
amigaos*) |
|
10419 |
case $host_cpu in |
|
10420 |
powerpc) |
|
10421 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
10422 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
10423 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10424 |
;; |
|
10425 |
m68k) |
|
10426 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
10427 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
19
by edam
updated autotols stuff |
10428 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
5
by edam
- updated README |
10429 |
;; |
10430 |
esac |
|
10431 |
;; |
|
10432 |
||
10433 |
beos*) |
|
10434 |
library_names_spec='${libname}${shared_ext}' |
|
10435 |
dynamic_linker="$host_os ld.so" |
|
10436 |
shlibpath_var=LIBRARY_PATH |
|
10437 |
;; |
|
10438 |
||
10439 |
bsdi[45]*) |
|
19
by edam
updated autotols stuff |
10440 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10441 |
need_version=no |
10442 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10443 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10444 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
10445 |
shlibpath_var=LD_LIBRARY_PATH |
|
10446 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
10447 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
10448 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
10449 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
10450 |
# libtool to hard-code these into programs |
|
10451 |
;; |
|
10452 |
||
10453 |
cygwin* | mingw* | pw32* | cegcc*) |
|
10454 |
version_type=windows |
|
10455 |
shrext_cmds=".dll" |
|
10456 |
need_version=no |
|
10457 |
need_lib_prefix=no |
|
10458 |
||
19
by edam
updated autotols stuff |
10459 |
case $GCC,$cc_basename in |
10460 |
yes,*) |
|
10461 |
# gcc |
|
5
by edam
- updated README |
10462 |
library_names_spec='$libname.dll.a' |
10463 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10464 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
10465 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
10466 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10467 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10468 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
10469 |
chmod a+x \$dldir/$dlname~ |
|
10470 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
10471 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
10472 |
fi' |
|
10473 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10474 |
dlpath=$dir/\$dldll~ |
|
10475 |
$RM \$dlpath' |
|
10476 |
shlibpath_overrides_runpath=yes |
|
10477 |
||
10478 |
case $host_os in |
|
10479 |
cygwin*) |
|
10480 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
10481 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
19
by edam
updated autotols stuff |
10482 |
|
10483 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
|
5
by edam
- updated README |
10484 |
;; |
10485 |
mingw* | cegcc*) |
|
10486 |
# MinGW DLLs use traditional 'lib' prefix |
|
10487 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10488 |
;; |
|
10489 |
pw32*) |
|
10490 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
10491 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10492 |
;; |
|
10493 |
esac |
|
19
by edam
updated autotols stuff |
10494 |
dynamic_linker='Win32 ld.exe' |
10495 |
;; |
|
10496 |
||
10497 |
*,cl*) |
|
10498 |
# Native MSVC |
|
10499 |
libname_spec='$name' |
|
10500 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10501 |
library_names_spec='${libname}.dll.lib' |
|
10502 |
||
10503 |
case $build_os in |
|
10504 |
mingw*) |
|
10505 |
sys_lib_search_path_spec= |
|
10506 |
lt_save_ifs=$IFS |
|
10507 |
IFS=';' |
|
10508 |
for lt_path in $LIB |
|
10509 |
do |
|
10510 |
IFS=$lt_save_ifs |
|
10511 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
10512 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
10513 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
10514 |
done |
|
10515 |
IFS=$lt_save_ifs |
|
10516 |
# Convert to MSYS style. |
|
10517 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
10518 |
;; |
|
10519 |
cygwin*) |
|
10520 |
# Convert to unix form, then to dos form, then back to unix form |
|
10521 |
# but this time dos style (no spaces!) so that the unix form looks |
|
10522 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
10523 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
10524 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
10525 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10526 |
;; |
|
10527 |
*) |
|
10528 |
sys_lib_search_path_spec="$LIB" |
|
10529 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
10530 |
# It is most probably a Windows format PATH. |
|
10531 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
10532 |
else |
|
10533 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10534 |
fi |
|
10535 |
# FIXME: find the short name or the path components, as spaces are |
|
10536 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
10537 |
;; |
|
10538 |
esac |
|
10539 |
||
10540 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10541 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
10542 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
10543 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10544 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10545 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
10546 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10547 |
dlpath=$dir/\$dldll~ |
|
10548 |
$RM \$dlpath' |
|
10549 |
shlibpath_overrides_runpath=yes |
|
10550 |
dynamic_linker='Win32 link.exe' |
|
5
by edam
- updated README |
10551 |
;; |
10552 |
||
10553 |
*) |
|
19
by edam
updated autotols stuff |
10554 |
# Assume MSVC wrapper |
5
by edam
- updated README |
10555 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
19
by edam
updated autotols stuff |
10556 |
dynamic_linker='Win32 ld.exe' |
5
by edam
- updated README |
10557 |
;; |
10558 |
esac |
|
10559 |
# FIXME: first we should search . and the directory the executable is in |
|
10560 |
shlibpath_var=PATH |
|
10561 |
;; |
|
10562 |
||
10563 |
darwin* | rhapsody*) |
|
10564 |
dynamic_linker="$host_os dyld" |
|
10565 |
version_type=darwin |
|
10566 |
need_lib_prefix=no |
|
10567 |
need_version=no |
|
10568 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
10569 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
10570 |
shlibpath_overrides_runpath=yes |
|
10571 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
10572 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
10573 |
||
10574 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
10575 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
10576 |
;; |
|
10577 |
||
10578 |
dgux*) |
|
19
by edam
updated autotols stuff |
10579 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10580 |
need_lib_prefix=no |
10581 |
need_version=no |
|
10582 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
10583 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10584 |
shlibpath_var=LD_LIBRARY_PATH |
|
10585 |
;; |
|
10586 |
||
10587 |
freebsd* | dragonfly*) |
|
10588 |
# DragonFly does not have aout. When/if they implement a new |
|
10589 |
# versioning mechanism, adjust this. |
|
10590 |
if test -x /usr/bin/objformat; then |
|
10591 |
objformat=`/usr/bin/objformat` |
|
10592 |
else |
|
10593 |
case $host_os in |
|
19
by edam
updated autotols stuff |
10594 |
freebsd[23].*) objformat=aout ;; |
5
by edam
- updated README |
10595 |
*) objformat=elf ;; |
10596 |
esac |
|
10597 |
fi |
|
10598 |
version_type=freebsd-$objformat |
|
10599 |
case $version_type in |
|
10600 |
freebsd-elf*) |
|
10601 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10602 |
need_version=no |
|
10603 |
need_lib_prefix=no |
|
10604 |
;; |
|
10605 |
freebsd-*) |
|
10606 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
10607 |
need_version=yes |
|
10608 |
;; |
|
10609 |
esac |
|
10610 |
shlibpath_var=LD_LIBRARY_PATH |
|
10611 |
case $host_os in |
|
19
by edam
updated autotols stuff |
10612 |
freebsd2.*) |
5
by edam
- updated README |
10613 |
shlibpath_overrides_runpath=yes |
10614 |
;; |
|
10615 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
10616 |
shlibpath_overrides_runpath=yes |
|
10617 |
hardcode_into_libs=yes |
|
10618 |
;; |
|
10619 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
10620 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
10621 |
shlibpath_overrides_runpath=no |
|
10622 |
hardcode_into_libs=yes |
|
10623 |
;; |
|
10624 |
*) # from 4.6 on, and DragonFly |
|
10625 |
shlibpath_overrides_runpath=yes |
|
10626 |
hardcode_into_libs=yes |
|
10627 |
;; |
|
10628 |
esac |
|
10629 |
;; |
|
10630 |
||
10631 |
gnu*) |
|
19
by edam
updated autotols stuff |
10632 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10633 |
need_lib_prefix=no |
10634 |
need_version=no |
|
10635 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10636 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10637 |
shlibpath_var=LD_LIBRARY_PATH |
|
19
by edam
updated autotols stuff |
10638 |
shlibpath_overrides_runpath=no |
10639 |
hardcode_into_libs=yes |
|
10640 |
;; |
|
10641 |
||
10642 |
haiku*) |
|
10643 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10644 |
need_lib_prefix=no |
|
10645 |
need_version=no |
|
10646 |
dynamic_linker="$host_os runtime_loader" |
|
10647 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10648 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10649 |
shlibpath_var=LIBRARY_PATH |
|
10650 |
shlibpath_overrides_runpath=yes |
|
10651 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
5
by edam
- updated README |
10652 |
hardcode_into_libs=yes |
10653 |
;; |
|
10654 |
||
10655 |
hpux9* | hpux10* | hpux11*) |
|
10656 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
10657 |
# link against other versions. |
|
10658 |
version_type=sunos |
|
10659 |
need_lib_prefix=no |
|
10660 |
need_version=no |
|
10661 |
case $host_cpu in |
|
10662 |
ia64*) |
|
10663 |
shrext_cmds='.so' |
|
10664 |
hardcode_into_libs=yes |
|
10665 |
dynamic_linker="$host_os dld.so" |
|
10666 |
shlibpath_var=LD_LIBRARY_PATH |
|
10667 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10668 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10669 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10670 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
10671 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
10672 |
else |
|
10673 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
10674 |
fi |
|
10675 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10676 |
;; |
|
10677 |
hppa*64*) |
|
10678 |
shrext_cmds='.sl' |
|
10679 |
hardcode_into_libs=yes |
|
10680 |
dynamic_linker="$host_os dld.sl" |
|
10681 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
10682 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10683 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10684 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10685 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
10686 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10687 |
;; |
|
10688 |
*) |
|
10689 |
shrext_cmds='.sl' |
|
10690 |
dynamic_linker="$host_os dld.sl" |
|
10691 |
shlibpath_var=SHLIB_PATH |
|
10692 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
10693 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10694 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10695 |
;; |
|
10696 |
esac |
|
19
by edam
updated autotols stuff |
10697 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
5
by edam
- updated README |
10698 |
postinstall_cmds='chmod 555 $lib' |
19
by edam
updated autotols stuff |
10699 |
# or fails outright, so override atomically: |
10700 |
install_override_mode=555 |
|
5
by edam
- updated README |
10701 |
;; |
10702 |
||
10703 |
interix[3-9]*) |
|
19
by edam
updated autotols stuff |
10704 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10705 |
need_lib_prefix=no |
10706 |
need_version=no |
|
10707 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10708 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10709 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
10710 |
shlibpath_var=LD_LIBRARY_PATH |
|
10711 |
shlibpath_overrides_runpath=no |
|
10712 |
hardcode_into_libs=yes |
|
10713 |
;; |
|
10714 |
||
10715 |
irix5* | irix6* | nonstopux*) |
|
10716 |
case $host_os in |
|
10717 |
nonstopux*) version_type=nonstopux ;; |
|
10718 |
*) |
|
10719 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
19
by edam
updated autotols stuff |
10720 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10721 |
else |
10722 |
version_type=irix |
|
10723 |
fi ;; |
|
10724 |
esac |
|
10725 |
need_lib_prefix=no |
|
10726 |
need_version=no |
|
10727 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10728 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10729 |
case $host_os in |
|
10730 |
irix5* | nonstopux*) |
|
10731 |
libsuff= shlibsuff= |
|
10732 |
;; |
|
10733 |
*) |
|
10734 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
10735 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
10736 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
10737 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
10738 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
10739 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
10740 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
10741 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
10742 |
esac |
|
10743 |
;; |
|
10744 |
esac |
|
10745 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
10746 |
shlibpath_overrides_runpath=no |
|
10747 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
10748 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
10749 |
hardcode_into_libs=yes |
|
10750 |
;; |
|
10751 |
||
10752 |
# No shared lib support for Linux oldld, aout, or coff. |
|
10753 |
linux*oldld* | linux*aout* | linux*coff*) |
|
10754 |
dynamic_linker=no |
|
10755 |
;; |
|
10756 |
||
19
by edam
updated autotols stuff |
10757 |
# This must be glibc/ELF. |
10758 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
10759 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
5
by edam
- updated README |
10760 |
need_lib_prefix=no |
10761 |
need_version=no |
|
10762 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10763 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10764 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
10765 |
shlibpath_var=LD_LIBRARY_PATH |
|
10766 |
shlibpath_overrides_runpath=no |
|
19
by edam
updated autotols stuff |
10767 |
|
5
by edam
- updated README |
10768 |
# Some binutils ld are patched to set DT_RUNPATH |
19
by edam
updated autotols stuff |
10769 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
10770 |
$as_echo_n "(cached) " >&6 |
|
10771 |
else |
|
10772 |
lt_cv_shlibpath_overrides_runpath=no |
|
10773 |
save_LDFLAGS=$LDFLAGS |
|
10774 |
save_libdir=$libdir |
|
10775 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
10776 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
10777 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
10778 |
/* end confdefs.h. */ |
10779 |
||
10780 |
int |
|
10781 |
main () |
|
10782 |
{ |
|
10783 |
||
10784 |
; |
|
10785 |
return 0; |
|
10786 |
} |
|
10787 |
_ACEOF |
|
10788 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10789 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
19
by edam
updated autotols stuff |
10790 |
lt_cv_shlibpath_overrides_runpath=yes |
5
by edam
- updated README |
10791 |
fi |
10792 |
fi |
|
10793 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10794 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
10795 |
LDFLAGS=$save_LDFLAGS |
10796 |
libdir=$save_libdir |
|
10797 |
||
10798 |
fi |
|
10799 |
||
10800 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
5
by edam
- updated README |
10801 |
|
10802 |
# This implies no fast_install, which is unacceptable. |
|
10803 |
# Some rework will be needed to allow for fast_install |
|
10804 |
# before this can be enabled. |
|
10805 |
hardcode_into_libs=yes |
|
10806 |
||
10807 |
# Append ld.so.conf contents to the search path |
|
10808 |
if test -f /etc/ld.so.conf; then |
|
19
by edam
updated autotols stuff |
10809 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
5
by edam
- updated README |
10810 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
10811 |
fi |
|
10812 |
||
10813 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
10814 |
# powerpc, because MkLinux only supported shared libraries with the |
|
10815 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
10816 |
# most powerpc-linux boxes support dynamic linking these days and |
|
10817 |
# people can always --disable-shared, the test was removed, and we |
|
10818 |
# assume the GNU/Linux dynamic linker is in use. |
|
10819 |
dynamic_linker='GNU/Linux ld.so' |
|
10820 |
;; |
|
10821 |
||
10822 |
netbsdelf*-gnu) |
|
10823 |
version_type=linux |
|
10824 |
need_lib_prefix=no |
|
10825 |
need_version=no |
|
10826 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10827 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10828 |
shlibpath_var=LD_LIBRARY_PATH |
|
10829 |
shlibpath_overrides_runpath=no |
|
10830 |
hardcode_into_libs=yes |
|
10831 |
dynamic_linker='NetBSD ld.elf_so' |
|
10832 |
;; |
|
10833 |
||
10834 |
netbsd*) |
|
10835 |
version_type=sunos |
|
10836 |
need_lib_prefix=no |
|
10837 |
need_version=no |
|
10838 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
10839 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10840 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10841 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
10842 |
else |
|
10843 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10844 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10845 |
dynamic_linker='NetBSD ld.elf_so' |
|
10846 |
fi |
|
10847 |
shlibpath_var=LD_LIBRARY_PATH |
|
10848 |
shlibpath_overrides_runpath=yes |
|
10849 |
hardcode_into_libs=yes |
|
10850 |
;; |
|
10851 |
||
10852 |
newsos6) |
|
19
by edam
updated autotols stuff |
10853 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10854 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10855 |
shlibpath_var=LD_LIBRARY_PATH |
|
10856 |
shlibpath_overrides_runpath=yes |
|
10857 |
;; |
|
10858 |
||
10859 |
*nto* | *qnx*) |
|
10860 |
version_type=qnx |
|
10861 |
need_lib_prefix=no |
|
10862 |
need_version=no |
|
10863 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10864 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10865 |
shlibpath_var=LD_LIBRARY_PATH |
|
10866 |
shlibpath_overrides_runpath=no |
|
10867 |
hardcode_into_libs=yes |
|
10868 |
dynamic_linker='ldqnx.so' |
|
10869 |
;; |
|
10870 |
||
10871 |
openbsd*) |
|
10872 |
version_type=sunos |
|
10873 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
10874 |
need_lib_prefix=no |
|
10875 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
10876 |
case $host_os in |
|
10877 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
10878 |
*) need_version=no ;; |
|
10879 |
esac |
|
10880 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10881 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10882 |
shlibpath_var=LD_LIBRARY_PATH |
|
10883 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
10884 |
case $host_os in |
|
10885 |
openbsd2.[89] | openbsd2.[89].*) |
|
10886 |
shlibpath_overrides_runpath=no |
|
10887 |
;; |
|
10888 |
*) |
|
10889 |
shlibpath_overrides_runpath=yes |
|
10890 |
;; |
|
10891 |
esac |
|
10892 |
else |
|
10893 |
shlibpath_overrides_runpath=yes |
|
10894 |
fi |
|
10895 |
;; |
|
10896 |
||
10897 |
os2*) |
|
10898 |
libname_spec='$name' |
|
10899 |
shrext_cmds=".dll" |
|
10900 |
need_lib_prefix=no |
|
10901 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
10902 |
dynamic_linker='OS/2 ld.exe' |
|
10903 |
shlibpath_var=LIBPATH |
|
10904 |
;; |
|
10905 |
||
10906 |
osf3* | osf4* | osf5*) |
|
10907 |
version_type=osf |
|
10908 |
need_lib_prefix=no |
|
10909 |
need_version=no |
|
10910 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10911 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10912 |
shlibpath_var=LD_LIBRARY_PATH |
|
10913 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
10914 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
10915 |
;; |
|
10916 |
||
10917 |
rdos*) |
|
10918 |
dynamic_linker=no |
|
10919 |
;; |
|
10920 |
||
10921 |
solaris*) |
|
19
by edam
updated autotols stuff |
10922 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10923 |
need_lib_prefix=no |
10924 |
need_version=no |
|
10925 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10926 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10927 |
shlibpath_var=LD_LIBRARY_PATH |
|
10928 |
shlibpath_overrides_runpath=yes |
|
10929 |
hardcode_into_libs=yes |
|
10930 |
# ldd complains unless libraries are executable |
|
10931 |
postinstall_cmds='chmod +x $lib' |
|
10932 |
;; |
|
10933 |
||
10934 |
sunos4*) |
|
10935 |
version_type=sunos |
|
10936 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10937 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
10938 |
shlibpath_var=LD_LIBRARY_PATH |
|
10939 |
shlibpath_overrides_runpath=yes |
|
10940 |
if test "$with_gnu_ld" = yes; then |
|
10941 |
need_lib_prefix=no |
|
10942 |
fi |
|
10943 |
need_version=yes |
|
10944 |
;; |
|
10945 |
||
10946 |
sysv4 | sysv4.3*) |
|
19
by edam
updated autotols stuff |
10947 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10948 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10949 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10950 |
shlibpath_var=LD_LIBRARY_PATH |
|
10951 |
case $host_vendor in |
|
10952 |
sni) |
|
10953 |
shlibpath_overrides_runpath=no |
|
10954 |
need_lib_prefix=no |
|
10955 |
runpath_var=LD_RUN_PATH |
|
10956 |
;; |
|
10957 |
siemens) |
|
10958 |
need_lib_prefix=no |
|
10959 |
;; |
|
10960 |
motorola) |
|
10961 |
need_lib_prefix=no |
|
10962 |
need_version=no |
|
10963 |
shlibpath_overrides_runpath=no |
|
10964 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
10965 |
;; |
|
10966 |
esac |
|
10967 |
;; |
|
10968 |
||
10969 |
sysv4*MP*) |
|
10970 |
if test -d /usr/nec ;then |
|
19
by edam
updated autotols stuff |
10971 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
10972 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
10973 |
soname_spec='$libname${shared_ext}.$major' |
|
10974 |
shlibpath_var=LD_LIBRARY_PATH |
|
10975 |
fi |
|
10976 |
;; |
|
10977 |
||
10978 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
10979 |
version_type=freebsd-elf |
|
10980 |
need_lib_prefix=no |
|
10981 |
need_version=no |
|
10982 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10983 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10984 |
shlibpath_var=LD_LIBRARY_PATH |
|
10985 |
shlibpath_overrides_runpath=yes |
|
10986 |
hardcode_into_libs=yes |
|
10987 |
if test "$with_gnu_ld" = yes; then |
|
10988 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
10989 |
else |
|
10990 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
10991 |
case $host_os in |
|
10992 |
sco3.2v5*) |
|
10993 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
10994 |
;; |
|
10995 |
esac |
|
10996 |
fi |
|
10997 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
10998 |
;; |
|
10999 |
||
11000 |
tpf*) |
|
11001 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
19
by edam
updated autotols stuff |
11002 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
11003 |
need_lib_prefix=no |
11004 |
need_version=no |
|
11005 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
11006 |
shlibpath_var=LD_LIBRARY_PATH |
|
11007 |
shlibpath_overrides_runpath=no |
|
11008 |
hardcode_into_libs=yes |
|
11009 |
;; |
|
11010 |
||
11011 |
uts4*) |
|
19
by edam
updated autotols stuff |
11012 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
11013 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11014 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
11015 |
shlibpath_var=LD_LIBRARY_PATH |
|
11016 |
;; |
|
11017 |
||
11018 |
*) |
|
11019 |
dynamic_linker=no |
|
11020 |
;; |
|
11021 |
esac |
|
11022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
|
11023 |
$as_echo "$dynamic_linker" >&6; } |
|
11024 |
test "$dynamic_linker" = no && can_build_shared=no |
|
11025 |
||
11026 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
11027 |
if test "$GCC" = yes; then |
|
11028 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
11029 |
fi |
|
11030 |
||
11031 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
11032 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
11033 |
fi |
|
11034 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
11035 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
11036 |
fi |
|
11037 |
||
11038 |
||
11039 |
||
11040 |
||
11041 |
||
11042 |
||
11043 |
||
11044 |
||
11045 |
||
11046 |
||
11047 |
||
11048 |
||
11049 |
||
11050 |
||
11051 |
||
11052 |
||
11053 |
||
11054 |
||
11055 |
||
11056 |
||
11057 |
||
11058 |
||
11059 |
||
11060 |
||
11061 |
||
11062 |
||
11063 |
||
11064 |
||
11065 |
||
11066 |
||
11067 |
||
11068 |
||
11069 |
||
11070 |
||
11071 |
||
11072 |
||
11073 |
||
11074 |
||
11075 |
||
11076 |
||
11077 |
||
11078 |
||
11079 |
||
11080 |
||
11081 |
||
11082 |
||
11083 |
||
11084 |
||
11085 |
||
11086 |
||
11087 |
||
11088 |
||
11089 |
||
11090 |
||
11091 |
||
11092 |
||
11093 |
||
11094 |
||
11095 |
||
11096 |
||
11097 |
||
11098 |
||
11099 |
||
11100 |
||
11101 |
||
11102 |
||
11103 |
||
11104 |
||
11105 |
||
11106 |
||
11107 |
||
11108 |
||
11109 |
||
11110 |
||
11111 |
||
11112 |
||
11113 |
||
11114 |
||
11115 |
||
11116 |
||
11117 |
||
11118 |
||
11119 |
||
11120 |
||
11121 |
||
11122 |
||
11123 |
||
19
by edam
updated autotols stuff |
11124 |
|
11125 |
||
11126 |
||
11127 |
||
11128 |
||
5
by edam
- updated README |
11129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11130 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
11131 |
hardcode_action= |
|
11132 |
if test -n "$hardcode_libdir_flag_spec" || |
|
11133 |
test -n "$runpath_var" || |
|
11134 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
11135 |
||
11136 |
# We can hardcode non-existent directories. |
|
11137 |
if test "$hardcode_direct" != no && |
|
11138 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
11139 |
# have to relink, otherwise we might link with an installed library |
|
11140 |
# when we should be linking with a yet-to-be-installed one |
|
11141 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
11142 |
test "$hardcode_minus_L" != no; then |
|
11143 |
# Linking always hardcodes the temporary library directory. |
|
11144 |
hardcode_action=relink |
|
11145 |
else |
|
11146 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
11147 |
hardcode_action=immediate |
|
11148 |
fi |
|
11149 |
else |
|
11150 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
11151 |
# directories. |
|
11152 |
hardcode_action=unsupported |
|
11153 |
fi |
|
11154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
|
11155 |
$as_echo "$hardcode_action" >&6; } |
|
11156 |
||
11157 |
if test "$hardcode_action" = relink || |
|
11158 |
test "$inherit_rpath" = yes; then |
|
11159 |
# Fast installation is not supported |
|
11160 |
enable_fast_install=no |
|
11161 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
11162 |
test "$enable_shared" = no; then |
|
11163 |
# Fast installation is not necessary |
|
11164 |
enable_fast_install=needless |
|
11165 |
fi |
|
11166 |
||
11167 |
||
11168 |
||
11169 |
||
11170 |
||
11171 |
||
11172 |
if test "x$enable_dlopen" != xyes; then |
|
11173 |
enable_dlopen=unknown |
|
11174 |
enable_dlopen_self=unknown |
|
11175 |
enable_dlopen_self_static=unknown |
|
11176 |
else |
|
11177 |
lt_cv_dlopen=no |
|
11178 |
lt_cv_dlopen_libs= |
|
11179 |
||
11180 |
case $host_os in |
|
11181 |
beos*) |
|
11182 |
lt_cv_dlopen="load_add_on" |
|
11183 |
lt_cv_dlopen_libs= |
|
11184 |
lt_cv_dlopen_self=yes |
|
11185 |
;; |
|
11186 |
||
11187 |
mingw* | pw32* | cegcc*) |
|
11188 |
lt_cv_dlopen="LoadLibrary" |
|
11189 |
lt_cv_dlopen_libs= |
|
11190 |
;; |
|
11191 |
||
11192 |
cygwin*) |
|
11193 |
lt_cv_dlopen="dlopen" |
|
11194 |
lt_cv_dlopen_libs= |
|
11195 |
;; |
|
11196 |
||
11197 |
darwin*) |
|
11198 |
# if libdl is installed we need to link against it |
|
11199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11200 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
19
by edam
updated autotols stuff |
11201 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
5
by edam
- updated README |
11202 |
$as_echo_n "(cached) " >&6 |
11203 |
else |
|
11204 |
ac_check_lib_save_LIBS=$LIBS |
|
11205 |
LIBS="-ldl $LIBS" |
|
11206 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11207 |
/* end confdefs.h. */ |
|
11208 |
||
11209 |
/* Override any GCC internal prototype to avoid an error. |
|
11210 |
Use char because int might match the return type of a GCC |
|
11211 |
builtin and then its argument prototype would still apply. */ |
|
11212 |
#ifdef __cplusplus |
|
11213 |
extern "C" |
|
11214 |
#endif |
|
11215 |
char dlopen (); |
|
11216 |
int |
|
11217 |
main () |
|
11218 |
{ |
|
11219 |
return dlopen (); |
|
11220 |
; |
|
11221 |
return 0; |
|
11222 |
} |
|
11223 |
_ACEOF |
|
11224 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11225 |
ac_cv_lib_dl_dlopen=yes |
|
11226 |
else |
|
11227 |
ac_cv_lib_dl_dlopen=no |
|
11228 |
fi |
|
11229 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11230 |
conftest$ac_exeext conftest.$ac_ext |
|
11231 |
LIBS=$ac_check_lib_save_LIBS |
|
11232 |
fi |
|
11233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11234 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
19
by edam
updated autotols stuff |
11235 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
5
by edam
- updated README |
11236 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11237 |
else |
|
11238 |
||
11239 |
lt_cv_dlopen="dyld" |
|
11240 |
lt_cv_dlopen_libs= |
|
11241 |
lt_cv_dlopen_self=yes |
|
11242 |
||
11243 |
fi |
|
11244 |
||
11245 |
;; |
|
11246 |
||
11247 |
*) |
|
11248 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
|
19
by edam
updated autotols stuff |
11249 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
5
by edam
- updated README |
11250 |
lt_cv_dlopen="shl_load" |
11251 |
else |
|
11252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
|
11253 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
19
by edam
updated autotols stuff |
11254 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
5
by edam
- updated README |
11255 |
$as_echo_n "(cached) " >&6 |
11256 |
else |
|
11257 |
ac_check_lib_save_LIBS=$LIBS |
|
11258 |
LIBS="-ldld $LIBS" |
|
11259 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11260 |
/* end confdefs.h. */ |
|
11261 |
||
11262 |
/* Override any GCC internal prototype to avoid an error. |
|
11263 |
Use char because int might match the return type of a GCC |
|
11264 |
builtin and then its argument prototype would still apply. */ |
|
11265 |
#ifdef __cplusplus |
|
11266 |
extern "C" |
|
11267 |
#endif |
|
11268 |
char shl_load (); |
|
11269 |
int |
|
11270 |
main () |
|
11271 |
{ |
|
11272 |
return shl_load (); |
|
11273 |
; |
|
11274 |
return 0; |
|
11275 |
} |
|
11276 |
_ACEOF |
|
11277 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11278 |
ac_cv_lib_dld_shl_load=yes |
|
11279 |
else |
|
11280 |
ac_cv_lib_dld_shl_load=no |
|
11281 |
fi |
|
11282 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11283 |
conftest$ac_exeext conftest.$ac_ext |
|
11284 |
LIBS=$ac_check_lib_save_LIBS |
|
11285 |
fi |
|
11286 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
|
11287 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
19
by edam
updated autotols stuff |
11288 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
5
by edam
- updated README |
11289 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11290 |
else |
|
11291 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
19
by edam
updated autotols stuff |
11292 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
5
by edam
- updated README |
11293 |
lt_cv_dlopen="dlopen" |
11294 |
else |
|
11295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11296 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
19
by edam
updated autotols stuff |
11297 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
5
by edam
- updated README |
11298 |
$as_echo_n "(cached) " >&6 |
11299 |
else |
|
11300 |
ac_check_lib_save_LIBS=$LIBS |
|
11301 |
LIBS="-ldl $LIBS" |
|
11302 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11303 |
/* end confdefs.h. */ |
|
11304 |
||
11305 |
/* Override any GCC internal prototype to avoid an error. |
|
11306 |
Use char because int might match the return type of a GCC |
|
11307 |
builtin and then its argument prototype would still apply. */ |
|
11308 |
#ifdef __cplusplus |
|
11309 |
extern "C" |
|
11310 |
#endif |
|
11311 |
char dlopen (); |
|
11312 |
int |
|
11313 |
main () |
|
11314 |
{ |
|
11315 |
return dlopen (); |
|
11316 |
; |
|
11317 |
return 0; |
|
11318 |
} |
|
11319 |
_ACEOF |
|
11320 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11321 |
ac_cv_lib_dl_dlopen=yes |
|
11322 |
else |
|
11323 |
ac_cv_lib_dl_dlopen=no |
|
11324 |
fi |
|
11325 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11326 |
conftest$ac_exeext conftest.$ac_ext |
|
11327 |
LIBS=$ac_check_lib_save_LIBS |
|
11328 |
fi |
|
11329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11330 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
19
by edam
updated autotols stuff |
11331 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
5
by edam
- updated README |
11332 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11333 |
else |
|
11334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
|
11335 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
19
by edam
updated autotols stuff |
11336 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
5
by edam
- updated README |
11337 |
$as_echo_n "(cached) " >&6 |
11338 |
else |
|
11339 |
ac_check_lib_save_LIBS=$LIBS |
|
11340 |
LIBS="-lsvld $LIBS" |
|
11341 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11342 |
/* end confdefs.h. */ |
|
11343 |
||
11344 |
/* Override any GCC internal prototype to avoid an error. |
|
11345 |
Use char because int might match the return type of a GCC |
|
11346 |
builtin and then its argument prototype would still apply. */ |
|
11347 |
#ifdef __cplusplus |
|
11348 |
extern "C" |
|
11349 |
#endif |
|
11350 |
char dlopen (); |
|
11351 |
int |
|
11352 |
main () |
|
11353 |
{ |
|
11354 |
return dlopen (); |
|
11355 |
; |
|
11356 |
return 0; |
|
11357 |
} |
|
11358 |
_ACEOF |
|
11359 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11360 |
ac_cv_lib_svld_dlopen=yes |
|
11361 |
else |
|
11362 |
ac_cv_lib_svld_dlopen=no |
|
11363 |
fi |
|
11364 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11365 |
conftest$ac_exeext conftest.$ac_ext |
|
11366 |
LIBS=$ac_check_lib_save_LIBS |
|
11367 |
fi |
|
11368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
|
11369 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
19
by edam
updated autotols stuff |
11370 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
5
by edam
- updated README |
11371 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11372 |
else |
|
11373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
|
11374 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
19
by edam
updated autotols stuff |
11375 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
5
by edam
- updated README |
11376 |
$as_echo_n "(cached) " >&6 |
11377 |
else |
|
11378 |
ac_check_lib_save_LIBS=$LIBS |
|
11379 |
LIBS="-ldld $LIBS" |
|
11380 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11381 |
/* end confdefs.h. */ |
|
11382 |
||
11383 |
/* Override any GCC internal prototype to avoid an error. |
|
11384 |
Use char because int might match the return type of a GCC |
|
11385 |
builtin and then its argument prototype would still apply. */ |
|
11386 |
#ifdef __cplusplus |
|
11387 |
extern "C" |
|
11388 |
#endif |
|
11389 |
char dld_link (); |
|
11390 |
int |
|
11391 |
main () |
|
11392 |
{ |
|
11393 |
return dld_link (); |
|
11394 |
; |
|
11395 |
return 0; |
|
11396 |
} |
|
11397 |
_ACEOF |
|
11398 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11399 |
ac_cv_lib_dld_dld_link=yes |
|
11400 |
else |
|
11401 |
ac_cv_lib_dld_dld_link=no |
|
11402 |
fi |
|
11403 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11404 |
conftest$ac_exeext conftest.$ac_ext |
|
11405 |
LIBS=$ac_check_lib_save_LIBS |
|
11406 |
fi |
|
11407 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
|
11408 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
19
by edam
updated autotols stuff |
11409 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
5
by edam
- updated README |
11410 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11411 |
fi |
|
11412 |
||
11413 |
||
11414 |
fi |
|
11415 |
||
11416 |
||
11417 |
fi |
|
11418 |
||
11419 |
||
11420 |
fi |
|
11421 |
||
11422 |
||
11423 |
fi |
|
11424 |
||
11425 |
||
11426 |
fi |
|
11427 |
||
11428 |
;; |
|
11429 |
esac |
|
11430 |
||
11431 |
if test "x$lt_cv_dlopen" != xno; then |
|
11432 |
enable_dlopen=yes |
|
11433 |
else |
|
11434 |
enable_dlopen=no |
|
11435 |
fi |
|
11436 |
||
11437 |
case $lt_cv_dlopen in |
|
11438 |
dlopen) |
|
11439 |
save_CPPFLAGS="$CPPFLAGS" |
|
11440 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
11441 |
||
11442 |
save_LDFLAGS="$LDFLAGS" |
|
11443 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
11444 |
||
11445 |
save_LIBS="$LIBS" |
|
11446 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
11447 |
||
11448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
|
11449 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
19
by edam
updated autotols stuff |
11450 |
if ${lt_cv_dlopen_self+:} false; then : |
5
by edam
- updated README |
11451 |
$as_echo_n "(cached) " >&6 |
11452 |
else |
|
11453 |
if test "$cross_compiling" = yes; then : |
|
11454 |
lt_cv_dlopen_self=cross |
|
11455 |
else |
|
11456 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11457 |
lt_status=$lt_dlunknown |
|
11458 |
cat > conftest.$ac_ext <<_LT_EOF |
|
19
by edam
updated autotols stuff |
11459 |
#line $LINENO "configure" |
5
by edam
- updated README |
11460 |
#include "confdefs.h" |
11461 |
||
11462 |
#if HAVE_DLFCN_H |
|
11463 |
#include <dlfcn.h> |
|
11464 |
#endif |
|
11465 |
||
11466 |
#include <stdio.h> |
|
11467 |
||
11468 |
#ifdef RTLD_GLOBAL |
|
11469 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11470 |
#else |
|
11471 |
# ifdef DL_GLOBAL |
|
11472 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11473 |
# else |
|
11474 |
# define LT_DLGLOBAL 0 |
|
11475 |
# endif |
|
11476 |
#endif |
|
11477 |
||
11478 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11479 |
find out it does not work in some platform. */ |
|
11480 |
#ifndef LT_DLLAZY_OR_NOW |
|
11481 |
# ifdef RTLD_LAZY |
|
11482 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11483 |
# else |
|
11484 |
# ifdef DL_LAZY |
|
11485 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11486 |
# else |
|
11487 |
# ifdef RTLD_NOW |
|
11488 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11489 |
# else |
|
11490 |
# ifdef DL_NOW |
|
11491 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11492 |
# else |
|
11493 |
# define LT_DLLAZY_OR_NOW 0 |
|
11494 |
# endif |
|
11495 |
# endif |
|
11496 |
# endif |
|
11497 |
# endif |
|
11498 |
#endif |
|
11499 |
||
19
by edam
updated autotols stuff |
11500 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11501 |
correspondingly for the symbols needed. */ |
|
11502 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11503 |
int fnord () __attribute__((visibility("default"))); |
|
11504 |
#endif |
|
11505 |
||
11506 |
int fnord () { return 42; } |
|
5
by edam
- updated README |
11507 |
int main () |
11508 |
{ |
|
11509 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11510 |
int status = $lt_dlunknown; |
|
11511 |
||
11512 |
if (self) |
|
11513 |
{ |
|
11514 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
19
by edam
updated autotols stuff |
11515 |
else |
11516 |
{ |
|
11517 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11518 |
else puts (dlerror ()); |
|
11519 |
} |
|
5
by edam
- updated README |
11520 |
/* dlclose (self); */ |
11521 |
} |
|
11522 |
else |
|
11523 |
puts (dlerror ()); |
|
11524 |
||
11525 |
return status; |
|
11526 |
} |
|
11527 |
_LT_EOF |
|
11528 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11529 |
(eval $ac_link) 2>&5 |
|
11530 |
ac_status=$? |
|
11531 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11532 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
11533 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11534 |
lt_status=$? |
|
11535 |
case x$lt_status in |
|
11536 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
11537 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
11538 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
11539 |
esac |
|
11540 |
else : |
|
11541 |
# compilation failed |
|
11542 |
lt_cv_dlopen_self=no |
|
11543 |
fi |
|
11544 |
fi |
|
11545 |
rm -fr conftest* |
|
11546 |
||
11547 |
||
11548 |
fi |
|
11549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
|
11550 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
11551 |
||
11552 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
11553 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
11554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
|
11555 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
19
by edam
updated autotols stuff |
11556 |
if ${lt_cv_dlopen_self_static+:} false; then : |
5
by edam
- updated README |
11557 |
$as_echo_n "(cached) " >&6 |
11558 |
else |
|
11559 |
if test "$cross_compiling" = yes; then : |
|
11560 |
lt_cv_dlopen_self_static=cross |
|
11561 |
else |
|
11562 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11563 |
lt_status=$lt_dlunknown |
|
11564 |
cat > conftest.$ac_ext <<_LT_EOF |
|
19
by edam
updated autotols stuff |
11565 |
#line $LINENO "configure" |
5
by edam
- updated README |
11566 |
#include "confdefs.h" |
11567 |
||
11568 |
#if HAVE_DLFCN_H |
|
11569 |
#include <dlfcn.h> |
|
11570 |
#endif |
|
11571 |
||
11572 |
#include <stdio.h> |
|
11573 |
||
11574 |
#ifdef RTLD_GLOBAL |
|
11575 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11576 |
#else |
|
11577 |
# ifdef DL_GLOBAL |
|
11578 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11579 |
# else |
|
11580 |
# define LT_DLGLOBAL 0 |
|
11581 |
# endif |
|
11582 |
#endif |
|
11583 |
||
11584 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11585 |
find out it does not work in some platform. */ |
|
11586 |
#ifndef LT_DLLAZY_OR_NOW |
|
11587 |
# ifdef RTLD_LAZY |
|
11588 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11589 |
# else |
|
11590 |
# ifdef DL_LAZY |
|
11591 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11592 |
# else |
|
11593 |
# ifdef RTLD_NOW |
|
11594 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11595 |
# else |
|
11596 |
# ifdef DL_NOW |
|
11597 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11598 |
# else |
|
11599 |
# define LT_DLLAZY_OR_NOW 0 |
|
11600 |
# endif |
|
11601 |
# endif |
|
11602 |
# endif |
|
11603 |
# endif |
|
11604 |
#endif |
|
11605 |
||
19
by edam
updated autotols stuff |
11606 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11607 |
correspondingly for the symbols needed. */ |
|
11608 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11609 |
int fnord () __attribute__((visibility("default"))); |
|
11610 |
#endif |
|
11611 |
||
11612 |
int fnord () { return 42; } |
|
5
by edam
- updated README |
11613 |
int main () |
11614 |
{ |
|
11615 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11616 |
int status = $lt_dlunknown; |
|
11617 |
||
11618 |
if (self) |
|
11619 |
{ |
|
11620 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
19
by edam
updated autotols stuff |
11621 |
else |
11622 |
{ |
|
11623 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11624 |
else puts (dlerror ()); |
|
11625 |
} |
|
5
by edam
- updated README |
11626 |
/* dlclose (self); */ |
11627 |
} |
|
11628 |
else |
|
11629 |
puts (dlerror ()); |
|
11630 |
||
11631 |
return status; |
|
11632 |
} |
|
11633 |
_LT_EOF |
|
11634 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11635 |
(eval $ac_link) 2>&5 |
|
11636 |
ac_status=$? |
|
11637 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11638 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
11639 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11640 |
lt_status=$? |
|
11641 |
case x$lt_status in |
|
11642 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11643 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11644 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
11645 |
esac |
|
11646 |
else : |
|
11647 |
# compilation failed |
|
11648 |
lt_cv_dlopen_self_static=no |
|
11649 |
fi |
|
11650 |
fi |
|
11651 |
rm -fr conftest* |
|
11652 |
||
11653 |
||
11654 |
fi |
|
11655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
|
11656 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
11657 |
fi |
|
11658 |
||
11659 |
CPPFLAGS="$save_CPPFLAGS" |
|
11660 |
LDFLAGS="$save_LDFLAGS" |
|
11661 |
LIBS="$save_LIBS" |
|
11662 |
;; |
|
11663 |
esac |
|
11664 |
||
11665 |
case $lt_cv_dlopen_self in |
|
11666 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
11667 |
*) enable_dlopen_self=unknown ;; |
|
11668 |
esac |
|
11669 |
||
11670 |
case $lt_cv_dlopen_self_static in |
|
11671 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
11672 |
*) enable_dlopen_self_static=unknown ;; |
|
11673 |
esac |
|
11674 |
fi |
|
11675 |
||
11676 |
||
11677 |
||
11678 |
||
11679 |
||
11680 |
||
11681 |
||
11682 |
||
11683 |
||
11684 |
||
11685 |
||
11686 |
||
11687 |
||
11688 |
||
11689 |
||
11690 |
||
11691 |
||
11692 |
striplib= |
|
11693 |
old_striplib= |
|
11694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
|
11695 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
11696 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
11697 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
11698 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
11699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11700 |
$as_echo "yes" >&6; } |
|
11701 |
else |
|
11702 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
11703 |
case $host_os in |
|
11704 |
darwin*) |
|
11705 |
if test -n "$STRIP" ; then |
|
11706 |
striplib="$STRIP -x" |
|
11707 |
old_striplib="$STRIP -S" |
|
11708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11709 |
$as_echo "yes" >&6; } |
|
11710 |
else |
|
11711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11712 |
$as_echo "no" >&6; } |
|
11713 |
fi |
|
11714 |
;; |
|
11715 |
*) |
|
11716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11717 |
$as_echo "no" >&6; } |
|
11718 |
;; |
|
11719 |
esac |
|
11720 |
fi |
|
11721 |
||
11722 |
||
11723 |
||
11724 |
||
11725 |
||
11726 |
||
11727 |
||
11728 |
||
11729 |
||
11730 |
||
11731 |
||
11732 |
||
11733 |
# Report which library types will actually be built |
|
11734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
11735 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
11736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
11737 |
$as_echo "$can_build_shared" >&6; } |
|
11738 |
||
11739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
11740 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
11741 |
test "$can_build_shared" = "no" && enable_shared=no |
|
11742 |
||
11743 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
11744 |
# are all built from PIC. |
|
11745 |
case $host_os in |
|
11746 |
aix3*) |
|
11747 |
test "$enable_shared" = yes && enable_static=no |
|
11748 |
if test -n "$RANLIB"; then |
|
11749 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
11750 |
postinstall_cmds='$RANLIB $lib' |
|
11751 |
fi |
|
11752 |
;; |
|
11753 |
||
11754 |
aix[4-9]*) |
|
11755 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
11756 |
test "$enable_shared" = yes && enable_static=no |
|
11757 |
fi |
|
11758 |
;; |
|
11759 |
esac |
|
11760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
11761 |
$as_echo "$enable_shared" >&6; } |
|
11762 |
||
11763 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
11764 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
11765 |
# Make sure either enable_shared or enable_static is yes. |
|
11766 |
test "$enable_shared" = yes || enable_static=yes |
|
11767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
11768 |
$as_echo "$enable_static" >&6; } |
|
11769 |
||
11770 |
||
11771 |
||
11772 |
||
11773 |
fi |
|
11774 |
ac_ext=c |
|
11775 |
ac_cpp='$CPP $CPPFLAGS' |
|
11776 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11777 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11778 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11779 |
||
11780 |
CC="$lt_save_CC" |
|
11781 |
||
19
by edam
updated autotols stuff |
11782 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
6
by edam
- fixed .am files so the library gets built! |
11783 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
11784 |
(test "X$CXX" != "Xg++"))) ; then |
|
11785 |
ac_ext=cpp |
|
11786 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
11787 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11788 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11789 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
11790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
|
11791 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
|
11792 |
if test -z "$CXXCPP"; then |
|
19
by edam
updated autotols stuff |
11793 |
if ${ac_cv_prog_CXXCPP+:} false; then : |
6
by edam
- fixed .am files so the library gets built! |
11794 |
$as_echo_n "(cached) " >&6 |
11795 |
else |
|
11796 |
# Double quotes because CXXCPP needs to be expanded |
|
11797 |
for CXXCPP in "$CXX -E" "/lib/cpp" |
|
11798 |
do |
|
11799 |
ac_preproc_ok=false |
|
11800 |
for ac_cxx_preproc_warn_flag in '' yes |
|
11801 |
do |
|
11802 |
# Use a header file that comes with gcc, so configuring glibc |
|
11803 |
# with a fresh cross-compiler works. |
|
11804 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
11805 |
# <limits.h> exists even on freestanding compilers. |
|
11806 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
11807 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
11808 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11809 |
/* end confdefs.h. */ |
|
11810 |
#ifdef __STDC__ |
|
11811 |
# include <limits.h> |
|
11812 |
#else |
|
11813 |
# include <assert.h> |
|
11814 |
#endif |
|
11815 |
Syntax error |
|
11816 |
_ACEOF |
|
11817 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
11818 |
||
11819 |
else |
|
11820 |
# Broken: fails on valid input. |
|
11821 |
continue |
|
11822 |
fi |
|
19
by edam
updated autotols stuff |
11823 |
rm -f conftest.err conftest.i conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11824 |
|
11825 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
11826 |
# can be detected and how. |
|
11827 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11828 |
/* end confdefs.h. */ |
|
11829 |
#include <ac_nonexistent.h> |
|
11830 |
_ACEOF |
|
11831 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
11832 |
# Broken: success on invalid input. |
|
11833 |
continue |
|
11834 |
else |
|
11835 |
# Passes both tests. |
|
11836 |
ac_preproc_ok=: |
|
11837 |
break |
|
11838 |
fi |
|
19
by edam
updated autotols stuff |
11839 |
rm -f conftest.err conftest.i conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11840 |
|
11841 |
done |
|
11842 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
19
by edam
updated autotols stuff |
11843 |
rm -f conftest.i conftest.err conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11844 |
if $ac_preproc_ok; then : |
11845 |
break |
|
11846 |
fi |
|
11847 |
||
11848 |
done |
|
11849 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
11850 |
||
11851 |
fi |
|
11852 |
CXXCPP=$ac_cv_prog_CXXCPP |
|
11853 |
else |
|
11854 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
11855 |
fi |
|
11856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
|
11857 |
$as_echo "$CXXCPP" >&6; } |
|
11858 |
ac_preproc_ok=false |
|
11859 |
for ac_cxx_preproc_warn_flag in '' yes |
|
11860 |
do |
|
11861 |
# Use a header file that comes with gcc, so configuring glibc |
|
11862 |
# with a fresh cross-compiler works. |
|
11863 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
11864 |
# <limits.h> exists even on freestanding compilers. |
|
11865 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
11866 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
11867 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11868 |
/* end confdefs.h. */ |
|
11869 |
#ifdef __STDC__ |
|
11870 |
# include <limits.h> |
|
11871 |
#else |
|
11872 |
# include <assert.h> |
|
11873 |
#endif |
|
11874 |
Syntax error |
|
11875 |
_ACEOF |
|
11876 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
11877 |
||
11878 |
else |
|
11879 |
# Broken: fails on valid input. |
|
11880 |
continue |
|
11881 |
fi |
|
19
by edam
updated autotols stuff |
11882 |
rm -f conftest.err conftest.i conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11883 |
|
11884 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
11885 |
# can be detected and how. |
|
11886 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11887 |
/* end confdefs.h. */ |
|
11888 |
#include <ac_nonexistent.h> |
|
11889 |
_ACEOF |
|
11890 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
11891 |
# Broken: success on invalid input. |
|
11892 |
continue |
|
11893 |
else |
|
11894 |
# Passes both tests. |
|
11895 |
ac_preproc_ok=: |
|
11896 |
break |
|
11897 |
fi |
|
19
by edam
updated autotols stuff |
11898 |
rm -f conftest.err conftest.i conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11899 |
|
11900 |
done |
|
11901 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
19
by edam
updated autotols stuff |
11902 |
rm -f conftest.i conftest.err conftest.$ac_ext |
6
by edam
- fixed .am files so the library gets built! |
11903 |
if $ac_preproc_ok; then : |
11904 |
||
11905 |
else |
|
11906 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
11907 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
19
by edam
updated autotols stuff |
11908 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
11909 |
See \`config.log' for more details" "$LINENO" 5; } |
|
6
by edam
- fixed .am files so the library gets built! |
11910 |
fi |
11911 |
||
11912 |
ac_ext=c |
|
11913 |
ac_cpp='$CPP $CPPFLAGS' |
|
11914 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11915 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11916 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11917 |
||
11918 |
else |
|
11919 |
_lt_caught_CXX_error=yes |
|
11920 |
fi |
|
11921 |
||
5
by edam
- updated README |
11922 |
ac_ext=cpp |
11923 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
11924 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11925 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11926 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
11927 |
||
11928 |
archive_cmds_need_lc_CXX=no |
|
11929 |
allow_undefined_flag_CXX= |
|
11930 |
always_export_symbols_CXX=no |
|
11931 |
archive_expsym_cmds_CXX= |
|
11932 |
compiler_needs_object_CXX=no |
|
11933 |
export_dynamic_flag_spec_CXX= |
|
11934 |
hardcode_direct_CXX=no |
|
11935 |
hardcode_direct_absolute_CXX=no |
|
11936 |
hardcode_libdir_flag_spec_CXX= |
|
11937 |
hardcode_libdir_separator_CXX= |
|
11938 |
hardcode_minus_L_CXX=no |
|
11939 |
hardcode_shlibpath_var_CXX=unsupported |
|
11940 |
hardcode_automatic_CXX=no |
|
11941 |
inherit_rpath_CXX=no |
|
11942 |
module_cmds_CXX= |
|
11943 |
module_expsym_cmds_CXX= |
|
11944 |
link_all_deplibs_CXX=unknown |
|
11945 |
old_archive_cmds_CXX=$old_archive_cmds |
|
19
by edam
updated autotols stuff |
11946 |
reload_flag_CXX=$reload_flag |
11947 |
reload_cmds_CXX=$reload_cmds |
|
5
by edam
- updated README |
11948 |
no_undefined_flag_CXX= |
11949 |
whole_archive_flag_spec_CXX= |
|
11950 |
enable_shared_with_static_runtimes_CXX=no |
|
11951 |
||
11952 |
# Source file extension for C++ test sources. |
|
11953 |
ac_ext=cpp |
|
11954 |
||
11955 |
# Object file extension for compiled C++ test sources. |
|
11956 |
objext=o |
|
11957 |
objext_CXX=$objext |
|
11958 |
||
11959 |
# No sense in running all these tests if we already determined that |
|
11960 |
# the CXX compiler isn't working. Some variables (like enable_shared) |
|
11961 |
# are currently assumed to apply to all compilers on this platform, |
|
11962 |
# and will be corrupted by setting them based on a non-working compiler. |
|
11963 |
if test "$_lt_caught_CXX_error" != yes; then |
|
11964 |
# Code to be used in simple compile tests |
|
11965 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
11966 |
||
11967 |
# Code to be used in simple link tests |
|
11968 |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
|
11969 |
||
11970 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
11971 |
||
11972 |
||
11973 |
||
11974 |
||
11975 |
||
11976 |
||
11977 |
# If no C compiler was specified, use CC. |
|
11978 |
LTCC=${LTCC-"$CC"} |
|
11979 |
||
11980 |
# If no C compiler flags were specified, use CFLAGS. |
|
11981 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
11982 |
||
11983 |
# Allow CC to be a program name with arguments. |
|
11984 |
compiler=$CC |
|
11985 |
||
11986 |
||
11987 |
# save warnings/boilerplate of simple test code |
|
11988 |
ac_outfile=conftest.$ac_objext |
|
11989 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
11990 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11991 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
11992 |
$RM conftest* |
|
11993 |
||
11994 |
ac_outfile=conftest.$ac_objext |
|
11995 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
11996 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11997 |
_lt_linker_boilerplate=`cat conftest.err` |
|
11998 |
$RM -r conftest* |
|
11999 |
||
12000 |
||
12001 |
# Allow CC to be a program name with arguments. |
|
12002 |
lt_save_CC=$CC |
|
19
by edam
updated autotols stuff |
12003 |
lt_save_CFLAGS=$CFLAGS |
5
by edam
- updated README |
12004 |
lt_save_LD=$LD |
12005 |
lt_save_GCC=$GCC |
|
12006 |
GCC=$GXX |
|
12007 |
lt_save_with_gnu_ld=$with_gnu_ld |
|
12008 |
lt_save_path_LD=$lt_cv_path_LD |
|
12009 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
|
12010 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
|
12011 |
else |
|
12012 |
$as_unset lt_cv_prog_gnu_ld |
|
12013 |
fi |
|
12014 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
|
12015 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
|
12016 |
else |
|
12017 |
$as_unset lt_cv_path_LD |
|
12018 |
fi |
|
12019 |
test -z "${LDCXX+set}" || LD=$LDCXX |
|
12020 |
CC=${CXX-"c++"} |
|
19
by edam
updated autotols stuff |
12021 |
CFLAGS=$CXXFLAGS |
5
by edam
- updated README |
12022 |
compiler=$CC |
12023 |
compiler_CXX=$CC |
|
12024 |
for cc_temp in $compiler""; do |
|
12025 |
case $cc_temp in |
|
12026 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
12027 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
12028 |
\-*) ;; |
|
12029 |
*) break;; |
|
12030 |
esac |
|
12031 |
done |
|
19
by edam
updated autotols stuff |
12032 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
5
by edam
- updated README |
12033 |
|
12034 |
||
12035 |
if test -n "$compiler"; then |
|
12036 |
# We don't want -fno-exception when compiling C++ code, so set the |
|
12037 |
# no_builtin_flag separately |
|
12038 |
if test "$GXX" = yes; then |
|
12039 |
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
|
12040 |
else |
|
12041 |
lt_prog_compiler_no_builtin_flag_CXX= |
|
12042 |
fi |
|
12043 |
||
12044 |
if test "$GXX" = yes; then |
|
12045 |
# Set up default GNU C++ configuration |
|
12046 |
||
12047 |
||
12048 |
||
12049 |
# Check whether --with-gnu-ld was given. |
|
12050 |
if test "${with_gnu_ld+set}" = set; then : |
|
12051 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
12052 |
else |
|
12053 |
with_gnu_ld=no |
|
12054 |
fi |
|
12055 |
||
12056 |
ac_prog=ld |
|
12057 |
if test "$GCC" = yes; then |
|
12058 |
# Check if gcc -print-prog-name=ld gives a path. |
|
12059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
|
12060 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
12061 |
case $host in |
|
12062 |
*-*-mingw*) |
|
12063 |
# gcc leaves a trailing carriage return which upsets mingw |
|
12064 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
12065 |
*) |
|
12066 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
12067 |
esac |
|
12068 |
case $ac_prog in |
|
12069 |
# Accept absolute paths. |
|
12070 |
[\\/]* | ?:[\\/]*) |
|
12071 |
re_direlt='/[^/][^/]*/\.\./' |
|
12072 |
# Canonicalize the pathname of ld |
|
12073 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
12074 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
12075 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
12076 |
done |
|
12077 |
test -z "$LD" && LD="$ac_prog" |
|
12078 |
;; |
|
12079 |
"") |
|
12080 |
# If it fails, then pretend we aren't using GCC. |
|
12081 |
ac_prog=ld |
|
12082 |
;; |
|
12083 |
*) |
|
12084 |
# If it is relative, then search for the first ld in PATH. |
|
12085 |
with_gnu_ld=unknown |
|
12086 |
;; |
|
12087 |
esac |
|
12088 |
elif test "$with_gnu_ld" = yes; then |
|
12089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
12090 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
12091 |
else |
|
12092 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
12093 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
12094 |
fi |
|
19
by edam
updated autotols stuff |
12095 |
if ${lt_cv_path_LD+:} false; then : |
5
by edam
- updated README |
12096 |
$as_echo_n "(cached) " >&6 |
12097 |
else |
|
12098 |
if test -z "$LD"; then |
|
12099 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
12100 |
for ac_dir in $PATH; do |
|
12101 |
IFS="$lt_save_ifs" |
|
12102 |
test -z "$ac_dir" && ac_dir=. |
|
12103 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
12104 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
12105 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
12106 |
# but apparently some variants of GNU ld only accept -v. |
|
12107 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
12108 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
12109 |
*GNU* | *'with BFD'*) |
|
12110 |
test "$with_gnu_ld" != no && break |
|
12111 |
;; |
|
12112 |
*) |
|
12113 |
test "$with_gnu_ld" != yes && break |
|
12114 |
;; |
|
12115 |
esac |
|
12116 |
fi |
|
12117 |
done |
|
12118 |
IFS="$lt_save_ifs" |
|
12119 |
else |
|
12120 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
12121 |
fi |
|
12122 |
fi |
|
12123 |
||
12124 |
LD="$lt_cv_path_LD" |
|
12125 |
if test -n "$LD"; then |
|
12126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
12127 |
$as_echo "$LD" >&6; } |
|
12128 |
else |
|
12129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
12130 |
$as_echo "no" >&6; } |
|
12131 |
fi |
|
19
by edam
updated autotols stuff |
12132 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
5
by edam
- updated README |
12133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
12134 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
19
by edam
updated autotols stuff |
12135 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
5
by edam
- updated README |
12136 |
$as_echo_n "(cached) " >&6 |
12137 |
else |
|
12138 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
12139 |
case `$LD -v 2>&1 </dev/null` in |
|
12140 |
*GNU* | *'with BFD'*) |
|
12141 |
lt_cv_prog_gnu_ld=yes |
|
12142 |
;; |
|
12143 |
*) |
|
12144 |
lt_cv_prog_gnu_ld=no |
|
12145 |
;; |
|
12146 |
esac |
|
12147 |
fi |
|
12148 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
|
12149 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
12150 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
12151 |
||
12152 |
||
12153 |
||
12154 |
||
12155 |
||
12156 |
||
12157 |
||
12158 |
# Check if GNU C++ uses GNU ld as the underlying linker, since the |
|
12159 |
# archiving commands below assume that GNU ld is being used. |
|
12160 |
if test "$with_gnu_ld" = yes; then |
|
19
by edam
updated autotols stuff |
12161 |
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
12162 |
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
5
by edam
- updated README |
12163 |
|
12164 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12165 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
12166 |
||
12167 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
12168 |
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
|
12169 |
# investigate it a little bit more. (MM) |
|
12170 |
wlarc='${wl}' |
|
12171 |
||
12172 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
12173 |
if eval "`$CC -print-prog-name=ld` --help 2>&1" | |
|
12174 |
$GREP 'no-whole-archive' > /dev/null; then |
|
12175 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
12176 |
else |
|
12177 |
whole_archive_flag_spec_CXX= |
|
12178 |
fi |
|
12179 |
else |
|
12180 |
with_gnu_ld=no |
|
12181 |
wlarc= |
|
12182 |
||
12183 |
# A generic and very simple default shared library creation |
|
12184 |
# command for GNU C++ for the case where it uses the native |
|
12185 |
# linker, instead of GNU ld. If possible, this setting should |
|
12186 |
# overridden to take advantage of the native linker features on |
|
12187 |
# the platform it is being used on. |
|
12188 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
12189 |
fi |
|
12190 |
||
12191 |
# Commands to make compiler produce verbose output that lists |
|
12192 |
# what "hidden" libraries, object files and flags are used when |
|
12193 |
# linking a shared library. |
|
19
by edam
updated autotols stuff |
12194 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
5
by edam
- updated README |
12195 |
|
12196 |
else |
|
12197 |
GXX=no |
|
12198 |
with_gnu_ld=no |
|
12199 |
wlarc= |
|
12200 |
fi |
|
12201 |
||
12202 |
# PORTME: fill in a description of your system's C++ link characteristics |
|
12203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
12204 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
12205 |
ld_shlibs_CXX=yes |
|
12206 |
case $host_os in |
|
12207 |
aix3*) |
|
12208 |
# FIXME: insert proper C++ library support |
|
12209 |
ld_shlibs_CXX=no |
|
12210 |
;; |
|
12211 |
aix[4-9]*) |
|
12212 |
if test "$host_cpu" = ia64; then |
|
12213 |
# On IA64, the linker does run time linking by default, so we don't |
|
12214 |
# have to do anything special. |
|
12215 |
aix_use_runtimelinking=no |
|
12216 |
exp_sym_flag='-Bexport' |
|
12217 |
no_entry_flag="" |
|
12218 |
else |
|
12219 |
aix_use_runtimelinking=no |
|
12220 |
||
12221 |
# Test if we are trying to use run time linking or normal |
|
12222 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
12223 |
# need to do runtime linking. |
|
12224 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
12225 |
for ld_flag in $LDFLAGS; do |
|
12226 |
case $ld_flag in |
|
12227 |
*-brtl*) |
|
12228 |
aix_use_runtimelinking=yes |
|
12229 |
break |
|
12230 |
;; |
|
12231 |
esac |
|
12232 |
done |
|
12233 |
;; |
|
12234 |
esac |
|
12235 |
||
12236 |
exp_sym_flag='-bexport' |
|
12237 |
no_entry_flag='-bnoentry' |
|
12238 |
fi |
|
12239 |
||
12240 |
# When large executables or shared objects are built, AIX ld can |
|
12241 |
# have problems creating the table of contents. If linking a library |
|
12242 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
12243 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
12244 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
12245 |
||
12246 |
archive_cmds_CXX='' |
|
12247 |
hardcode_direct_CXX=yes |
|
12248 |
hardcode_direct_absolute_CXX=yes |
|
12249 |
hardcode_libdir_separator_CXX=':' |
|
12250 |
link_all_deplibs_CXX=yes |
|
12251 |
file_list_spec_CXX='${wl}-f,' |
|
12252 |
||
12253 |
if test "$GXX" = yes; then |
|
12254 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
12255 |
# We only want to do this on AIX 4.2 and lower, the check |
|
12256 |
# below for broken collect2 doesn't work under 4.3+ |
|
12257 |
collect2name=`${CC} -print-prog-name=collect2` |
|
12258 |
if test -f "$collect2name" && |
|
12259 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
12260 |
then |
|
12261 |
# We have reworked collect2 |
|
12262 |
: |
|
12263 |
else |
|
12264 |
# We have old collect2 |
|
12265 |
hardcode_direct_CXX=unsupported |
|
12266 |
# It fails to find uninstalled libraries when the uninstalled |
|
12267 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
12268 |
# to unsupported forces relinking |
|
12269 |
hardcode_minus_L_CXX=yes |
|
12270 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
12271 |
hardcode_libdir_separator_CXX= |
|
12272 |
fi |
|
12273 |
esac |
|
12274 |
shared_flag='-shared' |
|
12275 |
if test "$aix_use_runtimelinking" = yes; then |
|
12276 |
shared_flag="$shared_flag "'${wl}-G' |
|
12277 |
fi |
|
12278 |
else |
|
12279 |
# not using gcc |
|
12280 |
if test "$host_cpu" = ia64; then |
|
12281 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
12282 |
# chokes on -Wl,-G. The following line is correct: |
|
12283 |
shared_flag='-G' |
|
12284 |
else |
|
12285 |
if test "$aix_use_runtimelinking" = yes; then |
|
12286 |
shared_flag='${wl}-G' |
|
12287 |
else |
|
12288 |
shared_flag='${wl}-bM:SRE' |
|
12289 |
fi |
|
12290 |
fi |
|
12291 |
fi |
|
12292 |
||
12293 |
export_dynamic_flag_spec_CXX='${wl}-bexpall' |
|
12294 |
# It seems that -bexpall does not export symbols beginning with |
|
12295 |
# underscore (_), so it is better to generate a list of symbols to |
|
12296 |
# export. |
|
12297 |
always_export_symbols_CXX=yes |
|
12298 |
if test "$aix_use_runtimelinking" = yes; then |
|
12299 |
# Warning - without using the other runtime loading flags (-brtl), |
|
12300 |
# -berok will link without error, but may produce a broken library. |
|
12301 |
allow_undefined_flag_CXX='-berok' |
|
12302 |
# Determine the default libpath from the value encoded in an empty |
|
12303 |
# executable. |
|
19
by edam
updated autotols stuff |
12304 |
if test "${lt_cv_aix_libpath+set}" = set; then |
12305 |
aix_libpath=$lt_cv_aix_libpath |
|
12306 |
else |
|
12307 |
if ${lt_cv_aix_libpath__CXX+:} false; then : |
|
12308 |
$as_echo_n "(cached) " >&6 |
|
12309 |
else |
|
12310 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
12311 |
/* end confdefs.h. */ |
12312 |
||
12313 |
int |
|
12314 |
main () |
|
12315 |
{ |
|
12316 |
||
12317 |
; |
|
12318 |
return 0; |
|
12319 |
} |
|
12320 |
_ACEOF |
|
12321 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
12322 |
||
19
by edam
updated autotols stuff |
12323 |
lt_aix_libpath_sed=' |
12324 |
/Import File Strings/,/^$/ { |
|
12325 |
/^0/ { |
|
12326 |
s/^0 *\([^ ]*\) *$/\1/ |
|
12327 |
p |
|
12328 |
} |
|
12329 |
}' |
|
12330 |
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
12331 |
# Check for a 64-bit object if we didn't find anything. |
|
12332 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
12333 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
12334 |
fi |
|
5
by edam
- updated README |
12335 |
fi |
12336 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12337 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
12338 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
12339 |
lt_cv_aix_libpath__CXX="/usr/lib:/lib" |
|
12340 |
fi |
|
12341 |
||
12342 |
fi |
|
12343 |
||
12344 |
aix_libpath=$lt_cv_aix_libpath__CXX |
|
12345 |
fi |
|
5
by edam
- updated README |
12346 |
|
12347 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
12348 |
||
19
by edam
updated autotols stuff |
12349 |
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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
5
by edam
- updated README |
12350 |
else |
12351 |
if test "$host_cpu" = ia64; then |
|
12352 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
|
12353 |
allow_undefined_flag_CXX="-z nodefs" |
|
12354 |
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" |
|
12355 |
else |
|
12356 |
# Determine the default libpath from the value encoded in an |
|
12357 |
# empty executable. |
|
19
by edam
updated autotols stuff |
12358 |
if test "${lt_cv_aix_libpath+set}" = set; then |
12359 |
aix_libpath=$lt_cv_aix_libpath |
|
12360 |
else |
|
12361 |
if ${lt_cv_aix_libpath__CXX+:} false; then : |
|
12362 |
$as_echo_n "(cached) " >&6 |
|
12363 |
else |
|
12364 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
12365 |
/* end confdefs.h. */ |
12366 |
||
12367 |
int |
|
12368 |
main () |
|
12369 |
{ |
|
12370 |
||
12371 |
; |
|
12372 |
return 0; |
|
12373 |
} |
|
12374 |
_ACEOF |
|
12375 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
12376 |
||
19
by edam
updated autotols stuff |
12377 |
lt_aix_libpath_sed=' |
12378 |
/Import File Strings/,/^$/ { |
|
12379 |
/^0/ { |
|
12380 |
s/^0 *\([^ ]*\) *$/\1/ |
|
12381 |
p |
|
12382 |
} |
|
12383 |
}' |
|
12384 |
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
12385 |
# Check for a 64-bit object if we didn't find anything. |
|
12386 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
12387 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
12388 |
fi |
|
5
by edam
- updated README |
12389 |
fi |
12390 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12391 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
12392 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
12393 |
lt_cv_aix_libpath__CXX="/usr/lib:/lib" |
|
12394 |
fi |
|
12395 |
||
12396 |
fi |
|
12397 |
||
12398 |
aix_libpath=$lt_cv_aix_libpath__CXX |
|
12399 |
fi |
|
5
by edam
- updated README |
12400 |
|
12401 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
12402 |
# Warning - without using the other run time loading flags, |
|
12403 |
# -berok will link without error, but may produce a broken library. |
|
12404 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
|
12405 |
allow_undefined_flag_CXX=' ${wl}-berok' |
|
19
by edam
updated autotols stuff |
12406 |
if test "$with_gnu_ld" = yes; then |
12407 |
# We only use this code for GNU lds that support --whole-archive. |
|
12408 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
12409 |
else |
|
12410 |
# Exported symbols can be pulled into shared objects from archives |
|
12411 |
whole_archive_flag_spec_CXX='$convenience' |
|
12412 |
fi |
|
5
by edam
- updated README |
12413 |
archive_cmds_need_lc_CXX=yes |
12414 |
# This is similar to how AIX traditionally builds its shared |
|
12415 |
# libraries. |
|
12416 |
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' |
|
12417 |
fi |
|
12418 |
fi |
|
12419 |
;; |
|
12420 |
||
12421 |
beos*) |
|
12422 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
12423 |
allow_undefined_flag_CXX=unsupported |
|
12424 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
12425 |
# support --undefined. This deserves some investigation. FIXME |
|
12426 |
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12427 |
else |
|
12428 |
ld_shlibs_CXX=no |
|
12429 |
fi |
|
12430 |
;; |
|
12431 |
||
12432 |
chorus*) |
|
12433 |
case $cc_basename in |
|
12434 |
*) |
|
12435 |
# FIXME: insert proper C++ library support |
|
12436 |
ld_shlibs_CXX=no |
|
12437 |
;; |
|
12438 |
esac |
|
12439 |
;; |
|
12440 |
||
12441 |
cygwin* | mingw* | pw32* | cegcc*) |
|
19
by edam
updated autotols stuff |
12442 |
case $GXX,$cc_basename in |
12443 |
,cl* | no,cl*) |
|
12444 |
# Native MSVC |
|
12445 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
12446 |
# no search path for DLLs. |
|
12447 |
hardcode_libdir_flag_spec_CXX=' ' |
|
12448 |
allow_undefined_flag_CXX=unsupported |
|
12449 |
always_export_symbols_CXX=yes |
|
12450 |
file_list_spec_CXX='@' |
|
12451 |
# Tell ltmain to make .lib files, not .a files. |
|
12452 |
libext=lib |
|
12453 |
# Tell ltmain to make .dll files, not .so files. |
|
12454 |
shrext_cmds=".dll" |
|
12455 |
# FIXME: Setting linknames here is a bad hack. |
|
12456 |
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
12457 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
12458 |
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
12459 |
else |
|
12460 |
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
12461 |
fi~ |
|
12462 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
12463 |
linknames=' |
|
12464 |
# The linker will not automatically build a static lib if we build a DLL. |
|
12465 |
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' |
|
12466 |
enable_shared_with_static_runtimes_CXX=yes |
|
12467 |
# Don't use ranlib |
|
12468 |
old_postinstall_cmds_CXX='chmod 644 $oldlib' |
|
12469 |
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ |
|
12470 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
12471 |
case $lt_outputfile in |
|
12472 |
*.exe|*.EXE) ;; |
|
12473 |
*) |
|
12474 |
lt_outputfile="$lt_outputfile.exe" |
|
12475 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
12476 |
;; |
|
12477 |
esac~ |
|
12478 |
func_to_tool_file "$lt_outputfile"~ |
|
12479 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
12480 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
12481 |
$RM "$lt_outputfile.manifest"; |
|
12482 |
fi' |
|
12483 |
;; |
|
12484 |
*) |
|
12485 |
# g++ |
|
12486 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
|
12487 |
# as there is no search path for DLLs. |
|
12488 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
12489 |
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' |
|
12490 |
allow_undefined_flag_CXX=unsupported |
|
12491 |
always_export_symbols_CXX=no |
|
12492 |
enable_shared_with_static_runtimes_CXX=yes |
|
5
by edam
- updated README |
12493 |
|
19
by edam
updated autotols stuff |
12494 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
12495 |
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' |
|
12496 |
# If the export-symbols file already is a .def file (1st line |
|
12497 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
12498 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
12499 |
cp $export_symbols $output_objdir/$soname.def; |
|
12500 |
else |
|
12501 |
echo EXPORTS > $output_objdir/$soname.def; |
|
12502 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
12503 |
fi~ |
|
12504 |
$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' |
|
12505 |
else |
|
12506 |
ld_shlibs_CXX=no |
|
12507 |
fi |
|
12508 |
;; |
|
12509 |
esac |
|
12510 |
;; |
|
5
by edam
- updated README |
12511 |
darwin* | rhapsody*) |
12512 |
||
12513 |
||
12514 |
archive_cmds_need_lc_CXX=no |
|
12515 |
hardcode_direct_CXX=no |
|
12516 |
hardcode_automatic_CXX=yes |
|
12517 |
hardcode_shlibpath_var_CXX=unsupported |
|
19
by edam
updated autotols stuff |
12518 |
if test "$lt_cv_ld_force_load" = "yes"; then |
12519 |
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
12520 |
||
12521 |
else |
|
12522 |
whole_archive_flag_spec_CXX='' |
|
12523 |
fi |
|
5
by edam
- updated README |
12524 |
link_all_deplibs_CXX=yes |
12525 |
allow_undefined_flag_CXX="$_lt_dar_allow_undefined" |
|
12526 |
case $cc_basename in |
|
12527 |
ifort*) _lt_dar_can_shared=yes ;; |
|
12528 |
*) _lt_dar_can_shared=$GCC ;; |
|
12529 |
esac |
|
12530 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
19
by edam
updated autotols stuff |
12531 |
output_verbose_link_cmd=func_echo_all |
5
by edam
- updated README |
12532 |
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}" |
12533 |
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
12534 |
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}" |
|
12535 |
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}" |
|
12536 |
if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
|
12537 |
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}" |
|
12538 |
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}" |
|
12539 |
fi |
|
12540 |
||
12541 |
else |
|
12542 |
ld_shlibs_CXX=no |
|
12543 |
fi |
|
12544 |
||
12545 |
;; |
|
12546 |
||
12547 |
dgux*) |
|
12548 |
case $cc_basename in |
|
12549 |
ec++*) |
|
12550 |
# FIXME: insert proper C++ library support |
|
12551 |
ld_shlibs_CXX=no |
|
12552 |
;; |
|
12553 |
ghcx*) |
|
12554 |
# Green Hills C++ Compiler |
|
12555 |
# FIXME: insert proper C++ library support |
|
12556 |
ld_shlibs_CXX=no |
|
12557 |
;; |
|
12558 |
*) |
|
12559 |
# FIXME: insert proper C++ library support |
|
12560 |
ld_shlibs_CXX=no |
|
12561 |
;; |
|
12562 |
esac |
|
12563 |
;; |
|
12564 |
||
19
by edam
updated autotols stuff |
12565 |
freebsd2.*) |
5
by edam
- updated README |
12566 |
# C++ shared libraries reported to be fairly broken before |
12567 |
# switch to ELF |
|
12568 |
ld_shlibs_CXX=no |
|
12569 |
;; |
|
12570 |
||
12571 |
freebsd-elf*) |
|
12572 |
archive_cmds_need_lc_CXX=no |
|
12573 |
;; |
|
12574 |
||
12575 |
freebsd* | dragonfly*) |
|
12576 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
|
12577 |
# conventions |
|
12578 |
ld_shlibs_CXX=yes |
|
12579 |
;; |
|
12580 |
||
12581 |
gnu*) |
|
12582 |
;; |
|
12583 |
||
19
by edam
updated autotols stuff |
12584 |
haiku*) |
12585 |
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12586 |
link_all_deplibs_CXX=yes |
|
12587 |
;; |
|
12588 |
||
5
by edam
- updated README |
12589 |
hpux9*) |
12590 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
12591 |
hardcode_libdir_separator_CXX=: |
|
12592 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
12593 |
hardcode_direct_CXX=yes |
|
12594 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
12595 |
# but as the default |
|
12596 |
# location of the library. |
|
12597 |
||
12598 |
case $cc_basename in |
|
12599 |
CC*) |
|
12600 |
# FIXME: insert proper C++ library support |
|
12601 |
ld_shlibs_CXX=no |
|
12602 |
;; |
|
12603 |
aCC*) |
|
12604 |
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' |
|
12605 |
# Commands to make compiler produce verbose output that lists |
|
12606 |
# what "hidden" libraries, object files and flags are used when |
|
12607 |
# linking a shared library. |
|
12608 |
# |
|
12609 |
# There doesn't appear to be a way to prevent this compiler from |
|
12610 |
# explicitly linking system object files so we need to strip them |
|
12611 |
# from the output so that they don't get included in the library |
|
12612 |
# dependencies. |
|
19
by edam
updated autotols stuff |
12613 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
5
by edam
- updated README |
12614 |
;; |
12615 |
*) |
|
12616 |
if test "$GXX" = yes; then |
|
19
by edam
updated autotols stuff |
12617 |
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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' |
5
by edam
- updated README |
12618 |
else |
12619 |
# FIXME: insert proper C++ library support |
|
12620 |
ld_shlibs_CXX=no |
|
12621 |
fi |
|
12622 |
;; |
|
12623 |
esac |
|
12624 |
;; |
|
12625 |
||
12626 |
hpux10*|hpux11*) |
|
12627 |
if test $with_gnu_ld = no; then |
|
12628 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
12629 |
hardcode_libdir_separator_CXX=: |
|
12630 |
||
12631 |
case $host_cpu in |
|
12632 |
hppa*64*|ia64*) |
|
12633 |
;; |
|
12634 |
*) |
|
12635 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
12636 |
;; |
|
12637 |
esac |
|
12638 |
fi |
|
12639 |
case $host_cpu in |
|
12640 |
hppa*64*|ia64*) |
|
12641 |
hardcode_direct_CXX=no |
|
12642 |
hardcode_shlibpath_var_CXX=no |
|
12643 |
;; |
|
12644 |
*) |
|
12645 |
hardcode_direct_CXX=yes |
|
12646 |
hardcode_direct_absolute_CXX=yes |
|
12647 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
12648 |
# but as the default |
|
12649 |
# location of the library. |
|
12650 |
;; |
|
12651 |
esac |
|
12652 |
||
12653 |
case $cc_basename in |
|
12654 |
CC*) |
|
12655 |
# FIXME: insert proper C++ library support |
|
12656 |
ld_shlibs_CXX=no |
|
12657 |
;; |
|
12658 |
aCC*) |
|
12659 |
case $host_cpu in |
|
12660 |
hppa*64*) |
|
12661 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12662 |
;; |
|
12663 |
ia64*) |
|
12664 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12665 |
;; |
|
12666 |
*) |
|
12667 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12668 |
;; |
|
12669 |
esac |
|
12670 |
# Commands to make compiler produce verbose output that lists |
|
12671 |
# what "hidden" libraries, object files and flags are used when |
|
12672 |
# linking a shared library. |
|
12673 |
# |
|
12674 |
# There doesn't appear to be a way to prevent this compiler from |
|
12675 |
# explicitly linking system object files so we need to strip them |
|
12676 |
# from the output so that they don't get included in the library |
|
12677 |
# dependencies. |
|
19
by edam
updated autotols stuff |
12678 |
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; func_echo_all "$list"' |
5
by edam
- updated README |
12679 |
;; |
12680 |
*) |
|
12681 |
if test "$GXX" = yes; then |
|
12682 |
if test $with_gnu_ld = no; then |
|
12683 |
case $host_cpu in |
|
12684 |
hppa*64*) |
|
12685 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12686 |
;; |
|
12687 |
ia64*) |
|
19
by edam
updated autotols stuff |
12688 |
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
5
by edam
- updated README |
12689 |
;; |
12690 |
*) |
|
19
by edam
updated autotols stuff |
12691 |
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
5
by edam
- updated README |
12692 |
;; |
12693 |
esac |
|
12694 |
fi |
|
12695 |
else |
|
12696 |
# FIXME: insert proper C++ library support |
|
12697 |
ld_shlibs_CXX=no |
|
12698 |
fi |
|
12699 |
;; |
|
12700 |
esac |
|
12701 |
;; |
|
12702 |
||
12703 |
interix[3-9]*) |
|
12704 |
hardcode_direct_CXX=no |
|
12705 |
hardcode_shlibpath_var_CXX=no |
|
12706 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12707 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
12708 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
12709 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
12710 |
# default) and relocated if they conflict, which is a slow very memory |
|
12711 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
12712 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
12713 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
12714 |
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' |
|
12715 |
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' |
|
12716 |
;; |
|
12717 |
irix5* | irix6*) |
|
12718 |
case $cc_basename in |
|
12719 |
CC*) |
|
12720 |
# SGI C++ |
|
19
by edam
updated autotols stuff |
12721 |
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
12722 |
|
12723 |
# Archives containing C++ object files must be created using |
|
12724 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
|
12725 |
# necessary to make sure instantiated templates are included |
|
12726 |
# in the archive. |
|
12727 |
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
|
12728 |
;; |
|
12729 |
*) |
|
12730 |
if test "$GXX" = yes; then |
|
12731 |
if test "$with_gnu_ld" = no; then |
|
19
by edam
updated autotols stuff |
12732 |
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
12733 |
else |
19
by edam
updated autotols stuff |
12734 |
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' |
5
by edam
- updated README |
12735 |
fi |
12736 |
fi |
|
12737 |
link_all_deplibs_CXX=yes |
|
12738 |
;; |
|
12739 |
esac |
|
12740 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12741 |
hardcode_libdir_separator_CXX=: |
|
12742 |
inherit_rpath_CXX=yes |
|
12743 |
;; |
|
12744 |
||
19
by edam
updated autotols stuff |
12745 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5
by edam
- updated README |
12746 |
case $cc_basename in |
12747 |
KCC*) |
|
12748 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
12749 |
||
12750 |
# KCC will only create a shared library if the output file |
|
12751 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
12752 |
# to its proper name (with version) after linking. |
|
12753 |
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' |
|
12754 |
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' |
|
12755 |
# Commands to make compiler produce verbose output that lists |
|
12756 |
# what "hidden" libraries, object files and flags are used when |
|
12757 |
# linking a shared library. |
|
12758 |
# |
|
12759 |
# There doesn't appear to be a way to prevent this compiler from |
|
12760 |
# explicitly linking system object files so we need to strip them |
|
12761 |
# from the output so that they don't get included in the library |
|
12762 |
# dependencies. |
|
19
by edam
updated autotols stuff |
12763 |
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; func_echo_all "$list"' |
5
by edam
- updated README |
12764 |
|
12765 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12766 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
12767 |
||
12768 |
# Archives containing C++ object files must be created using |
|
12769 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
12770 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
12771 |
;; |
|
12772 |
icpc* | ecpc* ) |
|
12773 |
# Intel C++ |
|
12774 |
with_gnu_ld=yes |
|
12775 |
# version 8.0 and above of icpc choke on multiply defined symbols |
|
12776 |
# if we add $predep_objects and $postdep_objects, however 7.1 and |
|
12777 |
# earlier do not add the objects themselves. |
|
12778 |
case `$CC -V 2>&1` in |
|
12779 |
*"Version 7."*) |
|
12780 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12781 |
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' |
|
12782 |
;; |
|
12783 |
*) # Version 8.0 or newer |
|
12784 |
tmp_idyn= |
|
12785 |
case $host_cpu in |
|
12786 |
ia64*) tmp_idyn=' -i_dynamic';; |
|
12787 |
esac |
|
12788 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12789 |
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' |
|
12790 |
;; |
|
12791 |
esac |
|
12792 |
archive_cmds_need_lc_CXX=no |
|
12793 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12794 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
12795 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
12796 |
;; |
|
12797 |
pgCC* | pgcpp*) |
|
12798 |
# Portland Group C++ compiler |
|
12799 |
case `$CC -V` in |
|
19
by edam
updated autotols stuff |
12800 |
*pgCC\ [1-5].* | *pgcpp\ [1-5].*) |
5
by edam
- updated README |
12801 |
prelink_cmds_CXX='tpldir=Template.dir~ |
12802 |
rm -rf $tpldir~ |
|
12803 |
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
|
19
by edam
updated autotols stuff |
12804 |
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
5
by edam
- updated README |
12805 |
old_archive_cmds_CXX='tpldir=Template.dir~ |
12806 |
rm -rf $tpldir~ |
|
12807 |
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
|
19
by edam
updated autotols stuff |
12808 |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
5
by edam
- updated README |
12809 |
$RANLIB $oldlib' |
12810 |
archive_cmds_CXX='tpldir=Template.dir~ |
|
12811 |
rm -rf $tpldir~ |
|
12812 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
19
by edam
updated autotols stuff |
12813 |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
5
by edam
- updated README |
12814 |
archive_expsym_cmds_CXX='tpldir=Template.dir~ |
12815 |
rm -rf $tpldir~ |
|
12816 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
19
by edam
updated autotols stuff |
12817 |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
5
by edam
- updated README |
12818 |
;; |
19
by edam
updated autotols stuff |
12819 |
*) # Version 6 and above use weak symbols |
5
by edam
- updated README |
12820 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
12821 |
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' |
|
12822 |
;; |
|
12823 |
esac |
|
12824 |
||
12825 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
12826 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
19
by edam
updated autotols stuff |
12827 |
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
5
by edam
- updated README |
12828 |
;; |
12829 |
cxx*) |
|
12830 |
# Compaq C++ |
|
12831 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12832 |
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' |
|
12833 |
||
12834 |
runpath_var=LD_RUN_PATH |
|
12835 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
12836 |
hardcode_libdir_separator_CXX=: |
|
12837 |
||
12838 |
# Commands to make compiler produce verbose output that lists |
|
12839 |
# what "hidden" libraries, object files and flags are used when |
|
12840 |
# linking a shared library. |
|
12841 |
# |
|
12842 |
# There doesn't appear to be a way to prevent this compiler from |
|
12843 |
# explicitly linking system object files so we need to strip them |
|
12844 |
# from the output so that they don't get included in the library |
|
12845 |
# dependencies. |
|
19
by edam
updated autotols stuff |
12846 |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed' |
5
by edam
- updated README |
12847 |
;; |
19
by edam
updated autotols stuff |
12848 |
xl* | mpixl* | bgxl*) |
5
by edam
- updated README |
12849 |
# IBM XL 8.0 on PPC, with GNU ld |
12850 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12851 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
12852 |
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
12853 |
if test "x$supports_anon_versioning" = xyes; then |
|
12854 |
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ |
|
12855 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
12856 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
12857 |
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
12858 |
fi |
|
12859 |
;; |
|
12860 |
*) |
|
12861 |
case `$CC -V 2>&1 | sed 5q` in |
|
12862 |
*Sun\ C*) |
|
12863 |
# Sun C++ 5.9 |
|
12864 |
no_undefined_flag_CXX=' -zdefs' |
|
12865 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12866 |
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' |
|
12867 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
19
by edam
updated autotols stuff |
12868 |
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
5
by edam
- updated README |
12869 |
compiler_needs_object_CXX=yes |
12870 |
||
12871 |
# Not sure whether something based on |
|
12872 |
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
|
12873 |
# would be better. |
|
19
by edam
updated autotols stuff |
12874 |
output_verbose_link_cmd='func_echo_all' |
5
by edam
- updated README |
12875 |
|
12876 |
# Archives containing C++ object files must be created using |
|
12877 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
12878 |
# necessary to make sure instantiated templates are included |
|
12879 |
# in the archive. |
|
12880 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
12881 |
;; |
|
12882 |
esac |
|
12883 |
;; |
|
12884 |
esac |
|
12885 |
;; |
|
12886 |
||
12887 |
lynxos*) |
|
12888 |
# FIXME: insert proper C++ library support |
|
12889 |
ld_shlibs_CXX=no |
|
12890 |
;; |
|
12891 |
||
12892 |
m88k*) |
|
12893 |
# FIXME: insert proper C++ library support |
|
12894 |
ld_shlibs_CXX=no |
|
12895 |
;; |
|
12896 |
||
12897 |
mvs*) |
|
12898 |
case $cc_basename in |
|
12899 |
cxx*) |
|
12900 |
# FIXME: insert proper C++ library support |
|
12901 |
ld_shlibs_CXX=no |
|
12902 |
;; |
|
12903 |
*) |
|
12904 |
# FIXME: insert proper C++ library support |
|
12905 |
ld_shlibs_CXX=no |
|
12906 |
;; |
|
12907 |
esac |
|
12908 |
;; |
|
12909 |
||
12910 |
netbsd*) |
|
12911 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
12912 |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
|
12913 |
wlarc= |
|
12914 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
12915 |
hardcode_direct_CXX=yes |
|
12916 |
hardcode_shlibpath_var_CXX=no |
|
12917 |
fi |
|
12918 |
# Workaround some broken pre-1.5 toolchains |
|
12919 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
|
12920 |
;; |
|
12921 |
||
12922 |
*nto* | *qnx*) |
|
12923 |
ld_shlibs_CXX=yes |
|
12924 |
;; |
|
12925 |
||
12926 |
openbsd2*) |
|
12927 |
# C++ shared libraries are fairly broken |
|
12928 |
ld_shlibs_CXX=no |
|
12929 |
;; |
|
12930 |
||
12931 |
openbsd*) |
|
12932 |
if test -f /usr/libexec/ld.so; then |
|
12933 |
hardcode_direct_CXX=yes |
|
12934 |
hardcode_shlibpath_var_CXX=no |
|
12935 |
hardcode_direct_absolute_CXX=yes |
|
12936 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
12937 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12938 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
12939 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
12940 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
12941 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
12942 |
fi |
|
19
by edam
updated autotols stuff |
12943 |
output_verbose_link_cmd=func_echo_all |
5
by edam
- updated README |
12944 |
else |
12945 |
ld_shlibs_CXX=no |
|
12946 |
fi |
|
12947 |
;; |
|
12948 |
||
12949 |
osf3* | osf4* | osf5*) |
|
12950 |
case $cc_basename in |
|
12951 |
KCC*) |
|
12952 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
12953 |
||
12954 |
# KCC will only create a shared library if the output file |
|
12955 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
12956 |
# to its proper name (with version) after linking. |
|
12957 |
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' |
|
12958 |
||
12959 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12960 |
hardcode_libdir_separator_CXX=: |
|
12961 |
||
12962 |
# Archives containing C++ object files must be created using |
|
12963 |
# the KAI C++ compiler. |
|
12964 |
case $host in |
|
12965 |
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; |
|
12966 |
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; |
|
12967 |
esac |
|
12968 |
;; |
|
12969 |
RCC*) |
|
12970 |
# Rational C++ 2.4.1 |
|
12971 |
# FIXME: insert proper C++ library support |
|
12972 |
ld_shlibs_CXX=no |
|
12973 |
;; |
|
12974 |
cxx*) |
|
12975 |
case $host in |
|
12976 |
osf3*) |
|
12977 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
19
by edam
updated autotols stuff |
12978 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
12979 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
12980 |
;; |
|
12981 |
*) |
|
12982 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
|
19
by edam
updated autotols stuff |
12983 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
12984 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
12985 |
echo "-hidden">> $lib.exp~ |
|
19
by edam
updated autotols stuff |
12986 |
$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~ |
5
by edam
- updated README |
12987 |
$RM $lib.exp' |
12988 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
12989 |
;; |
|
12990 |
esac |
|
12991 |
||
12992 |
hardcode_libdir_separator_CXX=: |
|
12993 |
||
12994 |
# Commands to make compiler produce verbose output that lists |
|
12995 |
# what "hidden" libraries, object files and flags are used when |
|
12996 |
# linking a shared library. |
|
12997 |
# |
|
12998 |
# There doesn't appear to be a way to prevent this compiler from |
|
12999 |
# explicitly linking system object files so we need to strip them |
|
13000 |
# from the output so that they don't get included in the library |
|
13001 |
# dependencies. |
|
19
by edam
updated autotols stuff |
13002 |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"' |
5
by edam
- updated README |
13003 |
;; |
13004 |
*) |
|
13005 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
13006 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
13007 |
case $host in |
|
13008 |
osf3*) |
|
19
by edam
updated autotols stuff |
13009 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
13010 |
;; |
13011 |
*) |
|
19
by edam
updated autotols stuff |
13012 |
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
5
by edam
- updated README |
13013 |
;; |
13014 |
esac |
|
13015 |
||
13016 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
13017 |
hardcode_libdir_separator_CXX=: |
|
13018 |
||
13019 |
# Commands to make compiler produce verbose output that lists |
|
13020 |
# what "hidden" libraries, object files and flags are used when |
|
13021 |
# linking a shared library. |
|
19
by edam
updated autotols stuff |
13022 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
5
by edam
- updated README |
13023 |
|
13024 |
else |
|
13025 |
# FIXME: insert proper C++ library support |
|
13026 |
ld_shlibs_CXX=no |
|
13027 |
fi |
|
13028 |
;; |
|
13029 |
esac |
|
13030 |
;; |
|
13031 |
||
13032 |
psos*) |
|
13033 |
# FIXME: insert proper C++ library support |
|
13034 |
ld_shlibs_CXX=no |
|
13035 |
;; |
|
13036 |
||
13037 |
sunos4*) |
|
13038 |
case $cc_basename in |
|
13039 |
CC*) |
|
13040 |
# Sun C++ 4.x |
|
13041 |
# FIXME: insert proper C++ library support |
|
13042 |
ld_shlibs_CXX=no |
|
13043 |
;; |
|
13044 |
lcc*) |
|
13045 |
# Lucid |
|
13046 |
# FIXME: insert proper C++ library support |
|
13047 |
ld_shlibs_CXX=no |
|
13048 |
;; |
|
13049 |
*) |
|
13050 |
# FIXME: insert proper C++ library support |
|
13051 |
ld_shlibs_CXX=no |
|
13052 |
;; |
|
13053 |
esac |
|
13054 |
;; |
|
13055 |
||
13056 |
solaris*) |
|
13057 |
case $cc_basename in |
|
19
by edam
updated autotols stuff |
13058 |
CC* | sunCC*) |
5
by edam
- updated README |
13059 |
# Sun C++ 4.2, 5.x and Centerline C++ |
13060 |
archive_cmds_need_lc_CXX=yes |
|
13061 |
no_undefined_flag_CXX=' -zdefs' |
|
13062 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
13063 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
13064 |
$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' |
|
13065 |
||
13066 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
13067 |
hardcode_shlibpath_var_CXX=no |
|
13068 |
case $host_os in |
|
13069 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
13070 |
*) |
|
13071 |
# The compiler driver will combine and reorder linker options, |
|
13072 |
# but understands `-z linker_flag'. |
|
13073 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
13074 |
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
|
13075 |
;; |
|
13076 |
esac |
|
13077 |
link_all_deplibs_CXX=yes |
|
13078 |
||
19
by edam
updated autotols stuff |
13079 |
output_verbose_link_cmd='func_echo_all' |
5
by edam
- updated README |
13080 |
|
13081 |
# Archives containing C++ object files must be created using |
|
13082 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
13083 |
# necessary to make sure instantiated templates are included |
|
13084 |
# in the archive. |
|
13085 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
13086 |
;; |
|
13087 |
gcx*) |
|
13088 |
# Green Hills C++ Compiler |
|
13089 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
13090 |
||
13091 |
# The C++ compiler must be used to create the archive. |
|
13092 |
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
|
13093 |
;; |
|
13094 |
*) |
|
13095 |
# GNU C++ compiler with Solaris linker |
|
13096 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
13097 |
no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
|
13098 |
if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
|
19
by edam
updated autotols stuff |
13099 |
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
5
by edam
- updated README |
13100 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
19
by edam
updated autotols stuff |
13101 |
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
5
by edam
- updated README |
13102 |
|
13103 |
# Commands to make compiler produce verbose output that lists |
|
13104 |
# what "hidden" libraries, object files and flags are used when |
|
13105 |
# linking a shared library. |
|
19
by edam
updated autotols stuff |
13106 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
5
by edam
- updated README |
13107 |
else |
13108 |
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
|
13109 |
# platform. |
|
13110 |
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
13111 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
13112 |
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
13113 |
||
13114 |
# Commands to make compiler produce verbose output that lists |
|
13115 |
# what "hidden" libraries, object files and flags are used when |
|
13116 |
# linking a shared library. |
|
19
by edam
updated autotols stuff |
13117 |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
5
by edam
- updated README |
13118 |
fi |
13119 |
||
13120 |
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
|
13121 |
case $host_os in |
|
13122 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
13123 |
*) |
|
13124 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
13125 |
;; |
|
13126 |
esac |
|
13127 |
fi |
|
13128 |
;; |
|
13129 |
esac |
|
13130 |
;; |
|
13131 |
||
13132 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
13133 |
no_undefined_flag_CXX='${wl}-z,text' |
|
13134 |
archive_cmds_need_lc_CXX=no |
|
13135 |
hardcode_shlibpath_var_CXX=no |
|
13136 |
runpath_var='LD_RUN_PATH' |
|
13137 |
||
13138 |
case $cc_basename in |
|
13139 |
CC*) |
|
13140 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13141 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13142 |
;; |
|
13143 |
*) |
|
13144 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13145 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13146 |
;; |
|
13147 |
esac |
|
13148 |
;; |
|
13149 |
||
13150 |
sysv5* | sco3.2v5* | sco5v6*) |
|
13151 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
13152 |
# link with -lc, and that would cause any symbols used from libc to |
|
13153 |
# always be unresolved, which means just about no library would |
|
13154 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
13155 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
13156 |
# as -z defs. |
|
13157 |
no_undefined_flag_CXX='${wl}-z,text' |
|
13158 |
allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
13159 |
archive_cmds_need_lc_CXX=no |
|
13160 |
hardcode_shlibpath_var_CXX=no |
|
13161 |
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' |
|
13162 |
hardcode_libdir_separator_CXX=':' |
|
13163 |
link_all_deplibs_CXX=yes |
|
13164 |
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
13165 |
runpath_var='LD_RUN_PATH' |
|
13166 |
||
13167 |
case $cc_basename in |
|
13168 |
CC*) |
|
13169 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13170 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19
by edam
updated autotols stuff |
13171 |
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ |
13172 |
'"$old_archive_cmds_CXX" |
|
13173 |
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ |
|
13174 |
'"$reload_cmds_CXX" |
|
5
by edam
- updated README |
13175 |
;; |
13176 |
*) |
|
13177 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13178 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
13179 |
;; |
|
13180 |
esac |
|
13181 |
;; |
|
13182 |
||
13183 |
tandem*) |
|
13184 |
case $cc_basename in |
|
13185 |
NCC*) |
|
13186 |
# NonStop-UX NCC 3.20 |
|
13187 |
# FIXME: insert proper C++ library support |
|
13188 |
ld_shlibs_CXX=no |
|
13189 |
;; |
|
13190 |
*) |
|
13191 |
# FIXME: insert proper C++ library support |
|
13192 |
ld_shlibs_CXX=no |
|
13193 |
;; |
|
13194 |
esac |
|
13195 |
;; |
|
13196 |
||
13197 |
vxworks*) |
|
13198 |
# FIXME: insert proper C++ library support |
|
13199 |
ld_shlibs_CXX=no |
|
13200 |
;; |
|
13201 |
||
13202 |
*) |
|
13203 |
# FIXME: insert proper C++ library support |
|
13204 |
ld_shlibs_CXX=no |
|
13205 |
;; |
|
13206 |
esac |
|
13207 |
||
13208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
|
13209 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
13210 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
|
13211 |
||
13212 |
GCC_CXX="$GXX" |
|
13213 |
LD_CXX="$LD" |
|
13214 |
||
13215 |
## CAVEAT EMPTOR: |
|
13216 |
## There is no encapsulation within the following macros, do not change |
|
13217 |
## the running order or otherwise move them around unless you know exactly |
|
13218 |
## what you are doing... |
|
13219 |
# Dependencies to place before and after the object being linked: |
|
13220 |
predep_objects_CXX= |
|
13221 |
postdep_objects_CXX= |
|
13222 |
predeps_CXX= |
|
13223 |
postdeps_CXX= |
|
13224 |
compiler_lib_search_path_CXX= |
|
13225 |
||
13226 |
cat > conftest.$ac_ext <<_LT_EOF |
|
13227 |
class Foo |
|
13228 |
{ |
|
13229 |
public: |
|
13230 |
Foo (void) { a = 0; } |
|
13231 |
private: |
|
13232 |
int a; |
|
13233 |
}; |
|
13234 |
_LT_EOF |
|
13235 |
||
19
by edam
updated autotols stuff |
13236 |
|
13237 |
_lt_libdeps_save_CFLAGS=$CFLAGS |
|
13238 |
case "$CC $CFLAGS " in #( |
|
13239 |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
|
13240 |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
|
13241 |
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; |
|
13242 |
esac |
|
13243 |
||
5
by edam
- updated README |
13244 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
13245 |
(eval $ac_compile) 2>&5 |
|
13246 |
ac_status=$? |
|
13247 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
13248 |
test $ac_status = 0; }; then |
|
13249 |
# Parse the compiler output and extract the necessary |
|
13250 |
# objects, libraries and library flags. |
|
13251 |
||
13252 |
# Sentinel used to keep track of whether or not we are before |
|
13253 |
# the conftest object file. |
|
13254 |
pre_test_object_deps_done=no |
|
13255 |
||
13256 |
for p in `eval "$output_verbose_link_cmd"`; do |
|
19
by edam
updated autotols stuff |
13257 |
case ${prev}${p} in |
5
by edam
- updated README |
13258 |
|
13259 |
-L* | -R* | -l*) |
|
13260 |
# Some compilers place space between "-{L,R}" and the path. |
|
13261 |
# Remove the space. |
|
13262 |
if test $p = "-L" || |
|
13263 |
test $p = "-R"; then |
|
13264 |
prev=$p |
|
13265 |
continue |
|
13266 |
fi |
|
13267 |
||
19
by edam
updated autotols stuff |
13268 |
# Expand the sysroot to ease extracting the directories later. |
13269 |
if test -z "$prev"; then |
|
13270 |
case $p in |
|
13271 |
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
|
13272 |
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
|
13273 |
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
|
13274 |
esac |
|
13275 |
fi |
|
13276 |
case $p in |
|
13277 |
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
|
13278 |
esac |
|
5
by edam
- updated README |
13279 |
if test "$pre_test_object_deps_done" = no; then |
19
by edam
updated autotols stuff |
13280 |
case ${prev} in |
13281 |
-L | -R) |
|
5
by edam
- updated README |
13282 |
# Internal compiler library paths should come after those |
13283 |
# provided the user. The postdeps already come after the |
|
13284 |
# user supplied libs so there is no need to process them. |
|
13285 |
if test -z "$compiler_lib_search_path_CXX"; then |
|
13286 |
compiler_lib_search_path_CXX="${prev}${p}" |
|
13287 |
else |
|
13288 |
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" |
|
13289 |
fi |
|
13290 |
;; |
|
13291 |
# The "-l" case would never come before the object being |
|
13292 |
# linked, so don't bother handling this case. |
|
13293 |
esac |
|
13294 |
else |
|
13295 |
if test -z "$postdeps_CXX"; then |
|
13296 |
postdeps_CXX="${prev}${p}" |
|
13297 |
else |
|
13298 |
postdeps_CXX="${postdeps_CXX} ${prev}${p}" |
|
13299 |
fi |
|
13300 |
fi |
|
19
by edam
updated autotols stuff |
13301 |
prev= |
5
by edam
- updated README |
13302 |
;; |
13303 |
||
19
by edam
updated autotols stuff |
13304 |
*.lto.$objext) ;; # Ignore GCC LTO objects |
5
by edam
- updated README |
13305 |
*.$objext) |
13306 |
# This assumes that the test object file only shows up |
|
13307 |
# once in the compiler output. |
|
13308 |
if test "$p" = "conftest.$objext"; then |
|
13309 |
pre_test_object_deps_done=yes |
|
13310 |
continue |
|
13311 |
fi |
|
13312 |
||
13313 |
if test "$pre_test_object_deps_done" = no; then |
|
13314 |
if test -z "$predep_objects_CXX"; then |
|
13315 |
predep_objects_CXX="$p" |
|
13316 |
else |
|
13317 |
predep_objects_CXX="$predep_objects_CXX $p" |
|
13318 |
fi |
|
13319 |
else |
|
13320 |
if test -z "$postdep_objects_CXX"; then |
|
13321 |
postdep_objects_CXX="$p" |
|
13322 |
else |
|
13323 |
postdep_objects_CXX="$postdep_objects_CXX $p" |
|
13324 |
fi |
|
13325 |
fi |
|
13326 |
;; |
|
13327 |
||
13328 |
*) ;; # Ignore the rest. |
|
13329 |
||
13330 |
esac |
|
13331 |
done |
|
13332 |
||
13333 |
# Clean up. |
|
13334 |
rm -f a.out a.exe |
|
13335 |
else |
|
13336 |
echo "libtool.m4: error: problem compiling CXX test program" |
|
13337 |
fi |
|
13338 |
||
13339 |
$RM -f confest.$objext |
|
19
by edam
updated autotols stuff |
13340 |
CFLAGS=$_lt_libdeps_save_CFLAGS |
5
by edam
- updated README |
13341 |
|
13342 |
# PORTME: override above test on systems where it is broken |
|
13343 |
case $host_os in |
|
13344 |
interix[3-9]*) |
|
13345 |
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
13346 |
# hack all around it, let's just trust "g++" to DTRT. |
|
13347 |
predep_objects_CXX= |
|
13348 |
postdep_objects_CXX= |
|
13349 |
postdeps_CXX= |
|
13350 |
;; |
|
13351 |
||
13352 |
linux*) |
|
13353 |
case `$CC -V 2>&1 | sed 5q` in |
|
13354 |
*Sun\ C*) |
|
13355 |
# Sun C++ 5.9 |
|
13356 |
||
13357 |
# The more standards-conforming stlport4 library is |
|
13358 |
# incompatible with the Cstd library. Avoid specifying |
|
13359 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
13360 |
# -library=stlport4 depends on it. |
|
13361 |
case " $CXX $CXXFLAGS " in |
|
13362 |
*" -library=stlport4 "*) |
|
13363 |
solaris_use_stlport4=yes |
|
13364 |
;; |
|
13365 |
esac |
|
13366 |
||
13367 |
if test "$solaris_use_stlport4" != yes; then |
|
13368 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
13369 |
fi |
|
13370 |
;; |
|
13371 |
esac |
|
13372 |
;; |
|
13373 |
||
13374 |
solaris*) |
|
13375 |
case $cc_basename in |
|
19
by edam
updated autotols stuff |
13376 |
CC* | sunCC*) |
5
by edam
- updated README |
13377 |
# The more standards-conforming stlport4 library is |
13378 |
# incompatible with the Cstd library. Avoid specifying |
|
13379 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
13380 |
# -library=stlport4 depends on it. |
|
13381 |
case " $CXX $CXXFLAGS " in |
|
13382 |
*" -library=stlport4 "*) |
|
13383 |
solaris_use_stlport4=yes |
|
13384 |
;; |
|
13385 |
esac |
|
13386 |
||
13387 |
# Adding this requires a known-good setup of shared libraries for |
|
13388 |
# Sun compiler versions before 5.6, else PIC objects from an old |
|
13389 |
# archive will be linked into the output, leading to subtle bugs. |
|
13390 |
if test "$solaris_use_stlport4" != yes; then |
|
13391 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
13392 |
fi |
|
13393 |
;; |
|
13394 |
esac |
|
13395 |
;; |
|
13396 |
esac |
|
13397 |
||
13398 |
||
13399 |
case " $postdeps_CXX " in |
|
13400 |
*" -lc "*) archive_cmds_need_lc_CXX=no ;; |
|
13401 |
esac |
|
13402 |
compiler_lib_search_dirs_CXX= |
|
13403 |
if test -n "${compiler_lib_search_path_CXX}"; then |
|
13404 |
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
|
13405 |
fi |
|
13406 |
||
13407 |
||
13408 |
||
13409 |
||
13410 |
||
13411 |
||
13412 |
||
13413 |
||
13414 |
||
13415 |
||
13416 |
||
13417 |
||
13418 |
||
13419 |
||
13420 |
||
13421 |
||
13422 |
||
13423 |
||
13424 |
||
13425 |
||
13426 |
||
13427 |
||
13428 |
||
13429 |
||
13430 |
||
13431 |
||
13432 |
||
13433 |
||
13434 |
||
13435 |
||
13436 |
||
13437 |
lt_prog_compiler_wl_CXX= |
|
13438 |
lt_prog_compiler_pic_CXX= |
|
13439 |
lt_prog_compiler_static_CXX= |
|
13440 |
||
13441 |
||
13442 |
# C++ specific cases for pic, static, wl, etc. |
|
13443 |
if test "$GXX" = yes; then |
|
13444 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13445 |
lt_prog_compiler_static_CXX='-static' |
|
13446 |
||
13447 |
case $host_os in |
|
13448 |
aix*) |
|
13449 |
# All AIX code is PIC. |
|
13450 |
if test "$host_cpu" = ia64; then |
|
13451 |
# AIX 5 now supports IA64 processor |
|
13452 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13453 |
fi |
|
13454 |
;; |
|
13455 |
||
13456 |
amigaos*) |
|
13457 |
case $host_cpu in |
|
13458 |
powerpc) |
|
13459 |
# see comment about AmigaOS4 .so support |
|
13460 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
13461 |
;; |
|
13462 |
m68k) |
|
13463 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
13464 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
13465 |
# like `-m68040'. |
|
13466 |
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
|
13467 |
;; |
|
13468 |
esac |
|
13469 |
;; |
|
13470 |
||
13471 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
13472 |
# PIC is the default for these OSes. |
|
13473 |
;; |
|
13474 |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
|
13475 |
# This hack is so that the source file can tell whether it is being |
|
13476 |
# built for inclusion in a dll (and should export symbols for example). |
|
13477 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
13478 |
# (--disable-auto-import) libraries |
|
13479 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
|
13480 |
;; |
|
13481 |
darwin* | rhapsody*) |
|
13482 |
# PIC is the default on this platform |
|
13483 |
# Common symbols not allowed in MH_DYLIB files |
|
13484 |
lt_prog_compiler_pic_CXX='-fno-common' |
|
13485 |
;; |
|
13486 |
*djgpp*) |
|
13487 |
# DJGPP does not support shared libraries at all |
|
13488 |
lt_prog_compiler_pic_CXX= |
|
13489 |
;; |
|
19
by edam
updated autotols stuff |
13490 |
haiku*) |
13491 |
# PIC is the default for Haiku. |
|
13492 |
# The "-static" flag exists, but is broken. |
|
13493 |
lt_prog_compiler_static_CXX= |
|
13494 |
;; |
|
5
by edam
- updated README |
13495 |
interix[3-9]*) |
13496 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
13497 |
# Instead, we relocate shared libraries at runtime. |
|
13498 |
;; |
|
13499 |
sysv4*MP*) |
|
13500 |
if test -d /usr/nec; then |
|
13501 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
|
13502 |
fi |
|
13503 |
;; |
|
13504 |
hpux*) |
|
13505 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
13506 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
13507 |
# sets the default TLS model and affects inlining. |
|
13508 |
case $host_cpu in |
|
13509 |
hppa*64*) |
|
13510 |
;; |
|
13511 |
*) |
|
13512 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
13513 |
;; |
|
13514 |
esac |
|
13515 |
;; |
|
13516 |
*qnx* | *nto*) |
|
13517 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
13518 |
# it will coredump. |
|
13519 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
13520 |
;; |
|
13521 |
*) |
|
13522 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
13523 |
;; |
|
13524 |
esac |
|
13525 |
else |
|
13526 |
case $host_os in |
|
13527 |
aix[4-9]*) |
|
13528 |
# All AIX code is PIC. |
|
13529 |
if test "$host_cpu" = ia64; then |
|
13530 |
# AIX 5 now supports IA64 processor |
|
13531 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13532 |
else |
|
13533 |
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
|
13534 |
fi |
|
13535 |
;; |
|
13536 |
chorus*) |
|
13537 |
case $cc_basename in |
|
13538 |
cxch68*) |
|
13539 |
# Green Hills C++ Compiler |
|
13540 |
# _LT_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" |
|
13541 |
;; |
|
13542 |
esac |
|
13543 |
;; |
|
19
by edam
updated autotols stuff |
13544 |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
13545 |
# This hack is so that the source file can tell whether it is being |
|
13546 |
# built for inclusion in a dll (and should export symbols for example). |
|
13547 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
|
13548 |
;; |
|
5
by edam
- updated README |
13549 |
dgux*) |
13550 |
case $cc_basename in |
|
13551 |
ec++*) |
|
13552 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13553 |
;; |
|
13554 |
ghcx*) |
|
13555 |
# Green Hills C++ Compiler |
|
13556 |
lt_prog_compiler_pic_CXX='-pic' |
|
13557 |
;; |
|
13558 |
*) |
|
13559 |
;; |
|
13560 |
esac |
|
13561 |
;; |
|
13562 |
freebsd* | dragonfly*) |
|
13563 |
# FreeBSD uses GNU C++ |
|
13564 |
;; |
|
13565 |
hpux9* | hpux10* | hpux11*) |
|
13566 |
case $cc_basename in |
|
13567 |
CC*) |
|
13568 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13569 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
13570 |
if test "$host_cpu" != ia64; then |
|
13571 |
lt_prog_compiler_pic_CXX='+Z' |
|
13572 |
fi |
|
13573 |
;; |
|
13574 |
aCC*) |
|
13575 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13576 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
13577 |
case $host_cpu in |
|
13578 |
hppa*64*|ia64*) |
|
13579 |
# +Z the default |
|
13580 |
;; |
|
13581 |
*) |
|
13582 |
lt_prog_compiler_pic_CXX='+Z' |
|
13583 |
;; |
|
13584 |
esac |
|
13585 |
;; |
|
13586 |
*) |
|
13587 |
;; |
|
13588 |
esac |
|
13589 |
;; |
|
13590 |
interix*) |
|
13591 |
# This is c89, which is MS Visual C++ (no shared libs) |
|
13592 |
# Anyone wants to do a port? |
|
13593 |
;; |
|
13594 |
irix5* | irix6* | nonstopux*) |
|
13595 |
case $cc_basename in |
|
13596 |
CC*) |
|
13597 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13598 |
lt_prog_compiler_static_CXX='-non_shared' |
|
13599 |
# CC pic flag -KPIC is the default. |
|
13600 |
;; |
|
13601 |
*) |
|
13602 |
;; |
|
13603 |
esac |
|
13604 |
;; |
|
19
by edam
updated autotols stuff |
13605 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5
by edam
- updated README |
13606 |
case $cc_basename in |
13607 |
KCC*) |
|
13608 |
# KAI C++ Compiler |
|
13609 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
13610 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
13611 |
;; |
|
13612 |
ecpc* ) |
|
13613 |
# old Intel C++ for x86_64 which still supported -KPIC. |
|
13614 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13615 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13616 |
lt_prog_compiler_static_CXX='-static' |
|
13617 |
;; |
|
13618 |
icpc* ) |
|
13619 |
# Intel C++, used to be incompatible with GCC. |
|
13620 |
# ICC 10 doesn't accept -KPIC any more. |
|
13621 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13622 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
13623 |
lt_prog_compiler_static_CXX='-static' |
|
13624 |
;; |
|
13625 |
pgCC* | pgcpp*) |
|
13626 |
# Portland Group C++ compiler |
|
13627 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13628 |
lt_prog_compiler_pic_CXX='-fpic' |
|
13629 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13630 |
;; |
|
13631 |
cxx*) |
|
13632 |
# Compaq C++ |
|
13633 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
13634 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
13635 |
lt_prog_compiler_pic_CXX= |
|
13636 |
lt_prog_compiler_static_CXX='-non_shared' |
|
13637 |
;; |
|
19
by edam
updated autotols stuff |
13638 |
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
13639 |
# IBM XL 8.0, 9.0 on PPC and BlueGene |
|
5
by edam
- updated README |
13640 |
lt_prog_compiler_wl_CXX='-Wl,' |
13641 |
lt_prog_compiler_pic_CXX='-qpic' |
|
13642 |
lt_prog_compiler_static_CXX='-qstaticlink' |
|
13643 |
;; |
|
13644 |
*) |
|
13645 |
case `$CC -V 2>&1 | sed 5q` in |
|
13646 |
*Sun\ C*) |
|
13647 |
# Sun C++ 5.9 |
|
13648 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13649 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13650 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
13651 |
;; |
|
13652 |
esac |
|
13653 |
;; |
|
13654 |
esac |
|
13655 |
;; |
|
13656 |
lynxos*) |
|
13657 |
;; |
|
13658 |
m88k*) |
|
13659 |
;; |
|
13660 |
mvs*) |
|
13661 |
case $cc_basename in |
|
13662 |
cxx*) |
|
13663 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
|
13664 |
;; |
|
13665 |
*) |
|
13666 |
;; |
|
13667 |
esac |
|
13668 |
;; |
|
13669 |
netbsd* | netbsdelf*-gnu) |
|
13670 |
;; |
|
13671 |
*qnx* | *nto*) |
|
13672 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
13673 |
# it will coredump. |
|
13674 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
13675 |
;; |
|
13676 |
osf3* | osf4* | osf5*) |
|
13677 |
case $cc_basename in |
|
13678 |
KCC*) |
|
13679 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
13680 |
;; |
|
13681 |
RCC*) |
|
13682 |
# Rational C++ 2.4.1 |
|
13683 |
lt_prog_compiler_pic_CXX='-pic' |
|
13684 |
;; |
|
13685 |
cxx*) |
|
13686 |
# Digital/Compaq C++ |
|
13687 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13688 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
13689 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
13690 |
lt_prog_compiler_pic_CXX= |
|
13691 |
lt_prog_compiler_static_CXX='-non_shared' |
|
13692 |
;; |
|
13693 |
*) |
|
13694 |
;; |
|
13695 |
esac |
|
13696 |
;; |
|
13697 |
psos*) |
|
13698 |
;; |
|
13699 |
solaris*) |
|
13700 |
case $cc_basename in |
|
19
by edam
updated autotols stuff |
13701 |
CC* | sunCC*) |
5
by edam
- updated README |
13702 |
# Sun C++ 4.2, 5.x and Centerline C++ |
13703 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13704 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13705 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
13706 |
;; |
|
13707 |
gcx*) |
|
13708 |
# Green Hills C++ Compiler |
|
13709 |
lt_prog_compiler_pic_CXX='-PIC' |
|
13710 |
;; |
|
13711 |
*) |
|
13712 |
;; |
|
13713 |
esac |
|
13714 |
;; |
|
13715 |
sunos4*) |
|
13716 |
case $cc_basename in |
|
13717 |
CC*) |
|
13718 |
# Sun C++ 4.x |
|
13719 |
lt_prog_compiler_pic_CXX='-pic' |
|
13720 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13721 |
;; |
|
13722 |
lcc*) |
|
13723 |
# Lucid |
|
13724 |
lt_prog_compiler_pic_CXX='-pic' |
|
13725 |
;; |
|
13726 |
*) |
|
13727 |
;; |
|
13728 |
esac |
|
13729 |
;; |
|
13730 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
13731 |
case $cc_basename in |
|
13732 |
CC*) |
|
13733 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
13734 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13735 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
13736 |
;; |
|
13737 |
esac |
|
13738 |
;; |
|
13739 |
tandem*) |
|
13740 |
case $cc_basename in |
|
13741 |
NCC*) |
|
13742 |
# NonStop-UX NCC 3.20 |
|
13743 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
13744 |
;; |
|
13745 |
*) |
|
13746 |
;; |
|
13747 |
esac |
|
13748 |
;; |
|
13749 |
vxworks*) |
|
13750 |
;; |
|
13751 |
*) |
|
13752 |
lt_prog_compiler_can_build_shared_CXX=no |
|
13753 |
;; |
|
13754 |
esac |
|
13755 |
fi |
|
13756 |
||
13757 |
case $host_os in |
|
13758 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
13759 |
*djgpp*) |
|
13760 |
lt_prog_compiler_pic_CXX= |
|
13761 |
;; |
|
13762 |
*) |
|
13763 |
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
|
13764 |
;; |
|
13765 |
esac |
|
19
by edam
updated autotols stuff |
13766 |
|
13767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
13768 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
13769 |
if ${lt_cv_prog_compiler_pic_CXX+:} false; then : |
|
13770 |
$as_echo_n "(cached) " >&6 |
|
13771 |
else |
|
13772 |
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX |
|
13773 |
fi |
|
13774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
|
13775 |
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } |
|
13776 |
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
|
5
by edam
- updated README |
13777 |
|
13778 |
# |
|
13779 |
# Check to make sure the PIC flag actually works. |
|
13780 |
# |
|
13781 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
|
13782 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
|
13783 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
|
19
by edam
updated autotols stuff |
13784 |
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : |
5
by edam
- updated README |
13785 |
$as_echo_n "(cached) " >&6 |
13786 |
else |
|
13787 |
lt_cv_prog_compiler_pic_works_CXX=no |
|
13788 |
ac_outfile=conftest.$ac_objext |
|
13789 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
13790 |
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" |
|
13791 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
13792 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
13793 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
13794 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
13795 |
# The option is referenced via a variable to avoid confusing sed. |
|
13796 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
13797 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
13798 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
13799 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
13800 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
13801 |
(eval "$lt_compile" 2>conftest.err) |
13802 |
ac_status=$? |
|
13803 |
cat conftest.err >&5 |
|
19
by edam
updated autotols stuff |
13804 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
13805 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13806 |
# The compiler can only warn and ignore the option if not recognized |
|
13807 |
# So say no if there are warnings other than the usual output. |
|
19
by edam
updated autotols stuff |
13808 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
5
by edam
- updated README |
13809 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
13810 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
13811 |
lt_cv_prog_compiler_pic_works_CXX=yes |
|
13812 |
fi |
|
13813 |
fi |
|
13814 |
$RM conftest* |
|
13815 |
||
13816 |
fi |
|
13817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
|
13818 |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
|
13819 |
||
13820 |
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then |
|
13821 |
case $lt_prog_compiler_pic_CXX in |
|
13822 |
"" | " "*) ;; |
|
13823 |
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
|
13824 |
esac |
|
13825 |
else |
|
13826 |
lt_prog_compiler_pic_CXX= |
|
13827 |
lt_prog_compiler_can_build_shared_CXX=no |
|
13828 |
fi |
|
13829 |
||
13830 |
fi |
|
13831 |
||
13832 |
||
13833 |
||
19
by edam
updated autotols stuff |
13834 |
|
13835 |
||
5
by edam
- updated README |
13836 |
# |
13837 |
# Check to make sure the static flag actually works. |
|
13838 |
# |
|
13839 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
13840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
13841 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
19
by edam
updated autotols stuff |
13842 |
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : |
5
by edam
- updated README |
13843 |
$as_echo_n "(cached) " >&6 |
13844 |
else |
|
13845 |
lt_cv_prog_compiler_static_works_CXX=no |
|
13846 |
save_LDFLAGS="$LDFLAGS" |
|
13847 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
13848 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
13849 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
13850 |
# The linker can only warn and ignore the option if not recognized |
|
13851 |
# So say no if there are warnings |
|
13852 |
if test -s conftest.err; then |
|
13853 |
# Append any errors to the config.log. |
|
13854 |
cat conftest.err 1>&5 |
|
19
by edam
updated autotols stuff |
13855 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
5
by edam
- updated README |
13856 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
13857 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
13858 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
13859 |
fi |
|
13860 |
else |
|
13861 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
13862 |
fi |
|
13863 |
fi |
|
13864 |
$RM -r conftest* |
|
13865 |
LDFLAGS="$save_LDFLAGS" |
|
13866 |
||
13867 |
fi |
|
13868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
|
13869 |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
|
13870 |
||
13871 |
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then |
|
13872 |
: |
|
13873 |
else |
|
13874 |
lt_prog_compiler_static_CXX= |
|
13875 |
fi |
|
13876 |
||
13877 |
||
13878 |
||
13879 |
||
13880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
13881 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
19
by edam
updated autotols stuff |
13882 |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : |
5
by edam
- updated README |
13883 |
$as_echo_n "(cached) " >&6 |
13884 |
else |
|
13885 |
lt_cv_prog_compiler_c_o_CXX=no |
|
13886 |
$RM -r conftest 2>/dev/null |
|
13887 |
mkdir conftest |
|
13888 |
cd conftest |
|
13889 |
mkdir out |
|
13890 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
13891 |
||
13892 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
13893 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
13894 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
13895 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
13896 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
13897 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
13898 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
13899 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
13900 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
13901 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
13902 |
(eval "$lt_compile" 2>out/conftest.err) |
13903 |
ac_status=$? |
|
13904 |
cat out/conftest.err >&5 |
|
19
by edam
updated autotols stuff |
13905 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
13906 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13907 |
then |
|
13908 |
# The compiler can only warn and ignore the option if not recognized |
|
13909 |
# So say no if there are warnings |
|
19
by edam
updated autotols stuff |
13910 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
5
by edam
- updated README |
13911 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
13912 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
13913 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
13914 |
fi |
|
13915 |
fi |
|
13916 |
chmod u+w . 2>&5 |
|
13917 |
$RM conftest* |
|
13918 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
13919 |
# template instantiation |
|
13920 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
13921 |
$RM out/* && rmdir out |
|
13922 |
cd .. |
|
13923 |
$RM -r conftest |
|
13924 |
$RM conftest* |
|
13925 |
||
13926 |
fi |
|
13927 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
13928 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
13929 |
||
13930 |
||
13931 |
||
13932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
13933 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
19
by edam
updated autotols stuff |
13934 |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : |
5
by edam
- updated README |
13935 |
$as_echo_n "(cached) " >&6 |
13936 |
else |
|
13937 |
lt_cv_prog_compiler_c_o_CXX=no |
|
13938 |
$RM -r conftest 2>/dev/null |
|
13939 |
mkdir conftest |
|
13940 |
cd conftest |
|
13941 |
mkdir out |
|
13942 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
13943 |
||
13944 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
13945 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
13946 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
13947 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
13948 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
13949 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
13950 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
13951 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
13952 |
-e 's:$: $lt_compiler_flag:'` |
|
19
by edam
updated autotols stuff |
13953 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
5
by edam
- updated README |
13954 |
(eval "$lt_compile" 2>out/conftest.err) |
13955 |
ac_status=$? |
|
13956 |
cat out/conftest.err >&5 |
|
19
by edam
updated autotols stuff |
13957 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5
by edam
- updated README |
13958 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13959 |
then |
|
13960 |
# The compiler can only warn and ignore the option if not recognized |
|
13961 |
# So say no if there are warnings |
|
19
by edam
updated autotols stuff |
13962 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
5
by edam
- updated README |
13963 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
13964 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
13965 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
13966 |
fi |
|
13967 |
fi |
|
13968 |
chmod u+w . 2>&5 |
|
13969 |
$RM conftest* |
|
13970 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
13971 |
# template instantiation |
|
13972 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
13973 |
$RM out/* && rmdir out |
|
13974 |
cd .. |
|
13975 |
$RM -r conftest |
|
13976 |
$RM conftest* |
|
13977 |
||
13978 |
fi |
|
13979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
13980 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
13981 |
||
13982 |
||
13983 |
||
13984 |
||
13985 |
hard_links="nottested" |
|
13986 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
|
13987 |
# do not overwrite the value of need_locks provided by the user |
|
13988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
|
13989 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
13990 |
hard_links=yes |
|
13991 |
$RM conftest* |
|
13992 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
13993 |
touch conftest.a |
|
13994 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
13995 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
13996 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
|
13997 |
$as_echo "$hard_links" >&6; } |
|
13998 |
if test "$hard_links" = no; then |
|
13999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
14000 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
14001 |
need_locks=warn |
|
14002 |
fi |
|
14003 |
else |
|
14004 |
need_locks=no |
|
14005 |
fi |
|
14006 |
||
14007 |
||
14008 |
||
14009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
14010 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
14011 |
||
14012 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
19
by edam
updated autotols stuff |
14013 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
5
by edam
- updated README |
14014 |
case $host_os in |
14015 |
aix[4-9]*) |
|
14016 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
14017 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
19
by edam
updated autotols stuff |
14018 |
# Also, AIX nm treats weak defined symbols like other global defined |
14019 |
# symbols, whereas GNU nm marks them as "W". |
|
5
by edam
- updated README |
14020 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
19
by edam
updated autotols stuff |
14021 |
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
5
by edam
- updated README |
14022 |
else |
14023 |
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' |
|
14024 |
fi |
|
14025 |
;; |
|
14026 |
pw32*) |
|
14027 |
export_symbols_cmds_CXX="$ltdll_cmds" |
|
19
by edam
updated autotols stuff |
14028 |
;; |
5
by edam
- updated README |
14029 |
cygwin* | mingw* | cegcc*) |
19
by edam
updated autotols stuff |
14030 |
case $cc_basename in |
14031 |
cl*) |
|
14032 |
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
|
14033 |
;; |
|
14034 |
*) |
|
14035 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
|
14036 |
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
14037 |
;; |
|
14038 |
esac |
|
14039 |
;; |
|
14040 |
linux* | k*bsd*-gnu | gnu*) |
|
5
by edam
- updated README |
14041 |
link_all_deplibs_CXX=no |
19
by edam
updated autotols stuff |
14042 |
;; |
5
by edam
- updated README |
14043 |
*) |
14044 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
19
by edam
updated autotols stuff |
14045 |
;; |
5
by edam
- updated README |
14046 |
esac |
14047 |
||
14048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
|
14049 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
14050 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
|
14051 |
||
14052 |
with_gnu_ld_CXX=$with_gnu_ld |
|
14053 |
||
14054 |
||
14055 |
||
14056 |
||
14057 |
||
14058 |
||
14059 |
# |
|
14060 |
# Do we need to explicitly link libc? |
|
14061 |
# |
|
14062 |
case "x$archive_cmds_need_lc_CXX" in |
|
14063 |
x|xyes) |
|
14064 |
# Assume -lc should be added |
|
14065 |
archive_cmds_need_lc_CXX=yes |
|
14066 |
||
14067 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
14068 |
case $archive_cmds_CXX in |
|
14069 |
*'~'*) |
|
14070 |
# FIXME: we may have to deal with multi-command sequences. |
|
14071 |
;; |
|
14072 |
'$CC '*) |
|
14073 |
# Test whether the compiler implicitly links with -lc since on some |
|
14074 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
14075 |
# to ld, don't add -lc before -lgcc. |
|
14076 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
|
14077 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
19
by edam
updated autotols stuff |
14078 |
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : |
14079 |
$as_echo_n "(cached) " >&6 |
|
14080 |
else |
|
14081 |
$RM conftest* |
|
14082 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
5
by edam
- updated README |
14083 |
|
19
by edam
updated autotols stuff |
14084 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
5
by edam
- updated README |
14085 |
(eval $ac_compile) 2>&5 |
14086 |
ac_status=$? |
|
14087 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14088 |
test $ac_status = 0; } 2>conftest.err; then |
|
19
by edam
updated autotols stuff |
14089 |
soname=conftest |
14090 |
lib=conftest |
|
14091 |
libobjs=conftest.$ac_objext |
|
14092 |
deplibs= |
|
14093 |
wl=$lt_prog_compiler_wl_CXX |
|
14094 |
pic_flag=$lt_prog_compiler_pic_CXX |
|
14095 |
compiler_flags=-v |
|
14096 |
linker_flags=-v |
|
14097 |
verstring= |
|
14098 |
output_objdir=. |
|
14099 |
libname=conftest |
|
14100 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
|
14101 |
allow_undefined_flag_CXX= |
|
14102 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
5
by edam
- updated README |
14103 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
14104 |
ac_status=$? |
|
14105 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
14106 |
test $ac_status = 0; } |
|
19
by edam
updated autotols stuff |
14107 |
then |
14108 |
lt_cv_archive_cmds_need_lc_CXX=no |
|
14109 |
else |
|
14110 |
lt_cv_archive_cmds_need_lc_CXX=yes |
|
14111 |
fi |
|
14112 |
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
|
14113 |
else |
|
14114 |
cat conftest.err 1>&5 |
|
14115 |
fi |
|
14116 |
$RM conftest* |
|
14117 |
||
14118 |
fi |
|
14119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 |
|
14120 |
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } |
|
14121 |
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX |
|
5
by edam
- updated README |
14122 |
;; |
14123 |
esac |
|
14124 |
fi |
|
14125 |
;; |
|
14126 |
esac |
|
14127 |
||
14128 |
||
14129 |
||
14130 |
||
14131 |
||
14132 |
||
14133 |
||
14134 |
||
14135 |
||
14136 |
||
14137 |
||
14138 |
||
14139 |
||
14140 |
||
14141 |
||
14142 |
||
14143 |
||
14144 |
||
14145 |
||
14146 |
||
14147 |
||
14148 |
||
14149 |
||
14150 |
||
14151 |
||
14152 |
||
14153 |
||
14154 |
||
14155 |
||
14156 |
||
14157 |
||
14158 |
||
14159 |
||
14160 |
||
14161 |
||
14162 |
||
14163 |
||
14164 |
||
14165 |
||
14166 |
||
14167 |
||
14168 |
||
14169 |
||
14170 |
||
14171 |
||
14172 |
||
14173 |
||
14174 |
||
14175 |
||
14176 |
||
14177 |
||
14178 |
||
14179 |
||
14180 |
||
14181 |
||
14182 |
||
14183 |
||
14184 |
||
14185 |
||
14186 |
||
14187 |
||
14188 |
||
14189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
14190 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
14191 |
||
14192 |
library_names_spec= |
|
14193 |
libname_spec='lib$name' |
|
14194 |
soname_spec= |
|
14195 |
shrext_cmds=".so" |
|
14196 |
postinstall_cmds= |
|
14197 |
postuninstall_cmds= |
|
14198 |
finish_cmds= |
|
14199 |
finish_eval= |
|
14200 |
shlibpath_var= |
|
14201 |
shlibpath_overrides_runpath=unknown |
|
14202 |
version_type=none |
|
14203 |
dynamic_linker="$host_os ld.so" |
|
14204 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
14205 |
need_lib_prefix=unknown |
|
14206 |
hardcode_into_libs=no |
|
14207 |
||
14208 |
# when you set need_version to no, make sure it does not cause -set_version |
|
14209 |
# flags to be left without arguments |
|
14210 |
need_version=unknown |
|
14211 |
||
14212 |
case $host_os in |
|
14213 |
aix3*) |
|
19
by edam
updated autotols stuff |
14214 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14215 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
14216 |
shlibpath_var=LIBPATH |
|
14217 |
||
14218 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
14219 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14220 |
;; |
|
14221 |
||
14222 |
aix[4-9]*) |
|
19
by edam
updated autotols stuff |
14223 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14224 |
need_lib_prefix=no |
14225 |
need_version=no |
|
14226 |
hardcode_into_libs=yes |
|
14227 |
if test "$host_cpu" = ia64; then |
|
14228 |
# AIX 5 supports IA64 |
|
14229 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
14230 |
shlibpath_var=LD_LIBRARY_PATH |
|
14231 |
else |
|
14232 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
14233 |
# for dependence libraries. The import file would start with |
|
14234 |
# the line `#! .'. This would cause the generated library to |
|
14235 |
# depend on `.', always an invalid library. This was fixed in |
|
14236 |
# development snapshots of GCC prior to 3.0. |
|
14237 |
case $host_os in |
|
14238 |
aix4 | aix4.[01] | aix4.[01].*) |
|
14239 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
14240 |
echo ' yes ' |
|
14241 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
|
14242 |
: |
|
14243 |
else |
|
14244 |
can_build_shared=no |
|
14245 |
fi |
|
14246 |
;; |
|
14247 |
esac |
|
14248 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
14249 |
# soname into executable. Probably we can add versioning support to |
|
14250 |
# collect2, so additional links can be useful in future. |
|
14251 |
if test "$aix_use_runtimelinking" = yes; then |
|
14252 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
14253 |
# instead of lib<name>.a to let people know that these are not |
|
14254 |
# typical AIX shared libraries. |
|
14255 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14256 |
else |
|
14257 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
14258 |
# and later when we are not doing run time linking. |
|
14259 |
library_names_spec='${libname}${release}.a $libname.a' |
|
14260 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14261 |
fi |
|
14262 |
shlibpath_var=LIBPATH |
|
14263 |
fi |
|
14264 |
;; |
|
14265 |
||
14266 |
amigaos*) |
|
14267 |
case $host_cpu in |
|
14268 |
powerpc) |
|
14269 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
14270 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
14271 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14272 |
;; |
|
14273 |
m68k) |
|
14274 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
14275 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
19
by edam
updated autotols stuff |
14276 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
5
by edam
- updated README |
14277 |
;; |
14278 |
esac |
|
14279 |
;; |
|
14280 |
||
14281 |
beos*) |
|
14282 |
library_names_spec='${libname}${shared_ext}' |
|
14283 |
dynamic_linker="$host_os ld.so" |
|
14284 |
shlibpath_var=LIBRARY_PATH |
|
14285 |
;; |
|
14286 |
||
14287 |
bsdi[45]*) |
|
19
by edam
updated autotols stuff |
14288 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14289 |
need_version=no |
14290 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14291 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14292 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
14293 |
shlibpath_var=LD_LIBRARY_PATH |
|
14294 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
14295 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
14296 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
14297 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
14298 |
# libtool to hard-code these into programs |
|
14299 |
;; |
|
14300 |
||
14301 |
cygwin* | mingw* | pw32* | cegcc*) |
|
14302 |
version_type=windows |
|
14303 |
shrext_cmds=".dll" |
|
14304 |
need_version=no |
|
14305 |
need_lib_prefix=no |
|
14306 |
||
19
by edam
updated autotols stuff |
14307 |
case $GCC,$cc_basename in |
14308 |
yes,*) |
|
14309 |
# gcc |
|
5
by edam
- updated README |
14310 |
library_names_spec='$libname.dll.a' |
14311 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
14312 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
14313 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
14314 |
dldir=$destdir/`dirname \$dlpath`~ |
|
14315 |
test -d \$dldir || mkdir -p \$dldir~ |
|
14316 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
14317 |
chmod a+x \$dldir/$dlname~ |
|
14318 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
14319 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
14320 |
fi' |
|
14321 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
14322 |
dlpath=$dir/\$dldll~ |
|
14323 |
$RM \$dlpath' |
|
14324 |
shlibpath_overrides_runpath=yes |
|
14325 |
||
14326 |
case $host_os in |
|
14327 |
cygwin*) |
|
14328 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
14329 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
19
by edam
updated autotols stuff |
14330 |
|
5
by edam
- updated README |
14331 |
;; |
14332 |
mingw* | cegcc*) |
|
14333 |
# MinGW DLLs use traditional 'lib' prefix |
|
14334 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
14335 |
;; |
|
14336 |
pw32*) |
|
14337 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
14338 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
14339 |
;; |
|
14340 |
esac |
|
19
by edam
updated autotols stuff |
14341 |
dynamic_linker='Win32 ld.exe' |
14342 |
;; |
|
14343 |
||
14344 |
*,cl*) |
|
14345 |
# Native MSVC |
|
14346 |
libname_spec='$name' |
|
14347 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
14348 |
library_names_spec='${libname}.dll.lib' |
|
14349 |
||
14350 |
case $build_os in |
|
14351 |
mingw*) |
|
14352 |
sys_lib_search_path_spec= |
|
14353 |
lt_save_ifs=$IFS |
|
14354 |
IFS=';' |
|
14355 |
for lt_path in $LIB |
|
14356 |
do |
|
14357 |
IFS=$lt_save_ifs |
|
14358 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
14359 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
14360 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
14361 |
done |
|
14362 |
IFS=$lt_save_ifs |
|
14363 |
# Convert to MSYS style. |
|
14364 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
14365 |
;; |
|
14366 |
cygwin*) |
|
14367 |
# Convert to unix form, then to dos form, then back to unix form |
|
14368 |
# but this time dos style (no spaces!) so that the unix form looks |
|
14369 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
14370 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
14371 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
14372 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
14373 |
;; |
|
14374 |
*) |
|
14375 |
sys_lib_search_path_spec="$LIB" |
|
14376 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
14377 |
# It is most probably a Windows format PATH. |
|
14378 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
14379 |
else |
|
14380 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
14381 |
fi |
|
14382 |
# FIXME: find the short name or the path components, as spaces are |
|
14383 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
14384 |
;; |
|
14385 |
esac |
|
14386 |
||
14387 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
14388 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
14389 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
14390 |
dldir=$destdir/`dirname \$dlpath`~ |
|
14391 |
test -d \$dldir || mkdir -p \$dldir~ |
|
14392 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
14393 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
14394 |
dlpath=$dir/\$dldll~ |
|
14395 |
$RM \$dlpath' |
|
14396 |
shlibpath_overrides_runpath=yes |
|
14397 |
dynamic_linker='Win32 link.exe' |
|
5
by edam
- updated README |
14398 |
;; |
14399 |
||
14400 |
*) |
|
19
by edam
updated autotols stuff |
14401 |
# Assume MSVC wrapper |
5
by edam
- updated README |
14402 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
19
by edam
updated autotols stuff |
14403 |
dynamic_linker='Win32 ld.exe' |
5
by edam
- updated README |
14404 |
;; |
14405 |
esac |
|
14406 |
# FIXME: first we should search . and the directory the executable is in |
|
14407 |
shlibpath_var=PATH |
|
14408 |
;; |
|
14409 |
||
14410 |
darwin* | rhapsody*) |
|
14411 |
dynamic_linker="$host_os dyld" |
|
14412 |
version_type=darwin |
|
14413 |
need_lib_prefix=no |
|
14414 |
need_version=no |
|
14415 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
14416 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
14417 |
shlibpath_overrides_runpath=yes |
|
14418 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
14419 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
14420 |
||
14421 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
14422 |
;; |
|
14423 |
||
14424 |
dgux*) |
|
19
by edam
updated autotols stuff |
14425 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14426 |
need_lib_prefix=no |
14427 |
need_version=no |
|
14428 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
14429 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14430 |
shlibpath_var=LD_LIBRARY_PATH |
|
14431 |
;; |
|
14432 |
||
14433 |
freebsd* | dragonfly*) |
|
14434 |
# DragonFly does not have aout. When/if they implement a new |
|
14435 |
# versioning mechanism, adjust this. |
|
14436 |
if test -x /usr/bin/objformat; then |
|
14437 |
objformat=`/usr/bin/objformat` |
|
14438 |
else |
|
14439 |
case $host_os in |
|
19
by edam
updated autotols stuff |
14440 |
freebsd[23].*) objformat=aout ;; |
5
by edam
- updated README |
14441 |
*) objformat=elf ;; |
14442 |
esac |
|
14443 |
fi |
|
14444 |
version_type=freebsd-$objformat |
|
14445 |
case $version_type in |
|
14446 |
freebsd-elf*) |
|
14447 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
14448 |
need_version=no |
|
14449 |
need_lib_prefix=no |
|
14450 |
;; |
|
14451 |
freebsd-*) |
|
14452 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
14453 |
need_version=yes |
|
14454 |
;; |
|
14455 |
esac |
|
14456 |
shlibpath_var=LD_LIBRARY_PATH |
|
14457 |
case $host_os in |
|
19
by edam
updated autotols stuff |
14458 |
freebsd2.*) |
5
by edam
- updated README |
14459 |
shlibpath_overrides_runpath=yes |
14460 |
;; |
|
14461 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
14462 |
shlibpath_overrides_runpath=yes |
|
14463 |
hardcode_into_libs=yes |
|
14464 |
;; |
|
14465 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
14466 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
14467 |
shlibpath_overrides_runpath=no |
|
14468 |
hardcode_into_libs=yes |
|
14469 |
;; |
|
14470 |
*) # from 4.6 on, and DragonFly |
|
14471 |
shlibpath_overrides_runpath=yes |
|
14472 |
hardcode_into_libs=yes |
|
14473 |
;; |
|
14474 |
esac |
|
14475 |
;; |
|
14476 |
||
14477 |
gnu*) |
|
19
by edam
updated autotols stuff |
14478 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14479 |
need_lib_prefix=no |
14480 |
need_version=no |
|
14481 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
14482 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14483 |
shlibpath_var=LD_LIBRARY_PATH |
|
19
by edam
updated autotols stuff |
14484 |
shlibpath_overrides_runpath=no |
14485 |
hardcode_into_libs=yes |
|
14486 |
;; |
|
14487 |
||
14488 |
haiku*) |
|
14489 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
14490 |
need_lib_prefix=no |
|
14491 |
need_version=no |
|
14492 |
dynamic_linker="$host_os runtime_loader" |
|
14493 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
14494 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14495 |
shlibpath_var=LIBRARY_PATH |
|
14496 |
shlibpath_overrides_runpath=yes |
|
14497 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
5
by edam
- updated README |
14498 |
hardcode_into_libs=yes |
14499 |
;; |
|
14500 |
||
14501 |
hpux9* | hpux10* | hpux11*) |
|
14502 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
14503 |
# link against other versions. |
|
14504 |
version_type=sunos |
|
14505 |
need_lib_prefix=no |
|
14506 |
need_version=no |
|
14507 |
case $host_cpu in |
|
14508 |
ia64*) |
|
14509 |
shrext_cmds='.so' |
|
14510 |
hardcode_into_libs=yes |
|
14511 |
dynamic_linker="$host_os dld.so" |
|
14512 |
shlibpath_var=LD_LIBRARY_PATH |
|
14513 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
14514 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14515 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14516 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
14517 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
14518 |
else |
|
14519 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
14520 |
fi |
|
14521 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
14522 |
;; |
|
14523 |
hppa*64*) |
|
14524 |
shrext_cmds='.sl' |
|
14525 |
hardcode_into_libs=yes |
|
14526 |
dynamic_linker="$host_os dld.sl" |
|
14527 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
14528 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
14529 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14530 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14531 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
14532 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
14533 |
;; |
|
14534 |
*) |
|
14535 |
shrext_cmds='.sl' |
|
14536 |
dynamic_linker="$host_os dld.sl" |
|
14537 |
shlibpath_var=SHLIB_PATH |
|
14538 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
14539 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14540 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14541 |
;; |
|
14542 |
esac |
|
19
by edam
updated autotols stuff |
14543 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
5
by edam
- updated README |
14544 |
postinstall_cmds='chmod 555 $lib' |
19
by edam
updated autotols stuff |
14545 |
# or fails outright, so override atomically: |
14546 |
install_override_mode=555 |
|
5
by edam
- updated README |
14547 |
;; |
14548 |
||
14549 |
interix[3-9]*) |
|
19
by edam
updated autotols stuff |
14550 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14551 |
need_lib_prefix=no |
14552 |
need_version=no |
|
14553 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
14554 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14555 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
14556 |
shlibpath_var=LD_LIBRARY_PATH |
|
14557 |
shlibpath_overrides_runpath=no |
|
14558 |
hardcode_into_libs=yes |
|
14559 |
;; |
|
14560 |
||
14561 |
irix5* | irix6* | nonstopux*) |
|
14562 |
case $host_os in |
|
14563 |
nonstopux*) version_type=nonstopux ;; |
|
14564 |
*) |
|
14565 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
19
by edam
updated autotols stuff |
14566 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14567 |
else |
14568 |
version_type=irix |
|
14569 |
fi ;; |
|
14570 |
esac |
|
14571 |
need_lib_prefix=no |
|
14572 |
need_version=no |
|
14573 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14574 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
14575 |
case $host_os in |
|
14576 |
irix5* | nonstopux*) |
|
14577 |
libsuff= shlibsuff= |
|
14578 |
;; |
|
14579 |
*) |
|
14580 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
14581 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
14582 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
14583 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
14584 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
14585 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
14586 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
14587 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
14588 |
esac |
|
14589 |
;; |
|
14590 |
esac |
|
14591 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
14592 |
shlibpath_overrides_runpath=no |
|
14593 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
14594 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
14595 |
hardcode_into_libs=yes |
|
14596 |
;; |
|
14597 |
||
14598 |
# No shared lib support for Linux oldld, aout, or coff. |
|
14599 |
linux*oldld* | linux*aout* | linux*coff*) |
|
14600 |
dynamic_linker=no |
|
14601 |
;; |
|
14602 |
||
19
by edam
updated autotols stuff |
14603 |
# This must be glibc/ELF. |
14604 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
14605 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
5
by edam
- updated README |
14606 |
need_lib_prefix=no |
14607 |
need_version=no |
|
14608 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14609 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14610 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
14611 |
shlibpath_var=LD_LIBRARY_PATH |
|
14612 |
shlibpath_overrides_runpath=no |
|
19
by edam
updated autotols stuff |
14613 |
|
5
by edam
- updated README |
14614 |
# Some binutils ld are patched to set DT_RUNPATH |
19
by edam
updated autotols stuff |
14615 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
14616 |
$as_echo_n "(cached) " >&6 |
|
14617 |
else |
|
14618 |
lt_cv_shlibpath_overrides_runpath=no |
|
14619 |
save_LDFLAGS=$LDFLAGS |
|
14620 |
save_libdir=$libdir |
|
14621 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ |
|
14622 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" |
|
14623 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5
by edam
- updated README |
14624 |
/* end confdefs.h. */ |
14625 |
||
14626 |
int |
|
14627 |
main () |
|
14628 |
{ |
|
14629 |
||
14630 |
; |
|
14631 |
return 0; |
|
14632 |
} |
|
14633 |
_ACEOF |
|
14634 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
14635 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
19
by edam
updated autotols stuff |
14636 |
lt_cv_shlibpath_overrides_runpath=yes |
5
by edam
- updated README |
14637 |
fi |
14638 |
fi |
|
14639 |
rm -f core conftest.err conftest.$ac_objext \ |
|
14640 |
conftest$ac_exeext conftest.$ac_ext |
|
19
by edam
updated autotols stuff |
14641 |
LDFLAGS=$save_LDFLAGS |
14642 |
libdir=$save_libdir |
|
14643 |
||
14644 |
fi |
|
14645 |
||
14646 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
5
by edam
- updated README |
14647 |
|
14648 |
# This implies no fast_install, which is unacceptable. |
|
14649 |
# Some rework will be needed to allow for fast_install |
|
14650 |
# before this can be enabled. |
|
14651 |
hardcode_into_libs=yes |
|
14652 |
||
14653 |
# Append ld.so.conf contents to the search path |
|
14654 |
if test -f /etc/ld.so.conf; then |
|
19
by edam
updated autotols stuff |
14655 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
5
by edam
- updated README |
14656 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
14657 |
fi |
|
14658 |
||
14659 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
14660 |
# powerpc, because MkLinux only supported shared libraries with the |
|
14661 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
14662 |
# most powerpc-linux boxes support dynamic linking these days and |
|
14663 |
# people can always --disable-shared, the test was removed, and we |
|
14664 |
# assume the GNU/Linux dynamic linker is in use. |
|
14665 |
dynamic_linker='GNU/Linux ld.so' |
|
14666 |
;; |
|
14667 |
||
14668 |
netbsdelf*-gnu) |
|
14669 |
version_type=linux |
|
14670 |
need_lib_prefix=no |
|
14671 |
need_version=no |
|
14672 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
14673 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14674 |
shlibpath_var=LD_LIBRARY_PATH |
|
14675 |
shlibpath_overrides_runpath=no |
|
14676 |
hardcode_into_libs=yes |
|
14677 |
dynamic_linker='NetBSD ld.elf_so' |
|
14678 |
;; |
|
14679 |
||
14680 |
netbsd*) |
|
14681 |
version_type=sunos |
|
14682 |
need_lib_prefix=no |
|
14683 |
need_version=no |
|
14684 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
14685 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
14686 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
14687 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
14688 |
else |
|
14689 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
14690 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14691 |
dynamic_linker='NetBSD ld.elf_so' |
|
14692 |
fi |
|
14693 |
shlibpath_var=LD_LIBRARY_PATH |
|
14694 |
shlibpath_overrides_runpath=yes |
|
14695 |
hardcode_into_libs=yes |
|
14696 |
;; |
|
14697 |
||
14698 |
newsos6) |
|
19
by edam
updated autotols stuff |
14699 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14700 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14701 |
shlibpath_var=LD_LIBRARY_PATH |
|
14702 |
shlibpath_overrides_runpath=yes |
|
14703 |
;; |
|
14704 |
||
14705 |
*nto* | *qnx*) |
|
14706 |
version_type=qnx |
|
14707 |
need_lib_prefix=no |
|
14708 |
need_version=no |
|
14709 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14710 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14711 |
shlibpath_var=LD_LIBRARY_PATH |
|
14712 |
shlibpath_overrides_runpath=no |
|
14713 |
hardcode_into_libs=yes |
|
14714 |
dynamic_linker='ldqnx.so' |
|
14715 |
;; |
|
14716 |
||
14717 |
openbsd*) |
|
14718 |
version_type=sunos |
|
14719 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
14720 |
need_lib_prefix=no |
|
14721 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
14722 |
case $host_os in |
|
14723 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
14724 |
*) need_version=no ;; |
|
14725 |
esac |
|
14726 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
14727 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
14728 |
shlibpath_var=LD_LIBRARY_PATH |
|
14729 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
14730 |
case $host_os in |
|
14731 |
openbsd2.[89] | openbsd2.[89].*) |
|
14732 |
shlibpath_overrides_runpath=no |
|
14733 |
;; |
|
14734 |
*) |
|
14735 |
shlibpath_overrides_runpath=yes |
|
14736 |
;; |
|
14737 |
esac |
|
14738 |
else |
|
14739 |
shlibpath_overrides_runpath=yes |
|
14740 |
fi |
|
14741 |
;; |
|
14742 |
||
14743 |
os2*) |
|
14744 |
libname_spec='$name' |
|
14745 |
shrext_cmds=".dll" |
|
14746 |
need_lib_prefix=no |
|
14747 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
14748 |
dynamic_linker='OS/2 ld.exe' |
|
14749 |
shlibpath_var=LIBPATH |
|
14750 |
;; |
|
14751 |
||
14752 |
osf3* | osf4* | osf5*) |
|
14753 |
version_type=osf |
|
14754 |
need_lib_prefix=no |
|
14755 |
need_version=no |
|
14756 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14757 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14758 |
shlibpath_var=LD_LIBRARY_PATH |
|
14759 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
14760 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
14761 |
;; |
|
14762 |
||
14763 |
rdos*) |
|
14764 |
dynamic_linker=no |
|
14765 |
;; |
|
14766 |
||
14767 |
solaris*) |
|
19
by edam
updated autotols stuff |
14768 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14769 |
need_lib_prefix=no |
14770 |
need_version=no |
|
14771 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14772 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14773 |
shlibpath_var=LD_LIBRARY_PATH |
|
14774 |
shlibpath_overrides_runpath=yes |
|
14775 |
hardcode_into_libs=yes |
|
14776 |
# ldd complains unless libraries are executable |
|
14777 |
postinstall_cmds='chmod +x $lib' |
|
14778 |
;; |
|
14779 |
||
14780 |
sunos4*) |
|
14781 |
version_type=sunos |
|
14782 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
14783 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
14784 |
shlibpath_var=LD_LIBRARY_PATH |
|
14785 |
shlibpath_overrides_runpath=yes |
|
14786 |
if test "$with_gnu_ld" = yes; then |
|
14787 |
need_lib_prefix=no |
|
14788 |
fi |
|
14789 |
need_version=yes |
|
14790 |
;; |
|
14791 |
||
14792 |
sysv4 | sysv4.3*) |
|
19
by edam
updated autotols stuff |
14793 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14794 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14795 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14796 |
shlibpath_var=LD_LIBRARY_PATH |
|
14797 |
case $host_vendor in |
|
14798 |
sni) |
|
14799 |
shlibpath_overrides_runpath=no |
|
14800 |
need_lib_prefix=no |
|
14801 |
runpath_var=LD_RUN_PATH |
|
14802 |
;; |
|
14803 |
siemens) |
|
14804 |
need_lib_prefix=no |
|
14805 |
;; |
|
14806 |
motorola) |
|
14807 |
need_lib_prefix=no |
|
14808 |
need_version=no |
|
14809 |
shlibpath_overrides_runpath=no |
|
14810 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
14811 |
;; |
|
14812 |
esac |
|
14813 |
;; |
|
14814 |
||
14815 |
sysv4*MP*) |
|
14816 |
if test -d /usr/nec ;then |
|
19
by edam
updated autotols stuff |
14817 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14818 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
14819 |
soname_spec='$libname${shared_ext}.$major' |
|
14820 |
shlibpath_var=LD_LIBRARY_PATH |
|
14821 |
fi |
|
14822 |
;; |
|
14823 |
||
14824 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
14825 |
version_type=freebsd-elf |
|
14826 |
need_lib_prefix=no |
|
14827 |
need_version=no |
|
14828 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
14829 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14830 |
shlibpath_var=LD_LIBRARY_PATH |
|
14831 |
shlibpath_overrides_runpath=yes |
|
14832 |
hardcode_into_libs=yes |
|
14833 |
if test "$with_gnu_ld" = yes; then |
|
14834 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
14835 |
else |
|
14836 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
14837 |
case $host_os in |
|
14838 |
sco3.2v5*) |
|
14839 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
14840 |
;; |
|
14841 |
esac |
|
14842 |
fi |
|
14843 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
14844 |
;; |
|
14845 |
||
14846 |
tpf*) |
|
14847 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
19
by edam
updated autotols stuff |
14848 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14849 |
need_lib_prefix=no |
14850 |
need_version=no |
|
14851 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
14852 |
shlibpath_var=LD_LIBRARY_PATH |
|
14853 |
shlibpath_overrides_runpath=no |
|
14854 |
hardcode_into_libs=yes |
|
14855 |
;; |
|
14856 |
||
14857 |
uts4*) |
|
19
by edam
updated autotols stuff |
14858 |
version_type=linux # correct to gnu/linux during the next big refactor |
5
by edam
- updated README |
14859 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14860 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
14861 |
shlibpath_var=LD_LIBRARY_PATH |
|
14862 |
;; |
|
14863 |
||
14864 |
*) |
|
14865 |
dynamic_linker=no |
|
14866 |
;; |
|
14867 |
esac |
|
14868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
|
14869 |
$as_echo "$dynamic_linker" >&6; } |
|
14870 |
test "$dynamic_linker" = no && can_build_shared=no |
|
14871 |
||
14872 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
14873 |
if test "$GCC" = yes; then |
|
14874 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
14875 |
fi |
|
14876 |
||
14877 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
14878 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
14879 |
fi |
|
14880 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
14881 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
14882 |
fi |
|
14883 |
||
14884 |
||
14885 |
||
14886 |
||
14887 |
||
14888 |
||
14889 |
||
14890 |
||
14891 |
||
14892 |
||
14893 |
||
14894 |
||
14895 |
||
14896 |
||
14897 |
||
14898 |
||
14899 |
||
14900 |
||
14901 |
||
14902 |
||
14903 |
||
14904 |
||
14905 |
||
14906 |
||
14907 |
||
14908 |
||
14909 |
||
14910 |
||
14911 |
||
14912 |
||
14913 |
||
14914 |
||
14915 |
||
14916 |
||
14917 |
||
14918 |
||
19
by edam
updated autotols stuff |
14919 |
|
14920 |
||
5
by edam
- updated README |
14921 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
14922 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
14923 |
hardcode_action_CXX= |
|
14924 |
if test -n "$hardcode_libdir_flag_spec_CXX" || |
|
14925 |
test -n "$runpath_var_CXX" || |
|
14926 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
|
14927 |
||
14928 |
# We can hardcode non-existent directories. |
|
14929 |
if test "$hardcode_direct_CXX" != no && |
|
14930 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
14931 |
# have to relink, otherwise we might link with an installed library |
|
14932 |
# when we should be linking with a yet-to-be-installed one |
|
14933 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
|
14934 |
test "$hardcode_minus_L_CXX" != no; then |
|
14935 |
# Linking always hardcodes the temporary library directory. |
|
14936 |
hardcode_action_CXX=relink |
|
14937 |
else |
|
14938 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
14939 |
hardcode_action_CXX=immediate |
|
14940 |
fi |
|
14941 |
else |
|
14942 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
14943 |
# directories. |
|
14944 |
hardcode_action_CXX=unsupported |
|
14945 |
fi |
|
14946 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 |
|
14947 |
$as_echo "$hardcode_action_CXX" >&6; } |
|
14948 |
||
14949 |
if test "$hardcode_action_CXX" = relink || |
|
14950 |
test "$inherit_rpath_CXX" = yes; then |
|
14951 |
# Fast installation is not supported |
|
14952 |
enable_fast_install=no |
|
14953 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
14954 |
test "$enable_shared" = no; then |
|
14955 |
# Fast installation is not necessary |
|
14956 |
enable_fast_install=needless |
|
14957 |
fi |
|
14958 |
||
14959 |
||
14960 |
||
14961 |
||
14962 |
||
14963 |
||
14964 |
||
14965 |
fi # test -n "$compiler" |
|
14966 |
||
14967 |
CC=$lt_save_CC |
|
19
by edam
updated autotols stuff |
14968 |
CFLAGS=$lt_save_CFLAGS |
5
by edam
- updated README |
14969 |
LDCXX=$LD |
14970 |
LD=$lt_save_LD |
|
14971 |
GCC=$lt_save_GCC |
|
14972 |
with_gnu_ld=$lt_save_with_gnu_ld |
|
14973 |
lt_cv_path_LDCXX=$lt_cv_path_LD |
|
14974 |
lt_cv_path_LD=$lt_save_path_LD |
|
14975 |
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
|
14976 |
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
|
14977 |
fi # test "$_lt_caught_CXX_error" != yes |
|
14978 |
||
14979 |
ac_ext=c |
|
14980 |
ac_cpp='$CPP $CPPFLAGS' |
|
14981 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14982 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14983 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
14984 |
||
14985 |
||
14986 |
||
14987 |
||
19
by edam
updated autotols stuff |
14988 |
|
14989 |
||
14990 |
||
14991 |
||
14992 |
||
14993 |
||
14994 |
||
14995 |
||
14996 |
||
14997 |
||
14998 |
||
14999 |
ac_config_commands="$ac_config_commands libtool" |
|
15000 |
||
15001 |
||
15002 |
||
15003 |
||
15004 |
# Only expand once: |
|
15005 |
||
15006 |
||
15007 |
||
5
by edam
- updated README |
15008 |
# checks for libraries. |
9
by edam
- added NEWS |
15009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5 |
15010 |
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; } |
|
19
by edam
updated autotols stuff |
15011 |
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then : |
9
by edam
- added NEWS |
15012 |
$as_echo_n "(cached) " >&6 |
15013 |
else |
|
15014 |
ac_check_lib_save_LIBS=$LIBS |
|
15015 |
LIBS="-lboost_filesystem-mt $LIBS" |
|
15016 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15017 |
/* end confdefs.h. */ |
|
15018 |
||
15019 |
||
15020 |
int |
|
15021 |
main () |
|
15022 |
{ |
|
15023 |
return main (); |
|
15024 |
; |
|
15025 |
return 0; |
|
15026 |
} |
|
15027 |
_ACEOF |
|
15028 |
if ac_fn_c_try_link "$LINENO"; then : |
|
15029 |
ac_cv_lib_boost_filesystem_mt_main=yes |
|
15030 |
else |
|
15031 |
ac_cv_lib_boost_filesystem_mt_main=no |
|
15032 |
fi |
|
15033 |
rm -f core conftest.err conftest.$ac_objext \ |
|
15034 |
conftest$ac_exeext conftest.$ac_ext |
|
15035 |
LIBS=$ac_check_lib_save_LIBS |
|
15036 |
fi |
|
15037 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5 |
|
15038 |
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; } |
|
19
by edam
updated autotols stuff |
15039 |
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then : |
9
by edam
- added NEWS |
15040 |
cat >>confdefs.h <<_ACEOF |
15041 |
#define HAVE_LIBBOOST_FILESYSTEM_MT 1 |
|
15042 |
_ACEOF |
|
15043 |
||
15044 |
LIBS="-lboost_filesystem-mt $LIBS" |
|
15045 |
||
15046 |
else |
|
15047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5 |
|
15048 |
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;} |
|
15049 |
fi |
|
15050 |
||
15051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5 |
|
15052 |
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; } |
|
19
by edam
updated autotols stuff |
15053 |
if ${ac_cv_lib_boost_thread_mt_main+:} false; then : |
9
by edam
- added NEWS |
15054 |
$as_echo_n "(cached) " >&6 |
15055 |
else |
|
15056 |
ac_check_lib_save_LIBS=$LIBS |
|
15057 |
LIBS="-lboost_thread-mt $LIBS" |
|
15058 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15059 |
/* end confdefs.h. */ |
|
15060 |
||
15061 |
||
15062 |
int |
|
15063 |
main () |
|
15064 |
{ |
|
15065 |
return main (); |
|
15066 |
; |
|
15067 |
return 0; |
|
15068 |
} |
|
15069 |
_ACEOF |
|
15070 |
if ac_fn_c_try_link "$LINENO"; then : |
|
15071 |
ac_cv_lib_boost_thread_mt_main=yes |
|
15072 |
else |
|
15073 |
ac_cv_lib_boost_thread_mt_main=no |
|
15074 |
fi |
|
15075 |
rm -f core conftest.err conftest.$ac_objext \ |
|
15076 |
conftest$ac_exeext conftest.$ac_ext |
|
15077 |
LIBS=$ac_check_lib_save_LIBS |
|
15078 |
fi |
|
15079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5 |
|
15080 |
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; } |
|
19
by edam
updated autotols stuff |
15081 |
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then : |
9
by edam
- added NEWS |
15082 |
cat >>confdefs.h <<_ACEOF |
15083 |
#define HAVE_LIBBOOST_THREAD_MT 1 |
|
15084 |
_ACEOF |
|
15085 |
||
15086 |
LIBS="-lboost_thread-mt $LIBS" |
|
15087 |
||
15088 |
else |
|
19
by edam
updated autotols stuff |
15089 |
as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5 |
9
by edam
- added NEWS |
15090 |
fi |
15091 |
||
15092 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5 |
|
15093 |
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; } |
|
19
by edam
updated autotols stuff |
15094 |
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then : |
9
by edam
- added NEWS |
15095 |
$as_echo_n "(cached) " >&6 |
15096 |
else |
|
15097 |
ac_check_lib_save_LIBS=$LIBS |
|
15098 |
LIBS="-lsqlite3 $LIBS" |
|
15099 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15100 |
/* end confdefs.h. */ |
|
15101 |
||
15102 |
/* Override any GCC internal prototype to avoid an error. |
|
15103 |
Use char because int might match the return type of a GCC |
|
15104 |
builtin and then its argument prototype would still apply. */ |
|
15105 |
#ifdef __cplusplus |
|
15106 |
extern "C" |
|
15107 |
#endif |
|
15108 |
char sqlite3_initialize (); |
|
15109 |
int |
|
15110 |
main () |
|
15111 |
{ |
|
15112 |
return sqlite3_initialize (); |
|
15113 |
; |
|
15114 |
return 0; |
|
15115 |
} |
|
15116 |
_ACEOF |
|
15117 |
if ac_fn_c_try_link "$LINENO"; then : |
|
15118 |
ac_cv_lib_sqlite3_sqlite3_initialize=yes |
|
15119 |
else |
|
15120 |
ac_cv_lib_sqlite3_sqlite3_initialize=no |
|
15121 |
fi |
|
15122 |
rm -f core conftest.err conftest.$ac_objext \ |
|
15123 |
conftest$ac_exeext conftest.$ac_ext |
|
15124 |
LIBS=$ac_check_lib_save_LIBS |
|
15125 |
fi |
|
15126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5 |
|
15127 |
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; } |
|
19
by edam
updated autotols stuff |
15128 |
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then : |
9
by edam
- added NEWS |
15129 |
cat >>confdefs.h <<_ACEOF |
15130 |
#define HAVE_LIBSQLITE3 1 |
|
15131 |
_ACEOF |
|
15132 |
||
15133 |
LIBS="-lsqlite3 $LIBS" |
|
15134 |
||
15135 |
else |
|
19
by edam
updated autotols stuff |
15136 |
as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5 |
9
by edam
- added NEWS |
15137 |
fi |
15138 |
||
5
by edam
- updated README |
15139 |
|
15140 |
# checks for header files. |
|
15141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
15142 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
19
by edam
updated autotols stuff |
15143 |
if ${ac_cv_header_stdc+:} false; then : |
5
by edam
- updated README |
15144 |
$as_echo_n "(cached) " >&6 |
15145 |
else |
|
15146 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15147 |
/* end confdefs.h. */ |
|
15148 |
#include <stdlib.h> |
|
15149 |
#include <stdarg.h> |
|
15150 |
#include <string.h> |
|
15151 |
#include <float.h> |
|
15152 |
||
15153 |
int |
|
15154 |
main () |
|
15155 |
{ |
|
15156 |
||
15157 |
; |
|
15158 |
return 0; |
|
15159 |
} |
|
15160 |
_ACEOF |
|
15161 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
15162 |
ac_cv_header_stdc=yes |
|
15163 |
else |
|
15164 |
ac_cv_header_stdc=no |
|
15165 |
fi |
|
15166 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
15167 |
||
15168 |
if test $ac_cv_header_stdc = yes; then |
|
15169 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
15170 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15171 |
/* end confdefs.h. */ |
|
15172 |
#include <string.h> |
|
15173 |
||
15174 |
_ACEOF |
|
15175 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
15176 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
15177 |
||
15178 |
else |
|
15179 |
ac_cv_header_stdc=no |
|
15180 |
fi |
|
15181 |
rm -f conftest* |
|
15182 |
||
15183 |
fi |
|
15184 |
||
15185 |
if test $ac_cv_header_stdc = yes; then |
|
15186 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
15187 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15188 |
/* end confdefs.h. */ |
|
15189 |
#include <stdlib.h> |
|
15190 |
||
15191 |
_ACEOF |
|
15192 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
15193 |
$EGREP "free" >/dev/null 2>&1; then : |
|
15194 |
||
15195 |
else |
|
15196 |
ac_cv_header_stdc=no |
|
15197 |
fi |
|
15198 |
rm -f conftest* |
|
15199 |
||
15200 |
fi |
|
15201 |
||
15202 |
if test $ac_cv_header_stdc = yes; then |
|
15203 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
15204 |
if test "$cross_compiling" = yes; then : |
|
15205 |
: |
|
15206 |
else |
|
15207 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
15208 |
/* end confdefs.h. */ |
|
15209 |
#include <ctype.h> |
|
15210 |
#include <stdlib.h> |
|
15211 |
#if ((' ' & 0x0FF) == 0x020) |
|
15212 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
15213 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
15214 |
#else |
|
15215 |
# define ISLOWER(c) \ |
|
15216 |
(('a' <= (c) && (c) <= 'i') \ |
|
15217 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
15218 |
|| ('s' <= (c) && (c) <= 'z')) |
|
15219 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
15220 |
#endif |
|
15221 |
||
15222 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
15223 |
int |
|
15224 |
main () |
|
15225 |
{ |
|
15226 |
int i; |
|
15227 |
for (i = 0; i < 256; i++) |
|
15228 |
if (XOR (islower (i), ISLOWER (i)) |
|
15229 |
|| toupper (i) != TOUPPER (i)) |
|
15230 |
return 2; |
|
15231 |
return 0; |
|
15232 |
} |
|
15233 |
_ACEOF |
|
15234 |
if ac_fn_c_try_run "$LINENO"; then : |
|
15235 |
||
15236 |
else |
|
15237 |
ac_cv_header_stdc=no |
|
15238 |
fi |
|
15239 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
15240 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
15241 |
fi |
|
15242 |
||
15243 |
fi |
|
15244 |
fi |
|
15245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
15246 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
15247 |
if test $ac_cv_header_stdc = yes; then |
|
15248 |
||
15249 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
15250 |
||
15251 |
fi |
|
15252 |
||
15253 |
for ac_header in string.h |
|
15254 |
do : |
|
15255 |
ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" |
|
19
by edam
updated autotols stuff |
15256 |
if test "x$ac_cv_header_string_h" = xyes; then : |
5
by edam
- updated README |
15257 |
cat >>confdefs.h <<_ACEOF |
15258 |
#define HAVE_STRING_H 1 |
|
15259 |
_ACEOF |
|
15260 |
||
15261 |
fi |
|
15262 |
||
15263 |
done |
|
15264 |
||
15265 |
||
15266 |
# checks for typedefs, structures, and compiler characteristics. |
|
15267 |
||
15268 |
# checks for library functions. |
|
15269 |
||
7
by edam
- removed "OK" from test-main when test is successful |
15270 |
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile" |
5
by edam
- updated README |
15271 |
|
15272 |
cat >confcache <<\_ACEOF |
|
15273 |
# This file is a shell script that caches the results of configure |
|
15274 |
# tests run on this system so they can be shared between configure |
|
15275 |
# scripts and configure runs, see configure's option --config-cache. |
|
15276 |
# It is not useful on other systems. If it contains results you don't |
|
15277 |
# want to keep, you may remove or edit it. |
|
15278 |
# |
|
15279 |
# config.status only pays attention to the cache file if you give it |
|
15280 |
# the --recheck option to rerun configure. |
|
15281 |
# |
|
15282 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
15283 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
15284 |
# following values. |
|
15285 |
||
15286 |
_ACEOF |
|
15287 |
||
15288 |
# The following way of writing the cache mishandles newlines in values, |
|
15289 |
# but we know of no workaround that is simple, portable, and efficient. |
|
15290 |
# So, we kill variables containing newlines. |
|
15291 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
15292 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
15293 |
( |
|
15294 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
15295 |
eval ac_val=\$$ac_var |
|
15296 |
case $ac_val in #( |
|
15297 |
*${as_nl}*) |
|
15298 |
case $ac_var in #( |
|
15299 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
15300 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
15301 |
esac |
|
15302 |
case $ac_var in #( |
|
15303 |
_ | IFS | as_nl) ;; #( |
|
15304 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
15305 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
15306 |
esac ;; |
|
15307 |
esac |
|
15308 |
done |
|
15309 |
||
15310 |
(set) 2>&1 | |
|
15311 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
15312 |
*${as_nl}ac_space=\ *) |
|
15313 |
# `set' does not quote correctly, so add quotes: double-quote |
|
15314 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
15315 |
sed -n \ |
|
15316 |
"s/'/'\\\\''/g; |
|
15317 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
15318 |
;; #( |
|
15319 |
*) |
|
15320 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
15321 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
15322 |
;; |
|
15323 |
esac | |
|
15324 |
sort |
|
15325 |
) | |
|
15326 |
sed ' |
|
15327 |
/^ac_cv_env_/b end |
|
15328 |
t clear |
|
15329 |
:clear |
|
15330 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
15331 |
t end |
|
15332 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
15333 |
:end' >>confcache |
|
15334 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
15335 |
if test -w "$cache_file"; then |
|
19
by edam
updated autotols stuff |
15336 |
if test "x$cache_file" != "x/dev/null"; then |
5
by edam
- updated README |
15337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
15338 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
19
by edam
updated autotols stuff |
15339 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
15340 |
cat confcache >"$cache_file" |
|
15341 |
else |
|
15342 |
case $cache_file in #( |
|
15343 |
*/* | ?:*) |
|
15344 |
mv -f confcache "$cache_file"$$ && |
|
15345 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
15346 |
*) |
|
15347 |
mv -f confcache "$cache_file" ;; |
|
15348 |
esac |
|
15349 |
fi |
|
15350 |
fi |
|
5
by edam
- updated README |
15351 |
else |
15352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
15353 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
15354 |
fi |
|
15355 |
fi |
|
15356 |
rm -f confcache |
|
15357 |
||
15358 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
15359 |
# Let make expand exec_prefix. |
|
15360 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
15361 |
||
15362 |
DEFS=-DHAVE_CONFIG_H |
|
15363 |
||
15364 |
ac_libobjs= |
|
15365 |
ac_ltlibobjs= |
|
19
by edam
updated autotols stuff |
15366 |
U= |
5
by edam
- updated README |
15367 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
15368 |
# 1. Remove the extension, and $U if already installed. |
|
15369 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
15370 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
15371 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
15372 |
# will be set to the directory where LIBOBJS objects are built. |
|
15373 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
15374 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
15375 |
done |
|
15376 |
LIBOBJS=$ac_libobjs |
|
15377 |
||
15378 |
LTLIBOBJS=$ac_ltlibobjs |
|
15379 |
||
15380 |
||
15381 |
if test -n "$EXEEXT"; then |
|
15382 |
am__EXEEXT_TRUE= |
|
15383 |
am__EXEEXT_FALSE='#' |
|
15384 |
else |
|
15385 |
am__EXEEXT_TRUE='#' |
|
15386 |
am__EXEEXT_FALSE= |
|
15387 |
fi |
|
15388 |
||
15389 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
19
by edam
updated autotols stuff |
15390 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
15391 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
15392 |
fi |
|
15393 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
15394 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
|
5
by edam
- updated README |
15395 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15396 |
fi |
|
15397 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
19
by edam
updated autotols stuff |
15398 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
6
by edam
- fixed .am files so the library gets built! |
15399 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15400 |
fi |
|
5
by edam
- updated README |
15401 |
|
19
by edam
updated autotols stuff |
15402 |
: "${CONFIG_STATUS=./config.status}" |
5
by edam
- updated README |
15403 |
ac_write_fail=0 |
15404 |
ac_clean_files_save=$ac_clean_files |
|
15405 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
15406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
15407 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
15408 |
as_write_fail=0 |
|
15409 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
15410 |
#! $SHELL |
|
15411 |
# Generated by $as_me. |
|
15412 |
# Run this file to recreate the current configuration. |
|
15413 |
# Compiler output produced by configure, useful for debugging |
|
15414 |
# configure, is in config.log if it exists. |
|
15415 |
||
15416 |
debug=false |
|
15417 |
ac_cs_recheck=false |
|
15418 |
ac_cs_silent=false |
|
15419 |
||
15420 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
15421 |
export SHELL |
|
15422 |
_ASEOF |
|
15423 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
15424 |
## -------------------- ## |
|
15425 |
## M4sh Initialization. ## |
|
15426 |
## -------------------- ## |
|
15427 |
||
15428 |
# Be more Bourne compatible |
|
15429 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
15430 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
15431 |
emulate sh |
|
15432 |
NULLCMD=: |
|
15433 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
15434 |
# is contrary to our usage. Disable this feature. |
|
15435 |
alias -g '${1+"$@"}'='"$@"' |
|
15436 |
setopt NO_GLOB_SUBST |
|
15437 |
else |
|
15438 |
case `(set -o) 2>/dev/null` in #( |
|
15439 |
*posix*) : |
|
15440 |
set -o posix ;; #( |
|
15441 |
*) : |
|
15442 |
;; |
|
15443 |
esac |
|
15444 |
fi |
|
15445 |
||
15446 |
||
15447 |
as_nl=' |
|
15448 |
' |
|
15449 |
export as_nl |
|
15450 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
15451 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
15452 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
15453 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
15454 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
15455 |
# but without wasting forks for bash or zsh. |
|
15456 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
15457 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
15458 |
as_echo='print -r --' |
|
15459 |
as_echo_n='print -rn --' |
|
15460 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
15461 |
as_echo='printf %s\n' |
|
15462 |
as_echo_n='printf %s' |
|
15463 |
else |
|
15464 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
15465 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
15466 |
as_echo_n='/usr/ucb/echo -n' |
|
15467 |
else |
|
15468 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
15469 |
as_echo_n_body='eval |
|
15470 |
arg=$1; |
|
15471 |
case $arg in #( |
|
15472 |
*"$as_nl"*) |
|
15473 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
15474 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
15475 |
esac; |
|
15476 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
15477 |
' |
|
15478 |
export as_echo_n_body |
|
15479 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
15480 |
fi |
|
15481 |
export as_echo_body |
|
15482 |
as_echo='sh -c $as_echo_body as_echo' |
|
15483 |
fi |
|
15484 |
||
15485 |
# The user is always right. |
|
15486 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
15487 |
PATH_SEPARATOR=: |
|
15488 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
15489 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
15490 |
PATH_SEPARATOR=';' |
|
15491 |
} |
|
15492 |
fi |
|
15493 |
||
15494 |
||
15495 |
# IFS |
|
15496 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
15497 |
# there to prevent editors from complaining about space-tab. |
|
15498 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
15499 |
# splitting by setting IFS to empty value.) |
|
15500 |
IFS=" "" $as_nl" |
|
15501 |
||
15502 |
# Find who we are. Look in the path if we contain no directory separator. |
|
19
by edam
updated autotols stuff |
15503 |
as_myself= |
5
by edam
- updated README |
15504 |
case $0 in #(( |
15505 |
*[\\/]* ) as_myself=$0 ;; |
|
15506 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
15507 |
for as_dir in $PATH |
|
15508 |
do |
|
15509 |
IFS=$as_save_IFS |
|
15510 |
test -z "$as_dir" && as_dir=. |
|
15511 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
15512 |
done |
|
15513 |
IFS=$as_save_IFS |
|
15514 |
||
15515 |
;; |
|
15516 |
esac |
|
15517 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
15518 |
# in which case we are not to be found in the path. |
|
15519 |
if test "x$as_myself" = x; then |
|
15520 |
as_myself=$0 |
|
15521 |
fi |
|
15522 |
if test ! -f "$as_myself"; then |
|
15523 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
15524 |
exit 1 |
|
15525 |
fi |
|
15526 |
||
15527 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
15528 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
15529 |
# suppresses any "Segmentation fault" message there. '((' could |
|
15530 |
# trigger a bug in pdksh 5.2.14. |
|
15531 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
15532 |
do eval test x\${$as_var+set} = xset \ |
|
15533 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
15534 |
done |
|
15535 |
PS1='$ ' |
|
15536 |
PS2='> ' |
|
15537 |
PS4='+ ' |
|
15538 |
||
15539 |
# NLS nuisances. |
|
15540 |
LC_ALL=C |
|
15541 |
export LC_ALL |
|
15542 |
LANGUAGE=C |
|
15543 |
export LANGUAGE |
|
15544 |
||
15545 |
# CDPATH. |
|
15546 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
15547 |
||
15548 |
||
19
by edam
updated autotols stuff |
15549 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
15550 |
# ---------------------------------------- |
|
5
by edam
- updated README |
15551 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
15552 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
19
by edam
updated autotols stuff |
15553 |
# script with STATUS, using 1 if that was 0. |
5
by edam
- updated README |
15554 |
as_fn_error () |
15555 |
{ |
|
19
by edam
updated autotols stuff |
15556 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
15557 |
if test "$4"; then |
|
15558 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
15559 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
5
by edam
- updated README |
15560 |
fi |
19
by edam
updated autotols stuff |
15561 |
$as_echo "$as_me: error: $2" >&2 |
5
by edam
- updated README |
15562 |
as_fn_exit $as_status |
15563 |
} # as_fn_error |
|
15564 |
||
15565 |
||
15566 |
# as_fn_set_status STATUS |
|
15567 |
# ----------------------- |
|
15568 |
# Set $? to STATUS, without forking. |
|
15569 |
as_fn_set_status () |
|
15570 |
{ |
|
15571 |
return $1 |
|
15572 |
} # as_fn_set_status |
|
15573 |
||
15574 |
# as_fn_exit STATUS |
|
15575 |
# ----------------- |
|
15576 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
15577 |
as_fn_exit () |
|
15578 |
{ |
|
15579 |
set +e |
|
15580 |
as_fn_set_status $1 |
|
15581 |
exit $1 |
|
15582 |
} # as_fn_exit |
|
15583 |
||
15584 |
# as_fn_unset VAR |
|
15585 |
# --------------- |
|
15586 |
# Portably unset VAR. |
|
15587 |
as_fn_unset () |
|
15588 |
{ |
|
15589 |
{ eval $1=; unset $1;} |
|
15590 |
} |
|
15591 |
as_unset=as_fn_unset |
|
15592 |
# as_fn_append VAR VALUE |
|
15593 |
# ---------------------- |
|
15594 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
15595 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
15596 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
15597 |
# implementations. |
|
15598 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
15599 |
eval 'as_fn_append () |
|
15600 |
{ |
|
15601 |
eval $1+=\$2 |
|
15602 |
}' |
|
15603 |
else |
|
15604 |
as_fn_append () |
|
15605 |
{ |
|
15606 |
eval $1=\$$1\$2 |
|
15607 |
} |
|
15608 |
fi # as_fn_append |
|
15609 |
||
15610 |
# as_fn_arith ARG... |
|
15611 |
# ------------------ |
|
15612 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
15613 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
15614 |
# must be portable across $(()) and expr. |
|
15615 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
15616 |
eval 'as_fn_arith () |
|
15617 |
{ |
|
15618 |
as_val=$(( $* )) |
|
15619 |
}' |
|
15620 |
else |
|
15621 |
as_fn_arith () |
|
15622 |
{ |
|
15623 |
as_val=`expr "$@" || test $? -eq 1` |
|
15624 |
} |
|
15625 |
fi # as_fn_arith |
|
15626 |
||
15627 |
||
15628 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
15629 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
15630 |
as_expr=expr |
|
15631 |
else |
|
15632 |
as_expr=false |
|
15633 |
fi |
|
15634 |
||
15635 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
15636 |
as_basename=basename |
|
15637 |
else |
|
15638 |
as_basename=false |
|
15639 |
fi |
|
15640 |
||
15641 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
15642 |
as_dirname=dirname |
|
15643 |
else |
|
15644 |
as_dirname=false |
|
15645 |
fi |
|
15646 |
||
15647 |
as_me=`$as_basename -- "$0" || |
|
15648 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
15649 |
X"$0" : 'X\(//\)$' \| \ |
|
15650 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
15651 |
$as_echo X/"$0" | |
|
15652 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
15653 |
s//\1/ |
|
15654 |
q |
|
15655 |
} |
|
15656 |
/^X\/\(\/\/\)$/{ |
|
15657 |
s//\1/ |
|
15658 |
q |
|
15659 |
} |
|
15660 |
/^X\/\(\/\).*/{ |
|
15661 |
s//\1/ |
|
15662 |
q |
|
15663 |
} |
|
15664 |
s/.*/./; q'` |
|
15665 |
||
15666 |
# Avoid depending upon Character Ranges. |
|
15667 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
15668 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
15669 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
15670 |
as_cr_digits='0123456789' |
|
15671 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
15672 |
||
15673 |
ECHO_C= ECHO_N= ECHO_T= |
|
15674 |
case `echo -n x` in #((((( |
|
15675 |
-n*) |
|
15676 |
case `echo 'xy\c'` in |
|
15677 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
15678 |
xy) ECHO_C='\c';; |
|
15679 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
15680 |
ECHO_T=' ';; |
|
15681 |
esac;; |
|
15682 |
*) |
|
15683 |
ECHO_N='-n';; |
|
15684 |
esac |
|
15685 |
||
15686 |
rm -f conf$$ conf$$.exe conf$$.file |
|
15687 |
if test -d conf$$.dir; then |
|
15688 |
rm -f conf$$.dir/conf$$.file |
|
15689 |
else |
|
15690 |
rm -f conf$$.dir |
|
15691 |
mkdir conf$$.dir 2>/dev/null |
|
15692 |
fi |
|
15693 |
if (echo >conf$$.file) 2>/dev/null; then |
|
15694 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
15695 |
as_ln_s='ln -s' |
|
15696 |
# ... but there are two gotchas: |
|
15697 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
15698 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
15699 |
# In both cases, we have to default to `cp -p'. |
|
15700 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
15701 |
as_ln_s='cp -p' |
|
15702 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
15703 |
as_ln_s=ln |
|
15704 |
else |
|
15705 |
as_ln_s='cp -p' |
|
15706 |
fi |
|
15707 |
else |
|
15708 |
as_ln_s='cp -p' |
|
15709 |
fi |
|
15710 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
15711 |
rmdir conf$$.dir 2>/dev/null |
|
15712 |
||
15713 |
||
15714 |
# as_fn_mkdir_p |
|
15715 |
# ------------- |
|
15716 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
15717 |
as_fn_mkdir_p () |
|
15718 |
{ |
|
15719 |
||
15720 |
case $as_dir in #( |
|
15721 |
-*) as_dir=./$as_dir;; |
|
15722 |
esac |
|
15723 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
15724 |
as_dirs= |
|
15725 |
while :; do |
|
15726 |
case $as_dir in #( |
|
15727 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
15728 |
*) as_qdir=$as_dir;; |
|
15729 |
esac |
|
15730 |
as_dirs="'$as_qdir' $as_dirs" |
|
15731 |
as_dir=`$as_dirname -- "$as_dir" || |
|
15732 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
15733 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
15734 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
15735 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
15736 |
$as_echo X"$as_dir" | |
|
15737 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
15738 |
s//\1/ |
|
15739 |
q |
|
15740 |
} |
|
15741 |
/^X\(\/\/\)[^/].*/{ |
|
15742 |
s//\1/ |
|
15743 |
q |
|
15744 |
} |
|
15745 |
/^X\(\/\/\)$/{ |
|
15746 |
s//\1/ |
|
15747 |
q |
|
15748 |
} |
|
15749 |
/^X\(\/\).*/{ |
|
15750 |
s//\1/ |
|
15751 |
q |
|
15752 |
} |
|
15753 |
s/.*/./; q'` |
|
15754 |
test -d "$as_dir" && break |
|
15755 |
done |
|
15756 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
19
by edam
updated autotols stuff |
15757 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
5
by edam
- updated README |
15758 |
|
15759 |
||
15760 |
} # as_fn_mkdir_p |
|
15761 |
if mkdir -p . 2>/dev/null; then |
|
15762 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
15763 |
else |
|
15764 |
test -d ./-p && rmdir ./-p |
|
15765 |
as_mkdir_p=false |
|
15766 |
fi |
|
15767 |
||
15768 |
if test -x / >/dev/null 2>&1; then |
|
15769 |
as_test_x='test -x' |
|
15770 |
else |
|
15771 |
if ls -dL / >/dev/null 2>&1; then |
|
15772 |
as_ls_L_option=L |
|
15773 |
else |
|
15774 |
as_ls_L_option= |
|
15775 |
fi |
|
15776 |
as_test_x=' |
|
15777 |
eval sh -c '\'' |
|
15778 |
if test -d "$1"; then |
|
15779 |
test -d "$1/."; |
|
15780 |
else |
|
15781 |
case $1 in #( |
|
15782 |
-*)set "./$1";; |
|
15783 |
esac; |
|
15784 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
15785 |
???[sx]*):;;*)false;;esac;fi |
|
15786 |
'\'' sh |
|
15787 |
' |
|
15788 |
fi |
|
15789 |
as_executable_p=$as_test_x |
|
15790 |
||
15791 |
# Sed expression to map a string onto a valid CPP name. |
|
15792 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
15793 |
||
15794 |
# Sed expression to map a string onto a valid variable name. |
|
15795 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
15796 |
||
15797 |
||
15798 |
exec 6>&1 |
|
15799 |
## ----------------------------------- ## |
|
15800 |
## Main body of $CONFIG_STATUS script. ## |
|
15801 |
## ----------------------------------- ## |
|
15802 |
_ASEOF |
|
15803 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
15804 |
||
15805 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15806 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
15807 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
15808 |
# values after options handling. |
|
15809 |
ac_log=" |
|
26
by edam
prep for release |
15810 |
This file was extended by sqlite3cc $as_me 0.1, which was |
19
by edam
updated autotols stuff |
15811 |
generated by GNU Autoconf 2.68. Invocation command line was |
5
by edam
- updated README |
15812 |
|
15813 |
CONFIG_FILES = $CONFIG_FILES |
|
15814 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
15815 |
CONFIG_LINKS = $CONFIG_LINKS |
|
15816 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
15817 |
$ $0 $@ |
|
15818 |
||
15819 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
15820 |
" |
|
15821 |
||
15822 |
_ACEOF |
|
15823 |
||
15824 |
case $ac_config_files in *" |
|
15825 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
15826 |
esac |
|
15827 |
||
15828 |
case $ac_config_headers in *" |
|
15829 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
15830 |
esac |
|
15831 |
||
15832 |
||
15833 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15834 |
# Files that config.status was made for. |
|
15835 |
config_files="$ac_config_files" |
|
15836 |
config_headers="$ac_config_headers" |
|
15837 |
config_commands="$ac_config_commands" |
|
15838 |
||
15839 |
_ACEOF |
|
15840 |
||
15841 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15842 |
ac_cs_usage="\ |
|
15843 |
\`$as_me' instantiates files and other configuration actions |
|
15844 |
from templates according to the current configuration. Unless the files |
|
15845 |
and actions are specified as TAGs, all are instantiated by default. |
|
15846 |
||
15847 |
Usage: $0 [OPTION]... [TAG]... |
|
15848 |
||
15849 |
-h, --help print this help, then exit |
|
15850 |
-V, --version print version number and configuration settings, then exit |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
15851 |
--config print configuration, then exit |
5
by edam
- updated README |
15852 |
-q, --quiet, --silent |
15853 |
do not print progress messages |
|
15854 |
-d, --debug don't remove temporary files |
|
15855 |
--recheck update $as_me by reconfiguring in the same conditions |
|
15856 |
--file=FILE[:TEMPLATE] |
|
15857 |
instantiate the configuration file FILE |
|
15858 |
--header=FILE[:TEMPLATE] |
|
15859 |
instantiate the configuration header FILE |
|
15860 |
||
15861 |
Configuration files: |
|
15862 |
$config_files |
|
15863 |
||
15864 |
Configuration headers: |
|
15865 |
$config_headers |
|
15866 |
||
15867 |
Configuration commands: |
|
15868 |
$config_commands |
|
15869 |
||
19
by edam
updated autotols stuff |
15870 |
Report bugs to <tim@ed.am>. |
15871 |
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>." |
|
5
by edam
- updated README |
15872 |
|
15873 |
_ACEOF |
|
15874 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
15875 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
5
by edam
- updated README |
15876 |
ac_cs_version="\\ |
26
by edam
prep for release |
15877 |
sqlite3cc config.status 0.1 |
19
by edam
updated autotols stuff |
15878 |
configured by $0, generated by GNU Autoconf 2.68, |
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
15879 |
with options \\"\$ac_cs_config\\" |
5
by edam
- updated README |
15880 |
|
19
by edam
updated autotols stuff |
15881 |
Copyright (C) 2010 Free Software Foundation, Inc. |
5
by edam
- updated README |
15882 |
This config.status script is free software; the Free Software Foundation |
15883 |
gives unlimited permission to copy, distribute and modify it." |
|
15884 |
||
15885 |
ac_pwd='$ac_pwd' |
|
15886 |
srcdir='$srcdir' |
|
15887 |
INSTALL='$INSTALL' |
|
15888 |
MKDIR_P='$MKDIR_P' |
|
15889 |
AWK='$AWK' |
|
15890 |
test -n "\$AWK" || AWK=awk |
|
15891 |
_ACEOF |
|
15892 |
||
15893 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15894 |
# The default lists apply if the user does not specify any file. |
|
15895 |
ac_need_defaults=: |
|
15896 |
while test $# != 0 |
|
15897 |
do |
|
15898 |
case $1 in |
|
19
by edam
updated autotols stuff |
15899 |
--*=?*) |
5
by edam
- updated README |
15900 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15901 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
15902 |
ac_shift=: |
|
15903 |
;; |
|
19
by edam
updated autotols stuff |
15904 |
--*=) |
15905 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
15906 |
ac_optarg= |
|
15907 |
ac_shift=: |
|
15908 |
;; |
|
5
by edam
- updated README |
15909 |
*) |
15910 |
ac_option=$1 |
|
15911 |
ac_optarg=$2 |
|
15912 |
ac_shift=shift |
|
15913 |
;; |
|
15914 |
esac |
|
15915 |
||
15916 |
case $ac_option in |
|
15917 |
# Handling of the options. |
|
15918 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
15919 |
ac_cs_recheck=: ;; |
|
15920 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
15921 |
$as_echo "$ac_cs_version"; exit ;; |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
15922 |
--config | --confi | --conf | --con | --co | --c ) |
15923 |
$as_echo "$ac_cs_config"; exit ;; |
|
5
by edam
- updated README |
15924 |
--debug | --debu | --deb | --de | --d | -d ) |
15925 |
debug=: ;; |
|
15926 |
--file | --fil | --fi | --f ) |
|
15927 |
$ac_shift |
|
15928 |
case $ac_optarg in |
|
15929 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
19
by edam
updated autotols stuff |
15930 |
'') as_fn_error $? "missing file argument" ;; |
5
by edam
- updated README |
15931 |
esac |
15932 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
15933 |
ac_need_defaults=false;; |
|
15934 |
--header | --heade | --head | --hea ) |
|
15935 |
$ac_shift |
|
15936 |
case $ac_optarg in |
|
15937 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
15938 |
esac |
|
15939 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
15940 |
ac_need_defaults=false;; |
|
15941 |
--he | --h) |
|
15942 |
# Conflict between --help and --header |
|
19
by edam
updated autotols stuff |
15943 |
as_fn_error $? "ambiguous option: \`$1' |
5
by edam
- updated README |
15944 |
Try \`$0 --help' for more information.";; |
15945 |
--help | --hel | -h ) |
|
15946 |
$as_echo "$ac_cs_usage"; exit ;; |
|
15947 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
15948 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
15949 |
ac_cs_silent=: ;; |
|
15950 |
||
15951 |
# This is an error. |
|
19
by edam
updated autotols stuff |
15952 |
-*) as_fn_error $? "unrecognized option: \`$1' |
5
by edam
- updated README |
15953 |
Try \`$0 --help' for more information." ;; |
15954 |
||
15955 |
*) as_fn_append ac_config_targets " $1" |
|
15956 |
ac_need_defaults=false ;; |
|
15957 |
||
15958 |
esac |
|
15959 |
shift |
|
15960 |
done |
|
15961 |
||
15962 |
ac_configure_extra_args= |
|
15963 |
||
15964 |
if $ac_cs_silent; then |
|
15965 |
exec 6>/dev/null |
|
15966 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
15967 |
fi |
|
15968 |
||
15969 |
_ACEOF |
|
15970 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15971 |
if \$ac_cs_recheck; then |
|
15972 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
15973 |
shift |
|
15974 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
15975 |
CONFIG_SHELL='$SHELL' |
|
15976 |
export CONFIG_SHELL |
|
15977 |
exec "\$@" |
|
15978 |
fi |
|
15979 |
||
15980 |
_ACEOF |
|
15981 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15982 |
exec 5>>config.log |
|
15983 |
{ |
|
15984 |
echo |
|
15985 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
15986 |
## Running $as_me. ## |
|
15987 |
_ASBOX |
|
15988 |
$as_echo "$ac_log" |
|
15989 |
} >&5 |
|
15990 |
||
15991 |
_ACEOF |
|
15992 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15993 |
# |
|
15994 |
# INIT-COMMANDS |
|
15995 |
# |
|
15996 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
15997 |
||
15998 |
||
15999 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
16000 |
# if CDPATH is set. |
|
16001 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
16002 |
||
16003 |
sed_quote_subst='$sed_quote_subst' |
|
16004 |
double_quote_subst='$double_quote_subst' |
|
16005 |
delay_variable_subst='$delay_variable_subst' |
|
19
by edam
updated autotols stuff |
16006 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
16007 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
|
16008 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
|
16009 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
|
16010 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
|
16011 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
|
16012 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
|
16013 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
16014 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
|
16015 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
|
16016 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
|
16017 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
|
16018 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
|
16019 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
|
16020 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
|
16021 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
|
16022 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
|
16023 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
|
16024 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
|
16025 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
|
16026 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
|
16027 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
|
16028 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
|
16029 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
|
16030 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
|
16031 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
|
16032 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
|
29
by edam
updated autotools |
16033 |
lt_[P2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
19
by edam
updated autotols stuff |
16034 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
16035 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
16036 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
16037 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
|
16038 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
|
16039 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
|
16040 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
|
16041 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
16042 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
16043 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
16044 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
|
16045 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
|
16046 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
|
16047 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
16048 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16049 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
|
16050 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
|
16051 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16052 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16053 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
16054 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
|
16055 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
|
16056 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
|
16057 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
|
16058 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
|
16059 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
|
16060 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
|
16061 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
|
16062 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
16063 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16064 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
|
16065 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
|
16066 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
|
16067 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
|
16068 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
16069 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
16070 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
|
16071 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
|
16072 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
16073 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
|
16074 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
|
16075 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
|
16076 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
|
16077 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
|
16078 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
|
16079 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
|
16080 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
|
16081 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
16082 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
|
16083 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
|
16084 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16085 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16086 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
|
16087 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
|
16088 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
16089 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
16090 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
16091 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
|
16092 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
16093 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
|
16094 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
16095 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
16096 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
16097 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
|
16098 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
|
16099 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
|
16100 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
|
16101 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
16102 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
|
16103 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
|
16104 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
|
16105 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
|
16106 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
|
16107 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
|
16108 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
|
16109 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
16110 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
|
16111 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
16112 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
|
16113 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
16114 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
|
16115 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
|
16116 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
|
16117 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
16118 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
|
16119 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
|
16120 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
|
16121 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
|
16122 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
|
16123 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16124 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
16125 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
|
16126 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
|
16127 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
|
16128 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
|
16129 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
|
16130 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
|
16131 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
|
16132 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
|
16133 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
|
16134 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
|
16135 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
16136 |
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' |
|
16137 |
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' |
|
16138 |
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' |
|
16139 |
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' |
|
16140 |
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' |
|
16141 |
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' |
|
16142 |
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' |
|
16143 |
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
16144 |
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16145 |
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16146 |
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' |
|
16147 |
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' |
|
16148 |
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
16149 |
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' |
|
16150 |
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' |
|
16151 |
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' |
|
16152 |
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' |
|
16153 |
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' |
|
16154 |
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' |
|
16155 |
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
16156 |
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
16157 |
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' |
|
16158 |
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16159 |
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16160 |
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16161 |
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16162 |
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16163 |
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16164 |
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' |
|
16165 |
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
16166 |
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
16167 |
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
16168 |
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
|
16169 |
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
|
16170 |
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
|
16171 |
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' |
|
16172 |
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' |
|
16173 |
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' |
|
16174 |
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' |
|
16175 |
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' |
|
16176 |
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' |
|
16177 |
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16178 |
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
|
16179 |
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
|
16180 |
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16181 |
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
16182 |
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
16183 |
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' |
|
16184 |
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' |
|
16185 |
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
|
16186 |
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
|
16187 |
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' |
|
16188 |
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' |
|
16189 |
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' |
|
5
by edam
- updated README |
16190 |
|
16191 |
LTCC='$LTCC' |
|
16192 |
LTCFLAGS='$LTCFLAGS' |
|
16193 |
compiler='$compiler_DEFAULT' |
|
16194 |
||
19
by edam
updated autotols stuff |
16195 |
# A function that is used when there is no print builtin or printf. |
16196 |
func_fallback_echo () |
|
16197 |
{ |
|
16198 |
eval 'cat <<_LTECHO_EOF |
|
16199 |
\$1 |
|
16200 |
_LTECHO_EOF' |
|
16201 |
} |
|
16202 |
||
5
by edam
- updated README |
16203 |
# Quote evaled strings. |
19
by edam
updated autotols stuff |
16204 |
for var in SHELL \ |
16205 |
ECHO \ |
|
16206 |
PATH_SEPARATOR \ |
|
16207 |
SED \ |
|
5
by edam
- updated README |
16208 |
GREP \ |
16209 |
EGREP \ |
|
16210 |
FGREP \ |
|
16211 |
LD \ |
|
16212 |
NM \ |
|
16213 |
LN_S \ |
|
16214 |
lt_SP2NL \ |
|
16215 |
lt_NL2SP \ |
|
16216 |
reload_flag \ |
|
16217 |
OBJDUMP \ |
|
16218 |
deplibs_check_method \ |
|
16219 |
file_magic_cmd \ |
|
19
by edam
updated autotols stuff |
16220 |
file_magic_glob \ |
16221 |
want_nocaseglob \ |
|
16222 |
DLLTOOL \ |
|
16223 |
sharedlib_from_linklib_cmd \ |
|
5
by edam
- updated README |
16224 |
AR \ |
16225 |
AR_FLAGS \ |
|
19
by edam
updated autotols stuff |
16226 |
archiver_list_spec \ |
5
by edam
- updated README |
16227 |
STRIP \ |
16228 |
RANLIB \ |
|
16229 |
CC \ |
|
16230 |
CFLAGS \ |
|
16231 |
compiler \ |
|
16232 |
lt_cv_sys_global_symbol_pipe \ |
|
16233 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
16234 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
16235 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
19
by edam
updated autotols stuff |
16236 |
nm_file_list_spec \ |
5
by edam
- updated README |
16237 |
lt_prog_compiler_no_builtin_flag \ |
19
by edam
updated autotols stuff |
16238 |
lt_prog_compiler_pic \ |
5
by edam
- updated README |
16239 |
lt_prog_compiler_wl \ |
16240 |
lt_prog_compiler_static \ |
|
16241 |
lt_cv_prog_compiler_c_o \ |
|
16242 |
need_locks \ |
|
19
by edam
updated autotols stuff |
16243 |
MANIFEST_TOOL \ |
5
by edam
- updated README |
16244 |
DSYMUTIL \ |
16245 |
NMEDIT \ |
|
16246 |
LIPO \ |
|
16247 |
OTOOL \ |
|
16248 |
OTOOL64 \ |
|
16249 |
shrext_cmds \ |
|
16250 |
export_dynamic_flag_spec \ |
|
16251 |
whole_archive_flag_spec \ |
|
16252 |
compiler_needs_object \ |
|
16253 |
with_gnu_ld \ |
|
16254 |
allow_undefined_flag \ |
|
16255 |
no_undefined_flag \ |
|
16256 |
hardcode_libdir_flag_spec \ |
|
16257 |
hardcode_libdir_separator \ |
|
16258 |
exclude_expsyms \ |
|
16259 |
include_expsyms \ |
|
16260 |
file_list_spec \ |
|
16261 |
variables_saved_for_relink \ |
|
16262 |
libname_spec \ |
|
16263 |
library_names_spec \ |
|
16264 |
soname_spec \ |
|
19
by edam
updated autotols stuff |
16265 |
install_override_mode \ |
5
by edam
- updated README |
16266 |
finish_eval \ |
16267 |
old_striplib \ |
|
16268 |
striplib \ |
|
16269 |
compiler_lib_search_dirs \ |
|
16270 |
predep_objects \ |
|
16271 |
postdep_objects \ |
|
16272 |
predeps \ |
|
16273 |
postdeps \ |
|
16274 |
compiler_lib_search_path \ |
|
16275 |
LD_CXX \ |
|
19
by edam
updated autotols stuff |
16276 |
reload_flag_CXX \ |
5
by edam
- updated README |
16277 |
compiler_CXX \ |
16278 |
lt_prog_compiler_no_builtin_flag_CXX \ |
|
19
by edam
updated autotols stuff |
16279 |
lt_prog_compiler_pic_CXX \ |
5
by edam
- updated README |
16280 |
lt_prog_compiler_wl_CXX \ |
16281 |
lt_prog_compiler_static_CXX \ |
|
16282 |
lt_cv_prog_compiler_c_o_CXX \ |
|
16283 |
export_dynamic_flag_spec_CXX \ |
|
16284 |
whole_archive_flag_spec_CXX \ |
|
16285 |
compiler_needs_object_CXX \ |
|
16286 |
with_gnu_ld_CXX \ |
|
16287 |
allow_undefined_flag_CXX \ |
|
16288 |
no_undefined_flag_CXX \ |
|
16289 |
hardcode_libdir_flag_spec_CXX \ |
|
16290 |
hardcode_libdir_separator_CXX \ |
|
16291 |
exclude_expsyms_CXX \ |
|
16292 |
include_expsyms_CXX \ |
|
16293 |
file_list_spec_CXX \ |
|
16294 |
compiler_lib_search_dirs_CXX \ |
|
16295 |
predep_objects_CXX \ |
|
16296 |
postdep_objects_CXX \ |
|
16297 |
predeps_CXX \ |
|
16298 |
postdeps_CXX \ |
|
16299 |
compiler_lib_search_path_CXX; do |
|
19
by edam
updated autotols stuff |
16300 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
5
by edam
- updated README |
16301 |
*[\\\\\\\`\\"\\\$]*) |
19
by edam
updated autotols stuff |
16302 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
5
by edam
- updated README |
16303 |
;; |
16304 |
*) |
|
16305 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
16306 |
;; |
|
16307 |
esac |
|
16308 |
done |
|
16309 |
||
16310 |
# Double-quote double-evaled strings. |
|
16311 |
for var in reload_cmds \ |
|
16312 |
old_postinstall_cmds \ |
|
16313 |
old_postuninstall_cmds \ |
|
16314 |
old_archive_cmds \ |
|
16315 |
extract_expsyms_cmds \ |
|
16316 |
old_archive_from_new_cmds \ |
|
16317 |
old_archive_from_expsyms_cmds \ |
|
16318 |
archive_cmds \ |
|
16319 |
archive_expsym_cmds \ |
|
16320 |
module_cmds \ |
|
16321 |
module_expsym_cmds \ |
|
16322 |
export_symbols_cmds \ |
|
16323 |
prelink_cmds \ |
|
19
by edam
updated autotols stuff |
16324 |
postlink_cmds \ |
5
by edam
- updated README |
16325 |
postinstall_cmds \ |
16326 |
postuninstall_cmds \ |
|
16327 |
finish_cmds \ |
|
16328 |
sys_lib_search_path_spec \ |
|
16329 |
sys_lib_dlsearch_path_spec \ |
|
19
by edam
updated autotols stuff |
16330 |
reload_cmds_CXX \ |
5
by edam
- updated README |
16331 |
old_archive_cmds_CXX \ |
16332 |
old_archive_from_new_cmds_CXX \ |
|
16333 |
old_archive_from_expsyms_cmds_CXX \ |
|
16334 |
archive_cmds_CXX \ |
|
16335 |
archive_expsym_cmds_CXX \ |
|
16336 |
module_cmds_CXX \ |
|
16337 |
module_expsym_cmds_CXX \ |
|
16338 |
export_symbols_cmds_CXX \ |
|
19
by edam
updated autotols stuff |
16339 |
prelink_cmds_CXX \ |
16340 |
postlink_cmds_CXX; do |
|
16341 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
5
by edam
- updated README |
16342 |
*[\\\\\\\`\\"\\\$]*) |
19
by edam
updated autotols stuff |
16343 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
5
by edam
- updated README |
16344 |
;; |
16345 |
*) |
|
16346 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
16347 |
;; |
|
16348 |
esac |
|
16349 |
done |
|
16350 |
||
16351 |
ac_aux_dir='$ac_aux_dir' |
|
16352 |
xsi_shell='$xsi_shell' |
|
16353 |
lt_shell_append='$lt_shell_append' |
|
16354 |
||
16355 |
# See if we are running on zsh, and set the options which allow our |
|
16356 |
# commands through without removal of \ escapes INIT. |
|
16357 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
16358 |
setopt NO_GLOB_SUBST |
|
16359 |
fi |
|
16360 |
||
16361 |
||
16362 |
PACKAGE='$PACKAGE' |
|
16363 |
VERSION='$VERSION' |
|
16364 |
TIMESTAMP='$TIMESTAMP' |
|
16365 |
RM='$RM' |
|
16366 |
ofile='$ofile' |
|
16367 |
||
16368 |
||
16369 |
||
16370 |
||
16371 |
||
16372 |
||
16373 |
_ACEOF |
|
16374 |
||
16375 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16376 |
||
16377 |
# Handling of arguments. |
|
16378 |
for ac_config_target in $ac_config_targets |
|
16379 |
do |
|
16380 |
case $ac_config_target in |
|
16381 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
16382 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
16383 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
16384 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
16385 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
7
by edam
- removed "OK" from test-main when test is successful |
16386 |
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; |
5
by edam
- updated README |
16387 |
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; |
16388 |
||
19
by edam
updated autotols stuff |
16389 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
5
by edam
- updated README |
16390 |
esac |
16391 |
done |
|
16392 |
||
16393 |
||
16394 |
# If the user did not use the arguments to specify the items to instantiate, |
|
16395 |
# then the envvar interface is used. Set only those that are not. |
|
16396 |
# We use the long form for the default assignment because of an extremely |
|
16397 |
# bizarre bug on SunOS 4.1.3. |
|
16398 |
if $ac_need_defaults; then |
|
16399 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
16400 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
16401 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
16402 |
fi |
|
16403 |
||
16404 |
# Have a temporary directory for convenience. Make it in the build tree |
|
16405 |
# simply because there is no reason against having it here, and in addition, |
|
16406 |
# creating and moving files from /tmp can sometimes cause problems. |
|
16407 |
# Hook for its removal unless debugging. |
|
16408 |
# Note that there is a small window in which the directory will not be cleaned: |
|
16409 |
# after its creation but before its name has been assigned to `$tmp'. |
|
16410 |
$debug || |
|
16411 |
{ |
|
19
by edam
updated autotols stuff |
16412 |
tmp= ac_tmp= |
5
by edam
- updated README |
16413 |
trap 'exit_status=$? |
19
by edam
updated autotols stuff |
16414 |
: "${ac_tmp:=$tmp}" |
16415 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
5
by edam
- updated README |
16416 |
' 0 |
16417 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
16418 |
} |
|
16419 |
# Create a (secure) tmp directory for tmp files. |
|
16420 |
||
16421 |
{ |
|
16422 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
19
by edam
updated autotols stuff |
16423 |
test -d "$tmp" |
5
by edam
- updated README |
16424 |
} || |
16425 |
{ |
|
16426 |
tmp=./conf$$-$RANDOM |
|
16427 |
(umask 077 && mkdir "$tmp") |
|
19
by edam
updated autotols stuff |
16428 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
16429 |
ac_tmp=$tmp |
|
5
by edam
- updated README |
16430 |
|
16431 |
# Set up the scripts for CONFIG_FILES section. |
|
16432 |
# No need to generate them if there are no CONFIG_FILES. |
|
16433 |
# This happens for instance with `./config.status config.h'. |
|
16434 |
if test -n "$CONFIG_FILES"; then |
|
16435 |
||
16436 |
||
16437 |
ac_cr=`echo X | tr X '\015'` |
|
16438 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
16439 |
# But we know of no other shell where ac_cr would be empty at this |
|
16440 |
# point, so we can use a bashism as a fallback. |
|
16441 |
if test "x$ac_cr" = x; then |
|
16442 |
eval ac_cr=\$\'\\r\' |
|
16443 |
fi |
|
16444 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
16445 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
19
by edam
updated autotols stuff |
16446 |
ac_cs_awk_cr='\\r' |
5
by edam
- updated README |
16447 |
else |
16448 |
ac_cs_awk_cr=$ac_cr |
|
16449 |
fi |
|
16450 |
||
19
by edam
updated autotols stuff |
16451 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
5
by edam
- updated README |
16452 |
_ACEOF |
16453 |
||
16454 |
||
16455 |
{ |
|
16456 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
16457 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
16458 |
echo "_ACEOF" |
|
16459 |
} >conf$$subs.sh || |
|
19
by edam
updated autotols stuff |
16460 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16461 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
5
by edam
- updated README |
16462 |
ac_delim='%!_!# ' |
16463 |
for ac_last_try in false false false false false :; do |
|
16464 |
. ./conf$$subs.sh || |
|
19
by edam
updated autotols stuff |
16465 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
5
by edam
- updated README |
16466 |
|
16467 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
16468 |
if test $ac_delim_n = $ac_delim_num; then |
|
16469 |
break |
|
16470 |
elif $ac_last_try; then |
|
19
by edam
updated autotols stuff |
16471 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
5
by edam
- updated README |
16472 |
else |
16473 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
16474 |
fi |
|
16475 |
done |
|
16476 |
rm -f conf$$subs.sh |
|
16477 |
||
16478 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
19
by edam
updated autotols stuff |
16479 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
5
by edam
- updated README |
16480 |
_ACEOF |
16481 |
sed -n ' |
|
16482 |
h |
|
16483 |
s/^/S["/; s/!.*/"]=/ |
|
16484 |
p |
|
16485 |
g |
|
16486 |
s/^[^!]*!// |
|
16487 |
:repl |
|
16488 |
t repl |
|
16489 |
s/'"$ac_delim"'$// |
|
16490 |
t delim |
|
16491 |
:nl |
|
16492 |
h |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
16493 |
s/\(.\{148\}\)..*/\1/ |
5
by edam
- updated README |
16494 |
t more1 |
16495 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
16496 |
p |
|
16497 |
n |
|
16498 |
b repl |
|
16499 |
:more1 |
|
16500 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
16501 |
p |
|
16502 |
g |
|
16503 |
s/.\{148\}// |
|
16504 |
t nl |
|
16505 |
:delim |
|
16506 |
h |
|
16
by edam
- renamed database to connection to better identify what it is (would database_connection be better though?) |
16507 |
s/\(.\{148\}\)..*/\1/ |
5
by edam
- updated README |
16508 |
t more2 |
16509 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
16510 |
p |
|
16511 |
b |
|
16512 |
:more2 |
|
16513 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
16514 |
p |
|
16515 |
g |
|
16516 |
s/.\{148\}// |
|
16517 |
t delim |
|
16518 |
' <conf$$subs.awk | sed ' |
|
16519 |
/^[^""]/{ |
|
16520 |
N |
|
16521 |
s/\n// |
|
16522 |
} |
|
16523 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
16524 |
rm -f conf$$subs.awk |
|
16525 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16526 |
_ACAWK |
|
19
by edam
updated autotols stuff |
16527 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
5
by edam
- updated README |
16528 |
for (key in S) S_is_set[key] = 1 |
16529 |
FS = "" |
|
16530 |
||
16531 |
} |
|
16532 |
{ |
|
16533 |
line = $ 0 |
|
16534 |
nfields = split(line, field, "@") |
|
16535 |
substed = 0 |
|
16536 |
len = length(field[1]) |
|
16537 |
for (i = 2; i < nfields; i++) { |
|
16538 |
key = field[i] |
|
16539 |
keylen = length(key) |
|
16540 |
if (S_is_set[key]) { |
|
16541 |
value = S[key] |
|
16542 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
16543 |
len += length(value) + length(field[++i]) |
|
16544 |
substed = 1 |
|
16545 |
} else |
|
16546 |
len += 1 + keylen |
|
16547 |
} |
|
16548 |
||
16549 |
print line |
|
16550 |
} |
|
16551 |
||
16552 |
_ACAWK |
|
16553 |
_ACEOF |
|
16554 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16555 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
16556 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
16557 |
else |
|
16558 |
cat |
|
19
by edam
updated autotols stuff |
16559 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
16560 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
5
by edam
- updated README |
16561 |
_ACEOF |
16562 |
||
19
by edam
updated autotols stuff |
16563 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
16564 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
5
by edam
- updated README |
16565 |
# trailing colons and then remove the whole line if VPATH becomes empty |
16566 |
# (actually we leave an empty line to preserve line numbers). |
|
16567 |
if test "x$srcdir" = x.; then |
|
19
by edam
updated autotols stuff |
16568 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
16569 |
h |
|
16570 |
s/// |
|
16571 |
s/^/:/ |
|
16572 |
s/[ ]*$/:/ |
|
16573 |
s/:\$(srcdir):/:/g |
|
16574 |
s/:\${srcdir}:/:/g |
|
16575 |
s/:@srcdir@:/:/g |
|
16576 |
s/^:*// |
|
5
by edam
- updated README |
16577 |
s/:*$// |
19
by edam
updated autotols stuff |
16578 |
x |
16579 |
s/\(=[ ]*\).*/\1/ |
|
16580 |
G |
|
16581 |
s/\n// |
|
5
by edam
- updated README |
16582 |
s/^[^=]*=[ ]*$// |
16583 |
}' |
|
16584 |
fi |
|
16585 |
||
16586 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16587 |
fi # test -n "$CONFIG_FILES" |
|
16588 |
||
16589 |
# Set up the scripts for CONFIG_HEADERS section. |
|
16590 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
16591 |
# This happens for instance with `./config.status Makefile'. |
|
16592 |
if test -n "$CONFIG_HEADERS"; then |
|
19
by edam
updated autotols stuff |
16593 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
5
by edam
- updated README |
16594 |
BEGIN { |
16595 |
_ACEOF |
|
16596 |
||
16597 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
16598 |
# here-document in config.status, that substitutes the proper values into |
|
16599 |
# config.h.in to produce config.h. |
|
16600 |
||
16601 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
16602 |
# handling of long lines. |
|
16603 |
ac_delim='%!_!# ' |
|
16604 |
for ac_last_try in false false :; do |
|
19
by edam
updated autotols stuff |
16605 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
16606 |
if test -z "$ac_tt"; then |
|
5
by edam
- updated README |
16607 |
break |
16608 |
elif $ac_last_try; then |
|
19
by edam
updated autotols stuff |
16609 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5
by edam
- updated README |
16610 |
else |
16611 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
16612 |
fi |
|
16613 |
done |
|
16614 |
||
16615 |
# For the awk script, D is an array of macro values keyed by name, |
|
16616 |
# likewise P contains macro parameters if any. Preserve backslash |
|
16617 |
# newline sequences. |
|
16618 |
||
16619 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
16620 |
sed -n ' |
|
16621 |
s/.\{148\}/&'"$ac_delim"'/g |
|
16622 |
t rset |
|
16623 |
:rset |
|
16624 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
16625 |
t def |
|
16626 |
d |
|
16627 |
:def |
|
16628 |
s/\\$// |
|
16629 |
t bsnl |
|
16630 |
s/["\\]/\\&/g |
|
16631 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
16632 |
D["\1"]=" \3"/p |
|
16633 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
16634 |
d |
|
16635 |
:bsnl |
|
16636 |
s/["\\]/\\&/g |
|
16637 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
16638 |
D["\1"]=" \3\\\\\\n"\\/p |
|
16639 |
t cont |
|
16640 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
16641 |
t cont |
|
16642 |
d |
|
16643 |
:cont |
|
16644 |
n |
|
16645 |
s/.\{148\}/&'"$ac_delim"'/g |
|
16646 |
t clear |
|
16647 |
:clear |
|
16648 |
s/\\$// |
|
16649 |
t bsnlc |
|
16650 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
16651 |
d |
|
16652 |
:bsnlc |
|
16653 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
16654 |
b cont |
|
16655 |
' <confdefs.h | sed ' |
|
16656 |
s/'"$ac_delim"'/"\\\ |
|
16657 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
16658 |
||
16659 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16660 |
for (key in D) D_is_set[key] = 1 |
|
16661 |
FS = "" |
|
16662 |
} |
|
16663 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
16664 |
line = \$ 0 |
|
16665 |
split(line, arg, " ") |
|
16666 |
if (arg[1] == "#") { |
|
16667 |
defundef = arg[2] |
|
16668 |
mac1 = arg[3] |
|
16669 |
} else { |
|
16670 |
defundef = substr(arg[1], 2) |
|
16671 |
mac1 = arg[2] |
|
16672 |
} |
|
16673 |
split(mac1, mac2, "(") #) |
|
16674 |
macro = mac2[1] |
|
16675 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
16676 |
if (D_is_set[macro]) { |
|
16677 |
# Preserve the white space surrounding the "#". |
|
16678 |
print prefix "define", macro P[macro] D[macro] |
|
16679 |
next |
|
16680 |
} else { |
|
16681 |
# Replace #undef with comments. This is necessary, for example, |
|
16682 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
16683 |
# on some systems where configure will not decide to define it. |
|
16684 |
if (defundef == "undef") { |
|
16685 |
print "/*", prefix defundef, macro, "*/" |
|
16686 |
next |
|
16687 |
} |
|
16688 |
} |
|
16689 |
} |
|
16690 |
{ print } |
|
16691 |
_ACAWK |
|
16692 |
_ACEOF |
|
16693 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
19
by edam
updated autotols stuff |
16694 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
5
by edam
- updated README |
16695 |
fi # test -n "$CONFIG_HEADERS" |
16696 |
||
16697 |
||
16698 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
16699 |
shift |
|
16700 |
for ac_tag |
|
16701 |
do |
|
16702 |
case $ac_tag in |
|
16703 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
16704 |
esac |
|
16705 |
case $ac_mode$ac_tag in |
|
16706 |
:[FHL]*:*);; |
|
19
by edam
updated autotols stuff |
16707 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
5
by edam
- updated README |
16708 |
:[FH]-) ac_tag=-:-;; |
16709 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
16710 |
esac |
|
16711 |
ac_save_IFS=$IFS |
|
16712 |
IFS=: |
|
16713 |
set x $ac_tag |
|
16714 |
IFS=$ac_save_IFS |
|
16715 |
shift |
|
16716 |
ac_file=$1 |
|
16717 |
shift |
|
16718 |
||
16719 |
case $ac_mode in |
|
16720 |
:L) ac_source=$1;; |
|
16721 |
:[FH]) |
|
16722 |
ac_file_inputs= |
|
16723 |
for ac_f |
|
16724 |
do |
|
16725 |
case $ac_f in |
|
19
by edam
updated autotols stuff |
16726 |
-) ac_f="$ac_tmp/stdin";; |
5
by edam
- updated README |
16727 |
*) # Look for the file first in the build tree, then in the source tree |
16728 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
16729 |
# because $ac_f cannot contain `:'. |
|
16730 |
test -f "$ac_f" || |
|
16731 |
case $ac_f in |
|
16732 |
[\\/$]*) false;; |
|
16733 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
16734 |
esac || |
|
19
by edam
updated autotols stuff |
16735 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
5
by edam
- updated README |
16736 |
esac |
16737 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
16738 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
16739 |
done |
|
16740 |
||
16741 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
16742 |
# use $as_me), people would be surprised to read: |
|
16743 |
# /* config.h. Generated by config.status. */ |
|
16744 |
configure_input='Generated from '` |
|
16745 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
16746 |
`' by configure.' |
|
16747 |
if test x"$ac_file" != x-; then |
|
16748 |
configure_input="$ac_file. $configure_input" |
|
16749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
16750 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
16751 |
fi |
|
16752 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
16753 |
case $configure_input in #( |
|
16754 |
*\&* | *\|* | *\\* ) |
|
16755 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
16756 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
16757 |
*) ac_sed_conf_input=$configure_input;; |
|
16758 |
esac |
|
16759 |
||
16760 |
case $ac_tag in |
|
19
by edam
updated autotols stuff |
16761 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16762 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
5
by edam
- updated README |
16763 |
esac |
16764 |
;; |
|
16765 |
esac |
|
16766 |
||
16767 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
16768 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
16769 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
16770 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
16771 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
16772 |
$as_echo X"$ac_file" | |
|
16773 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
16774 |
s//\1/ |
|
16775 |
q |
|
16776 |
} |
|
16777 |
/^X\(\/\/\)[^/].*/{ |
|
16778 |
s//\1/ |
|
16779 |
q |
|
16780 |
} |
|
16781 |
/^X\(\/\/\)$/{ |
|
16782 |
s//\1/ |
|
16783 |
q |
|
16784 |
} |
|
16785 |
/^X\(\/\).*/{ |
|
16786 |
s//\1/ |
|
16787 |
q |
|
16788 |
} |
|
16789 |
s/.*/./; q'` |
|
16790 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
16791 |
ac_builddir=. |
|
16792 |
||
16793 |
case "$ac_dir" in |
|
16794 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
16795 |
*) |
|
16796 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
16797 |
# A ".." for each directory in $ac_dir_suffix. |
|
16798 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
16799 |
case $ac_top_builddir_sub in |
|
16800 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
16801 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
16802 |
esac ;; |
|
16803 |
esac |
|
16804 |
ac_abs_top_builddir=$ac_pwd |
|
16805 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
16806 |
# for backward compatibility: |
|
16807 |
ac_top_builddir=$ac_top_build_prefix |
|
16808 |
||
16809 |
case $srcdir in |
|
16810 |
.) # We are building in place. |
|
16811 |
ac_srcdir=. |
|
16812 |
ac_top_srcdir=$ac_top_builddir_sub |
|
16813 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
16814 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
16815 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
16816 |
ac_top_srcdir=$srcdir |
|
16817 |
ac_abs_top_srcdir=$srcdir ;; |
|
16818 |
*) # Relative name. |
|
16819 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
16820 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
16821 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
16822 |
esac |
|
16823 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
16824 |
||
16825 |
||
16826 |
case $ac_mode in |
|
16827 |
:F) |
|
16828 |
# |
|
16829 |
# CONFIG_FILE |
|
16830 |
# |
|
16831 |
||
16832 |
case $INSTALL in |
|
16833 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
16834 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
16835 |
esac |
|
16836 |
ac_MKDIR_P=$MKDIR_P |
|
16837 |
case $MKDIR_P in |
|
16838 |
[\\/$]* | ?:[\\/]* ) ;; |
|
16839 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
16840 |
esac |
|
16841 |
_ACEOF |
|
16842 |
||
16843 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16844 |
# If the template does not know about datarootdir, expand it. |
|
16845 |
# FIXME: This hack should be removed a few years after 2.60. |
|
16846 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
16847 |
ac_sed_dataroot=' |
|
16848 |
/datarootdir/ { |
|
16849 |
p |
|
16850 |
q |
|
16851 |
} |
|
16852 |
/@datadir@/p |
|
16853 |
/@docdir@/p |
|
16854 |
/@infodir@/p |
|
16855 |
/@localedir@/p |
|
16856 |
/@mandir@/p' |
|
16857 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
16858 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
16859 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
16860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
16861 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
16862 |
_ACEOF |
|
16863 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16864 |
ac_datarootdir_hack=' |
|
16865 |
s&@datadir@&$datadir&g |
|
16866 |
s&@docdir@&$docdir&g |
|
16867 |
s&@infodir@&$infodir&g |
|
16868 |
s&@localedir@&$localedir&g |
|
16869 |
s&@mandir@&$mandir&g |
|
16870 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
16871 |
esac |
|
16872 |
_ACEOF |
|
16873 |
||
16874 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
16875 |
# Shell code in configure.ac might set extrasub. |
|
16876 |
# FIXME: do we really want to maintain this feature? |
|
16877 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
16878 |
ac_sed_extra="$ac_vpsub |
|
16879 |
$extrasub |
|
16880 |
_ACEOF |
|
16881 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
16882 |
:t |
|
16883 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
16884 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
16885 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
16886 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
16887 |
s&@srcdir@&$ac_srcdir&;t t |
|
16888 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
16889 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
16890 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
16891 |
s&@builddir@&$ac_builddir&;t t |
|
16892 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
16893 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
16894 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
16895 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
16896 |
$ac_datarootdir_hack |
|
16897 |
" |
|
19
by edam
updated autotols stuff |
16898 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16899 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5
by edam
- updated README |
16900 |
|
16901 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
19
by edam
updated autotols stuff |
16902 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16903 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
16904 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
5
by edam
- updated README |
16905 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
19
by edam
updated autotols stuff |
16906 |
which seems to be undefined. Please make sure it is defined" >&5 |
5
by edam
- updated README |
16907 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
19
by edam
updated autotols stuff |
16908 |
which seems to be undefined. Please make sure it is defined" >&2;} |
5
by edam
- updated README |
16909 |
|
19
by edam
updated autotols stuff |
16910 |
rm -f "$ac_tmp/stdin" |
5
by edam
- updated README |
16911 |
case $ac_file in |
19
by edam
updated autotols stuff |
16912 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16913 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
5
by edam
- updated README |
16914 |
esac \ |
19
by edam
updated autotols stuff |
16915 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5
by edam
- updated README |
16916 |
;; |
16917 |
:H) |
|
16918 |
# |
|
16919 |
# CONFIG_HEADER |
|
16920 |
# |
|
16921 |
if test x"$ac_file" != x-; then |
|
16922 |
{ |
|
16923 |
$as_echo "/* $configure_input */" \ |
|
19
by edam
updated autotols stuff |
16924 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16925 |
} >"$ac_tmp/config.h" \ |
|
16926 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
16927 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
5
by edam
- updated README |
16928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16929 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
16930 |
else |
|
16931 |
rm -f "$ac_file" |
|
19
by edam
updated autotols stuff |
16932 |
mv "$ac_tmp/config.h" "$ac_file" \ |
16933 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
5
by edam
- updated README |
16934 |
fi |
16935 |
else |
|
16936 |
$as_echo "/* $configure_input */" \ |
|
19
by edam
updated autotols stuff |
16937 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16938 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|
5
by edam
- updated README |
16939 |
fi |
16940 |
# Compute "$ac_file"'s index in $config_headers. |
|
16941 |
_am_arg="$ac_file" |
|
16942 |
_am_stamp_count=1 |
|
16943 |
for _am_header in $config_headers :; do |
|
16944 |
case $_am_header in |
|
16945 |
$_am_arg | $_am_arg:* ) |
|
16946 |
break ;; |
|
16947 |
* ) |
|
16948 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
16949 |
esac |
|
16950 |
done |
|
16951 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
16952 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
16953 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
16954 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
16955 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
16956 |
$as_echo X"$_am_arg" | |
|
16957 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
16958 |
s//\1/ |
|
16959 |
q |
|
16960 |
} |
|
16961 |
/^X\(\/\/\)[^/].*/{ |
|
16962 |
s//\1/ |
|
16963 |
q |
|
16964 |
} |
|
16965 |
/^X\(\/\/\)$/{ |
|
16966 |
s//\1/ |
|
16967 |
q |
|
16968 |
} |
|
16969 |
/^X\(\/\).*/{ |
|
16970 |
s//\1/ |
|
16971 |
q |
|
16972 |
} |
|
16973 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
16974 |
;; |
|
16975 |
||
16976 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
16977 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
16978 |
;; |
|
16979 |
esac |
|
16980 |
||
16981 |
||
16982 |
case $ac_file$ac_mode in |
|
16983 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
16984 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
16985 |
# are listed without --file. Let's play safe and only enable the eval |
|
16986 |
# if we detect the quoting. |
|
16987 |
case $CONFIG_FILES in |
|
16988 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
16989 |
*) set x $CONFIG_FILES ;; |
|
16990 |
esac |
|
16991 |
shift |
|
16992 |
for mf |
|
16993 |
do |
|
16994 |
# Strip MF so we end up with the name of the file. |
|
16995 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
16996 |
# Check whether this is an Automake generated Makefile or not. |
|
16997 |
# We used to match only the files named `Makefile.in', but |
|
16998 |
# some people rename them; so instead we look at the file content. |
|
16999 |
# Grep'ing the first line is not enough: some people post-process |
|
17000 |
# each Makefile.in and add a new line on top of each file to say so. |
|
17001 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
17002 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
17003 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
17004 |
dirpart=`$as_dirname -- "$mf" || |
|
17005 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
17006 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
17007 |
X"$mf" : 'X\(//\)$' \| \ |
|
17008 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
17009 |
$as_echo X"$mf" | |
|
17010 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
17011 |
s//\1/ |
|
17012 |
q |
|
17013 |
} |
|
17014 |
/^X\(\/\/\)[^/].*/{ |
|
17015 |
s//\1/ |
|
17016 |
q |
|
17017 |
} |
|
17018 |
/^X\(\/\/\)$/{ |
|
17019 |
s//\1/ |
|
17020 |
q |
|
17021 |
} |
|
17022 |
/^X\(\/\).*/{ |
|
17023 |
s//\1/ |
|
17024 |
q |
|
17025 |
} |
|
17026 |
s/.*/./; q'` |
|
17027 |
else |
|
17028 |
continue |
|
17029 |
fi |
|
17030 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
17031 |
# from the Makefile without running `make'. |
|
17032 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
17033 |
test -z "$DEPDIR" && continue |
|
17034 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
17035 |
test -z "am__include" && continue |
|
17036 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
17037 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
17038 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
17039 |
# Find all dependency output files, they are included files with |
|
17040 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
17041 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
17042 |
# expansion. |
|
17043 |
for file in `sed -n " |
|
17044 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
17045 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
17046 |
# Make sure the directory exists. |
|
17047 |
test -f "$dirpart/$file" && continue |
|
17048 |
fdir=`$as_dirname -- "$file" || |
|
17049 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
17050 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
17051 |
X"$file" : 'X\(//\)$' \| \ |
|
17052 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
17053 |
$as_echo X"$file" | |
|
17054 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
17055 |
s//\1/ |
|
17056 |
q |
|
17057 |
} |
|
17058 |
/^X\(\/\/\)[^/].*/{ |
|
17059 |
s//\1/ |
|
17060 |
q |
|
17061 |
} |
|
17062 |
/^X\(\/\/\)$/{ |
|
17063 |
s//\1/ |
|
17064 |
q |
|
17065 |
} |
|
17066 |
/^X\(\/\).*/{ |
|
17067 |
s//\1/ |
|
17068 |
q |
|
17069 |
} |
|
17070 |
s/.*/./; q'` |
|
17071 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
17072 |
# echo "creating $dirpart/$file" |
|
17073 |
echo '# dummy' > "$dirpart/$file" |
|
17074 |
done |
|
17075 |
done |
|
17076 |
} |
|
17077 |
;; |
|
17078 |
"libtool":C) |
|
17079 |
||
17080 |
# See if we are running on zsh, and set the options which allow our |
|
17081 |
# commands through without removal of \ escapes. |
|
17082 |
if test -n "${ZSH_VERSION+set}" ; then |
|
17083 |
setopt NO_GLOB_SUBST |
|
17084 |
fi |
|
17085 |
||
17086 |
cfgfile="${ofile}T" |
|
17087 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
17088 |
$RM "$cfgfile" |
|
17089 |
||
17090 |
cat <<_LT_EOF >> "$cfgfile" |
|
17091 |
#! $SHELL |
|
17092 |
||
17093 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
17094 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
17095 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
17096 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
17097 |
# |
|
17098 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
19
by edam
updated autotols stuff |
17099 |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
17100 |
# Foundation, Inc. |
|
5
by edam
- updated README |
17101 |
# Written by Gordon Matzigkeit, 1996 |
17102 |
# |
|
17103 |
# This file is part of GNU Libtool. |
|
17104 |
# |
|
17105 |
# GNU Libtool is free software; you can redistribute it and/or |
|
17106 |
# modify it under the terms of the GNU General Public License as |
|
17107 |
# published by the Free Software Foundation; either version 2 of |
|
17108 |
# the License, or (at your option) any later version. |
|
17109 |
# |
|
17110 |
# As a special exception to the GNU General Public License, |
|
17111 |
# if you distribute this file as part of a program or library that |
|
17112 |
# is built using GNU Libtool, you may include this file under the |
|
17113 |
# same distribution terms that you use for the rest of that program. |
|
17114 |
# |
|
17115 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
17116 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17117 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17118 |
# GNU General Public License for more details. |
|
17119 |
# |
|
17120 |
# You should have received a copy of the GNU General Public License |
|
17121 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
17122 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
17123 |
# obtained by writing to the Free Software Foundation, Inc., |
|
17124 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17125 |
||
17126 |
||
17127 |
# The names of the tagged configurations supported by this script. |
|
17128 |
available_tags="CXX " |
|
17129 |
||
17130 |
# ### BEGIN LIBTOOL CONFIG |
|
17131 |
||
17132 |
# Which release of libtool.m4 was used? |
|
17133 |
macro_version=$macro_version |
|
17134 |
macro_revision=$macro_revision |
|
17135 |
||
17136 |
# Whether or not to build shared libraries. |
|
17137 |
build_libtool_libs=$enable_shared |
|
17138 |
||
17139 |
# Whether or not to build static libraries. |
|
17140 |
build_old_libs=$enable_static |
|
17141 |
||
17142 |
# What type of objects to build. |
|
17143 |
pic_mode=$pic_mode |
|
17144 |
||
17145 |
# Whether or not to optimize for fast installation. |
|
17146 |
fast_install=$enable_fast_install |
|
17147 |
||
19
by edam
updated autotols stuff |
17148 |
# Shell to use when invoking shell scripts. |
17149 |
SHELL=$lt_SHELL |
|
17150 |
||
17151 |
# An echo program that protects backslashes. |
|
17152 |
ECHO=$lt_ECHO |
|
17153 |
||
17154 |
# The PATH separator for the build system. |
|
17155 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
17156 |
||
5
by edam
- updated README |
17157 |
# The host system. |
17158 |
host_alias=$host_alias |
|
17159 |
host=$host |
|
17160 |
host_os=$host_os |
|
17161 |
||
17162 |
# The build system. |
|
17163 |
build_alias=$build_alias |
|
17164 |
build=$build |
|
17165 |
build_os=$build_os |
|
17166 |
||
17167 |
# A sed program that does not truncate output. |
|
17168 |
SED=$lt_SED |
|
17169 |
||
17170 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
17171 |
Xsed="\$SED -e 1s/^X//" |
|
17172 |
||
17173 |
# A grep program that handles long lines. |
|
17174 |
GREP=$lt_GREP |
|
17175 |
||
17176 |
# An ERE matcher. |
|
17177 |
EGREP=$lt_EGREP |
|
17178 |
||
17179 |
# A literal string matcher. |
|
17180 |
FGREP=$lt_FGREP |
|
17181 |
||
17182 |
# A BSD- or MS-compatible name lister. |
|
17183 |
NM=$lt_NM |
|
17184 |
||
17185 |
# Whether we need soft or hard links. |
|
17186 |
LN_S=$lt_LN_S |
|
17187 |
||
17188 |
# What is the maximum length of a command? |
|
17189 |
max_cmd_len=$max_cmd_len |
|
17190 |
||
17191 |
# Object file suffix (normally "o"). |
|
17192 |
objext=$ac_objext |
|
17193 |
||
17194 |
# Executable file suffix (normally ""). |
|
17195 |
exeext=$exeext |
|
17196 |
||
17197 |
# whether the shell understands "unset". |
|
17198 |
lt_unset=$lt_unset |
|
17199 |
||
17200 |
# turn spaces into newlines. |
|
17201 |
SP2NL=$lt_lt_SP2NL |
|
17202 |
||
17203 |
# turn newlines into spaces. |
|
17204 |
NL2SP=$lt_lt_NL2SP |
|
17205 |
||
19
by edam
updated autotols stuff |
17206 |
# convert \$build file names to \$host format. |
17207 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
17208 |
||
17209 |
# convert \$build files to toolchain format. |
|
17210 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
5
by edam
- updated README |
17211 |
|
17212 |
# An object symbol dumper. |
|
17213 |
OBJDUMP=$lt_OBJDUMP |
|
17214 |
||
17215 |
# Method to check whether dependent libraries are shared objects. |
|
17216 |
deplibs_check_method=$lt_deplibs_check_method |
|
17217 |
||
19
by edam
updated autotols stuff |
17218 |
# Command to use when deplibs_check_method = "file_magic". |
5
by edam
- updated README |
17219 |
file_magic_cmd=$lt_file_magic_cmd |
17220 |
||
19
by edam
updated autotols stuff |
17221 |
# How to find potential files when deplibs_check_method = "file_magic". |
17222 |
file_magic_glob=$lt_file_magic_glob |
|
17223 |
||
17224 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
17225 |
want_nocaseglob=$lt_want_nocaseglob |
|
17226 |
||
17227 |
# DLL creation program. |
|
17228 |
DLLTOOL=$lt_DLLTOOL |
|
17229 |
||
17230 |
# Command to associate shared and link libraries. |
|
17231 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
17232 |
||
5
by edam
- updated README |
17233 |
# The archiver. |
17234 |
AR=$lt_AR |
|
19
by edam
updated autotols stuff |
17235 |
|
17236 |
# Flags to create an archive. |
|
5
by edam
- updated README |
17237 |
AR_FLAGS=$lt_AR_FLAGS |
17238 |
||
19
by edam
updated autotols stuff |
17239 |
# How to feed a file listing to the archiver. |
17240 |
archiver_list_spec=$lt_archiver_list_spec |
|
17241 |
||
5
by edam
- updated README |
17242 |
# A symbol stripping program. |
17243 |
STRIP=$lt_STRIP |
|
17244 |
||
17245 |
# Commands used to install an old-style archive. |
|
17246 |
RANLIB=$lt_RANLIB |
|
17247 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
17248 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
17249 |
||
19
by edam
updated autotols stuff |
17250 |
# Whether to use a lock for old archive extraction. |
17251 |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
17252 |
||
5
by edam
- updated README |
17253 |
# A C compiler. |
17254 |
LTCC=$lt_CC |
|
17255 |
||
17256 |
# LTCC compiler flags. |
|
17257 |
LTCFLAGS=$lt_CFLAGS |
|
17258 |
||
17259 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
17260 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
17261 |
||
17262 |
# Transform the output of nm in a proper C declaration. |
|
17263 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
17264 |
||
17265 |
# Transform the output of nm in a C name address pair. |
|
17266 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
17267 |
||
17268 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
17269 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
17270 |
||
19
by edam
updated autotols stuff |
17271 |
# Specify filename containing input files for \$NM. |
17272 |
nm_file_list_spec=$lt_nm_file_list_spec |
|
17273 |
||
17274 |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
17275 |
lt_sysroot=$lt_sysroot |
|
17276 |
||
5
by edam
- updated README |
17277 |
# The name of the directory that contains temporary libtool files. |
17278 |
objdir=$objdir |
|
17279 |
||
17280 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
17281 |
MAGIC_CMD=$MAGIC_CMD |
|
17282 |
||
17283 |
# Must we lock files when doing compilation? |
|
17284 |
need_locks=$lt_need_locks |
|
17285 |
||
19
by edam
updated autotols stuff |
17286 |
# Manifest tool. |
17287 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
17288 |
||
5
by edam
- updated README |
17289 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
17290 |
DSYMUTIL=$lt_DSYMUTIL |
|
17291 |
||
17292 |
# Tool to change global to local symbols on Mac OS X. |
|
17293 |
NMEDIT=$lt_NMEDIT |
|
17294 |
||
17295 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
17296 |
LIPO=$lt_LIPO |
|
17297 |
||
17298 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
17299 |
OTOOL=$lt_OTOOL |
|
17300 |
||
17301 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
17302 |
OTOOL64=$lt_OTOOL64 |
|
17303 |
||
17304 |
# Old archive suffix (normally "a"). |
|
17305 |
libext=$libext |
|
17306 |
||
17307 |
# Shared library suffix (normally ".so"). |
|
17308 |
shrext_cmds=$lt_shrext_cmds |
|
17309 |
||
17310 |
# The commands to extract the exported symbol list from a shared archive. |
|
17311 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
17312 |
||
17313 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
17314 |
# restored at link time. |
|
17315 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
17316 |
||
17317 |
# Do we need the "lib" prefix for modules? |
|
17318 |
need_lib_prefix=$need_lib_prefix |
|
17319 |
||
17320 |
# Do we need a version for libraries? |
|
17321 |
need_version=$need_version |
|
17322 |
||
17323 |
# Library versioning type. |
|
17324 |
version_type=$version_type |
|
17325 |
||
17326 |
# Shared library runtime path variable. |
|
17327 |
runpath_var=$runpath_var |
|
17328 |
||
17329 |
# Shared library path variable. |
|
17330 |
shlibpath_var=$shlibpath_var |
|
17331 |
||
17332 |
# Is shlibpath searched before the hard-coded library search path? |
|
17333 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
17334 |
||
17335 |
# Format of library name prefix. |
|
17336 |
libname_spec=$lt_libname_spec |
|
17337 |
||
17338 |
# List of archive names. First name is the real one, the rest are links. |
|
17339 |
# The last name is the one that the linker finds with -lNAME |
|
17340 |
library_names_spec=$lt_library_names_spec |
|
17341 |
||
17342 |
# The coded name of the library, if different from the real name. |
|
17343 |
soname_spec=$lt_soname_spec |
|
17344 |
||
19
by edam
updated autotols stuff |
17345 |
# Permission mode override for installation of shared libraries. |
17346 |
install_override_mode=$lt_install_override_mode |
|
17347 |
||
5
by edam
- updated README |
17348 |
# Command to use after installation of a shared archive. |
17349 |
postinstall_cmds=$lt_postinstall_cmds |
|
17350 |
||
17351 |
# Command to use after uninstallation of a shared archive. |
|
17352 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
17353 |
||
17354 |
# Commands used to finish a libtool library installation in a directory. |
|
17355 |
finish_cmds=$lt_finish_cmds |
|
17356 |
||
17357 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
17358 |
# not shown. |
|
17359 |
finish_eval=$lt_finish_eval |
|
17360 |
||
17361 |
# Whether we should hardcode library paths into libraries. |
|
17362 |
hardcode_into_libs=$hardcode_into_libs |
|
17363 |
||
17364 |
# Compile-time system search path for libraries. |
|
17365 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
17366 |
||
17367 |
# Run-time system search path for libraries. |
|
17368 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
17369 |
||
17370 |
# Whether dlopen is supported. |
|
17371 |
dlopen_support=$enable_dlopen |
|
17372 |
||
17373 |
# Whether dlopen of programs is supported. |
|
17374 |
dlopen_self=$enable_dlopen_self |
|
17375 |
||
17376 |
# Whether dlopen of statically linked programs is supported. |
|
17377 |
dlopen_self_static=$enable_dlopen_self_static |
|
17378 |
||
17379 |
# Commands to strip libraries. |
|
17380 |
old_striplib=$lt_old_striplib |
|
17381 |
striplib=$lt_striplib |
|
17382 |
||
17383 |
||
17384 |
# The linker used to build libraries. |
|
17385 |
LD=$lt_LD |
|
17386 |
||
19
by edam
updated autotols stuff |
17387 |
# How to create reloadable object files. |
17388 |
reload_flag=$lt_reload_flag |
|
17389 |
reload_cmds=$lt_reload_cmds |
|
17390 |
||
5
by edam
- updated README |
17391 |
# Commands used to build an old-style archive. |
17392 |
old_archive_cmds=$lt_old_archive_cmds |
|
17393 |
||
17394 |
# A language specific compiler. |
|
17395 |
CC=$lt_compiler |
|
17396 |
||
17397 |
# Is the compiler the GNU compiler? |
|
17398 |
with_gcc=$GCC |
|
17399 |
||
17400 |
# Compiler flag to turn off builtin functions. |
|
17401 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
17402 |
||
19
by edam
updated autotols stuff |
17403 |
# Additional compiler flags for building library objects. |
17404 |
pic_flag=$lt_lt_prog_compiler_pic |
|
17405 |
||
5
by edam
- updated README |
17406 |
# How to pass a linker flag through the compiler. |
17407 |
wl=$lt_lt_prog_compiler_wl |
|
17408 |
||
17409 |
# Compiler flag to prevent dynamic linking. |
|
17410 |
link_static_flag=$lt_lt_prog_compiler_static |
|
17411 |
||
17412 |
# Does compiler simultaneously support -c and -o options? |
|
17413 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
17414 |
||
17415 |
# Whether or not to add -lc for building shared libraries. |
|
17416 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
17417 |
||
17418 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
17419 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
17420 |
||
17421 |
# Compiler flag to allow reflexive dlopens. |
|
17422 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
17423 |
||
17424 |
# Compiler flag to generate shared objects directly from archives. |
|
17425 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
17426 |
||
17427 |
# Whether the compiler copes with passing no objects directly. |
|
17428 |
compiler_needs_object=$lt_compiler_needs_object |
|
17429 |
||
17430 |
# Create an old-style archive from a shared archive. |
|
17431 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
17432 |
||
17433 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
17434 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
17435 |
||
17436 |
# Commands used to build a shared archive. |
|
17437 |
archive_cmds=$lt_archive_cmds |
|
17438 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
17439 |
||
17440 |
# Commands used to build a loadable module if different from building |
|
17441 |
# a shared archive. |
|
17442 |
module_cmds=$lt_module_cmds |
|
17443 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
17444 |
||
17445 |
# Whether we are building with GNU ld or not. |
|
17446 |
with_gnu_ld=$lt_with_gnu_ld |
|
17447 |
||
17448 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
17449 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
17450 |
||
17451 |
# Flag that enforces no undefined symbols. |
|
17452 |
no_undefined_flag=$lt_no_undefined_flag |
|
17453 |
||
17454 |
# Flag to hardcode \$libdir into a binary during linking. |
|
17455 |
# This must work even if \$libdir does not exist |
|
17456 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
17457 |
||
17458 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
17459 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
17460 |
||
17461 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17462 |
# DIR into the resulting binary. |
|
17463 |
hardcode_direct=$hardcode_direct |
|
17464 |
||
17465 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17466 |
# DIR into the resulting binary and the resulting library dependency is |
|
17467 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
17468 |
# library is relocated. |
|
17469 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
17470 |
||
17471 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
17472 |
# into the resulting binary. |
|
17473 |
hardcode_minus_L=$hardcode_minus_L |
|
17474 |
||
17475 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
17476 |
# into the resulting binary. |
|
17477 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
17478 |
||
17479 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
17480 |
# into the library and all subsequent libraries and executables linked |
|
17481 |
# against it. |
|
17482 |
hardcode_automatic=$hardcode_automatic |
|
17483 |
||
17484 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
17485 |
# to runtime path list. |
|
17486 |
inherit_rpath=$inherit_rpath |
|
17487 |
||
17488 |
# Whether libtool must link a program against all its dependency libraries. |
|
17489 |
link_all_deplibs=$link_all_deplibs |
|
17490 |
||
17491 |
# Set to "yes" if exported symbols are required. |
|
17492 |
always_export_symbols=$always_export_symbols |
|
17493 |
||
17494 |
# The commands to list exported symbols. |
|
17495 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
17496 |
||
17497 |
# Symbols that should not be listed in the preloaded symbols. |
|
17498 |
exclude_expsyms=$lt_exclude_expsyms |
|
17499 |
||
17500 |
# Symbols that must always be exported. |
|
17501 |
include_expsyms=$lt_include_expsyms |
|
17502 |
||
17503 |
# Commands necessary for linking programs (against libraries) with templates. |
|
17504 |
prelink_cmds=$lt_prelink_cmds |
|
17505 |
||
19
by edam
updated autotols stuff |
17506 |
# Commands necessary for finishing linking programs. |
17507 |
postlink_cmds=$lt_postlink_cmds |
|
17508 |
||
5
by edam
- updated README |
17509 |
# Specify filename containing input files. |
17510 |
file_list_spec=$lt_file_list_spec |
|
17511 |
||
17512 |
# How to hardcode a shared library path into an executable. |
|
17513 |
hardcode_action=$hardcode_action |
|
17514 |
||
17515 |
# The directories searched by this compiler when creating a shared library. |
|
17516 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
17517 |
||
17518 |
# Dependencies to place before and after the objects being linked to |
|
17519 |
# create a shared library. |
|
17520 |
predep_objects=$lt_predep_objects |
|
17521 |
postdep_objects=$lt_postdep_objects |
|
17522 |
predeps=$lt_predeps |
|
17523 |
postdeps=$lt_postdeps |
|
17524 |
||
17525 |
# The library search path used internally by the compiler when linking |
|
17526 |
# a shared library. |
|
17527 |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
17528 |
||
17529 |
# ### END LIBTOOL CONFIG |
|
17530 |
||
17531 |
_LT_EOF |
|
17532 |
||
17533 |
case $host_os in |
|
17534 |
aix3*) |
|
17535 |
cat <<\_LT_EOF >> "$cfgfile" |
|
17536 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
17537 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
17538 |
# vanish in a puff of smoke. |
|
17539 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
17540 |
COLLECT_NAMES= |
|
17541 |
export COLLECT_NAMES |
|
17542 |
fi |
|
17543 |
_LT_EOF |
|
17544 |
;; |
|
17545 |
esac |
|
17546 |
||
17547 |
||
17548 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
17549 |
||
17550 |
||
17551 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
17552 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
17553 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
17554 |
# is reportedly fixed, but why not run on old versions too? |
|
19
by edam
updated autotols stuff |
17555 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
17556 |
|| (rm -f "$cfgfile"; exit 1) |
|
17557 |
||
17558 |
if test x"$xsi_shell" = xyes; then |
|
17559 |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
|
17560 |
func_dirname ()\ |
|
17561 |
{\ |
|
17562 |
\ case ${1} in\ |
|
17563 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
17564 |
\ * ) func_dirname_result="${3}" ;;\ |
|
17565 |
\ esac\ |
|
17566 |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17567 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17568 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17569 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17570 |
||
17571 |
||
17572 |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
|
17573 |
func_basename ()\ |
|
17574 |
{\ |
|
17575 |
\ func_basename_result="${1##*/}"\ |
|
17576 |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17577 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17578 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17579 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17580 |
||
17581 |
||
17582 |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
|
17583 |
func_dirname_and_basename ()\ |
|
17584 |
{\ |
|
17585 |
\ case ${1} in\ |
|
17586 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
17587 |
\ * ) func_dirname_result="${3}" ;;\ |
|
17588 |
\ esac\ |
|
17589 |
\ func_basename_result="${1##*/}"\ |
|
17590 |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17591 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17592 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17593 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17594 |
||
17595 |
||
17596 |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
|
17597 |
func_stripname ()\ |
|
17598 |
{\ |
|
17599 |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
|
17600 |
\ # positional parameters, so assign one to ordinary parameter first.\ |
|
17601 |
\ func_stripname_result=${3}\ |
|
17602 |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
|
17603 |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
|
17604 |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17605 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17606 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17607 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17608 |
||
17609 |
||
17610 |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
|
17611 |
func_split_long_opt ()\ |
|
17612 |
{\ |
|
17613 |
\ func_split_long_opt_name=${1%%=*}\ |
|
17614 |
\ func_split_long_opt_arg=${1#*=}\ |
|
17615 |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17616 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17617 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17618 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17619 |
||
17620 |
||
17621 |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
|
17622 |
func_split_short_opt ()\ |
|
17623 |
{\ |
|
17624 |
\ func_split_short_opt_arg=${1#??}\ |
|
17625 |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
|
17626 |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17627 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17628 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17629 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17630 |
||
17631 |
||
17632 |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
|
17633 |
func_lo2o ()\ |
|
17634 |
{\ |
|
17635 |
\ case ${1} in\ |
|
17636 |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
|
17637 |
\ *) func_lo2o_result=${1} ;;\ |
|
17638 |
\ esac\ |
|
17639 |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17640 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17641 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17642 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17643 |
||
17644 |
||
17645 |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
|
17646 |
func_xform ()\ |
|
17647 |
{\ |
|
17648 |
func_xform_result=${1%.*}.lo\ |
|
17649 |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17650 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17651 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17652 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17653 |
||
17654 |
||
17655 |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
|
17656 |
func_arith ()\ |
|
17657 |
{\ |
|
17658 |
func_arith_result=$(( $* ))\ |
|
17659 |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17660 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17661 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17662 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17663 |
||
17664 |
||
17665 |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
|
17666 |
func_len ()\ |
|
17667 |
{\ |
|
17668 |
func_len_result=${#1}\ |
|
17669 |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17670 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17671 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17672 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17673 |
||
17674 |
fi |
|
17675 |
||
17676 |
if test x"$lt_shell_append" = xyes; then |
|
17677 |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
|
17678 |
func_append ()\ |
|
17679 |
{\ |
|
17680 |
eval "${1}+=\\${2}"\ |
|
17681 |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17682 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17683 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17684 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17685 |
||
17686 |
||
17687 |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
|
17688 |
func_append_quoted ()\ |
|
17689 |
{\ |
|
17690 |
\ func_quote_for_eval "${2}"\ |
|
17691 |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
|
17692 |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
|
17693 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17694 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17695 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17696 |
||
17697 |
||
17698 |
# Save a `func_append' function call where possible by direct use of '+=' |
|
17699 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
|
17700 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17701 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17702 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17703 |
else |
|
17704 |
# Save a `func_append' function call even when '+=' is not available |
|
17705 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
|
17706 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
17707 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
17708 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
17709 |
fi |
|
17710 |
||
17711 |
if test x"$_lt_function_replace_fail" = x":"; then |
|
17712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
|
17713 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
|
17714 |
fi |
|
17715 |
||
17716 |
||
17717 |
mv -f "$cfgfile" "$ofile" || |
|
5
by edam
- updated README |
17718 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
17719 |
chmod +x "$ofile" |
|
17720 |
||
17721 |
||
17722 |
cat <<_LT_EOF >> "$ofile" |
|
17723 |
||
17724 |
# ### BEGIN LIBTOOL TAG CONFIG: CXX |
|
17725 |
||
17726 |
# The linker used to build libraries. |
|
17727 |
LD=$lt_LD_CXX |
|
17728 |
||
19
by edam
updated autotols stuff |
17729 |
# How to create reloadable object files. |
17730 |
reload_flag=$lt_reload_flag_CXX |
|
17731 |
reload_cmds=$lt_reload_cmds_CXX |
|
17732 |
||
5
by edam
- updated README |
17733 |
# Commands used to build an old-style archive. |
17734 |
old_archive_cmds=$lt_old_archive_cmds_CXX |
|
17735 |
||
17736 |
# A language specific compiler. |
|
17737 |
CC=$lt_compiler_CXX |
|
17738 |
||
17739 |
# Is the compiler the GNU compiler? |
|
17740 |
with_gcc=$GCC_CXX |
|
17741 |
||
17742 |
# Compiler flag to turn off builtin functions. |
|
17743 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
17744 |
||
19
by edam
updated autotols stuff |
17745 |
# Additional compiler flags for building library objects. |
17746 |
pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
17747 |
||
5
by edam
- updated README |
17748 |
# How to pass a linker flag through the compiler. |
17749 |
wl=$lt_lt_prog_compiler_wl_CXX |
|
17750 |
||
17751 |
# Compiler flag to prevent dynamic linking. |
|
17752 |
link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
17753 |
||
17754 |
# Does compiler simultaneously support -c and -o options? |
|
17755 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
17756 |
||
17757 |
# Whether or not to add -lc for building shared libraries. |
|
17758 |
build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
17759 |
||
17760 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
17761 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
17762 |
||
17763 |
# Compiler flag to allow reflexive dlopens. |
|
17764 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
17765 |
||
17766 |
# Compiler flag to generate shared objects directly from archives. |
|
17767 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
17768 |
||
17769 |
# Whether the compiler copes with passing no objects directly. |
|
17770 |
compiler_needs_object=$lt_compiler_needs_object_CXX |
|
17771 |
||
17772 |
# Create an old-style archive from a shared archive. |
|
17773 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
17774 |
||
17775 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
17776 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
17777 |
||
17778 |
# Commands used to build a shared archive. |
|
17779 |
archive_cmds=$lt_archive_cmds_CXX |
|
17780 |
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
17781 |
||
17782 |
# Commands used to build a loadable module if different from building |
|
17783 |
# a shared archive. |
|
17784 |
module_cmds=$lt_module_cmds_CXX |
|
17785 |
module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
17786 |
||
17787 |
# Whether we are building with GNU ld or not. |
|
17788 |
with_gnu_ld=$lt_with_gnu_ld_CXX |
|
17789 |
||
17790 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
17791 |
allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
17792 |
||
17793 |
# Flag that enforces no undefined symbols. |
|
17794 |
no_undefined_flag=$lt_no_undefined_flag_CXX |
|
17795 |
||
17796 |
# Flag to hardcode \$libdir into a binary during linking. |
|
17797 |
# This must work even if \$libdir does not exist |
|
17798 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
17799 |
||
17800 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
17801 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
17802 |
||
17803 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17804 |
# DIR into the resulting binary. |
|
17805 |
hardcode_direct=$hardcode_direct_CXX |
|
17806 |
||
17807 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17808 |
# DIR into the resulting binary and the resulting library dependency is |
|
17809 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
17810 |
# library is relocated. |
|
17811 |
hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
|
17812 |
||
17813 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
17814 |
# into the resulting binary. |
|
17815 |
hardcode_minus_L=$hardcode_minus_L_CXX |
|
17816 |
||
17817 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
17818 |
# into the resulting binary. |
|
17819 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
|
17820 |
||
17821 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
17822 |
# into the library and all subsequent libraries and executables linked |
|
17823 |
# against it. |
|
17824 |
hardcode_automatic=$hardcode_automatic_CXX |
|
17825 |
||
17826 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
17827 |
# to runtime path list. |
|
17828 |
inherit_rpath=$inherit_rpath_CXX |
|
17829 |
||
17830 |
# Whether libtool must link a program against all its dependency libraries. |
|
17831 |
link_all_deplibs=$link_all_deplibs_CXX |
|
17832 |
||
17833 |
# Set to "yes" if exported symbols are required. |
|
17834 |
always_export_symbols=$always_export_symbols_CXX |
|
17835 |
||
17836 |
# The commands to list exported symbols. |
|
17837 |
export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
17838 |
||
17839 |
# Symbols that should not be listed in the preloaded symbols. |
|
17840 |
exclude_expsyms=$lt_exclude_expsyms_CXX |
|
17841 |
||
17842 |
# Symbols that must always be exported. |
|
17843 |
include_expsyms=$lt_include_expsyms_CXX |
|
17844 |
||
17845 |
# Commands necessary for linking programs (against libraries) with templates. |
|
17846 |
prelink_cmds=$lt_prelink_cmds_CXX |
|
17847 |
||
19
by edam
updated autotols stuff |
17848 |
# Commands necessary for finishing linking programs. |
17849 |
postlink_cmds=$lt_postlink_cmds_CXX |
|
17850 |
||
5
by edam
- updated README |
17851 |
# Specify filename containing input files. |
17852 |
file_list_spec=$lt_file_list_spec_CXX |
|
17853 |
||
17854 |
# How to hardcode a shared library path into an executable. |
|
17855 |
hardcode_action=$hardcode_action_CXX |
|
17856 |
||
17857 |
# The directories searched by this compiler when creating a shared library. |
|
17858 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
|
17859 |
||
17860 |
# Dependencies to place before and after the objects being linked to |
|
17861 |
# create a shared library. |
|
17862 |
predep_objects=$lt_predep_objects_CXX |
|
17863 |
postdep_objects=$lt_postdep_objects_CXX |
|
17864 |
predeps=$lt_predeps_CXX |
|
17865 |
postdeps=$lt_postdeps_CXX |
|
17866 |
||
17867 |
# The library search path used internally by the compiler when linking |
|
17868 |
# a shared library. |
|
17869 |
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
17870 |
||
17871 |
# ### END LIBTOOL TAG CONFIG: CXX |
|
17872 |
_LT_EOF |
|
17873 |
||
17874 |
;; |
|
17875 |
||
17876 |
esac |
|
17877 |
done # for ac_tag |
|
17878 |
||
17879 |
||
17880 |
as_fn_exit 0 |
|
17881 |
_ACEOF |
|
17882 |
ac_clean_files=$ac_clean_files_save |
|
17883 |
||
17884 |
test $ac_write_fail = 0 || |
|
19
by edam
updated autotols stuff |
17885 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
5
by edam
- updated README |
17886 |
|
17887 |
||
17888 |
# configure is writing to config.log, and then calls config.status. |
|
17889 |
# config.status does its own redirection, appending to config.log. |
|
17890 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
17891 |
# by configure, so config.status won't be able to write to it; its |
|
17892 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
17893 |
# effectively closing config.log, so it can be properly (re)opened and |
|
17894 |
# appended to by config.status. When coming back to configure, we |
|
17895 |
# need to make the FD available again. |
|
17896 |
if test "$no_create" != yes; then |
|
17897 |
ac_cs_success=: |
|
17898 |
ac_config_status_args= |
|
17899 |
test "$silent" = yes && |
|
17900 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
17901 |
exec 5>/dev/null |
|
17902 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
17903 |
exec 5>>config.log |
|
17904 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
17905 |
# would make configure fail if this is the last instruction. |
|
19
by edam
updated autotols stuff |
17906 |
$ac_cs_success || as_fn_exit 1 |
5
by edam
- updated README |
17907 |
fi |
17908 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
17909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
17910 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
17911 |
fi |
|
17912 |