1
by Andreas Rottmann
Import upstream version 20001213 |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3 |
# Generated by GNU Autoconf 2.68 for blitz 0.10. |
4 |
# |
|
5 |
# Report bugs to <blitz-support@lists.sourceforge.net>. |
|
6 |
# |
|
7 |
# |
|
8 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
9 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
10 |
# Foundation, Inc. |
|
11 |
# |
|
12 |
# |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
13 |
# This configure script is free software; the Free Software Foundation |
14 |
# gives unlimited permission to copy, distribute and modify it. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15 |
## -------------------- ## |
16 |
## M4sh Initialization. ## |
|
17 |
## -------------------- ## |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
18 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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 : |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
22 |
emulate sh |
23 |
NULLCMD=: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
25 |
# is contrary to our usage. Disable this feature. |
26 |
alias -g '${1+"$@"}'='"$@"' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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. |
|
94 |
as_myself= |
|
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 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
126 |
PS1='$ ' |
127 |
PS2='> ' |
|
128 |
PS4='+ ' |
|
129 |
||
130 |
# NLS nuisances. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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 |
|
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 |
|
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 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
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=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
200 |
as_found=: |
201 |
case $as_dir in #( |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
202 |
/*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
216 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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. |
|
228 |
# Preserve -v and -x to the replacement shell. |
|
229 |
BASH_ENV=/dev/null |
|
230 |
ENV=/dev/null |
|
231 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
232 |
export CONFIG_SHELL |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
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+"$@"} |
|
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 |
|
249 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
|
250 |
$0: blitz-support@lists.sourceforge.net about your system, |
|
251 |
$0: including any error possibly output before this |
|
252 |
$0: message. Then install a modern shell, or manually run |
|
253 |
$0: the script under such a shell if you do have one." |
|
254 |
fi |
|
255 |
exit 1 |
|
256 |
fi |
|
257 |
fi |
|
258 |
fi |
|
259 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
260 |
export SHELL |
|
261 |
# Unset more variables known to interfere with behavior of common tools. |
|
262 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
263 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
264 |
||
265 |
## --------------------- ## |
|
266 |
## M4sh Shell Functions. ## |
|
267 |
## --------------------- ## |
|
268 |
# as_fn_unset VAR |
|
269 |
# --------------- |
|
270 |
# Portably unset VAR. |
|
271 |
as_fn_unset () |
|
272 |
{ |
|
273 |
{ eval $1=; unset $1;} |
|
274 |
} |
|
275 |
as_unset=as_fn_unset |
|
276 |
||
277 |
# as_fn_set_status STATUS |
|
278 |
# ----------------------- |
|
279 |
# Set $? to STATUS, without forking. |
|
280 |
as_fn_set_status () |
|
281 |
{ |
|
282 |
return $1 |
|
283 |
} # as_fn_set_status |
|
284 |
||
285 |
# as_fn_exit STATUS |
|
286 |
# ----------------- |
|
287 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
288 |
as_fn_exit () |
|
289 |
{ |
|
290 |
set +e |
|
291 |
as_fn_set_status $1 |
|
292 |
exit $1 |
|
293 |
} # as_fn_exit |
|
294 |
||
295 |
# as_fn_mkdir_p |
|
296 |
# ------------- |
|
297 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
298 |
as_fn_mkdir_p () |
|
299 |
{ |
|
300 |
||
301 |
case $as_dir in #( |
|
302 |
-*) as_dir=./$as_dir;; |
|
303 |
esac |
|
304 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
305 |
as_dirs= |
|
306 |
while :; do |
|
307 |
case $as_dir in #( |
|
308 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
309 |
*) as_qdir=$as_dir;; |
|
310 |
esac |
|
311 |
as_dirs="'$as_qdir' $as_dirs" |
|
312 |
as_dir=`$as_dirname -- "$as_dir" || |
|
313 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
314 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
315 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
316 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
317 |
$as_echo X"$as_dir" | |
|
318 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
319 |
s//\1/ |
|
320 |
q |
|
321 |
} |
|
322 |
/^X\(\/\/\)[^/].*/{ |
|
323 |
s//\1/ |
|
324 |
q |
|
325 |
} |
|
326 |
/^X\(\/\/\)$/{ |
|
327 |
s//\1/ |
|
328 |
q |
|
329 |
} |
|
330 |
/^X\(\/\).*/{ |
|
331 |
s//\1/ |
|
332 |
q |
|
333 |
} |
|
334 |
s/.*/./; q'` |
|
335 |
test -d "$as_dir" && break |
|
336 |
done |
|
337 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
338 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
339 |
||
340 |
||
341 |
} # as_fn_mkdir_p |
|
342 |
# as_fn_append VAR VALUE |
|
343 |
# ---------------------- |
|
344 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
345 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
346 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
347 |
# implementations. |
|
348 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
349 |
eval 'as_fn_append () |
|
350 |
{ |
|
351 |
eval $1+=\$2 |
|
352 |
}' |
|
353 |
else |
|
354 |
as_fn_append () |
|
355 |
{ |
|
356 |
eval $1=\$$1\$2 |
|
357 |
} |
|
358 |
fi # as_fn_append |
|
359 |
||
360 |
# as_fn_arith ARG... |
|
361 |
# ------------------ |
|
362 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
363 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
364 |
# must be portable across $(()) and expr. |
|
365 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
366 |
eval 'as_fn_arith () |
|
367 |
{ |
|
368 |
as_val=$(( $* )) |
|
369 |
}' |
|
370 |
else |
|
371 |
as_fn_arith () |
|
372 |
{ |
|
373 |
as_val=`expr "$@" || test $? -eq 1` |
|
374 |
} |
|
375 |
fi # as_fn_arith |
|
376 |
||
377 |
||
378 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
379 |
# ---------------------------------------- |
|
380 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
381 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
382 |
# script with STATUS, using 1 if that was 0. |
|
383 |
as_fn_error () |
|
384 |
{ |
|
385 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
386 |
if test "$4"; then |
|
387 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
388 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
389 |
fi |
|
390 |
$as_echo "$as_me: error: $2" >&2 |
|
391 |
as_fn_exit $as_status |
|
392 |
} # as_fn_error |
|
393 |
||
394 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
395 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
396 |
as_expr=expr |
|
397 |
else |
|
398 |
as_expr=false |
|
399 |
fi |
|
400 |
||
401 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
402 |
as_basename=basename |
|
403 |
else |
|
404 |
as_basename=false |
|
405 |
fi |
|
406 |
||
407 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
408 |
as_dirname=dirname |
|
409 |
else |
|
410 |
as_dirname=false |
|
411 |
fi |
|
412 |
||
413 |
as_me=`$as_basename -- "$0" || |
|
414 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
415 |
X"$0" : 'X\(//\)$' \| \ |
|
416 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
417 |
$as_echo X/"$0" | |
|
418 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
419 |
s//\1/ |
|
420 |
q |
|
421 |
} |
|
422 |
/^X\/\(\/\/\)$/{ |
|
423 |
s//\1/ |
|
424 |
q |
|
425 |
} |
|
426 |
/^X\/\(\/\).*/{ |
|
427 |
s//\1/ |
|
428 |
q |
|
429 |
} |
|
430 |
s/.*/./; q'` |
|
431 |
||
432 |
# Avoid depending upon Character Ranges. |
|
433 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
434 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
435 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
436 |
as_cr_digits='0123456789' |
|
437 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
438 |
||
439 |
||
440 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
441 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
442 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
443 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
444 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
445 |
sed -n ' |
|
446 |
p |
|
447 |
/[$]LINENO/= |
|
448 |
' <$as_myself | |
|
449 |
sed ' |
|
450 |
s/[$]LINENO.*/&-/ |
|
451 |
t lineno |
|
452 |
b |
|
453 |
:lineno |
|
454 |
N |
|
455 |
:loop |
|
456 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
457 |
t loop |
|
458 |
s/-\n.*// |
|
459 |
' >$as_me.lineno && |
|
460 |
chmod +x "$as_me.lineno" || |
|
461 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
462 |
||
463 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
464 |
# (the dirname of $[0] is not the place where we might find the |
|
465 |
# original and so on. Autoconf is especially sensitive to this). |
|
466 |
. "./$as_me.lineno" |
|
467 |
# Exit status is that of the last command. |
|
468 |
exit |
|
469 |
} |
|
470 |
||
471 |
ECHO_C= ECHO_N= ECHO_T= |
|
472 |
case `echo -n x` in #((((( |
|
473 |
-n*) |
|
474 |
case `echo 'xy\c'` in |
|
475 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
476 |
xy) ECHO_C='\c';; |
|
477 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
478 |
ECHO_T=' ';; |
|
479 |
esac;; |
|
480 |
*) |
|
481 |
ECHO_N='-n';; |
|
482 |
esac |
|
483 |
||
484 |
rm -f conf$$ conf$$.exe conf$$.file |
|
485 |
if test -d conf$$.dir; then |
|
486 |
rm -f conf$$.dir/conf$$.file |
|
487 |
else |
|
488 |
rm -f conf$$.dir |
|
489 |
mkdir conf$$.dir 2>/dev/null |
|
490 |
fi |
|
491 |
if (echo >conf$$.file) 2>/dev/null; then |
|
492 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
493 |
as_ln_s='ln -s' |
|
494 |
# ... but there are two gotchas: |
|
495 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
496 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
497 |
# In both cases, we have to default to `cp -p'. |
|
498 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
499 |
as_ln_s='cp -p' |
|
500 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
501 |
as_ln_s=ln |
|
502 |
else |
|
503 |
as_ln_s='cp -p' |
|
504 |
fi |
|
505 |
else |
|
506 |
as_ln_s='cp -p' |
|
507 |
fi |
|
508 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
509 |
rmdir conf$$.dir 2>/dev/null |
|
510 |
||
511 |
if mkdir -p . 2>/dev/null; then |
|
512 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
513 |
else |
|
514 |
test -d ./-p && rmdir ./-p |
|
515 |
as_mkdir_p=false |
|
516 |
fi |
|
517 |
||
518 |
if test -x / >/dev/null 2>&1; then |
|
519 |
as_test_x='test -x' |
|
520 |
else |
|
521 |
if ls -dL / >/dev/null 2>&1; then |
|
522 |
as_ls_L_option=L |
|
523 |
else |
|
524 |
as_ls_L_option= |
|
525 |
fi |
|
526 |
as_test_x=' |
|
527 |
eval sh -c '\'' |
|
528 |
if test -d "$1"; then |
|
529 |
test -d "$1/."; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
530 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
531 |
case $1 in #( |
532 |
-*)set "./$1";; |
|
533 |
esac; |
|
534 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
535 |
???[sx]*):;;*)false;;esac;fi |
|
536 |
'\'' sh |
|
537 |
' |
|
538 |
fi |
|
539 |
as_executable_p=$as_test_x |
|
540 |
||
541 |
# Sed expression to map a string onto a valid CPP name. |
|
542 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
543 |
||
544 |
# Sed expression to map a string onto a valid variable name. |
|
545 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
546 |
||
547 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
548 |
||
549 |
||
550 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
551 |
exec 6>&1 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
552 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
553 |
# Name of the host. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
554 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
555 |
# so uname gets run too. |
556 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
557 |
||
558 |
# |
|
559 |
# Initializations. |
|
560 |
# |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
561 |
ac_default_prefix=/usr/local |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
562 |
ac_clean_files= |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
563 |
ac_config_libobj_dir=. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
564 |
LIBOBJS= |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
565 |
cross_compiling=no |
566 |
subdirs= |
|
567 |
MFLAGS= |
|
568 |
MAKEFLAGS= |
|
569 |
||
570 |
# Identity of this package. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
571 |
PACKAGE_NAME='blitz' |
572 |
PACKAGE_TARNAME='blitz' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
573 |
PACKAGE_VERSION='0.10' |
574 |
PACKAGE_STRING='blitz 0.10' |
|
575 |
PACKAGE_BUGREPORT='blitz-support@lists.sourceforge.net' |
|
576 |
PACKAGE_URL='' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
577 |
|
578 |
ac_unique_file="blitz/blitz.h" |
|
579 |
# Factoring default headers for most tests. |
|
580 |
ac_includes_default="\ |
|
581 |
#include <stdio.h> |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
582 |
#ifdef HAVE_SYS_TYPES_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
583 |
# include <sys/types.h> |
584 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
585 |
#ifdef HAVE_SYS_STAT_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
586 |
# include <sys/stat.h> |
587 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
588 |
#ifdef STDC_HEADERS |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
589 |
# include <stdlib.h> |
590 |
# include <stddef.h> |
|
591 |
#else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
592 |
# ifdef HAVE_STDLIB_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
593 |
# include <stdlib.h> |
594 |
# endif |
|
595 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
596 |
#ifdef HAVE_STRING_H |
597 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
598 |
# include <memory.h> |
599 |
# endif |
|
600 |
# include <string.h> |
|
601 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
602 |
#ifdef HAVE_STRINGS_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
603 |
# include <strings.h> |
604 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
605 |
#ifdef HAVE_INTTYPES_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
606 |
# include <inttypes.h> |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
607 |
#endif |
608 |
#ifdef HAVE_STDINT_H |
|
609 |
# include <stdint.h> |
|
610 |
#endif |
|
611 |
#ifdef HAVE_UNISTD_H |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
612 |
# include <unistd.h> |
613 |
#endif" |
|
614 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
615 |
ac_subst_vars='am__EXEEXT_FALSE |
616 |
am__EXEEXT_TRUE |
|
617 |
LTLIBOBJS |
|
618 |
LIBOBJS |
|
619 |
pkgconfig_libfile |
|
620 |
pkgconfig_libdir |
|
621 |
HAVE_VALGRIND_FALSE |
|
622 |
HAVE_VALGRIND_TRUE |
|
623 |
valgrind |
|
624 |
DATE |
|
625 |
OS |
|
626 |
BOOST_SERIALIZATION_LIB |
|
627 |
BOOST_LDFLAGS |
|
628 |
BOOST_CPPFLAGS |
|
629 |
BLASLIB |
|
630 |
CXXCPP |
|
631 |
CPP |
|
632 |
OTOOL64 |
|
633 |
OTOOL |
|
634 |
LIPO |
|
635 |
NMEDIT |
|
636 |
DSYMUTIL |
|
637 |
MANIFEST_TOOL |
|
638 |
ac_ct_AR |
|
639 |
DLLTOOL |
|
640 |
OBJDUMP |
|
641 |
LN_S |
|
642 |
NM |
|
643 |
ac_ct_DUMPBIN |
|
644 |
DUMPBIN |
|
645 |
LD |
|
646 |
FGREP |
|
647 |
EGREP |
|
648 |
GREP |
|
649 |
SED |
|
650 |
am__fastdepCC_FALSE |
|
651 |
am__fastdepCC_TRUE |
|
652 |
CCDEPMODE |
|
653 |
ac_ct_CC |
|
654 |
CFLAGS |
|
655 |
CC |
|
656 |
LIBTOOL |
|
657 |
enable_latex_docs |
|
658 |
enable_html_docs |
|
659 |
enable_dot |
|
660 |
DOXYGEN_DOC_FALSE |
|
661 |
DOXYGEN_DOC_TRUE |
|
662 |
DOT |
|
663 |
DOXYGEN |
|
664 |
TEXI2HTML_DOC_FALSE |
|
665 |
TEXI2HTML_DOC_TRUE |
|
666 |
TEXI2HTML |
|
667 |
MAKEINFO_DOC_FALSE |
|
668 |
MAKEINFO_DOC_TRUE |
|
669 |
COMPILER_SPECIFIC_HEADER |
|
670 |
F90_COMPILER_FALSE |
|
671 |
F90_COMPILER_TRUE |
|
672 |
FCFLAGS_f90 |
|
673 |
FCLIBS |
|
674 |
FLIBS |
|
675 |
FC_OPTIMIZE_FLAGS |
|
676 |
F77_OPTIMIZE_FLAGS |
|
677 |
CXXFCFLAG |
|
678 |
CXXFFLAGS |
|
679 |
ac_ct_FC |
|
680 |
FCFLAGS |
|
681 |
FC |
|
682 |
ac_ct_F77 |
|
683 |
FFLAGS |
|
684 |
F77 |
|
685 |
FORTRAN_ENABLED_FALSE |
|
686 |
FORTRAN_ENABLED_TRUE |
|
687 |
RANLIB |
|
688 |
AR_FLAGS |
|
689 |
AR |
|
690 |
CXX_LIBS |
|
691 |
CXX_PROFIL_FLAGS |
|
692 |
CXX_DEBUG_FLAGS |
|
693 |
CXX_OPTIMIZE_FLAGS |
|
694 |
am__fastdepCXX_FALSE |
|
695 |
am__fastdepCXX_TRUE |
|
696 |
CXXDEPMODE |
|
697 |
AMDEPBACKSLASH |
|
698 |
AMDEP_FALSE |
|
699 |
AMDEP_TRUE |
|
700 |
am__quote |
|
701 |
am__include |
|
702 |
DEPDIR |
|
703 |
OBJEXT |
|
704 |
EXEEXT |
|
705 |
ac_ct_CXX |
|
706 |
CPPFLAGS |
|
707 |
LDFLAGS |
|
708 |
CXXFLAGS |
|
709 |
CXX |
|
710 |
MAINT |
|
711 |
MAINTAINER_MODE_FALSE |
|
712 |
MAINTAINER_MODE_TRUE |
|
713 |
am__untar |
|
714 |
am__tar |
|
715 |
AMTAR |
|
716 |
am__leading_dot |
|
717 |
SET_MAKE |
|
718 |
AWK |
|
719 |
mkdir_p |
|
720 |
MKDIR_P |
|
721 |
INSTALL_STRIP_PROGRAM |
|
722 |
STRIP |
|
723 |
install_sh |
|
724 |
MAKEINFO |
|
725 |
AUTOHEADER |
|
726 |
AUTOMAKE |
|
727 |
AUTOCONF |
|
728 |
ACLOCAL |
|
729 |
VERSION |
|
730 |
PACKAGE |
|
731 |
CYGPATH_W |
|
732 |
am__isrc |
|
733 |
INSTALL_DATA |
|
734 |
INSTALL_SCRIPT |
|
735 |
INSTALL_PROGRAM |
|
736 |
target_os |
|
737 |
target_vendor |
|
738 |
target_cpu |
|
739 |
target |
|
740 |
host_os |
|
741 |
host_vendor |
|
742 |
host_cpu |
|
743 |
host |
|
744 |
build_os |
|
745 |
build_vendor |
|
746 |
build_cpu |
|
747 |
build |
|
748 |
target_alias |
|
749 |
host_alias |
|
750 |
build_alias |
|
751 |
LIBS |
|
752 |
ECHO_T |
|
753 |
ECHO_N |
|
754 |
ECHO_C |
|
755 |
DEFS |
|
756 |
mandir |
|
757 |
localedir |
|
758 |
libdir |
|
759 |
psdir |
|
760 |
pdfdir |
|
761 |
dvidir |
|
762 |
htmldir |
|
763 |
infodir |
|
764 |
docdir |
|
765 |
oldincludedir |
|
766 |
includedir |
|
767 |
localstatedir |
|
768 |
sharedstatedir |
|
769 |
sysconfdir |
|
770 |
datadir |
|
771 |
datarootdir |
|
772 |
libexecdir |
|
773 |
sbindir |
|
774 |
bindir |
|
775 |
program_transform_name |
|
776 |
prefix |
|
777 |
exec_prefix |
|
778 |
PACKAGE_URL |
|
779 |
PACKAGE_BUGREPORT |
|
780 |
PACKAGE_STRING |
|
781 |
PACKAGE_VERSION |
|
782 |
PACKAGE_TARNAME |
|
783 |
PACKAGE_NAME |
|
784 |
PATH_SEPARATOR |
|
785 |
SHELL' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
786 |
ac_subst_files='' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
787 |
ac_user_opts=' |
788 |
enable_option_checking |
|
789 |
enable_maintainer_mode |
|
790 |
enable_dependency_tracking |
|
791 |
enable_cxx_flags_preset |
|
792 |
enable_fortran |
|
793 |
enable_fortran_flags_preset |
|
794 |
enable_doxygen |
|
795 |
enable_dot |
|
796 |
enable_html_docs |
|
797 |
enable_latex_docs |
|
798 |
enable_64bit |
|
799 |
enable_shared |
|
800 |
enable_static |
|
801 |
with_pic |
|
802 |
enable_fast_install |
|
803 |
with_gnu_ld |
|
804 |
with_sysroot |
|
805 |
enable_libtool_lock |
|
806 |
with_blas |
|
807 |
enable_optimize |
|
808 |
enable_debug |
|
809 |
enable_threadsafe |
|
810 |
with_tbb |
|
811 |
enable_simd_width |
|
812 |
enable_array_length_padding |
|
813 |
enable_64_bit_dimensions |
|
814 |
enable_serialization |
|
815 |
with_boost |
|
816 |
with_boost_libdir |
|
817 |
with_boost_serialization |
|
818 |
' |
|
819 |
ac_precious_vars='build_alias |
|
820 |
host_alias |
|
821 |
target_alias |
|
822 |
CXX |
|
823 |
CXXFLAGS |
|
824 |
LDFLAGS |
|
825 |
LIBS |
|
826 |
CPPFLAGS |
|
827 |
CCC |
|
828 |
F77 |
|
829 |
FFLAGS |
|
830 |
FC |
|
831 |
FCFLAGS |
|
832 |
CXXFFLAGS |
|
833 |
CXXFCFLAG |
|
834 |
F77_OPTIMIZE_FLAGS |
|
835 |
FC_OPTIMIZE_FLAGS |
|
836 |
COMPILER_SPECIFIC_HEADER |
|
837 |
CC |
|
838 |
CFLAGS |
|
839 |
CPP |
|
840 |
CXXCPP |
|
841 |
CXX_OPTIMIZE_FLAGS |
|
842 |
CXX_DEBUG_FLAGS' |
|
843 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
844 |
|
845 |
# Initialize some variables set by options. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
846 |
ac_init_help= |
847 |
ac_init_version=false |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
848 |
ac_unrecognized_opts= |
849 |
ac_unrecognized_sep= |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
850 |
# The variables have the same names as the options, with |
851 |
# dashes changed to underlines. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
852 |
cache_file=/dev/null |
1
by Andreas Rottmann
Import upstream version 20001213 |
853 |
exec_prefix=NONE |
854 |
no_create= |
|
855 |
no_recursion= |
|
856 |
prefix=NONE |
|
857 |
program_prefix=NONE |
|
858 |
program_suffix=NONE |
|
859 |
program_transform_name=s,x,x, |
|
860 |
silent= |
|
861 |
site= |
|
862 |
srcdir= |
|
863 |
verbose= |
|
864 |
x_includes=NONE |
|
865 |
x_libraries=NONE |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
866 |
|
867 |
# Installation directory options. |
|
868 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
869 |
# and all the variables that are supposed to be based on exec_prefix |
|
870 |
# by default will actually change. |
|
871 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
872 |
# (The list follows the same order as the GNU Coding Standards.) |
1
by Andreas Rottmann
Import upstream version 20001213 |
873 |
bindir='${exec_prefix}/bin' |
874 |
sbindir='${exec_prefix}/sbin' |
|
875 |
libexecdir='${exec_prefix}/libexec' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
876 |
datarootdir='${prefix}/share' |
877 |
datadir='${datarootdir}' |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
878 |
sysconfdir='${prefix}/etc' |
879 |
sharedstatedir='${prefix}/com' |
|
880 |
localstatedir='${prefix}/var' |
|
881 |
includedir='${prefix}/include' |
|
882 |
oldincludedir='/usr/include' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
883 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
884 |
infodir='${datarootdir}/info' |
|
885 |
htmldir='${docdir}' |
|
886 |
dvidir='${docdir}' |
|
887 |
pdfdir='${docdir}' |
|
888 |
psdir='${docdir}' |
|
889 |
libdir='${exec_prefix}/lib' |
|
890 |
localedir='${datarootdir}/locale' |
|
891 |
mandir='${datarootdir}/man' |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
892 |
|
893 |
ac_prev= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
894 |
ac_dashdash= |
1
by Andreas Rottmann
Import upstream version 20001213 |
895 |
for ac_option |
896 |
do |
|
897 |
# If the previous option needs an argument, assign it. |
|
898 |
if test -n "$ac_prev"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
899 |
eval $ac_prev=\$ac_option |
1
by Andreas Rottmann
Import upstream version 20001213 |
900 |
ac_prev= |
901 |
continue |
|
902 |
fi |
|
903 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
904 |
case $ac_option in |
905 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
906 |
*=) ac_optarg= ;; |
|
907 |
*) ac_optarg=yes ;; |
|
908 |
esac |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
909 |
|
910 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
911 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
912 |
case $ac_dashdash$ac_option in |
913 |
--) |
|
914 |
ac_dashdash=yes ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
915 |
|
916 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
917 |
ac_prev=bindir ;; |
|
918 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
919 |
bindir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
920 |
|
921 |
-build | --build | --buil | --bui | --bu) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
922 |
ac_prev=build_alias ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
923 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
924 |
build_alias=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
925 |
|
926 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
927 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
928 |
ac_prev=cache_file ;; |
|
929 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
930 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
931 |
cache_file=$ac_optarg ;; |
932 |
||
933 |
--config-cache | -C) |
|
934 |
cache_file=config.cache ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
935 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
936 |
-datadir | --datadir | --datadi | --datad) |
1
by Andreas Rottmann
Import upstream version 20001213 |
937 |
ac_prev=datadir ;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
938 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
939 |
datadir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
940 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
941 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
942 |
| --dataroo | --dataro | --datar) |
|
943 |
ac_prev=datarootdir ;; |
|
944 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
945 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
946 |
datarootdir=$ac_optarg ;; |
|
947 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
948 |
-disable-* | --disable-*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
949 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1
by Andreas Rottmann
Import upstream version 20001213 |
950 |
# Reject names that are not valid shell variable names. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
951 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
952 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
953 |
ac_useropt_orig=$ac_useropt |
|
954 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
955 |
case $ac_user_opts in |
|
956 |
*" |
|
957 |
"enable_$ac_useropt" |
|
958 |
"*) ;; |
|
959 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
960 |
ac_unrecognized_sep=', ';; |
|
961 |
esac |
|
962 |
eval enable_$ac_useropt=no ;; |
|
963 |
||
964 |
-docdir | --docdir | --docdi | --doc | --do) |
|
965 |
ac_prev=docdir ;; |
|
966 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
967 |
docdir=$ac_optarg ;; |
|
968 |
||
969 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
970 |
ac_prev=dvidir ;; |
|
971 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
972 |
dvidir=$ac_optarg ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
973 |
|
974 |
-enable-* | --enable-*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
975 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1
by Andreas Rottmann
Import upstream version 20001213 |
976 |
# Reject names that are not valid shell variable names. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
977 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
978 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
979 |
ac_useropt_orig=$ac_useropt |
|
980 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
981 |
case $ac_user_opts in |
|
982 |
*" |
|
983 |
"enable_$ac_useropt" |
|
984 |
"*) ;; |
|
985 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
986 |
ac_unrecognized_sep=', ';; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
987 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
988 |
eval enable_$ac_useropt=\$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
989 |
|
990 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
991 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
992 |
| --exec | --exe | --ex) |
|
993 |
ac_prev=exec_prefix ;; |
|
994 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
995 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
996 |
| --exec=* | --exe=* | --ex=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
997 |
exec_prefix=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
998 |
|
999 |
-gas | --gas | --ga | --g) |
|
1000 |
# Obsolete; use --with-gas. |
|
1001 |
with_gas=yes ;; |
|
1002 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1003 |
-help | --help | --hel | --he | -h) |
1004 |
ac_init_help=long ;; |
|
1005 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
1006 |
ac_init_help=recursive ;; |
|
1007 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
1008 |
ac_init_help=short ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1009 |
|
1010 |
-host | --host | --hos | --ho) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1011 |
ac_prev=host_alias ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1012 |
-host=* | --host=* | --hos=* | --ho=*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1013 |
host_alias=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1014 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1015 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1016 |
ac_prev=htmldir ;; |
|
1017 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
1018 |
| --ht=*) |
|
1019 |
htmldir=$ac_optarg ;; |
|
1020 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1021 |
-includedir | --includedir | --includedi | --included | --include \ |
1022 |
| --includ | --inclu | --incl | --inc) |
|
1023 |
ac_prev=includedir ;; |
|
1024 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
1025 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1026 |
includedir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1027 |
|
1028 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
1029 |
ac_prev=infodir ;; |
|
1030 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1031 |
infodir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1032 |
|
1033 |
-libdir | --libdir | --libdi | --libd) |
|
1034 |
ac_prev=libdir ;; |
|
1035 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1036 |
libdir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1037 |
|
1038 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
1039 |
| --libexe | --libex | --libe) |
|
1040 |
ac_prev=libexecdir ;; |
|
1041 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
1042 |
| --libexe=* | --libex=* | --libe=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1043 |
libexecdir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1044 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1045 |
-localedir | --localedir | --localedi | --localed | --locale) |
1046 |
ac_prev=localedir ;; |
|
1047 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1048 |
localedir=$ac_optarg ;; |
|
1049 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1050 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1051 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1
by Andreas Rottmann
Import upstream version 20001213 |
1052 |
ac_prev=localstatedir ;; |
1053 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1054 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1055 |
localstatedir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1056 |
|
1057 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1058 |
ac_prev=mandir ;; |
|
1059 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1060 |
mandir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1061 |
|
1062 |
-nfp | --nfp | --nf) |
|
1063 |
# Obsolete; use --without-fp. |
|
1064 |
with_fp=no ;; |
|
1065 |
||
1066 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1067 |
| --no-cr | --no-c | -n) |
1
by Andreas Rottmann
Import upstream version 20001213 |
1068 |
no_create=yes ;; |
1069 |
||
1070 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1071 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1072 |
no_recursion=yes ;; |
|
1073 |
||
1074 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1075 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1076 |
| --oldin | --oldi | --old | --ol | --o) |
|
1077 |
ac_prev=oldincludedir ;; |
|
1078 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1079 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1080 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1081 |
oldincludedir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1082 |
|
1083 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1084 |
ac_prev=prefix ;; |
|
1085 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1086 |
prefix=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1087 |
|
1088 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1089 |
| --program-pre | --program-pr | --program-p) |
|
1090 |
ac_prev=program_prefix ;; |
|
1091 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1092 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1093 |
program_prefix=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1094 |
|
1095 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1096 |
| --program-suf | --program-su | --program-s) |
|
1097 |
ac_prev=program_suffix ;; |
|
1098 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1099 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1100 |
program_suffix=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1101 |
|
1102 |
-program-transform-name | --program-transform-name \ |
|
1103 |
| --program-transform-nam | --program-transform-na \ |
|
1104 |
| --program-transform-n | --program-transform- \ |
|
1105 |
| --program-transform | --program-transfor \ |
|
1106 |
| --program-transfo | --program-transf \ |
|
1107 |
| --program-trans | --program-tran \ |
|
1108 |
| --progr-tra | --program-tr | --program-t) |
|
1109 |
ac_prev=program_transform_name ;; |
|
1110 |
-program-transform-name=* | --program-transform-name=* \ |
|
1111 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1112 |
| --program-transform-n=* | --program-transform-=* \ |
|
1113 |
| --program-transform=* | --program-transfor=* \ |
|
1114 |
| --program-transfo=* | --program-transf=* \ |
|
1115 |
| --program-trans=* | --program-tran=* \ |
|
1116 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1117 |
program_transform_name=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1118 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1119 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1120 |
ac_prev=pdfdir ;; |
|
1121 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1122 |
pdfdir=$ac_optarg ;; |
|
1123 |
||
1124 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1125 |
ac_prev=psdir ;; |
|
1126 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1127 |
psdir=$ac_optarg ;; |
|
1128 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1129 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1130 |
| -silent | --silent | --silen | --sile | --sil) |
|
1131 |
silent=yes ;; |
|
1132 |
||
1133 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1134 |
ac_prev=sbindir ;; |
|
1135 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1136 |
| --sbi=* | --sb=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1137 |
sbindir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1138 |
|
1139 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1140 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1141 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1142 |
| --sha | --sh) |
|
1143 |
ac_prev=sharedstatedir ;; |
|
1144 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1145 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1146 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1147 |
| --sha=* | --sh=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1148 |
sharedstatedir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1149 |
|
1150 |
-site | --site | --sit) |
|
1151 |
ac_prev=site ;; |
|
1152 |
-site=* | --site=* | --sit=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1153 |
site=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1154 |
|
1155 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1156 |
ac_prev=srcdir ;; |
|
1157 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1158 |
srcdir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1159 |
|
1160 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1161 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1162 |
ac_prev=sysconfdir ;; |
|
1163 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1164 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1165 |
sysconfdir=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1166 |
|
1167 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1168 |
ac_prev=target_alias ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1169 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1170 |
target_alias=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1171 |
|
1172 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1173 |
verbose=yes ;; |
|
1174 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1175 |
-version | --version | --versio | --versi | --vers | -V) |
1176 |
ac_init_version=: ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1177 |
|
1178 |
-with-* | --with-*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1179 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1
by Andreas Rottmann
Import upstream version 20001213 |
1180 |
# Reject names that are not valid shell variable names. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1181 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1182 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1183 |
ac_useropt_orig=$ac_useropt |
|
1184 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1185 |
case $ac_user_opts in |
|
1186 |
*" |
|
1187 |
"with_$ac_useropt" |
|
1188 |
"*) ;; |
|
1189 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1190 |
ac_unrecognized_sep=', ';; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1191 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1192 |
eval with_$ac_useropt=\$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1193 |
|
1194 |
-without-* | --without-*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1195 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1
by Andreas Rottmann
Import upstream version 20001213 |
1196 |
# Reject names that are not valid shell variable names. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1197 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1198 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1199 |
ac_useropt_orig=$ac_useropt |
|
1200 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1201 |
case $ac_user_opts in |
|
1202 |
*" |
|
1203 |
"with_$ac_useropt" |
|
1204 |
"*) ;; |
|
1205 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1206 |
ac_unrecognized_sep=', ';; |
|
1207 |
esac |
|
1208 |
eval with_$ac_useropt=no ;; |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1209 |
|
1210 |
--x) |
|
1211 |
# Obsolete; use --with-x. |
|
1212 |
with_x=yes ;; |
|
1213 |
||
1214 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1215 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1216 |
ac_prev=x_includes ;; |
|
1217 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1218 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1219 |
x_includes=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1220 |
|
1221 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1222 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1223 |
ac_prev=x_libraries ;; |
|
1224 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1225 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1226 |
x_libraries=$ac_optarg ;; |
1
by Andreas Rottmann
Import upstream version 20001213 |
1227 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1228 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1229 |
Try \`$0 --help' for more information" |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1230 |
;; |
1231 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1232 |
*=*) |
1233 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1234 |
# Reject names that are not valid shell variable names. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1235 |
case $ac_envvar in #( |
1236 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1237 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1238 |
esac |
|
1239 |
eval $ac_envvar=\$ac_optarg |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1240 |
export $ac_envvar ;; |
1241 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1242 |
*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1243 |
# FIXME: should be removed in autoconf 3.0. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1244 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1245 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1246 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1247 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1248 |
;; |
1249 |
||
1250 |
esac |
|
1251 |
done |
|
1252 |
||
1253 |
if test -n "$ac_prev"; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1254 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1255 |
as_fn_error $? "missing argument to $ac_option" |
1256 |
fi |
|
1257 |
||
1258 |
if test -n "$ac_unrecognized_opts"; then |
|
1259 |
case $enable_option_checking in |
|
1260 |
no) ;; |
|
1261 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1262 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1263 |
esac |
|
1264 |
fi |
|
1265 |
||
1266 |
# Check all directory arguments for consistency. |
|
1267 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1268 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1269 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1270 |
libdir localedir mandir |
|
1271 |
do |
|
1272 |
eval ac_val=\$$ac_var |
|
1273 |
# Remove trailing slashes. |
|
1274 |
case $ac_val in |
|
1275 |
*/ ) |
|
1276 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1277 |
eval $ac_var=\$ac_val;; |
|
1278 |
esac |
|
1279 |
# Be sure to have absolute directory names. |
|
1280 |
case $ac_val in |
|
1281 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1282 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1283 |
esac |
|
1284 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1285 |
done |
1286 |
||
1287 |
# There might be people who depend on the old broken behavior: `$host' |
|
1288 |
# used to hold the argument of --host etc. |
|
1289 |
# FIXME: To remove some day. |
|
1290 |
build=$build_alias |
|
1291 |
host=$host_alias |
|
1292 |
target=$target_alias |
|
1293 |
||
1294 |
# FIXME: To remove some day. |
|
1295 |
if test "x$host_alias" != x; then |
|
1296 |
if test "x$build_alias" = x; then |
|
1297 |
cross_compiling=maybe |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1298 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1299 |
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1300 |
elif test "x$build_alias" != "x$host_alias"; then |
1301 |
cross_compiling=yes |
|
1302 |
fi |
|
1303 |
fi |
|
1304 |
||
1305 |
ac_tool_prefix= |
|
1306 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1307 |
||
1308 |
test "$silent" = yes && exec 6>/dev/null |
|
1309 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1310 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1311 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1312 |
ac_ls_di=`ls -di .` && |
|
1313 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1314 |
as_fn_error $? "working directory cannot be determined" |
|
1315 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1316 |
as_fn_error $? "pwd does not report name of working directory" |
|
1317 |
||
1318 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
1319 |
# Find the source files, if location was not specified. |
1320 |
if test -z "$srcdir"; then |
|
1321 |
ac_srcdir_defaulted=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1322 |
# Try the directory containing this script, then the parent directory. |
1323 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1324 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1325 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1326 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1327 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1328 |
$as_echo X"$as_myself" | |
|
1329 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1330 |
s//\1/ |
|
1331 |
q |
|
1332 |
} |
|
1333 |
/^X\(\/\/\)[^/].*/{ |
|
1334 |
s//\1/ |
|
1335 |
q |
|
1336 |
} |
|
1337 |
/^X\(\/\/\)$/{ |
|
1338 |
s//\1/ |
|
1339 |
q |
|
1340 |
} |
|
1341 |
/^X\(\/\).*/{ |
|
1342 |
s//\1/ |
|
1343 |
q |
|
1344 |
} |
|
1345 |
s/.*/./; q'` |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
1346 |
srcdir=$ac_confdir |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1347 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1
by Andreas Rottmann
Import upstream version 20001213 |
1348 |
srcdir=.. |
1349 |
fi |
|
1350 |
else |
|
1351 |
ac_srcdir_defaulted=no |
|
1352 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1353 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1354 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1355 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1356 |
fi |
|
1357 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1358 |
ac_abs_confdir=`( |
|
1359 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1360 |
pwd)` |
|
1361 |
# When building in place, set srcdir=. |
|
1362 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1363 |
srcdir=. |
|
1364 |
fi |
|
1365 |
# Remove unnecessary trailing slashes from srcdir. |
|
1366 |
# Double slashes in file names in object file debugging info |
|
1367 |
# mess up M-x gdb in Emacs. |
|
1368 |
case $srcdir in |
|
1369 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1370 |
esac |
|
1371 |
for ac_var in $ac_precious_vars; do |
|
1372 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1373 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1374 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1375 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1376 |
done |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1377 |
|
1378 |
# |
|
1379 |
# Report the --help message. |
|
1380 |
# |
|
1381 |
if test "$ac_init_help" = "long"; then |
|
1382 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1383 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1384 |
cat <<_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1385 |
\`configure' configures blitz 0.10 to adapt to many kinds of systems. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1386 |
|
1387 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1388 |
||
1389 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1390 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1391 |
||
1392 |
Defaults for the options are specified in brackets. |
|
1393 |
||
1394 |
Configuration: |
|
1395 |
-h, --help display this help and exit |
|
1396 |
--help=short display options specific to this package |
|
1397 |
--help=recursive display the short help of all the included packages |
|
1398 |
-V, --version display version information and exit |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1399 |
-q, --quiet, --silent do not print \`checking ...' messages |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1400 |
--cache-file=FILE cache test results in FILE [disabled] |
1401 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1402 |
-n, --no-create do not create output files |
|
1403 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1404 |
||
1405 |
Installation directories: |
|
1406 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1407 |
[$ac_default_prefix] |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1408 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1409 |
[PREFIX] |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1410 |
|
1411 |
By default, \`make install' will install all the files in |
|
1412 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1413 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1414 |
for instance \`--prefix=\$HOME'. |
|
1415 |
||
1416 |
For better control, use the options below. |
|
1417 |
||
1418 |
Fine tuning of the installation directories: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1419 |
--bindir=DIR user executables [EPREFIX/bin] |
1420 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1421 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1422 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1423 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1424 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1425 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1426 |
--includedir=DIR C header files [PREFIX/include] |
|
1427 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1428 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1429 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1430 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1431 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1432 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1433 |
--docdir=DIR documentation root [DATAROOTDIR/doc/blitz] |
|
1434 |
--htmldir=DIR html documentation [DOCDIR] |
|
1435 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1436 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1437 |
--psdir=DIR ps documentation [DOCDIR] |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1438 |
_ACEOF |
1439 |
||
1440 |
cat <<\_ACEOF |
|
1441 |
||
1442 |
Program names: |
|
1443 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1444 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1445 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1446 |
||
1447 |
System types: |
|
1448 |
--build=BUILD configure for building on BUILD [guessed] |
|
1449 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1450 |
--target=TARGET configure for building compilers for TARGET [HOST] |
|
1451 |
_ACEOF |
|
1452 |
fi |
|
1453 |
||
1454 |
if test -n "$ac_init_help"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1455 |
case $ac_init_help in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1456 |
short | recursive ) echo "Configuration of blitz 0.10:";; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1457 |
esac |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1458 |
cat <<\_ACEOF |
1459 |
||
1460 |
Optional Features: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1461 |
--disable-option-checking ignore unrecognized --enable/--with options |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1462 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1463 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1464 |
--enable-maintainer-mode enable make rules and dependencies not useful |
1465 |
(and sometimes confusing) to the casual installer |
|
1466 |
--disable-dependency-tracking speeds up one-time build |
|
1467 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
1468 |
--enable-cxx-flags-preset |
|
1469 |
Enable C++ compiler flags preset [default yes] |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
1470 |
--enable-fortran Enable Fortran compilation |
1471 |
--enable-fortran-flags-preset |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1472 |
Enable Fortran compiler flags preset [default yes] |
1473 |
--enable-doxygen enable documentation generation with doxygen (no) |
|
1474 |
--enable-dot use 'dot' to generate graphs in doxygen (no) |
|
1475 |
--enable-html-docs enable HTML generation with doxygen (no) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1476 |
--enable-latex-docs enable LaTeX documentation generation with doxygen |
1477 |
(no) |
|
1478 |
--enable-64bit enable C++/Fortran 64-bit compilation flags |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1479 |
--enable-shared[=PKGS] build shared libraries [default=no] |
1480 |
--enable-static[=PKGS] build static libraries [default=yes] |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1481 |
--enable-fast-install[=PKGS] |
1482 |
optimize for fast installation [default=yes] |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1483 |
--disable-libtool-lock avoid locking (might break parallel builds) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1484 |
--enable-optimize Enable compiler optimization flags |
1485 |
--enable-debug Enable compiler debugging flags |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1486 |
--enable-threadsafe Enable thread-safety features |
1487 |
--enable-simd-width=n Facilitate compiler vectorization optimizations for |
|
1488 |
SIMD instruction width of n bytes. |
|
1489 |
--enable-array-length-padding |
|
1490 |
Sets the default array padding policy to pad all |
|
1491 |
lowest-rank lengths to nearest larger SIMD width. |
|
1492 |
Caution: This means that arrays will in general be |
|
1493 |
non-contiguous. |
|
1494 |
--enable-64-bit-dimensions |
|
1495 |
Enable dimensions with > 2^31 elements (not yet |
|
1496 |
implemented) |
|
1497 |
--enable-serialization Enable serialization support using |
|
1498 |
Boost::Serialization |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1499 |
|
1500 |
Optional Packages: |
|
1501 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1502 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1503 |
--with-pic try to use only PIC/non-PIC objects [default=use |
1504 |
both] |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1505 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1506 |
--with-sysroot=DIR Search for dependent libraries within DIR |
|
1507 |
(or the compiler's sysroot if not specified). |
|
1508 |
--with-blas[=DIR] set the path for the blas library |
|
1509 |
--with-tbb Use Intel Threading Building Blocks atomic types |
|
1510 |
--with-boost[=ARG] use Boost library from a standard location |
|
1511 |
(ARG=yes), from the specified location (ARG=<path>), |
|
1512 |
or disable it (ARG=no) [ARG=yes] |
|
1513 |
--with-boost-libdir=LIB_DIR |
|
1514 |
Force given directory for boost libraries. Note that |
|
1515 |
this will override library path detection, so use |
|
1516 |
this parameter only if default library detection |
|
1517 |
fails and you know exactly where your boost |
|
1518 |
libraries are located. |
|
1519 |
--with-boost-serialization[=special-lib] |
|
1520 |
use the Serialization library from boost - it is |
|
1521 |
possible to specify a certain library for the linker |
|
1522 |
e.g. |
|
1523 |
--with-boost-serialization=boost_serialization-gcc-mt-d-1_33_1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1524 |
|
1525 |
Some influential environment variables: |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
1526 |
CXX C++ compiler command |
1527 |
CXXFLAGS C++ compiler flags |
|
1528 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1529 |
nonstandard directory <lib dir> |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1530 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1531 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1532 |
you have headers in a nonstandard directory <include dir> |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1533 |
F77 Fortran 77 compiler command |
1534 |
FFLAGS Fortran 77 compiler flags |
|
1535 |
FC Fortran compiler command |
|
1536 |
FCFLAGS Fortran compiler flags |
|
1537 |
CXXFFLAGS C++ compiler flags to link Fortran 77 subroutines |
|
1538 |
CXXFCFLAG C++ compiler flags to link Fortran 90 subroutines |
|
1539 |
F77_OPTIMIZE_FLAGS |
|
1540 |
Fortran 77 optimization flags |
|
1541 |
FC_OPTIMIZE_FLAGS |
|
1542 |
Fortran 90 optimization flags |
|
1543 |
COMPILER_SPECIFIC_HEADER |
|
1544 |
automatically set if supported compiler, otherwise should be set |
|
1545 |
to <some-compiler-specific-path>/bzconfig.h. See also file |
|
1546 |
blitz/bzconfig.h |
|
1547 |
CC C compiler command |
|
1548 |
CFLAGS C compiler flags |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1549 |
CPP C preprocessor |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
1550 |
CXXCPP C++ preprocessor |
1551 |
CXX_OPTIMIZE_FLAGS |
|
1552 |
C++ compiler optimization flags |
|
1553 |
CXX_DEBUG_FLAGS |
|
1554 |
C++ compiler debugging flags |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1555 |
|
1556 |
Use these variables to override the choices made by `configure' or to help |
|
1557 |
it to find libraries and programs with nonstandard names/locations. |
|
1558 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1559 |
Report bugs to <blitz-support@lists.sourceforge.net>. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1560 |
_ACEOF |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1561 |
ac_status=$? |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1562 |
fi |
1563 |
||
1564 |
if test "$ac_init_help" = "recursive"; then |
|
1565 |
# If there are subdirs, report their specific --help. |
|
1566 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1567 |
test -d "$ac_dir" || |
1568 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1569 |
continue |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1570 |
ac_builddir=. |
1571 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1572 |
case "$ac_dir" in |
1573 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1574 |
*) |
|
1575 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1576 |
# A ".." for each directory in $ac_dir_suffix. |
|
1577 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1578 |
case $ac_top_builddir_sub in |
|
1579 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1580 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1581 |
esac ;; |
|
1582 |
esac |
|
1583 |
ac_abs_top_builddir=$ac_pwd |
|
1584 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1585 |
# for backward compatibility: |
|
1586 |
ac_top_builddir=$ac_top_build_prefix |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1587 |
|
1588 |
case $srcdir in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1589 |
.) # We are building in place. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1590 |
ac_srcdir=. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1591 |
ac_top_srcdir=$ac_top_builddir_sub |
1592 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1593 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1594 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1595 |
ac_top_srcdir=$srcdir |
1596 |
ac_abs_top_srcdir=$srcdir ;; |
|
1597 |
*) # Relative name. |
|
1598 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1599 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1600 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1601 |
esac |
|
1602 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1603 |
||
1604 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1605 |
# Check for guested configure. |
|
1606 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1607 |
echo && |
|
1608 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1609 |
elif test -f "$ac_srcdir/configure"; then |
|
1610 |
echo && |
|
1611 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1612 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1613 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1614 |
fi || ac_status=$? |
|
1615 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1616 |
done |
1617 |
fi |
|
1618 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1619 |
test -n "$ac_init_help" && exit $ac_status |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1620 |
if $ac_init_version; then |
1621 |
cat <<\_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1622 |
blitz configure 0.10 |
1623 |
generated by GNU Autoconf 2.68 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1624 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1625 |
Copyright (C) 2010 Free Software Foundation, Inc. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
1626 |
This configure script is free software; the Free Software Foundation |
1627 |
gives unlimited permission to copy, distribute and modify it. |
|
1628 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
1629 |
exit |
1630 |
fi |
|
1631 |
||
1632 |
## ------------------------ ## |
|
1633 |
## Autoconf initialization. ## |
|
1634 |
## ------------------------ ## |
|
1635 |
||
1636 |
# ac_fn_cxx_try_compile LINENO |
|
1637 |
# ---------------------------- |
|
1638 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1639 |
ac_fn_cxx_try_compile () |
|
1640 |
{ |
|
1641 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1642 |
rm -f conftest.$ac_objext |
|
1643 |
if { { ac_try="$ac_compile" |
|
1644 |
case "(($ac_try" in |
|
1645 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1646 |
*) ac_try_echo=$ac_try;; |
|
1647 |
esac |
|
1648 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1649 |
$as_echo "$ac_try_echo"; } >&5 |
|
1650 |
(eval "$ac_compile") 2>conftest.err |
|
1651 |
ac_status=$? |
|
1652 |
if test -s conftest.err; then |
|
1653 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1654 |
cat conftest.er1 >&5 |
|
1655 |
mv -f conftest.er1 conftest.err |
|
1656 |
fi |
|
1657 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1658 |
test $ac_status = 0; } && { |
|
1659 |
test -z "$ac_cxx_werror_flag" || |
|
1660 |
test ! -s conftest.err |
|
1661 |
} && test -s conftest.$ac_objext; then : |
|
1662 |
ac_retval=0 |
|
1663 |
else |
|
1664 |
$as_echo "$as_me: failed program was:" >&5 |
|
1665 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1666 |
||
1667 |
ac_retval=1 |
|
1668 |
fi |
|
1669 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1670 |
as_fn_set_status $ac_retval |
|
1671 |
||
1672 |
} # ac_fn_cxx_try_compile |
|
1673 |
||
1674 |
# ac_fn_f77_try_compile LINENO |
|
1675 |
# ---------------------------- |
|
1676 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1677 |
ac_fn_f77_try_compile () |
|
1678 |
{ |
|
1679 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1680 |
rm -f conftest.$ac_objext |
|
1681 |
if { { ac_try="$ac_compile" |
|
1682 |
case "(($ac_try" in |
|
1683 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1684 |
*) ac_try_echo=$ac_try;; |
|
1685 |
esac |
|
1686 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1687 |
$as_echo "$ac_try_echo"; } >&5 |
|
1688 |
(eval "$ac_compile") 2>conftest.err |
|
1689 |
ac_status=$? |
|
1690 |
if test -s conftest.err; then |
|
1691 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1692 |
cat conftest.er1 >&5 |
|
1693 |
mv -f conftest.er1 conftest.err |
|
1694 |
fi |
|
1695 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1696 |
test $ac_status = 0; } && { |
|
1697 |
test -z "$ac_f77_werror_flag" || |
|
1698 |
test ! -s conftest.err |
|
1699 |
} && test -s conftest.$ac_objext; then : |
|
1700 |
ac_retval=0 |
|
1701 |
else |
|
1702 |
$as_echo "$as_me: failed program was:" >&5 |
|
1703 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1704 |
||
1705 |
ac_retval=1 |
|
1706 |
fi |
|
1707 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1708 |
as_fn_set_status $ac_retval |
|
1709 |
||
1710 |
} # ac_fn_f77_try_compile |
|
1711 |
||
1712 |
# ac_fn_fc_try_compile LINENO |
|
1713 |
# --------------------------- |
|
1714 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1715 |
ac_fn_fc_try_compile () |
|
1716 |
{ |
|
1717 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1718 |
rm -f conftest.$ac_objext |
|
1719 |
if { { ac_try="$ac_compile" |
|
1720 |
case "(($ac_try" in |
|
1721 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1722 |
*) ac_try_echo=$ac_try;; |
|
1723 |
esac |
|
1724 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1725 |
$as_echo "$ac_try_echo"; } >&5 |
|
1726 |
(eval "$ac_compile") 2>conftest.err |
|
1727 |
ac_status=$? |
|
1728 |
if test -s conftest.err; then |
|
1729 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1730 |
cat conftest.er1 >&5 |
|
1731 |
mv -f conftest.er1 conftest.err |
|
1732 |
fi |
|
1733 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1734 |
test $ac_status = 0; } && { |
|
1735 |
test -z "$ac_fc_werror_flag" || |
|
1736 |
test ! -s conftest.err |
|
1737 |
} && test -s conftest.$ac_objext; then : |
|
1738 |
ac_retval=0 |
|
1739 |
else |
|
1740 |
$as_echo "$as_me: failed program was:" >&5 |
|
1741 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1742 |
||
1743 |
ac_retval=1 |
|
1744 |
fi |
|
1745 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1746 |
as_fn_set_status $ac_retval |
|
1747 |
||
1748 |
} # ac_fn_fc_try_compile |
|
1749 |
||
1750 |
# ac_fn_c_try_compile LINENO |
|
1751 |
# -------------------------- |
|
1752 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1753 |
ac_fn_c_try_compile () |
|
1754 |
{ |
|
1755 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1756 |
rm -f conftest.$ac_objext |
|
1757 |
if { { ac_try="$ac_compile" |
|
1758 |
case "(($ac_try" in |
|
1759 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1760 |
*) ac_try_echo=$ac_try;; |
|
1761 |
esac |
|
1762 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1763 |
$as_echo "$ac_try_echo"; } >&5 |
|
1764 |
(eval "$ac_compile") 2>conftest.err |
|
1765 |
ac_status=$? |
|
1766 |
if test -s conftest.err; then |
|
1767 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1768 |
cat conftest.er1 >&5 |
|
1769 |
mv -f conftest.er1 conftest.err |
|
1770 |
fi |
|
1771 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1772 |
test $ac_status = 0; } && { |
|
1773 |
test -z "$ac_c_werror_flag" || |
|
1774 |
test ! -s conftest.err |
|
1775 |
} && test -s conftest.$ac_objext; then : |
|
1776 |
ac_retval=0 |
|
1777 |
else |
|
1778 |
$as_echo "$as_me: failed program was:" >&5 |
|
1779 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1780 |
||
1781 |
ac_retval=1 |
|
1782 |
fi |
|
1783 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1784 |
as_fn_set_status $ac_retval |
|
1785 |
||
1786 |
} # ac_fn_c_try_compile |
|
1787 |
||
1788 |
# ac_fn_c_try_link LINENO |
|
1789 |
# ----------------------- |
|
1790 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1791 |
ac_fn_c_try_link () |
|
1792 |
{ |
|
1793 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1794 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1795 |
if { { ac_try="$ac_link" |
|
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_link") 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 |
|
1810 |
test $ac_status = 0; } && { |
|
1811 |
test -z "$ac_c_werror_flag" || |
|
1812 |
test ! -s conftest.err |
|
1813 |
} && test -s conftest$ac_exeext && { |
|
1814 |
test "$cross_compiling" = yes || |
|
1815 |
$as_test_x conftest$ac_exeext |
|
1816 |
}; then : |
|
1817 |
ac_retval=0 |
|
1818 |
else |
|
1819 |
$as_echo "$as_me: failed program was:" >&5 |
|
1820 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1821 |
||
1822 |
ac_retval=1 |
|
1823 |
fi |
|
1824 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1825 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1826 |
# interfere with the next link command; also delete a directory that is |
|
1827 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1828 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1829 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1830 |
as_fn_set_status $ac_retval |
|
1831 |
||
1832 |
} # ac_fn_c_try_link |
|
1833 |
||
1834 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1835 |
# ------------------------------------------------------- |
|
1836 |
# Tests whether HEADER exists and can be compiled using the include files in |
|
1837 |
# INCLUDES, setting the cache variable VAR accordingly. |
|
1838 |
ac_fn_c_check_header_compile () |
|
1839 |
{ |
|
1840 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1841 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1842 |
$as_echo_n "checking for $2... " >&6; } |
|
1843 |
if eval \${$3+:} false; then : |
|
1844 |
$as_echo_n "(cached) " >&6 |
|
1845 |
else |
|
1846 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1847 |
/* end confdefs.h. */ |
|
1848 |
$4 |
|
1849 |
#include <$2> |
|
1850 |
_ACEOF |
|
1851 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1852 |
eval "$3=yes" |
|
1853 |
else |
|
1854 |
eval "$3=no" |
|
1855 |
fi |
|
1856 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1857 |
fi |
|
1858 |
eval ac_res=\$$3 |
|
1859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1860 |
$as_echo "$ac_res" >&6; } |
|
1861 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1862 |
||
1863 |
} # ac_fn_c_check_header_compile |
|
1864 |
||
1865 |
# ac_fn_c_try_cpp LINENO |
|
1866 |
# ---------------------- |
|
1867 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1868 |
ac_fn_c_try_cpp () |
|
1869 |
{ |
|
1870 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1871 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1872 |
case "(($ac_try" in |
|
1873 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1874 |
*) ac_try_echo=$ac_try;; |
|
1875 |
esac |
|
1876 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1877 |
$as_echo "$ac_try_echo"; } >&5 |
|
1878 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1879 |
ac_status=$? |
|
1880 |
if test -s conftest.err; then |
|
1881 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1882 |
cat conftest.er1 >&5 |
|
1883 |
mv -f conftest.er1 conftest.err |
|
1884 |
fi |
|
1885 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1886 |
test $ac_status = 0; } > conftest.i && { |
|
1887 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1888 |
test ! -s conftest.err |
|
1889 |
}; then : |
|
1890 |
ac_retval=0 |
|
1891 |
else |
|
1892 |
$as_echo "$as_me: failed program was:" >&5 |
|
1893 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1894 |
||
1895 |
ac_retval=1 |
|
1896 |
fi |
|
1897 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1898 |
as_fn_set_status $ac_retval |
|
1899 |
||
1900 |
} # ac_fn_c_try_cpp |
|
1901 |
||
1902 |
# ac_fn_c_try_run LINENO |
|
1903 |
# ---------------------- |
|
1904 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1905 |
# that executables *can* be run. |
|
1906 |
ac_fn_c_try_run () |
|
1907 |
{ |
|
1908 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1909 |
if { { ac_try="$ac_link" |
|
1910 |
case "(($ac_try" in |
|
1911 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1912 |
*) ac_try_echo=$ac_try;; |
|
1913 |
esac |
|
1914 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1915 |
$as_echo "$ac_try_echo"; } >&5 |
|
1916 |
(eval "$ac_link") 2>&5 |
|
1917 |
ac_status=$? |
|
1918 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1919 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1920 |
{ { case "(($ac_try" in |
|
1921 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1922 |
*) ac_try_echo=$ac_try;; |
|
1923 |
esac |
|
1924 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1925 |
$as_echo "$ac_try_echo"; } >&5 |
|
1926 |
(eval "$ac_try") 2>&5 |
|
1927 |
ac_status=$? |
|
1928 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1929 |
test $ac_status = 0; }; }; then : |
|
1930 |
ac_retval=0 |
|
1931 |
else |
|
1932 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1933 |
$as_echo "$as_me: failed program was:" >&5 |
|
1934 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1935 |
||
1936 |
ac_retval=$ac_status |
|
1937 |
fi |
|
1938 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1939 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1940 |
as_fn_set_status $ac_retval |
|
1941 |
||
1942 |
} # ac_fn_c_try_run |
|
1943 |
||
1944 |
# ac_fn_c_check_func LINENO FUNC VAR |
|
1945 |
# ---------------------------------- |
|
1946 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1947 |
ac_fn_c_check_func () |
|
1948 |
{ |
|
1949 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1951 |
$as_echo_n "checking for $2... " >&6; } |
|
1952 |
if eval \${$3+:} false; then : |
|
1953 |
$as_echo_n "(cached) " >&6 |
|
1954 |
else |
|
1955 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1956 |
/* end confdefs.h. */ |
|
1957 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1958 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1959 |
#define $2 innocuous_$2 |
|
1960 |
||
1961 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1962 |
which can conflict with char $2 (); below. |
|
1963 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1964 |
<limits.h> exists even on freestanding compilers. */ |
|
1965 |
||
1966 |
#ifdef __STDC__ |
|
1967 |
# include <limits.h> |
|
1968 |
#else |
|
1969 |
# include <assert.h> |
|
1970 |
#endif |
|
1971 |
||
1972 |
#undef $2 |
|
1973 |
||
1974 |
/* Override any GCC internal prototype to avoid an error. |
|
1975 |
Use char because int might match the return type of a GCC |
|
1976 |
builtin and then its argument prototype would still apply. */ |
|
1977 |
#ifdef __cplusplus |
|
1978 |
extern "C" |
|
1979 |
#endif |
|
1980 |
char $2 (); |
|
1981 |
/* The GNU C library defines this for functions which it implements |
|
1982 |
to always fail with ENOSYS. Some functions are actually named |
|
1983 |
something starting with __ and the normal name is an alias. */ |
|
1984 |
#if defined __stub_$2 || defined __stub___$2 |
|
1985 |
choke me |
|
1986 |
#endif |
|
1987 |
||
1988 |
int |
|
1989 |
main () |
|
1990 |
{ |
|
1991 |
return $2 (); |
|
1992 |
; |
|
1993 |
return 0; |
|
1994 |
} |
|
1995 |
_ACEOF |
|
1996 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1997 |
eval "$3=yes" |
|
1998 |
else |
|
1999 |
eval "$3=no" |
|
2000 |
fi |
|
2001 |
rm -f core conftest.err conftest.$ac_objext \ |
|
2002 |
conftest$ac_exeext conftest.$ac_ext |
|
2003 |
fi |
|
2004 |
eval ac_res=\$$3 |
|
2005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2006 |
$as_echo "$ac_res" >&6; } |
|
2007 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2008 |
||
2009 |
} # ac_fn_c_check_func |
|
2010 |
||
2011 |
# ac_fn_cxx_try_cpp LINENO |
|
2012 |
# ------------------------ |
|
2013 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
2014 |
ac_fn_cxx_try_cpp () |
|
2015 |
{ |
|
2016 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2017 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
2018 |
case "(($ac_try" in |
|
2019 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2020 |
*) ac_try_echo=$ac_try;; |
|
2021 |
esac |
|
2022 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2023 |
$as_echo "$ac_try_echo"; } >&5 |
|
2024 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
2025 |
ac_status=$? |
|
2026 |
if test -s conftest.err; then |
|
2027 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
2028 |
cat conftest.er1 >&5 |
|
2029 |
mv -f conftest.er1 conftest.err |
|
2030 |
fi |
|
2031 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2032 |
test $ac_status = 0; } > conftest.i && { |
|
2033 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
2034 |
test ! -s conftest.err |
|
2035 |
}; then : |
|
2036 |
ac_retval=0 |
|
2037 |
else |
|
2038 |
$as_echo "$as_me: failed program was:" >&5 |
|
2039 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2040 |
||
2041 |
ac_retval=1 |
|
2042 |
fi |
|
2043 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2044 |
as_fn_set_status $ac_retval |
|
2045 |
||
2046 |
} # ac_fn_cxx_try_cpp |
|
2047 |
||
2048 |
# ac_fn_cxx_try_link LINENO |
|
2049 |
# ------------------------- |
|
2050 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
2051 |
ac_fn_cxx_try_link () |
|
2052 |
{ |
|
2053 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2054 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
2055 |
if { { ac_try="$ac_link" |
|
2056 |
case "(($ac_try" in |
|
2057 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2058 |
*) ac_try_echo=$ac_try;; |
|
2059 |
esac |
|
2060 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2061 |
$as_echo "$ac_try_echo"; } >&5 |
|
2062 |
(eval "$ac_link") 2>conftest.err |
|
2063 |
ac_status=$? |
|
2064 |
if test -s conftest.err; then |
|
2065 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
2066 |
cat conftest.er1 >&5 |
|
2067 |
mv -f conftest.er1 conftest.err |
|
2068 |
fi |
|
2069 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2070 |
test $ac_status = 0; } && { |
|
2071 |
test -z "$ac_cxx_werror_flag" || |
|
2072 |
test ! -s conftest.err |
|
2073 |
} && test -s conftest$ac_exeext && { |
|
2074 |
test "$cross_compiling" = yes || |
|
2075 |
$as_test_x conftest$ac_exeext |
|
2076 |
}; then : |
|
2077 |
ac_retval=0 |
|
2078 |
else |
|
2079 |
$as_echo "$as_me: failed program was:" >&5 |
|
2080 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2081 |
||
2082 |
ac_retval=1 |
|
2083 |
fi |
|
2084 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
2085 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
2086 |
# interfere with the next link command; also delete a directory that is |
|
2087 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
2088 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
2089 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2090 |
as_fn_set_status $ac_retval |
|
2091 |
||
2092 |
} # ac_fn_cxx_try_link |
|
2093 |
||
2094 |
# ac_fn_f77_try_link LINENO |
|
2095 |
# ------------------------- |
|
2096 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
2097 |
ac_fn_f77_try_link () |
|
2098 |
{ |
|
2099 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2100 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
2101 |
if { { ac_try="$ac_link" |
|
2102 |
case "(($ac_try" in |
|
2103 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2104 |
*) ac_try_echo=$ac_try;; |
|
2105 |
esac |
|
2106 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2107 |
$as_echo "$ac_try_echo"; } >&5 |
|
2108 |
(eval "$ac_link") 2>conftest.err |
|
2109 |
ac_status=$? |
|
2110 |
if test -s conftest.err; then |
|
2111 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
2112 |
cat conftest.er1 >&5 |
|
2113 |
mv -f conftest.er1 conftest.err |
|
2114 |
fi |
|
2115 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2116 |
test $ac_status = 0; } && { |
|
2117 |
test -z "$ac_f77_werror_flag" || |
|
2118 |
test ! -s conftest.err |
|
2119 |
} && test -s conftest$ac_exeext && { |
|
2120 |
test "$cross_compiling" = yes || |
|
2121 |
$as_test_x conftest$ac_exeext |
|
2122 |
}; then : |
|
2123 |
ac_retval=0 |
|
2124 |
else |
|
2125 |
$as_echo "$as_me: failed program was:" >&5 |
|
2126 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2127 |
||
2128 |
ac_retval=1 |
|
2129 |
fi |
|
2130 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
2131 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
2132 |
# interfere with the next link command; also delete a directory that is |
|
2133 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
2134 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
2135 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2136 |
as_fn_set_status $ac_retval |
|
2137 |
||
2138 |
} # ac_fn_f77_try_link |
|
2139 |
||
2140 |
# ac_fn_fc_try_link LINENO |
|
2141 |
# ------------------------ |
|
2142 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
2143 |
ac_fn_fc_try_link () |
|
2144 |
{ |
|
2145 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2146 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
2147 |
if { { ac_try="$ac_link" |
|
2148 |
case "(($ac_try" in |
|
2149 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2150 |
*) ac_try_echo=$ac_try;; |
|
2151 |
esac |
|
2152 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2153 |
$as_echo "$ac_try_echo"; } >&5 |
|
2154 |
(eval "$ac_link") 2>conftest.err |
|
2155 |
ac_status=$? |
|
2156 |
if test -s conftest.err; then |
|
2157 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
2158 |
cat conftest.er1 >&5 |
|
2159 |
mv -f conftest.er1 conftest.err |
|
2160 |
fi |
|
2161 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2162 |
test $ac_status = 0; } && { |
|
2163 |
test -z "$ac_fc_werror_flag" || |
|
2164 |
test ! -s conftest.err |
|
2165 |
} && test -s conftest$ac_exeext && { |
|
2166 |
test "$cross_compiling" = yes || |
|
2167 |
$as_test_x conftest$ac_exeext |
|
2168 |
}; then : |
|
2169 |
ac_retval=0 |
|
2170 |
else |
|
2171 |
$as_echo "$as_me: failed program was:" >&5 |
|
2172 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2173 |
||
2174 |
ac_retval=1 |
|
2175 |
fi |
|
2176 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
2177 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
2178 |
# interfere with the next link command; also delete a directory that is |
|
2179 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
2180 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
2181 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2182 |
as_fn_set_status $ac_retval |
|
2183 |
||
2184 |
} # ac_fn_fc_try_link |
|
2185 |
||
2186 |
# ac_fn_cxx_check_func LINENO FUNC VAR |
|
2187 |
# ------------------------------------ |
|
2188 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
2189 |
ac_fn_cxx_check_func () |
|
2190 |
{ |
|
2191 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
2193 |
$as_echo_n "checking for $2... " >&6; } |
|
2194 |
if eval \${$3+:} false; then : |
|
2195 |
$as_echo_n "(cached) " >&6 |
|
2196 |
else |
|
2197 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2198 |
/* end confdefs.h. */ |
|
2199 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
2200 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
2201 |
#define $2 innocuous_$2 |
|
2202 |
||
2203 |
/* System header to define __stub macros and hopefully few prototypes, |
|
2204 |
which can conflict with char $2 (); below. |
|
2205 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
2206 |
<limits.h> exists even on freestanding compilers. */ |
|
2207 |
||
2208 |
#ifdef __STDC__ |
|
2209 |
# include <limits.h> |
|
2210 |
#else |
|
2211 |
# include <assert.h> |
|
2212 |
#endif |
|
2213 |
||
2214 |
#undef $2 |
|
2215 |
||
2216 |
/* Override any GCC internal prototype to avoid an error. |
|
2217 |
Use char because int might match the return type of a GCC |
|
2218 |
builtin and then its argument prototype would still apply. */ |
|
2219 |
#ifdef __cplusplus |
|
2220 |
extern "C" |
|
2221 |
#endif |
|
2222 |
char $2 (); |
|
2223 |
/* The GNU C library defines this for functions which it implements |
|
2224 |
to always fail with ENOSYS. Some functions are actually named |
|
2225 |
something starting with __ and the normal name is an alias. */ |
|
2226 |
#if defined __stub_$2 || defined __stub___$2 |
|
2227 |
choke me |
|
2228 |
#endif |
|
2229 |
||
2230 |
int |
|
2231 |
main () |
|
2232 |
{ |
|
2233 |
return $2 (); |
|
2234 |
; |
|
2235 |
return 0; |
|
2236 |
} |
|
2237 |
_ACEOF |
|
2238 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
2239 |
eval "$3=yes" |
|
2240 |
else |
|
2241 |
eval "$3=no" |
|
2242 |
fi |
|
2243 |
rm -f core conftest.err conftest.$ac_objext \ |
|
2244 |
conftest$ac_exeext conftest.$ac_ext |
|
2245 |
fi |
|
2246 |
eval ac_res=\$$3 |
|
2247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2248 |
$as_echo "$ac_res" >&6; } |
|
2249 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2250 |
||
2251 |
} # ac_fn_cxx_check_func |
|
2252 |
||
2253 |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
2254 |
# --------------------------------------------------------- |
|
2255 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
2256 |
# the include files in INCLUDES and setting the cache variable VAR |
|
2257 |
# accordingly. |
|
2258 |
ac_fn_cxx_check_header_mongrel () |
|
2259 |
{ |
|
2260 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2261 |
if eval \${$3+:} false; then : |
|
2262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
2263 |
$as_echo_n "checking for $2... " >&6; } |
|
2264 |
if eval \${$3+:} false; then : |
|
2265 |
$as_echo_n "(cached) " >&6 |
|
2266 |
fi |
|
2267 |
eval ac_res=\$$3 |
|
2268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2269 |
$as_echo "$ac_res" >&6; } |
|
2270 |
else |
|
2271 |
# Is the header compilable? |
|
2272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
2273 |
$as_echo_n "checking $2 usability... " >&6; } |
|
2274 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2275 |
/* end confdefs.h. */ |
|
2276 |
$4 |
|
2277 |
#include <$2> |
|
2278 |
_ACEOF |
|
2279 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
2280 |
ac_header_compiler=yes |
|
2281 |
else |
|
2282 |
ac_header_compiler=no |
|
2283 |
fi |
|
2284 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
2286 |
$as_echo "$ac_header_compiler" >&6; } |
|
2287 |
||
2288 |
# Is the header present? |
|
2289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
2290 |
$as_echo_n "checking $2 presence... " >&6; } |
|
2291 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2292 |
/* end confdefs.h. */ |
|
2293 |
#include <$2> |
|
2294 |
_ACEOF |
|
2295 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
2296 |
ac_header_preproc=yes |
|
2297 |
else |
|
2298 |
ac_header_preproc=no |
|
2299 |
fi |
|
2300 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
2301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
2302 |
$as_echo "$ac_header_preproc" >&6; } |
|
2303 |
||
2304 |
# So? What about this header? |
|
2305 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( |
|
2306 |
yes:no: ) |
|
2307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
2308 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
2309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
2310 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
2311 |
;; |
|
2312 |
no:yes:* ) |
|
2313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
2314 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
2315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
2316 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
2317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
2318 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
2319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
2320 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
2321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
2322 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
2323 |
( $as_echo "## -------------------------------------------------- ## |
|
2324 |
## Report this to blitz-support@lists.sourceforge.net ## |
|
2325 |
## -------------------------------------------------- ##" |
|
2326 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
2327 |
;; |
|
2328 |
esac |
|
2329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
2330 |
$as_echo_n "checking for $2... " >&6; } |
|
2331 |
if eval \${$3+:} false; then : |
|
2332 |
$as_echo_n "(cached) " >&6 |
|
2333 |
else |
|
2334 |
eval "$3=\$ac_header_compiler" |
|
2335 |
fi |
|
2336 |
eval ac_res=\$$3 |
|
2337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2338 |
$as_echo "$ac_res" >&6; } |
|
2339 |
fi |
|
2340 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2341 |
||
2342 |
} # ac_fn_cxx_check_header_mongrel |
|
2343 |
cat >config.log <<_ACEOF |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2344 |
This file contains any messages produced by compilers while |
2345 |
running configure, to aid debugging if configure makes a mistake. |
|
2346 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2347 |
It was created by blitz $as_me 0.10, which was |
2348 |
generated by GNU Autoconf 2.68. Invocation command line was |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2349 |
|
2350 |
$ $0 $@ |
|
2351 |
||
2352 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2353 |
exec 5>>config.log |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2354 |
{ |
2355 |
cat <<_ASUNAME |
|
2356 |
## --------- ## |
|
2357 |
## Platform. ## |
|
2358 |
## --------- ## |
|
2359 |
||
2360 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
2361 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
2362 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
2363 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
2364 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
2365 |
||
2366 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
2367 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
2368 |
||
2369 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
2370 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
2371 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2372 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2373 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2374 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
2375 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
2376 |
||
2377 |
_ASUNAME |
|
2378 |
||
2379 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2380 |
for as_dir in $PATH |
|
2381 |
do |
|
2382 |
IFS=$as_save_IFS |
|
2383 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2384 |
$as_echo "PATH: $as_dir" |
2385 |
done |
|
2386 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2387 |
|
2388 |
} >&5 |
|
2389 |
||
2390 |
cat >&5 <<_ACEOF |
|
2391 |
||
2392 |
||
2393 |
## ----------- ## |
|
2394 |
## Core tests. ## |
|
2395 |
## ----------- ## |
|
2396 |
||
2397 |
_ACEOF |
|
2398 |
||
2399 |
||
2400 |
# Keep a trace of the command line. |
|
2401 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
2402 |
# Strip out --silent because we don't want to record it for future runs. |
|
2403 |
# Also quote any args containing shell meta-characters. |
|
2404 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
2405 |
ac_configure_args= |
|
2406 |
ac_configure_args0= |
|
2407 |
ac_configure_args1= |
|
2408 |
ac_must_keep_next=false |
|
2409 |
for ac_pass in 1 2 |
|
2410 |
do |
|
2411 |
for ac_arg |
|
2412 |
do |
|
2413 |
case $ac_arg in |
|
2414 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
2415 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2416 |
| -silent | --silent | --silen | --sile | --sil) |
|
2417 |
continue ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2418 |
*\'*) |
2419 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2420 |
esac |
2421 |
case $ac_pass in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2422 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2423 |
2) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2424 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2425 |
if test $ac_must_keep_next = true; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2426 |
ac_must_keep_next=false # Got value, back to normal. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2427 |
else |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2428 |
case $ac_arg in |
2429 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2430 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2431 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2432 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2433 |
case "$ac_configure_args0 " in |
|
2434 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2435 |
esac |
|
2436 |
;; |
|
2437 |
-* ) ac_must_keep_next=true ;; |
|
2438 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2439 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2440 |
as_fn_append ac_configure_args " '$ac_arg'" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2441 |
;; |
2442 |
esac |
|
2443 |
done |
|
2444 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2445 |
{ ac_configure_args0=; unset ac_configure_args0;} |
2446 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2447 |
|
2448 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2449 |
# config.log. We remove comments because anyway the quotes in there |
|
2450 |
# would cause problems or look ugly. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2451 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
2452 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2453 |
trap 'exit_status=$? |
2454 |
# Save into config.log some information that might help in debugging. |
|
2455 |
{ |
|
2456 |
echo |
|
2457 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2458 |
$as_echo "## ---------------- ## |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2459 |
## Cache variables. ## |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2460 |
## ---------------- ##" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2461 |
echo |
2462 |
# The following way of writing the cache mishandles newlines in values, |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2463 |
( |
2464 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2465 |
eval ac_val=\$$ac_var |
|
2466 |
case $ac_val in #( |
|
2467 |
*${as_nl}*) |
|
2468 |
case $ac_var in #( |
|
2469 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2470 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2471 |
esac |
|
2472 |
case $ac_var in #( |
|
2473 |
_ | IFS | as_nl) ;; #( |
|
2474 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2475 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2476 |
esac ;; |
|
2477 |
esac |
|
2478 |
done |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2479 |
(set) 2>&1 | |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2480 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2481 |
*${as_nl}ac_space=\ *) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2482 |
sed -n \ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2483 |
"s/'\''/'\''\\\\'\'''\''/g; |
2484 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2485 |
;; #( |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2486 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2487 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2488 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2489 |
esac | |
2490 |
sort |
|
2491 |
) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2492 |
echo |
2493 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2494 |
$as_echo "## ----------------- ## |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2495 |
## Output variables. ## |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2496 |
## ----------------- ##" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2497 |
echo |
2498 |
for ac_var in $ac_subst_vars |
|
2499 |
do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2500 |
eval ac_val=\$$ac_var |
2501 |
case $ac_val in |
|
2502 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2503 |
esac |
|
2504 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2505 |
done | sort |
2506 |
echo |
|
2507 |
||
2508 |
if test -n "$ac_subst_files"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2509 |
$as_echo "## ------------------- ## |
2510 |
## File substitutions. ## |
|
2511 |
## ------------------- ##" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2512 |
echo |
2513 |
for ac_var in $ac_subst_files |
|
2514 |
do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2515 |
eval ac_val=\$$ac_var |
2516 |
case $ac_val in |
|
2517 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2518 |
esac |
|
2519 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2520 |
done | sort |
2521 |
echo |
|
2522 |
fi |
|
2523 |
||
2524 |
if test -s confdefs.h; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2525 |
$as_echo "## ----------- ## |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2526 |
## confdefs.h. ## |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2527 |
## ----------- ##" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2528 |
echo |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2529 |
cat confdefs.h |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2530 |
echo |
2531 |
fi |
|
2532 |
test "$ac_signal" != 0 && |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2533 |
$as_echo "$as_me: caught signal $ac_signal" |
2534 |
$as_echo "$as_me: exit $exit_status" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2535 |
} >&5 |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2536 |
rm -f core *.core core.conftest.* && |
2537 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2538 |
exit $exit_status |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2539 |
' 0 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2540 |
for ac_signal in 1 2 13 15; do |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2541 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2542 |
done |
2543 |
ac_signal=0 |
|
2544 |
||
2545 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2546 |
rm -f -r conftest* confdefs.h |
2547 |
||
2548 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2549 |
|
2550 |
# Predefined preprocessor variables. |
|
2551 |
||
2552 |
cat >>confdefs.h <<_ACEOF |
|
2553 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2554 |
_ACEOF |
|
2555 |
||
2556 |
cat >>confdefs.h <<_ACEOF |
|
2557 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2558 |
_ACEOF |
|
2559 |
||
2560 |
cat >>confdefs.h <<_ACEOF |
|
2561 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2562 |
_ACEOF |
|
2563 |
||
2564 |
cat >>confdefs.h <<_ACEOF |
|
2565 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2566 |
_ACEOF |
|
2567 |
||
2568 |
cat >>confdefs.h <<_ACEOF |
|
2569 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2570 |
_ACEOF |
|
2571 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2572 |
cat >>confdefs.h <<_ACEOF |
2573 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
2574 |
_ACEOF |
|
2575 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2576 |
|
2577 |
# Let the site file select an alternate cache file if it wants to. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2578 |
# Prefer an explicitly selected file to automatically selected ones. |
2579 |
ac_site_file1=NONE |
|
2580 |
ac_site_file2=NONE |
|
2581 |
if test -n "$CONFIG_SITE"; then |
|
2582 |
# We do not want a PATH search for config.site. |
|
2583 |
case $CONFIG_SITE in #(( |
|
2584 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2585 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2586 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2587 |
esac |
|
2588 |
elif test "x$prefix" != xNONE; then |
|
2589 |
ac_site_file1=$prefix/share/config.site |
|
2590 |
ac_site_file2=$prefix/etc/config.site |
|
2591 |
else |
|
2592 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2593 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2594 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2595 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2596 |
do |
|
2597 |
test "x$ac_site_file" = xNONE && continue |
|
2598 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2600 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2601 |
sed 's/^/| /' "$ac_site_file" >&5 |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2602 |
. "$ac_site_file" \ |
2603 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2604 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2605 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2606 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2607 |
fi |
2608 |
done |
|
2609 |
||
2610 |
if test -r "$cache_file"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2611 |
# Some versions of bash will fail to source /dev/null (special files |
2612 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2613 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2615 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2616 |
case $cache_file in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2617 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2618 |
*) . "./$cache_file";; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2619 |
esac |
2620 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2621 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2623 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2624 |
>$cache_file |
2625 |
fi |
|
2626 |
||
2627 |
# Check that the precious variables saved in the cache have kept the same |
|
2628 |
# value. |
|
2629 |
ac_cache_corrupted=false |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2630 |
for ac_var in $ac_precious_vars; do |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2631 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2632 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2633 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2634 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2635 |
case $ac_old_set,$ac_new_set in |
2636 |
set,) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2638 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2639 |
ac_cache_corrupted=: ;; |
2640 |
,set) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2642 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2643 |
ac_cache_corrupted=: ;; |
2644 |
,);; |
|
2645 |
*) |
|
2646 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2647 |
# differences in whitespace do not lead to failure. |
2648 |
ac_old_val_w=`echo x $ac_old_val` |
|
2649 |
ac_new_val_w=`echo x $ac_new_val` |
|
2650 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2652 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2653 |
ac_cache_corrupted=: |
|
2654 |
else |
|
2655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2656 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2657 |
eval $ac_var=\$ac_old_val |
|
2658 |
fi |
|
2659 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2660 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2662 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2663 |
fi;; |
2664 |
esac |
|
2665 |
# Pass precious variables to config.status. |
|
2666 |
if test "$ac_new_set" = set; then |
|
2667 |
case $ac_new_val in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2668 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2669 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2670 |
esac |
|
2671 |
case " $ac_configure_args " in |
|
2672 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2673 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2674 |
esac |
2675 |
fi |
|
2676 |
done |
|
2677 |
if $ac_cache_corrupted; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2679 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2681 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2682 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2683 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2684 |
## -------------------- ## |
2685 |
## Main body of script. ## |
|
2686 |
## -------------------- ## |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2687 |
|
2688 |
ac_ext=c |
|
2689 |
ac_cpp='$CPP $CPPFLAGS' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2690 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2691 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2692 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2693 |
||
2694 |
||
2695 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
2696 |
ac_aux_dir= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2697 |
for ac_dir in config "$srcdir"/config; do |
2698 |
if test -f "$ac_dir/install-sh"; then |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2699 |
ac_aux_dir=$ac_dir |
2700 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2701 |
break |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2702 |
elif test -f "$ac_dir/install.sh"; then |
1
by Andreas Rottmann
Import upstream version 20001213 |
2703 |
ac_aux_dir=$ac_dir |
2704 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2705 |
break |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2706 |
elif test -f "$ac_dir/shtool"; then |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2707 |
ac_aux_dir=$ac_dir |
2708 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2709 |
break |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2710 |
fi |
2711 |
done |
|
2712 |
if test -z "$ac_aux_dir"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2713 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2714 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2715 |
|
2716 |
# These three variables are undocumented and unsupported, |
|
2717 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2718 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2719 |
# whose full name contains unusual characters. |
|
2720 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2721 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2722 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2723 |
||
2724 |
||
2725 |
||
2726 |
||
2727 |
ac_config_headers="$ac_config_headers blitz/config.h" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2728 |
|
2729 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2730 |
# Make sure we can run config.sub. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2731 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2732 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2733 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2735 |
$as_echo_n "checking build system type... " >&6; } |
|
2736 |
if ${ac_cv_build+:} false; then : |
|
2737 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2738 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2739 |
ac_build_alias=$build_alias |
2740 |
test "x$ac_build_alias" = x && |
|
2741 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
2742 |
test "x$ac_build_alias" = x && |
|
2743 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
2744 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
2745 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2746 |
|
2747 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2749 |
$as_echo "$ac_cv_build" >&6; } |
|
2750 |
case $ac_cv_build in |
|
2751 |
*-*-*) ;; |
|
2752 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
2753 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2754 |
build=$ac_cv_build |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2755 |
ac_save_IFS=$IFS; IFS='-' |
2756 |
set x $ac_cv_build |
|
2757 |
shift |
|
2758 |
build_cpu=$1 |
|
2759 |
build_vendor=$2 |
|
2760 |
shift; shift |
|
2761 |
# Remember, the first character of IFS is used to create $*, |
|
2762 |
# except with old shells: |
|
2763 |
build_os=$* |
|
2764 |
IFS=$ac_save_IFS |
|
2765 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
2766 |
||
2767 |
||
2768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
2769 |
$as_echo_n "checking host system type... " >&6; } |
|
2770 |
if ${ac_cv_host+:} false; then : |
|
2771 |
$as_echo_n "(cached) " >&6 |
|
2772 |
else |
|
2773 |
if test "x$host_alias" = x; then |
|
2774 |
ac_cv_host=$ac_cv_build |
|
2775 |
else |
|
2776 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
2777 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
2778 |
fi |
|
2779 |
||
2780 |
fi |
|
2781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
2782 |
$as_echo "$ac_cv_host" >&6; } |
|
2783 |
case $ac_cv_host in |
|
2784 |
*-*-*) ;; |
|
2785 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
2786 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2787 |
host=$ac_cv_host |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2788 |
ac_save_IFS=$IFS; IFS='-' |
2789 |
set x $ac_cv_host |
|
2790 |
shift |
|
2791 |
host_cpu=$1 |
|
2792 |
host_vendor=$2 |
|
2793 |
shift; shift |
|
2794 |
# Remember, the first character of IFS is used to create $*, |
|
2795 |
# except with old shells: |
|
2796 |
host_os=$* |
|
2797 |
IFS=$ac_save_IFS |
|
2798 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
2799 |
||
2800 |
||
2801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
|
2802 |
$as_echo_n "checking target system type... " >&6; } |
|
2803 |
if ${ac_cv_target+:} false; then : |
|
2804 |
$as_echo_n "(cached) " >&6 |
|
2805 |
else |
|
2806 |
if test "x$target_alias" = x; then |
|
2807 |
ac_cv_target=$ac_cv_host |
|
2808 |
else |
|
2809 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
|
2810 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
|
2811 |
fi |
|
2812 |
||
2813 |
fi |
|
2814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
|
2815 |
$as_echo "$ac_cv_target" >&6; } |
|
2816 |
case $ac_cv_target in |
|
2817 |
*-*-*) ;; |
|
2818 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
|
2819 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2820 |
target=$ac_cv_target |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2821 |
ac_save_IFS=$IFS; IFS='-' |
2822 |
set x $ac_cv_target |
|
2823 |
shift |
|
2824 |
target_cpu=$1 |
|
2825 |
target_vendor=$2 |
|
2826 |
shift; shift |
|
2827 |
# Remember, the first character of IFS is used to create $*, |
|
2828 |
# except with old shells: |
|
2829 |
target_os=$* |
|
2830 |
IFS=$ac_save_IFS |
|
2831 |
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2832 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
2833 |
|
2834 |
# The aliases save the names the user supplied, while $host etc. |
|
2835 |
# will get canonicalized. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2836 |
test -n "$target_alias" && |
1
by Andreas Rottmann
Import upstream version 20001213 |
2837 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
2838 |
NONENONEs,x,x, && |
|
2839 |
program_prefix=${target_alias}- |
|
2840 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2841 |
am__api_version='1.11' |
2842 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2843 |
# Find a good install program. We prefer a C program (faster), |
2844 |
# so one script is as good as another. But avoid the broken or |
|
2845 |
# incompatible versions: |
|
2846 |
# SysV /etc/install, /usr/sbin/install |
|
2847 |
# SunOS /usr/etc/install |
|
2848 |
# IRIX /sbin/install |
|
2849 |
# AIX /bin/install |
|
2850 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2851 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2852 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2853 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2854 |
# OS/2's system install, which has a completely different semantic |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2855 |
# ./install, which can be erroneously created by make from ./install.sh. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2856 |
# Reject install programs that cannot install multiple files. |
2857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2858 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2859 |
if test -z "$INSTALL"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2860 |
if ${ac_cv_path_install+:} false; then : |
2861 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2862 |
else |
2863 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2864 |
for as_dir in $PATH |
|
2865 |
do |
|
2866 |
IFS=$as_save_IFS |
|
2867 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2868 |
# Account for people who put trailing slashes in PATH elements. |
2869 |
case $as_dir/ in #(( |
|
2870 |
./ | .// | /[cC]/* | \ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2871 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2872 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2873 |
/usr/ucb/* ) ;; |
2874 |
*) |
|
2875 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2876 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2877 |
# by default. |
|
2878 |
for ac_prog in ginstall scoinst install; do |
|
2879 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2880 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2881 |
if test $ac_prog = install && |
2882 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2883 |
# AIX install. It has an incompatible calling convention. |
|
2884 |
: |
|
2885 |
elif test $ac_prog = install && |
|
2886 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2887 |
# program-specific install script used by HP pwplus--don't use. |
|
2888 |
: |
|
2889 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2890 |
rm -rf conftest.one conftest.two conftest.dir |
2891 |
echo one > conftest.one |
|
2892 |
echo two > conftest.two |
|
2893 |
mkdir conftest.dir |
|
2894 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2895 |
test -s conftest.one && test -s conftest.two && |
|
2896 |
test -s conftest.dir/conftest.one && |
|
2897 |
test -s conftest.dir/conftest.two |
|
2898 |
then |
|
2899 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2900 |
break 3 |
|
2901 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
2902 |
fi |
2903 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2904 |
done |
2905 |
done |
|
2906 |
;; |
|
2907 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2908 |
|
2909 |
done |
|
2910 |
IFS=$as_save_IFS |
|
2911 |
||
2912 |
rm -rf conftest.one conftest.two conftest.dir |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2913 |
|
2914 |
fi |
|
2915 |
if test "${ac_cv_path_install+set}" = set; then |
|
2916 |
INSTALL=$ac_cv_path_install |
|
2917 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2918 |
# As a last resort, use the slow shell script. Don't cache a |
2919 |
# value for INSTALL within a source directory, because that will |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2920 |
# break other packages using the cache if that directory is |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2921 |
# removed, or if the value is a relative name. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2922 |
INSTALL=$ac_install_sh |
2923 |
fi |
|
2924 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2926 |
$as_echo "$INSTALL" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2927 |
|
2928 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2929 |
# It thinks the first close brace ends the variable substitution. |
|
2930 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2931 |
||
2932 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2933 |
||
2934 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2935 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2937 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2938 |
# Just in case |
2939 |
sleep 1 |
|
2940 |
echo timestamp > conftest.file |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2941 |
# Reject unsafe characters in $srcdir or the absolute working directory |
2942 |
# name. Accept space and tab only in the latter. |
|
2943 |
am_lf=' |
|
2944 |
' |
|
2945 |
case `pwd` in |
|
2946 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
2947 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2948 |
esac |
|
2949 |
case $srcdir in |
|
2950 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2951 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
|
2952 |
esac |
|
2953 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2954 |
# Do `set' in a subshell so we don't clobber the current shell's |
2955 |
# arguments. Must try -L first in case configure is actually a |
|
2956 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2957 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2958 |
# directory). |
|
2959 |
if ( |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2960 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2961 |
if test "$*" = "X"; then |
2962 |
# -L didn't work. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2963 |
set X `ls -t "$srcdir/configure" conftest.file` |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2964 |
fi |
2965 |
rm -f conftest.file |
|
2966 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2967 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2968 |
||
2969 |
# If neither matched, then we have a broken ls. This can happen |
|
2970 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2971 |
# broken ls alias from the environment. This has actually |
|
2972 |
# happened. Such a system could not be considered "sane". |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2973 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2974 |
alias in your environment" "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2975 |
fi |
2976 |
||
2977 |
test "$2" = conftest.file |
|
2978 |
) |
|
2979 |
then |
|
2980 |
# Ok. |
|
2981 |
: |
|
2982 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2983 |
as_fn_error $? "newly created file is older than distributed files! |
2984 |
Check your system clock" "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2985 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2986 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2987 |
$as_echo "yes" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2988 |
test "$program_prefix" != NONE && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2989 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2990 |
# Use a double $ so make ignores it. |
2991 |
test "$program_suffix" != NONE && |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2992 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2993 |
# Double any \ or $. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2994 |
# By default was `s,x,x', remove it if useless. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
2995 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2996 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
2997 |
|
2998 |
# expand $ac_aux_dir to an absolute path |
|
2999 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
3000 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3001 |
if test x"${MISSING+set}" != xset; then |
3002 |
case $am_aux_dir in |
|
3003 |
*\ * | *\ *) |
|
3004 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
3005 |
*) |
|
3006 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
3007 |
esac |
|
3008 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3009 |
# Use eval to expand $SHELL |
3010 |
if eval "$MISSING --run true"; then |
|
3011 |
am_missing_run="$MISSING --run " |
|
3012 |
else |
|
3013 |
am_missing_run= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
3015 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
3016 |
fi |
|
3017 |
||
3018 |
if test x"${install_sh}" != xset; then |
|
3019 |
case $am_aux_dir in |
|
3020 |
*\ * | *\ *) |
|
3021 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
3022 |
*) |
|
3023 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
3024 |
esac |
|
3025 |
fi |
|
3026 |
||
3027 |
# Installed binaries are usually stripped using `strip' when the user |
|
3028 |
# run `make install-strip'. However `strip' might not be the right |
|
3029 |
# tool to use in cross-compilation environments, therefore Automake |
|
3030 |
# will honor the `STRIP' environment variable to overrule this program. |
|
3031 |
if test "$cross_compiling" != no; then |
|
3032 |
if test -n "$ac_tool_prefix"; then |
|
3033 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
3034 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3036 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3037 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
3038 |
$as_echo_n "(cached) " >&6 |
|
3039 |
else |
|
3040 |
if test -n "$STRIP"; then |
|
3041 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
3042 |
else |
|
3043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3044 |
for as_dir in $PATH |
|
3045 |
do |
|
3046 |
IFS=$as_save_IFS |
|
3047 |
test -z "$as_dir" && as_dir=. |
|
3048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3049 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3050 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
3051 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3052 |
break 2 |
|
3053 |
fi |
|
3054 |
done |
|
3055 |
done |
|
3056 |
IFS=$as_save_IFS |
|
3057 |
||
3058 |
fi |
|
3059 |
fi |
|
3060 |
STRIP=$ac_cv_prog_STRIP |
|
3061 |
if test -n "$STRIP"; then |
|
3062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
3063 |
$as_echo "$STRIP" >&6; } |
|
3064 |
else |
|
3065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3066 |
$as_echo "no" >&6; } |
|
3067 |
fi |
|
3068 |
||
3069 |
||
3070 |
fi |
|
3071 |
if test -z "$ac_cv_prog_STRIP"; then |
|
3072 |
ac_ct_STRIP=$STRIP |
|
3073 |
# Extract the first word of "strip", so it can be a program name with args. |
|
3074 |
set dummy strip; ac_word=$2 |
|
3075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3076 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3077 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
3078 |
$as_echo_n "(cached) " >&6 |
|
3079 |
else |
|
3080 |
if test -n "$ac_ct_STRIP"; then |
|
3081 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
3082 |
else |
|
3083 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3084 |
for as_dir in $PATH |
|
3085 |
do |
|
3086 |
IFS=$as_save_IFS |
|
3087 |
test -z "$as_dir" && as_dir=. |
|
3088 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3089 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3090 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
3091 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3092 |
break 2 |
|
3093 |
fi |
|
3094 |
done |
|
3095 |
done |
|
3096 |
IFS=$as_save_IFS |
|
3097 |
||
3098 |
fi |
|
3099 |
fi |
|
3100 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
3101 |
if test -n "$ac_ct_STRIP"; then |
|
3102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
3103 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
3104 |
else |
|
3105 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3106 |
$as_echo "no" >&6; } |
|
3107 |
fi |
|
3108 |
||
3109 |
if test "x$ac_ct_STRIP" = x; then |
|
3110 |
STRIP=":" |
|
3111 |
else |
|
3112 |
case $cross_compiling:$ac_tool_warned in |
|
3113 |
yes:) |
|
3114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3115 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3116 |
ac_tool_warned=yes ;; |
|
3117 |
esac |
|
3118 |
STRIP=$ac_ct_STRIP |
|
3119 |
fi |
|
3120 |
else |
|
3121 |
STRIP="$ac_cv_prog_STRIP" |
|
3122 |
fi |
|
3123 |
||
3124 |
fi |
|
3125 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
3126 |
||
3127 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
3128 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
3129 |
if test -z "$MKDIR_P"; then |
|
3130 |
if ${ac_cv_path_mkdir+:} false; then : |
|
3131 |
$as_echo_n "(cached) " >&6 |
|
3132 |
else |
|
3133 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3134 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
3135 |
do |
|
3136 |
IFS=$as_save_IFS |
|
3137 |
test -z "$as_dir" && as_dir=. |
|
3138 |
for ac_prog in mkdir gmkdir; do |
|
3139 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3140 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
3141 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
3142 |
'mkdir (GNU coreutils) '* | \ |
|
3143 |
'mkdir (coreutils) '* | \ |
|
3144 |
'mkdir (fileutils) '4.1*) |
|
3145 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
3146 |
break 3;; |
|
3147 |
esac |
|
3148 |
done |
|
3149 |
done |
|
3150 |
done |
|
3151 |
IFS=$as_save_IFS |
|
3152 |
||
3153 |
fi |
|
3154 |
||
3155 |
test -d ./--version && rmdir ./--version |
|
3156 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
3157 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
3158 |
else |
|
3159 |
# As a last resort, use the slow shell script. Don't cache a |
|
3160 |
# value for MKDIR_P within a source directory, because that will |
|
3161 |
# break other packages using the cache if that directory is |
|
3162 |
# removed, or if the value is a relative name. |
|
3163 |
MKDIR_P="$ac_install_sh -d" |
|
3164 |
fi |
|
3165 |
fi |
|
3166 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
3167 |
$as_echo "$MKDIR_P" >&6; } |
|
3168 |
||
3169 |
mkdir_p="$MKDIR_P" |
|
3170 |
case $mkdir_p in |
|
3171 |
[\\/$]* | ?:[\\/]*) ;; |
|
3172 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
3173 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3174 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3175 |
for ac_prog in gawk mawk nawk awk |
3176 |
do |
|
3177 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3178 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3180 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3181 |
if ${ac_cv_prog_AWK+:} false; then : |
|
3182 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3183 |
else |
3184 |
if test -n "$AWK"; then |
|
3185 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
3186 |
else |
|
3187 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3188 |
for as_dir in $PATH |
|
3189 |
do |
|
3190 |
IFS=$as_save_IFS |
|
3191 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3192 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3193 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3194 |
ac_cv_prog_AWK="$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3195 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3196 |
break 2 |
3197 |
fi |
|
3198 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3199 |
done |
3200 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3201 |
|
3202 |
fi |
|
3203 |
fi |
|
3204 |
AWK=$ac_cv_prog_AWK |
|
3205 |
if test -n "$AWK"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3207 |
$as_echo "$AWK" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3208 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3209 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3210 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3211 |
fi |
3212 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3213 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3214 |
test -n "$AWK" && break |
3215 |
done |
|
3216 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3218 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
3219 |
set x ${MAKE-make} |
|
3220 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
3221 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
3222 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3223 |
else |
3224 |
cat >conftest.make <<\_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3225 |
SHELL = /bin/sh |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3226 |
all: |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3227 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3228 |
_ACEOF |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3229 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
3230 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
3231 |
*@@@%%%=?*=@@@%%%*) |
|
3232 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
3233 |
*) |
|
3234 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
3235 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3236 |
rm -f conftest.make |
3237 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3238 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3239 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3240 |
$as_echo "yes" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3241 |
SET_MAKE= |
3242 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3244 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3245 |
SET_MAKE="MAKE=${MAKE-make}" |
3246 |
fi |
|
3247 |
||
3248 |
rm -rf .tst 2>/dev/null |
|
3249 |
mkdir .tst 2>/dev/null |
|
3250 |
if test -d .tst; then |
|
3251 |
am__leading_dot=. |
|
3252 |
else |
|
3253 |
am__leading_dot=_ |
|
3254 |
fi |
|
3255 |
rmdir .tst 2>/dev/null |
|
3256 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3257 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3258 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
3259 |
# is not polluted with repeated "-I." |
|
3260 |
am__isrc=' -I$(srcdir)' |
|
3261 |
# test to see if srcdir already configured |
|
3262 |
if test -f $srcdir/config.status; then |
|
3263 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
3264 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3265 |
fi |
3266 |
||
3267 |
# test whether we have cygpath |
|
3268 |
if test -z "$CYGPATH_W"; then |
|
3269 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
3270 |
CYGPATH_W='cygpath -w' |
|
3271 |
else |
|
3272 |
CYGPATH_W=echo |
|
3273 |
fi |
|
3274 |
fi |
|
3275 |
||
3276 |
||
3277 |
# Define the identity of the package. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3278 |
PACKAGE='blitz' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3279 |
VERSION='0.10' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3280 |
|
3281 |
||
3282 |
cat >>confdefs.h <<_ACEOF |
|
3283 |
#define PACKAGE "$PACKAGE" |
|
3284 |
_ACEOF |
|
3285 |
||
3286 |
||
3287 |
cat >>confdefs.h <<_ACEOF |
|
3288 |
#define VERSION "$VERSION" |
|
3289 |
_ACEOF |
|
3290 |
||
3291 |
# Some tools Automake needs. |
|
3292 |
||
3293 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
3294 |
||
3295 |
||
3296 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
3297 |
||
3298 |
||
3299 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
3300 |
||
3301 |
||
3302 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
3303 |
||
3304 |
||
3305 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
3306 |
||
3307 |
# We need awk for the "check" target. The system "awk" is bad on |
|
3308 |
# some platforms. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3309 |
# Always define AMTAR for backward compatibility. |
3310 |
||
3311 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
3312 |
||
3313 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
3314 |
||
3315 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3316 |
|
3317 |
||
3318 |
||
3319 |
||
3320 |
# Avoid generating makefile rules to rebuild maintainer-only files by |
|
3321 |
# default. Maintainers may override this default and generate these |
|
3322 |
# makefile rules using the `--enable-maintainer-mode' configure option. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3323 |
|
3324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
3325 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
3326 |
# Check whether --enable-maintainer-mode was given. |
|
3327 |
if test "${enable_maintainer_mode+set}" = set; then : |
|
3328 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3329 |
else |
3330 |
USE_MAINTAINER_MODE=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3331 |
fi |
3332 |
||
3333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
|
3334 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
3335 |
if test $USE_MAINTAINER_MODE = yes; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3336 |
MAINTAINER_MODE_TRUE= |
3337 |
MAINTAINER_MODE_FALSE='#' |
|
3338 |
else |
|
3339 |
MAINTAINER_MODE_TRUE='#' |
|
3340 |
MAINTAINER_MODE_FALSE= |
|
3341 |
fi |
|
3342 |
||
3343 |
MAINT=$MAINTAINER_MODE_TRUE |
|
3344 |
||
3345 |
||
3346 |
||
3347 |
# Blitz++ configure utility, generated by autoconf. |
|
3348 |
# |
|
3349 |
# If you want to modify this file, make sure you are editing |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3350 |
# configure.ac, and not configure. |
3351 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3353 |
|
3354 |
Configuring $PACKAGE_STRING for $target |
|
3355 |
||
3356 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3357 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3358 |
|
3359 |
Configuring $PACKAGE_STRING for $target |
|
3360 |
||
3361 |
" >&6;} |
|
3362 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3363 |
# C++ compiler |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3364 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3365 |
ac_cpp='$CXXCPP $CPPFLAGS' |
3366 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3367 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3368 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3369 |
if test -z "$CXX"; then |
3370 |
if test -n "$CCC"; then |
|
3371 |
CXX=$CCC |
|
3372 |
else |
|
3373 |
if test -n "$ac_tool_prefix"; then |
|
3374 |
for ac_prog in xlc++ xlC icpc pathCC pgCC cxx aCC c++ CC g++ clang++ KCC FCC |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3375 |
do |
3376 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3377 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3378 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3379 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3380 |
if ${ac_cv_prog_CXX+:} false; then : |
|
3381 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3382 |
else |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3383 |
if test -n "$CXX"; then |
3384 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3385 |
else |
3386 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3387 |
for as_dir in $PATH |
|
3388 |
do |
|
3389 |
IFS=$as_save_IFS |
|
3390 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3391 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3392 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3393 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3394 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3395 |
break 2 |
3396 |
fi |
|
3397 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3398 |
done |
3399 |
IFS=$as_save_IFS |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3400 |
|
3401 |
fi |
|
3402 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3403 |
CXX=$ac_cv_prog_CXX |
3404 |
if test -n "$CXX"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
3406 |
$as_echo "$CXX" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3407 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3409 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3410 |
fi |
3411 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3412 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3413 |
test -n "$CXX" && break |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3414 |
done |
3415 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3416 |
if test -z "$CXX"; then |
3417 |
ac_ct_CXX=$CXX |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3418 |
for ac_prog in xlc++ xlC icpc pathCC pgCC cxx aCC c++ CC g++ clang++ KCC FCC |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3419 |
do |
3420 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3421 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3422 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3423 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3424 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
|
3425 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3426 |
else |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3427 |
if test -n "$ac_ct_CXX"; then |
3428 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3429 |
else |
3430 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3431 |
for as_dir in $PATH |
|
3432 |
do |
|
3433 |
IFS=$as_save_IFS |
|
3434 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3435 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3436 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3437 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3438 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3439 |
break 2 |
3440 |
fi |
|
3441 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3442 |
done |
3443 |
IFS=$as_save_IFS |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3444 |
|
3445 |
fi |
|
3446 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3447 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3448 |
if test -n "$ac_ct_CXX"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
3450 |
$as_echo "$ac_ct_CXX" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3451 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3453 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3454 |
fi |
3455 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3456 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3457 |
test -n "$ac_ct_CXX" && break |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3458 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3459 |
|
3460 |
if test "x$ac_ct_CXX" = x; then |
|
3461 |
CXX="g++" |
|
3462 |
else |
|
3463 |
case $cross_compiling:$ac_tool_warned in |
|
3464 |
yes:) |
|
3465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3466 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3467 |
ac_tool_warned=yes ;; |
|
3468 |
esac |
|
3469 |
CXX=$ac_ct_CXX |
|
3470 |
fi |
|
3471 |
fi |
|
3472 |
||
3473 |
fi |
|
3474 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3475 |
# Provide some information about the compiler. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3476 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
3477 |
set X $ac_compile |
|
3478 |
ac_compiler=$2 |
|
3479 |
for ac_option in --version -v -V -qversion; do |
|
3480 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3481 |
case "(($ac_try" in |
|
3482 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3483 |
*) ac_try_echo=$ac_try;; |
|
3484 |
esac |
|
3485 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3486 |
$as_echo "$ac_try_echo"; } >&5 |
|
3487 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3488 |
ac_status=$? |
|
3489 |
if test -s conftest.err; then |
|
3490 |
sed '10a\ |
|
3491 |
... rest of stderr output deleted ... |
|
3492 |
10q' conftest.err >conftest.er1 |
|
3493 |
cat conftest.er1 >&5 |
|
3494 |
fi |
|
3495 |
rm -f conftest.er1 conftest.err |
|
3496 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3497 |
test $ac_status = 0; } |
|
3498 |
done |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3499 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3500 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3501 |
/* end confdefs.h. */ |
3502 |
||
3503 |
int |
|
3504 |
main () |
|
3505 |
{ |
|
3506 |
||
3507 |
; |
|
3508 |
return 0; |
|
3509 |
} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3510 |
_ACEOF |
3511 |
ac_clean_files_save=$ac_clean_files |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3512 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3513 |
# Try to create an executable without -o first, disregard a.out. |
3514 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3515 |
# of exeext. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
3517 |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
|
3518 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3519 |
||
3520 |
# The possible output files: |
|
3521 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3522 |
||
3523 |
ac_rmfiles= |
|
3524 |
for ac_file in $ac_files |
|
3525 |
do |
|
3526 |
case $ac_file in |
|
3527 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3528 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3529 |
esac |
|
3530 |
done |
|
3531 |
rm -f $ac_rmfiles |
|
3532 |
||
3533 |
if { { ac_try="$ac_link_default" |
|
3534 |
case "(($ac_try" in |
|
3535 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3536 |
*) ac_try_echo=$ac_try;; |
|
3537 |
esac |
|
3538 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3539 |
$as_echo "$ac_try_echo"; } >&5 |
|
3540 |
(eval "$ac_link_default") 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3541 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3542 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3543 |
test $ac_status = 0; }; then : |
|
3544 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3545 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3546 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3547 |
# so that the user can short-circuit this test for compilers unknown to |
|
3548 |
# Autoconf. |
|
3549 |
for ac_file in $ac_files '' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3550 |
do |
3551 |
test -f "$ac_file" || continue |
|
3552 |
case $ac_file in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3553 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3554 |
;; |
3555 |
[ab].out ) |
|
3556 |
# We found the default executable, but exeext='' is most |
|
3557 |
# certainly right. |
|
3558 |
break;; |
|
3559 |
*.* ) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3560 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3561 |
then :; else |
|
3562 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3563 |
fi |
|
3564 |
# We set ac_cv_exeext here because the later test for it is not |
|
3565 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3566 |
# argument, so we may need to know it at that point already. |
|
3567 |
# Even if this section looks crufty: it has the advantage of |
|
3568 |
# actually working. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3569 |
break;; |
3570 |
* ) |
|
3571 |
break;; |
|
3572 |
esac |
|
3573 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3574 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3575 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3576 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3577 |
ac_file='' |
3578 |
fi |
|
3579 |
if test -z "$ac_file"; then : |
|
3580 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3581 |
$as_echo "no" >&6; } |
|
3582 |
$as_echo "$as_me: failed program was:" >&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3583 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3584 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3585 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3586 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3587 |
as_fn_error 77 "C++ compiler cannot create executables |
|
3588 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3589 |
else |
|
3590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3591 |
$as_echo "yes" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3592 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
3594 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
|
3595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3596 |
$as_echo "$ac_file" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3597 |
ac_exeext=$ac_cv_exeext |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3598 |
|
3599 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3600 |
ac_clean_files=$ac_clean_files_save |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3602 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3603 |
if { { ac_try="$ac_link" |
|
3604 |
case "(($ac_try" in |
|
3605 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3606 |
*) ac_try_echo=$ac_try;; |
|
3607 |
esac |
|
3608 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3609 |
$as_echo "$ac_try_echo"; } >&5 |
|
3610 |
(eval "$ac_link") 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3611 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3612 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3613 |
test $ac_status = 0; }; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3614 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3615 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3616 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3617 |
# `rm'. |
|
3618 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3619 |
test -f "$ac_file" || continue |
|
3620 |
case $ac_file in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3621 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3622 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3623 |
break;; |
|
3624 |
* ) break;; |
|
3625 |
esac |
|
3626 |
done |
|
3627 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3628 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3629 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3630 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3631 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3632 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3633 |
rm -f conftest conftest$ac_cv_exeext |
3634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3635 |
$as_echo "$ac_cv_exeext" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3636 |
|
3637 |
rm -f conftest.$ac_ext |
|
3638 |
EXEEXT=$ac_cv_exeext |
|
3639 |
ac_exeext=$EXEEXT |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3640 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3641 |
/* end confdefs.h. */ |
|
3642 |
#include <stdio.h> |
|
3643 |
int |
|
3644 |
main () |
|
3645 |
{ |
|
3646 |
FILE *f = fopen ("conftest.out", "w"); |
|
3647 |
return ferror (f) || fclose (f) != 0; |
|
3648 |
||
3649 |
; |
|
3650 |
return 0; |
|
3651 |
} |
|
3652 |
_ACEOF |
|
3653 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3654 |
# Check that the compiler produces executables we can run. If not, either |
|
3655 |
# the compiler is broken, or we cross compile. |
|
3656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3657 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3658 |
if test "$cross_compiling" != yes; then |
|
3659 |
{ { ac_try="$ac_link" |
|
3660 |
case "(($ac_try" in |
|
3661 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3662 |
*) ac_try_echo=$ac_try;; |
|
3663 |
esac |
|
3664 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3665 |
$as_echo "$ac_try_echo"; } >&5 |
|
3666 |
(eval "$ac_link") 2>&5 |
|
3667 |
ac_status=$? |
|
3668 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3669 |
test $ac_status = 0; } |
|
3670 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3671 |
{ { case "(($ac_try" in |
|
3672 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3673 |
*) ac_try_echo=$ac_try;; |
|
3674 |
esac |
|
3675 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3676 |
$as_echo "$ac_try_echo"; } >&5 |
|
3677 |
(eval "$ac_try") 2>&5 |
|
3678 |
ac_status=$? |
|
3679 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3680 |
test $ac_status = 0; }; }; then |
|
3681 |
cross_compiling=no |
|
3682 |
else |
|
3683 |
if test "$cross_compiling" = maybe; then |
|
3684 |
cross_compiling=yes |
|
3685 |
else |
|
3686 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3687 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3688 |
as_fn_error $? "cannot run C++ compiled programs. |
|
3689 |
If you meant to cross compile, use \`--host'. |
|
3690 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3691 |
fi |
|
3692 |
fi |
|
3693 |
fi |
|
3694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3695 |
$as_echo "$cross_compiling" >&6; } |
|
3696 |
||
3697 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3698 |
ac_clean_files=$ac_clean_files_save |
|
3699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3700 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
3701 |
if ${ac_cv_objext+:} false; then : |
|
3702 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3703 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3704 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3705 |
/* end confdefs.h. */ |
3706 |
||
3707 |
int |
|
3708 |
main () |
|
3709 |
{ |
|
3710 |
||
3711 |
; |
|
3712 |
return 0; |
|
3713 |
} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3714 |
_ACEOF |
3715 |
rm -f conftest.o conftest.obj |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3716 |
if { { ac_try="$ac_compile" |
3717 |
case "(($ac_try" in |
|
3718 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3719 |
*) ac_try_echo=$ac_try;; |
|
3720 |
esac |
|
3721 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3722 |
$as_echo "$ac_try_echo"; } >&5 |
|
3723 |
(eval "$ac_compile") 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3724 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3725 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3726 |
test $ac_status = 0; }; then : |
|
3727 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3728 |
test -f "$ac_file" || continue; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3729 |
case $ac_file in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3730 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3731 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3732 |
break;; |
|
3733 |
esac |
|
3734 |
done |
|
3735 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3736 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3737 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3738 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3739 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3740 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3741 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3742 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3743 |
fi |
3744 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3745 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3747 |
$as_echo "$ac_cv_objext" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3748 |
OBJEXT=$ac_cv_objext |
3749 |
ac_objext=$OBJEXT |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3751 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
3752 |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
|
3753 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3754 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3755 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3756 |
/* end confdefs.h. */ |
3757 |
||
3758 |
int |
|
3759 |
main () |
|
3760 |
{ |
|
3761 |
#ifndef __GNUC__ |
|
3762 |
choke me |
|
3763 |
#endif |
|
3764 |
||
3765 |
; |
|
3766 |
return 0; |
|
3767 |
} |
|
3768 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3769 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3770 |
ac_compiler_gnu=yes |
3771 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3772 |
ac_compiler_gnu=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3773 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3774 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3775 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3776 |
||
3777 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
3779 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
3780 |
if test $ac_compiler_gnu = yes; then |
|
3781 |
GXX=yes |
|
3782 |
else |
|
3783 |
GXX= |
|
3784 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3785 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
3786 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3788 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
3789 |
if ${ac_cv_prog_cxx_g+:} false; then : |
|
3790 |
$as_echo_n "(cached) " >&6 |
|
3791 |
else |
|
3792 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
3793 |
ac_cxx_werror_flag=yes |
|
3794 |
ac_cv_prog_cxx_g=no |
|
3795 |
CXXFLAGS="-g" |
|
3796 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3797 |
/* end confdefs.h. */ |
|
3798 |
||
3799 |
int |
|
3800 |
main () |
|
3801 |
{ |
|
3802 |
||
3803 |
; |
|
3804 |
return 0; |
|
3805 |
} |
|
3806 |
_ACEOF |
|
3807 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3808 |
ac_cv_prog_cxx_g=yes |
|
3809 |
else |
|
3810 |
CXXFLAGS="" |
|
3811 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3812 |
/* end confdefs.h. */ |
|
3813 |
||
3814 |
int |
|
3815 |
main () |
|
3816 |
{ |
|
3817 |
||
3818 |
; |
|
3819 |
return 0; |
|
3820 |
} |
|
3821 |
_ACEOF |
|
3822 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3823 |
||
3824 |
else |
|
3825 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3826 |
CXXFLAGS="-g" |
|
3827 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3828 |
/* end confdefs.h. */ |
|
3829 |
||
3830 |
int |
|
3831 |
main () |
|
3832 |
{ |
|
3833 |
||
3834 |
; |
|
3835 |
return 0; |
|
3836 |
} |
|
3837 |
_ACEOF |
|
3838 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3839 |
ac_cv_prog_cxx_g=yes |
|
3840 |
fi |
|
3841 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3842 |
fi |
|
3843 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3844 |
fi |
|
3845 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3846 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3847 |
fi |
|
3848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
|
3849 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3850 |
if test "$ac_test_CXXFLAGS" = set; then |
3851 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
3852 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
3853 |
if test "$GXX" = yes; then |
|
3854 |
CXXFLAGS="-g -O2" |
|
3855 |
else |
|
3856 |
CXXFLAGS="-g" |
|
3857 |
fi |
|
3858 |
else |
|
3859 |
if test "$GXX" = yes; then |
|
3860 |
CXXFLAGS="-O2" |
|
3861 |
else |
|
3862 |
CXXFLAGS= |
|
3863 |
fi |
|
3864 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
3865 |
ac_ext=c |
3866 |
ac_cpp='$CPP $CPPFLAGS' |
|
3867 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3868 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3869 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3870 |
DEPDIR="${am__leading_dot}deps" |
3871 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3872 |
ac_config_commands="$ac_config_commands depfiles" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3873 |
|
3874 |
||
3875 |
am_make=${MAKE-make} |
|
3876 |
cat > confinc << 'END' |
|
3877 |
am__doit: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3878 |
@echo this is the am__doit target |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3879 |
.PHONY: am__doit |
3880 |
END |
|
3881 |
# If we don't find an include directive, just comment out the code. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3882 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3883 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3884 |
am__include="#" |
3885 |
am__quote= |
|
3886 |
_am_result=none |
|
3887 |
# First try GNU make style include. |
|
3888 |
echo "include confinc" > confmf |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3889 |
# Ignore all kinds of additional output from `make'. |
3890 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3891 |
*the\ am__doit\ target*) |
|
3892 |
am__include=include |
|
3893 |
am__quote= |
|
3894 |
_am_result=GNU |
|
3895 |
;; |
|
3896 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3897 |
# Now try BSD make style include. |
3898 |
if test "$am__include" = "#"; then |
|
3899 |
echo '.include "confinc"' > confmf |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3900 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3901 |
*the\ am__doit\ target*) |
|
3902 |
am__include=.include |
|
3903 |
am__quote="\"" |
|
3904 |
_am_result=BSD |
|
3905 |
;; |
|
3906 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3907 |
fi |
3908 |
||
3909 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3911 |
$as_echo "$_am_result" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3912 |
rm -f confinc confmf |
3913 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3914 |
# Check whether --enable-dependency-tracking was given. |
3915 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
3916 |
enableval=$enable_dependency_tracking; |
|
3917 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3918 |
|
3919 |
if test "x$enable_dependency_tracking" != xno; then |
|
3920 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3921 |
AMDEPBACKSLASH='\' |
|
3922 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3923 |
if test "x$enable_dependency_tracking" != xno; then |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
3924 |
AMDEP_TRUE= |
3925 |
AMDEP_FALSE='#' |
|
3926 |
else |
|
3927 |
AMDEP_TRUE='#' |
|
3928 |
AMDEP_FALSE= |
|
3929 |
fi |
|
3930 |
||
3931 |
||
3932 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3933 |
depcc="$CXX" am_compiler_list= |
3934 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3936 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3937 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
|
3938 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3939 |
else |
3940 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3941 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3942 |
# making bogus files that we don't know about and never remove. For |
|
3943 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3944 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
3945 |
# in D'. |
|
3946 |
mkdir conftest.dir |
|
3947 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3948 |
# using a relative directory. |
|
3949 |
cp "$am_depcomp" conftest.dir |
|
3950 |
cd conftest.dir |
|
3951 |
# We will build objects and dependencies in a subdirectory because |
|
3952 |
# it helps to detect inapplicable dependency modes. For instance |
|
3953 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3954 |
# side effect of compilation, but ICC will put the dependencies in |
|
3955 |
# the current directory while Tru64 will put them in the object |
|
3956 |
# directory. |
|
3957 |
mkdir sub |
|
3958 |
||
3959 |
am_cv_CXX_dependencies_compiler_type=none |
|
3960 |
if test "$am_compiler_list" = ""; then |
|
3961 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3962 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3963 |
am__universal=false |
3964 |
case " $depcc " in #( |
|
3965 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3966 |
esac |
|
3967 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3968 |
for depmode in $am_compiler_list; do |
3969 |
# Setup a source with many dependencies, because some compilers |
|
3970 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3971 |
# we should not choose a depcomp mode which is confused by this. |
|
3972 |
# |
|
3973 |
# We need to recreate these files for each test, as the compiler may |
|
3974 |
# overwrite some of them when testing with obscure command lines. |
|
3975 |
# This happens at least with the AIX C compiler. |
|
3976 |
: > sub/conftest.c |
|
3977 |
for i in 1 2 3 4 5 6; do |
|
3978 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3979 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3980 |
# Solaris 8's {/usr,}/bin/sh. |
|
3981 |
touch sub/conftst$i.h |
|
3982 |
done |
|
3983 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3984 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3985 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3986 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3987 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
3988 |
# versions had trouble with output in subdirs |
|
3989 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3990 |
am__minus_obj="-o $am__obj" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3991 |
case $depmode in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
3992 |
gcc) |
3993 |
# This depmode causes a compiler race in universal mode. |
|
3994 |
test "$am__universal" = false || continue |
|
3995 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
3996 |
nosideeffect) |
3997 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
3998 |
# only be used when explicitly requested |
|
3999 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4000 |
continue |
|
4001 |
else |
|
4002 |
break |
|
4003 |
fi |
|
4004 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4005 |
msvisualcpp | msvcmsys) |
4006 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
4007 |
# not run yet. These depmodes are late enough in the game, and |
|
4008 |
# so weak that their functioning should not be impacted. |
|
4009 |
am__obj=conftest.${OBJEXT-o} |
|
4010 |
am__minus_obj= |
|
4011 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4012 |
none) break ;; |
4013 |
esac |
|
4014 |
if depmode=$depmode \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4015 |
source=sub/conftest.c object=$am__obj \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4016 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4017 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4018 |
>/dev/null 2>conftest.err && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4019 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4020 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4021 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4022 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4023 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4024 |
# or remarks (even with -Werror). So we grep stderr for any message |
4025 |
# that says an option was ignored or not supported. |
|
4026 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4027 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4028 |
# The diagnosis changed in icc 8.0: |
|
4029 |
# icc: Command line remark: option '-MP' not supported |
|
4030 |
if (grep 'ignoring option' conftest.err || |
|
4031 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4032 |
am_cv_CXX_dependencies_compiler_type=$depmode |
4033 |
break |
|
4034 |
fi |
|
4035 |
fi |
|
4036 |
done |
|
4037 |
||
4038 |
cd .. |
|
4039 |
rm -rf conftest.dir |
|
4040 |
else |
|
4041 |
am_cv_CXX_dependencies_compiler_type=none |
|
4042 |
fi |
|
4043 |
||
4044 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4046 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4047 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4048 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4049 |
if |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4050 |
test "x$enable_dependency_tracking" != xno \ |
4051 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
4052 |
am__fastdepCXX_TRUE= |
|
4053 |
am__fastdepCXX_FALSE='#' |
|
4054 |
else |
|
4055 |
am__fastdepCXX_TRUE='#' |
|
4056 |
am__fastdepCXX_FALSE= |
|
4057 |
fi |
|
4058 |
||
4059 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4060 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4061 |
ac_cpp='$CXXCPP $CPPFLAGS' |
4062 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4063 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4064 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4065 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4066 |
|
4067 |
||
4068 |
||
4069 |
||
4070 |
||
4071 |
||
4072 |
||
4073 |
||
4074 |
||
4075 |
||
4076 |
||
4077 |
||
4078 |
AR_FLAGS="-cru" |
|
4079 |
LDFLAGS= |
|
4080 |
||
4081 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using $CXX preset flags" >&5 |
4083 |
$as_echo_n "checking whether using $CXX preset flags... " >&6; } |
|
4084 |
# Check whether --enable-cxx-flags-preset was given. |
|
4085 |
if test "${enable_cxx_flags_preset+set}" = set; then : |
|
4086 |
enableval=$enable_cxx_flags_preset; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4087 |
else |
4088 |
enableval='yes' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4089 |
fi |
4090 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4091 |
|
4092 |
if test "$enableval" = yes ; then |
|
4093 |
||
4094 |
ac_cxx_flags_preset=yes |
|
4095 |
||
4096 |
case "$CXX" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4097 |
*xlc++*) CXX_VENDOR="IBM" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4098 |
CXXFLAGS="-qrtti" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4099 |
CXX_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qmaxmem=8192 -qansialias -qhot -qunroll=yes" |
4100 |
CXX_DEBUG_FLAGS="-g -qcheck=all -DBZ_DEBUG" |
|
4101 |
CXX_PROFIL_FLAGS="-pg" |
|
4102 |
;; |
|
4103 |
*xlC*) CXX_VENDOR="IBM" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4104 |
CXXFLAGS="-qrtti=all" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4105 |
CXX_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qmaxmem=8192 -qansialias -qhot -qunroll=yes" |
4106 |
CXX_DEBUG_FLAGS="-g -qcheck=all -DBZ_DEBUG" |
|
4107 |
CXX_PROFIL_FLAGS="-pg" |
|
4108 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4109 |
*clang++) CXX_VENDOR="LLVM" |
4110 |
CXXFLAGS="-ansi" |
|
4111 |
CXX_OPTIMIZE_FLAGS="-O3" |
|
4112 |
CXX_DEBUG_FLAGS="-g -O0 -C -DBZ_DEBUG" |
|
4113 |
CXX_PROFIL_FLAGS="-pg" |
|
4114 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4115 |
*icpc*|*icc*) CXX_VENDOR="Intel" |
4116 |
CXXFLAGS="-ansi" CXX_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -ansi_alias" |
|
4117 |
CXX_DEBUG_FLAGS="-g -O0 -C -DBZ_DEBUG" |
|
4118 |
CXX_PROFIL_FLAGS="-pg" |
|
4119 |
;; |
|
4120 |
*cxx*) CXX_VENDOR="Compaq" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4121 |
CXX_V=`cxx -V` |
4122 |
cxx_version=`expr "$CXX_V" : '.*\([0-9]\)\..*'` |
|
4123 |
cxx_release=`expr "$CXX_V" : '.*[0-9]\.\([0-9]\).*'` |
|
4124 |
if test $cxx_version -eq "6" -a $cxx_release -lt "3" ; then |
|
4125 |
CXXFLAGS="-std ansi -D__USE_STD_IOSTREAM -DBZ_ENABLE_XOPEN_SOURCE -ieee -model ansi -accept restrict_keyword -nousing_std" |
|
4126 |
else |
|
4127 |
CXXFLAGS="-std ansi -D__USE_STD_IOSTREAM -DBZ_ENABLE_XOPEN_SOURCE -D_OSF_SOURCE -ieee -model ansi -accept restrict_keyword -nousing_std" |
|
4128 |
fi |
|
4129 |
CXX_OPTIMIZE_FLAGS="-fast -inline speed -nocleanup" |
|
4130 |
CXX_DEBUG_FLAGS="-g -msg_display_tag -DBZ_DEBUG" |
|
4131 |
CXX_PROFIL_FLAGS="-pg -g1" |
|
4132 |
AR="ar" |
|
4133 |
AR_FLAGS="-rv" |
|
4134 |
RANLIB="ar ts" |
|
4135 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4136 |
*g++*|*c++*) CXX_VENDOR="GNU" |
4137 |
GCC_V=`$CXX --version` |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4138 |
gcc_version=`expr "$GCC_V" : '.* \([0-9]\)\..*'` |
4139 |
gcc_release=`expr "$GCC_V" : '.* [0-9]\.\([0-9]\).*'` |
|
4140 |
if test $gcc_version -lt "3" ; then |
|
4141 |
CXXFLAGS="-ftemplate-depth-40" |
|
4142 |
CXX_OPTIMIZE_FLAGS="-O2 -funroll-loops -fstrict-aliasing -fno-gcse" |
|
4143 |
else |
|
4144 |
CXXFLAGS="" |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4145 |
CXX_OPTIMIZE_FLAGS="-O3 -funroll-loops -fstrict-aliasing -fomit-frame-pointer -ffast-math" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4146 |
fi |
4147 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4148 |
CXX_PROFIL_FLAGS="-pg" |
|
4149 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4150 |
*KCC*) CXX_VENDOR="KAI" |
4151 |
CXXFLAGS="--restrict" |
|
4152 |
CXX_OPTIMIZE_FLAGS="+K3" |
|
4153 |
CXX_DEBUG_FLAGS="+K0 -g -DBZ_DEBUG" |
|
4154 |
AR="$CXX" |
|
4155 |
AR_FLAGS="-o" |
|
4156 |
case "$target" in |
|
4157 |
*sgi*) CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS --backend -Ofast" |
|
4158 |
;; |
|
4159 |
*ibm*) CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -O5 --backend -qstrict --backend -qstrict_induction" |
|
4160 |
;; |
|
4161 |
*) CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -O" |
|
4162 |
;; |
|
4163 |
esac |
|
4164 |
;; |
|
4165 |
*aCC*) CXX_VENDOR="HP" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4166 |
CXXFLAGS="-AA" |
4167 |
CXX_OPTIMIZE_FLAGS="+O2" |
|
4168 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4169 |
CXX_PROFIL_FLAGS="+pal" |
|
4170 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4171 |
*FCC*) CXX_VENDOR="Fujitsu" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4172 |
CXXFLAGS="-D__FUJITSU" |
4173 |
CXX_OPTIMIZE_FLAGS="-K fast" |
|
4174 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4175 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4176 |
*pgCC*) CXX_VENDOR="PGI" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4177 |
CXXFLAGS="" |
4178 |
CXX_OPTIMIZE_FLAGS="-O4 -Mnoframe -Mnodepchk -Minline=levels:25" |
|
4179 |
CXX_DEBUG_FLAGS="-g -O0 -DBZ_DEBUG" |
|
4180 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4181 |
*pathCC*) CXX_VENDOR="pathCC" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4182 |
CXXFLAGS="-ansi" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4183 |
CXX_OPTIMIZE_FLAGS="-O3 -fstrict-aliasing -finline-functions" |
4184 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4185 |
CXX_PROFIL_FLAGS="-pg" |
|
4186 |
AR="$CXX" |
|
4187 |
AR_FLAGS="-ar -o" |
|
4188 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4189 |
*CC*) |
4190 |
case "$target" in |
|
4191 |
*sgi*) CXX_VENDOR="SGI" |
|
4192 |
CXXFLAGS="-LANG:std -LANG:restrict -no_auto_include" |
|
4193 |
CXX_OPTIMIZE_FLAGS="-O3 -IPA -OPT:Olimit=0:alias=typed:swp=ON" |
|
4194 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4195 |
AR="$CXX" |
|
4196 |
AR_FLAGS="-ar -o" |
|
4197 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4198 |
*solaris*) CXX_VENDOR="SUN" |
4199 |
CXXFLAGS="-features=tmplife -library=stlport4" |
|
4200 |
CXX_OPTIMIZE_FLAGS="-O3" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4201 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4202 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4203 |
*cray*) CXX_VENDOR="Cray" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4204 |
CXXFLAGS="-h conform" |
4205 |
CXX_OPTIMIZE_FLAGS="-O3 -h unroll,aggress,scalar2" |
|
4206 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
|
4207 |
;; |
|
4208 |
*fujitsu*) CXX_VENDOR="Fujitsu" |
|
4209 |
CXXFLAGS="-D__FUJITSU --stdlib" |
|
4210 |
CXX_OPTIMIZE_FLAGS="-K3" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4211 |
CXX_DEBUG_FLAGS="-g -DBZ_DEBUG" |
4212 |
;; |
|
4213 |
esac |
|
4214 |
;; |
|
4215 |
*) |
|
4216 |
ac_cxx_flags_preset=no |
|
4217 |
;; |
|
4218 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4220 |
$as_echo "yes" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4221 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4223 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4224 |
fi |
4225 |
||
4226 |
if test "$ac_cxx_flags_preset" = yes ; then |
|
4227 |
if test "$CXX_VENDOR" = GNU ; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Setting compiler flags for $CXX_VENDOR $CXX (wahoo!)" >&5 |
4229 |
$as_echo "$as_me: Setting compiler flags for $CXX_VENDOR $CXX (wahoo!)" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4230 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Setting compiler flags for $CXX_VENDOR $CXX" >&5 |
4232 |
$as_echo "$as_me: Setting compiler flags for $CXX_VENDOR $CXX" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4233 |
fi |
4234 |
else |
|
4235 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: No flags preset found for $CXX" >&5 |
4237 |
$as_echo "$as_me: No flags preset found for $CXX" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
4238 |
fi |
4239 |
||
4240 |
||
4241 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4242 |
# Option to disable Fortran (benchmarks will not compile) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fortran compilation for benchmark codes" >&5 |
4244 |
$as_echo_n "checking whether to enable Fortran compilation for benchmark codes... " >&6; } |
|
4245 |
# Check whether --enable-fortran was given. |
|
4246 |
if test "${enable_fortran+set}" = set; then : |
|
4247 |
enableval=$enable_fortran; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4248 |
else |
4249 |
||
4250 |
enable_fortran="yes" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4251 |
fi |
4252 |
||
4253 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fortran" >&5 |
|
4254 |
$as_echo "$enable_fortran" >&6; } |
|
4255 |
if test $enable_fortran = yes; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4256 |
FORTRAN_ENABLED_TRUE= |
4257 |
FORTRAN_ENABLED_FALSE='#' |
|
4258 |
else |
|
4259 |
FORTRAN_ENABLED_TRUE='#' |
|
4260 |
FORTRAN_ENABLED_FALSE= |
|
4261 |
fi |
|
4262 |
||
4263 |
||
4264 |
# Fortran compiler |
|
4265 |
if test $enable_fortran = yes; then |
|
4266 |
ac_ext=f |
|
4267 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
4268 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4269 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
4270 |
if test -n "$ac_tool_prefix"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4271 |
for ac_prog in xlf ifort pathf90 pgf77 ftn frt gfortran f77 g77 g95 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4272 |
do |
4273 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4274 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4276 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4277 |
if ${ac_cv_prog_F77+:} false; then : |
|
4278 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4279 |
else |
4280 |
if test -n "$F77"; then |
|
4281 |
ac_cv_prog_F77="$F77" # Let the user override the test. |
|
4282 |
else |
|
4283 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4284 |
for as_dir in $PATH |
|
4285 |
do |
|
4286 |
IFS=$as_save_IFS |
|
4287 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4288 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4289 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4290 |
ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4291 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4292 |
break 2 |
4293 |
fi |
|
4294 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4295 |
done |
4296 |
IFS=$as_save_IFS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4297 |
|
4298 |
fi |
|
4299 |
fi |
|
4300 |
F77=$ac_cv_prog_F77 |
|
4301 |
if test -n "$F77"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 |
4303 |
$as_echo "$F77" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4304 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4306 |
$as_echo "no" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4307 |
fi |
4308 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4309 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4310 |
test -n "$F77" && break |
4311 |
done |
|
4312 |
fi |
|
4313 |
if test -z "$F77"; then |
|
4314 |
ac_ct_F77=$F77 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4315 |
for ac_prog in xlf ifort pathf90 pgf77 ftn frt gfortran f77 g77 g95 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4316 |
do |
4317 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4318 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4320 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4321 |
if ${ac_cv_prog_ac_ct_F77+:} false; then : |
|
4322 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4323 |
else |
4324 |
if test -n "$ac_ct_F77"; then |
|
4325 |
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
|
4326 |
else |
|
4327 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4328 |
for as_dir in $PATH |
|
4329 |
do |
|
4330 |
IFS=$as_save_IFS |
|
4331 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4332 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4333 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4334 |
ac_cv_prog_ac_ct_F77="$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4335 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4336 |
break 2 |
4337 |
fi |
|
4338 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4339 |
done |
4340 |
IFS=$as_save_IFS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4341 |
|
4342 |
fi |
|
4343 |
fi |
|
4344 |
ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
|
4345 |
if test -n "$ac_ct_F77"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 |
4347 |
$as_echo "$ac_ct_F77" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4348 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4349 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4350 |
$as_echo "no" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4351 |
fi |
4352 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4353 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4354 |
test -n "$ac_ct_F77" && break |
4355 |
done |
|
4356 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4357 |
if test "x$ac_ct_F77" = x; then |
4358 |
F77="" |
|
4359 |
else |
|
4360 |
case $cross_compiling:$ac_tool_warned in |
|
4361 |
yes:) |
|
4362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4363 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4364 |
ac_tool_warned=yes ;; |
|
4365 |
esac |
|
4366 |
F77=$ac_ct_F77 |
|
4367 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4368 |
fi |
4369 |
||
4370 |
||
4371 |
# Provide some information about the compiler. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4372 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 |
4373 |
set X $ac_compile |
|
4374 |
ac_compiler=$2 |
|
4375 |
for ac_option in --version -v -V -qversion; do |
|
4376 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
4377 |
case "(($ac_try" in |
|
4378 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4379 |
*) ac_try_echo=$ac_try;; |
|
4380 |
esac |
|
4381 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4382 |
$as_echo "$ac_try_echo"; } >&5 |
|
4383 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
4384 |
ac_status=$? |
|
4385 |
if test -s conftest.err; then |
|
4386 |
sed '10a\ |
|
4387 |
... rest of stderr output deleted ... |
|
4388 |
10q' conftest.err >conftest.er1 |
|
4389 |
cat conftest.er1 >&5 |
|
4390 |
fi |
|
4391 |
rm -f conftest.er1 conftest.err |
|
4392 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4393 |
test $ac_status = 0; } |
|
4394 |
done |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4395 |
rm -f a.out |
4396 |
||
4397 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
|
4398 |
# input file. (Note that this only needs to work for GNU compilers.) |
|
4399 |
ac_save_ext=$ac_ext |
|
4400 |
ac_ext=F |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 |
4402 |
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } |
|
4403 |
if ${ac_cv_f77_compiler_gnu+:} false; then : |
|
4404 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4405 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4406 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4407 |
program main |
4408 |
#ifndef __GNUC__ |
|
4409 |
choke me |
|
4410 |
#endif |
|
4411 |
||
4412 |
end |
|
4413 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4414 |
if ac_fn_f77_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4415 |
ac_compiler_gnu=yes |
4416 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4417 |
ac_compiler_gnu=no |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4418 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4419 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4420 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
4421 |
||
4422 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 |
4424 |
$as_echo "$ac_cv_f77_compiler_gnu" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4425 |
ac_ext=$ac_save_ext |
4426 |
ac_test_FFLAGS=${FFLAGS+set} |
|
4427 |
ac_save_FFLAGS=$FFLAGS |
|
4428 |
FFLAGS= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 |
4430 |
$as_echo_n "checking whether $F77 accepts -g... " >&6; } |
|
4431 |
if ${ac_cv_prog_f77_g+:} false; then : |
|
4432 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4433 |
else |
4434 |
FFLAGS=-g |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4435 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4436 |
program main |
4437 |
||
4438 |
end |
|
4439 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4440 |
if ac_fn_f77_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4441 |
ac_cv_prog_f77_g=yes |
4442 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4443 |
ac_cv_prog_f77_g=no |
4444 |
fi |
|
4445 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4446 |
||
4447 |
fi |
|
4448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 |
|
4449 |
$as_echo "$ac_cv_prog_f77_g" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4450 |
if test "$ac_test_FFLAGS" = set; then |
4451 |
FFLAGS=$ac_save_FFLAGS |
|
4452 |
elif test $ac_cv_prog_f77_g = yes; then |
|
4453 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
4454 |
FFLAGS="-g -O2" |
|
4455 |
else |
|
4456 |
FFLAGS="-g" |
|
4457 |
fi |
|
4458 |
else |
|
4459 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
4460 |
FFLAGS="-O2" |
|
4461 |
else |
|
4462 |
FFLAGS= |
|
4463 |
fi |
|
4464 |
fi |
|
4465 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4466 |
if test $ac_compiler_gnu = yes; then |
4467 |
G77=yes |
|
4468 |
else |
|
4469 |
G77= |
|
4470 |
fi |
|
4471 |
ac_ext=cpp |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4472 |
ac_cpp='$CXXCPP $CPPFLAGS' |
4473 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4474 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4475 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4476 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4477 |
ac_ext=${ac_fc_srcext-f} |
4478 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
4479 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4480 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
4481 |
if test -n "$ac_tool_prefix"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4482 |
for ac_prog in xlf90 ifort pathf90 pgf90 ftn frt f90 gfortran g95 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4483 |
do |
4484 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4485 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4487 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4488 |
if ${ac_cv_prog_FC+:} false; then : |
|
4489 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4490 |
else |
4491 |
if test -n "$FC"; then |
|
4492 |
ac_cv_prog_FC="$FC" # Let the user override the test. |
|
4493 |
else |
|
4494 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4495 |
for as_dir in $PATH |
|
4496 |
do |
|
4497 |
IFS=$as_save_IFS |
|
4498 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4499 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4500 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4501 |
ac_cv_prog_FC="$ac_tool_prefix$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4502 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4503 |
break 2 |
4504 |
fi |
|
4505 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4506 |
done |
4507 |
IFS=$as_save_IFS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4508 |
|
4509 |
fi |
|
4510 |
fi |
|
4511 |
FC=$ac_cv_prog_FC |
|
4512 |
if test -n "$FC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5 |
4514 |
$as_echo "$FC" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4515 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4517 |
$as_echo "no" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4518 |
fi |
4519 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4520 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4521 |
test -n "$FC" && break |
4522 |
done |
|
4523 |
fi |
|
4524 |
if test -z "$FC"; then |
|
4525 |
ac_ct_FC=$FC |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4526 |
for ac_prog in xlf90 ifort pathf90 pgf90 ftn frt f90 gfortran g95 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4527 |
do |
4528 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4529 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4531 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4532 |
if ${ac_cv_prog_ac_ct_FC+:} false; then : |
|
4533 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4534 |
else |
4535 |
if test -n "$ac_ct_FC"; then |
|
4536 |
ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. |
|
4537 |
else |
|
4538 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4539 |
for as_dir in $PATH |
|
4540 |
do |
|
4541 |
IFS=$as_save_IFS |
|
4542 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4543 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4544 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4545 |
ac_cv_prog_ac_ct_FC="$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4546 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4547 |
break 2 |
4548 |
fi |
|
4549 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4550 |
done |
4551 |
IFS=$as_save_IFS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4552 |
|
4553 |
fi |
|
4554 |
fi |
|
4555 |
ac_ct_FC=$ac_cv_prog_ac_ct_FC |
|
4556 |
if test -n "$ac_ct_FC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5 |
4558 |
$as_echo "$ac_ct_FC" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4559 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4561 |
$as_echo "no" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4562 |
fi |
4563 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4564 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4565 |
test -n "$ac_ct_FC" && break |
4566 |
done |
|
4567 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4568 |
if test "x$ac_ct_FC" = x; then |
4569 |
FC="" |
|
4570 |
else |
|
4571 |
case $cross_compiling:$ac_tool_warned in |
|
4572 |
yes:) |
|
4573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4574 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4575 |
ac_tool_warned=yes ;; |
|
4576 |
esac |
|
4577 |
FC=$ac_ct_FC |
|
4578 |
fi |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4579 |
fi |
4580 |
||
4581 |
||
4582 |
# Provide some information about the compiler. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4583 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5 |
4584 |
set X $ac_compile |
|
4585 |
ac_compiler=$2 |
|
4586 |
for ac_option in --version -v -V -qversion; do |
|
4587 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
4588 |
case "(($ac_try" in |
|
4589 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4590 |
*) ac_try_echo=$ac_try;; |
|
4591 |
esac |
|
4592 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4593 |
$as_echo "$ac_try_echo"; } >&5 |
|
4594 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
4595 |
ac_status=$? |
|
4596 |
if test -s conftest.err; then |
|
4597 |
sed '10a\ |
|
4598 |
... rest of stderr output deleted ... |
|
4599 |
10q' conftest.err >conftest.er1 |
|
4600 |
cat conftest.er1 >&5 |
|
4601 |
fi |
|
4602 |
rm -f conftest.er1 conftest.err |
|
4603 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4604 |
test $ac_status = 0; } |
|
4605 |
done |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4606 |
rm -f a.out |
4607 |
||
4608 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
|
4609 |
# input file. (Note that this only needs to work for GNU compilers.) |
|
4610 |
ac_save_ext=$ac_ext |
|
4611 |
ac_ext=F |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 |
4613 |
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } |
|
4614 |
if ${ac_cv_fc_compiler_gnu+:} false; then : |
|
4615 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4616 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4617 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4618 |
program main |
4619 |
#ifndef __GNUC__ |
|
4620 |
choke me |
|
4621 |
#endif |
|
4622 |
||
4623 |
end |
|
4624 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4625 |
if ac_fn_fc_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4626 |
ac_compiler_gnu=yes |
4627 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4628 |
ac_compiler_gnu=no |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4629 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4630 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4631 |
ac_cv_fc_compiler_gnu=$ac_compiler_gnu |
4632 |
||
4633 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5 |
4635 |
$as_echo "$ac_cv_fc_compiler_gnu" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4636 |
ac_ext=$ac_save_ext |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4637 |
ac_test_FCFLAGS=${FCFLAGS+set} |
4638 |
ac_save_FCFLAGS=$FCFLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4639 |
FCFLAGS= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 |
4641 |
$as_echo_n "checking whether $FC accepts -g... " >&6; } |
|
4642 |
if ${ac_cv_prog_fc_g+:} false; then : |
|
4643 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4644 |
else |
4645 |
FCFLAGS=-g |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4646 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4647 |
program main |
4648 |
||
4649 |
end |
|
4650 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4651 |
if ac_fn_fc_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4652 |
ac_cv_prog_fc_g=yes |
4653 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4654 |
ac_cv_prog_fc_g=no |
4655 |
fi |
|
4656 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4657 |
||
4658 |
fi |
|
4659 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5 |
|
4660 |
$as_echo "$ac_cv_prog_fc_g" >&6; } |
|
4661 |
if test "$ac_test_FCFLAGS" = set; then |
|
4662 |
FCFLAGS=$ac_save_FCFLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4663 |
elif test $ac_cv_prog_fc_g = yes; then |
4664 |
if test "x$ac_cv_fc_compiler_gnu" = xyes; then |
|
4665 |
FCFLAGS="-g -O2" |
|
4666 |
else |
|
4667 |
FCFLAGS="-g" |
|
4668 |
fi |
|
4669 |
else |
|
4670 |
if test "x$ac_cv_fc_compiler_gnu" = xyes; then |
|
4671 |
FCFLAGS="-O2" |
|
4672 |
else |
|
4673 |
FCFLAGS= |
|
4674 |
fi |
|
4675 |
fi |
|
4676 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4677 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4678 |
ac_cpp='$CXXCPP $CPPFLAGS' |
4679 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4680 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4681 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4682 |
||
4683 |
||
4684 |
||
4685 |
||
4686 |
||
4687 |
||
4688 |
||
4689 |
||
4690 |
||
4691 |
||
4692 |
||
4693 |
||
4694 |
||
4695 |
||
4696 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Fortran preset flags" >&5 |
4698 |
$as_echo_n "checking whether using Fortran preset flags... " >&6; } |
|
4699 |
# Check whether --enable-fortran-flags-preset was given. |
|
4700 |
if test "${enable_fortran_flags_preset+set}" = set; then : |
|
4701 |
enableval=$enable_fortran_flags_preset; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4702 |
else |
4703 |
enableval='yes' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4704 |
fi |
4705 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4706 |
|
4707 |
||
4708 |
if test "$enableval" = yes ; then |
|
4709 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4710 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4711 |
$as_echo "yes" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4712 |
|
4713 |
case "$target" in |
|
4714 |
*aix*) |
|
4715 |
case "$F77" in |
|
4716 |
*xlf*) FFLAGS="" |
|
4717 |
F77_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qnosave -qmaxmem=8192 -qhot -qunroll=yes" |
|
4718 |
;; |
|
4719 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4720 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4721 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4722 |
;; |
|
4723 |
esac |
|
4724 |
;; |
|
4725 |
*irix*) |
|
4726 |
case "$F77" in |
|
4727 |
*f77*) FFLAGS="" |
|
4728 |
F77_OPTIMIZE_FLAGS="-Ofast" |
|
4729 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4730 |
;; |
|
4731 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4732 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4733 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4734 |
;; |
|
4735 |
esac |
|
4736 |
;; |
|
4737 |
*linux*) |
|
4738 |
case "$F77" in |
|
4739 |
*g95*) FFLAGS="-fno-second-underscore" |
|
4740 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4741 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4742 |
;; |
|
4743 |
*gfortran*) FFLAGS="-fno-second-underscore" |
|
4744 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4745 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4746 |
;; |
|
4747 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4748 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4749 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4750 |
;; |
|
4751 |
*ifc*) FFLAGS="" |
|
4752 |
F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-alias -safe_cray_ptr" |
|
4753 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4754 |
;; |
|
4755 |
*ifort*) FFLAGS="" |
|
4756 |
F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-alias -safe_cray_ptr" |
|
4757 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4758 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4759 |
*pgf*) FFLAGS="" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4760 |
F77_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" |
4761 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4762 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4763 |
*pathf*) FFLAGS="-fno-second-underscore" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4764 |
F77_OPTIMIZE_FLAGS="-O3" |
4765 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4766 |
;; |
|
4767 |
*f77*) |
|
4768 |
if test ".$G77" == .yes; then |
|
4769 |
FFLAGS="-fno-second-underscore" |
|
4770 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4771 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4772 |
else |
|
4773 |
FFLAGS="-B108 -f" |
|
4774 |
F77_OPTIMIZE_FLAGS="-O2" |
|
4775 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4776 |
fi |
|
4777 |
;; |
|
4778 |
esac |
|
4779 |
;; |
|
4780 |
*darwin*) |
|
4781 |
case "$F77" in |
|
4782 |
*xlf*) FFLAGS="" |
|
4783 |
F77_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qnosave -qmaxmem=8192 -qhot -qunroll=yes" |
|
4784 |
;; |
|
4785 |
*g95*) FFLAGS="-fno-second-underscore" |
|
4786 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4787 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4788 |
;; |
|
4789 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4790 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4791 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4792 |
;; |
|
4793 |
esac |
|
4794 |
;; |
|
4795 |
*solaris*) |
|
4796 |
case "$F77" in |
|
4797 |
*f77*) FFLAGS="" |
|
4798 |
F77_OPTIMIZE_FLAGS="-O3" |
|
4799 |
;; |
|
4800 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4801 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4802 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4803 |
;; |
|
4804 |
esac |
|
4805 |
;; |
|
4806 |
*hp-hpux*) |
|
4807 |
case "$F77" in |
|
4808 |
*f90*) FFLAGS="" |
|
4809 |
F77_OPTIMIZE_FLAGS="-O3" |
|
4810 |
;; |
|
4811 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4812 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4813 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4814 |
;; |
|
4815 |
esac |
|
4816 |
;; |
|
4817 |
*osf*) |
|
4818 |
case "$F77" in |
|
4819 |
*f77*) FFLAGS="" |
|
4820 |
F77_OPTIMIZE_FLAGS="-O4 -tune host" |
|
4821 |
;; |
|
4822 |
*g77*) FFLAGS="-fno-second-underscore" |
|
4823 |
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4824 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4825 |
;; |
|
4826 |
esac |
|
4827 |
;; |
|
4828 |
*cray*) |
|
4829 |
case "$F77" in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4830 |
*ftn*) FFLAGS="" |
4831 |
F77_OPTIMIZE_FLAGS="-O 3 -O aggress,unroll2" |
|
4832 |
;; |
|
4833 |
esac |
|
4834 |
;; |
|
4835 |
*fujitsu*) |
|
4836 |
case "$F77" in |
|
4837 |
*frt*) FFLAGS="" |
|
4838 |
F77_OPTIMIZE_FLAGS="-O3" |
|
4839 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES -Wg,-f" |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4840 |
;; |
4841 |
esac |
|
4842 |
;; |
|
4843 |
*) |
|
4844 |
ac_fortran_flags_preset=no |
|
4845 |
;; |
|
4846 |
esac |
|
4847 |
||
4848 |
if test -n "$FC"; then |
|
4849 |
case "$target" in |
|
4850 |
*aix*) |
|
4851 |
case "$FC" in |
|
4852 |
*xlf90*) FCFLAGS="" |
|
4853 |
FC_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qnosave -qmaxmem=8192 -qhot -qunroll=yes" |
|
4854 |
;; |
|
4855 |
esac |
|
4856 |
;; |
|
4857 |
*irix*) |
|
4858 |
case "$FC" in |
|
4859 |
*f90*) FCFLAGS="" |
|
4860 |
FC_OPTIMIZE_FLAGS="-Ofast" |
|
4861 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4862 |
;; |
|
4863 |
esac |
|
4864 |
;; |
|
4865 |
*linux*) |
|
4866 |
case "$FC" in |
|
4867 |
*gfortran*) FCFLAGS="-fno-second-underscore" |
|
4868 |
FC_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4869 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4870 |
;; |
|
4871 |
*g95*) FCFLAGS="-fno-second-underscore" |
|
4872 |
FC_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4873 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4874 |
;; |
|
4875 |
*ifc*) FCFLAGS="" |
|
4876 |
FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-alias -safe_cray_ptr" |
|
4877 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4878 |
;; |
|
4879 |
*ifort*) FCFLAGS="" |
|
4880 |
FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-alias -safe_cray_ptr" |
|
4881 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4882 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4883 |
*pgf9*) FCFLAGS="" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4884 |
FC_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" |
4885 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4886 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4887 |
*pathf9*) FCFLAGS="-fno-second-underscore" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4888 |
FC_OPTIMIZE_FLAGS="-O3" |
4889 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4890 |
;; |
|
4891 |
*f90*) FCFLAGS="-B108 -YEXT_NAMES=LCS" |
|
4892 |
FC_OPTIMIZE_FLAGS="-O3" |
|
4893 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4894 |
;; |
|
4895 |
esac |
|
4896 |
;; |
|
4897 |
*darwin*) |
|
4898 |
case "$FC" in |
|
4899 |
*xlf90*) FCFLAGS="" |
|
4900 |
FC_OPTIMIZE_FLAGS="-O3 -qstrict -qstrict_induction -qinline -qnosave -qmaxmem=8192 -qhot -qunroll=yes" |
|
4901 |
;; |
|
4902 |
*g95*) FCFLAGS="-fno-second-underscore" |
|
4903 |
FC_OPTIMIZE_FLAGS="-O3 -funroll-loops" |
|
4904 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4905 |
;; |
|
4906 |
esac |
|
4907 |
;; |
|
4908 |
*solaris*) |
|
4909 |
case "$FC" in |
|
4910 |
*f90*) FCFLAGS="" |
|
4911 |
FC_OPTIMIZE_FLAGS="-O3" |
|
4912 |
;; |
|
4913 |
esac |
|
4914 |
;; |
|
4915 |
*hp-hpux*) |
|
4916 |
case "$FC" in |
|
4917 |
*f90*) FCFLAGS="" |
|
4918 |
FC_OPTIMIZE_FLAGS="-O3" |
|
4919 |
;; |
|
4920 |
esac |
|
4921 |
;; |
|
4922 |
*osf*) |
|
4923 |
case "$FC" in |
|
4924 |
*f90*) FCFLAGS="" |
|
4925 |
FC_OPTIMIZE_FLAGS="-O4 -tune host" |
|
4926 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
4927 |
;; |
|
4928 |
esac |
|
4929 |
;; |
|
4930 |
*cray*) |
|
4931 |
case "$FC" in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4932 |
*ftn*) FCFLAGS="" |
4933 |
FC_OPTIMIZE_FLAGS="-O 3 -O aggress,unroll2" |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4934 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_CAPS" |
4935 |
;; |
|
4936 |
esac |
|
4937 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4938 |
*fujitsu*) |
4939 |
case "$FC" in |
|
4940 |
*frt*) FCFLAGS="" |
|
4941 |
FC_OPTIMIZE_FLAGS="-O3" |
|
4942 |
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES -Wg,-f" |
|
4943 |
;; |
|
4944 |
esac |
|
4945 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4946 |
*) |
4947 |
ac_fortran_flags_preset=no |
|
4948 |
;; |
|
4949 |
esac |
|
4950 |
fi |
|
4951 |
||
4952 |
else |
|
4953 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4954 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4955 |
$as_echo "no" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4956 |
|
4957 |
fi |
|
4958 |
||
4959 |
if test "$ac_fortran_flags_preset" = no ; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4961 |
|
4962 |
Blitz++ has not been tuned for this platform. You may have trouble |
|
4963 |
building fortran benchmarks, and performance may be unexciting. |
|
4964 |
||
4965 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4966 |
$as_echo "$as_me: |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4967 |
|
4968 |
Blitz++ has not been tuned for this platform. You may have trouble |
|
4969 |
building fortran benchmarks, and performance may be unexciting. |
|
4970 |
||
4971 |
" >&6;} |
|
4972 |
fi |
|
4973 |
||
4974 |
if test -n "$FC"; then |
|
4975 |
CXXFCFLAG="-DFORTRAN_90 $CXXFCFLAG" |
|
4976 |
fi |
|
4977 |
||
4978 |
||
4979 |
ac_ext=f |
|
4980 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
4981 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4982 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
4983 |
||
4984 |
||
4985 |
ac_ext=f |
|
4986 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
4987 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4988 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5 |
4990 |
$as_echo_n "checking how to get verbose linking output from $F77... " >&6; } |
|
4991 |
if ${ac_cv_prog_f77_v+:} false; then : |
|
4992 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4993 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4994 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
4995 |
program main |
4996 |
||
4997 |
end |
|
4998 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
4999 |
if ac_fn_f77_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5000 |
ac_cv_prog_f77_v= |
5001 |
# Try some options frequently used verbose output |
|
5002 |
for ac_verb in -v -verbose --verbose -V -\#\#\#; do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5003 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5004 |
program main |
5005 |
||
5006 |
end |
|
5007 |
_ACEOF |
|
5008 |
||
5009 |
# Compile and link our simple test program by passing a flag (argument |
|
5010 |
# 1 to this macro) to the Fortran compiler in order to get |
|
5011 |
# "verbose" output that we can then parse for the Fortran linker |
|
5012 |
# flags. |
|
5013 |
ac_save_FFLAGS=$FFLAGS |
|
5014 |
FFLAGS="$FFLAGS $ac_verb" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5015 |
eval "set x $ac_link" |
5016 |
shift |
|
5017 |
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 |
|
5018 |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
|
5019 |
# LIBRARY_PATH; skip all such settings. |
|
5020 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | |
|
5021 |
sed '/^Driving:/d; /^Configured with:/d; |
|
5022 |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
|
5023 |
$as_echo "$ac_f77_v_output" >&5 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5024 |
FFLAGS=$ac_save_FFLAGS |
5025 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5026 |
rm -rf conftest* |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5027 |
|
5028 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
|
5029 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
|
5030 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
|
5031 |
ac_f77_v_output="`echo $ac_f77_v_output | |
|
5032 |
grep 'LPATH is:' | |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5033 |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5034 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5035 |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
5036 |
# that detects unbalanced quotes in FLIBS should be implemented |
|
5037 |
# and (ugh) tested at some point. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5038 |
case $ac_f77_v_output in |
5039 |
# If we are using xlf then replace all the commas with spaces. |
|
5040 |
*xlfentry*) |
|
5041 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; |
|
5042 |
||
5043 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
|
5044 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
|
5045 |
*mGLOB_options_string*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5046 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
5047 |
||
5048 |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
|
5049 |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
|
5050 |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
|
5051 |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
|
5052 |
ac_f77_v_output=`echo $ac_f77_v_output | sed "\ |
|
5053 |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
|
5054 |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
|
5055 |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5056 |
|
5057 |
# If we are using Cray Fortran then delete quotes. |
|
5058 |
*cft90*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5059 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;; |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5060 |
esac |
5061 |
||
5062 |
||
5063 |
# look for -l* and *.a constructs in the output |
|
5064 |
for ac_arg in $ac_f77_v_output; do |
|
5065 |
case $ac_arg in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5066 |
[\\/]*.a | ?:[\\/]*.a | -[lLRu]*) |
5067 |
ac_cv_prog_f77_v=$ac_verb |
|
5068 |
break 2 ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5069 |
esac |
5070 |
done |
|
5071 |
done |
|
5072 |
if test -z "$ac_cv_prog_f77_v"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5 |
5074 |
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;} |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5075 |
fi |
5076 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5 |
5078 |
$as_echo "$as_me: WARNING: compilation failed" >&2;} |
|
5079 |
fi |
|
5080 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5081 |
||
5082 |
fi |
|
5083 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5 |
|
5084 |
$as_echo "$ac_cv_prog_f77_v" >&6; } |
|
5085 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5 |
|
5086 |
$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; } |
|
5087 |
if ${ac_cv_f77_libs+:} false; then : |
|
5088 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5089 |
else |
5090 |
if test "x$FLIBS" != "x"; then |
|
5091 |
ac_cv_f77_libs="$FLIBS" # Let the user override the test. |
|
5092 |
else |
|
5093 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5094 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5095 |
program main |
5096 |
||
5097 |
end |
|
5098 |
_ACEOF |
|
5099 |
||
5100 |
# Compile and link our simple test program by passing a flag (argument |
|
5101 |
# 1 to this macro) to the Fortran compiler in order to get |
|
5102 |
# "verbose" output that we can then parse for the Fortran linker |
|
5103 |
# flags. |
|
5104 |
ac_save_FFLAGS=$FFLAGS |
|
5105 |
FFLAGS="$FFLAGS $ac_cv_prog_f77_v" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5106 |
eval "set x $ac_link" |
5107 |
shift |
|
5108 |
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 |
|
5109 |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
|
5110 |
# LIBRARY_PATH; skip all such settings. |
|
5111 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | |
|
5112 |
sed '/^Driving:/d; /^Configured with:/d; |
|
5113 |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
|
5114 |
$as_echo "$ac_f77_v_output" >&5 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5115 |
FFLAGS=$ac_save_FFLAGS |
5116 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5117 |
rm -rf conftest* |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5118 |
|
5119 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
|
5120 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
|
5121 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
|
5122 |
ac_f77_v_output="`echo $ac_f77_v_output | |
|
5123 |
grep 'LPATH is:' | |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5124 |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5125 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5126 |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
5127 |
# that detects unbalanced quotes in FLIBS should be implemented |
|
5128 |
# and (ugh) tested at some point. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5129 |
case $ac_f77_v_output in |
5130 |
# If we are using xlf then replace all the commas with spaces. |
|
5131 |
*xlfentry*) |
|
5132 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; |
|
5133 |
||
5134 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
|
5135 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
|
5136 |
*mGLOB_options_string*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5137 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
5138 |
||
5139 |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
|
5140 |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
|
5141 |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
|
5142 |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
|
5143 |
ac_f77_v_output=`echo $ac_f77_v_output | sed "\ |
|
5144 |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
|
5145 |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
|
5146 |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5147 |
|
5148 |
# If we are using Cray Fortran then delete quotes. |
|
5149 |
*cft90*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5150 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;; |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5151 |
esac |
5152 |
||
5153 |
||
5154 |
||
5155 |
ac_cv_f77_libs= |
|
5156 |
||
5157 |
# Save positional arguments (if any) |
|
5158 |
ac_save_positional="$@" |
|
5159 |
||
5160 |
set X $ac_f77_v_output |
|
5161 |
while test $# != 1; do |
|
5162 |
shift |
|
5163 |
ac_arg=$1 |
|
5164 |
case $ac_arg in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5165 |
[\\/]*.a | ?:[\\/]*.a) |
5166 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5167 |
for ac_i in $ac_cv_f77_libs; do |
5168 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5169 |
ac_exists=true |
|
5170 |
break |
|
5171 |
fi |
|
5172 |
done |
|
5173 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5174 |
if test x"$ac_exists" = xtrue; then : |
5175 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5176 |
else |
5177 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
|
5178 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5179 |
;; |
5180 |
-bI:*) |
|
5181 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5182 |
for ac_i in $ac_cv_f77_libs; do |
5183 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5184 |
ac_exists=true |
|
5185 |
break |
|
5186 |
fi |
|
5187 |
done |
|
5188 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5189 |
if test x"$ac_exists" = xtrue; then : |
5190 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5191 |
else |
5192 |
if test "$ac_compiler_gnu" = yes; then |
|
5193 |
for ac_link_opt in $ac_arg; do |
|
5194 |
ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt" |
|
5195 |
done |
|
5196 |
else |
|
5197 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
|
5198 |
fi |
|
5199 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5200 |
;; |
5201 |
# Ignore these flags. |
|
5202 |
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
|
5203 |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
|
5204 |
;; |
|
5205 |
-lkernel32) |
|
5206 |
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
|
5207 |
;; |
|
5208 |
-[LRuYz]) |
|
5209 |
# These flags, when seen by themselves, take an argument. |
|
5210 |
# We remove the space between option and argument and re-iterate |
|
5211 |
# unless we find an empty arg or a new option (starting with -) |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5212 |
case $2 in |
5213 |
"" | -*);; |
|
5214 |
*) |
|
5215 |
ac_arg="$ac_arg$2" |
|
5216 |
shift; shift |
|
5217 |
set X $ac_arg "$@" |
|
5218 |
;; |
|
5219 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5220 |
;; |
5221 |
-YP,*) |
|
5222 |
for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
|
5223 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5224 |
for ac_i in $ac_cv_f77_libs; do |
5225 |
if test x"$ac_j" = x"$ac_i"; then |
|
5226 |
ac_exists=true |
|
5227 |
break |
|
5228 |
fi |
|
5229 |
done |
|
5230 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5231 |
if test x"$ac_exists" = xtrue; then : |
5232 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5233 |
else |
5234 |
ac_arg="$ac_arg $ac_j" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5235 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_j" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5236 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5237 |
done |
5238 |
;; |
|
5239 |
-[lLR]*) |
|
5240 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5241 |
for ac_i in $ac_cv_f77_libs; do |
5242 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5243 |
ac_exists=true |
|
5244 |
break |
|
5245 |
fi |
|
5246 |
done |
|
5247 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5248 |
if test x"$ac_exists" = xtrue; then : |
5249 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5250 |
else |
5251 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
|
5252 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5253 |
;; |
5254 |
-zallextract*| -zdefaultextract) |
|
5255 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
|
5256 |
;; |
|
5257 |
# Ignore everything else. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5258 |
esac |
5259 |
done |
|
5260 |
# restore positional arguments |
|
5261 |
set X $ac_save_positional; shift |
|
5262 |
||
5263 |
# We only consider "LD_RUN_PATH" on Solaris systems. If this is seen, |
|
5264 |
# then we insist that the "run path" must be an absolute path (i.e. it |
|
5265 |
# must begin with a "/"). |
|
5266 |
case `(uname -sr) 2>/dev/null` in |
|
5267 |
"SunOS 5"*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5268 |
ac_ld_run_path=`$as_echo "$ac_f77_v_output" | |
5269 |
sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5270 |
test "x$ac_ld_run_path" != x && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5271 |
if test "$ac_compiler_gnu" = yes; then |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5272 |
for ac_link_opt in $ac_ld_run_path; do |
5273 |
ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt" |
|
5274 |
done |
|
5275 |
else |
|
5276 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path" |
|
5277 |
fi |
|
5278 |
;; |
|
5279 |
esac |
|
5280 |
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
|
5281 |
||
5282 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5 |
5284 |
$as_echo "$ac_cv_f77_libs" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5285 |
FLIBS="$ac_cv_f77_libs" |
5286 |
||
5287 |
||
5288 |
ac_ext=f |
|
5289 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
5290 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5291 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
5292 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5293 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5294 |
ac_cpp='$CXXCPP $CPPFLAGS' |
5295 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5296 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5297 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
5298 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5299 |
ac_ext=${ac_fc_srcext-f} |
5300 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5301 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5302 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
5303 |
||
5304 |
||
5305 |
ac_ext=${ac_fc_srcext-f} |
|
5306 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5307 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5308 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
5309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5 |
|
5310 |
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
|
5311 |
if ${ac_cv_prog_fc_v+:} false; then : |
|
5312 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5313 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5314 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5315 |
program main |
5316 |
||
5317 |
end |
|
5318 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5319 |
if ac_fn_fc_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5320 |
ac_cv_prog_fc_v= |
5321 |
# Try some options frequently used verbose output |
|
5322 |
for ac_verb in -v -verbose --verbose -V -\#\#\#; do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5323 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5324 |
program main |
5325 |
||
5326 |
end |
|
5327 |
_ACEOF |
|
5328 |
||
5329 |
# Compile and link our simple test program by passing a flag (argument |
|
5330 |
# 1 to this macro) to the Fortran compiler in order to get |
|
5331 |
# "verbose" output that we can then parse for the Fortran linker |
|
5332 |
# flags. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5333 |
ac_save_FCFLAGS=$FCFLAGS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5334 |
FCFLAGS="$FCFLAGS $ac_verb" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5335 |
eval "set x $ac_link" |
5336 |
shift |
|
5337 |
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 |
|
5338 |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
|
5339 |
# LIBRARY_PATH; skip all such settings. |
|
5340 |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
|
5341 |
sed '/^Driving:/d; /^Configured with:/d; |
|
5342 |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
|
5343 |
$as_echo "$ac_fc_v_output" >&5 |
|
5344 |
FCFLAGS=$ac_save_FCFLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5345 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5346 |
rm -rf conftest* |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5347 |
|
5348 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
|
5349 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
|
5350 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
|
5351 |
ac_fc_v_output="`echo $ac_fc_v_output | |
|
5352 |
grep 'LPATH is:' | |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5353 |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5354 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5355 |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
5356 |
# that detects unbalanced quotes in FLIBS should be implemented |
|
5357 |
# and (ugh) tested at some point. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5358 |
case $ac_fc_v_output in |
5359 |
# If we are using xlf then replace all the commas with spaces. |
|
5360 |
*xlfentry*) |
|
5361 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; |
|
5362 |
||
5363 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
|
5364 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
|
5365 |
*mGLOB_options_string*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5366 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
5367 |
||
5368 |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
|
5369 |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
|
5370 |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
|
5371 |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
|
5372 |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
|
5373 |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
|
5374 |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
|
5375 |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5376 |
|
5377 |
# If we are using Cray Fortran then delete quotes. |
|
5378 |
*cft90*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5379 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5380 |
esac |
5381 |
||
5382 |
||
5383 |
# look for -l* and *.a constructs in the output |
|
5384 |
for ac_arg in $ac_fc_v_output; do |
|
5385 |
case $ac_arg in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5386 |
[\\/]*.a | ?:[\\/]*.a | -[lLRu]*) |
5387 |
ac_cv_prog_fc_v=$ac_verb |
|
5388 |
break 2 ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5389 |
esac |
5390 |
done |
|
5391 |
done |
|
5392 |
if test -z "$ac_cv_prog_fc_v"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $FC" >&5 |
5394 |
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5395 |
fi |
5396 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5 |
5398 |
$as_echo "$as_me: WARNING: compilation failed" >&2;} |
|
5399 |
fi |
|
5400 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5401 |
||
5402 |
fi |
|
5403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_v" >&5 |
|
5404 |
$as_echo "$ac_cv_prog_fc_v" >&6; } |
|
5405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5 |
|
5406 |
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
|
5407 |
if ${ac_cv_fc_libs+:} false; then : |
|
5408 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5409 |
else |
5410 |
if test "x$FCLIBS" != "x"; then |
|
5411 |
ac_cv_fc_libs="$FCLIBS" # Let the user override the test. |
|
5412 |
else |
|
5413 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5414 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5415 |
program main |
5416 |
||
5417 |
end |
|
5418 |
_ACEOF |
|
5419 |
||
5420 |
# Compile and link our simple test program by passing a flag (argument |
|
5421 |
# 1 to this macro) to the Fortran compiler in order to get |
|
5422 |
# "verbose" output that we can then parse for the Fortran linker |
|
5423 |
# flags. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5424 |
ac_save_FCFLAGS=$FCFLAGS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5425 |
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5426 |
eval "set x $ac_link" |
5427 |
shift |
|
5428 |
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 |
|
5429 |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
|
5430 |
# LIBRARY_PATH; skip all such settings. |
|
5431 |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
|
5432 |
sed '/^Driving:/d; /^Configured with:/d; |
|
5433 |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
|
5434 |
$as_echo "$ac_fc_v_output" >&5 |
|
5435 |
FCFLAGS=$ac_save_FCFLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5436 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5437 |
rm -rf conftest* |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5438 |
|
5439 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
|
5440 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
|
5441 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
|
5442 |
ac_fc_v_output="`echo $ac_fc_v_output | |
|
5443 |
grep 'LPATH is:' | |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5444 |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5445 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5446 |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
5447 |
# that detects unbalanced quotes in FLIBS should be implemented |
|
5448 |
# and (ugh) tested at some point. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5449 |
case $ac_fc_v_output in |
5450 |
# If we are using xlf then replace all the commas with spaces. |
|
5451 |
*xlfentry*) |
|
5452 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; |
|
5453 |
||
5454 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
|
5455 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
|
5456 |
*mGLOB_options_string*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5457 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
5458 |
||
5459 |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
|
5460 |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
|
5461 |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
|
5462 |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
|
5463 |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
|
5464 |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
|
5465 |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
|
5466 |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5467 |
|
5468 |
# If we are using Cray Fortran then delete quotes. |
|
5469 |
*cft90*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5470 |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5471 |
esac |
5472 |
||
5473 |
||
5474 |
||
5475 |
ac_cv_fc_libs= |
|
5476 |
||
5477 |
# Save positional arguments (if any) |
|
5478 |
ac_save_positional="$@" |
|
5479 |
||
5480 |
set X $ac_fc_v_output |
|
5481 |
while test $# != 1; do |
|
5482 |
shift |
|
5483 |
ac_arg=$1 |
|
5484 |
case $ac_arg in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5485 |
[\\/]*.a | ?:[\\/]*.a) |
5486 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5487 |
for ac_i in $ac_cv_fc_libs; do |
5488 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5489 |
ac_exists=true |
|
5490 |
break |
|
5491 |
fi |
|
5492 |
done |
|
5493 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5494 |
if test x"$ac_exists" = xtrue; then : |
5495 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5496 |
else |
5497 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
|
5498 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5499 |
;; |
5500 |
-bI:*) |
|
5501 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5502 |
for ac_i in $ac_cv_fc_libs; do |
5503 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5504 |
ac_exists=true |
|
5505 |
break |
|
5506 |
fi |
|
5507 |
done |
|
5508 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5509 |
if test x"$ac_exists" = xtrue; then : |
5510 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5511 |
else |
5512 |
if test "$ac_compiler_gnu" = yes; then |
|
5513 |
for ac_link_opt in $ac_arg; do |
|
5514 |
ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" |
|
5515 |
done |
|
5516 |
else |
|
5517 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
|
5518 |
fi |
|
5519 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5520 |
;; |
5521 |
# Ignore these flags. |
|
5522 |
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
|
5523 |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
|
5524 |
;; |
|
5525 |
-lkernel32) |
|
5526 |
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
|
5527 |
;; |
|
5528 |
-[LRuYz]) |
|
5529 |
# These flags, when seen by themselves, take an argument. |
|
5530 |
# We remove the space between option and argument and re-iterate |
|
5531 |
# unless we find an empty arg or a new option (starting with -) |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5532 |
case $2 in |
5533 |
"" | -*);; |
|
5534 |
*) |
|
5535 |
ac_arg="$ac_arg$2" |
|
5536 |
shift; shift |
|
5537 |
set X $ac_arg "$@" |
|
5538 |
;; |
|
5539 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5540 |
;; |
5541 |
-YP,*) |
|
5542 |
for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
|
5543 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5544 |
for ac_i in $ac_cv_fc_libs; do |
5545 |
if test x"$ac_j" = x"$ac_i"; then |
|
5546 |
ac_exists=true |
|
5547 |
break |
|
5548 |
fi |
|
5549 |
done |
|
5550 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5551 |
if test x"$ac_exists" = xtrue; then : |
5552 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5553 |
else |
5554 |
ac_arg="$ac_arg $ac_j" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5555 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_j" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5556 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5557 |
done |
5558 |
;; |
|
5559 |
-[lLR]*) |
|
5560 |
ac_exists=false |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5561 |
for ac_i in $ac_cv_fc_libs; do |
5562 |
if test x"$ac_arg" = x"$ac_i"; then |
|
5563 |
ac_exists=true |
|
5564 |
break |
|
5565 |
fi |
|
5566 |
done |
|
5567 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5568 |
if test x"$ac_exists" = xtrue; then : |
5569 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5570 |
else |
5571 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
|
5572 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5573 |
;; |
5574 |
-zallextract*| -zdefaultextract) |
|
5575 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
|
5576 |
;; |
|
5577 |
# Ignore everything else. |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5578 |
esac |
5579 |
done |
|
5580 |
# restore positional arguments |
|
5581 |
set X $ac_save_positional; shift |
|
5582 |
||
5583 |
# We only consider "LD_RUN_PATH" on Solaris systems. If this is seen, |
|
5584 |
# then we insist that the "run path" must be an absolute path (i.e. it |
|
5585 |
# must begin with a "/"). |
|
5586 |
case `(uname -sr) 2>/dev/null` in |
|
5587 |
"SunOS 5"*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5588 |
ac_ld_run_path=`$as_echo "$ac_fc_v_output" | |
5589 |
sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5590 |
test "x$ac_ld_run_path" != x && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5591 |
if test "$ac_compiler_gnu" = yes; then |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5592 |
for ac_link_opt in $ac_ld_run_path; do |
5593 |
ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" |
|
5594 |
done |
|
5595 |
else |
|
5596 |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_ld_run_path" |
|
5597 |
fi |
|
5598 |
;; |
|
5599 |
esac |
|
5600 |
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
|
5601 |
||
5602 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_libs" >&5 |
5604 |
$as_echo "$ac_cv_fc_libs" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5605 |
FCLIBS="$ac_cv_fc_libs" |
5606 |
||
5607 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5608 |
ac_ext=${ac_fc_srcext-f} |
5609 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5610 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5611 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
5612 |
||
5613 |
||
5614 |
if test -n "$FC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5615 |
ac_ext=${ac_fc_srcext-f} |
5616 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5617 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5618 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
5619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag needed to accept free-form source" >&5 |
|
5620 |
$as_echo_n "checking for Fortran flag needed to accept free-form source... " >&6; } |
|
5621 |
if ${ac_cv_fc_freeform+:} false; then : |
|
5622 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5623 |
else |
5624 |
ac_cv_fc_freeform=unknown |
|
5625 |
ac_fc_freeform_FCFLAGS_save=$FCFLAGS |
|
5626 |
for ac_flag in none -ffree-form -FR -free -qfree -Mfree -Mfreeform \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5627 |
-freeform "-f free" +source=free -nfix |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5628 |
do |
5629 |
test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5630 |
cat > conftest.$ac_ext <<_ACEOF |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5631 |
|
5632 |
program freeform |
|
5633 |
! FIXME: how to best confuse non-freeform compilers? |
|
5634 |
print *, 'Hello ', & |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5635 |
'world.' |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5636 |
end |
5637 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5638 |
if ac_fn_fc_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5639 |
ac_cv_fc_freeform=$ac_flag; break |
5640 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5641 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5642 |
done |
5643 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5644 |
FCFLAGS=$ac_fc_freeform_FCFLAGS_save |
|
5645 |
||
5646 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5647 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_freeform" >&5 |
5648 |
$as_echo "$ac_cv_fc_freeform" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5649 |
if test "x$ac_cv_fc_freeform" = xunknown; then |
5650 |
FC= |
|
5651 |
else |
|
5652 |
if test "x$ac_cv_fc_freeform" != xnone; then |
|
5653 |
FCFLAGS="$FCFLAGS $ac_cv_fc_freeform" |
|
5654 |
fi |
|
5655 |
||
5656 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5657 |
ac_ext=${ac_fc_srcext-f} |
5658 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5659 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5660 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5661 |
|
5662 |
fi |
|
5663 |
if test -n "$FC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5664 |
ac_ext=${ac_fc_srcext-f} |
5665 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5666 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5667 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
5668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag to compile .f90 files" >&5 |
|
5669 |
$as_echo_n "checking for Fortran flag to compile .f90 files... " >&6; } |
|
5670 |
if ${ac_cv_fc_srcext_f90+:} false; then : |
|
5671 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5672 |
else |
5673 |
ac_ext=f90 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5674 |
ac_fcflags_srcext_save=$ac_fcflags_srcext |
5675 |
ac_fcflags_srcext= |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5676 |
ac_cv_fc_srcext_f90=unknown |
5677 |
for ac_flag in none -qsuffix=f=f90 -Tf; do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5678 |
test "x$ac_flag" != xnone && ac_fcflags_srcext="$ac_flag" |
5679 |
cat > conftest.$ac_ext <<_ACEOF |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5680 |
program main |
5681 |
||
5682 |
end |
|
5683 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5684 |
if ac_fn_fc_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5685 |
ac_cv_fc_srcext_f90=$ac_flag; break |
5686 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5687 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5688 |
done |
5689 |
rm -f conftest.$ac_objext conftest.f90 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5690 |
ac_fcflags_srcext=$ac_fcflags_srcext_save |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5691 |
|
5692 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_srcext_f90" >&5 |
5694 |
$as_echo "$ac_cv_fc_srcext_f90" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5695 |
if test "x$ac_cv_fc_srcext_f90" = xunknown; then |
5696 |
FC= |
|
5697 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5698 |
ac_fc_srcext=f90 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5699 |
if test "x$ac_cv_fc_srcext_f90" = xnone; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5700 |
ac_fcflags_srcext="" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5701 |
FCFLAGS_f90="" |
5702 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5703 |
ac_fcflags_srcext=$ac_cv_fc_srcext_f90 |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5704 |
FCFLAGS_f90=$ac_cv_fc_srcext_f90 |
5705 |
fi |
|
5706 |
||
5707 |
||
5708 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5709 |
ac_ext=${ac_fc_srcext-f} |
5710 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
5711 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
5712 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5713 |
|
5714 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5715 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5716 |
ac_cpp='$CXXCPP $CPPFLAGS' |
5717 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5718 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5719 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
5720 |
||
5721 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5722 |
if test -n "$FC"; then |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5723 |
F90_COMPILER_TRUE= |
5724 |
F90_COMPILER_FALSE='#' |
|
5725 |
else |
|
5726 |
F90_COMPILER_TRUE='#' |
|
5727 |
F90_COMPILER_FALSE= |
|
5728 |
fi |
|
5729 |
||
5730 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5731 |
# Prefix config macros with BZ_ and create compiler-specific bzconfig.h |
5732 |
||
5733 |
||
5734 |
||
5735 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler specific header" >&5 |
5737 |
$as_echo_n "checking compiler specific header... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5738 |
|
5739 |
case "$CXX" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5740 |
*xlc++*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5741 |
ac_config_commands="$ac_config_commands blitz/apple/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5742 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5743 |
COMPILER_SPECIFIC_HEADER="apple/bzconfig.h" ;; |
5744 |
*icpc*|*icc*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5745 |
ac_config_commands="$ac_config_commands blitz/intel/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5746 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5747 |
COMPILER_SPECIFIC_HEADER="intel/bzconfig.h" ;; |
5748 |
*xlC*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5749 |
ac_config_commands="$ac_config_commands blitz/ibm/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5750 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5751 |
COMPILER_SPECIFIC_HEADER="ibm/bzconfig.h" ;; |
5752 |
*cxx*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5753 |
ac_config_commands="$ac_config_commands blitz/compaq/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5754 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5755 |
COMPILER_SPECIFIC_HEADER="compaq/bzconfig.h" ;; |
5756 |
*aCC*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5757 |
ac_config_commands="$ac_config_commands blitz/hp/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5758 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5759 |
COMPILER_SPECIFIC_HEADER="hp/bzconfig.h" ;; |
5760 |
*g++*|*c++*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5761 |
ac_config_commands="$ac_config_commands blitz/gnu/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5762 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5763 |
COMPILER_SPECIFIC_HEADER="gnu/bzconfig.h" ;; |
5764 |
*KCC*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5765 |
ac_config_commands="$ac_config_commands blitz/kai/bzconfig.h" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5766 |
|
5767 |
COMPILER_SPECIFIC_HEADER="kai/bzconfig.h" ;; |
|
5768 |
*pgCC*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5769 |
ac_config_commands="$ac_config_commands blitz/pgi/bzconfig.h" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5770 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5771 |
COMPILER_SPECIFIC_HEADER="pgi/bzconfig.h" ;; |
5772 |
*pathCC*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5773 |
ac_config_commands="$ac_config_commands blitz/pathscale/bzconfig.h" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5774 |
|
5775 |
COMPILER_SPECIFIC_HEADER="pathscale/bzconfig.h" ;; |
|
5776 |
*CC*) |
|
5777 |
case "$target" in |
|
5778 |
*sgi*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5779 |
ac_config_commands="$ac_config_commands blitz/sgi/bzconfig.h" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5780 |
|
5781 |
COMPILER_SPECIFIC_HEADER="sgi/bzconfig.h" ;; |
|
5782 |
*solaris*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5783 |
ac_config_commands="$ac_config_commands blitz/sun/bzconfig.h" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5784 |
|
5785 |
COMPILER_SPECIFIC_HEADER="sun/bzconfig.h" ;; |
|
5786 |
*cray*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5787 |
ac_config_commands="$ac_config_commands blitz/cray/bzconfig.h" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5788 |
|
5789 |
COMPILER_SPECIFIC_HEADER="cray/bzconfig.h" ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5790 |
*fujitsu*) |
5791 |
ac_config_commands="$ac_config_commands blitz/fujitsu/bzconfig.h" |
|
5792 |
||
5793 |
COMPILER_SPECIFIC_HEADER="fujitsu/bzconfig.h" ;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
5794 |
esac |
5795 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5796 |
esac |
5797 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPILER_SPECIFIC_HEADER" >&5 |
5799 |
$as_echo "$COMPILER_SPECIFIC_HEADER" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5800 |
|
5801 |
COMPILER_SPECIFIC_HEADER=$COMPILER_SPECIFIC_HEADER |
|
5802 |
||
5803 |
||
5804 |
||
5805 |
||
5806 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5807 |
# makeinfo documentation |
5808 |
# Extract the first word of "makeinfo", so it can be a program name with args. |
|
5809 |
set dummy makeinfo; ac_word=$2 |
|
5810 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5811 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5812 |
if ${ac_cv_prog_MAKEINFO+:} false; then : |
|
5813 |
$as_echo_n "(cached) " >&6 |
|
5814 |
else |
|
5815 |
if test -n "$MAKEINFO"; then |
|
5816 |
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
|
5817 |
else |
|
5818 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5819 |
for as_dir in $PATH |
|
5820 |
do |
|
5821 |
IFS=$as_save_IFS |
|
5822 |
test -z "$as_dir" && as_dir=. |
|
5823 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5824 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5825 |
ac_cv_prog_MAKEINFO="makeinfo" |
|
5826 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5827 |
break 2 |
|
5828 |
fi |
|
5829 |
done |
|
5830 |
done |
|
5831 |
IFS=$as_save_IFS |
|
5832 |
||
5833 |
test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="""" |
|
5834 |
fi |
|
5835 |
fi |
|
5836 |
MAKEINFO=$ac_cv_prog_MAKEINFO |
|
5837 |
if test -n "$MAKEINFO"; then |
|
5838 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 |
|
5839 |
$as_echo "$MAKEINFO" >&6; } |
|
5840 |
else |
|
5841 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5842 |
$as_echo "no" >&6; } |
|
5843 |
fi |
|
5844 |
||
5845 |
||
5846 |
if test -n "$MAKEINFO"; then |
|
5847 |
MAKEINFO_DOC_TRUE= |
|
5848 |
MAKEINFO_DOC_FALSE='#' |
|
5849 |
else |
|
5850 |
MAKEINFO_DOC_TRUE='#' |
|
5851 |
MAKEINFO_DOC_FALSE= |
|
5852 |
fi |
|
5853 |
||
5854 |
# texinfo documentation |
|
5855 |
# Extract the first word of "texi2html", so it can be a program name with args. |
|
5856 |
set dummy texi2html; ac_word=$2 |
|
5857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5858 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5859 |
if ${ac_cv_prog_TEXI2HTML+:} false; then : |
|
5860 |
$as_echo_n "(cached) " >&6 |
|
5861 |
else |
|
5862 |
if test -n "$TEXI2HTML"; then |
|
5863 |
ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. |
|
5864 |
else |
|
5865 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5866 |
for as_dir in $PATH |
|
5867 |
do |
|
5868 |
IFS=$as_save_IFS |
|
5869 |
test -z "$as_dir" && as_dir=. |
|
5870 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5871 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5872 |
ac_cv_prog_TEXI2HTML="texi2html" |
|
5873 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5874 |
break 2 |
|
5875 |
fi |
|
5876 |
done |
|
5877 |
done |
|
5878 |
IFS=$as_save_IFS |
|
5879 |
||
5880 |
fi |
|
5881 |
fi |
|
5882 |
TEXI2HTML=$ac_cv_prog_TEXI2HTML |
|
5883 |
if test -n "$TEXI2HTML"; then |
|
5884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2HTML" >&5 |
|
5885 |
$as_echo "$TEXI2HTML" >&6; } |
|
5886 |
else |
|
5887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5888 |
$as_echo "no" >&6; } |
|
5889 |
fi |
|
5890 |
||
5891 |
||
5892 |
if test -n "$TEXI2HTML"; then |
|
5893 |
TEXI2HTML_DOC_TRUE= |
|
5894 |
TEXI2HTML_DOC_FALSE='#' |
|
5895 |
else |
|
5896 |
TEXI2HTML_DOC_TRUE='#' |
|
5897 |
TEXI2HTML_DOC_FALSE= |
|
5898 |
fi |
|
5899 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5900 |
# Doxygen documentation |
5901 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5902 |
# Check whether --enable-doxygen was given. |
5903 |
if test "${enable_doxygen+set}" = set; then : |
|
5904 |
enableval=$enable_doxygen; |
|
5905 |
else |
|
5906 |
enable_doxygen=no |
|
5907 |
fi |
|
5908 |
||
5909 |
||
5910 |
# Check whether --enable-dot was given. |
|
5911 |
if test "${enable_dot+set}" = set; then : |
|
5912 |
enableval=$enable_dot; |
|
5913 |
else |
|
5914 |
enable_dot=no |
|
5915 |
fi |
|
5916 |
||
5917 |
# Check whether --enable-html-docs was given. |
|
5918 |
if test "${enable_html_docs+set}" = set; then : |
|
5919 |
enableval=$enable_html_docs; |
|
5920 |
else |
|
5921 |
enable_html_docs=no |
|
5922 |
fi |
|
5923 |
||
5924 |
# Check whether --enable-latex-docs was given. |
|
5925 |
if test "${enable_latex_docs+set}" = set; then : |
|
5926 |
enableval=$enable_latex_docs; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5927 |
else |
5928 |
enable_latex_docs=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5929 |
fi |
5930 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5931 |
|
5932 |
if test "x$enable_doxygen" = xno; then |
|
5933 |
enable_doc=no |
|
5934 |
else |
|
5935 |
# Extract the first word of "doxygen", so it can be a program name with args. |
|
5936 |
set dummy doxygen; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5938 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5939 |
if ${ac_cv_prog_DOXYGEN+:} false; then : |
|
5940 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5941 |
else |
5942 |
if test -n "$DOXYGEN"; then |
|
5943 |
ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. |
|
5944 |
else |
|
5945 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5946 |
for as_dir in $PATH |
|
5947 |
do |
|
5948 |
IFS=$as_save_IFS |
|
5949 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5950 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5951 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5952 |
ac_cv_prog_DOXYGEN="doxygen" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5953 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5954 |
break 2 |
5955 |
fi |
|
5956 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5957 |
done |
5958 |
IFS=$as_save_IFS |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5959 |
|
5960 |
fi |
|
5961 |
fi |
|
5962 |
DOXYGEN=$ac_cv_prog_DOXYGEN |
|
5963 |
if test -n "$DOXYGEN"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 |
5965 |
$as_echo "$DOXYGEN" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5966 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5968 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5969 |
fi |
5970 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5971 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5972 |
if test x$DOXYGEN = x; then |
5973 |
if test "x$enable_doxygen" = xyes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5974 |
as_fn_error $? "could not find doxygen" "$LINENO" 5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5975 |
fi |
5976 |
enable_doc=no |
|
5977 |
else |
|
5978 |
doxy_ver=`doxygen --version` |
|
5979 |
doxy_major=`expr "$doxy_ver" : '\([0-9]\)\..*'` |
|
5980 |
doxy_minor=`expr "$doxy_ver" : '[0-9]\.\([0-9]\).*'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5981 |
if test $doxy_major -eq "1" -a $doxy_minor -ge "5" ; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5982 |
enable_doc=yes |
5983 |
# Extract the first word of "dot", so it can be a program name with args. |
|
5984 |
set dummy dot; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5985 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5986 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5987 |
if ${ac_cv_prog_DOT+:} false; then : |
|
5988 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
5989 |
else |
5990 |
if test -n "$DOT"; then |
|
5991 |
ac_cv_prog_DOT="$DOT" # Let the user override the test. |
|
5992 |
else |
|
5993 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5994 |
for as_dir in $PATH |
|
5995 |
do |
|
5996 |
IFS=$as_save_IFS |
|
5997 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
5998 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5999 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6000 |
ac_cv_prog_DOT="dot" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6001 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6002 |
break 2 |
6003 |
fi |
|
6004 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6005 |
done |
6006 |
IFS=$as_save_IFS |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6007 |
|
6008 |
fi |
|
6009 |
fi |
|
6010 |
DOT=$ac_cv_prog_DOT |
|
6011 |
if test -n "$DOT"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6012 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 |
6013 |
$as_echo "$DOT" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6014 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6015 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6016 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6017 |
fi |
6018 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6019 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6020 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen version $doxy_ver too old, doxygen will not be used." >&5 |
6022 |
$as_echo "$as_me: WARNING: doxygen version $doxy_ver too old, doxygen will not be used." >&2;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6023 |
enable_doc=no |
6024 |
fi |
|
6025 |
fi |
|
6026 |
fi |
|
6027 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6028 |
if test x$enable_doc = xyes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6029 |
DOXYGEN_DOC_TRUE= |
6030 |
DOXYGEN_DOC_FALSE='#' |
|
6031 |
else |
|
6032 |
DOXYGEN_DOC_TRUE='#' |
|
6033 |
DOXYGEN_DOC_FALSE= |
|
6034 |
fi |
|
6035 |
||
6036 |
||
6037 |
if test x$DOT = x; then |
|
6038 |
if test "x$enable_dot" = xyes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6039 |
as_fn_error $? "could not find dot" "$LINENO" 5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6040 |
fi |
6041 |
enable_dot=no |
|
6042 |
else |
|
6043 |
enable_dot=yes |
|
6044 |
fi |
|
6045 |
||
6046 |
||
6047 |
||
6048 |
||
6049 |
||
6050 |
||
6051 |
# Check if the script was called with --enable-64bit |
|
6052 |
# and if so modify the compilation flags. |
|
6053 |
||
6054 |
||
6055 |
bz_64bit=false |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6056 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable C++/Fortran 64-bit compilation flags" >&5 |
6057 |
$as_echo_n "checking whether to enable C++/Fortran 64-bit compilation flags... " >&6; } |
|
6058 |
# Check whether --enable-64bit was given. |
|
6059 |
if test "${enable_64bit+set}" = set; then : |
|
6060 |
enableval=$enable_64bit; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6061 |
if test "$enableval" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6063 |
$as_echo "yes" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6064 |
bz_64bit=true |
6065 |
fi |
|
6066 |
||
6067 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6068 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6069 |
$as_echo "no" >&6; } |
|
6070 |
fi |
|
6071 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6072 |
|
6073 |
if test "$bz_64bit" = true; then |
|
6074 |
case "$target" in |
|
6075 |
*aix*) |
|
6076 |
case "$CXX" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6077 |
*xlC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6078 |
CXXFLAGS="-q64 $CXXFLAGS" |
6079 |
AR_FLAGS="-cruX64" |
|
6080 |
LDFLAGS="-b64 $LDFLAGS" |
|
6081 |
;; |
|
6082 |
*KCC) |
|
6083 |
CXXFLAGS="-q64 $CXXFLAGS" |
|
6084 |
AR_FLAGS="-q64 $AR_FLAGS" |
|
6085 |
LDFLAGS="-b64 $LDFLAGS" |
|
6086 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6087 |
*g++) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6088 |
CXXFLAGS="-maix64 $CXXFLAGS" |
6089 |
AR_FLAGS="-cruX64" |
|
6090 |
LDFLAGS="-Wl,-b64 $LDFLAGS" |
|
6091 |
;; |
|
6092 |
esac |
|
6093 |
||
6094 |
case "$F77" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6095 |
*xlf*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6096 |
FFLAGS="-q64 $FFLAGS" |
6097 |
;; |
|
6098 |
esac |
|
6099 |
||
6100 |
case "$FC" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6101 |
*xlf90*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6102 |
FCFLAGS="-q64 $FCFLAGS" |
6103 |
;; |
|
6104 |
esac |
|
6105 |
;; |
|
6106 |
||
6107 |
*irix*) |
|
6108 |
case "$CXX" in |
|
6109 |
*KCC) |
|
6110 |
CXXFLAGS="-64 $CXXFLAGS" |
|
6111 |
LDFLAGS="-64 $LDFLAGS" |
|
6112 |
AR_FLAGS="-64 $AR_FLAGS" |
|
6113 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6114 |
*CC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6115 |
CXXFLAGS="-64 $CXXFLAGS" |
6116 |
LDFLAGS="-64 $LDFLAGS" |
|
6117 |
AR_FLAGS="-64 $AR_FLAGS" |
|
6118 |
;; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6119 |
*g++) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6120 |
CXXFLAGS="-mabi=64 $CXXFLAGS" |
6121 |
LDFLAGS="-Wl,-64 $LDFLAGS" |
|
6122 |
;; |
|
6123 |
esac |
|
6124 |
||
6125 |
case "$F77" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6126 |
*f77*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6127 |
FFLAGS="-64 $FFLAGS" |
6128 |
;; |
|
6129 |
esac |
|
6130 |
||
6131 |
case "$FC" in |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6132 |
*f90*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6133 |
FCFLAGS="-64 $FCFLAGS" |
6134 |
;; |
|
6135 |
esac |
|
6136 |
;; |
|
6137 |
esac |
|
6138 |
fi |
|
6139 |
||
6140 |
||
6141 |
||
6142 |
# Disable shared library building by default (use --enable-shared to enable) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6143 |
# Check whether --enable-shared was given. |
6144 |
if test "${enable_shared+set}" = set; then : |
|
6145 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6146 |
case $enableval in |
6147 |
yes) enable_shared=yes ;; |
|
6148 |
no) enable_shared=no ;; |
|
6149 |
*) |
|
6150 |
enable_shared=no |
|
6151 |
# Look at the argument we got. We use all the common list separators. |
|
6152 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
6153 |
for pkg in $enableval; do |
|
6154 |
IFS="$lt_save_ifs" |
|
6155 |
if test "X$pkg" = "X$p"; then |
|
6156 |
enable_shared=yes |
|
6157 |
fi |
|
6158 |
done |
|
6159 |
IFS="$lt_save_ifs" |
|
6160 |
;; |
|
6161 |
esac |
|
6162 |
else |
|
6163 |
enable_shared=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6164 |
fi |
6165 |
||
6166 |
||
6167 |
||
6168 |
||
6169 |
||
6170 |
||
6171 |
||
6172 |
||
6173 |
||
6174 |
case `pwd` in |
|
6175 |
*\ * | *\ *) |
|
6176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
6177 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
6178 |
esac |
|
6179 |
||
6180 |
||
6181 |
||
6182 |
macro_version='2.4' |
|
6183 |
macro_revision='1.3293' |
|
6184 |
||
6185 |
||
6186 |
||
6187 |
||
6188 |
||
6189 |
||
6190 |
||
6191 |
||
6192 |
||
6193 |
||
6194 |
||
6195 |
||
6196 |
||
6197 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
6198 |
||
6199 |
# Backslashify metacharacters that are still active within |
|
6200 |
# double-quoted strings. |
|
6201 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
6202 |
||
6203 |
# Same as above, but do not quote variable references. |
|
6204 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
6205 |
||
6206 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
6207 |
# double_quote_subst'ed string. |
|
6208 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
6209 |
||
6210 |
# Sed substitution to delay expansion of an escaped single quote. |
|
6211 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
6212 |
||
6213 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
6214 |
no_glob_subst='s/\*/\\\*/g' |
|
6215 |
||
6216 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
6217 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
6218 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
6219 |
||
6220 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
6221 |
$as_echo_n "checking how to print strings... " >&6; } |
|
6222 |
# Test print first, because it will be a builtin if present. |
|
6223 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
6224 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
6225 |
ECHO='print -r --' |
|
6226 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
6227 |
ECHO='printf %s\n' |
|
6228 |
else |
|
6229 |
# Use this function as a fallback that always works. |
|
6230 |
func_fallback_echo () |
|
6231 |
{ |
|
6232 |
eval 'cat <<_LTECHO_EOF |
|
6233 |
$1 |
|
6234 |
_LTECHO_EOF' |
|
6235 |
} |
|
6236 |
ECHO='func_fallback_echo' |
|
6237 |
fi |
|
6238 |
||
6239 |
# func_echo_all arg... |
|
6240 |
# Invoke $ECHO with all args, space-separated. |
|
6241 |
func_echo_all () |
|
6242 |
{ |
|
6243 |
$ECHO "" |
|
6244 |
} |
|
6245 |
||
6246 |
case "$ECHO" in |
|
6247 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
6248 |
$as_echo "printf" >&6; } ;; |
|
6249 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
6250 |
$as_echo "print -r" >&6; } ;; |
|
6251 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
6252 |
$as_echo "cat" >&6; } ;; |
|
6253 |
esac |
|
6254 |
||
6255 |
||
6256 |
||
6257 |
||
6258 |
||
6259 |
||
6260 |
||
6261 |
||
6262 |
||
6263 |
||
6264 |
||
6265 |
||
6266 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6267 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6268 |
ac_ext=c |
6269 |
ac_cpp='$CPP $CPPFLAGS' |
|
6270 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6271 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6272 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6273 |
if test -n "$ac_tool_prefix"; then |
|
6274 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
6275 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6277 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6278 |
if ${ac_cv_prog_CC+:} false; then : |
|
6279 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6280 |
else |
6281 |
if test -n "$CC"; then |
|
6282 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
6283 |
else |
|
6284 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6285 |
for as_dir in $PATH |
|
6286 |
do |
|
6287 |
IFS=$as_save_IFS |
|
6288 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6289 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6290 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6291 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6292 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6293 |
break 2 |
6294 |
fi |
|
6295 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6296 |
done |
6297 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6298 |
|
6299 |
fi |
|
6300 |
fi |
|
6301 |
CC=$ac_cv_prog_CC |
|
6302 |
if test -n "$CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6304 |
$as_echo "$CC" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6305 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6307 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6308 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6309 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6310 |
|
6311 |
fi |
|
6312 |
if test -z "$ac_cv_prog_CC"; then |
|
6313 |
ac_ct_CC=$CC |
|
6314 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
6315 |
set dummy gcc; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6316 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6317 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6318 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
6319 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6320 |
else |
6321 |
if test -n "$ac_ct_CC"; then |
|
6322 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
6323 |
else |
|
6324 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6325 |
for as_dir in $PATH |
|
6326 |
do |
|
6327 |
IFS=$as_save_IFS |
|
6328 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6329 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6330 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6331 |
ac_cv_prog_ac_ct_CC="gcc" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6332 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6333 |
break 2 |
6334 |
fi |
|
6335 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6336 |
done |
6337 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6338 |
|
6339 |
fi |
|
6340 |
fi |
|
6341 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
6342 |
if test -n "$ac_ct_CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
6344 |
$as_echo "$ac_ct_CC" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6345 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6347 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6348 |
fi |
6349 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6350 |
if test "x$ac_ct_CC" = x; then |
6351 |
CC="" |
|
6352 |
else |
|
6353 |
case $cross_compiling:$ac_tool_warned in |
|
6354 |
yes:) |
|
6355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6356 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6357 |
ac_tool_warned=yes ;; |
|
6358 |
esac |
|
6359 |
CC=$ac_ct_CC |
|
6360 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6361 |
else |
6362 |
CC="$ac_cv_prog_CC" |
|
6363 |
fi |
|
6364 |
||
6365 |
if test -z "$CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6366 |
if test -n "$ac_tool_prefix"; then |
6367 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6368 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6369 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6370 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6371 |
if ${ac_cv_prog_CC+:} false; then : |
|
6372 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6373 |
else |
6374 |
if test -n "$CC"; then |
|
6375 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
6376 |
else |
|
6377 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6378 |
for as_dir in $PATH |
|
6379 |
do |
|
6380 |
IFS=$as_save_IFS |
|
6381 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6382 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6383 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6384 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6385 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6386 |
break 2 |
6387 |
fi |
|
6388 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6389 |
done |
6390 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6391 |
|
6392 |
fi |
|
6393 |
fi |
|
6394 |
CC=$ac_cv_prog_CC |
|
6395 |
if test -n "$CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6397 |
$as_echo "$CC" >&6; } |
|
6398 |
else |
|
6399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6400 |
$as_echo "no" >&6; } |
|
6401 |
fi |
|
6402 |
||
6403 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6404 |
fi |
6405 |
fi |
|
6406 |
if test -z "$CC"; then |
|
6407 |
# Extract the first word of "cc", so it can be a program name with args. |
|
6408 |
set dummy cc; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6410 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6411 |
if ${ac_cv_prog_CC+:} false; then : |
|
6412 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6413 |
else |
6414 |
if test -n "$CC"; then |
|
6415 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
6416 |
else |
|
6417 |
ac_prog_rejected=no |
|
6418 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6419 |
for as_dir in $PATH |
|
6420 |
do |
|
6421 |
IFS=$as_save_IFS |
|
6422 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6423 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6424 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6425 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
6426 |
ac_prog_rejected=yes |
|
6427 |
continue |
|
6428 |
fi |
|
6429 |
ac_cv_prog_CC="cc" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6430 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6431 |
break 2 |
6432 |
fi |
|
6433 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6434 |
done |
6435 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6436 |
|
6437 |
if test $ac_prog_rejected = yes; then |
|
6438 |
# We found a bogon in the path, so make sure we never use it. |
|
6439 |
set dummy $ac_cv_prog_CC |
|
6440 |
shift |
|
6441 |
if test $# != 0; then |
|
6442 |
# We chose a different compiler from the bogus one. |
|
6443 |
# However, it has the same basename, so the bogon will be chosen |
|
6444 |
# first if we set CC to just the basename; use the full file name. |
|
6445 |
shift |
|
6446 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
6447 |
fi |
|
6448 |
fi |
|
6449 |
fi |
|
6450 |
fi |
|
6451 |
CC=$ac_cv_prog_CC |
|
6452 |
if test -n "$CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6454 |
$as_echo "$CC" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6455 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6457 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6458 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6459 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6460 |
|
6461 |
fi |
|
6462 |
if test -z "$CC"; then |
|
6463 |
if test -n "$ac_tool_prefix"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6464 |
for ac_prog in cl.exe |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6465 |
do |
6466 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
6467 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6469 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6470 |
if ${ac_cv_prog_CC+:} false; then : |
|
6471 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6472 |
else |
6473 |
if test -n "$CC"; then |
|
6474 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
6475 |
else |
|
6476 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6477 |
for as_dir in $PATH |
|
6478 |
do |
|
6479 |
IFS=$as_save_IFS |
|
6480 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6481 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6482 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6483 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6484 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6485 |
break 2 |
6486 |
fi |
|
6487 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6488 |
done |
6489 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6490 |
|
6491 |
fi |
|
6492 |
fi |
|
6493 |
CC=$ac_cv_prog_CC |
|
6494 |
if test -n "$CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6496 |
$as_echo "$CC" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6497 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6499 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6500 |
fi |
6501 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6502 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6503 |
test -n "$CC" && break |
6504 |
done |
|
6505 |
fi |
|
6506 |
if test -z "$CC"; then |
|
6507 |
ac_ct_CC=$CC |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6508 |
for ac_prog in cl.exe |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6509 |
do |
6510 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
6511 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6513 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6514 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
6515 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6516 |
else |
6517 |
if test -n "$ac_ct_CC"; then |
|
6518 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
6519 |
else |
|
6520 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6521 |
for as_dir in $PATH |
|
6522 |
do |
|
6523 |
IFS=$as_save_IFS |
|
6524 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6525 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6526 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6527 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6528 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6529 |
break 2 |
6530 |
fi |
|
6531 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6532 |
done |
6533 |
IFS=$as_save_IFS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6534 |
|
6535 |
fi |
|
6536 |
fi |
|
6537 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
6538 |
if test -n "$ac_ct_CC"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
6540 |
$as_echo "$ac_ct_CC" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6541 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6542 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6543 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6544 |
fi |
6545 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6546 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6547 |
test -n "$ac_ct_CC" && break |
6548 |
done |
|
6549 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6550 |
if test "x$ac_ct_CC" = x; then |
6551 |
CC="" |
|
6552 |
else |
|
6553 |
case $cross_compiling:$ac_tool_warned in |
|
6554 |
yes:) |
|
6555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6556 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6557 |
ac_tool_warned=yes ;; |
|
6558 |
esac |
|
6559 |
CC=$ac_ct_CC |
|
6560 |
fi |
|
6561 |
fi |
|
6562 |
||
6563 |
fi |
|
6564 |
||
6565 |
||
6566 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
6567 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
6568 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
6569 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6570 |
|
6571 |
# Provide some information about the compiler. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6572 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
6573 |
set X $ac_compile |
|
6574 |
ac_compiler=$2 |
|
6575 |
for ac_option in --version -v -V -qversion; do |
|
6576 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
6577 |
case "(($ac_try" in |
|
6578 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6579 |
*) ac_try_echo=$ac_try;; |
|
6580 |
esac |
|
6581 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
6582 |
$as_echo "$ac_try_echo"; } >&5 |
|
6583 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
6584 |
ac_status=$? |
|
6585 |
if test -s conftest.err; then |
|
6586 |
sed '10a\ |
|
6587 |
... rest of stderr output deleted ... |
|
6588 |
10q' conftest.err >conftest.er1 |
|
6589 |
cat conftest.er1 >&5 |
|
6590 |
fi |
|
6591 |
rm -f conftest.er1 conftest.err |
|
6592 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6593 |
test $ac_status = 0; } |
|
6594 |
done |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6595 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
6597 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
6598 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
6599 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6600 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6601 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6602 |
/* end confdefs.h. */ |
6603 |
||
6604 |
int |
|
6605 |
main () |
|
6606 |
{ |
|
6607 |
#ifndef __GNUC__ |
|
6608 |
choke me |
|
6609 |
#endif |
|
6610 |
||
6611 |
; |
|
6612 |
return 0; |
|
6613 |
} |
|
6614 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6615 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6616 |
ac_compiler_gnu=yes |
6617 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6618 |
ac_compiler_gnu=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6619 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6620 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6621 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
6622 |
||
6623 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
6625 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
6626 |
if test $ac_compiler_gnu = yes; then |
|
6627 |
GCC=yes |
|
6628 |
else |
|
6629 |
GCC= |
|
6630 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6631 |
ac_test_CFLAGS=${CFLAGS+set} |
6632 |
ac_save_CFLAGS=$CFLAGS |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
6634 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
6635 |
if ${ac_cv_prog_cc_g+:} false; then : |
|
6636 |
$as_echo_n "(cached) " >&6 |
|
6637 |
else |
|
6638 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
6639 |
ac_c_werror_flag=yes |
|
6640 |
ac_cv_prog_cc_g=no |
|
6641 |
CFLAGS="-g" |
|
6642 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6643 |
/* end confdefs.h. */ |
|
6644 |
||
6645 |
int |
|
6646 |
main () |
|
6647 |
{ |
|
6648 |
||
6649 |
; |
|
6650 |
return 0; |
|
6651 |
} |
|
6652 |
_ACEOF |
|
6653 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
6654 |
ac_cv_prog_cc_g=yes |
|
6655 |
else |
|
6656 |
CFLAGS="" |
|
6657 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6658 |
/* end confdefs.h. */ |
|
6659 |
||
6660 |
int |
|
6661 |
main () |
|
6662 |
{ |
|
6663 |
||
6664 |
; |
|
6665 |
return 0; |
|
6666 |
} |
|
6667 |
_ACEOF |
|
6668 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
6669 |
||
6670 |
else |
|
6671 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
6672 |
CFLAGS="-g" |
|
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_compile "$LINENO"; then : |
|
6685 |
ac_cv_prog_cc_g=yes |
|
6686 |
fi |
|
6687 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6688 |
fi |
|
6689 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6690 |
fi |
|
6691 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6692 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
6693 |
fi |
|
6694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
6695 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6696 |
if test "$ac_test_CFLAGS" = set; then |
6697 |
CFLAGS=$ac_save_CFLAGS |
|
6698 |
elif test $ac_cv_prog_cc_g = yes; then |
|
6699 |
if test "$GCC" = yes; then |
|
6700 |
CFLAGS="-g -O2" |
|
6701 |
else |
|
6702 |
CFLAGS="-g" |
|
6703 |
fi |
|
6704 |
else |
|
6705 |
if test "$GCC" = yes; then |
|
6706 |
CFLAGS="-O2" |
|
6707 |
else |
|
6708 |
CFLAGS= |
|
6709 |
fi |
|
6710 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
6712 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
6713 |
if ${ac_cv_prog_cc_c89+:} false; then : |
|
6714 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6715 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6716 |
ac_cv_prog_cc_c89=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6717 |
ac_save_CC=$CC |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6718 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6719 |
/* end confdefs.h. */ |
6720 |
#include <stdarg.h> |
|
6721 |
#include <stdio.h> |
|
6722 |
#include <sys/types.h> |
|
6723 |
#include <sys/stat.h> |
|
6724 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
6725 |
struct buf { int x; }; |
|
6726 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
6727 |
static char *e (p, i) |
|
6728 |
char **p; |
|
6729 |
int i; |
|
6730 |
{ |
|
6731 |
return p[i]; |
|
6732 |
} |
|
6733 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
6734 |
{ |
|
6735 |
char *s; |
|
6736 |
va_list v; |
|
6737 |
va_start (v,p); |
|
6738 |
s = g (p, va_arg (v,int)); |
|
6739 |
va_end (v); |
|
6740 |
return s; |
|
6741 |
} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6742 |
|
6743 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
6744 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
6745 |
These don't provoke an error unfortunately, instead are silently treated |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6746 |
as 'x'. The following induces an error, until -std is added to get |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6747 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
6748 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6749 |
that's true only with -std. */ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6750 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
6751 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6752 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
6753 |
inside strings and character constants. */ |
|
6754 |
#define FOO(x) 'x' |
|
6755 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
6756 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6757 |
int test (int i, double x); |
6758 |
struct s1 {int (*f) (int a);}; |
|
6759 |
struct s2 {int (*f) (double a);}; |
|
6760 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
6761 |
int argc; |
|
6762 |
char **argv; |
|
6763 |
int |
|
6764 |
main () |
|
6765 |
{ |
|
6766 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
6767 |
; |
|
6768 |
return 0; |
|
6769 |
} |
|
6770 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6771 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
6772 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6773 |
do |
6774 |
CC="$ac_save_CC $ac_arg" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6775 |
if ac_fn_c_try_compile "$LINENO"; then : |
6776 |
ac_cv_prog_cc_c89=$ac_arg |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6777 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6778 |
rm -f core conftest.err conftest.$ac_objext |
6779 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6780 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6781 |
rm -f conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6782 |
CC=$ac_save_CC |
6783 |
||
6784 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6785 |
# AC_CACHE_VAL |
6786 |
case "x$ac_cv_prog_cc_c89" in |
|
6787 |
x) |
|
6788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
6789 |
$as_echo "none needed" >&6; } ;; |
|
6790 |
xno) |
|
6791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
6792 |
$as_echo "unsupported" >&6; } ;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6793 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6794 |
CC="$CC $ac_cv_prog_cc_c89" |
6795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
6796 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6797 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6798 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
6799 |
||
6800 |
fi |
|
6801 |
||
6802 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6803 |
ac_cpp='$CXXCPP $CPPFLAGS' |
6804 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6805 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6806 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6807 |
|
6808 |
depcc="$CC" am_compiler_list= |
|
6809 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6810 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
6811 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
6812 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
6813 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6814 |
else |
6815 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
6816 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
6817 |
# making bogus files that we don't know about and never remove. For |
|
6818 |
# instance it was reported that on HP-UX the gcc test will end up |
|
6819 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
6820 |
# in D'. |
|
6821 |
mkdir conftest.dir |
|
6822 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
6823 |
# using a relative directory. |
|
6824 |
cp "$am_depcomp" conftest.dir |
|
6825 |
cd conftest.dir |
|
6826 |
# We will build objects and dependencies in a subdirectory because |
|
6827 |
# it helps to detect inapplicable dependency modes. For instance |
|
6828 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
6829 |
# side effect of compilation, but ICC will put the dependencies in |
|
6830 |
# the current directory while Tru64 will put them in the object |
|
6831 |
# directory. |
|
6832 |
mkdir sub |
|
6833 |
||
6834 |
am_cv_CC_dependencies_compiler_type=none |
|
6835 |
if test "$am_compiler_list" = ""; then |
|
6836 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
6837 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6838 |
am__universal=false |
6839 |
case " $depcc " in #( |
|
6840 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
6841 |
esac |
|
6842 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6843 |
for depmode in $am_compiler_list; do |
6844 |
# Setup a source with many dependencies, because some compilers |
|
6845 |
# like to wrap large dependency lists on column 80 (with \), and |
|
6846 |
# we should not choose a depcomp mode which is confused by this. |
|
6847 |
# |
|
6848 |
# We need to recreate these files for each test, as the compiler may |
|
6849 |
# overwrite some of them when testing with obscure command lines. |
|
6850 |
# This happens at least with the AIX C compiler. |
|
6851 |
: > sub/conftest.c |
|
6852 |
for i in 1 2 3 4 5 6; do |
|
6853 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6854 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
6855 |
# Solaris 8's {/usr,}/bin/sh. |
|
6856 |
touch sub/conftst$i.h |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6857 |
done |
6858 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
6859 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6860 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
6861 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
6862 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
6863 |
# versions had trouble with output in subdirs |
|
6864 |
am__obj=sub/conftest.${OBJEXT-o} |
|
6865 |
am__minus_obj="-o $am__obj" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6866 |
case $depmode in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6867 |
gcc) |
6868 |
# This depmode causes a compiler race in universal mode. |
|
6869 |
test "$am__universal" = false || continue |
|
6870 |
;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6871 |
nosideeffect) |
6872 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
6873 |
# only be used when explicitly requested |
|
6874 |
if test "x$enable_dependency_tracking" = xyes; then |
|
6875 |
continue |
|
6876 |
else |
|
6877 |
break |
|
6878 |
fi |
|
6879 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6880 |
msvisualcpp | msvcmsys) |
6881 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
6882 |
# not run yet. These depmodes are late enough in the game, and |
|
6883 |
# so weak that their functioning should not be impacted. |
|
6884 |
am__obj=conftest.${OBJEXT-o} |
|
6885 |
am__minus_obj= |
|
6886 |
;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6887 |
none) break ;; |
6888 |
esac |
|
6889 |
if depmode=$depmode \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6890 |
source=sub/conftest.c object=$am__obj \ |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6891 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6892 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6893 |
>/dev/null 2>conftest.err && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6894 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6895 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6896 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6897 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6898 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
6899 |
# or remarks (even with -Werror). So we grep stderr for any message |
6900 |
# that says an option was ignored or not supported. |
|
6901 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
6902 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
6903 |
# The diagnosis changed in icc 8.0: |
|
6904 |
# icc: Command line remark: option '-MP' not supported |
|
6905 |
if (grep 'ignoring option' conftest.err || |
|
6906 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6907 |
am_cv_CC_dependencies_compiler_type=$depmode |
6908 |
break |
|
6909 |
fi |
|
6910 |
fi |
|
6911 |
done |
|
6912 |
||
6913 |
cd .. |
|
6914 |
rm -rf conftest.dir |
|
6915 |
else |
|
6916 |
am_cv_CC_dependencies_compiler_type=none |
|
6917 |
fi |
|
6918 |
||
6919 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
6921 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6922 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
6923 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6924 |
if |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
6925 |
test "x$enable_dependency_tracking" != xno \ |
6926 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
6927 |
am__fastdepCC_TRUE= |
|
6928 |
am__fastdepCC_FALSE='#' |
|
6929 |
else |
|
6930 |
am__fastdepCC_TRUE='#' |
|
6931 |
am__fastdepCC_FALSE= |
|
6932 |
fi |
|
6933 |
||
6934 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
6936 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
6937 |
if ${ac_cv_path_SED+:} false; then : |
|
6938 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6939 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6940 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
6941 |
for ac_i in 1 2 3 4 5 6 7; do |
|
6942 |
ac_script="$ac_script$as_nl$ac_script" |
|
6943 |
done |
|
6944 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
6945 |
{ ac_script=; unset ac_script;} |
|
6946 |
if test -z "$SED"; then |
|
6947 |
ac_path_SED_found=false |
|
6948 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
6949 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
6950 |
for as_dir in $PATH |
6951 |
do |
|
6952 |
IFS=$as_save_IFS |
|
6953 |
test -z "$as_dir" && as_dir=. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
6954 |
for ac_prog in sed gsed; do |
6955 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6956 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
6957 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
6958 |
# Check for GNU ac_path_SED and select it if it is found. |
|
6959 |
# Check for GNU $ac_path_SED |
|
6960 |
case `"$ac_path_SED" --version 2>&1` in |
|
6961 |
*GNU*) |
|
6962 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
6963 |
*) |
|
6964 |
ac_count=0 |
|
6965 |
$as_echo_n 0123456789 >"conftest.in" |
|
6966 |
while : |
|
6967 |
do |
|
6968 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
6969 |
mv "conftest.tmp" "conftest.in" |
|
6970 |
cp "conftest.in" "conftest.nl" |
|
6971 |
$as_echo '' >> "conftest.nl" |
|
6972 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
6973 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
6974 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
6975 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
6976 |
# Best one so far, save it but keep looking for a better one |
|
6977 |
ac_cv_path_SED="$ac_path_SED" |
|
6978 |
ac_path_SED_max=$ac_count |
|
6979 |
fi |
|
6980 |
# 10*(2^10) chars as input seems more than enough |
|
6981 |
test $ac_count -gt 10 && break |
|
6982 |
done |
|
6983 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
6984 |
esac |
|
6985 |
||
6986 |
$ac_path_SED_found && break 3 |
|
6987 |
done |
|
6988 |
done |
|
6989 |
done |
|
6990 |
IFS=$as_save_IFS |
|
6991 |
if test -z "$ac_cv_path_SED"; then |
|
6992 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
6993 |
fi |
|
6994 |
else |
|
6995 |
ac_cv_path_SED=$SED |
|
6996 |
fi |
|
6997 |
||
6998 |
fi |
|
6999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
7000 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
7001 |
SED="$ac_cv_path_SED" |
|
7002 |
rm -f conftest.sed |
|
7003 |
||
7004 |
test -z "$SED" && SED=sed |
|
7005 |
Xsed="$SED -e 1s/^X//" |
|
7006 |
||
7007 |
||
7008 |
||
7009 |
||
7010 |
||
7011 |
||
7012 |
||
7013 |
||
7014 |
||
7015 |
||
7016 |
||
7017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
7018 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
7019 |
if ${ac_cv_path_GREP+:} false; then : |
|
7020 |
$as_echo_n "(cached) " >&6 |
|
7021 |
else |
|
7022 |
if test -z "$GREP"; then |
|
7023 |
ac_path_GREP_found=false |
|
7024 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
7025 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7026 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
7027 |
do |
|
7028 |
IFS=$as_save_IFS |
|
7029 |
test -z "$as_dir" && as_dir=. |
|
7030 |
for ac_prog in grep ggrep; do |
|
7031 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7032 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
7033 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
7034 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
7035 |
# Check for GNU $ac_path_GREP |
|
7036 |
case `"$ac_path_GREP" --version 2>&1` in |
|
7037 |
*GNU*) |
|
7038 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
7039 |
*) |
|
7040 |
ac_count=0 |
|
7041 |
$as_echo_n 0123456789 >"conftest.in" |
|
7042 |
while : |
|
7043 |
do |
|
7044 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
7045 |
mv "conftest.tmp" "conftest.in" |
|
7046 |
cp "conftest.in" "conftest.nl" |
|
7047 |
$as_echo 'GREP' >> "conftest.nl" |
|
7048 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
7049 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
7050 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
7051 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
7052 |
# Best one so far, save it but keep looking for a better one |
|
7053 |
ac_cv_path_GREP="$ac_path_GREP" |
|
7054 |
ac_path_GREP_max=$ac_count |
|
7055 |
fi |
|
7056 |
# 10*(2^10) chars as input seems more than enough |
|
7057 |
test $ac_count -gt 10 && break |
|
7058 |
done |
|
7059 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
7060 |
esac |
|
7061 |
||
7062 |
$ac_path_GREP_found && break 3 |
|
7063 |
done |
|
7064 |
done |
|
7065 |
done |
|
7066 |
IFS=$as_save_IFS |
|
7067 |
if test -z "$ac_cv_path_GREP"; then |
|
7068 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
7069 |
fi |
|
7070 |
else |
|
7071 |
ac_cv_path_GREP=$GREP |
|
7072 |
fi |
|
7073 |
||
7074 |
fi |
|
7075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
7076 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
7077 |
GREP="$ac_cv_path_GREP" |
|
7078 |
||
7079 |
||
7080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
7081 |
$as_echo_n "checking for egrep... " >&6; } |
|
7082 |
if ${ac_cv_path_EGREP+:} false; then : |
|
7083 |
$as_echo_n "(cached) " >&6 |
|
7084 |
else |
|
7085 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
7086 |
then ac_cv_path_EGREP="$GREP -E" |
|
7087 |
else |
|
7088 |
if test -z "$EGREP"; then |
|
7089 |
ac_path_EGREP_found=false |
|
7090 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
7091 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7092 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
7093 |
do |
|
7094 |
IFS=$as_save_IFS |
|
7095 |
test -z "$as_dir" && as_dir=. |
|
7096 |
for ac_prog in egrep; do |
|
7097 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7098 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
7099 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
7100 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
7101 |
# Check for GNU $ac_path_EGREP |
|
7102 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
7103 |
*GNU*) |
|
7104 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
7105 |
*) |
|
7106 |
ac_count=0 |
|
7107 |
$as_echo_n 0123456789 >"conftest.in" |
|
7108 |
while : |
|
7109 |
do |
|
7110 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
7111 |
mv "conftest.tmp" "conftest.in" |
|
7112 |
cp "conftest.in" "conftest.nl" |
|
7113 |
$as_echo 'EGREP' >> "conftest.nl" |
|
7114 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
7115 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
7116 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
7117 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
7118 |
# Best one so far, save it but keep looking for a better one |
|
7119 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
7120 |
ac_path_EGREP_max=$ac_count |
|
7121 |
fi |
|
7122 |
# 10*(2^10) chars as input seems more than enough |
|
7123 |
test $ac_count -gt 10 && break |
|
7124 |
done |
|
7125 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
7126 |
esac |
|
7127 |
||
7128 |
$ac_path_EGREP_found && break 3 |
|
7129 |
done |
|
7130 |
done |
|
7131 |
done |
|
7132 |
IFS=$as_save_IFS |
|
7133 |
if test -z "$ac_cv_path_EGREP"; then |
|
7134 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
7135 |
fi |
|
7136 |
else |
|
7137 |
ac_cv_path_EGREP=$EGREP |
|
7138 |
fi |
|
7139 |
||
7140 |
fi |
|
7141 |
fi |
|
7142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
7143 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
7144 |
EGREP="$ac_cv_path_EGREP" |
|
7145 |
||
7146 |
||
7147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
|
7148 |
$as_echo_n "checking for fgrep... " >&6; } |
|
7149 |
if ${ac_cv_path_FGREP+:} false; then : |
|
7150 |
$as_echo_n "(cached) " >&6 |
|
7151 |
else |
|
7152 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
7153 |
then ac_cv_path_FGREP="$GREP -F" |
|
7154 |
else |
|
7155 |
if test -z "$FGREP"; then |
|
7156 |
ac_path_FGREP_found=false |
|
7157 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
7158 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7159 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
7160 |
do |
|
7161 |
IFS=$as_save_IFS |
|
7162 |
test -z "$as_dir" && as_dir=. |
|
7163 |
for ac_prog in fgrep; do |
|
7164 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7165 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
7166 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
7167 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
7168 |
# Check for GNU $ac_path_FGREP |
|
7169 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
7170 |
*GNU*) |
|
7171 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
7172 |
*) |
|
7173 |
ac_count=0 |
|
7174 |
$as_echo_n 0123456789 >"conftest.in" |
|
7175 |
while : |
|
7176 |
do |
|
7177 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
7178 |
mv "conftest.tmp" "conftest.in" |
|
7179 |
cp "conftest.in" "conftest.nl" |
|
7180 |
$as_echo 'FGREP' >> "conftest.nl" |
|
7181 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
7182 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
7183 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
7184 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
7185 |
# Best one so far, save it but keep looking for a better one |
|
7186 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
7187 |
ac_path_FGREP_max=$ac_count |
|
7188 |
fi |
|
7189 |
# 10*(2^10) chars as input seems more than enough |
|
7190 |
test $ac_count -gt 10 && break |
|
7191 |
done |
|
7192 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
7193 |
esac |
|
7194 |
||
7195 |
$ac_path_FGREP_found && break 3 |
|
7196 |
done |
|
7197 |
done |
|
7198 |
done |
|
7199 |
IFS=$as_save_IFS |
|
7200 |
if test -z "$ac_cv_path_FGREP"; then |
|
7201 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
7202 |
fi |
|
7203 |
else |
|
7204 |
ac_cv_path_FGREP=$FGREP |
|
7205 |
fi |
|
7206 |
||
7207 |
fi |
|
7208 |
fi |
|
7209 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
|
7210 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
7211 |
FGREP="$ac_cv_path_FGREP" |
|
7212 |
||
7213 |
||
7214 |
test -z "$GREP" && GREP=grep |
|
7215 |
||
7216 |
||
7217 |
||
7218 |
||
7219 |
||
7220 |
||
7221 |
||
7222 |
||
7223 |
||
7224 |
||
7225 |
||
7226 |
||
7227 |
||
7228 |
||
7229 |
||
7230 |
||
7231 |
||
7232 |
||
7233 |
||
7234 |
# Check whether --with-gnu-ld was given. |
|
7235 |
if test "${with_gnu_ld+set}" = set; then : |
|
7236 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7237 |
else |
7238 |
with_gnu_ld=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7239 |
fi |
7240 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7241 |
ac_prog=ld |
7242 |
if test "$GCC" = yes; then |
|
7243 |
# Check if gcc -print-prog-name=ld gives a path. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
7245 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7246 |
case $host in |
7247 |
*-*-mingw*) |
|
7248 |
# gcc leaves a trailing carriage return which upsets mingw |
|
7249 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
7250 |
*) |
|
7251 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
7252 |
esac |
|
7253 |
case $ac_prog in |
|
7254 |
# Accept absolute paths. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7255 |
[\\/]* | ?:[\\/]*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7256 |
re_direlt='/[^/][^/]*/\.\./' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7257 |
# Canonicalize the pathname of ld |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7258 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
7259 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
7260 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7261 |
done |
7262 |
test -z "$LD" && LD="$ac_prog" |
|
7263 |
;; |
|
7264 |
"") |
|
7265 |
# If it fails, then pretend we aren't using GCC. |
|
7266 |
ac_prog=ld |
|
7267 |
;; |
|
7268 |
*) |
|
7269 |
# If it is relative, then search for the first ld in PATH. |
|
7270 |
with_gnu_ld=unknown |
|
7271 |
;; |
|
7272 |
esac |
|
7273 |
elif test "$with_gnu_ld" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
7275 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7276 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7277 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
7278 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7279 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7280 |
if ${lt_cv_path_LD+:} false; then : |
7281 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7282 |
else |
7283 |
if test -z "$LD"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7284 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7285 |
for ac_dir in $PATH; do |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7286 |
IFS="$lt_save_ifs" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7287 |
test -z "$ac_dir" && ac_dir=. |
7288 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
7289 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
7290 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7291 |
# but apparently some variants of GNU ld only accept -v. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7292 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7293 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
7294 |
*GNU* | *'with BFD'*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7295 |
test "$with_gnu_ld" != no && break |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7296 |
;; |
7297 |
*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7298 |
test "$with_gnu_ld" != yes && break |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7299 |
;; |
7300 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7301 |
fi |
7302 |
done |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7303 |
IFS="$lt_save_ifs" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7304 |
else |
7305 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
7306 |
fi |
|
7307 |
fi |
|
7308 |
||
7309 |
LD="$lt_cv_path_LD" |
|
7310 |
if test -n "$LD"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
7312 |
$as_echo "$LD" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7313 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7315 |
$as_echo "no" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7316 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7317 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
7318 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
7319 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
7320 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
|
7321 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7322 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7323 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7324 |
case `$LD -v 2>&1 </dev/null` in |
7325 |
*GNU* | *'with BFD'*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7326 |
lt_cv_prog_gnu_ld=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7327 |
;; |
7328 |
*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7329 |
lt_cv_prog_gnu_ld=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7330 |
;; |
7331 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7332 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
7334 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7335 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
7336 |
||
7337 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7338 |
|
7339 |
||
7340 |
||
7341 |
||
7342 |
||
7343 |
||
7344 |
||
7345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
7346 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
7347 |
if ${lt_cv_path_NM+:} false; then : |
|
7348 |
$as_echo_n "(cached) " >&6 |
|
7349 |
else |
|
7350 |
if test -n "$NM"; then |
|
7351 |
# Let the user override the test. |
|
7352 |
lt_cv_path_NM="$NM" |
|
7353 |
else |
|
7354 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
7355 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
7356 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
7357 |
fi |
|
7358 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
7359 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
7360 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
7361 |
IFS="$lt_save_ifs" |
|
7362 |
test -z "$ac_dir" && ac_dir=. |
|
7363 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
7364 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
7365 |
# Check to see if the nm accepts a BSD-compat flag. |
|
7366 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
7367 |
# nm: unknown option "B" ignored |
|
7368 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
7369 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
7370 |
*/dev/null* | *'Invalid file or object type'*) |
|
7371 |
lt_cv_path_NM="$tmp_nm -B" |
|
7372 |
break |
|
7373 |
;; |
|
7374 |
*) |
|
7375 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
7376 |
*/dev/null*) |
|
7377 |
lt_cv_path_NM="$tmp_nm -p" |
|
7378 |
break |
|
7379 |
;; |
|
7380 |
*) |
|
7381 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
7382 |
continue # so that we can try to find one that supports BSD flags |
|
7383 |
;; |
|
7384 |
esac |
|
7385 |
;; |
|
7386 |
esac |
|
7387 |
fi |
|
7388 |
done |
|
7389 |
IFS="$lt_save_ifs" |
|
7390 |
done |
|
7391 |
: ${lt_cv_path_NM=no} |
|
7392 |
fi |
|
7393 |
fi |
|
7394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
|
7395 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
7396 |
if test "$lt_cv_path_NM" != "no"; then |
|
7397 |
NM="$lt_cv_path_NM" |
|
7398 |
else |
|
7399 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
7400 |
if test -n "$DUMPBIN"; then : |
|
7401 |
# Let the user override the test. |
|
7402 |
else |
|
7403 |
if test -n "$ac_tool_prefix"; then |
|
7404 |
for ac_prog in dumpbin "link -dump" |
|
7405 |
do |
|
7406 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
7407 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
7408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7409 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7410 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
|
7411 |
$as_echo_n "(cached) " >&6 |
|
7412 |
else |
|
7413 |
if test -n "$DUMPBIN"; then |
|
7414 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
7415 |
else |
|
7416 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7417 |
for as_dir in $PATH |
|
7418 |
do |
|
7419 |
IFS=$as_save_IFS |
|
7420 |
test -z "$as_dir" && as_dir=. |
|
7421 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7422 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7423 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
7424 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7425 |
break 2 |
|
7426 |
fi |
|
7427 |
done |
|
7428 |
done |
|
7429 |
IFS=$as_save_IFS |
|
7430 |
||
7431 |
fi |
|
7432 |
fi |
|
7433 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
7434 |
if test -n "$DUMPBIN"; then |
|
7435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
|
7436 |
$as_echo "$DUMPBIN" >&6; } |
|
7437 |
else |
|
7438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7439 |
$as_echo "no" >&6; } |
|
7440 |
fi |
|
7441 |
||
7442 |
||
7443 |
test -n "$DUMPBIN" && break |
|
7444 |
done |
|
7445 |
fi |
|
7446 |
if test -z "$DUMPBIN"; then |
|
7447 |
ac_ct_DUMPBIN=$DUMPBIN |
|
7448 |
for ac_prog in dumpbin "link -dump" |
|
7449 |
do |
|
7450 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
7451 |
set dummy $ac_prog; ac_word=$2 |
|
7452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7453 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7454 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
|
7455 |
$as_echo_n "(cached) " >&6 |
|
7456 |
else |
|
7457 |
if test -n "$ac_ct_DUMPBIN"; then |
|
7458 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
7459 |
else |
|
7460 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7461 |
for as_dir in $PATH |
|
7462 |
do |
|
7463 |
IFS=$as_save_IFS |
|
7464 |
test -z "$as_dir" && as_dir=. |
|
7465 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7466 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7467 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
7468 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7469 |
break 2 |
|
7470 |
fi |
|
7471 |
done |
|
7472 |
done |
|
7473 |
IFS=$as_save_IFS |
|
7474 |
||
7475 |
fi |
|
7476 |
fi |
|
7477 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
7478 |
if test -n "$ac_ct_DUMPBIN"; then |
|
7479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
|
7480 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
7481 |
else |
|
7482 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7483 |
$as_echo "no" >&6; } |
|
7484 |
fi |
|
7485 |
||
7486 |
||
7487 |
test -n "$ac_ct_DUMPBIN" && break |
|
7488 |
done |
|
7489 |
||
7490 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
7491 |
DUMPBIN=":" |
|
7492 |
else |
|
7493 |
case $cross_compiling:$ac_tool_warned in |
|
7494 |
yes:) |
|
7495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7496 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7497 |
ac_tool_warned=yes ;; |
|
7498 |
esac |
|
7499 |
DUMPBIN=$ac_ct_DUMPBIN |
|
7500 |
fi |
|
7501 |
fi |
|
7502 |
||
7503 |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
|
7504 |
*COFF*) |
|
7505 |
DUMPBIN="$DUMPBIN -symbols" |
|
7506 |
;; |
|
7507 |
*) |
|
7508 |
DUMPBIN=: |
|
7509 |
;; |
|
7510 |
esac |
|
7511 |
fi |
|
7512 |
||
7513 |
if test "$DUMPBIN" != ":"; then |
|
7514 |
NM="$DUMPBIN" |
|
7515 |
fi |
|
7516 |
fi |
|
7517 |
test -z "$NM" && NM=nm |
|
7518 |
||
7519 |
||
7520 |
||
7521 |
||
7522 |
||
7523 |
||
7524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
|
7525 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
7526 |
if ${lt_cv_nm_interface+:} false; then : |
|
7527 |
$as_echo_n "(cached) " >&6 |
|
7528 |
else |
|
7529 |
lt_cv_nm_interface="BSD nm" |
|
7530 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
7531 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
|
7532 |
(eval "$ac_compile" 2>conftest.err) |
|
7533 |
cat conftest.err >&5 |
|
7534 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
7535 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
|
7536 |
cat conftest.err >&5 |
|
7537 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
|
7538 |
cat conftest.out >&5 |
|
7539 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
7540 |
lt_cv_nm_interface="MS dumpbin" |
|
7541 |
fi |
|
7542 |
rm -f conftest* |
|
7543 |
fi |
|
7544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
|
7545 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
7546 |
||
7547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
7548 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
7549 |
LN_S=$as_ln_s |
|
7550 |
if test "$LN_S" = "ln -s"; then |
|
7551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
7552 |
$as_echo "yes" >&6; } |
|
7553 |
else |
|
7554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
7555 |
$as_echo "no, using $LN_S" >&6; } |
|
7556 |
fi |
|
7557 |
||
7558 |
# find the maximum length of command line arguments |
|
7559 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
|
7560 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
7561 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
|
7562 |
$as_echo_n "(cached) " >&6 |
|
7563 |
else |
|
7564 |
i=0 |
|
7565 |
teststring="ABCD" |
|
7566 |
||
7567 |
case $build_os in |
|
7568 |
msdosdjgpp*) |
|
7569 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
7570 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
7571 |
# during glob expansion). Even if it were fixed, the result of this |
|
7572 |
# check would be larger than it should be. |
|
7573 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
7574 |
;; |
|
7575 |
||
7576 |
gnu*) |
|
7577 |
# Under GNU Hurd, this test is not required because there is |
|
7578 |
# no limit to the length of command line arguments. |
|
7579 |
# Libtool will interpret -1 as no limit whatsoever |
|
7580 |
lt_cv_sys_max_cmd_len=-1; |
|
7581 |
;; |
|
7582 |
||
7583 |
cygwin* | mingw* | cegcc*) |
|
7584 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
7585 |
# about 5 minutes as the teststring grows exponentially. |
|
7586 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
7587 |
# you end up with a "frozen" computer, even though with patience |
|
7588 |
# the test eventually succeeds (with a max line length of 256k). |
|
7589 |
# Instead, let's just punt: use the minimum linelength reported by |
|
7590 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
7591 |
lt_cv_sys_max_cmd_len=8192; |
|
7592 |
;; |
|
7593 |
||
7594 |
mint*) |
|
7595 |
# On MiNT this can take a long time and run out of memory. |
|
7596 |
lt_cv_sys_max_cmd_len=8192; |
|
7597 |
;; |
|
7598 |
||
7599 |
amigaos*) |
|
7600 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
7601 |
# So we just punt and use a minimum line length of 8192. |
|
7602 |
lt_cv_sys_max_cmd_len=8192; |
|
7603 |
;; |
|
7604 |
||
7605 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
7606 |
# This has been around since 386BSD, at least. Likely further. |
|
7607 |
if test -x /sbin/sysctl; then |
|
7608 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
7609 |
elif test -x /usr/sbin/sysctl; then |
|
7610 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
7611 |
else |
|
7612 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
7613 |
fi |
|
7614 |
# And add a safety zone |
|
7615 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
7616 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
7617 |
;; |
|
7618 |
||
7619 |
interix*) |
|
7620 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
7621 |
lt_cv_sys_max_cmd_len=196608 |
|
7622 |
;; |
|
7623 |
||
7624 |
osf*) |
|
7625 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
7626 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
7627 |
# nice to cause kernel panics so lets avoid the loop below. |
|
7628 |
# First set a reasonable default. |
|
7629 |
lt_cv_sys_max_cmd_len=16384 |
|
7630 |
# |
|
7631 |
if test -x /sbin/sysconfig; then |
|
7632 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
7633 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
7634 |
esac |
|
7635 |
fi |
|
7636 |
;; |
|
7637 |
sco3.2v5*) |
|
7638 |
lt_cv_sys_max_cmd_len=102400 |
|
7639 |
;; |
|
7640 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
7641 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
7642 |
if test -n "$kargmax"; then |
|
7643 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
7644 |
else |
|
7645 |
lt_cv_sys_max_cmd_len=32768 |
|
7646 |
fi |
|
7647 |
;; |
|
7648 |
*) |
|
7649 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
7650 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
7651 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
7652 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
7653 |
else |
|
7654 |
# Make teststring a little bigger before we do anything with it. |
|
7655 |
# a 1K string should be a reasonable start. |
|
7656 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
7657 |
teststring=$teststring$teststring |
|
7658 |
done |
|
7659 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
7660 |
# If test is not a shell built-in, we'll probably end up computing a |
|
7661 |
# maximum length that is only half of the actual maximum length, but |
|
7662 |
# we can't tell. |
|
7663 |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
|
7664 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
|
7665 |
test $i != 17 # 1/2 MB should be enough |
|
7666 |
do |
|
7667 |
i=`expr $i + 1` |
|
7668 |
teststring=$teststring$teststring |
|
7669 |
done |
|
7670 |
# Only check the string length outside the loop. |
|
7671 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
7672 |
teststring= |
|
7673 |
# Add a significant safety factor because C++ compilers can tack on |
|
7674 |
# massive amounts of additional arguments before passing them to the |
|
7675 |
# linker. It appears as though 1/2 is a usable value. |
|
7676 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
7677 |
fi |
|
7678 |
;; |
|
7679 |
esac |
|
7680 |
||
7681 |
fi |
|
7682 |
||
7683 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
7684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
|
7685 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
7686 |
else |
|
7687 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
|
7688 |
$as_echo "none" >&6; } |
|
7689 |
fi |
|
7690 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
7691 |
||
7692 |
||
7693 |
||
7694 |
||
7695 |
||
7696 |
||
7697 |
: ${CP="cp -f"} |
|
7698 |
: ${MV="mv -f"} |
|
7699 |
: ${RM="rm -f"} |
|
7700 |
||
7701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
|
7702 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
7703 |
# Try some XSI features |
|
7704 |
xsi_shell=no |
|
7705 |
( _lt_dummy="a/b/c" |
|
7706 |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
|
7707 |
= c,a/b,b/c, \ |
|
7708 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
|
7709 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
7710 |
&& xsi_shell=yes |
|
7711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
|
7712 |
$as_echo "$xsi_shell" >&6; } |
|
7713 |
||
7714 |
||
7715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
|
7716 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
7717 |
lt_shell_append=no |
|
7718 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
7719 |
>/dev/null 2>&1 \ |
|
7720 |
&& lt_shell_append=yes |
|
7721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
|
7722 |
$as_echo "$lt_shell_append" >&6; } |
|
7723 |
||
7724 |
||
7725 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
7726 |
lt_unset=unset |
|
7727 |
else |
|
7728 |
lt_unset=false |
|
7729 |
fi |
|
7730 |
||
7731 |
||
7732 |
||
7733 |
||
7734 |
||
7735 |
# test EBCDIC or ASCII |
|
7736 |
case `echo X|tr X '\101'` in |
|
7737 |
A) # ASCII based system |
|
7738 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
7739 |
lt_SP2NL='tr \040 \012' |
|
7740 |
lt_NL2SP='tr \015\012 \040\040' |
|
7741 |
;; |
|
7742 |
*) # EBCDIC based system |
|
7743 |
lt_SP2NL='tr \100 \n' |
|
7744 |
lt_NL2SP='tr \r\n \100\100' |
|
7745 |
;; |
|
7746 |
esac |
|
7747 |
||
7748 |
||
7749 |
||
7750 |
||
7751 |
||
7752 |
||
7753 |
||
7754 |
||
7755 |
||
7756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
|
7757 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
7758 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
7759 |
$as_echo_n "(cached) " >&6 |
|
7760 |
else |
|
7761 |
case $host in |
|
7762 |
*-*-mingw* ) |
|
7763 |
case $build in |
|
7764 |
*-*-mingw* ) # actually msys |
|
7765 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
7766 |
;; |
|
7767 |
*-*-cygwin* ) |
|
7768 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
7769 |
;; |
|
7770 |
* ) # otherwise, assume *nix |
|
7771 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
7772 |
;; |
|
7773 |
esac |
|
7774 |
;; |
|
7775 |
*-*-cygwin* ) |
|
7776 |
case $build in |
|
7777 |
*-*-mingw* ) # actually msys |
|
7778 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
7779 |
;; |
|
7780 |
*-*-cygwin* ) |
|
7781 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
7782 |
;; |
|
7783 |
* ) # otherwise, assume *nix |
|
7784 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
7785 |
;; |
|
7786 |
esac |
|
7787 |
;; |
|
7788 |
* ) # unhandled hosts (and "normal" native builds) |
|
7789 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
7790 |
;; |
|
7791 |
esac |
|
7792 |
||
7793 |
fi |
|
7794 |
||
7795 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
7796 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
7797 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
7798 |
||
7799 |
||
7800 |
||
7801 |
||
7802 |
||
7803 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
7804 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
7805 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
7806 |
$as_echo_n "(cached) " >&6 |
|
7807 |
else |
|
7808 |
#assume ordinary cross tools, or native build. |
|
7809 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
7810 |
case $host in |
|
7811 |
*-*-mingw* ) |
|
7812 |
case $build in |
|
7813 |
*-*-mingw* ) # actually msys |
|
7814 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
7815 |
;; |
|
7816 |
esac |
|
7817 |
;; |
|
7818 |
esac |
|
7819 |
||
7820 |
fi |
|
7821 |
||
7822 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
7823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
7824 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
7825 |
||
7826 |
||
7827 |
||
7828 |
||
7829 |
||
7830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
|
7831 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
7832 |
if ${lt_cv_ld_reload_flag+:} false; then : |
|
7833 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7834 |
else |
7835 |
lt_cv_ld_reload_flag='-r' |
|
7836 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
7838 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7839 |
reload_flag=$lt_cv_ld_reload_flag |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7840 |
case $reload_flag in |
7841 |
"" | " "*) ;; |
|
7842 |
*) reload_flag=" $reload_flag" ;; |
|
7843 |
esac |
|
7844 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7845 |
case $host_os in |
7846 |
cygwin* | mingw* | pw32* | cegcc*) |
|
7847 |
if test "$GCC" != yes; then |
|
7848 |
reload_cmds=false |
|
7849 |
fi |
|
7850 |
;; |
|
7851 |
darwin*) |
|
7852 |
if test "$GCC" = yes; then |
|
7853 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
7854 |
else |
|
7855 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
7856 |
fi |
|
7857 |
;; |
|
7858 |
esac |
|
7859 |
||
7860 |
||
7861 |
||
7862 |
||
7863 |
||
7864 |
||
7865 |
||
7866 |
||
7867 |
||
7868 |
if test -n "$ac_tool_prefix"; then |
|
7869 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
7870 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
7871 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7872 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7873 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
|
7874 |
$as_echo_n "(cached) " >&6 |
|
7875 |
else |
|
7876 |
if test -n "$OBJDUMP"; then |
|
7877 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
7878 |
else |
|
7879 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7880 |
for as_dir in $PATH |
|
7881 |
do |
|
7882 |
IFS=$as_save_IFS |
|
7883 |
test -z "$as_dir" && as_dir=. |
|
7884 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7885 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7886 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
7887 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7888 |
break 2 |
|
7889 |
fi |
|
7890 |
done |
|
7891 |
done |
|
7892 |
IFS=$as_save_IFS |
|
7893 |
||
7894 |
fi |
|
7895 |
fi |
|
7896 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
7897 |
if test -n "$OBJDUMP"; then |
|
7898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
|
7899 |
$as_echo "$OBJDUMP" >&6; } |
|
7900 |
else |
|
7901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7902 |
$as_echo "no" >&6; } |
|
7903 |
fi |
|
7904 |
||
7905 |
||
7906 |
fi |
|
7907 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
7908 |
ac_ct_OBJDUMP=$OBJDUMP |
|
7909 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
7910 |
set dummy objdump; ac_word=$2 |
|
7911 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7912 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7913 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
|
7914 |
$as_echo_n "(cached) " >&6 |
|
7915 |
else |
|
7916 |
if test -n "$ac_ct_OBJDUMP"; then |
|
7917 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
7918 |
else |
|
7919 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7920 |
for as_dir in $PATH |
|
7921 |
do |
|
7922 |
IFS=$as_save_IFS |
|
7923 |
test -z "$as_dir" && as_dir=. |
|
7924 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7925 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7926 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
7927 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7928 |
break 2 |
|
7929 |
fi |
|
7930 |
done |
|
7931 |
done |
|
7932 |
IFS=$as_save_IFS |
|
7933 |
||
7934 |
fi |
|
7935 |
fi |
|
7936 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
7937 |
if test -n "$ac_ct_OBJDUMP"; then |
|
7938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
|
7939 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
7940 |
else |
|
7941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7942 |
$as_echo "no" >&6; } |
|
7943 |
fi |
|
7944 |
||
7945 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
7946 |
OBJDUMP="false" |
|
7947 |
else |
|
7948 |
case $cross_compiling:$ac_tool_warned in |
|
7949 |
yes:) |
|
7950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7951 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7952 |
ac_tool_warned=yes ;; |
|
7953 |
esac |
|
7954 |
OBJDUMP=$ac_ct_OBJDUMP |
|
7955 |
fi |
|
7956 |
else |
|
7957 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
7958 |
fi |
|
7959 |
||
7960 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
7961 |
||
7962 |
||
7963 |
||
7964 |
||
7965 |
||
7966 |
||
7967 |
||
7968 |
||
7969 |
||
7970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
|
7971 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
7972 |
if ${lt_cv_deplibs_check_method+:} false; then : |
|
7973 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7974 |
else |
7975 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
7976 |
lt_cv_file_magic_test_file= |
|
7977 |
lt_cv_deplibs_check_method='unknown' |
|
7978 |
# Need to set the preceding variable on all platforms that support |
|
7979 |
# interlibrary dependencies. |
|
7980 |
# 'none' -- dependencies not supported. |
|
7981 |
# `unknown' -- same as none, but documents that we really don't know. |
|
7982 |
# 'pass_all' -- all dependencies passed with no checks. |
|
7983 |
# 'test_compile' -- check by making test program. |
|
7984 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
7985 |
# which responds to the $file_magic_cmd with a given extended regex. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7986 |
# If you have `file' or equivalent on your system and you're not sure |
7987 |
# whether `pass_all' will *always* work, you probably want this one. |
|
7988 |
||
7989 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7990 |
aix[4-9]*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7991 |
lt_cv_deplibs_check_method=pass_all |
7992 |
;; |
|
7993 |
||
7994 |
beos*) |
|
7995 |
lt_cv_deplibs_check_method=pass_all |
|
7996 |
;; |
|
7997 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
7998 |
bsdi[45]*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
7999 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
8000 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
8001 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
8002 |
;; |
|
8003 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8004 |
cygwin*) |
8005 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
8006 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
8007 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
8008 |
;; |
|
8009 |
||
8010 |
mingw* | pw32*) |
|
8011 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8012 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
8013 |
# unless we find 'file', for example because we are cross-compiling. |
|
8014 |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
|
8015 |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
|
8016 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
8017 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
8018 |
else |
|
8019 |
# Keep this pattern in sync with the one in func_win32_libid. |
|
8020 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
|
8021 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
8022 |
fi |
|
8023 |
;; |
|
8024 |
||
8025 |
cegcc*) |
|
8026 |
# use the weaker test based on 'objdump'. See mingw*. |
|
8027 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8028 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
8029 |
;; |
|
8030 |
||
8031 |
darwin* | rhapsody*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8032 |
lt_cv_deplibs_check_method=pass_all |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8033 |
;; |
8034 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8035 |
freebsd* | dragonfly*) |
8036 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8037 |
case $host_cpu in |
8038 |
i*86 ) |
|
8039 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
8040 |
# Let's accept both of them until this is cleared up. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8041 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8042 |
lt_cv_file_magic_cmd=/usr/bin/file |
8043 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
8044 |
;; |
|
8045 |
esac |
|
8046 |
else |
|
8047 |
lt_cv_deplibs_check_method=pass_all |
|
8048 |
fi |
|
8049 |
;; |
|
8050 |
||
8051 |
gnu*) |
|
8052 |
lt_cv_deplibs_check_method=pass_all |
|
8053 |
;; |
|
8054 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8055 |
haiku*) |
8056 |
lt_cv_deplibs_check_method=pass_all |
|
8057 |
;; |
|
8058 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8059 |
hpux10.20* | hpux11*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8060 |
lt_cv_file_magic_cmd=/usr/bin/file |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8061 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8062 |
ia64*) |
8063 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
8064 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
8065 |
;; |
|
8066 |
hppa*64*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8067 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8068 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
8069 |
;; |
|
8070 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8071 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8072 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
8073 |
;; |
|
8074 |
esac |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8075 |
;; |
8076 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8077 |
interix[3-9]*) |
8078 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
8079 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
8080 |
;; |
|
8081 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8082 |
irix5* | irix6* | nonstopux*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8083 |
case $LD in |
8084 |
*-32|*"-32 ") libmagic=32-bit;; |
|
8085 |
*-n32|*"-n32 ") libmagic=N32;; |
|
8086 |
*-64|*"-64 ") libmagic=64-bit;; |
|
8087 |
*) libmagic=never-match;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8088 |
esac |
8089 |
lt_cv_deplibs_check_method=pass_all |
|
8090 |
;; |
|
8091 |
||
8092 |
# This must be Linux ELF. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8093 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8094 |
lt_cv_deplibs_check_method=pass_all |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8095 |
;; |
8096 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8097 |
netbsd* | netbsdelf*-gnu) |
8098 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8099 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8100 |
else |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8101 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8102 |
fi |
8103 |
;; |
|
8104 |
||
8105 |
newos6*) |
|
8106 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
8107 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
8108 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
8109 |
;; |
|
8110 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8111 |
*nto* | *qnx*) |
8112 |
lt_cv_deplibs_check_method=pass_all |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8113 |
;; |
8114 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8115 |
openbsd*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8116 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
8117 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8118 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8119 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8120 |
fi |
8121 |
;; |
|
8122 |
||
8123 |
osf3* | osf4* | osf5*) |
|
8124 |
lt_cv_deplibs_check_method=pass_all |
|
8125 |
;; |
|
8126 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8127 |
rdos*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8128 |
lt_cv_deplibs_check_method=pass_all |
8129 |
;; |
|
8130 |
||
8131 |
solaris*) |
|
8132 |
lt_cv_deplibs_check_method=pass_all |
|
8133 |
;; |
|
8134 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8135 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
8136 |
lt_cv_deplibs_check_method=pass_all |
|
8137 |
;; |
|
8138 |
||
8139 |
sysv4 | sysv4.3*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8140 |
case $host_vendor in |
8141 |
motorola) |
|
8142 |
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]' |
|
8143 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
8144 |
;; |
|
8145 |
ncr) |
|
8146 |
lt_cv_deplibs_check_method=pass_all |
|
8147 |
;; |
|
8148 |
sequent) |
|
8149 |
lt_cv_file_magic_cmd='/bin/file' |
|
8150 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
8151 |
;; |
|
8152 |
sni) |
|
8153 |
lt_cv_file_magic_cmd='/bin/file' |
|
8154 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
8155 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
8156 |
;; |
|
8157 |
siemens) |
|
8158 |
lt_cv_deplibs_check_method=pass_all |
|
8159 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8160 |
pc) |
8161 |
lt_cv_deplibs_check_method=pass_all |
|
8162 |
;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8163 |
esac |
8164 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8165 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8166 |
tpf*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8167 |
lt_cv_deplibs_check_method=pass_all |
8168 |
;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8169 |
esac |
8170 |
||
8171 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
8173 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
8174 |
||
8175 |
file_magic_glob= |
|
8176 |
want_nocaseglob=no |
|
8177 |
if test "$build" = "$host"; then |
|
8178 |
case $host_os in |
|
8179 |
mingw* | pw32*) |
|
8180 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
8181 |
want_nocaseglob=yes |
|
8182 |
else |
|
8183 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
8184 |
fi |
|
8185 |
;; |
|
8186 |
esac |
|
8187 |
fi |
|
8188 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8189 |
file_magic_cmd=$lt_cv_file_magic_cmd |
8190 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8191 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
8192 |
||
8193 |
||
8194 |
||
8195 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8196 |
|
8197 |
||
8198 |
||
8199 |
||
8200 |
||
8201 |
||
8202 |
||
8203 |
||
8204 |
||
8205 |
||
8206 |
||
8207 |
||
8208 |
||
8209 |
||
8210 |
||
8211 |
||
8212 |
||
8213 |
||
8214 |
if test -n "$ac_tool_prefix"; then |
|
8215 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
8216 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
8217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8218 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8219 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
|
8220 |
$as_echo_n "(cached) " >&6 |
|
8221 |
else |
|
8222 |
if test -n "$DLLTOOL"; then |
|
8223 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
8224 |
else |
|
8225 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8226 |
for as_dir in $PATH |
|
8227 |
do |
|
8228 |
IFS=$as_save_IFS |
|
8229 |
test -z "$as_dir" && as_dir=. |
|
8230 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8231 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8232 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
8233 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8234 |
break 2 |
|
8235 |
fi |
|
8236 |
done |
|
8237 |
done |
|
8238 |
IFS=$as_save_IFS |
|
8239 |
||
8240 |
fi |
|
8241 |
fi |
|
8242 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
8243 |
if test -n "$DLLTOOL"; then |
|
8244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
8245 |
$as_echo "$DLLTOOL" >&6; } |
|
8246 |
else |
|
8247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8248 |
$as_echo "no" >&6; } |
|
8249 |
fi |
|
8250 |
||
8251 |
||
8252 |
fi |
|
8253 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
8254 |
ac_ct_DLLTOOL=$DLLTOOL |
|
8255 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
8256 |
set dummy dlltool; ac_word=$2 |
|
8257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8258 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8259 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
8260 |
$as_echo_n "(cached) " >&6 |
|
8261 |
else |
|
8262 |
if test -n "$ac_ct_DLLTOOL"; then |
|
8263 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
8264 |
else |
|
8265 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8266 |
for as_dir in $PATH |
|
8267 |
do |
|
8268 |
IFS=$as_save_IFS |
|
8269 |
test -z "$as_dir" && as_dir=. |
|
8270 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8271 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8272 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
8273 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8274 |
break 2 |
|
8275 |
fi |
|
8276 |
done |
|
8277 |
done |
|
8278 |
IFS=$as_save_IFS |
|
8279 |
||
8280 |
fi |
|
8281 |
fi |
|
8282 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
8283 |
if test -n "$ac_ct_DLLTOOL"; then |
|
8284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
8285 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
8286 |
else |
|
8287 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8288 |
$as_echo "no" >&6; } |
|
8289 |
fi |
|
8290 |
||
8291 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
8292 |
DLLTOOL="false" |
|
8293 |
else |
|
8294 |
case $cross_compiling:$ac_tool_warned in |
|
8295 |
yes:) |
|
8296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8297 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8298 |
ac_tool_warned=yes ;; |
|
8299 |
esac |
|
8300 |
DLLTOOL=$ac_ct_DLLTOOL |
|
8301 |
fi |
|
8302 |
else |
|
8303 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
8304 |
fi |
|
8305 |
||
8306 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
8307 |
||
8308 |
||
8309 |
||
8310 |
||
8311 |
||
8312 |
||
8313 |
||
8314 |
||
8315 |
||
8316 |
||
8317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
8318 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
8319 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
8320 |
$as_echo_n "(cached) " >&6 |
|
8321 |
else |
|
8322 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
8323 |
||
8324 |
case $host_os in |
|
8325 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8326 |
# two different shell functions defined in ltmain.sh |
|
8327 |
# decide which to use based on capabilities of $DLLTOOL |
|
8328 |
case `$DLLTOOL --help 2>&1` in |
|
8329 |
*--identify-strict*) |
|
8330 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
8331 |
;; |
|
8332 |
*) |
|
8333 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
8334 |
;; |
|
8335 |
esac |
|
8336 |
;; |
|
8337 |
*) |
|
8338 |
# fallback: assume linklib IS sharedlib |
|
8339 |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
|
8340 |
;; |
|
8341 |
esac |
|
8342 |
||
8343 |
fi |
|
8344 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
8345 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
8346 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
8347 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
8348 |
||
8349 |
||
8350 |
||
8351 |
||
8352 |
||
8353 |
||
8354 |
||
8355 |
||
8356 |
if test -n "$ac_tool_prefix"; then |
|
8357 |
for ac_prog in ar |
|
8358 |
do |
|
8359 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
8360 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
8361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8362 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8363 |
if ${ac_cv_prog_AR+:} false; then : |
|
8364 |
$as_echo_n "(cached) " >&6 |
|
8365 |
else |
|
8366 |
if test -n "$AR"; then |
|
8367 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
8368 |
else |
|
8369 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8370 |
for as_dir in $PATH |
|
8371 |
do |
|
8372 |
IFS=$as_save_IFS |
|
8373 |
test -z "$as_dir" && as_dir=. |
|
8374 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8375 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8376 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
|
8377 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8378 |
break 2 |
|
8379 |
fi |
|
8380 |
done |
|
8381 |
done |
|
8382 |
IFS=$as_save_IFS |
|
8383 |
||
8384 |
fi |
|
8385 |
fi |
|
8386 |
AR=$ac_cv_prog_AR |
|
8387 |
if test -n "$AR"; then |
|
8388 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
8389 |
$as_echo "$AR" >&6; } |
|
8390 |
else |
|
8391 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8392 |
$as_echo "no" >&6; } |
|
8393 |
fi |
|
8394 |
||
8395 |
||
8396 |
test -n "$AR" && break |
|
8397 |
done |
|
8398 |
fi |
|
8399 |
if test -z "$AR"; then |
|
8400 |
ac_ct_AR=$AR |
|
8401 |
for ac_prog in ar |
|
8402 |
do |
|
8403 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
8404 |
set dummy $ac_prog; ac_word=$2 |
|
8405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8406 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8407 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
|
8408 |
$as_echo_n "(cached) " >&6 |
|
8409 |
else |
|
8410 |
if test -n "$ac_ct_AR"; then |
|
8411 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
8412 |
else |
|
8413 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8414 |
for as_dir in $PATH |
|
8415 |
do |
|
8416 |
IFS=$as_save_IFS |
|
8417 |
test -z "$as_dir" && as_dir=. |
|
8418 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8419 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8420 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
|
8421 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8422 |
break 2 |
|
8423 |
fi |
|
8424 |
done |
|
8425 |
done |
|
8426 |
IFS=$as_save_IFS |
|
8427 |
||
8428 |
fi |
|
8429 |
fi |
|
8430 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
8431 |
if test -n "$ac_ct_AR"; then |
|
8432 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
8433 |
$as_echo "$ac_ct_AR" >&6; } |
|
8434 |
else |
|
8435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8436 |
$as_echo "no" >&6; } |
|
8437 |
fi |
|
8438 |
||
8439 |
||
8440 |
test -n "$ac_ct_AR" && break |
|
8441 |
done |
|
8442 |
||
8443 |
if test "x$ac_ct_AR" = x; then |
|
8444 |
AR="false" |
|
8445 |
else |
|
8446 |
case $cross_compiling:$ac_tool_warned in |
|
8447 |
yes:) |
|
8448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8449 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8450 |
ac_tool_warned=yes ;; |
|
8451 |
esac |
|
8452 |
AR=$ac_ct_AR |
|
8453 |
fi |
|
8454 |
fi |
|
8455 |
||
8456 |
: ${AR=ar} |
|
8457 |
: ${AR_FLAGS=cru} |
|
8458 |
||
8459 |
||
8460 |
||
8461 |
||
8462 |
||
8463 |
||
8464 |
||
8465 |
||
8466 |
||
8467 |
||
8468 |
||
8469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
8470 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
8471 |
if ${lt_cv_ar_at_file+:} false; then : |
|
8472 |
$as_echo_n "(cached) " >&6 |
|
8473 |
else |
|
8474 |
lt_cv_ar_at_file=no |
|
8475 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
8476 |
/* end confdefs.h. */ |
|
8477 |
||
8478 |
int |
|
8479 |
main () |
|
8480 |
{ |
|
8481 |
||
8482 |
; |
|
8483 |
return 0; |
|
8484 |
} |
|
8485 |
_ACEOF |
|
8486 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
8487 |
echo conftest.$ac_objext > conftest.lst |
|
8488 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
8489 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
8490 |
(eval $lt_ar_try) 2>&5 |
|
8491 |
ac_status=$? |
|
8492 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
8493 |
test $ac_status = 0; } |
|
8494 |
if test "$ac_status" -eq 0; then |
|
8495 |
# Ensure the archiver fails upon bogus file names. |
|
8496 |
rm -f conftest.$ac_objext libconftest.a |
|
8497 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
8498 |
(eval $lt_ar_try) 2>&5 |
|
8499 |
ac_status=$? |
|
8500 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
8501 |
test $ac_status = 0; } |
|
8502 |
if test "$ac_status" -ne 0; then |
|
8503 |
lt_cv_ar_at_file=@ |
|
8504 |
fi |
|
8505 |
fi |
|
8506 |
rm -f conftest.* libconftest.a |
|
8507 |
||
8508 |
fi |
|
8509 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
8510 |
||
8511 |
fi |
|
8512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
8513 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
8514 |
||
8515 |
if test "x$lt_cv_ar_at_file" = xno; then |
|
8516 |
archiver_list_spec= |
|
8517 |
else |
|
8518 |
archiver_list_spec=$lt_cv_ar_at_file |
|
8519 |
fi |
|
8520 |
||
8521 |
||
8522 |
||
8523 |
||
8524 |
||
8525 |
||
8526 |
||
8527 |
if test -n "$ac_tool_prefix"; then |
|
8528 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
8529 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
8530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8531 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8532 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
8533 |
$as_echo_n "(cached) " >&6 |
|
8534 |
else |
|
8535 |
if test -n "$STRIP"; then |
|
8536 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
8537 |
else |
|
8538 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8539 |
for as_dir in $PATH |
|
8540 |
do |
|
8541 |
IFS=$as_save_IFS |
|
8542 |
test -z "$as_dir" && as_dir=. |
|
8543 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8544 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8545 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
8546 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8547 |
break 2 |
|
8548 |
fi |
|
8549 |
done |
|
8550 |
done |
|
8551 |
IFS=$as_save_IFS |
|
8552 |
||
8553 |
fi |
|
8554 |
fi |
|
8555 |
STRIP=$ac_cv_prog_STRIP |
|
8556 |
if test -n "$STRIP"; then |
|
8557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
8558 |
$as_echo "$STRIP" >&6; } |
|
8559 |
else |
|
8560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8561 |
$as_echo "no" >&6; } |
|
8562 |
fi |
|
8563 |
||
8564 |
||
8565 |
fi |
|
8566 |
if test -z "$ac_cv_prog_STRIP"; then |
|
8567 |
ac_ct_STRIP=$STRIP |
|
8568 |
# Extract the first word of "strip", so it can be a program name with args. |
|
8569 |
set dummy strip; ac_word=$2 |
|
8570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8571 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8572 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
8573 |
$as_echo_n "(cached) " >&6 |
|
8574 |
else |
|
8575 |
if test -n "$ac_ct_STRIP"; then |
|
8576 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
8577 |
else |
|
8578 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8579 |
for as_dir in $PATH |
|
8580 |
do |
|
8581 |
IFS=$as_save_IFS |
|
8582 |
test -z "$as_dir" && as_dir=. |
|
8583 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8584 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8585 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
8586 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8587 |
break 2 |
|
8588 |
fi |
|
8589 |
done |
|
8590 |
done |
|
8591 |
IFS=$as_save_IFS |
|
8592 |
||
8593 |
fi |
|
8594 |
fi |
|
8595 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
8596 |
if test -n "$ac_ct_STRIP"; then |
|
8597 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
8598 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
8599 |
else |
|
8600 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8601 |
$as_echo "no" >&6; } |
|
8602 |
fi |
|
8603 |
||
8604 |
if test "x$ac_ct_STRIP" = x; then |
|
8605 |
STRIP=":" |
|
8606 |
else |
|
8607 |
case $cross_compiling:$ac_tool_warned in |
|
8608 |
yes:) |
|
8609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8610 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8611 |
ac_tool_warned=yes ;; |
|
8612 |
esac |
|
8613 |
STRIP=$ac_ct_STRIP |
|
8614 |
fi |
|
8615 |
else |
|
8616 |
STRIP="$ac_cv_prog_STRIP" |
|
8617 |
fi |
|
8618 |
||
8619 |
test -z "$STRIP" && STRIP=: |
|
8620 |
||
8621 |
||
8622 |
||
8623 |
||
8624 |
||
8625 |
||
8626 |
if test -n "$ac_tool_prefix"; then |
|
8627 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
8628 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
8629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8630 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8631 |
if ${ac_cv_prog_RANLIB+:} false; then : |
|
8632 |
$as_echo_n "(cached) " >&6 |
|
8633 |
else |
|
8634 |
if test -n "$RANLIB"; then |
|
8635 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
8636 |
else |
|
8637 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8638 |
for as_dir in $PATH |
|
8639 |
do |
|
8640 |
IFS=$as_save_IFS |
|
8641 |
test -z "$as_dir" && as_dir=. |
|
8642 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8643 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8644 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
8645 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8646 |
break 2 |
|
8647 |
fi |
|
8648 |
done |
|
8649 |
done |
|
8650 |
IFS=$as_save_IFS |
|
8651 |
||
8652 |
fi |
|
8653 |
fi |
|
8654 |
RANLIB=$ac_cv_prog_RANLIB |
|
8655 |
if test -n "$RANLIB"; then |
|
8656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
8657 |
$as_echo "$RANLIB" >&6; } |
|
8658 |
else |
|
8659 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8660 |
$as_echo "no" >&6; } |
|
8661 |
fi |
|
8662 |
||
8663 |
||
8664 |
fi |
|
8665 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
8666 |
ac_ct_RANLIB=$RANLIB |
|
8667 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
8668 |
set dummy ranlib; ac_word=$2 |
|
8669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
8670 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8671 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
8672 |
$as_echo_n "(cached) " >&6 |
|
8673 |
else |
|
8674 |
if test -n "$ac_ct_RANLIB"; then |
|
8675 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
8676 |
else |
|
8677 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8678 |
for as_dir in $PATH |
|
8679 |
do |
|
8680 |
IFS=$as_save_IFS |
|
8681 |
test -z "$as_dir" && as_dir=. |
|
8682 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8683 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8684 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
8685 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8686 |
break 2 |
|
8687 |
fi |
|
8688 |
done |
|
8689 |
done |
|
8690 |
IFS=$as_save_IFS |
|
8691 |
||
8692 |
fi |
|
8693 |
fi |
|
8694 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
8695 |
if test -n "$ac_ct_RANLIB"; then |
|
8696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
8697 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
8698 |
else |
|
8699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8700 |
$as_echo "no" >&6; } |
|
8701 |
fi |
|
8702 |
||
8703 |
if test "x$ac_ct_RANLIB" = x; then |
|
8704 |
RANLIB=":" |
|
8705 |
else |
|
8706 |
case $cross_compiling:$ac_tool_warned in |
|
8707 |
yes:) |
|
8708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8709 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8710 |
ac_tool_warned=yes ;; |
|
8711 |
esac |
|
8712 |
RANLIB=$ac_ct_RANLIB |
|
8713 |
fi |
|
8714 |
else |
|
8715 |
RANLIB="$ac_cv_prog_RANLIB" |
|
8716 |
fi |
|
8717 |
||
8718 |
test -z "$RANLIB" && RANLIB=: |
|
8719 |
||
8720 |
||
8721 |
||
8722 |
||
8723 |
||
8724 |
||
8725 |
# Determine commands to create old-style static archives. |
|
8726 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
8727 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
8728 |
old_postuninstall_cmds= |
|
8729 |
||
8730 |
if test -n "$RANLIB"; then |
|
8731 |
case $host_os in |
|
8732 |
openbsd*) |
|
8733 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
|
8734 |
;; |
|
8735 |
*) |
|
8736 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
|
8737 |
;; |
|
8738 |
esac |
|
8739 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
8740 |
fi |
|
8741 |
||
8742 |
case $host_os in |
|
8743 |
darwin*) |
|
8744 |
lock_old_archive_extraction=yes ;; |
|
8745 |
*) |
|
8746 |
lock_old_archive_extraction=no ;; |
|
8747 |
esac |
|
8748 |
||
8749 |
||
8750 |
||
8751 |
||
8752 |
||
8753 |
||
8754 |
||
8755 |
||
8756 |
||
8757 |
||
8758 |
||
8759 |
||
8760 |
||
8761 |
||
8762 |
||
8763 |
||
8764 |
||
8765 |
||
8766 |
||
8767 |
||
8768 |
||
8769 |
||
8770 |
||
8771 |
||
8772 |
||
8773 |
||
8774 |
||
8775 |
||
8776 |
||
8777 |
||
8778 |
||
8779 |
||
8780 |
||
8781 |
||
8782 |
||
8783 |
||
8784 |
||
8785 |
||
8786 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8787 |
# If no C compiler was specified, use CC. |
8788 |
LTCC=${LTCC-"$CC"} |
|
8789 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8790 |
# If no C compiler flags were specified, use CFLAGS. |
8791 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
8792 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8793 |
# Allow CC to be a program name with arguments. |
8794 |
compiler=$CC |
|
8795 |
||
8796 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8797 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
8799 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
8800 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
|
8801 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8802 |
else |
8803 |
||
8804 |
# These are sane defaults that work on at least a few old systems. |
|
8805 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
8806 |
||
8807 |
# Character class describing NM global symbol codes. |
|
8808 |
symcode='[BCDEGRST]' |
|
8809 |
||
8810 |
# Regexp to match symbols that can be accessed directly from C. |
|
8811 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
8812 |
||
8813 |
# Define system-specific variables. |
|
8814 |
case $host_os in |
|
8815 |
aix*) |
|
8816 |
symcode='[BCDT]' |
|
8817 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8818 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8819 |
symcode='[ABCDGISTW]' |
8820 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8821 |
hpux*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8822 |
if test "$host_cpu" = ia64; then |
8823 |
symcode='[ABCDEGRST]' |
|
8824 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8825 |
;; |
8826 |
irix* | nonstopux*) |
|
8827 |
symcode='[BCDEGRST]' |
|
8828 |
;; |
|
8829 |
osf*) |
|
8830 |
symcode='[BCDEGQRST]' |
|
8831 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8832 |
solaris*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8833 |
symcode='[BDRT]' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8834 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8835 |
sco3.2v5*) |
8836 |
symcode='[DT]' |
|
8837 |
;; |
|
8838 |
sysv4.2uw2*) |
|
8839 |
symcode='[DT]' |
|
8840 |
;; |
|
8841 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
8842 |
symcode='[ABDT]' |
|
8843 |
;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8844 |
sysv4) |
8845 |
symcode='[DFNSTU]' |
|
8846 |
;; |
|
8847 |
esac |
|
8848 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8849 |
# If we're using GNU nm, then use its standard symbol codes. |
8850 |
case `$NM -V 2>&1` in |
|
8851 |
*GNU* | *'with BFD'*) |
|
8852 |
symcode='[ABCDGIRSTW]' ;; |
|
8853 |
esac |
|
8854 |
||
8855 |
# Transform an extracted symbol line into a proper C declaration. |
|
8856 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
8857 |
# so use this general approach. |
|
8858 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
8859 |
||
8860 |
# Transform an extracted symbol line into symbol name and symbol address |
|
8861 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
8862 |
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'" |
|
8863 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8864 |
# Handle CRLF in mingw tool chain |
8865 |
opt_cr= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8866 |
case $build_os in |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8867 |
mingw*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8868 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8869 |
;; |
8870 |
esac |
|
8871 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8872 |
# Try without a prefix underscore, then with it. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8873 |
for ac_symprfx in "" "_"; do |
8874 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8875 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
8876 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
8877 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8878 |
# Write the raw and C identifiers. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8879 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
8880 |
# Fake it for dumpbin and say T for any non-static function |
|
8881 |
# and D for any global variable. |
|
8882 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
8883 |
# which start with @ or ?. |
|
8884 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
8885 |
" {last_section=section; section=\$ 3};"\ |
|
8886 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
8887 |
" \$ 0!~/External *\|/{next};"\ |
|
8888 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
8889 |
" {if(hide[section]) next};"\ |
|
8890 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
8891 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
8892 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
8893 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
8894 |
" ' prfx=^$ac_symprfx" |
|
8895 |
else |
|
8896 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
8897 |
fi |
|
8898 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8899 |
|
8900 |
# Check to see that the pipe works correctly. |
|
8901 |
pipe_works=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8902 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8903 |
rm -f conftest* |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8904 |
cat > conftest.$ac_ext <<_LT_EOF |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8905 |
#ifdef __cplusplus |
8906 |
extern "C" { |
|
8907 |
#endif |
|
8908 |
char nm_test_var; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8909 |
void nm_test_func(void); |
8910 |
void nm_test_func(void){} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8911 |
#ifdef __cplusplus |
8912 |
} |
|
8913 |
#endif |
|
8914 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8915 |
_LT_EOF |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8916 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8917 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8918 |
(eval $ac_compile) 2>&5 |
8919 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8920 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8921 |
test $ac_status = 0; }; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8922 |
# Now try to grab the symbols. |
8923 |
nlist=conftest.nm |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8924 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
8925 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8926 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8927 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8928 |
test $ac_status = 0; } && test -s "$nlist"; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8929 |
# Try sorting and uniquifying the output. |
8930 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
8931 |
mv -f "$nlist"T "$nlist" |
|
8932 |
else |
|
8933 |
rm -f "$nlist"T |
|
8934 |
fi |
|
8935 |
||
8936 |
# Make sure that we snagged all the symbols we need. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8937 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
8938 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
8939 |
cat <<_LT_EOF > conftest.$ac_ext |
|
8940 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
|
8941 |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
|
8942 |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
|
8943 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
8944 |
# define LT_DLSYM_CONST |
|
8945 |
#elif defined(__osf__) |
|
8946 |
/* This system does not cope well with relocations in const data. */ |
|
8947 |
# define LT_DLSYM_CONST |
|
8948 |
#else |
|
8949 |
# define LT_DLSYM_CONST const |
|
8950 |
#endif |
|
8951 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8952 |
#ifdef __cplusplus |
8953 |
extern "C" { |
|
8954 |
#endif |
|
8955 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8956 |
_LT_EOF |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8957 |
# Now generate the symbol file. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8958 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
8959 |
||
8960 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
8961 |
||
8962 |
/* The mapping between symbol names and symbols. */ |
|
8963 |
LT_DLSYM_CONST struct { |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8964 |
const char *name; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8965 |
void *address; |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8966 |
} |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8967 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8968 |
{ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8969 |
{ "@PROGRAM@", (void *) 0 }, |
8970 |
_LT_EOF |
|
8971 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
8972 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
8973 |
{0, (void *) 0} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8974 |
}; |
8975 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8976 |
/* This works around a problem in FreeBSD linker */ |
8977 |
#ifdef FREEBSD_WORKAROUND |
|
8978 |
static const void *lt_preloaded_setup() { |
|
8979 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
8980 |
} |
|
8981 |
#endif |
|
8982 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8983 |
#ifdef __cplusplus |
8984 |
} |
|
8985 |
#endif |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8986 |
_LT_EOF |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8987 |
# Now try linking the two files. |
8988 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8989 |
lt_globsym_save_LIBS=$LIBS |
8990 |
lt_globsym_save_CFLAGS=$CFLAGS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8991 |
LIBS="conftstm.$ac_objext" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
8992 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8993 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8994 |
(eval $ac_link) 2>&5 |
8995 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
8996 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8997 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
8998 |
pipe_works=yes |
8999 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
9000 |
LIBS=$lt_globsym_save_LIBS |
9001 |
CFLAGS=$lt_globsym_save_CFLAGS |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
9002 |
else |
9003 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
9004 |
fi |
|
9005 |
else |
|
9006 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
9007 |
fi |
|
9008 |
else |
|
9009 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
9010 |
fi |
|
9011 |
else |
|
9012 |
echo "$progname: failed program was:" >&5 |
|
9013 |
cat conftest.$ac_ext >&5 |
|
9014 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
9015 |
rm -rf conftest* conftst* |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
9016 |
|
9017 |
# Do not use the global_symbol_pipe unless it works. |
|
9018 |
if test "$pipe_works" = yes; then |
|
9019 |
break |
|
9020 |
else |
|
9021 |
lt_cv_sys_global_symbol_pipe= |
|
9022 |
fi |
|
9023 |
done |
|
9024 |
||
9025 |
fi |
|
9026 |
||
9027 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
9028 |
lt_cv_sys_global_symbol_to_cdecl= |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
9029 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
9030 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
9031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
9032 |
$as_echo "failed" >&6; } |
|
9033 |
else |
|
9034 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
9035 |
$as_echo "ok" >&6; } |
|
9036 |
fi |
|
9037 |
||
9038 |
# Response file support. |
|
9039 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
9040 |
nm_file_list_spec='@' |
|
9041 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
9042 |
nm_file_list_spec='@' |
|
9043 |
fi |
|
9044 |
||
9045 |
||
9046 |
||
9047 |
||
9048 |
||
9049 |
||
9050 |
||
9051 |
||
9052 |
||
9053 |
||
9054 |
||
9055 |
||
9056 |
||
9057 |
||
9058 |
||
9059 |
||
9060 |
||
9061 |
||
9062 |
||
9063 |
||
9064 |
||
9065 |
||
9066 |
||
9067 |
||
9068 |
||
9069 |
||
9070 |
||
9071 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
9072 |
$as_echo_n "checking for sysroot... " >&6; } |
|
9073 |
||
9074 |
# Check whether --with-sysroot was given. |
|
9075 |
if test "${with_sysroot+set}" = set; then : |
|
9076 |
withval=$with_sysroot; |
|
9077 |
else |
|
9078 |
with_sysroot=no |
|
9079 |
fi |
|
9080 |
||
9081 |
||
9082 |
lt_sysroot= |
|
9083 |
case ${with_sysroot} in #( |
|
9084 |
yes) |
|
9085 |
if test "$GCC" = yes; then |
|
9086 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
9087 |
fi |
|
9088 |
;; #( |
|
9089 |
/*) |
|
9090 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
9091 |
;; #( |
|
9092 |
no|'') |
|
9093 |
;; #( |
|
9094 |
*) |
|
9095 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
|
9096 |
$as_echo "${with_sysroot}" >&6; } |
|
9097 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
9098 |
;; |
|
9099 |
esac |
|
9100 |
||
9101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
9102 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
9103 |
||
9104 |
||
9105 |
||
9106 |
||
9107 |
||
9108 |
||
9109 |
# Check whether --enable-libtool-lock was given. |
|
9110 |
if test "${enable_libtool_lock+set}" = set; then : |
|
9111 |
enableval=$enable_libtool_lock; |
|
9112 |
fi |
|
9113 |
||
9114 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
9115 |
||
9116 |
# Some flags need to be propagated to the compiler or linker for good |
|
9117 |
# libtool support. |
|
9118 |
case $host in |
|
9119 |
ia64-*-hpux*) |
|
9120 |
# Find out which ABI we are using. |
|
9121 |
echo 'int i;' > conftest.$ac_ext |
|
9122 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
9123 |
(eval $ac_compile) 2>&5 |
|
9124 |
ac_status=$? |
|
9125 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9126 |
test $ac_status = 0; }; then |
|
9127 |
case `/usr/bin/file conftest.$ac_objext` in |
|
9128 |
*ELF-32*) |
|
9129 |
HPUX_IA64_MODE="32" |
|
9130 |
;; |
|
9131 |
*ELF-64*) |
|
9132 |
HPUX_IA64_MODE="64" |
|
9133 |
;; |
|
9134 |
esac |
|
9135 |
fi |
|
9136 |
rm -rf conftest* |
|
9137 |
;; |
|
9138 |
*-*-irix6*) |
|
9139 |
# Find out which ABI we are using. |
|
9140 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
|
9141 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
9142 |
(eval $ac_compile) 2>&5 |
|
9143 |
ac_status=$? |
|
9144 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9145 |
test $ac_status = 0; }; then |
|
9146 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
9147 |
case `/usr/bin/file conftest.$ac_objext` in |
|
9148 |
*32-bit*) |
|
9149 |
LD="${LD-ld} -melf32bsmip" |
|
9150 |
;; |
|
9151 |
*N32*) |
|
9152 |
LD="${LD-ld} -melf32bmipn32" |
|
9153 |
;; |
|
9154 |
*64-bit*) |
|
9155 |
LD="${LD-ld} -melf64bmip" |
|
9156 |
;; |
|
9157 |
esac |
|
9158 |
else |
|
9159 |
case `/usr/bin/file conftest.$ac_objext` in |
|
9160 |
*32-bit*) |
|
9161 |
LD="${LD-ld} -32" |
|
9162 |
;; |
|
9163 |
*N32*) |
|
9164 |
LD="${LD-ld} -n32" |
|
9165 |
;; |
|
9166 |
*64-bit*) |
|
9167 |
LD="${LD-ld} -64" |
|
9168 |
;; |
|
9169 |
esac |
|
9170 |
fi |
|
9171 |
fi |
|
9172 |
rm -rf conftest* |
|
9173 |
;; |
|
9174 |
||
9175 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
9176 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
9177 |
# Find out which ABI we are using. |
|
9178 |
echo 'int i;' > conftest.$ac_ext |
|
9179 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
9180 |
(eval $ac_compile) 2>&5 |
|
9181 |
ac_status=$? |
|
9182 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9183 |
test $ac_status = 0; }; then |
|
9184 |
case `/usr/bin/file conftest.o` in |
|
9185 |
*32-bit*) |
|
9186 |
case $host in |
|
9187 |
x86_64-*kfreebsd*-gnu) |
|
9188 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
9189 |
;; |
|
9190 |
x86_64-*linux*) |
|
9191 |
LD="${LD-ld} -m elf_i386" |
|
9192 |
;; |
|
9193 |
ppc64-*linux*|powerpc64-*linux*) |
|
9194 |
LD="${LD-ld} -m elf32ppclinux" |
|
9195 |
;; |
|
9196 |
s390x-*linux*) |
|
9197 |
LD="${LD-ld} -m elf_s390" |
|
9198 |
;; |
|
9199 |
sparc64-*linux*) |
|
9200 |
LD="${LD-ld} -m elf32_sparc" |
|
9201 |
;; |
|
9202 |
esac |
|
9203 |
;; |
|
9204 |
*64-bit*) |
|
9205 |
case $host in |
|
9206 |
x86_64-*kfreebsd*-gnu) |
|
9207 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
9208 |
;; |
|
9209 |
x86_64-*linux*) |
|
9210 |
LD="${LD-ld} -m elf_x86_64" |
|
9211 |
;; |
|
9212 |
ppc*-*linux*|powerpc*-*linux*) |
|
9213 |
LD="${LD-ld} -m elf64ppc" |
|
9214 |
;; |
|
9215 |
s390*-*linux*|s390*-*tpf*) |
|
9216 |
LD="${LD-ld} -m elf64_s390" |
|
9217 |
;; |
|
9218 |
sparc*-*linux*) |
|
9219 |
LD="${LD-ld} -m elf64_sparc" |
|
9220 |
;; |
|
9221 |
esac |
|
9222 |
;; |
|
9223 |
esac |
|
9224 |
fi |
|
9225 |
rm -rf conftest* |
|
9226 |
;; |
|
9227 |
||
9228 |
*-*-sco3.2v5*) |
|
9229 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
9230 |
SAVE_CFLAGS="$CFLAGS" |
|
9231 |
CFLAGS="$CFLAGS -belf" |
|
9232 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
|
9233 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
9234 |
if ${lt_cv_cc_needs_belf+:} false; then : |
|
9235 |
$as_echo_n "(cached) " >&6 |
|
9236 |
else |
|
9237 |
ac_ext=c |
|
9238 |
ac_cpp='$CPP $CPPFLAGS' |
|
9239 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9240 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9241 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
9242 |
||
9243 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9244 |
/* end confdefs.h. */ |
|
9245 |
||
9246 |
int |
|
9247 |
main () |
|
9248 |
{ |
|
9249 |
||
9250 |
; |
|
9251 |
return 0; |
|
9252 |
} |
|
9253 |
_ACEOF |
|
9254 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9255 |
lt_cv_cc_needs_belf=yes |
|
9256 |
else |
|
9257 |
lt_cv_cc_needs_belf=no |
|
9258 |
fi |
|
9259 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9260 |
conftest$ac_exeext conftest.$ac_ext |
|
9261 |
ac_ext=c |
|
9262 |
ac_cpp='$CPP $CPPFLAGS' |
|
9263 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9264 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9265 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
9266 |
||
9267 |
fi |
|
9268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
|
9269 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
9270 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
9271 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
9272 |
CFLAGS="$SAVE_CFLAGS" |
|
9273 |
fi |
|
9274 |
;; |
|
9275 |
sparc*-*solaris*) |
|
9276 |
# Find out which ABI we are using. |
|
9277 |
echo 'int i;' > conftest.$ac_ext |
|
9278 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
9279 |
(eval $ac_compile) 2>&5 |
|
9280 |
ac_status=$? |
|
9281 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9282 |
test $ac_status = 0; }; then |
|
9283 |
case `/usr/bin/file conftest.o` in |
|
9284 |
*64-bit*) |
|
9285 |
case $lt_cv_prog_gnu_ld in |
|
9286 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
9287 |
*) |
|
9288 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
9289 |
LD="${LD-ld} -64" |
|
9290 |
fi |
|
9291 |
;; |
|
9292 |
esac |
|
9293 |
;; |
|
9294 |
esac |
|
9295 |
fi |
|
9296 |
rm -rf conftest* |
|
9297 |
;; |
|
9298 |
esac |
|
9299 |
||
9300 |
need_locks="$enable_libtool_lock" |
|
9301 |
||
9302 |
if test -n "$ac_tool_prefix"; then |
|
9303 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
9304 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
9305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9306 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9307 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
9308 |
$as_echo_n "(cached) " >&6 |
|
9309 |
else |
|
9310 |
if test -n "$MANIFEST_TOOL"; then |
|
9311 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
9312 |
else |
|
9313 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9314 |
for as_dir in $PATH |
|
9315 |
do |
|
9316 |
IFS=$as_save_IFS |
|
9317 |
test -z "$as_dir" && as_dir=. |
|
9318 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9319 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9320 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
9321 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9322 |
break 2 |
|
9323 |
fi |
|
9324 |
done |
|
9325 |
done |
|
9326 |
IFS=$as_save_IFS |
|
9327 |
||
9328 |
fi |
|
9329 |
fi |
|
9330 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
9331 |
if test -n "$MANIFEST_TOOL"; then |
|
9332 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
9333 |
$as_echo "$MANIFEST_TOOL" >&6; } |
|
9334 |
else |
|
9335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9336 |
$as_echo "no" >&6; } |
|
9337 |
fi |
|
9338 |
||
9339 |
||
9340 |
fi |
|
9341 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
9342 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
9343 |
# Extract the first word of "mt", so it can be a program name with args. |
|
9344 |
set dummy mt; ac_word=$2 |
|
9345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9346 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9347 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
9348 |
$as_echo_n "(cached) " >&6 |
|
9349 |
else |
|
9350 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
9351 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
9352 |
else |
|
9353 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9354 |
for as_dir in $PATH |
|
9355 |
do |
|
9356 |
IFS=$as_save_IFS |
|
9357 |
test -z "$as_dir" && as_dir=. |
|
9358 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9359 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9360 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
9361 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9362 |
break 2 |
|
9363 |
fi |
|
9364 |
done |
|
9365 |
done |
|
9366 |
IFS=$as_save_IFS |
|
9367 |
||
9368 |
fi |
|
9369 |
fi |
|
9370 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
9371 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
9372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
9373 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
9374 |
else |
|
9375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9376 |
$as_echo "no" >&6; } |
|
9377 |
fi |
|
9378 |
||
9379 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
9380 |
MANIFEST_TOOL=":" |
|
9381 |
else |
|
9382 |
case $cross_compiling:$ac_tool_warned in |
|
9383 |
yes:) |
|
9384 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9385 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9386 |
ac_tool_warned=yes ;; |
|
9387 |
esac |
|
9388 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
9389 |
fi |
|
9390 |
else |
|
9391 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
9392 |
fi |
|
9393 |
||
9394 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
9395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
9396 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
9397 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
9398 |
$as_echo_n "(cached) " >&6 |
|
9399 |
else |
|
9400 |
lt_cv_path_mainfest_tool=no |
|
9401 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
9402 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
9403 |
cat conftest.err >&5 |
|
9404 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
9405 |
lt_cv_path_mainfest_tool=yes |
|
9406 |
fi |
|
9407 |
rm -f conftest* |
|
9408 |
fi |
|
9409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
9410 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
9411 |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
|
9412 |
MANIFEST_TOOL=: |
|
9413 |
fi |
|
9414 |
||
9415 |
||
9416 |
||
9417 |
||
9418 |
||
9419 |
||
9420 |
case $host_os in |
|
9421 |
rhapsody* | darwin*) |
|
9422 |
if test -n "$ac_tool_prefix"; then |
|
9423 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
9424 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
9425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9426 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9427 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
|
9428 |
$as_echo_n "(cached) " >&6 |
|
9429 |
else |
|
9430 |
if test -n "$DSYMUTIL"; then |
|
9431 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
9432 |
else |
|
9433 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9434 |
for as_dir in $PATH |
|
9435 |
do |
|
9436 |
IFS=$as_save_IFS |
|
9437 |
test -z "$as_dir" && as_dir=. |
|
9438 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9439 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9440 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
9441 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9442 |
break 2 |
|
9443 |
fi |
|
9444 |
done |
|
9445 |
done |
|
9446 |
IFS=$as_save_IFS |
|
9447 |
||
9448 |
fi |
|
9449 |
fi |
|
9450 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
9451 |
if test -n "$DSYMUTIL"; then |
|
9452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
9453 |
$as_echo "$DSYMUTIL" >&6; } |
|
9454 |
else |
|
9455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9456 |
$as_echo "no" >&6; } |
|
9457 |
fi |
|
9458 |
||
9459 |
||
9460 |
fi |
|
9461 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
9462 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
9463 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
9464 |
set dummy dsymutil; ac_word=$2 |
|
9465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9466 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9467 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
|
9468 |
$as_echo_n "(cached) " >&6 |
|
9469 |
else |
|
9470 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
9471 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
9472 |
else |
|
9473 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9474 |
for as_dir in $PATH |
|
9475 |
do |
|
9476 |
IFS=$as_save_IFS |
|
9477 |
test -z "$as_dir" && as_dir=. |
|
9478 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9479 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9480 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
9481 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9482 |
break 2 |
|
9483 |
fi |
|
9484 |
done |
|
9485 |
done |
|
9486 |
IFS=$as_save_IFS |
|
9487 |
||
9488 |
fi |
|
9489 |
fi |
|
9490 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
9491 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
9492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
|
9493 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
9494 |
else |
|
9495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9496 |
$as_echo "no" >&6; } |
|
9497 |
fi |
|
9498 |
||
9499 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
9500 |
DSYMUTIL=":" |
|
9501 |
else |
|
9502 |
case $cross_compiling:$ac_tool_warned in |
|
9503 |
yes:) |
|
9504 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9505 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9506 |
ac_tool_warned=yes ;; |
|
9507 |
esac |
|
9508 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
9509 |
fi |
|
9510 |
else |
|
9511 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
9512 |
fi |
|
9513 |
||
9514 |
if test -n "$ac_tool_prefix"; then |
|
9515 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
9516 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
9517 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9518 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9519 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
|
9520 |
$as_echo_n "(cached) " >&6 |
|
9521 |
else |
|
9522 |
if test -n "$NMEDIT"; then |
|
9523 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
9524 |
else |
|
9525 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9526 |
for as_dir in $PATH |
|
9527 |
do |
|
9528 |
IFS=$as_save_IFS |
|
9529 |
test -z "$as_dir" && as_dir=. |
|
9530 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9531 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9532 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
9533 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9534 |
break 2 |
|
9535 |
fi |
|
9536 |
done |
|
9537 |
done |
|
9538 |
IFS=$as_save_IFS |
|
9539 |
||
9540 |
fi |
|
9541 |
fi |
|
9542 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
9543 |
if test -n "$NMEDIT"; then |
|
9544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
|
9545 |
$as_echo "$NMEDIT" >&6; } |
|
9546 |
else |
|
9547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9548 |
$as_echo "no" >&6; } |
|
9549 |
fi |
|
9550 |
||
9551 |
||
9552 |
fi |
|
9553 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
9554 |
ac_ct_NMEDIT=$NMEDIT |
|
9555 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
9556 |
set dummy nmedit; ac_word=$2 |
|
9557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9558 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9559 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
|
9560 |
$as_echo_n "(cached) " >&6 |
|
9561 |
else |
|
9562 |
if test -n "$ac_ct_NMEDIT"; then |
|
9563 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
9564 |
else |
|
9565 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9566 |
for as_dir in $PATH |
|
9567 |
do |
|
9568 |
IFS=$as_save_IFS |
|
9569 |
test -z "$as_dir" && as_dir=. |
|
9570 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9571 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9572 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
9573 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9574 |
break 2 |
|
9575 |
fi |
|
9576 |
done |
|
9577 |
done |
|
9578 |
IFS=$as_save_IFS |
|
9579 |
||
9580 |
fi |
|
9581 |
fi |
|
9582 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
9583 |
if test -n "$ac_ct_NMEDIT"; then |
|
9584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
|
9585 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
9586 |
else |
|
9587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9588 |
$as_echo "no" >&6; } |
|
9589 |
fi |
|
9590 |
||
9591 |
if test "x$ac_ct_NMEDIT" = x; then |
|
9592 |
NMEDIT=":" |
|
9593 |
else |
|
9594 |
case $cross_compiling:$ac_tool_warned in |
|
9595 |
yes:) |
|
9596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9597 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9598 |
ac_tool_warned=yes ;; |
|
9599 |
esac |
|
9600 |
NMEDIT=$ac_ct_NMEDIT |
|
9601 |
fi |
|
9602 |
else |
|
9603 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
9604 |
fi |
|
9605 |
||
9606 |
if test -n "$ac_tool_prefix"; then |
|
9607 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
9608 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
9609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9610 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9611 |
if ${ac_cv_prog_LIPO+:} false; then : |
|
9612 |
$as_echo_n "(cached) " >&6 |
|
9613 |
else |
|
9614 |
if test -n "$LIPO"; then |
|
9615 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
9616 |
else |
|
9617 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9618 |
for as_dir in $PATH |
|
9619 |
do |
|
9620 |
IFS=$as_save_IFS |
|
9621 |
test -z "$as_dir" && as_dir=. |
|
9622 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9623 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9624 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
9625 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9626 |
break 2 |
|
9627 |
fi |
|
9628 |
done |
|
9629 |
done |
|
9630 |
IFS=$as_save_IFS |
|
9631 |
||
9632 |
fi |
|
9633 |
fi |
|
9634 |
LIPO=$ac_cv_prog_LIPO |
|
9635 |
if test -n "$LIPO"; then |
|
9636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
|
9637 |
$as_echo "$LIPO" >&6; } |
|
9638 |
else |
|
9639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9640 |
$as_echo "no" >&6; } |
|
9641 |
fi |
|
9642 |
||
9643 |
||
9644 |
fi |
|
9645 |
if test -z "$ac_cv_prog_LIPO"; then |
|
9646 |
ac_ct_LIPO=$LIPO |
|
9647 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
9648 |
set dummy lipo; ac_word=$2 |
|
9649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9650 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9651 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
|
9652 |
$as_echo_n "(cached) " >&6 |
|
9653 |
else |
|
9654 |
if test -n "$ac_ct_LIPO"; then |
|
9655 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
9656 |
else |
|
9657 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9658 |
for as_dir in $PATH |
|
9659 |
do |
|
9660 |
IFS=$as_save_IFS |
|
9661 |
test -z "$as_dir" && as_dir=. |
|
9662 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9663 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9664 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
9665 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9666 |
break 2 |
|
9667 |
fi |
|
9668 |
done |
|
9669 |
done |
|
9670 |
IFS=$as_save_IFS |
|
9671 |
||
9672 |
fi |
|
9673 |
fi |
|
9674 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
9675 |
if test -n "$ac_ct_LIPO"; then |
|
9676 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
|
9677 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
9678 |
else |
|
9679 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9680 |
$as_echo "no" >&6; } |
|
9681 |
fi |
|
9682 |
||
9683 |
if test "x$ac_ct_LIPO" = x; then |
|
9684 |
LIPO=":" |
|
9685 |
else |
|
9686 |
case $cross_compiling:$ac_tool_warned in |
|
9687 |
yes:) |
|
9688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9689 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9690 |
ac_tool_warned=yes ;; |
|
9691 |
esac |
|
9692 |
LIPO=$ac_ct_LIPO |
|
9693 |
fi |
|
9694 |
else |
|
9695 |
LIPO="$ac_cv_prog_LIPO" |
|
9696 |
fi |
|
9697 |
||
9698 |
if test -n "$ac_tool_prefix"; then |
|
9699 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
9700 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
9701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9702 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9703 |
if ${ac_cv_prog_OTOOL+:} false; then : |
|
9704 |
$as_echo_n "(cached) " >&6 |
|
9705 |
else |
|
9706 |
if test -n "$OTOOL"; then |
|
9707 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
9708 |
else |
|
9709 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9710 |
for as_dir in $PATH |
|
9711 |
do |
|
9712 |
IFS=$as_save_IFS |
|
9713 |
test -z "$as_dir" && as_dir=. |
|
9714 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9715 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9716 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
9717 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9718 |
break 2 |
|
9719 |
fi |
|
9720 |
done |
|
9721 |
done |
|
9722 |
IFS=$as_save_IFS |
|
9723 |
||
9724 |
fi |
|
9725 |
fi |
|
9726 |
OTOOL=$ac_cv_prog_OTOOL |
|
9727 |
if test -n "$OTOOL"; then |
|
9728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
|
9729 |
$as_echo "$OTOOL" >&6; } |
|
9730 |
else |
|
9731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9732 |
$as_echo "no" >&6; } |
|
9733 |
fi |
|
9734 |
||
9735 |
||
9736 |
fi |
|
9737 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
9738 |
ac_ct_OTOOL=$OTOOL |
|
9739 |
# Extract the first word of "otool", so it can be a program name with args. |
|
9740 |
set dummy otool; ac_word=$2 |
|
9741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9742 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9743 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
|
9744 |
$as_echo_n "(cached) " >&6 |
|
9745 |
else |
|
9746 |
if test -n "$ac_ct_OTOOL"; then |
|
9747 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
9748 |
else |
|
9749 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9750 |
for as_dir in $PATH |
|
9751 |
do |
|
9752 |
IFS=$as_save_IFS |
|
9753 |
test -z "$as_dir" && as_dir=. |
|
9754 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9755 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9756 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
9757 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9758 |
break 2 |
|
9759 |
fi |
|
9760 |
done |
|
9761 |
done |
|
9762 |
IFS=$as_save_IFS |
|
9763 |
||
9764 |
fi |
|
9765 |
fi |
|
9766 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
9767 |
if test -n "$ac_ct_OTOOL"; then |
|
9768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
|
9769 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
9770 |
else |
|
9771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9772 |
$as_echo "no" >&6; } |
|
9773 |
fi |
|
9774 |
||
9775 |
if test "x$ac_ct_OTOOL" = x; then |
|
9776 |
OTOOL=":" |
|
9777 |
else |
|
9778 |
case $cross_compiling:$ac_tool_warned in |
|
9779 |
yes:) |
|
9780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9781 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9782 |
ac_tool_warned=yes ;; |
|
9783 |
esac |
|
9784 |
OTOOL=$ac_ct_OTOOL |
|
9785 |
fi |
|
9786 |
else |
|
9787 |
OTOOL="$ac_cv_prog_OTOOL" |
|
9788 |
fi |
|
9789 |
||
9790 |
if test -n "$ac_tool_prefix"; then |
|
9791 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
9792 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
9793 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9794 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9795 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
|
9796 |
$as_echo_n "(cached) " >&6 |
|
9797 |
else |
|
9798 |
if test -n "$OTOOL64"; then |
|
9799 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
9800 |
else |
|
9801 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9802 |
for as_dir in $PATH |
|
9803 |
do |
|
9804 |
IFS=$as_save_IFS |
|
9805 |
test -z "$as_dir" && as_dir=. |
|
9806 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9807 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9808 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
9809 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9810 |
break 2 |
|
9811 |
fi |
|
9812 |
done |
|
9813 |
done |
|
9814 |
IFS=$as_save_IFS |
|
9815 |
||
9816 |
fi |
|
9817 |
fi |
|
9818 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
9819 |
if test -n "$OTOOL64"; then |
|
9820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
|
9821 |
$as_echo "$OTOOL64" >&6; } |
|
9822 |
else |
|
9823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9824 |
$as_echo "no" >&6; } |
|
9825 |
fi |
|
9826 |
||
9827 |
||
9828 |
fi |
|
9829 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
9830 |
ac_ct_OTOOL64=$OTOOL64 |
|
9831 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
9832 |
set dummy otool64; ac_word=$2 |
|
9833 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
9834 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9835 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
|
9836 |
$as_echo_n "(cached) " >&6 |
|
9837 |
else |
|
9838 |
if test -n "$ac_ct_OTOOL64"; then |
|
9839 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
9840 |
else |
|
9841 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9842 |
for as_dir in $PATH |
|
9843 |
do |
|
9844 |
IFS=$as_save_IFS |
|
9845 |
test -z "$as_dir" && as_dir=. |
|
9846 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9847 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9848 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
9849 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9850 |
break 2 |
|
9851 |
fi |
|
9852 |
done |
|
9853 |
done |
|
9854 |
IFS=$as_save_IFS |
|
9855 |
||
9856 |
fi |
|
9857 |
fi |
|
9858 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
9859 |
if test -n "$ac_ct_OTOOL64"; then |
|
9860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
|
9861 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
9862 |
else |
|
9863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
9864 |
$as_echo "no" >&6; } |
|
9865 |
fi |
|
9866 |
||
9867 |
if test "x$ac_ct_OTOOL64" = x; then |
|
9868 |
OTOOL64=":" |
|
9869 |
else |
|
9870 |
case $cross_compiling:$ac_tool_warned in |
|
9871 |
yes:) |
|
9872 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9873 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9874 |
ac_tool_warned=yes ;; |
|
9875 |
esac |
|
9876 |
OTOOL64=$ac_ct_OTOOL64 |
|
9877 |
fi |
|
9878 |
else |
|
9879 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
9880 |
fi |
|
9881 |
||
9882 |
||
9883 |
||
9884 |
||
9885 |
||
9886 |
||
9887 |
||
9888 |
||
9889 |
||
9890 |
||
9891 |
||
9892 |
||
9893 |
||
9894 |
||
9895 |
||
9896 |
||
9897 |
||
9898 |
||
9899 |
||
9900 |
||
9901 |
||
9902 |
||
9903 |
||
9904 |
||
9905 |
||
9906 |
||
9907 |
||
9908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
|
9909 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
9910 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
|
9911 |
$as_echo_n "(cached) " >&6 |
|
9912 |
else |
|
9913 |
lt_cv_apple_cc_single_mod=no |
|
9914 |
if test -z "${LT_MULTI_MODULE}"; then |
|
9915 |
# By default we will add the -single_module flag. You can override |
|
9916 |
# by either setting the environment variable LT_MULTI_MODULE |
|
9917 |
# non-empty at configure time, or by adding -multi_module to the |
|
9918 |
# link flags. |
|
9919 |
rm -rf libconftest.dylib* |
|
9920 |
echo "int foo(void){return 1;}" > conftest.c |
|
9921 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
9922 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
9923 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
9924 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
9925 |
_lt_result=$? |
|
9926 |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
|
9927 |
lt_cv_apple_cc_single_mod=yes |
|
9928 |
else |
|
9929 |
cat conftest.err >&5 |
|
9930 |
fi |
|
9931 |
rm -rf libconftest.dylib* |
|
9932 |
rm -f conftest.* |
|
9933 |
fi |
|
9934 |
fi |
|
9935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
|
9936 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
9937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
|
9938 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
9939 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
|
9940 |
$as_echo_n "(cached) " >&6 |
|
9941 |
else |
|
9942 |
lt_cv_ld_exported_symbols_list=no |
|
9943 |
save_LDFLAGS=$LDFLAGS |
|
9944 |
echo "_main" > conftest.sym |
|
9945 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
9946 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9947 |
/* end confdefs.h. */ |
|
9948 |
||
9949 |
int |
|
9950 |
main () |
|
9951 |
{ |
|
9952 |
||
9953 |
; |
|
9954 |
return 0; |
|
9955 |
} |
|
9956 |
_ACEOF |
|
9957 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9958 |
lt_cv_ld_exported_symbols_list=yes |
|
9959 |
else |
|
9960 |
lt_cv_ld_exported_symbols_list=no |
|
9961 |
fi |
|
9962 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9963 |
conftest$ac_exeext conftest.$ac_ext |
|
9964 |
LDFLAGS="$save_LDFLAGS" |
|
9965 |
||
9966 |
fi |
|
9967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
9968 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
9969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
|
9970 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
|
9971 |
if ${lt_cv_ld_force_load+:} false; then : |
|
9972 |
$as_echo_n "(cached) " >&6 |
|
9973 |
else |
|
9974 |
lt_cv_ld_force_load=no |
|
9975 |
cat > conftest.c << _LT_EOF |
|
9976 |
int forced_loaded() { return 2;} |
|
9977 |
_LT_EOF |
|
9978 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
|
9979 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
|
9980 |
echo "$AR cru libconftest.a conftest.o" >&5 |
|
9981 |
$AR cru libconftest.a conftest.o 2>&5 |
|
9982 |
echo "$RANLIB libconftest.a" >&5 |
|
9983 |
$RANLIB libconftest.a 2>&5 |
|
9984 |
cat > conftest.c << _LT_EOF |
|
9985 |
int main() { return 0;} |
|
9986 |
_LT_EOF |
|
9987 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
|
9988 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
|
9989 |
_lt_result=$? |
|
9990 |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
|
9991 |
lt_cv_ld_force_load=yes |
|
9992 |
else |
|
9993 |
cat conftest.err >&5 |
|
9994 |
fi |
|
9995 |
rm -f conftest.err libconftest.a conftest conftest.c |
|
9996 |
rm -rf conftest.dSYM |
|
9997 |
||
9998 |
fi |
|
9999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
|
10000 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
|
10001 |
case $host_os in |
|
10002 |
rhapsody* | darwin1.[012]) |
|
10003 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
10004 |
darwin1.*) |
|
10005 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
10006 |
darwin*) # darwin 5.x on |
|
10007 |
# if running on 10.5 or later, the deployment target defaults |
|
10008 |
# to the OS version, if on x86, and 10.4, the deployment |
|
10009 |
# target defaults to 10.4. Don't you love it? |
|
10010 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
10011 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
10012 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
10013 |
10.[012]*) |
|
10014 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
10015 |
10.*) |
|
10016 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
10017 |
esac |
|
10018 |
;; |
|
10019 |
esac |
|
10020 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
10021 |
_lt_dar_single_mod='$single_module' |
|
10022 |
fi |
|
10023 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
10024 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
10025 |
else |
|
10026 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
10027 |
fi |
|
10028 |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
|
10029 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
|
10030 |
else |
|
10031 |
_lt_dsymutil= |
|
10032 |
fi |
|
10033 |
;; |
|
10034 |
esac |
|
10035 |
||
10036 |
ac_ext=c |
|
10037 |
ac_cpp='$CPP $CPPFLAGS' |
|
10038 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
10039 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
10040 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
10041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
10042 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
10043 |
# On Suns, sometimes $CPP names a directory. |
|
10044 |
if test -n "$CPP" && test -d "$CPP"; then |
|
10045 |
CPP= |
|
10046 |
fi |
|
10047 |
if test -z "$CPP"; then |
|
10048 |
if ${ac_cv_prog_CPP+:} false; then : |
|
10049 |
$as_echo_n "(cached) " >&6 |
|
10050 |
else |
|
10051 |
# Double quotes because CPP needs to be expanded |
|
10052 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
10053 |
do |
|
10054 |
ac_preproc_ok=false |
|
10055 |
for ac_c_preproc_warn_flag in '' yes |
|
10056 |
do |
|
10057 |
# Use a header file that comes with gcc, so configuring glibc |
|
10058 |
# with a fresh cross-compiler works. |
|
10059 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
10060 |
# <limits.h> exists even on freestanding compilers. |
|
10061 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
10062 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
10063 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10064 |
/* end confdefs.h. */ |
|
10065 |
#ifdef __STDC__ |
|
10066 |
# include <limits.h> |
|
10067 |
#else |
|
10068 |
# include <assert.h> |
|
10069 |
#endif |
|
10070 |
Syntax error |
|
10071 |
_ACEOF |
|
10072 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
10073 |
||
10074 |
else |
|
10075 |
# Broken: fails on valid input. |
|
10076 |
continue |
|
10077 |
fi |
|
10078 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
10079 |
||
10080 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
10081 |
# can be detected and how. |
|
10082 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10083 |
/* end confdefs.h. */ |
|
10084 |
#include <ac_nonexistent.h> |
|
10085 |
_ACEOF |
|
10086 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
10087 |
# Broken: success on invalid input. |
|
10088 |
continue |
|
10089 |
else |
|
10090 |
# Passes both tests. |
|
10091 |
ac_preproc_ok=: |
|
10092 |
break |
|
10093 |
fi |
|
10094 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
10095 |
||
10096 |
done |
|
10097 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
10098 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
10099 |
if $ac_preproc_ok; then : |
|
10100 |
break |
|
10101 |
fi |
|
10102 |
||
10103 |
done |
|
10104 |
ac_cv_prog_CPP=$CPP |
|
10105 |
||
10106 |
fi |
|
10107 |
CPP=$ac_cv_prog_CPP |
|
10108 |
else |
|
10109 |
ac_cv_prog_CPP=$CPP |
|
10110 |
fi |
|
10111 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
10112 |
$as_echo "$CPP" >&6; } |
|
10113 |
ac_preproc_ok=false |
|
10114 |
for ac_c_preproc_warn_flag in '' yes |
|
10115 |
do |
|
10116 |
# Use a header file that comes with gcc, so configuring glibc |
|
10117 |
# with a fresh cross-compiler works. |
|
10118 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
10119 |
# <limits.h> exists even on freestanding compilers. |
|
10120 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
10121 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
10122 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10123 |
/* end confdefs.h. */ |
|
10124 |
#ifdef __STDC__ |
|
10125 |
# include <limits.h> |
|
10126 |
#else |
|
10127 |
# include <assert.h> |
|
10128 |
#endif |
|
10129 |
Syntax error |
|
10130 |
_ACEOF |
|
10131 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
10132 |
||
10133 |
else |
|
10134 |
# Broken: fails on valid input. |
|
10135 |
continue |
|
10136 |
fi |
|
10137 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
10138 |
||
10139 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
10140 |
# can be detected and how. |
|
10141 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10142 |
/* end confdefs.h. */ |
|
10143 |
#include <ac_nonexistent.h> |
|
10144 |
_ACEOF |
|
10145 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
10146 |
# Broken: success on invalid input. |
|
10147 |
continue |
|
10148 |
else |
|
10149 |
# Passes both tests. |
|
10150 |
ac_preproc_ok=: |
|
10151 |
break |
|
10152 |
fi |
|
10153 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
10154 |
||
10155 |
done |
|
10156 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
10157 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
10158 |
if $ac_preproc_ok; then : |
|
10159 |
||
10160 |
else |
|
10161 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
10162 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
10163 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
10164 |
See \`config.log' for more details" "$LINENO" 5; } |
|
10165 |
fi |
|
10166 |
||
10167 |
ac_ext=c |
|
10168 |
ac_cpp='$CPP $CPPFLAGS' |
|
10169 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
10170 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
10171 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
10172 |
||
10173 |
||
10174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
10175 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
10176 |
if ${ac_cv_header_stdc+:} false; then : |
|
10177 |
$as_echo_n "(cached) " >&6 |
|
10178 |
else |
|
10179 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10180 |
/* end confdefs.h. */ |
|
10181 |
#include <stdlib.h> |
|
10182 |
#include <stdarg.h> |
|
10183 |
#include <string.h> |
|
10184 |
#include <float.h> |
|
10185 |
||
10186 |
int |
|
10187 |
main () |
|
10188 |
{ |
|
10189 |
||
10190 |
; |
|
10191 |
return 0; |
|
10192 |
} |
|
10193 |
_ACEOF |
|
10194 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
10195 |
ac_cv_header_stdc=yes |
|
10196 |
else |
|
10197 |
ac_cv_header_stdc=no |
|
10198 |
fi |
|
10199 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
10200 |
||
10201 |
if test $ac_cv_header_stdc = yes; then |
|
10202 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
10203 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10204 |
/* end confdefs.h. */ |
|
10205 |
#include <string.h> |
|
10206 |
||
10207 |
_ACEOF |
|
10208 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
10209 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
10210 |
||
10211 |
else |
|
10212 |
ac_cv_header_stdc=no |
|
10213 |
fi |
|
10214 |
rm -f conftest* |
|
10215 |
||
10216 |
fi |
|
10217 |
||
10218 |
if test $ac_cv_header_stdc = yes; then |
|
10219 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
10220 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10221 |
/* end confdefs.h. */ |
|
10222 |
#include <stdlib.h> |
|
10223 |
||
10224 |
_ACEOF |
|
10225 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
10226 |
$EGREP "free" >/dev/null 2>&1; then : |
|
10227 |
||
10228 |
else |
|
10229 |
ac_cv_header_stdc=no |
|
10230 |
fi |
|
10231 |
rm -f conftest* |
|
10232 |
||
10233 |
fi |
|
10234 |
||
10235 |
if test $ac_cv_header_stdc = yes; then |
|
10236 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
10237 |
if test "$cross_compiling" = yes; then : |
|
10238 |
: |
|
10239 |
else |
|
10240 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10241 |
/* end confdefs.h. */ |
|
10242 |
#include <ctype.h> |
|
10243 |
#include <stdlib.h> |
|
10244 |
#if ((' ' & 0x0FF) == 0x020) |
|
10245 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
10246 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
10247 |
#else |
|
10248 |
# define ISLOWER(c) \ |
|
10249 |
(('a' <= (c) && (c) <= 'i') \ |
|
10250 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
10251 |
|| ('s' <= (c) && (c) <= 'z')) |
|
10252 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
10253 |
#endif |
|
10254 |
||
10255 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
10256 |
int |
|
10257 |
main () |
|
10258 |
{ |
|
10259 |
int i; |
|
10260 |
for (i = 0; i < 256; i++) |
|
10261 |
if (XOR (islower (i), ISLOWER (i)) |
|
10262 |
|| toupper (i) != TOUPPER (i)) |
|
10263 |
return 2; |
|
10264 |
return 0; |
|
10265 |
} |
|
10266 |
_ACEOF |
|
10267 |
if ac_fn_c_try_run "$LINENO"; then : |
|
10268 |
||
10269 |
else |
|
10270 |
ac_cv_header_stdc=no |
|
10271 |
fi |
|
10272 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
10273 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
10274 |
fi |
|
10275 |
||
10276 |
fi |
|
10277 |
fi |
|
10278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
10279 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
10280 |
if test $ac_cv_header_stdc = yes; then |
|
10281 |
||
10282 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
10283 |
||
10284 |
fi |
|
10285 |
||
10286 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
10287 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
10288 |
inttypes.h stdint.h unistd.h |
|
10289 |
do : |
|
10290 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
10291 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
10292 |
" |
|
10293 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
10294 |
cat >>confdefs.h <<_ACEOF |
|
10295 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
10296 |
_ACEOF |
|
10297 |
||
10298 |
fi |
|
10299 |
||
10300 |
done |
|
10301 |
||
10302 |
||
10303 |
for ac_header in dlfcn.h |
|
10304 |
do : |
|
10305 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
|
10306 |
" |
|
10307 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
|
10308 |
cat >>confdefs.h <<_ACEOF |
|
10309 |
#define HAVE_DLFCN_H 1 |
|
10310 |
_ACEOF |
|
10311 |
||
10312 |
fi |
|
10313 |
||
10314 |
done |
|
10315 |
||
10316 |
||
10317 |
||
10318 |
func_stripname_cnf () |
|
10319 |
{ |
|
10320 |
case ${2} in |
|
10321 |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
|
10322 |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
|
10323 |
esac |
|
10324 |
} # func_stripname_cnf |
|
10325 |
||
10326 |
||
10327 |
||
10328 |
||
10329 |
||
10330 |
# Set options |
|
10331 |
||
10332 |
||
10333 |
||
10334 |
enable_dlopen=no |
|
10335 |
||
10336 |
||
10337 |
enable_win32_dll=no |
|
10338 |
||
10339 |
||
10340 |
||
10341 |
# Check whether --enable-static was given. |
|
10342 |
if test "${enable_static+set}" = set; then : |
|
10343 |
enableval=$enable_static; p=${PACKAGE-default} |
|
10344 |
case $enableval in |
|
10345 |
yes) enable_static=yes ;; |
|
10346 |
no) enable_static=no ;; |
|
10347 |
*) |
|
10348 |
enable_static=no |
|
10349 |
# Look at the argument we got. We use all the common list separators. |
|
10350 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
10351 |
for pkg in $enableval; do |
|
10352 |
IFS="$lt_save_ifs" |
|
10353 |
if test "X$pkg" = "X$p"; then |
|
10354 |
enable_static=yes |
|
10355 |
fi |
|
10356 |
done |
|
10357 |
IFS="$lt_save_ifs" |
|
10358 |
;; |
|
10359 |
esac |
|
10360 |
else |
|
10361 |
enable_static=yes |
|
10362 |
fi |
|
10363 |
||
10364 |
||
10365 |
||
10366 |
||
10367 |
||
10368 |
||
10369 |
||
10370 |
||
10371 |
||
10372 |
||
10373 |
# Check whether --with-pic was given. |
|
10374 |
if test "${with_pic+set}" = set; then : |
|
10375 |
withval=$with_pic; pic_mode="$withval" |
|
10376 |
else |
|
10377 |
pic_mode=default |
|
10378 |
fi |
|
10379 |
||
10380 |
||
10381 |
test -z "$pic_mode" && pic_mode=default |
|
10382 |
||
10383 |
||
10384 |
||
10385 |
||
10386 |
||
10387 |
||
10388 |
||
10389 |
# Check whether --enable-fast-install was given. |
|
10390 |
if test "${enable_fast_install+set}" = set; then : |
|
10391 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
10392 |
case $enableval in |
|
10393 |
yes) enable_fast_install=yes ;; |
|
10394 |
no) enable_fast_install=no ;; |
|
10395 |
*) |
|
10396 |
enable_fast_install=no |
|
10397 |
# Look at the argument we got. We use all the common list separators. |
|
10398 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
10399 |
for pkg in $enableval; do |
|
10400 |
IFS="$lt_save_ifs" |
|
10401 |
if test "X$pkg" = "X$p"; then |
|
10402 |
enable_fast_install=yes |
|
10403 |
fi |
|
10404 |
done |
|
10405 |
IFS="$lt_save_ifs" |
|
10406 |
;; |
|
10407 |
esac |
|
10408 |
else |
|
10409 |
enable_fast_install=yes |
|
10410 |
fi |
|
10411 |
||
10412 |
||
10413 |
||
10414 |
||
10415 |
||
10416 |
||
10417 |
||
10418 |
||
10419 |
||
10420 |
||
10421 |
||
10422 |
# This can be used to rebuild libtool when needed |
|
10423 |
LIBTOOL_DEPS="$ltmain" |
|
10424 |
||
10425 |
# Always use our own libtool. |
|
10426 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
10427 |
||
10428 |
||
10429 |
||
10430 |
||
10431 |
||
10432 |
||
10433 |
||
10434 |
||
10435 |
||
10436 |
||
10437 |
||
10438 |
||
10439 |
||
10440 |
||
10441 |
||
10442 |
||
10443 |
||
10444 |
||
10445 |
||
10446 |
||
10447 |
||
10448 |
||
10449 |
||
10450 |
||
10451 |
||
10452 |
||
10453 |
test -z "$LN_S" && LN_S="ln -s" |
|
10454 |
||
10455 |
||
10456 |
||
10457 |
||
10458 |
||
10459 |
||
10460 |
||
10461 |
||
10462 |
||
10463 |
||
10464 |
||
10465 |
||
10466 |
||
10467 |
||
10468 |
if test -n "${ZSH_VERSION+set}" ; then |
|
10469 |
setopt NO_GLOB_SUBST |
|
10470 |
fi |
|
10471 |
||
10472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
|
10473 |
$as_echo_n "checking for objdir... " >&6; } |
|
10474 |
if ${lt_cv_objdir+:} false; then : |
|
10475 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10476 |
else |
10477 |
rm -f .libs 2>/dev/null |
|
10478 |
mkdir .libs 2>/dev/null |
|
10479 |
if test -d .libs; then |
|
10480 |
lt_cv_objdir=.libs |
|
10481 |
else |
|
10482 |
# MS-DOS does not allow filenames that begin with a dot. |
|
10483 |
lt_cv_objdir=_libs |
|
10484 |
fi |
|
10485 |
rmdir .libs 2>/dev/null |
|
10486 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
10488 |
$as_echo "$lt_cv_objdir" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10489 |
objdir=$lt_cv_objdir |
10490 |
||
10491 |
||
10492 |
||
10493 |
||
10494 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10495 |
cat >>confdefs.h <<_ACEOF |
10496 |
#define LT_OBJDIR "$lt_cv_objdir/" |
|
10497 |
_ACEOF |
|
10498 |
||
10499 |
||
10500 |
||
10501 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10502 |
case $host_os in |
10503 |
aix3*) |
|
10504 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
10505 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
10506 |
# vanish in a puff of smoke. |
|
10507 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
10508 |
COLLECT_NAMES= |
|
10509 |
export COLLECT_NAMES |
|
10510 |
fi |
|
10511 |
;; |
|
10512 |
esac |
|
10513 |
||
10514 |
# Global variables: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10515 |
ofile=libtool |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10516 |
can_build_shared=yes |
10517 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10518 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10519 |
# which needs '.lib'). |
10520 |
libext=a |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10521 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10522 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
10523 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
10524 |
old_CC="$CC" |
10525 |
old_CFLAGS="$CFLAGS" |
|
10526 |
||
10527 |
# Set sane defaults for various variables |
|
10528 |
test -z "$CC" && CC=cc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10529 |
test -z "$LTCC" && LTCC=$CC |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10530 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
10531 |
test -z "$LD" && LD=ld |
10532 |
test -z "$ac_objext" && ac_objext=o |
|
10533 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10534 |
for cc_temp in $compiler""; do |
10535 |
case $cc_temp in |
|
10536 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
10537 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
10538 |
\-*) ;; |
|
10539 |
*) break;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
10540 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10541 |
done |
10542 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
10543 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
10544 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10545 |
# Only perform the check for file, if the check method requires it |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10546 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10547 |
case $deplibs_check_method in |
10548 |
file_magic*) |
|
10549 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
10551 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
10552 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
10553 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10554 |
else |
10555 |
case $MAGIC_CMD in |
|
10556 |
[\\/*] | ?:[\\/]*) |
|
10557 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
10558 |
;; |
|
10559 |
*) |
|
10560 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
10561 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
10562 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
10563 |
for ac_dir in $ac_dummy; do |
|
10564 |
IFS="$lt_save_ifs" |
|
10565 |
test -z "$ac_dir" && ac_dir=. |
|
10566 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
10567 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
10568 |
if test -n "$file_magic_test_file"; then |
|
10569 |
case $deplibs_check_method in |
|
10570 |
"file_magic "*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10571 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10572 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
10573 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
10574 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
10575 |
: |
|
10576 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10577 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10578 |
|
10579 |
*** Warning: the command libtool uses to detect shared libraries, |
|
10580 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
10581 |
*** The result is that libtool may fail to recognize shared libraries |
|
10582 |
*** as such. This will affect the creation of libtool libraries that |
|
10583 |
*** depend on shared libraries, but programs linked with such libtool |
|
10584 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
10585 |
*** may want to report the problem to your system manager and/or to |
|
10586 |
*** bug-libtool@gnu.org |
|
10587 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10588 |
_LT_EOF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10589 |
fi ;; |
10590 |
esac |
|
10591 |
fi |
|
10592 |
break |
|
10593 |
fi |
|
10594 |
done |
|
10595 |
IFS="$lt_save_ifs" |
|
10596 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
10597 |
;; |
|
10598 |
esac |
|
10599 |
fi |
|
10600 |
||
10601 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10602 |
if test -n "$MAGIC_CMD"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
10604 |
$as_echo "$MAGIC_CMD" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10605 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10607 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10608 |
fi |
10609 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10610 |
|
10611 |
||
10612 |
||
10613 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10614 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
10615 |
if test -n "$ac_tool_prefix"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
10617 |
$as_echo_n "checking for file... " >&6; } |
|
10618 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
10619 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10620 |
else |
10621 |
case $MAGIC_CMD in |
|
10622 |
[\\/*] | ?:[\\/]*) |
|
10623 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
10624 |
;; |
|
10625 |
*) |
|
10626 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
10627 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
10628 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
10629 |
for ac_dir in $ac_dummy; do |
|
10630 |
IFS="$lt_save_ifs" |
|
10631 |
test -z "$ac_dir" && ac_dir=. |
|
10632 |
if test -f $ac_dir/file; then |
|
10633 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
10634 |
if test -n "$file_magic_test_file"; then |
|
10635 |
case $deplibs_check_method in |
|
10636 |
"file_magic "*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10637 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10638 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
10639 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
10640 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
10641 |
: |
|
10642 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10643 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10644 |
|
10645 |
*** Warning: the command libtool uses to detect shared libraries, |
|
10646 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
10647 |
*** The result is that libtool may fail to recognize shared libraries |
|
10648 |
*** as such. This will affect the creation of libtool libraries that |
|
10649 |
*** depend on shared libraries, but programs linked with such libtool |
|
10650 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
10651 |
*** may want to report the problem to your system manager and/or to |
|
10652 |
*** bug-libtool@gnu.org |
|
10653 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10654 |
_LT_EOF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10655 |
fi ;; |
10656 |
esac |
|
10657 |
fi |
|
10658 |
break |
|
10659 |
fi |
|
10660 |
done |
|
10661 |
IFS="$lt_save_ifs" |
|
10662 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
10663 |
;; |
|
10664 |
esac |
|
10665 |
fi |
|
10666 |
||
10667 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10668 |
if test -n "$MAGIC_CMD"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
10670 |
$as_echo "$MAGIC_CMD" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10671 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10672 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10673 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10674 |
fi |
10675 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10676 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10677 |
else |
10678 |
MAGIC_CMD=: |
|
10679 |
fi |
|
10680 |
fi |
|
10681 |
||
10682 |
fi |
|
10683 |
;; |
|
10684 |
esac |
|
10685 |
||
10686 |
# Use C for the default configuration in the libtool script |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10687 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10688 |
lt_save_CC="$CC" |
10689 |
ac_ext=c |
|
10690 |
ac_cpp='$CPP $CPPFLAGS' |
|
10691 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
10692 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
10693 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
10694 |
||
10695 |
||
10696 |
# Source file extension for C test sources. |
|
10697 |
ac_ext=c |
|
10698 |
||
10699 |
# Object file extension for compiled C test sources. |
|
10700 |
objext=o |
|
10701 |
objext=$objext |
|
10702 |
||
10703 |
# Code to be used in simple compile tests |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10704 |
lt_simple_compile_test_code="int some_variable = 0;" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10705 |
|
10706 |
# Code to be used in simple link tests |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10707 |
lt_simple_link_test_code='int main(){return(0);}' |
10708 |
||
10709 |
||
10710 |
||
10711 |
||
10712 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10713 |
|
10714 |
||
10715 |
# If no C compiler was specified, use CC. |
|
10716 |
LTCC=${LTCC-"$CC"} |
|
10717 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10718 |
# If no C compiler flags were specified, use CFLAGS. |
10719 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
10720 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10721 |
# Allow CC to be a program name with arguments. |
10722 |
compiler=$CC |
|
10723 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10724 |
# Save the default compiler, since it gets overwritten when the other |
10725 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
10726 |
compiler_DEFAULT=$CC |
|
10727 |
||
10728 |
# save warnings/boilerplate of simple test code |
|
10729 |
ac_outfile=conftest.$ac_objext |
|
10730 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
10731 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
10732 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
10733 |
$RM conftest* |
|
10734 |
||
10735 |
ac_outfile=conftest.$ac_objext |
|
10736 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
10737 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
10738 |
_lt_linker_boilerplate=`cat conftest.err` |
|
10739 |
$RM -r conftest* |
|
10740 |
||
10741 |
||
10742 |
## CAVEAT EMPTOR: |
|
10743 |
## There is no encapsulation within the following macros, do not change |
|
10744 |
## the running order or otherwise move them around unless you know exactly |
|
10745 |
## what you are doing... |
|
10746 |
if test -n "$compiler"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10747 |
|
10748 |
lt_prog_compiler_no_builtin_flag= |
|
10749 |
||
10750 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10751 |
case $cc_basename in |
10752 |
nvcc*) |
|
10753 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
|
10754 |
*) |
|
10755 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
|
10756 |
esac |
|
10757 |
||
10758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
10759 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
10760 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
|
10761 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10762 |
else |
10763 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10764 |
ac_outfile=conftest.$ac_objext |
10765 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10766 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
10767 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
10768 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
10769 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
10770 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
10771 |
# The option is referenced via a variable to avoid confusing sed. |
|
10772 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10773 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10774 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10775 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10776 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10777 |
(eval "$lt_compile" 2>conftest.err) |
10778 |
ac_status=$? |
|
10779 |
cat conftest.err >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10780 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10781 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
10782 |
# The compiler can only warn and ignore the option if not recognized |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10783 |
# So say no if there are warnings other than the usual output. |
10784 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
10785 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
10786 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10787 |
lt_cv_prog_compiler_rtti_exceptions=yes |
10788 |
fi |
|
10789 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10790 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10791 |
|
10792 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10793 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
10794 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10795 |
|
10796 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
10797 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
10798 |
else |
|
10799 |
: |
|
10800 |
fi |
|
10801 |
||
10802 |
fi |
|
10803 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10804 |
|
10805 |
||
10806 |
||
10807 |
||
10808 |
||
10809 |
lt_prog_compiler_wl= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10810 |
lt_prog_compiler_pic= |
10811 |
lt_prog_compiler_static= |
|
10812 |
||
10813 |
||
10814 |
if test "$GCC" = yes; then |
|
10815 |
lt_prog_compiler_wl='-Wl,' |
|
10816 |
lt_prog_compiler_static='-static' |
|
10817 |
||
10818 |
case $host_os in |
|
10819 |
aix*) |
|
10820 |
# All AIX code is PIC. |
|
10821 |
if test "$host_cpu" = ia64; then |
|
10822 |
# AIX 5 now supports IA64 processor |
|
10823 |
lt_prog_compiler_static='-Bstatic' |
|
10824 |
fi |
|
10825 |
;; |
|
10826 |
||
10827 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10828 |
case $host_cpu in |
10829 |
powerpc) |
|
10830 |
# see comment about AmigaOS4 .so support |
|
10831 |
lt_prog_compiler_pic='-fPIC' |
|
10832 |
;; |
|
10833 |
m68k) |
|
10834 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
10835 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
10836 |
# like `-m68040'. |
|
10837 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
10838 |
;; |
|
10839 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10840 |
;; |
10841 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10842 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10843 |
# PIC is the default for these OSes. |
10844 |
;; |
|
10845 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10846 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10847 |
# This hack is so that the source file can tell whether it is being |
10848 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10849 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
10850 |
# (--disable-auto-import) libraries |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10851 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
10852 |
;; |
|
10853 |
||
10854 |
darwin* | rhapsody*) |
|
10855 |
# PIC is the default on this platform |
|
10856 |
# Common symbols not allowed in MH_DYLIB files |
|
10857 |
lt_prog_compiler_pic='-fno-common' |
|
10858 |
;; |
|
10859 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10860 |
haiku*) |
10861 |
# PIC is the default for Haiku. |
|
10862 |
# The "-static" flag exists, but is broken. |
|
10863 |
lt_prog_compiler_static= |
|
10864 |
;; |
|
10865 |
||
10866 |
hpux*) |
|
10867 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
10868 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
10869 |
# sets the default TLS model and affects inlining. |
|
10870 |
case $host_cpu in |
|
10871 |
hppa*64*) |
|
10872 |
# +Z the default |
|
10873 |
;; |
|
10874 |
*) |
|
10875 |
lt_prog_compiler_pic='-fPIC' |
|
10876 |
;; |
|
10877 |
esac |
|
10878 |
;; |
|
10879 |
||
10880 |
interix[3-9]*) |
|
10881 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
10882 |
# Instead, we relocate shared libraries at runtime. |
|
10883 |
;; |
|
10884 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10885 |
msdosdjgpp*) |
10886 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
10887 |
# on systems that don't support them. |
|
10888 |
lt_prog_compiler_can_build_shared=no |
|
10889 |
enable_shared=no |
|
10890 |
;; |
|
10891 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10892 |
*nto* | *qnx*) |
10893 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
10894 |
# it will coredump. |
|
10895 |
lt_prog_compiler_pic='-fPIC -shared' |
|
10896 |
;; |
|
10897 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10898 |
sysv4*MP*) |
10899 |
if test -d /usr/nec; then |
|
10900 |
lt_prog_compiler_pic=-Kconform_pic |
|
10901 |
fi |
|
10902 |
;; |
|
10903 |
||
10904 |
*) |
|
10905 |
lt_prog_compiler_pic='-fPIC' |
|
10906 |
;; |
|
10907 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10908 |
|
10909 |
case $cc_basename in |
|
10910 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
10911 |
lt_prog_compiler_wl='-Xlinker ' |
|
10912 |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
|
10913 |
;; |
|
10914 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10915 |
else |
10916 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
10917 |
case $host_os in |
|
10918 |
aix*) |
|
10919 |
lt_prog_compiler_wl='-Wl,' |
|
10920 |
if test "$host_cpu" = ia64; then |
|
10921 |
# AIX 5 now supports IA64 processor |
|
10922 |
lt_prog_compiler_static='-Bstatic' |
|
10923 |
else |
|
10924 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
10925 |
fi |
|
10926 |
;; |
|
10927 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10928 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10929 |
# This hack is so that the source file can tell whether it is being |
10930 |
# built for inclusion in a dll (and should export symbols for example). |
|
10931 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
10932 |
;; |
|
10933 |
||
10934 |
hpux9* | hpux10* | hpux11*) |
|
10935 |
lt_prog_compiler_wl='-Wl,' |
|
10936 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
10937 |
# not for PA HP-UX. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10938 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10939 |
hppa*64*|ia64*) |
10940 |
# +Z the default |
|
10941 |
;; |
|
10942 |
*) |
|
10943 |
lt_prog_compiler_pic='+Z' |
|
10944 |
;; |
|
10945 |
esac |
|
10946 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
10947 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
10948 |
;; |
|
10949 |
||
10950 |
irix5* | irix6* | nonstopux*) |
|
10951 |
lt_prog_compiler_wl='-Wl,' |
|
10952 |
# PIC (with -KPIC) is the default. |
|
10953 |
lt_prog_compiler_static='-non_shared' |
|
10954 |
;; |
|
10955 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10956 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
10957 |
case $cc_basename in |
|
10958 |
# old Intel for x86_64 which still supported -KPIC. |
|
10959 |
ecc*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10960 |
lt_prog_compiler_wl='-Wl,' |
10961 |
lt_prog_compiler_pic='-KPIC' |
|
10962 |
lt_prog_compiler_static='-static' |
|
10963 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10964 |
# icc used to be incompatible with GCC. |
10965 |
# ICC 10 doesn't accept -KPIC any more. |
|
10966 |
icc* | ifort*) |
|
10967 |
lt_prog_compiler_wl='-Wl,' |
|
10968 |
lt_prog_compiler_pic='-fPIC' |
|
10969 |
lt_prog_compiler_static='-static' |
|
10970 |
;; |
|
10971 |
# Lahey Fortran 8.1. |
|
10972 |
lf95*) |
|
10973 |
lt_prog_compiler_wl='-Wl,' |
|
10974 |
lt_prog_compiler_pic='--shared' |
|
10975 |
lt_prog_compiler_static='--static' |
|
10976 |
;; |
|
10977 |
nagfor*) |
|
10978 |
# NAG Fortran compiler |
|
10979 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
10980 |
lt_prog_compiler_pic='-PIC' |
|
10981 |
lt_prog_compiler_static='-Bstatic' |
|
10982 |
;; |
|
10983 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
10984 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
10985 |
# which looks to be a dead project) |
|
10986 |
lt_prog_compiler_wl='-Wl,' |
|
10987 |
lt_prog_compiler_pic='-fpic' |
|
10988 |
lt_prog_compiler_static='-Bstatic' |
|
10989 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
10990 |
ccc*) |
10991 |
lt_prog_compiler_wl='-Wl,' |
|
10992 |
# All Alpha code is PIC. |
|
10993 |
lt_prog_compiler_static='-non_shared' |
|
10994 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
10995 |
xl* | bgxl* | bgf* | mpixl*) |
10996 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
10997 |
lt_prog_compiler_wl='-Wl,' |
|
10998 |
lt_prog_compiler_pic='-qpic' |
|
10999 |
lt_prog_compiler_static='-qstaticlink' |
|
11000 |
;; |
|
11001 |
*) |
|
11002 |
case `$CC -V 2>&1 | sed 5q` in |
|
11003 |
*Sun\ F* | *Sun*Fortran*) |
|
11004 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
11005 |
lt_prog_compiler_pic='-KPIC' |
|
11006 |
lt_prog_compiler_static='-Bstatic' |
|
11007 |
lt_prog_compiler_wl='' |
|
11008 |
;; |
|
11009 |
*Sun\ C*) |
|
11010 |
# Sun C 5.9 |
|
11011 |
lt_prog_compiler_pic='-KPIC' |
|
11012 |
lt_prog_compiler_static='-Bstatic' |
|
11013 |
lt_prog_compiler_wl='-Wl,' |
|
11014 |
;; |
|
11015 |
esac |
|
11016 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11017 |
esac |
11018 |
;; |
|
11019 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11020 |
newsos6) |
11021 |
lt_prog_compiler_pic='-KPIC' |
|
11022 |
lt_prog_compiler_static='-Bstatic' |
|
11023 |
;; |
|
11024 |
||
11025 |
*nto* | *qnx*) |
|
11026 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
11027 |
# it will coredump. |
|
11028 |
lt_prog_compiler_pic='-fPIC -shared' |
|
11029 |
;; |
|
11030 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11031 |
osf3* | osf4* | osf5*) |
11032 |
lt_prog_compiler_wl='-Wl,' |
|
11033 |
# All OSF/1 code is PIC. |
|
11034 |
lt_prog_compiler_static='-non_shared' |
|
11035 |
;; |
|
11036 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11037 |
rdos*) |
11038 |
lt_prog_compiler_static='-non_shared' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11039 |
;; |
11040 |
||
11041 |
solaris*) |
|
11042 |
lt_prog_compiler_pic='-KPIC' |
|
11043 |
lt_prog_compiler_static='-Bstatic' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11044 |
case $cc_basename in |
11045 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
|
11046 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
11047 |
*) |
|
11048 |
lt_prog_compiler_wl='-Wl,';; |
|
11049 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11050 |
;; |
11051 |
||
11052 |
sunos4*) |
|
11053 |
lt_prog_compiler_wl='-Qoption ld ' |
|
11054 |
lt_prog_compiler_pic='-PIC' |
|
11055 |
lt_prog_compiler_static='-Bstatic' |
|
11056 |
;; |
|
11057 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11058 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11059 |
lt_prog_compiler_wl='-Wl,' |
11060 |
lt_prog_compiler_pic='-KPIC' |
|
11061 |
lt_prog_compiler_static='-Bstatic' |
|
11062 |
;; |
|
11063 |
||
11064 |
sysv4*MP*) |
|
11065 |
if test -d /usr/nec ;then |
|
11066 |
lt_prog_compiler_pic='-Kconform_pic' |
|
11067 |
lt_prog_compiler_static='-Bstatic' |
|
11068 |
fi |
|
11069 |
;; |
|
11070 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11071 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
11072 |
lt_prog_compiler_wl='-Wl,' |
|
11073 |
lt_prog_compiler_pic='-KPIC' |
|
11074 |
lt_prog_compiler_static='-Bstatic' |
|
11075 |
;; |
|
11076 |
||
11077 |
unicos*) |
|
11078 |
lt_prog_compiler_wl='-Wl,' |
|
11079 |
lt_prog_compiler_can_build_shared=no |
|
11080 |
;; |
|
11081 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11082 |
uts4*) |
11083 |
lt_prog_compiler_pic='-pic' |
|
11084 |
lt_prog_compiler_static='-Bstatic' |
|
11085 |
;; |
|
11086 |
||
11087 |
*) |
|
11088 |
lt_prog_compiler_can_build_shared=no |
|
11089 |
;; |
|
11090 |
esac |
|
11091 |
fi |
|
11092 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11093 |
case $host_os in |
11094 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
11095 |
*djgpp*) |
|
11096 |
lt_prog_compiler_pic= |
|
11097 |
;; |
|
11098 |
*) |
|
11099 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
11100 |
;; |
|
11101 |
esac |
|
11102 |
||
11103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
11104 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
11105 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
11106 |
$as_echo_n "(cached) " >&6 |
|
11107 |
else |
|
11108 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
11109 |
fi |
|
11110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
11111 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
11112 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11113 |
|
11114 |
# |
|
11115 |
# Check to make sure the PIC flag actually works. |
|
11116 |
# |
|
11117 |
if test -n "$lt_prog_compiler_pic"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
11119 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
11120 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
|
11121 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11122 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11123 |
lt_cv_prog_compiler_pic_works=no |
11124 |
ac_outfile=conftest.$ac_objext |
|
11125 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11126 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
11127 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
11128 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
11129 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
11130 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
11131 |
# The option is referenced via a variable to avoid confusing sed. |
|
11132 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11133 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11134 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11135 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11136 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11137 |
(eval "$lt_compile" 2>conftest.err) |
11138 |
ac_status=$? |
|
11139 |
cat conftest.err >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11140 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11141 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11142 |
# The compiler can only warn and ignore the option if not recognized |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11143 |
# So say no if there are warnings other than the usual output. |
11144 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
11145 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
11146 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
11147 |
lt_cv_prog_compiler_pic_works=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11148 |
fi |
11149 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11150 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11151 |
|
11152 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11153 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
11154 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11155 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11156 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11157 |
case $lt_prog_compiler_pic in |
11158 |
"" | " "*) ;; |
|
11159 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
11160 |
esac |
|
11161 |
else |
|
11162 |
lt_prog_compiler_pic= |
|
11163 |
lt_prog_compiler_can_build_shared=no |
|
11164 |
fi |
|
11165 |
||
11166 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11167 |
|
11168 |
||
11169 |
||
11170 |
||
11171 |
||
11172 |
||
11173 |
||
11174 |
||
11175 |
||
11176 |
||
11177 |
||
11178 |
# |
|
11179 |
# Check to make sure the static flag actually works. |
|
11180 |
# |
|
11181 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
11182 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
11183 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
11184 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
|
11185 |
$as_echo_n "(cached) " >&6 |
|
11186 |
else |
|
11187 |
lt_cv_prog_compiler_static_works=no |
|
11188 |
save_LDFLAGS="$LDFLAGS" |
|
11189 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
11190 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
11191 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
11192 |
# The linker can only warn and ignore the option if not recognized |
|
11193 |
# So say no if there are warnings |
|
11194 |
if test -s conftest.err; then |
|
11195 |
# Append any errors to the config.log. |
|
11196 |
cat conftest.err 1>&5 |
|
11197 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
11198 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
11199 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
11200 |
lt_cv_prog_compiler_static_works=yes |
|
11201 |
fi |
|
11202 |
else |
|
11203 |
lt_cv_prog_compiler_static_works=yes |
|
11204 |
fi |
|
11205 |
fi |
|
11206 |
$RM -r conftest* |
|
11207 |
LDFLAGS="$save_LDFLAGS" |
|
11208 |
||
11209 |
fi |
|
11210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
|
11211 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
11212 |
||
11213 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
11214 |
: |
|
11215 |
else |
|
11216 |
lt_prog_compiler_static= |
|
11217 |
fi |
|
11218 |
||
11219 |
||
11220 |
||
11221 |
||
11222 |
||
11223 |
||
11224 |
||
11225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
11226 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
11227 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
11228 |
$as_echo_n "(cached) " >&6 |
|
11229 |
else |
|
11230 |
lt_cv_prog_compiler_c_o=no |
|
11231 |
$RM -r conftest 2>/dev/null |
|
11232 |
mkdir conftest |
|
11233 |
cd conftest |
|
11234 |
mkdir out |
|
11235 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
11236 |
||
11237 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
11238 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
11239 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
11240 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
11241 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
11242 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
11243 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
11244 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
11245 |
-e 's:$: $lt_compiler_flag:'` |
|
11246 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
11247 |
(eval "$lt_compile" 2>out/conftest.err) |
|
11248 |
ac_status=$? |
|
11249 |
cat out/conftest.err >&5 |
|
11250 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11251 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
11252 |
then |
|
11253 |
# The compiler can only warn and ignore the option if not recognized |
|
11254 |
# So say no if there are warnings |
|
11255 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
11256 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
11257 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
11258 |
lt_cv_prog_compiler_c_o=yes |
|
11259 |
fi |
|
11260 |
fi |
|
11261 |
chmod u+w . 2>&5 |
|
11262 |
$RM conftest* |
|
11263 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
11264 |
# template instantiation |
|
11265 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
11266 |
$RM out/* && rmdir out |
|
11267 |
cd .. |
|
11268 |
$RM -r conftest |
|
11269 |
$RM conftest* |
|
11270 |
||
11271 |
fi |
|
11272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
11273 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
11274 |
||
11275 |
||
11276 |
||
11277 |
||
11278 |
||
11279 |
||
11280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
11281 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
11282 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
11283 |
$as_echo_n "(cached) " >&6 |
|
11284 |
else |
|
11285 |
lt_cv_prog_compiler_c_o=no |
|
11286 |
$RM -r conftest 2>/dev/null |
|
11287 |
mkdir conftest |
|
11288 |
cd conftest |
|
11289 |
mkdir out |
|
11290 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
11291 |
||
11292 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
11293 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
11294 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
11295 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
11296 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
11297 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
11298 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
11299 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
11300 |
-e 's:$: $lt_compiler_flag:'` |
|
11301 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
11302 |
(eval "$lt_compile" 2>out/conftest.err) |
|
11303 |
ac_status=$? |
|
11304 |
cat out/conftest.err >&5 |
|
11305 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11306 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
11307 |
then |
|
11308 |
# The compiler can only warn and ignore the option if not recognized |
|
11309 |
# So say no if there are warnings |
|
11310 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
11311 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
11312 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
11313 |
lt_cv_prog_compiler_c_o=yes |
|
11314 |
fi |
|
11315 |
fi |
|
11316 |
chmod u+w . 2>&5 |
|
11317 |
$RM conftest* |
|
11318 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
11319 |
# template instantiation |
|
11320 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
11321 |
$RM out/* && rmdir out |
|
11322 |
cd .. |
|
11323 |
$RM -r conftest |
|
11324 |
$RM conftest* |
|
11325 |
||
11326 |
fi |
|
11327 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
11328 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
11329 |
||
11330 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11331 |
|
11332 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11333 |
hard_links="nottested" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11334 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11335 |
# do not overwrite the value of need_locks provided by the user |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
11337 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11338 |
hard_links=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11339 |
$RM conftest* |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11340 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11341 |
touch conftest.a |
|
11342 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
11343 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11344 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
11345 |
$as_echo "$hard_links" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11346 |
if test "$hard_links" = no; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
11348 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11349 |
need_locks=warn |
11350 |
fi |
|
11351 |
else |
|
11352 |
need_locks=no |
|
11353 |
fi |
|
11354 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11355 |
|
11356 |
||
11357 |
||
11358 |
||
11359 |
||
11360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
11361 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11362 |
|
11363 |
runpath_var= |
|
11364 |
allow_undefined_flag= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11365 |
always_export_symbols=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11366 |
archive_cmds= |
11367 |
archive_expsym_cmds= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11368 |
compiler_needs_object=no |
11369 |
enable_shared_with_static_runtimes=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11370 |
export_dynamic_flag_spec= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11371 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11372 |
hardcode_automatic=no |
|
11373 |
hardcode_direct=no |
|
11374 |
hardcode_direct_absolute=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11375 |
hardcode_libdir_flag_spec= |
11376 |
hardcode_libdir_flag_spec_ld= |
|
11377 |
hardcode_libdir_separator= |
|
11378 |
hardcode_minus_L=no |
|
11379 |
hardcode_shlibpath_var=unsupported |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11380 |
inherit_rpath=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11381 |
link_all_deplibs=unknown |
11382 |
module_cmds= |
|
11383 |
module_expsym_cmds= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11384 |
old_archive_from_new_cmds= |
11385 |
old_archive_from_expsyms_cmds= |
|
11386 |
thread_safe_flag_spec= |
|
11387 |
whole_archive_flag_spec= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11388 |
# include_expsyms should be a list of space-separated symbols to be *always* |
11389 |
# included in the symbol list |
|
11390 |
include_expsyms= |
|
11391 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
11392 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
11393 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
11394 |
# as well as any symbol that contains `d'. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11395 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11396 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
11397 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
11398 |
# the symbol is explicitly referenced. Since portable code cannot |
|
11399 |
# rely on this symbol name, it's probably fine to never include it in |
|
11400 |
# preloaded symbol tables. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11401 |
# Exclude shared library initialization/finalization symbols. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11402 |
extract_expsyms_cmds= |
11403 |
||
11404 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11405 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11406 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
11407 |
# When not using gcc, we currently assume that we are using |
|
11408 |
# Microsoft Visual C++. |
|
11409 |
if test "$GCC" != yes; then |
|
11410 |
with_gnu_ld=no |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11411 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11412 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11413 |
interix*) |
11414 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
11415 |
with_gnu_ld=yes |
|
11416 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11417 |
openbsd*) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11418 |
with_gnu_ld=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11419 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11420 |
linux* | k*bsd*-gnu | gnu*) |
11421 |
link_all_deplibs=no |
|
11422 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11423 |
esac |
11424 |
||
11425 |
ld_shlibs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11426 |
|
11427 |
# On some targets, GNU ld is compatible enough with the native linker |
|
11428 |
# that we're better off using the native interface for both. |
|
11429 |
lt_use_gnu_ld_interface=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11430 |
if test "$with_gnu_ld" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11431 |
case $host_os in |
11432 |
aix*) |
|
11433 |
# The AIX port of GNU ld has always aspired to compatibility |
|
11434 |
# with the native linker. However, as the warning in the GNU ld |
|
11435 |
# block says, versions before 2.19.5* couldn't really create working |
|
11436 |
# shared libraries, regardless of the interface used. |
|
11437 |
case `$LD -v 2>&1` in |
|
11438 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
11439 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
11440 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
11441 |
*) |
|
11442 |
lt_use_gnu_ld_interface=yes |
|
11443 |
;; |
|
11444 |
esac |
|
11445 |
;; |
|
11446 |
*) |
|
11447 |
lt_use_gnu_ld_interface=yes |
|
11448 |
;; |
|
11449 |
esac |
|
11450 |
fi |
|
11451 |
||
11452 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11453 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
11454 |
wlarc='${wl}' |
|
11455 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11456 |
# Set some defaults for GNU ld with shared library support. These |
11457 |
# are reset later if shared libraries are not supported. Putting them |
|
11458 |
# here allows them to be overridden if necessary. |
|
11459 |
runpath_var=LD_RUN_PATH |
|
11460 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
11461 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
11462 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
11463 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
11464 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
11465 |
else |
|
11466 |
whole_archive_flag_spec= |
|
11467 |
fi |
|
11468 |
supports_anon_versioning=no |
|
11469 |
case `$LD -v 2>&1` in |
|
11470 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
11471 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
11472 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
11473 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
11474 |
*\ 2.11.*) ;; # other 2.11 versions |
|
11475 |
*) supports_anon_versioning=yes ;; |
|
11476 |
esac |
|
11477 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11478 |
# See if GNU ld supports shared libraries. |
11479 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11480 |
aix[3-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11481 |
# On AIX/PPC, the GNU linker is very broken |
11482 |
if test "$host_cpu" != ia64; then |
|
11483 |
ld_shlibs=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11484 |
cat <<_LT_EOF 1>&2 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11485 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11486 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11487 |
*** to be unable to reliably create shared libraries on AIX. |
11488 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11489 |
*** really care for shared libraries, you may want to install binutils |
11490 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
11491 |
*** You will then need to restart the configuration process. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11492 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11493 |
_LT_EOF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11494 |
fi |
11495 |
;; |
|
11496 |
||
11497 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11498 |
case $host_cpu in |
11499 |
powerpc) |
|
11500 |
# see comment about AmigaOS4 .so support |
|
11501 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11502 |
archive_expsym_cmds='' |
|
11503 |
;; |
|
11504 |
m68k) |
|
11505 |
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)' |
|
11506 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11507 |
hardcode_minus_L=yes |
|
11508 |
;; |
|
11509 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11510 |
;; |
11511 |
||
11512 |
beos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11513 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11514 |
allow_undefined_flag=unsupported |
11515 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
11516 |
# support --undefined. This deserves some investigation. FIXME |
|
11517 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11518 |
else |
|
11519 |
ld_shlibs=no |
|
11520 |
fi |
|
11521 |
;; |
|
11522 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11523 |
cygwin* | mingw* | pw32* | cegcc*) |
11524 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11525 |
# as there is no search path for DLLs. |
11526 |
hardcode_libdir_flag_spec='-L$libdir' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11527 |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11528 |
allow_undefined_flag=unsupported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11529 |
always_export_symbols=no |
11530 |
enable_shared_with_static_runtimes=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11531 |
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' |
11532 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11533 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11534 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
11535 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11536 |
# If the export-symbols file already is a .def file (1st line |
11537 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
11538 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
11539 |
cp $export_symbols $output_objdir/$soname.def; |
|
11540 |
else |
|
11541 |
echo EXPORTS > $output_objdir/$soname.def; |
|
11542 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
11543 |
fi~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11544 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11545 |
else |
11546 |
ld_shlibs=no |
|
11547 |
fi |
|
11548 |
;; |
|
11549 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11550 |
haiku*) |
11551 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11552 |
link_all_deplibs=yes |
|
11553 |
;; |
|
11554 |
||
11555 |
interix[3-9]*) |
|
11556 |
hardcode_direct=no |
|
11557 |
hardcode_shlibpath_var=no |
|
11558 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
11559 |
export_dynamic_flag_spec='${wl}-E' |
|
11560 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
11561 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
11562 |
# default) and relocated if they conflict, which is a slow very memory |
|
11563 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
11564 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
11565 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
11566 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
11567 |
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' |
|
11568 |
;; |
|
11569 |
||
11570 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
11571 |
tmp_diet=no |
|
11572 |
if test "$host_os" = linux-dietlibc; then |
|
11573 |
case $cc_basename in |
|
11574 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
11575 |
esac |
|
11576 |
fi |
|
11577 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
11578 |
&& test "$tmp_diet" = no |
|
11579 |
then |
|
11580 |
tmp_addflag=' $pic_flag' |
|
11581 |
tmp_sharedflag='-shared' |
|
11582 |
case $cc_basename,$host_cpu in |
|
11583 |
pgcc*) # Portland Group C compiler |
|
11584 |
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' |
|
11585 |
tmp_addflag=' $pic_flag' |
|
11586 |
;; |
|
11587 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
|
11588 |
# Portland Group f77 and f90 compilers |
|
11589 |
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' |
|
11590 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
11591 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
11592 |
tmp_addflag=' -i_dynamic' ;; |
|
11593 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
11594 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
11595 |
ifc* | ifort*) # Intel Fortran compiler |
|
11596 |
tmp_addflag=' -nofor_main' ;; |
|
11597 |
lf95*) # Lahey Fortran 8.1 |
|
11598 |
whole_archive_flag_spec= |
|
11599 |
tmp_sharedflag='--shared' ;; |
|
11600 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
11601 |
tmp_sharedflag='-qmkshrobj' |
|
11602 |
tmp_addflag= ;; |
|
11603 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
11604 |
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' |
|
11605 |
compiler_needs_object=yes |
|
11606 |
;; |
|
11607 |
esac |
|
11608 |
case `$CC -V 2>&1 | sed 5q` in |
|
11609 |
*Sun\ C*) # Sun C 5.9 |
|
11610 |
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' |
|
11611 |
compiler_needs_object=yes |
|
11612 |
tmp_sharedflag='-G' ;; |
|
11613 |
*Sun\ F*) # Sun Fortran 8.3 |
|
11614 |
tmp_sharedflag='-G' ;; |
|
11615 |
esac |
|
11616 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11617 |
||
11618 |
if test "x$supports_anon_versioning" = xyes; then |
|
11619 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
11620 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
11621 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
11622 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
11623 |
fi |
|
11624 |
||
11625 |
case $cc_basename in |
|
11626 |
xlf* | bgf* | bgxlf* | mpixlf*) |
|
11627 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
11628 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
11629 |
hardcode_libdir_flag_spec= |
|
11630 |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
|
11631 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
11632 |
if test "x$supports_anon_versioning" = xyes; then |
|
11633 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
11634 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
11635 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
11636 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
11637 |
fi |
|
11638 |
;; |
|
11639 |
esac |
|
11640 |
else |
|
11641 |
ld_shlibs=no |
|
11642 |
fi |
|
11643 |
;; |
|
11644 |
||
11645 |
netbsd* | netbsdelf*-gnu) |
|
11646 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11647 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
11648 |
wlarc= |
|
11649 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11650 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11651 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11652 |
fi |
11653 |
;; |
|
11654 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11655 |
solaris*) |
11656 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11657 |
ld_shlibs=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11658 |
cat <<_LT_EOF 1>&2 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11659 |
|
11660 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
11661 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
11662 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
11663 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
11664 |
*** your PATH or compiler configuration so that the native linker is |
|
11665 |
*** used, and then restart. |
|
11666 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11667 |
_LT_EOF |
11668 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
11669 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11670 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11671 |
else |
11672 |
ld_shlibs=no |
|
11673 |
fi |
|
11674 |
;; |
|
11675 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11676 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
11677 |
case `$LD -v 2>&1` in |
|
11678 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
11679 |
ld_shlibs=no |
|
11680 |
cat <<_LT_EOF 1>&2 |
|
11681 |
||
11682 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
11683 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
11684 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
11685 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
11686 |
*** your PATH or compiler configuration so that the native linker is |
|
11687 |
*** used, and then restart. |
|
11688 |
||
11689 |
_LT_EOF |
|
11690 |
;; |
|
11691 |
*) |
|
11692 |
# For security reasons, it is highly recommended that you always |
|
11693 |
# use absolute paths for naming shared libraries, and exclude the |
|
11694 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
11695 |
# requires that you compile everything twice, which is a pain. |
|
11696 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
11697 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
11698 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11699 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11700 |
else |
|
11701 |
ld_shlibs=no |
|
11702 |
fi |
|
11703 |
;; |
|
11704 |
esac |
|
11705 |
;; |
|
11706 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11707 |
sunos4*) |
11708 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
11709 |
wlarc= |
|
11710 |
hardcode_direct=yes |
|
11711 |
hardcode_shlibpath_var=no |
|
11712 |
;; |
|
11713 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11714 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11715 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
11716 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11717 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11718 |
else |
11719 |
ld_shlibs=no |
|
11720 |
fi |
|
11721 |
;; |
|
11722 |
esac |
|
11723 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11724 |
if test "$ld_shlibs" = no; then |
11725 |
runpath_var= |
|
11726 |
hardcode_libdir_flag_spec= |
|
11727 |
export_dynamic_flag_spec= |
|
11728 |
whole_archive_flag_spec= |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
11729 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11730 |
else |
11731 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
11732 |
case $host_os in |
|
11733 |
aix3*) |
|
11734 |
allow_undefined_flag=unsupported |
|
11735 |
always_export_symbols=yes |
|
11736 |
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' |
|
11737 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
11738 |
# are no directories specified by -L. |
|
11739 |
hardcode_minus_L=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11740 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11741 |
# Neither direct hardcoding nor static linking is supported with a |
11742 |
# broken collect2. |
|
11743 |
hardcode_direct=unsupported |
|
11744 |
fi |
|
11745 |
;; |
|
11746 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11747 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11748 |
if test "$host_cpu" = ia64; then |
11749 |
# On IA64, the linker does run time linking by default, so we don't |
|
11750 |
# have to do anything special. |
|
11751 |
aix_use_runtimelinking=no |
|
11752 |
exp_sym_flag='-Bexport' |
|
11753 |
no_entry_flag="" |
|
11754 |
else |
|
11755 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
11756 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11757 |
# Also, AIX nm treats weak defined symbols like other global |
11758 |
# defined symbols, whereas GNU nm marks them as "W". |
|
11759 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
11760 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11761 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11762 |
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' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11763 |
fi |
11764 |
aix_use_runtimelinking=no |
|
11765 |
||
11766 |
# Test if we are trying to use run time linking or normal |
|
11767 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
11768 |
# need to do runtime linking. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11769 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11770 |
for ld_flag in $LDFLAGS; do |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11771 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
11772 |
aix_use_runtimelinking=yes |
|
11773 |
break |
|
11774 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11775 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11776 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11777 |
esac |
11778 |
||
11779 |
exp_sym_flag='-bexport' |
|
11780 |
no_entry_flag='-bnoentry' |
|
11781 |
fi |
|
11782 |
||
11783 |
# When large executables or shared objects are built, AIX ld can |
|
11784 |
# have problems creating the table of contents. If linking a library |
|
11785 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
11786 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
11787 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
11788 |
||
11789 |
archive_cmds='' |
|
11790 |
hardcode_direct=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11791 |
hardcode_direct_absolute=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11792 |
hardcode_libdir_separator=':' |
11793 |
link_all_deplibs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11794 |
file_list_spec='${wl}-f,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11795 |
|
11796 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11797 |
case $host_os in aix4.[012]|aix4.[012].*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11798 |
# We only want to do this on AIX 4.2 and lower, the check |
11799 |
# below for broken collect2 doesn't work under 4.3+ |
|
11800 |
collect2name=`${CC} -print-prog-name=collect2` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11801 |
if test -f "$collect2name" && |
11802 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11803 |
then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11804 |
# We have reworked collect2 |
11805 |
: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11806 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11807 |
# We have old collect2 |
11808 |
hardcode_direct=unsupported |
|
11809 |
# It fails to find uninstalled libraries when the uninstalled |
|
11810 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
11811 |
# to unsupported forces relinking |
|
11812 |
hardcode_minus_L=yes |
|
11813 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11814 |
hardcode_libdir_separator= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11815 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11816 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11817 |
esac |
11818 |
shared_flag='-shared' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11819 |
if test "$aix_use_runtimelinking" = yes; then |
11820 |
shared_flag="$shared_flag "'${wl}-G' |
|
11821 |
fi |
|
11822 |
link_all_deplibs=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11823 |
else |
11824 |
# not using gcc |
|
11825 |
if test "$host_cpu" = ia64; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11826 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
11827 |
# chokes on -Wl,-G. The following line is correct: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11828 |
shared_flag='-G' |
11829 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11830 |
if test "$aix_use_runtimelinking" = yes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11831 |
shared_flag='${wl}-G' |
11832 |
else |
|
11833 |
shared_flag='${wl}-bM:SRE' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11834 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11835 |
fi |
11836 |
fi |
|
11837 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11838 |
export_dynamic_flag_spec='${wl}-bexpall' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11839 |
# It seems that -bexpall does not export symbols beginning with |
11840 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
11841 |
always_export_symbols=yes |
|
11842 |
if test "$aix_use_runtimelinking" = yes; then |
|
11843 |
# Warning - without using the other runtime loading flags (-brtl), |
|
11844 |
# -berok will link without error, but may produce a broken library. |
|
11845 |
allow_undefined_flag='-berok' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11846 |
# Determine the default libpath from the value encoded in an |
11847 |
# empty executable. |
|
11848 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
11849 |
aix_libpath=$lt_cv_aix_libpath |
|
11850 |
else |
|
11851 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
11852 |
$as_echo_n "(cached) " >&6 |
|
11853 |
else |
|
11854 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11855 |
/* end confdefs.h. */ |
11856 |
||
11857 |
int |
|
11858 |
main () |
|
11859 |
{ |
|
11860 |
||
11861 |
; |
|
11862 |
return 0; |
|
11863 |
} |
|
11864 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11865 |
if ac_fn_c_try_link "$LINENO"; then : |
11866 |
||
11867 |
lt_aix_libpath_sed=' |
|
11868 |
/Import File Strings/,/^$/ { |
|
11869 |
/^0/ { |
|
11870 |
s/^0 *\([^ ]*\) *$/\1/ |
|
11871 |
p |
|
11872 |
} |
|
11873 |
}' |
|
11874 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11875 |
# Check for a 64-bit object if we didn't find anything. |
|
11876 |
if test -z "$lt_cv_aix_libpath_"; then |
|
11877 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11878 |
fi |
|
11879 |
fi |
|
11880 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11881 |
conftest$ac_exeext conftest.$ac_ext |
|
11882 |
if test -z "$lt_cv_aix_libpath_"; then |
|
11883 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
11884 |
fi |
|
11885 |
||
11886 |
fi |
|
11887 |
||
11888 |
aix_libpath=$lt_cv_aix_libpath_ |
|
11889 |
fi |
|
11890 |
||
11891 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11892 |
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" |
|
11893 |
else |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11894 |
if test "$host_cpu" = ia64; then |
11895 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
11896 |
allow_undefined_flag="-z nodefs" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11897 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11898 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11899 |
# Determine the default libpath from the value encoded in an |
11900 |
# empty executable. |
|
11901 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
11902 |
aix_libpath=$lt_cv_aix_libpath |
|
11903 |
else |
|
11904 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
11905 |
$as_echo_n "(cached) " >&6 |
|
11906 |
else |
|
11907 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11908 |
/* end confdefs.h. */ |
11909 |
||
11910 |
int |
|
11911 |
main () |
|
11912 |
{ |
|
11913 |
||
11914 |
; |
|
11915 |
return 0; |
|
11916 |
} |
|
11917 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11918 |
if ac_fn_c_try_link "$LINENO"; then : |
11919 |
||
11920 |
lt_aix_libpath_sed=' |
|
11921 |
/Import File Strings/,/^$/ { |
|
11922 |
/^0/ { |
|
11923 |
s/^0 *\([^ ]*\) *$/\1/ |
|
11924 |
p |
|
11925 |
} |
|
11926 |
}' |
|
11927 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11928 |
# Check for a 64-bit object if we didn't find anything. |
|
11929 |
if test -z "$lt_cv_aix_libpath_"; then |
|
11930 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11931 |
fi |
|
11932 |
fi |
|
11933 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11934 |
conftest$ac_exeext conftest.$ac_ext |
|
11935 |
if test -z "$lt_cv_aix_libpath_"; then |
|
11936 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
11937 |
fi |
|
11938 |
||
11939 |
fi |
|
11940 |
||
11941 |
aix_libpath=$lt_cv_aix_libpath_ |
|
11942 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11943 |
|
11944 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11945 |
# Warning - without using the other run time loading flags, |
|
11946 |
# -berok will link without error, but may produce a broken library. |
|
11947 |
no_undefined_flag=' ${wl}-bernotok' |
|
11948 |
allow_undefined_flag=' ${wl}-berok' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11949 |
if test "$with_gnu_ld" = yes; then |
11950 |
# We only use this code for GNU lds that support --whole-archive. |
|
11951 |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
11952 |
else |
|
11953 |
# Exported symbols can be pulled into shared objects from archives |
|
11954 |
whole_archive_flag_spec='$convenience' |
|
11955 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11956 |
archive_cmds_need_lc=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11957 |
# This is similar to how AIX traditionally builds its shared libraries. |
11958 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11959 |
fi |
11960 |
fi |
|
11961 |
;; |
|
11962 |
||
11963 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11964 |
case $host_cpu in |
11965 |
powerpc) |
|
11966 |
# see comment about AmigaOS4 .so support |
|
11967 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11968 |
archive_expsym_cmds='' |
|
11969 |
;; |
|
11970 |
m68k) |
|
11971 |
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)' |
|
11972 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11973 |
hardcode_minus_L=yes |
|
11974 |
;; |
|
11975 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11976 |
;; |
11977 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11978 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11979 |
export_dynamic_flag_spec=-rdynamic |
11980 |
;; |
|
11981 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11982 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
11983 |
# When not using gcc, we currently assume that we are using |
11984 |
# Microsoft Visual C++. |
|
11985 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
11986 |
# no search path for DLLs. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
11987 |
case $cc_basename in |
11988 |
cl*) |
|
11989 |
# Native MSVC |
|
11990 |
hardcode_libdir_flag_spec=' ' |
|
11991 |
allow_undefined_flag=unsupported |
|
11992 |
always_export_symbols=yes |
|
11993 |
file_list_spec='@' |
|
11994 |
# Tell ltmain to make .lib files, not .a files. |
|
11995 |
libext=lib |
|
11996 |
# Tell ltmain to make .dll files, not .so files. |
|
11997 |
shrext_cmds=".dll" |
|
11998 |
# FIXME: Setting linknames here is a bad hack. |
|
11999 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
12000 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
12001 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
12002 |
else |
|
12003 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
12004 |
fi~ |
|
12005 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
12006 |
linknames=' |
|
12007 |
# The linker will not automatically build a static lib if we build a DLL. |
|
12008 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
|
12009 |
enable_shared_with_static_runtimes=yes |
|
12010 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
12011 |
# Don't use ranlib |
|
12012 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
12013 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
|
12014 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
12015 |
case $lt_outputfile in |
|
12016 |
*.exe|*.EXE) ;; |
|
12017 |
*) |
|
12018 |
lt_outputfile="$lt_outputfile.exe" |
|
12019 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
12020 |
;; |
|
12021 |
esac~ |
|
12022 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
12023 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
12024 |
$RM "$lt_outputfile.manifest"; |
|
12025 |
fi' |
|
12026 |
;; |
|
12027 |
*) |
|
12028 |
# Assume MSVC wrapper |
|
12029 |
hardcode_libdir_flag_spec=' ' |
|
12030 |
allow_undefined_flag=unsupported |
|
12031 |
# Tell ltmain to make .lib files, not .a files. |
|
12032 |
libext=lib |
|
12033 |
# Tell ltmain to make .dll files, not .so files. |
|
12034 |
shrext_cmds=".dll" |
|
12035 |
# FIXME: Setting linknames here is a bad hack. |
|
12036 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
12037 |
# The linker will automatically build a .lib file if we build a DLL. |
|
12038 |
old_archive_from_new_cmds='true' |
|
12039 |
# FIXME: Should let the user specify the lib program. |
|
12040 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
12041 |
enable_shared_with_static_runtimes=yes |
|
12042 |
;; |
|
12043 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12044 |
;; |
12045 |
||
12046 |
darwin* | rhapsody*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12047 |
|
12048 |
||
12049 |
archive_cmds_need_lc=no |
|
12050 |
hardcode_direct=no |
|
12051 |
hardcode_automatic=yes |
|
12052 |
hardcode_shlibpath_var=unsupported |
|
12053 |
if test "$lt_cv_ld_force_load" = "yes"; then |
|
12054 |
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\"`' |
|
12055 |
else |
|
12056 |
whole_archive_flag_spec='' |
|
12057 |
fi |
|
12058 |
link_all_deplibs=yes |
|
12059 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
12060 |
case $cc_basename in |
|
12061 |
ifort*) _lt_dar_can_shared=yes ;; |
|
12062 |
*) _lt_dar_can_shared=$GCC ;; |
|
12063 |
esac |
|
12064 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
12065 |
output_verbose_link_cmd=func_echo_all |
|
12066 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
12067 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
12068 |
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}" |
|
12069 |
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}" |
|
12070 |
||
12071 |
else |
|
12072 |
ld_shlibs=no |
|
12073 |
fi |
|
12074 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12075 |
;; |
12076 |
||
12077 |
dgux*) |
|
12078 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12079 |
hardcode_libdir_flag_spec='-L$libdir' |
|
12080 |
hardcode_shlibpath_var=no |
|
12081 |
;; |
|
12082 |
||
12083 |
freebsd1*) |
|
12084 |
ld_shlibs=no |
|
12085 |
;; |
|
12086 |
||
12087 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
12088 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
12089 |
# does not break anything, and helps significantly (at the cost of a little |
|
12090 |
# extra space). |
|
12091 |
freebsd2.2*) |
|
12092 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
12093 |
hardcode_libdir_flag_spec='-R$libdir' |
|
12094 |
hardcode_direct=yes |
|
12095 |
hardcode_shlibpath_var=no |
|
12096 |
;; |
|
12097 |
||
12098 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
12099 |
freebsd2*) |
|
12100 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
12101 |
hardcode_direct=yes |
|
12102 |
hardcode_minus_L=yes |
|
12103 |
hardcode_shlibpath_var=no |
|
12104 |
;; |
|
12105 |
||
12106 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12107 |
freebsd* | dragonfly*) |
12108 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12109 |
hardcode_libdir_flag_spec='-R$libdir' |
12110 |
hardcode_direct=yes |
|
12111 |
hardcode_shlibpath_var=no |
|
12112 |
;; |
|
12113 |
||
12114 |
hpux9*) |
|
12115 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12116 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12117 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12118 |
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' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12119 |
fi |
12120 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
12121 |
hardcode_libdir_separator=: |
|
12122 |
hardcode_direct=yes |
|
12123 |
||
12124 |
# hardcode_minus_L: Not really in the search PATH, |
|
12125 |
# but as the default location of the library. |
|
12126 |
hardcode_minus_L=yes |
|
12127 |
export_dynamic_flag_spec='${wl}-E' |
|
12128 |
;; |
|
12129 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12130 |
hpux10*) |
12131 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
12132 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
12133 |
else |
|
12134 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
12135 |
fi |
|
12136 |
if test "$with_gnu_ld" = no; then |
|
12137 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
12138 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
|
12139 |
hardcode_libdir_separator=: |
|
12140 |
hardcode_direct=yes |
|
12141 |
hardcode_direct_absolute=yes |
|
12142 |
export_dynamic_flag_spec='${wl}-E' |
|
12143 |
# hardcode_minus_L: Not really in the search PATH, |
|
12144 |
# but as the default location of the library. |
|
12145 |
hardcode_minus_L=yes |
|
12146 |
fi |
|
12147 |
;; |
|
12148 |
||
12149 |
hpux11*) |
|
12150 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
12151 |
case $host_cpu in |
|
12152 |
hppa*64*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12153 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
12154 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12155 |
ia64*) |
12156 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
12157 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12158 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12159 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12160 |
;; |
12161 |
esac |
|
12162 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12163 |
case $host_cpu in |
12164 |
hppa*64*) |
|
12165 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12166 |
;; |
|
12167 |
ia64*) |
|
12168 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12169 |
;; |
12170 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12171 |
|
12172 |
# Older versions of the 11.00 compiler do not understand -b yet |
|
12173 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
|
12174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
|
12175 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
|
12176 |
if ${lt_cv_prog_compiler__b+:} false; then : |
|
12177 |
$as_echo_n "(cached) " >&6 |
|
12178 |
else |
|
12179 |
lt_cv_prog_compiler__b=no |
|
12180 |
save_LDFLAGS="$LDFLAGS" |
|
12181 |
LDFLAGS="$LDFLAGS -b" |
|
12182 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
12183 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
12184 |
# The linker can only warn and ignore the option if not recognized |
|
12185 |
# So say no if there are warnings |
|
12186 |
if test -s conftest.err; then |
|
12187 |
# Append any errors to the config.log. |
|
12188 |
cat conftest.err 1>&5 |
|
12189 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
12190 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
12191 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
12192 |
lt_cv_prog_compiler__b=yes |
|
12193 |
fi |
|
12194 |
else |
|
12195 |
lt_cv_prog_compiler__b=yes |
|
12196 |
fi |
|
12197 |
fi |
|
12198 |
$RM -r conftest* |
|
12199 |
LDFLAGS="$save_LDFLAGS" |
|
12200 |
||
12201 |
fi |
|
12202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
|
12203 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
12204 |
||
12205 |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
|
12206 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
12207 |
else |
|
12208 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
12209 |
fi |
|
12210 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12211 |
;; |
12212 |
esac |
|
12213 |
fi |
|
12214 |
if test "$with_gnu_ld" = no; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12215 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
12216 |
hardcode_libdir_separator=: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12217 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12218 |
case $host_cpu in |
12219 |
hppa*64*|ia64*) |
|
12220 |
hardcode_direct=no |
|
12221 |
hardcode_shlibpath_var=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12222 |
;; |
12223 |
*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
12224 |
hardcode_direct=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12225 |
hardcode_direct_absolute=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12226 |
export_dynamic_flag_spec='${wl}-E' |
12227 |
||
12228 |
# hardcode_minus_L: Not really in the search PATH, |
|
12229 |
# but as the default location of the library. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
12230 |
hardcode_minus_L=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12231 |
;; |
12232 |
esac |
|
12233 |
fi |
|
12234 |
;; |
|
12235 |
||
12236 |
irix5* | irix6* | nonstopux*) |
|
12237 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12238 |
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' |
12239 |
# Try to use the -exported_symbol ld option, if it does not |
|
12240 |
# work, assume that -exports_file does not work either and |
|
12241 |
# implicitly export all symbols. |
|
12242 |
# This should be the same for all languages, so no per-tag cache variable. |
|
12243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
12244 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
12245 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
12246 |
$as_echo_n "(cached) " >&6 |
|
12247 |
else |
|
12248 |
save_LDFLAGS="$LDFLAGS" |
|
12249 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
12250 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12251 |
/* end confdefs.h. */ |
|
12252 |
int foo (void) { return 0; } |
|
12253 |
_ACEOF |
|
12254 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12255 |
lt_cv_irix_exported_symbol=yes |
|
12256 |
else |
|
12257 |
lt_cv_irix_exported_symbol=no |
|
12258 |
fi |
|
12259 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12260 |
conftest$ac_exeext conftest.$ac_ext |
|
12261 |
LDFLAGS="$save_LDFLAGS" |
|
12262 |
fi |
|
12263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
12264 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
12265 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
12266 |
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' |
|
12267 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12268 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12269 |
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' |
12270 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12271 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12272 |
archive_cmds_need_lc='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12273 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
12274 |
hardcode_libdir_separator=: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12275 |
inherit_rpath=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12276 |
link_all_deplibs=yes |
12277 |
;; |
|
12278 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12279 |
netbsd* | netbsdelf*-gnu) |
12280 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12281 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
12282 |
else |
|
12283 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
12284 |
fi |
|
12285 |
hardcode_libdir_flag_spec='-R$libdir' |
|
12286 |
hardcode_direct=yes |
|
12287 |
hardcode_shlibpath_var=no |
|
12288 |
;; |
|
12289 |
||
12290 |
newsos6) |
|
12291 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12292 |
hardcode_direct=yes |
|
12293 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
12294 |
hardcode_libdir_separator=: |
|
12295 |
hardcode_shlibpath_var=no |
|
12296 |
;; |
|
12297 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12298 |
*nto* | *qnx*) |
12299 |
;; |
|
12300 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12301 |
openbsd*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12302 |
if test -f /usr/libexec/ld.so; then |
12303 |
hardcode_direct=yes |
|
12304 |
hardcode_shlibpath_var=no |
|
12305 |
hardcode_direct_absolute=yes |
|
12306 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
12307 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
12308 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
12309 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
12310 |
export_dynamic_flag_spec='${wl}-E' |
|
12311 |
else |
|
12312 |
case $host_os in |
|
12313 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
12314 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
12315 |
hardcode_libdir_flag_spec='-R$libdir' |
|
12316 |
;; |
|
12317 |
*) |
|
12318 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
12319 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
12320 |
;; |
|
12321 |
esac |
|
12322 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12323 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12324 |
ld_shlibs=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12325 |
fi |
12326 |
;; |
|
12327 |
||
12328 |
os2*) |
|
12329 |
hardcode_libdir_flag_spec='-L$libdir' |
|
12330 |
hardcode_minus_L=yes |
|
12331 |
allow_undefined_flag=unsupported |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12332 |
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' |
12333 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12334 |
;; |
12335 |
||
12336 |
osf3*) |
|
12337 |
if test "$GCC" = yes; then |
|
12338 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12339 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12340 |
else |
12341 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12342 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12343 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12344 |
archive_cmds_need_lc='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12345 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
12346 |
hardcode_libdir_separator=: |
|
12347 |
;; |
|
12348 |
||
12349 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
12350 |
if test "$GCC" = yes; then |
|
12351 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12352 |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12353 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
12354 |
else |
|
12355 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12356 |
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' |
12357 |
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~ |
|
12358 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12359 |
|
12360 |
# Both c and cxx compiler support -rpath directly |
|
12361 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
12362 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12363 |
archive_cmds_need_lc='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12364 |
hardcode_libdir_separator=: |
12365 |
;; |
|
12366 |
||
12367 |
solaris*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12368 |
no_undefined_flag=' -z defs' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12369 |
if test "$GCC" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12370 |
wlarc='${wl}' |
12371 |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12372 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
12373 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12374 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12375 |
case `$CC -V 2>&1` in |
12376 |
*"Compilers 5.0"*) |
|
12377 |
wlarc='' |
|
12378 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12379 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
12380 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
12381 |
;; |
|
12382 |
*) |
|
12383 |
wlarc='${wl}' |
|
12384 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12385 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
12386 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
12387 |
;; |
|
12388 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12389 |
fi |
12390 |
hardcode_libdir_flag_spec='-R$libdir' |
|
12391 |
hardcode_shlibpath_var=no |
|
12392 |
case $host_os in |
|
12393 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12394 |
*) |
12395 |
# The compiler driver will combine and reorder linker options, |
|
12396 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
12397 |
# but is careful enough not to reorder. |
|
12398 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
12399 |
if test "$GCC" = yes; then |
|
12400 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
12401 |
else |
|
12402 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
12403 |
fi |
|
12404 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12405 |
esac |
12406 |
link_all_deplibs=yes |
|
12407 |
;; |
|
12408 |
||
12409 |
sunos4*) |
|
12410 |
if test "x$host_vendor" = xsequent; then |
|
12411 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
12412 |
# files that make .init and .fini sections work. |
|
12413 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12414 |
else |
|
12415 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
12416 |
fi |
|
12417 |
hardcode_libdir_flag_spec='-L$libdir' |
|
12418 |
hardcode_direct=yes |
|
12419 |
hardcode_minus_L=yes |
|
12420 |
hardcode_shlibpath_var=no |
|
12421 |
;; |
|
12422 |
||
12423 |
sysv4) |
|
12424 |
case $host_vendor in |
|
12425 |
sni) |
|
12426 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12427 |
hardcode_direct=yes # is this really true??? |
|
12428 |
;; |
|
12429 |
siemens) |
|
12430 |
## LD is ld it makes a PLAMLIB |
|
12431 |
## CC just makes a GrossModule. |
|
12432 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
12433 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
12434 |
hardcode_direct=no |
|
12435 |
;; |
|
12436 |
motorola) |
|
12437 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12438 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
12439 |
;; |
|
12440 |
esac |
|
12441 |
runpath_var='LD_RUN_PATH' |
|
12442 |
hardcode_shlibpath_var=no |
|
12443 |
;; |
|
12444 |
||
12445 |
sysv4.3*) |
|
12446 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12447 |
hardcode_shlibpath_var=no |
|
12448 |
export_dynamic_flag_spec='-Bexport' |
|
12449 |
;; |
|
12450 |
||
12451 |
sysv4*MP*) |
|
12452 |
if test -d /usr/nec; then |
|
12453 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12454 |
hardcode_shlibpath_var=no |
|
12455 |
runpath_var=LD_RUN_PATH |
|
12456 |
hardcode_runpath_var=yes |
|
12457 |
ld_shlibs=yes |
|
12458 |
fi |
|
12459 |
;; |
|
12460 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12461 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
12462 |
no_undefined_flag='${wl}-z,text' |
|
12463 |
archive_cmds_need_lc=no |
|
12464 |
hardcode_shlibpath_var=no |
|
12465 |
runpath_var='LD_RUN_PATH' |
|
12466 |
||
12467 |
if test "$GCC" = yes; then |
|
12468 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12469 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12470 |
else |
|
12471 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12472 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12473 |
fi |
|
12474 |
;; |
|
12475 |
||
12476 |
sysv5* | sco3.2v5* | sco5v6*) |
|
12477 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
12478 |
# link with -lc, and that would cause any symbols used from libc to |
|
12479 |
# always be unresolved, which means just about no library would |
|
12480 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
12481 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
12482 |
# as -z defs. |
|
12483 |
no_undefined_flag='${wl}-z,text' |
|
12484 |
allow_undefined_flag='${wl}-z,nodefs' |
|
12485 |
archive_cmds_need_lc=no |
|
12486 |
hardcode_shlibpath_var=no |
|
12487 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
|
12488 |
hardcode_libdir_separator=':' |
|
12489 |
link_all_deplibs=yes |
|
12490 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
12491 |
runpath_var='LD_RUN_PATH' |
|
12492 |
||
12493 |
if test "$GCC" = yes; then |
|
12494 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12495 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12496 |
else |
|
12497 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12498 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12499 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12500 |
;; |
12501 |
||
12502 |
uts4*) |
|
12503 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
12504 |
hardcode_libdir_flag_spec='-L$libdir' |
|
12505 |
hardcode_shlibpath_var=no |
|
12506 |
;; |
|
12507 |
||
12508 |
*) |
|
12509 |
ld_shlibs=no |
|
12510 |
;; |
|
12511 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12512 |
|
12513 |
if test x$host_vendor = xsni; then |
|
12514 |
case $host in |
|
12515 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
12516 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
12517 |
;; |
|
12518 |
esac |
|
12519 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12520 |
fi |
12521 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
12523 |
$as_echo "$ld_shlibs" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
12524 |
test "$ld_shlibs" = no && can_build_shared=no |
12525 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12526 |
with_gnu_ld=$with_gnu_ld |
12527 |
||
12528 |
||
12529 |
||
12530 |
||
12531 |
||
12532 |
||
12533 |
||
12534 |
||
12535 |
||
12536 |
||
12537 |
||
12538 |
||
12539 |
||
12540 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12541 |
|
12542 |
# |
|
12543 |
# Do we need to explicitly link libc? |
|
12544 |
# |
|
12545 |
case "x$archive_cmds_need_lc" in |
|
12546 |
x|xyes) |
|
12547 |
# Assume -lc should be added |
|
12548 |
archive_cmds_need_lc=yes |
|
12549 |
||
12550 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
12551 |
case $archive_cmds in |
|
12552 |
*'~'*) |
|
12553 |
# FIXME: we may have to deal with multi-command sequences. |
|
12554 |
;; |
|
12555 |
'$CC '*) |
|
12556 |
# Test whether the compiler implicitly links with -lc since on some |
|
12557 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
12558 |
# to ld, don't add -lc before -lgcc. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12559 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
12560 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
12561 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
|
12562 |
$as_echo_n "(cached) " >&6 |
|
12563 |
else |
|
12564 |
$RM conftest* |
|
12565 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12566 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12567 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12568 |
(eval $ac_compile) 2>&5 |
12569 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12570 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12571 |
test $ac_status = 0; } 2>conftest.err; then |
|
12572 |
soname=conftest |
|
12573 |
lib=conftest |
|
12574 |
libobjs=conftest.$ac_objext |
|
12575 |
deplibs= |
|
12576 |
wl=$lt_prog_compiler_wl |
|
12577 |
pic_flag=$lt_prog_compiler_pic |
|
12578 |
compiler_flags=-v |
|
12579 |
linker_flags=-v |
|
12580 |
verstring= |
|
12581 |
output_objdir=. |
|
12582 |
libname=conftest |
|
12583 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
12584 |
allow_undefined_flag= |
|
12585 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
12586 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12587 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12588 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12589 |
test $ac_status = 0; } |
|
12590 |
then |
|
12591 |
lt_cv_archive_cmds_need_lc=no |
|
12592 |
else |
|
12593 |
lt_cv_archive_cmds_need_lc=yes |
|
12594 |
fi |
|
12595 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
12596 |
else |
|
12597 |
cat conftest.err 1>&5 |
|
12598 |
fi |
|
12599 |
$RM conftest* |
|
12600 |
||
12601 |
fi |
|
12602 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
12603 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
|
12604 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12605 |
;; |
12606 |
esac |
|
12607 |
fi |
|
12608 |
;; |
|
12609 |
esac |
|
12610 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12611 |
|
12612 |
||
12613 |
||
12614 |
||
12615 |
||
12616 |
||
12617 |
||
12618 |
||
12619 |
||
12620 |
||
12621 |
||
12622 |
||
12623 |
||
12624 |
||
12625 |
||
12626 |
||
12627 |
||
12628 |
||
12629 |
||
12630 |
||
12631 |
||
12632 |
||
12633 |
||
12634 |
||
12635 |
||
12636 |
||
12637 |
||
12638 |
||
12639 |
||
12640 |
||
12641 |
||
12642 |
||
12643 |
||
12644 |
||
12645 |
||
12646 |
||
12647 |
||
12648 |
||
12649 |
||
12650 |
||
12651 |
||
12652 |
||
12653 |
||
12654 |
||
12655 |
||
12656 |
||
12657 |
||
12658 |
||
12659 |
||
12660 |
||
12661 |
||
12662 |
||
12663 |
||
12664 |
||
12665 |
||
12666 |
||
12667 |
||
12668 |
||
12669 |
||
12670 |
||
12671 |
||
12672 |
||
12673 |
||
12674 |
||
12675 |
||
12676 |
||
12677 |
||
12678 |
||
12679 |
||
12680 |
||
12681 |
||
12682 |
||
12683 |
||
12684 |
||
12685 |
||
12686 |
||
12687 |
||
12688 |
||
12689 |
||
12690 |
||
12691 |
||
12692 |
||
12693 |
||
12694 |
||
12695 |
||
12696 |
||
12697 |
||
12698 |
||
12699 |
||
12700 |
||
12701 |
||
12702 |
||
12703 |
||
12704 |
||
12705 |
||
12706 |
||
12707 |
||
12708 |
||
12709 |
||
12710 |
||
12711 |
||
12712 |
||
12713 |
||
12714 |
||
12715 |
||
12716 |
||
12717 |
||
12718 |
||
12719 |
||
12720 |
||
12721 |
||
12722 |
||
12723 |
||
12724 |
||
12725 |
||
12726 |
||
12727 |
||
12728 |
||
12729 |
||
12730 |
||
12731 |
||
12732 |
||
12733 |
||
12734 |
||
12735 |
||
12736 |
||
12737 |
||
12738 |
||
12739 |
||
12740 |
||
12741 |
||
12742 |
||
12743 |
||
12744 |
||
12745 |
||
12746 |
||
12747 |
||
12748 |
||
12749 |
||
12750 |
||
12751 |
||
12752 |
||
12753 |
||
12754 |
||
12755 |
||
12756 |
||
12757 |
||
12758 |
||
12759 |
||
12760 |
||
12761 |
||
12762 |
||
12763 |
||
12764 |
||
12765 |
||
12766 |
||
12767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
12768 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
12769 |
||
12770 |
if test "$GCC" = yes; then |
|
12771 |
case $host_os in |
|
12772 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
12773 |
*) lt_awk_arg="/^libraries:/" ;; |
|
12774 |
esac |
|
12775 |
case $host_os in |
|
12776 |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
|
12777 |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
|
12778 |
esac |
|
12779 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
|
12780 |
case $lt_search_path_spec in |
|
12781 |
*\;*) |
|
12782 |
# if the path contains ";" then we assume it to be the separator |
|
12783 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
12784 |
# assumed that no part of a normal pathname contains ";" but that should |
|
12785 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
12786 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
|
12787 |
;; |
|
12788 |
*) |
|
12789 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
|
12790 |
;; |
|
12791 |
esac |
|
12792 |
# Ok, now we have the path, separated by spaces, we can step through it |
|
12793 |
# and add multilib dir if necessary. |
|
12794 |
lt_tmp_lt_search_path_spec= |
|
12795 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
12796 |
for lt_sys_path in $lt_search_path_spec; do |
|
12797 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
12798 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
12799 |
else |
|
12800 |
test -d "$lt_sys_path" && \ |
|
12801 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
12802 |
fi |
|
12803 |
done |
|
12804 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
|
12805 |
BEGIN {RS=" "; FS="/|\n";} { |
|
12806 |
lt_foo=""; |
|
12807 |
lt_count=0; |
|
12808 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
12809 |
if ($lt_i != "" && $lt_i != ".") { |
|
12810 |
if ($lt_i == "..") { |
|
12811 |
lt_count++; |
|
12812 |
} else { |
|
12813 |
if (lt_count == 0) { |
|
12814 |
lt_foo="/" $lt_i lt_foo; |
|
12815 |
} else { |
|
12816 |
lt_count--; |
|
12817 |
} |
|
12818 |
} |
|
12819 |
} |
|
12820 |
} |
|
12821 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
12822 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
12823 |
}'` |
|
12824 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
|
12825 |
# for these hosts. |
|
12826 |
case $host_os in |
|
12827 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
|
12828 |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
|
12829 |
esac |
|
12830 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
|
12831 |
else |
|
12832 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
12833 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12834 |
library_names_spec= |
12835 |
libname_spec='lib$name' |
|
12836 |
soname_spec= |
|
12837 |
shrext_cmds=".so" |
|
12838 |
postinstall_cmds= |
|
12839 |
postuninstall_cmds= |
|
12840 |
finish_cmds= |
|
12841 |
finish_eval= |
|
12842 |
shlibpath_var= |
|
12843 |
shlibpath_overrides_runpath=unknown |
|
12844 |
version_type=none |
|
12845 |
dynamic_linker="$host_os ld.so" |
|
12846 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
12847 |
need_lib_prefix=unknown |
|
12848 |
hardcode_into_libs=no |
|
12849 |
||
12850 |
# when you set need_version to no, make sure it does not cause -set_version |
|
12851 |
# flags to be left without arguments |
|
12852 |
need_version=unknown |
|
12853 |
||
12854 |
case $host_os in |
|
12855 |
aix3*) |
|
12856 |
version_type=linux |
|
12857 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
12858 |
shlibpath_var=LIBPATH |
|
12859 |
||
12860 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
12861 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12862 |
;; |
|
12863 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12864 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12865 |
version_type=linux |
12866 |
need_lib_prefix=no |
|
12867 |
need_version=no |
|
12868 |
hardcode_into_libs=yes |
|
12869 |
if test "$host_cpu" = ia64; then |
|
12870 |
# AIX 5 supports IA64 |
|
12871 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
12872 |
shlibpath_var=LD_LIBRARY_PATH |
|
12873 |
else |
|
12874 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
12875 |
# for dependence libraries. The import file would start with |
|
12876 |
# the line `#! .'. This would cause the generated library to |
|
12877 |
# depend on `.', always an invalid library. This was fixed in |
|
12878 |
# development snapshots of GCC prior to 3.0. |
|
12879 |
case $host_os in |
|
12880 |
aix4 | aix4.[01] | aix4.[01].*) |
|
12881 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
12882 |
echo ' yes ' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12883 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12884 |
: |
12885 |
else |
|
12886 |
can_build_shared=no |
|
12887 |
fi |
|
12888 |
;; |
|
12889 |
esac |
|
12890 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
12891 |
# soname into executable. Probably we can add versioning support to |
|
12892 |
# collect2, so additional links can be useful in future. |
|
12893 |
if test "$aix_use_runtimelinking" = yes; then |
|
12894 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
12895 |
# instead of lib<name>.a to let people know that these are not |
|
12896 |
# typical AIX shared libraries. |
|
12897 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12898 |
else |
|
12899 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
12900 |
# and later when we are not doing run time linking. |
|
12901 |
library_names_spec='${libname}${release}.a $libname.a' |
|
12902 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12903 |
fi |
|
12904 |
shlibpath_var=LIBPATH |
|
12905 |
fi |
|
12906 |
;; |
|
12907 |
||
12908 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12909 |
case $host_cpu in |
12910 |
powerpc) |
|
12911 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
12912 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
12913 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12914 |
;; |
|
12915 |
m68k) |
|
12916 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
12917 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
12918 |
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' |
|
12919 |
;; |
|
12920 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12921 |
;; |
12922 |
||
12923 |
beos*) |
|
12924 |
library_names_spec='${libname}${shared_ext}' |
|
12925 |
dynamic_linker="$host_os ld.so" |
|
12926 |
shlibpath_var=LIBRARY_PATH |
|
12927 |
;; |
|
12928 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12929 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12930 |
version_type=linux |
12931 |
need_version=no |
|
12932 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12933 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12934 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
12935 |
shlibpath_var=LD_LIBRARY_PATH |
|
12936 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
12937 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
12938 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
12939 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
12940 |
# libtool to hard-code these into programs |
|
12941 |
;; |
|
12942 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12943 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12944 |
version_type=windows |
12945 |
shrext_cmds=".dll" |
|
12946 |
need_version=no |
|
12947 |
need_lib_prefix=no |
|
12948 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12949 |
case $GCC,$cc_basename in |
12950 |
yes,*) |
|
12951 |
# gcc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12952 |
library_names_spec='$libname.dll.a' |
12953 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
12954 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12955 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12956 |
dldir=$destdir/`dirname \$dlpath`~ |
12957 |
test -d \$dldir || mkdir -p \$dldir~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12958 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
12959 |
chmod a+x \$dldir/$dlname~ |
|
12960 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
12961 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
12962 |
fi' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12963 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
12964 |
dlpath=$dir/\$dldll~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12965 |
$RM \$dlpath' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12966 |
shlibpath_overrides_runpath=yes |
12967 |
||
12968 |
case $host_os in |
|
12969 |
cygwin*) |
|
12970 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
12971 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12972 |
|
12973 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12974 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12975 |
mingw* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
12976 |
# MinGW DLLs use traditional 'lib' prefix |
12977 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
12978 |
;; |
|
12979 |
pw32*) |
|
12980 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
12981 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12982 |
;; |
|
12983 |
esac |
|
12984 |
dynamic_linker='Win32 ld.exe' |
|
12985 |
;; |
|
12986 |
||
12987 |
*,cl*) |
|
12988 |
# Native MSVC |
|
12989 |
libname_spec='$name' |
|
12990 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
12991 |
library_names_spec='${libname}.dll.lib' |
|
12992 |
||
12993 |
case $build_os in |
|
12994 |
mingw*) |
|
12995 |
sys_lib_search_path_spec= |
|
12996 |
lt_save_ifs=$IFS |
|
12997 |
IFS=';' |
|
12998 |
for lt_path in $LIB |
|
12999 |
do |
|
13000 |
IFS=$lt_save_ifs |
|
13001 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
13002 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
13003 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
13004 |
done |
|
13005 |
IFS=$lt_save_ifs |
|
13006 |
# Convert to MSYS style. |
|
13007 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
13008 |
;; |
|
13009 |
cygwin*) |
|
13010 |
# Convert to unix form, then to dos form, then back to unix form |
|
13011 |
# but this time dos style (no spaces!) so that the unix form looks |
|
13012 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
13013 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
13014 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
13015 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
13016 |
;; |
|
13017 |
*) |
|
13018 |
sys_lib_search_path_spec="$LIB" |
|
13019 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
13020 |
# It is most probably a Windows format PATH. |
|
13021 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
13022 |
else |
|
13023 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
13024 |
fi |
|
13025 |
# FIXME: find the short name or the path components, as spaces are |
|
13026 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
13027 |
;; |
|
13028 |
esac |
|
13029 |
||
13030 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
13031 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
13032 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
13033 |
dldir=$destdir/`dirname \$dlpath`~ |
|
13034 |
test -d \$dldir || mkdir -p \$dldir~ |
|
13035 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
13036 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
13037 |
dlpath=$dir/\$dldll~ |
|
13038 |
$RM \$dlpath' |
|
13039 |
shlibpath_overrides_runpath=yes |
|
13040 |
dynamic_linker='Win32 link.exe' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13041 |
;; |
13042 |
||
13043 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13044 |
# Assume MSVC wrapper |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13045 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13046 |
dynamic_linker='Win32 ld.exe' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13047 |
;; |
13048 |
esac |
|
13049 |
# FIXME: first we should search . and the directory the executable is in |
|
13050 |
shlibpath_var=PATH |
|
13051 |
;; |
|
13052 |
||
13053 |
darwin* | rhapsody*) |
|
13054 |
dynamic_linker="$host_os dyld" |
|
13055 |
version_type=darwin |
|
13056 |
need_lib_prefix=no |
|
13057 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13058 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13059 |
soname_spec='${libname}${release}${major}$shared_ext' |
13060 |
shlibpath_overrides_runpath=yes |
|
13061 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13062 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
13063 |
||
13064 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13065 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
13066 |
;; |
|
13067 |
||
13068 |
dgux*) |
|
13069 |
version_type=linux |
|
13070 |
need_lib_prefix=no |
|
13071 |
need_version=no |
|
13072 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
13073 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13074 |
shlibpath_var=LD_LIBRARY_PATH |
|
13075 |
;; |
|
13076 |
||
13077 |
freebsd1*) |
|
13078 |
dynamic_linker=no |
|
13079 |
;; |
|
13080 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13081 |
freebsd* | dragonfly*) |
13082 |
# DragonFly does not have aout. When/if they implement a new |
|
13083 |
# versioning mechanism, adjust this. |
|
13084 |
if test -x /usr/bin/objformat; then |
|
13085 |
objformat=`/usr/bin/objformat` |
|
13086 |
else |
|
13087 |
case $host_os in |
|
13088 |
freebsd[123]*) objformat=aout ;; |
|
13089 |
*) objformat=elf ;; |
|
13090 |
esac |
|
13091 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13092 |
version_type=freebsd-$objformat |
13093 |
case $version_type in |
|
13094 |
freebsd-elf*) |
|
13095 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13096 |
need_version=no |
|
13097 |
need_lib_prefix=no |
|
13098 |
;; |
|
13099 |
freebsd-*) |
|
13100 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
13101 |
need_version=yes |
|
13102 |
;; |
|
13103 |
esac |
|
13104 |
shlibpath_var=LD_LIBRARY_PATH |
|
13105 |
case $host_os in |
|
13106 |
freebsd2*) |
|
13107 |
shlibpath_overrides_runpath=yes |
|
13108 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13109 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13110 |
shlibpath_overrides_runpath=yes |
13111 |
hardcode_into_libs=yes |
|
13112 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13113 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
13114 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13115 |
shlibpath_overrides_runpath=no |
13116 |
hardcode_into_libs=yes |
|
13117 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13118 |
*) # from 4.6 on, and DragonFly |
13119 |
shlibpath_overrides_runpath=yes |
|
13120 |
hardcode_into_libs=yes |
|
13121 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13122 |
esac |
13123 |
;; |
|
13124 |
||
13125 |
gnu*) |
|
13126 |
version_type=linux |
|
13127 |
need_lib_prefix=no |
|
13128 |
need_version=no |
|
13129 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
13130 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13131 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13132 |
shlibpath_overrides_runpath=no |
13133 |
hardcode_into_libs=yes |
|
13134 |
;; |
|
13135 |
||
13136 |
haiku*) |
|
13137 |
version_type=linux |
|
13138 |
need_lib_prefix=no |
|
13139 |
need_version=no |
|
13140 |
dynamic_linker="$host_os runtime_loader" |
|
13141 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
13142 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13143 |
shlibpath_var=LIBRARY_PATH |
|
13144 |
shlibpath_overrides_runpath=yes |
|
13145 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13146 |
hardcode_into_libs=yes |
13147 |
;; |
|
13148 |
||
13149 |
hpux9* | hpux10* | hpux11*) |
|
13150 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
13151 |
# link against other versions. |
|
13152 |
version_type=sunos |
|
13153 |
need_lib_prefix=no |
|
13154 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13155 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13156 |
ia64*) |
13157 |
shrext_cmds='.so' |
|
13158 |
hardcode_into_libs=yes |
|
13159 |
dynamic_linker="$host_os dld.so" |
|
13160 |
shlibpath_var=LD_LIBRARY_PATH |
|
13161 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13162 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13163 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13164 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
13165 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
13166 |
else |
|
13167 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
13168 |
fi |
|
13169 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13170 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13171 |
hppa*64*) |
13172 |
shrext_cmds='.sl' |
|
13173 |
hardcode_into_libs=yes |
|
13174 |
dynamic_linker="$host_os dld.sl" |
|
13175 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
13176 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13177 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13178 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13179 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
13180 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13181 |
;; |
|
13182 |
*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13183 |
shrext_cmds='.sl' |
13184 |
dynamic_linker="$host_os dld.sl" |
|
13185 |
shlibpath_var=SHLIB_PATH |
|
13186 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
13187 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13188 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13189 |
;; |
|
13190 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13191 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13192 |
postinstall_cmds='chmod 555 $lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13193 |
# or fails outright, so override atomically: |
13194 |
install_override_mode=555 |
|
13195 |
;; |
|
13196 |
||
13197 |
interix[3-9]*) |
|
13198 |
version_type=linux |
|
13199 |
need_lib_prefix=no |
|
13200 |
need_version=no |
|
13201 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13202 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13203 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
13204 |
shlibpath_var=LD_LIBRARY_PATH |
|
13205 |
shlibpath_overrides_runpath=no |
|
13206 |
hardcode_into_libs=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13207 |
;; |
13208 |
||
13209 |
irix5* | irix6* | nonstopux*) |
|
13210 |
case $host_os in |
|
13211 |
nonstopux*) version_type=nonstopux ;; |
|
13212 |
*) |
|
13213 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
13214 |
version_type=linux |
|
13215 |
else |
|
13216 |
version_type=irix |
|
13217 |
fi ;; |
|
13218 |
esac |
|
13219 |
need_lib_prefix=no |
|
13220 |
need_version=no |
|
13221 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13222 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13223 |
case $host_os in |
|
13224 |
irix5* | nonstopux*) |
|
13225 |
libsuff= shlibsuff= |
|
13226 |
;; |
|
13227 |
*) |
|
13228 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
13229 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
13230 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
13231 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
13232 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
13233 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
13234 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
13235 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
13236 |
esac |
|
13237 |
;; |
|
13238 |
esac |
|
13239 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
13240 |
shlibpath_overrides_runpath=no |
|
13241 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
13242 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
13243 |
hardcode_into_libs=yes |
|
13244 |
;; |
|
13245 |
||
13246 |
# No shared lib support for Linux oldld, aout, or coff. |
|
13247 |
linux*oldld* | linux*aout* | linux*coff*) |
|
13248 |
dynamic_linker=no |
|
13249 |
;; |
|
13250 |
||
13251 |
# This must be Linux ELF. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13252 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13253 |
version_type=linux |
13254 |
need_lib_prefix=no |
|
13255 |
need_version=no |
|
13256 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13257 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13258 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
13259 |
shlibpath_var=LD_LIBRARY_PATH |
|
13260 |
shlibpath_overrides_runpath=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13261 |
|
13262 |
# Some binutils ld are patched to set DT_RUNPATH |
|
13263 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
13264 |
$as_echo_n "(cached) " >&6 |
|
13265 |
else |
|
13266 |
lt_cv_shlibpath_overrides_runpath=no |
|
13267 |
save_LDFLAGS=$LDFLAGS |
|
13268 |
save_libdir=$libdir |
|
13269 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
13270 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
13271 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
13272 |
/* end confdefs.h. */ |
|
13273 |
||
13274 |
int |
|
13275 |
main () |
|
13276 |
{ |
|
13277 |
||
13278 |
; |
|
13279 |
return 0; |
|
13280 |
} |
|
13281 |
_ACEOF |
|
13282 |
if ac_fn_c_try_link "$LINENO"; then : |
|
13283 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
13284 |
lt_cv_shlibpath_overrides_runpath=yes |
|
13285 |
fi |
|
13286 |
fi |
|
13287 |
rm -f core conftest.err conftest.$ac_objext \ |
|
13288 |
conftest$ac_exeext conftest.$ac_ext |
|
13289 |
LDFLAGS=$save_LDFLAGS |
|
13290 |
libdir=$save_libdir |
|
13291 |
||
13292 |
fi |
|
13293 |
||
13294 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
13295 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13296 |
# This implies no fast_install, which is unacceptable. |
13297 |
# Some rework will be needed to allow for fast_install |
|
13298 |
# before this can be enabled. |
|
13299 |
hardcode_into_libs=yes |
|
13300 |
||
13301 |
# Append ld.so.conf contents to the search path |
|
13302 |
if test -f /etc/ld.so.conf; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13303 |
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' ' '` |
13304 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13305 |
fi |
13306 |
||
13307 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
13308 |
# powerpc, because MkLinux only supported shared libraries with the |
|
13309 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
13310 |
# most powerpc-linux boxes support dynamic linking these days and |
|
13311 |
# people can always --disable-shared, the test was removed, and we |
|
13312 |
# assume the GNU/Linux dynamic linker is in use. |
|
13313 |
dynamic_linker='GNU/Linux ld.so' |
|
13314 |
;; |
|
13315 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13316 |
netbsdelf*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13317 |
version_type=linux |
13318 |
need_lib_prefix=no |
|
13319 |
need_version=no |
|
13320 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13321 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13322 |
shlibpath_var=LD_LIBRARY_PATH |
|
13323 |
shlibpath_overrides_runpath=no |
|
13324 |
hardcode_into_libs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13325 |
dynamic_linker='NetBSD ld.elf_so' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13326 |
;; |
13327 |
||
13328 |
netbsd*) |
|
13329 |
version_type=sunos |
|
13330 |
need_lib_prefix=no |
|
13331 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13332 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13333 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13334 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13335 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
13336 |
else |
|
13337 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13338 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13339 |
dynamic_linker='NetBSD ld.elf_so' |
|
13340 |
fi |
|
13341 |
shlibpath_var=LD_LIBRARY_PATH |
|
13342 |
shlibpath_overrides_runpath=yes |
|
13343 |
hardcode_into_libs=yes |
|
13344 |
;; |
|
13345 |
||
13346 |
newsos6) |
|
13347 |
version_type=linux |
|
13348 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13349 |
shlibpath_var=LD_LIBRARY_PATH |
|
13350 |
shlibpath_overrides_runpath=yes |
|
13351 |
;; |
|
13352 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13353 |
*nto* | *qnx*) |
13354 |
version_type=qnx |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13355 |
need_lib_prefix=no |
13356 |
need_version=no |
|
13357 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13358 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13359 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13360 |
shlibpath_overrides_runpath=no |
13361 |
hardcode_into_libs=yes |
|
13362 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13363 |
;; |
13364 |
||
13365 |
openbsd*) |
|
13366 |
version_type=sunos |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13367 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13368 |
need_lib_prefix=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13369 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
13370 |
case $host_os in |
|
13371 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
13372 |
*) need_version=no ;; |
|
13373 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13374 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13375 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13376 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13377 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13378 |
case $host_os in |
13379 |
openbsd2.[89] | openbsd2.[89].*) |
|
13380 |
shlibpath_overrides_runpath=no |
|
13381 |
;; |
|
13382 |
*) |
|
13383 |
shlibpath_overrides_runpath=yes |
|
13384 |
;; |
|
13385 |
esac |
|
13386 |
else |
|
13387 |
shlibpath_overrides_runpath=yes |
|
13388 |
fi |
|
13389 |
;; |
|
13390 |
||
13391 |
os2*) |
|
13392 |
libname_spec='$name' |
|
13393 |
shrext_cmds=".dll" |
|
13394 |
need_lib_prefix=no |
|
13395 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
13396 |
dynamic_linker='OS/2 ld.exe' |
|
13397 |
shlibpath_var=LIBPATH |
|
13398 |
;; |
|
13399 |
||
13400 |
osf3* | osf4* | osf5*) |
|
13401 |
version_type=osf |
|
13402 |
need_lib_prefix=no |
|
13403 |
need_version=no |
|
13404 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13405 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13406 |
shlibpath_var=LD_LIBRARY_PATH |
|
13407 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
13408 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
13409 |
;; |
|
13410 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13411 |
rdos*) |
13412 |
dynamic_linker=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13413 |
;; |
13414 |
||
13415 |
solaris*) |
|
13416 |
version_type=linux |
|
13417 |
need_lib_prefix=no |
|
13418 |
need_version=no |
|
13419 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13420 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13421 |
shlibpath_var=LD_LIBRARY_PATH |
|
13422 |
shlibpath_overrides_runpath=yes |
|
13423 |
hardcode_into_libs=yes |
|
13424 |
# ldd complains unless libraries are executable |
|
13425 |
postinstall_cmds='chmod +x $lib' |
|
13426 |
;; |
|
13427 |
||
13428 |
sunos4*) |
|
13429 |
version_type=sunos |
|
13430 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13431 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
13432 |
shlibpath_var=LD_LIBRARY_PATH |
|
13433 |
shlibpath_overrides_runpath=yes |
|
13434 |
if test "$with_gnu_ld" = yes; then |
|
13435 |
need_lib_prefix=no |
|
13436 |
fi |
|
13437 |
need_version=yes |
|
13438 |
;; |
|
13439 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13440 |
sysv4 | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13441 |
version_type=linux |
13442 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13443 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13444 |
shlibpath_var=LD_LIBRARY_PATH |
|
13445 |
case $host_vendor in |
|
13446 |
sni) |
|
13447 |
shlibpath_overrides_runpath=no |
|
13448 |
need_lib_prefix=no |
|
13449 |
runpath_var=LD_RUN_PATH |
|
13450 |
;; |
|
13451 |
siemens) |
|
13452 |
need_lib_prefix=no |
|
13453 |
;; |
|
13454 |
motorola) |
|
13455 |
need_lib_prefix=no |
|
13456 |
need_version=no |
|
13457 |
shlibpath_overrides_runpath=no |
|
13458 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
13459 |
;; |
|
13460 |
esac |
|
13461 |
;; |
|
13462 |
||
13463 |
sysv4*MP*) |
|
13464 |
if test -d /usr/nec ;then |
|
13465 |
version_type=linux |
|
13466 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
13467 |
soname_spec='$libname${shared_ext}.$major' |
|
13468 |
shlibpath_var=LD_LIBRARY_PATH |
|
13469 |
fi |
|
13470 |
;; |
|
13471 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13472 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
13473 |
version_type=freebsd-elf |
|
13474 |
need_lib_prefix=no |
|
13475 |
need_version=no |
|
13476 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13477 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13478 |
shlibpath_var=LD_LIBRARY_PATH |
|
13479 |
shlibpath_overrides_runpath=yes |
|
13480 |
hardcode_into_libs=yes |
|
13481 |
if test "$with_gnu_ld" = yes; then |
|
13482 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
13483 |
else |
|
13484 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
13485 |
case $host_os in |
|
13486 |
sco3.2v5*) |
|
13487 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
13488 |
;; |
|
13489 |
esac |
|
13490 |
fi |
|
13491 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
13492 |
;; |
|
13493 |
||
13494 |
tpf*) |
|
13495 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
13496 |
version_type=linux |
|
13497 |
need_lib_prefix=no |
|
13498 |
need_version=no |
|
13499 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13500 |
shlibpath_var=LD_LIBRARY_PATH |
|
13501 |
shlibpath_overrides_runpath=no |
|
13502 |
hardcode_into_libs=yes |
|
13503 |
;; |
|
13504 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13505 |
uts4*) |
13506 |
version_type=linux |
|
13507 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13508 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
13509 |
shlibpath_var=LD_LIBRARY_PATH |
|
13510 |
;; |
|
13511 |
||
13512 |
*) |
|
13513 |
dynamic_linker=no |
|
13514 |
;; |
|
13515 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
13517 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13518 |
test "$dynamic_linker" = no && can_build_shared=no |
13519 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13520 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
13521 |
if test "$GCC" = yes; then |
|
13522 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
13523 |
fi |
|
13524 |
||
13525 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
13526 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
13527 |
fi |
|
13528 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
13529 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
13530 |
fi |
|
13531 |
||
13532 |
||
13533 |
||
13534 |
||
13535 |
||
13536 |
||
13537 |
||
13538 |
||
13539 |
||
13540 |
||
13541 |
||
13542 |
||
13543 |
||
13544 |
||
13545 |
||
13546 |
||
13547 |
||
13548 |
||
13549 |
||
13550 |
||
13551 |
||
13552 |
||
13553 |
||
13554 |
||
13555 |
||
13556 |
||
13557 |
||
13558 |
||
13559 |
||
13560 |
||
13561 |
||
13562 |
||
13563 |
||
13564 |
||
13565 |
||
13566 |
||
13567 |
||
13568 |
||
13569 |
||
13570 |
||
13571 |
||
13572 |
||
13573 |
||
13574 |
||
13575 |
||
13576 |
||
13577 |
||
13578 |
||
13579 |
||
13580 |
||
13581 |
||
13582 |
||
13583 |
||
13584 |
||
13585 |
||
13586 |
||
13587 |
||
13588 |
||
13589 |
||
13590 |
||
13591 |
||
13592 |
||
13593 |
||
13594 |
||
13595 |
||
13596 |
||
13597 |
||
13598 |
||
13599 |
||
13600 |
||
13601 |
||
13602 |
||
13603 |
||
13604 |
||
13605 |
||
13606 |
||
13607 |
||
13608 |
||
13609 |
||
13610 |
||
13611 |
||
13612 |
||
13613 |
||
13614 |
||
13615 |
||
13616 |
||
13617 |
||
13618 |
||
13619 |
||
13620 |
||
13621 |
||
13622 |
||
13623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
13624 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13625 |
hardcode_action= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13626 |
if test -n "$hardcode_libdir_flag_spec" || |
13627 |
test -n "$runpath_var" || |
|
13628 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13629 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13630 |
# We can hardcode non-existent directories. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13631 |
if test "$hardcode_direct" != no && |
13632 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
13633 |
# have to relink, otherwise we might link with an installed library |
|
13634 |
# when we should be linking with a yet-to-be-installed one |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13635 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13636 |
test "$hardcode_minus_L" != no; then |
13637 |
# Linking always hardcodes the temporary library directory. |
|
13638 |
hardcode_action=relink |
|
13639 |
else |
|
13640 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
13641 |
hardcode_action=immediate |
|
13642 |
fi |
|
13643 |
else |
|
13644 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
13645 |
# directories. |
|
13646 |
hardcode_action=unsupported |
|
13647 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
13649 |
$as_echo "$hardcode_action" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13650 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13651 |
if test "$hardcode_action" = relink || |
13652 |
test "$inherit_rpath" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13653 |
# Fast installation is not supported |
13654 |
enable_fast_install=no |
|
13655 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
13656 |
test "$enable_shared" = no; then |
|
13657 |
# Fast installation is not necessary |
|
13658 |
enable_fast_install=needless |
|
13659 |
fi |
|
13660 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13661 |
|
13662 |
||
13663 |
||
13664 |
||
13665 |
||
13666 |
if test "x$enable_dlopen" != xyes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13667 |
enable_dlopen=unknown |
13668 |
enable_dlopen_self=unknown |
|
13669 |
enable_dlopen_self_static=unknown |
|
13670 |
else |
|
13671 |
lt_cv_dlopen=no |
|
13672 |
lt_cv_dlopen_libs= |
|
13673 |
||
13674 |
case $host_os in |
|
13675 |
beos*) |
|
13676 |
lt_cv_dlopen="load_add_on" |
|
13677 |
lt_cv_dlopen_libs= |
|
13678 |
lt_cv_dlopen_self=yes |
|
13679 |
;; |
|
13680 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13681 |
mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13682 |
lt_cv_dlopen="LoadLibrary" |
13683 |
lt_cv_dlopen_libs= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13684 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13685 |
|
13686 |
cygwin*) |
|
13687 |
lt_cv_dlopen="dlopen" |
|
13688 |
lt_cv_dlopen_libs= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13689 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13690 |
|
13691 |
darwin*) |
|
13692 |
# if libdl is installed we need to link against it |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
13694 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
13695 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
13696 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13697 |
else |
13698 |
ac_check_lib_save_LIBS=$LIBS |
|
13699 |
LIBS="-ldl $LIBS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13700 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13701 |
/* end confdefs.h. */ |
13702 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13703 |
/* Override any GCC internal prototype to avoid an error. |
13704 |
Use char because int might match the return type of a GCC |
|
13705 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13706 |
#ifdef __cplusplus |
13707 |
extern "C" |
|
13708 |
#endif |
|
13709 |
char dlopen (); |
|
13710 |
int |
|
13711 |
main () |
|
13712 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13713 |
return dlopen (); |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13714 |
; |
13715 |
return 0; |
|
13716 |
} |
|
13717 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13718 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13719 |
ac_cv_lib_dl_dlopen=yes |
13720 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13721 |
ac_cv_lib_dl_dlopen=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13722 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13723 |
rm -f core conftest.err conftest.$ac_objext \ |
13724 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13725 |
LIBS=$ac_check_lib_save_LIBS |
13726 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
13728 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
13729 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13730 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
13731 |
else |
|
13732 |
||
13733 |
lt_cv_dlopen="dyld" |
|
13734 |
lt_cv_dlopen_libs= |
|
13735 |
lt_cv_dlopen_self=yes |
|
13736 |
||
13737 |
fi |
|
13738 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13739 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13740 |
|
13741 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13742 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
13743 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13744 |
lt_cv_dlopen="shl_load" |
13745 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
13747 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
13748 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
|
13749 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13750 |
else |
13751 |
ac_check_lib_save_LIBS=$LIBS |
|
13752 |
LIBS="-ldld $LIBS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13753 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13754 |
/* end confdefs.h. */ |
13755 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13756 |
/* Override any GCC internal prototype to avoid an error. |
13757 |
Use char because int might match the return type of a GCC |
|
13758 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13759 |
#ifdef __cplusplus |
13760 |
extern "C" |
|
13761 |
#endif |
|
13762 |
char shl_load (); |
|
13763 |
int |
|
13764 |
main () |
|
13765 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13766 |
return shl_load (); |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13767 |
; |
13768 |
return 0; |
|
13769 |
} |
|
13770 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13771 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13772 |
ac_cv_lib_dld_shl_load=yes |
13773 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13774 |
ac_cv_lib_dld_shl_load=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13775 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13776 |
rm -f core conftest.err conftest.$ac_objext \ |
13777 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13778 |
LIBS=$ac_check_lib_save_LIBS |
13779 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
13781 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
13782 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
|
13783 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
|
13784 |
else |
|
13785 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
13786 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13787 |
lt_cv_dlopen="dlopen" |
13788 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13789 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
13790 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
13791 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
13792 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13793 |
else |
13794 |
ac_check_lib_save_LIBS=$LIBS |
|
13795 |
LIBS="-ldl $LIBS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13796 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13797 |
/* end confdefs.h. */ |
13798 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13799 |
/* Override any GCC internal prototype to avoid an error. |
13800 |
Use char because int might match the return type of a GCC |
|
13801 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13802 |
#ifdef __cplusplus |
13803 |
extern "C" |
|
13804 |
#endif |
|
13805 |
char dlopen (); |
|
13806 |
int |
|
13807 |
main () |
|
13808 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13809 |
return dlopen (); |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13810 |
; |
13811 |
return 0; |
|
13812 |
} |
|
13813 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13814 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13815 |
ac_cv_lib_dl_dlopen=yes |
13816 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13817 |
ac_cv_lib_dl_dlopen=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13818 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13819 |
rm -f core conftest.err conftest.$ac_objext \ |
13820 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13821 |
LIBS=$ac_check_lib_save_LIBS |
13822 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
13824 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
13825 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13826 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
13827 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
13829 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
13830 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
|
13831 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13832 |
else |
13833 |
ac_check_lib_save_LIBS=$LIBS |
|
13834 |
LIBS="-lsvld $LIBS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13835 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13836 |
/* end confdefs.h. */ |
13837 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13838 |
/* Override any GCC internal prototype to avoid an error. |
13839 |
Use char because int might match the return type of a GCC |
|
13840 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13841 |
#ifdef __cplusplus |
13842 |
extern "C" |
|
13843 |
#endif |
|
13844 |
char dlopen (); |
|
13845 |
int |
|
13846 |
main () |
|
13847 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13848 |
return dlopen (); |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13849 |
; |
13850 |
return 0; |
|
13851 |
} |
|
13852 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13853 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13854 |
ac_cv_lib_svld_dlopen=yes |
13855 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13856 |
ac_cv_lib_svld_dlopen=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13857 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13858 |
rm -f core conftest.err conftest.$ac_objext \ |
13859 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13860 |
LIBS=$ac_check_lib_save_LIBS |
13861 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
13863 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
13864 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13865 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
13866 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
13868 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
13869 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
|
13870 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13871 |
else |
13872 |
ac_check_lib_save_LIBS=$LIBS |
|
13873 |
LIBS="-ldld $LIBS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13874 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13875 |
/* end confdefs.h. */ |
13876 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13877 |
/* Override any GCC internal prototype to avoid an error. |
13878 |
Use char because int might match the return type of a GCC |
|
13879 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13880 |
#ifdef __cplusplus |
13881 |
extern "C" |
|
13882 |
#endif |
|
13883 |
char dld_link (); |
|
13884 |
int |
|
13885 |
main () |
|
13886 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13887 |
return dld_link (); |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13888 |
; |
13889 |
return 0; |
|
13890 |
} |
|
13891 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13892 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13893 |
ac_cv_lib_dld_dld_link=yes |
13894 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13895 |
ac_cv_lib_dld_dld_link=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13896 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13897 |
rm -f core conftest.err conftest.$ac_objext \ |
13898 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13899 |
LIBS=$ac_check_lib_save_LIBS |
13900 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
13902 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
13903 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
|
13904 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13905 |
fi |
13906 |
||
13907 |
||
13908 |
fi |
|
13909 |
||
13910 |
||
13911 |
fi |
|
13912 |
||
13913 |
||
13914 |
fi |
|
13915 |
||
13916 |
||
13917 |
fi |
|
13918 |
||
13919 |
||
13920 |
fi |
|
13921 |
||
13922 |
;; |
|
13923 |
esac |
|
13924 |
||
13925 |
if test "x$lt_cv_dlopen" != xno; then |
|
13926 |
enable_dlopen=yes |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
13927 |
else |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13928 |
enable_dlopen=no |
13929 |
fi |
|
13930 |
||
13931 |
case $lt_cv_dlopen in |
|
13932 |
dlopen) |
|
13933 |
save_CPPFLAGS="$CPPFLAGS" |
|
13934 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
13935 |
||
13936 |
save_LDFLAGS="$LDFLAGS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13937 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13938 |
|
13939 |
save_LIBS="$LIBS" |
|
13940 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
13941 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
13943 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
13944 |
if ${lt_cv_dlopen_self+:} false; then : |
|
13945 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13946 |
else |
13947 |
if test "$cross_compiling" = yes; then : |
|
13948 |
lt_cv_dlopen_self=cross |
|
13949 |
else |
|
13950 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
13951 |
lt_status=$lt_dlunknown |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13952 |
cat > conftest.$ac_ext <<_LT_EOF |
13953 |
#line $LINENO "configure" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13954 |
#include "confdefs.h" |
13955 |
||
13956 |
#if HAVE_DLFCN_H |
|
13957 |
#include <dlfcn.h> |
|
13958 |
#endif |
|
13959 |
||
13960 |
#include <stdio.h> |
|
13961 |
||
13962 |
#ifdef RTLD_GLOBAL |
|
13963 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
13964 |
#else |
|
13965 |
# ifdef DL_GLOBAL |
|
13966 |
# define LT_DLGLOBAL DL_GLOBAL |
|
13967 |
# else |
|
13968 |
# define LT_DLGLOBAL 0 |
|
13969 |
# endif |
|
13970 |
#endif |
|
13971 |
||
13972 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
13973 |
find out it does not work in some platform. */ |
|
13974 |
#ifndef LT_DLLAZY_OR_NOW |
|
13975 |
# ifdef RTLD_LAZY |
|
13976 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
13977 |
# else |
|
13978 |
# ifdef DL_LAZY |
|
13979 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
13980 |
# else |
|
13981 |
# ifdef RTLD_NOW |
|
13982 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
13983 |
# else |
|
13984 |
# ifdef DL_NOW |
|
13985 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
13986 |
# else |
|
13987 |
# define LT_DLLAZY_OR_NOW 0 |
|
13988 |
# endif |
|
13989 |
# endif |
|
13990 |
# endif |
|
13991 |
# endif |
|
13992 |
#endif |
|
13993 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
13994 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
13995 |
correspondingly for the symbols needed. */ |
|
13996 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
13997 |
int fnord () __attribute__((visibility("default"))); |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
13998 |
#endif |
13999 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14000 |
int fnord () { return 42; } |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14001 |
int main () |
14002 |
{ |
|
14003 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
14004 |
int status = $lt_dlunknown; |
|
14005 |
||
14006 |
if (self) |
|
14007 |
{ |
|
14008 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14009 |
else |
14010 |
{ |
|
14011 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
14012 |
else puts (dlerror ()); |
|
14013 |
} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14014 |
/* dlclose (self); */ |
14015 |
} |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14016 |
else |
14017 |
puts (dlerror ()); |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14018 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14019 |
return status; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14020 |
} |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14021 |
_LT_EOF |
14022 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14023 |
(eval $ac_link) 2>&5 |
14024 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14025 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14026 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
14027 |
(./conftest; exit; ) >&5 2>/dev/null |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14028 |
lt_status=$? |
14029 |
case x$lt_status in |
|
14030 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
14031 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14032 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14033 |
esac |
14034 |
else : |
|
14035 |
# compilation failed |
|
14036 |
lt_cv_dlopen_self=no |
|
14037 |
fi |
|
14038 |
fi |
|
14039 |
rm -fr conftest* |
|
14040 |
||
14041 |
||
14042 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14043 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
14044 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14045 |
|
14046 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14047 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
14048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
|
14049 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
14050 |
if ${lt_cv_dlopen_self_static+:} false; then : |
|
14051 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14052 |
else |
14053 |
if test "$cross_compiling" = yes; then : |
|
14054 |
lt_cv_dlopen_self_static=cross |
|
14055 |
else |
|
14056 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
14057 |
lt_status=$lt_dlunknown |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14058 |
cat > conftest.$ac_ext <<_LT_EOF |
14059 |
#line $LINENO "configure" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14060 |
#include "confdefs.h" |
14061 |
||
14062 |
#if HAVE_DLFCN_H |
|
14063 |
#include <dlfcn.h> |
|
14064 |
#endif |
|
14065 |
||
14066 |
#include <stdio.h> |
|
14067 |
||
14068 |
#ifdef RTLD_GLOBAL |
|
14069 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
14070 |
#else |
|
14071 |
# ifdef DL_GLOBAL |
|
14072 |
# define LT_DLGLOBAL DL_GLOBAL |
|
14073 |
# else |
|
14074 |
# define LT_DLGLOBAL 0 |
|
14075 |
# endif |
|
14076 |
#endif |
|
14077 |
||
14078 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
14079 |
find out it does not work in some platform. */ |
|
14080 |
#ifndef LT_DLLAZY_OR_NOW |
|
14081 |
# ifdef RTLD_LAZY |
|
14082 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
14083 |
# else |
|
14084 |
# ifdef DL_LAZY |
|
14085 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
14086 |
# else |
|
14087 |
# ifdef RTLD_NOW |
|
14088 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
14089 |
# else |
|
14090 |
# ifdef DL_NOW |
|
14091 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
14092 |
# else |
|
14093 |
# define LT_DLLAZY_OR_NOW 0 |
|
14094 |
# endif |
|
14095 |
# endif |
|
14096 |
# endif |
|
14097 |
# endif |
|
14098 |
#endif |
|
14099 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14100 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
14101 |
correspondingly for the symbols needed. */ |
|
14102 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
14103 |
int fnord () __attribute__((visibility("default"))); |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14104 |
#endif |
14105 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14106 |
int fnord () { return 42; } |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14107 |
int main () |
14108 |
{ |
|
14109 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
14110 |
int status = $lt_dlunknown; |
|
14111 |
||
14112 |
if (self) |
|
14113 |
{ |
|
14114 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14115 |
else |
14116 |
{ |
|
14117 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
14118 |
else puts (dlerror ()); |
|
14119 |
} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14120 |
/* dlclose (self); */ |
14121 |
} |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14122 |
else |
14123 |
puts (dlerror ()); |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14124 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14125 |
return status; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14126 |
} |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14127 |
_LT_EOF |
14128 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14129 |
(eval $ac_link) 2>&5 |
14130 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14131 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14132 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
14133 |
(./conftest; exit; ) >&5 2>/dev/null |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14134 |
lt_status=$? |
14135 |
case x$lt_status in |
|
14136 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
14137 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14138 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14139 |
esac |
14140 |
else : |
|
14141 |
# compilation failed |
|
14142 |
lt_cv_dlopen_self_static=no |
|
14143 |
fi |
|
14144 |
fi |
|
14145 |
rm -fr conftest* |
|
14146 |
||
14147 |
||
14148 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
14150 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
14151 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14152 |
|
14153 |
CPPFLAGS="$save_CPPFLAGS" |
|
14154 |
LDFLAGS="$save_LDFLAGS" |
|
14155 |
LIBS="$save_LIBS" |
|
14156 |
;; |
|
14157 |
esac |
|
14158 |
||
14159 |
case $lt_cv_dlopen_self in |
|
14160 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
14161 |
*) enable_dlopen_self=unknown ;; |
|
14162 |
esac |
|
14163 |
||
14164 |
case $lt_cv_dlopen_self_static in |
|
14165 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
14166 |
*) enable_dlopen_self_static=unknown ;; |
|
14167 |
esac |
|
14168 |
fi |
|
14169 |
||
14170 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14171 |
|
14172 |
||
14173 |
||
14174 |
||
14175 |
||
14176 |
||
14177 |
||
14178 |
||
14179 |
||
14180 |
||
14181 |
||
14182 |
||
14183 |
||
14184 |
||
14185 |
||
14186 |
striplib= |
|
14187 |
old_striplib= |
|
14188 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
|
14189 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
14190 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
14191 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
14192 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
14193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
14194 |
$as_echo "yes" >&6; } |
|
14195 |
else |
|
14196 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
14197 |
case $host_os in |
|
14198 |
darwin*) |
|
14199 |
if test -n "$STRIP" ; then |
|
14200 |
striplib="$STRIP -x" |
|
14201 |
old_striplib="$STRIP -S" |
|
14202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
14203 |
$as_echo "yes" >&6; } |
|
14204 |
else |
|
14205 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14206 |
$as_echo "no" >&6; } |
|
14207 |
fi |
|
14208 |
;; |
|
14209 |
*) |
|
14210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
14211 |
$as_echo "no" >&6; } |
|
14212 |
;; |
|
14213 |
esac |
|
14214 |
fi |
|
14215 |
||
14216 |
||
14217 |
||
14218 |
||
14219 |
||
14220 |
||
14221 |
||
14222 |
||
14223 |
||
14224 |
||
14225 |
||
14226 |
||
14227 |
# Report which library types will actually be built |
|
14228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
14229 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
14230 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
14231 |
$as_echo "$can_build_shared" >&6; } |
|
14232 |
||
14233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
14234 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
14235 |
test "$can_build_shared" = "no" && enable_shared=no |
|
14236 |
||
14237 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
14238 |
# are all built from PIC. |
|
14239 |
case $host_os in |
|
14240 |
aix3*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
14241 |
test "$enable_shared" = yes && enable_static=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14242 |
if test -n "$RANLIB"; then |
14243 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
14244 |
postinstall_cmds='$RANLIB $lib' |
|
14245 |
fi |
|
14246 |
;; |
|
14247 |
||
14248 |
aix[4-9]*) |
|
14249 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
14250 |
test "$enable_shared" = yes && enable_static=no |
|
14251 |
fi |
|
14252 |
;; |
|
14253 |
esac |
|
14254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
14255 |
$as_echo "$enable_shared" >&6; } |
|
14256 |
||
14257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
14258 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
14259 |
# Make sure either enable_shared or enable_static is yes. |
|
14260 |
test "$enable_shared" = yes || enable_static=yes |
|
14261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
14262 |
$as_echo "$enable_static" >&6; } |
|
14263 |
||
14264 |
||
14265 |
||
14266 |
||
14267 |
fi |
|
14268 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14269 |
ac_cpp='$CXXCPP $CPPFLAGS' |
14270 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14271 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14272 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
14273 |
||
14274 |
CC="$lt_save_CC" |
|
14275 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14276 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
14277 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
14278 |
(test "X$CXX" != "Xg++"))) ; then |
|
14279 |
ac_ext=cpp |
|
14280 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
14281 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14282 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14283 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
14284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
|
14285 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
|
14286 |
if test -z "$CXXCPP"; then |
|
14287 |
if ${ac_cv_prog_CXXCPP+:} false; then : |
|
14288 |
$as_echo_n "(cached) " >&6 |
|
14289 |
else |
|
14290 |
# Double quotes because CXXCPP needs to be expanded |
|
14291 |
for CXXCPP in "$CXX -E" "/lib/cpp" |
|
14292 |
do |
|
14293 |
ac_preproc_ok=false |
|
14294 |
for ac_cxx_preproc_warn_flag in '' yes |
|
14295 |
do |
|
14296 |
# Use a header file that comes with gcc, so configuring glibc |
|
14297 |
# with a fresh cross-compiler works. |
|
14298 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
14299 |
# <limits.h> exists even on freestanding compilers. |
|
14300 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
14301 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
14302 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14303 |
/* end confdefs.h. */ |
|
14304 |
#ifdef __STDC__ |
|
14305 |
# include <limits.h> |
|
14306 |
#else |
|
14307 |
# include <assert.h> |
|
14308 |
#endif |
|
14309 |
Syntax error |
|
14310 |
_ACEOF |
|
14311 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
14312 |
||
14313 |
else |
|
14314 |
# Broken: fails on valid input. |
|
14315 |
continue |
|
14316 |
fi |
|
14317 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
14318 |
||
14319 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
14320 |
# can be detected and how. |
|
14321 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14322 |
/* end confdefs.h. */ |
|
14323 |
#include <ac_nonexistent.h> |
|
14324 |
_ACEOF |
|
14325 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
14326 |
# Broken: success on invalid input. |
|
14327 |
continue |
|
14328 |
else |
|
14329 |
# Passes both tests. |
|
14330 |
ac_preproc_ok=: |
|
14331 |
break |
|
14332 |
fi |
|
14333 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
14334 |
||
14335 |
done |
|
14336 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
14337 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
14338 |
if $ac_preproc_ok; then : |
|
14339 |
break |
|
14340 |
fi |
|
14341 |
||
14342 |
done |
|
14343 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
14344 |
||
14345 |
fi |
|
14346 |
CXXCPP=$ac_cv_prog_CXXCPP |
|
14347 |
else |
|
14348 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
14349 |
fi |
|
14350 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
|
14351 |
$as_echo "$CXXCPP" >&6; } |
|
14352 |
ac_preproc_ok=false |
|
14353 |
for ac_cxx_preproc_warn_flag in '' yes |
|
14354 |
do |
|
14355 |
# Use a header file that comes with gcc, so configuring glibc |
|
14356 |
# with a fresh cross-compiler works. |
|
14357 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
14358 |
# <limits.h> exists even on freestanding compilers. |
|
14359 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
14360 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
14361 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14362 |
/* end confdefs.h. */ |
|
14363 |
#ifdef __STDC__ |
|
14364 |
# include <limits.h> |
|
14365 |
#else |
|
14366 |
# include <assert.h> |
|
14367 |
#endif |
|
14368 |
Syntax error |
|
14369 |
_ACEOF |
|
14370 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
14371 |
||
14372 |
else |
|
14373 |
# Broken: fails on valid input. |
|
14374 |
continue |
|
14375 |
fi |
|
14376 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
14377 |
||
14378 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
14379 |
# can be detected and how. |
|
14380 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14381 |
/* end confdefs.h. */ |
|
14382 |
#include <ac_nonexistent.h> |
|
14383 |
_ACEOF |
|
14384 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
14385 |
# Broken: success on invalid input. |
|
14386 |
continue |
|
14387 |
else |
|
14388 |
# Passes both tests. |
|
14389 |
ac_preproc_ok=: |
|
14390 |
break |
|
14391 |
fi |
|
14392 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
14393 |
||
14394 |
done |
|
14395 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
14396 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
14397 |
if $ac_preproc_ok; then : |
|
14398 |
||
14399 |
else |
|
14400 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
14401 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
14402 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
|
14403 |
See \`config.log' for more details" "$LINENO" 5; } |
|
14404 |
fi |
|
14405 |
||
14406 |
ac_ext=cpp |
|
14407 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
14408 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14409 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14410 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
14411 |
||
14412 |
else |
|
14413 |
_lt_caught_CXX_error=yes |
|
14414 |
fi |
|
14415 |
||
14416 |
ac_ext=cpp |
|
14417 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
14418 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14419 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14420 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14421 |
|
14422 |
archive_cmds_need_lc_CXX=no |
|
14423 |
allow_undefined_flag_CXX= |
|
14424 |
always_export_symbols_CXX=no |
|
14425 |
archive_expsym_cmds_CXX= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14426 |
compiler_needs_object_CXX=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14427 |
export_dynamic_flag_spec_CXX= |
14428 |
hardcode_direct_CXX=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14429 |
hardcode_direct_absolute_CXX=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14430 |
hardcode_libdir_flag_spec_CXX= |
14431 |
hardcode_libdir_flag_spec_ld_CXX= |
|
14432 |
hardcode_libdir_separator_CXX= |
|
14433 |
hardcode_minus_L_CXX=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14434 |
hardcode_shlibpath_var_CXX=unsupported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14435 |
hardcode_automatic_CXX=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14436 |
inherit_rpath_CXX=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14437 |
module_cmds_CXX= |
14438 |
module_expsym_cmds_CXX= |
|
14439 |
link_all_deplibs_CXX=unknown |
|
14440 |
old_archive_cmds_CXX=$old_archive_cmds |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14441 |
reload_flag_CXX=$reload_flag |
14442 |
reload_cmds_CXX=$reload_cmds |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14443 |
no_undefined_flag_CXX= |
14444 |
whole_archive_flag_spec_CXX= |
|
14445 |
enable_shared_with_static_runtimes_CXX=no |
|
14446 |
||
14447 |
# Source file extension for C++ test sources. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14448 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14449 |
|
14450 |
# Object file extension for compiled C++ test sources. |
|
14451 |
objext=o |
|
14452 |
objext_CXX=$objext |
|
14453 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14454 |
# No sense in running all these tests if we already determined that |
14455 |
# the CXX compiler isn't working. Some variables (like enable_shared) |
|
14456 |
# are currently assumed to apply to all compilers on this platform, |
|
14457 |
# and will be corrupted by setting them based on a non-working compiler. |
|
14458 |
if test "$_lt_caught_CXX_error" != yes; then |
|
14459 |
# Code to be used in simple compile tests |
|
14460 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
14461 |
||
14462 |
# Code to be used in simple link tests |
|
14463 |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
|
14464 |
||
14465 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
14466 |
||
14467 |
||
14468 |
||
14469 |
||
14470 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14471 |
|
14472 |
# If no C compiler was specified, use CC. |
|
14473 |
LTCC=${LTCC-"$CC"} |
|
14474 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14475 |
# If no C compiler flags were specified, use CFLAGS. |
14476 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
14477 |
||
14478 |
# Allow CC to be a program name with arguments. |
|
14479 |
compiler=$CC |
|
14480 |
||
14481 |
||
14482 |
# save warnings/boilerplate of simple test code |
|
14483 |
ac_outfile=conftest.$ac_objext |
|
14484 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
14485 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14486 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
14487 |
$RM conftest* |
|
14488 |
||
14489 |
ac_outfile=conftest.$ac_objext |
|
14490 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
14491 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14492 |
_lt_linker_boilerplate=`cat conftest.err` |
|
14493 |
$RM -r conftest* |
|
14494 |
||
14495 |
||
14496 |
# Allow CC to be a program name with arguments. |
|
14497 |
lt_save_CC=$CC |
|
14498 |
lt_save_CFLAGS=$CFLAGS |
|
14499 |
lt_save_LD=$LD |
|
14500 |
lt_save_GCC=$GCC |
|
14501 |
GCC=$GXX |
|
14502 |
lt_save_with_gnu_ld=$with_gnu_ld |
|
14503 |
lt_save_path_LD=$lt_cv_path_LD |
|
14504 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
|
14505 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
|
14506 |
else |
|
14507 |
$as_unset lt_cv_prog_gnu_ld |
|
14508 |
fi |
|
14509 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
|
14510 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
|
14511 |
else |
|
14512 |
$as_unset lt_cv_path_LD |
|
14513 |
fi |
|
14514 |
test -z "${LDCXX+set}" || LD=$LDCXX |
|
14515 |
CC=${CXX-"c++"} |
|
14516 |
CFLAGS=$CXXFLAGS |
|
14517 |
compiler=$CC |
|
14518 |
compiler_CXX=$CC |
|
14519 |
for cc_temp in $compiler""; do |
|
14520 |
case $cc_temp in |
|
14521 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14522 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14523 |
\-*) ;; |
|
14524 |
*) break;; |
|
14525 |
esac |
|
14526 |
done |
|
14527 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
14528 |
||
14529 |
||
14530 |
if test -n "$compiler"; then |
|
14531 |
# We don't want -fno-exception when compiling C++ code, so set the |
|
14532 |
# no_builtin_flag separately |
|
14533 |
if test "$GXX" = yes; then |
|
14534 |
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
|
14535 |
else |
|
14536 |
lt_prog_compiler_no_builtin_flag_CXX= |
|
14537 |
fi |
|
14538 |
||
14539 |
if test "$GXX" = yes; then |
|
14540 |
# Set up default GNU C++ configuration |
|
14541 |
||
14542 |
||
14543 |
||
14544 |
# Check whether --with-gnu-ld was given. |
|
14545 |
if test "${with_gnu_ld+set}" = set; then : |
|
14546 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14547 |
else |
14548 |
with_gnu_ld=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14549 |
fi |
14550 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14551 |
ac_prog=ld |
14552 |
if test "$GCC" = yes; then |
|
14553 |
# Check if gcc -print-prog-name=ld gives a path. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
14555 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14556 |
case $host in |
14557 |
*-*-mingw*) |
|
14558 |
# gcc leaves a trailing carriage return which upsets mingw |
|
14559 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
14560 |
*) |
|
14561 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
14562 |
esac |
|
14563 |
case $ac_prog in |
|
14564 |
# Accept absolute paths. |
|
14565 |
[\\/]* | ?:[\\/]*) |
|
14566 |
re_direlt='/[^/][^/]*/\.\./' |
|
14567 |
# Canonicalize the pathname of ld |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14568 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
14569 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
14570 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14571 |
done |
14572 |
test -z "$LD" && LD="$ac_prog" |
|
14573 |
;; |
|
14574 |
"") |
|
14575 |
# If it fails, then pretend we aren't using GCC. |
|
14576 |
ac_prog=ld |
|
14577 |
;; |
|
14578 |
*) |
|
14579 |
# If it is relative, then search for the first ld in PATH. |
|
14580 |
with_gnu_ld=unknown |
|
14581 |
;; |
|
14582 |
esac |
|
14583 |
elif test "$with_gnu_ld" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
14585 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14586 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
14588 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14589 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14590 |
if ${lt_cv_path_LD+:} false; then : |
14591 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14592 |
else |
14593 |
if test -z "$LD"; then |
|
14594 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
14595 |
for ac_dir in $PATH; do |
|
14596 |
IFS="$lt_save_ifs" |
|
14597 |
test -z "$ac_dir" && ac_dir=. |
|
14598 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
14599 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
14600 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14601 |
# but apparently some variants of GNU ld only accept -v. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14602 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
14603 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
14604 |
*GNU* | *'with BFD'*) |
|
14605 |
test "$with_gnu_ld" != no && break |
|
14606 |
;; |
|
14607 |
*) |
|
14608 |
test "$with_gnu_ld" != yes && break |
|
14609 |
;; |
|
14610 |
esac |
|
14611 |
fi |
|
14612 |
done |
|
14613 |
IFS="$lt_save_ifs" |
|
14614 |
else |
|
14615 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
14616 |
fi |
|
14617 |
fi |
|
14618 |
||
14619 |
LD="$lt_cv_path_LD" |
|
14620 |
if test -n "$LD"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14621 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
14622 |
$as_echo "$LD" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14623 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14625 |
$as_echo "no" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14626 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14627 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
14628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
14629 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
14630 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
|
14631 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14632 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14633 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14634 |
case `$LD -v 2>&1 </dev/null` in |
14635 |
*GNU* | *'with BFD'*) |
|
14636 |
lt_cv_prog_gnu_ld=yes |
|
14637 |
;; |
|
14638 |
*) |
|
14639 |
lt_cv_prog_gnu_ld=no |
|
14640 |
;; |
|
14641 |
esac |
|
14642 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14643 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
14644 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14645 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
14646 |
||
14647 |
||
14648 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14649 |
|
14650 |
||
14651 |
||
14652 |
||
14653 |
# Check if GNU C++ uses GNU ld as the underlying linker, since the |
|
14654 |
# archiving commands below assume that GNU ld is being used. |
|
14655 |
if test "$with_gnu_ld" = yes; then |
|
14656 |
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14657 |
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' |
|
14658 |
||
14659 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14660 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14661 |
||
14662 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
14663 |
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
|
14664 |
# investigate it a little bit more. (MM) |
|
14665 |
wlarc='${wl}' |
|
14666 |
||
14667 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
14668 |
if eval "`$CC -print-prog-name=ld` --help 2>&1" | |
|
14669 |
$GREP 'no-whole-archive' > /dev/null; then |
|
14670 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
14671 |
else |
|
14672 |
whole_archive_flag_spec_CXX= |
|
14673 |
fi |
|
14674 |
else |
|
14675 |
with_gnu_ld=no |
|
14676 |
wlarc= |
|
14677 |
||
14678 |
# A generic and very simple default shared library creation |
|
14679 |
# command for GNU C++ for the case where it uses the native |
|
14680 |
# linker, instead of GNU ld. If possible, this setting should |
|
14681 |
# overridden to take advantage of the native linker features on |
|
14682 |
# the platform it is being used on. |
|
14683 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
14684 |
fi |
|
14685 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14686 |
# Commands to make compiler produce verbose output that lists |
14687 |
# what "hidden" libraries, object files and flags are used when |
|
14688 |
# linking a shared library. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14689 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
14690 |
||
14691 |
else |
|
14692 |
GXX=no |
|
14693 |
with_gnu_ld=no |
|
14694 |
wlarc= |
|
14695 |
fi |
|
14696 |
||
14697 |
# PORTME: fill in a description of your system's C++ link characteristics |
|
14698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
14699 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
14700 |
ld_shlibs_CXX=yes |
|
14701 |
case $host_os in |
|
14702 |
aix3*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
14703 |
# FIXME: insert proper C++ library support |
14704 |
ld_shlibs_CXX=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
14705 |
;; |
14706 |
aix[4-9]*) |
|
14707 |
if test "$host_cpu" = ia64; then |
|
14708 |
# On IA64, the linker does run time linking by default, so we don't |
|
14709 |
# have to do anything special. |
|
14710 |
aix_use_runtimelinking=no |
|
14711 |
exp_sym_flag='-Bexport' |
|
14712 |
no_entry_flag="" |
|
14713 |
else |
|
14714 |
aix_use_runtimelinking=no |
|
14715 |
||
14716 |
# Test if we are trying to use run time linking or normal |
|
14717 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
14718 |
# need to do runtime linking. |
|
14719 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
14720 |
for ld_flag in $LDFLAGS; do |
|
14721 |
case $ld_flag in |
|
14722 |
*-brtl*) |
|
14723 |
aix_use_runtimelinking=yes |
|
14724 |
break |
|
14725 |
;; |
|
14726 |
esac |
|
14727 |
done |
|
14728 |
;; |
|
14729 |
esac |
|
14730 |
||
14731 |
exp_sym_flag='-bexport' |
|
14732 |
no_entry_flag='-bnoentry' |
|
14733 |
fi |
|
14734 |
||
14735 |
# When large executables or shared objects are built, AIX ld can |
|
14736 |
# have problems creating the table of contents. If linking a library |
|
14737 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
14738 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
14739 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
14740 |
||
14741 |
archive_cmds_CXX='' |
|
14742 |
hardcode_direct_CXX=yes |
|
14743 |
hardcode_direct_absolute_CXX=yes |
|
14744 |
hardcode_libdir_separator_CXX=':' |
|
14745 |
link_all_deplibs_CXX=yes |
|
14746 |
file_list_spec_CXX='${wl}-f,' |
|
14747 |
||
14748 |
if test "$GXX" = yes; then |
|
14749 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
14750 |
# We only want to do this on AIX 4.2 and lower, the check |
|
14751 |
# below for broken collect2 doesn't work under 4.3+ |
|
14752 |
collect2name=`${CC} -print-prog-name=collect2` |
|
14753 |
if test -f "$collect2name" && |
|
14754 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
14755 |
then |
|
14756 |
# We have reworked collect2 |
|
14757 |
: |
|
14758 |
else |
|
14759 |
# We have old collect2 |
|
14760 |
hardcode_direct_CXX=unsupported |
|
14761 |
# It fails to find uninstalled libraries when the uninstalled |
|
14762 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
14763 |
# to unsupported forces relinking |
|
14764 |
hardcode_minus_L_CXX=yes |
|
14765 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
14766 |
hardcode_libdir_separator_CXX= |
|
14767 |
fi |
|
14768 |
esac |
|
14769 |
shared_flag='-shared' |
|
14770 |
if test "$aix_use_runtimelinking" = yes; then |
|
14771 |
shared_flag="$shared_flag "'${wl}-G' |
|
14772 |
fi |
|
14773 |
else |
|
14774 |
# not using gcc |
|
14775 |
if test "$host_cpu" = ia64; then |
|
14776 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
14777 |
# chokes on -Wl,-G. The following line is correct: |
|
14778 |
shared_flag='-G' |
|
14779 |
else |
|
14780 |
if test "$aix_use_runtimelinking" = yes; then |
|
14781 |
shared_flag='${wl}-G' |
|
14782 |
else |
|
14783 |
shared_flag='${wl}-bM:SRE' |
|
14784 |
fi |
|
14785 |
fi |
|
14786 |
fi |
|
14787 |
||
14788 |
export_dynamic_flag_spec_CXX='${wl}-bexpall' |
|
14789 |
# It seems that -bexpall does not export symbols beginning with |
|
14790 |
# underscore (_), so it is better to generate a list of symbols to |
|
14791 |
# export. |
|
14792 |
always_export_symbols_CXX=yes |
|
14793 |
if test "$aix_use_runtimelinking" = yes; then |
|
14794 |
# Warning - without using the other runtime loading flags (-brtl), |
|
14795 |
# -berok will link without error, but may produce a broken library. |
|
14796 |
allow_undefined_flag_CXX='-berok' |
|
14797 |
# Determine the default libpath from the value encoded in an empty |
|
14798 |
# executable. |
|
14799 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
14800 |
aix_libpath=$lt_cv_aix_libpath |
|
14801 |
else |
|
14802 |
if ${lt_cv_aix_libpath__CXX+:} false; then : |
|
14803 |
$as_echo_n "(cached) " >&6 |
|
14804 |
else |
|
14805 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14806 |
/* end confdefs.h. */ |
|
14807 |
||
14808 |
int |
|
14809 |
main () |
|
14810 |
{ |
|
14811 |
||
14812 |
; |
|
14813 |
return 0; |
|
14814 |
} |
|
14815 |
_ACEOF |
|
14816 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
14817 |
||
14818 |
lt_aix_libpath_sed=' |
|
14819 |
/Import File Strings/,/^$/ { |
|
14820 |
/^0/ { |
|
14821 |
s/^0 *\([^ ]*\) *$/\1/ |
|
14822 |
p |
|
14823 |
} |
|
14824 |
}' |
|
14825 |
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14826 |
# Check for a 64-bit object if we didn't find anything. |
|
14827 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
14828 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14829 |
fi |
|
14830 |
fi |
|
14831 |
rm -f core conftest.err conftest.$ac_objext \ |
|
14832 |
conftest$ac_exeext conftest.$ac_ext |
|
14833 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
14834 |
lt_cv_aix_libpath__CXX="/usr/lib:/lib" |
|
14835 |
fi |
|
14836 |
||
14837 |
fi |
|
14838 |
||
14839 |
aix_libpath=$lt_cv_aix_libpath__CXX |
|
14840 |
fi |
|
14841 |
||
14842 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
14843 |
||
14844 |
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" |
|
14845 |
else |
|
14846 |
if test "$host_cpu" = ia64; then |
|
14847 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
|
14848 |
allow_undefined_flag_CXX="-z nodefs" |
|
14849 |
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" |
|
14850 |
else |
|
14851 |
# Determine the default libpath from the value encoded in an |
|
14852 |
# empty executable. |
|
14853 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
14854 |
aix_libpath=$lt_cv_aix_libpath |
|
14855 |
else |
|
14856 |
if ${lt_cv_aix_libpath__CXX+:} false; then : |
|
14857 |
$as_echo_n "(cached) " >&6 |
|
14858 |
else |
|
14859 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
14860 |
/* end confdefs.h. */ |
|
14861 |
||
14862 |
int |
|
14863 |
main () |
|
14864 |
{ |
|
14865 |
||
14866 |
; |
|
14867 |
return 0; |
|
14868 |
} |
|
14869 |
_ACEOF |
|
14870 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
14871 |
||
14872 |
lt_aix_libpath_sed=' |
|
14873 |
/Import File Strings/,/^$/ { |
|
14874 |
/^0/ { |
|
14875 |
s/^0 *\([^ ]*\) *$/\1/ |
|
14876 |
p |
|
14877 |
} |
|
14878 |
}' |
|
14879 |
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14880 |
# Check for a 64-bit object if we didn't find anything. |
|
14881 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
14882 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14883 |
fi |
|
14884 |
fi |
|
14885 |
rm -f core conftest.err conftest.$ac_objext \ |
|
14886 |
conftest$ac_exeext conftest.$ac_ext |
|
14887 |
if test -z "$lt_cv_aix_libpath__CXX"; then |
|
14888 |
lt_cv_aix_libpath__CXX="/usr/lib:/lib" |
|
14889 |
fi |
|
14890 |
||
14891 |
fi |
|
14892 |
||
14893 |
aix_libpath=$lt_cv_aix_libpath__CXX |
|
14894 |
fi |
|
14895 |
||
14896 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
14897 |
# Warning - without using the other run time loading flags, |
|
14898 |
# -berok will link without error, but may produce a broken library. |
|
14899 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
|
14900 |
allow_undefined_flag_CXX=' ${wl}-berok' |
|
14901 |
if test "$with_gnu_ld" = yes; then |
|
14902 |
# We only use this code for GNU lds that support --whole-archive. |
|
14903 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
14904 |
else |
|
14905 |
# Exported symbols can be pulled into shared objects from archives |
|
14906 |
whole_archive_flag_spec_CXX='$convenience' |
|
14907 |
fi |
|
14908 |
archive_cmds_need_lc_CXX=yes |
|
14909 |
# This is similar to how AIX traditionally builds its shared |
|
14910 |
# libraries. |
|
14911 |
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' |
|
14912 |
fi |
|
14913 |
fi |
|
14914 |
;; |
|
14915 |
||
14916 |
beos*) |
|
14917 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
14918 |
allow_undefined_flag_CXX=unsupported |
|
14919 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
14920 |
# support --undefined. This deserves some investigation. FIXME |
|
14921 |
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14922 |
else |
|
14923 |
ld_shlibs_CXX=no |
|
14924 |
fi |
|
14925 |
;; |
|
14926 |
||
14927 |
chorus*) |
|
14928 |
case $cc_basename in |
|
14929 |
*) |
|
14930 |
# FIXME: insert proper C++ library support |
|
14931 |
ld_shlibs_CXX=no |
|
14932 |
;; |
|
14933 |
esac |
|
14934 |
;; |
|
14935 |
||
14936 |
cygwin* | mingw* | pw32* | cegcc*) |
|
14937 |
case $GXX,$cc_basename in |
|
14938 |
,cl* | no,cl*) |
|
14939 |
# Native MSVC |
|
14940 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
14941 |
# no search path for DLLs. |
|
14942 |
hardcode_libdir_flag_spec_CXX=' ' |
|
14943 |
allow_undefined_flag_CXX=unsupported |
|
14944 |
always_export_symbols_CXX=yes |
|
14945 |
file_list_spec_CXX='@' |
|
14946 |
# Tell ltmain to make .lib files, not .a files. |
|
14947 |
libext=lib |
|
14948 |
# Tell ltmain to make .dll files, not .so files. |
|
14949 |
shrext_cmds=".dll" |
|
14950 |
# FIXME: Setting linknames here is a bad hack. |
|
14951 |
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
14952 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
14953 |
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
14954 |
else |
|
14955 |
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
14956 |
fi~ |
|
14957 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
14958 |
linknames=' |
|
14959 |
# The linker will not automatically build a static lib if we build a DLL. |
|
14960 |
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' |
|
14961 |
enable_shared_with_static_runtimes_CXX=yes |
|
14962 |
# Don't use ranlib |
|
14963 |
old_postinstall_cmds_CXX='chmod 644 $oldlib' |
|
14964 |
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ |
|
14965 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
14966 |
case $lt_outputfile in |
|
14967 |
*.exe|*.EXE) ;; |
|
14968 |
*) |
|
14969 |
lt_outputfile="$lt_outputfile.exe" |
|
14970 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
14971 |
;; |
|
14972 |
esac~ |
|
14973 |
func_to_tool_file "$lt_outputfile"~ |
|
14974 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
14975 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
14976 |
$RM "$lt_outputfile.manifest"; |
|
14977 |
fi' |
|
14978 |
;; |
|
14979 |
*) |
|
14980 |
# g++ |
|
14981 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
|
14982 |
# as there is no search path for DLLs. |
|
14983 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
14984 |
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' |
|
14985 |
allow_undefined_flag_CXX=unsupported |
|
14986 |
always_export_symbols_CXX=no |
|
14987 |
enable_shared_with_static_runtimes_CXX=yes |
|
14988 |
||
14989 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
14990 |
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' |
|
14991 |
# If the export-symbols file already is a .def file (1st line |
|
14992 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
14993 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
14994 |
cp $export_symbols $output_objdir/$soname.def; |
|
14995 |
else |
|
14996 |
echo EXPORTS > $output_objdir/$soname.def; |
|
14997 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
14998 |
fi~ |
|
14999 |
$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' |
|
15000 |
else |
|
15001 |
ld_shlibs_CXX=no |
|
15002 |
fi |
|
15003 |
;; |
|
15004 |
esac |
|
15005 |
;; |
|
15006 |
darwin* | rhapsody*) |
|
15007 |
||
15008 |
||
15009 |
archive_cmds_need_lc_CXX=no |
|
15010 |
hardcode_direct_CXX=no |
|
15011 |
hardcode_automatic_CXX=yes |
|
15012 |
hardcode_shlibpath_var_CXX=unsupported |
|
15013 |
if test "$lt_cv_ld_force_load" = "yes"; then |
|
15014 |
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\"`' |
|
15015 |
else |
|
15016 |
whole_archive_flag_spec_CXX='' |
|
15017 |
fi |
|
15018 |
link_all_deplibs_CXX=yes |
|
15019 |
allow_undefined_flag_CXX="$_lt_dar_allow_undefined" |
|
15020 |
case $cc_basename in |
|
15021 |
ifort*) _lt_dar_can_shared=yes ;; |
|
15022 |
*) _lt_dar_can_shared=$GCC ;; |
|
15023 |
esac |
|
15024 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
15025 |
output_verbose_link_cmd=func_echo_all |
|
15026 |
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}" |
|
15027 |
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
15028 |
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}" |
|
15029 |
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}" |
|
15030 |
if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
|
15031 |
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}" |
|
15032 |
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}" |
|
15033 |
fi |
|
15034 |
||
15035 |
else |
|
15036 |
ld_shlibs_CXX=no |
|
15037 |
fi |
|
15038 |
||
15039 |
;; |
|
15040 |
||
15041 |
dgux*) |
|
15042 |
case $cc_basename in |
|
15043 |
ec++*) |
|
15044 |
# FIXME: insert proper C++ library support |
|
15045 |
ld_shlibs_CXX=no |
|
15046 |
;; |
|
15047 |
ghcx*) |
|
15048 |
# Green Hills C++ Compiler |
|
15049 |
# FIXME: insert proper C++ library support |
|
15050 |
ld_shlibs_CXX=no |
|
15051 |
;; |
|
15052 |
*) |
|
15053 |
# FIXME: insert proper C++ library support |
|
15054 |
ld_shlibs_CXX=no |
|
15055 |
;; |
|
15056 |
esac |
|
15057 |
;; |
|
15058 |
||
15059 |
freebsd[12]*) |
|
15060 |
# C++ shared libraries reported to be fairly broken before |
|
15061 |
# switch to ELF |
|
15062 |
ld_shlibs_CXX=no |
|
15063 |
;; |
|
15064 |
||
15065 |
freebsd-elf*) |
|
15066 |
archive_cmds_need_lc_CXX=no |
|
15067 |
;; |
|
15068 |
||
15069 |
freebsd* | dragonfly*) |
|
15070 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
|
15071 |
# conventions |
|
15072 |
ld_shlibs_CXX=yes |
|
15073 |
;; |
|
15074 |
||
15075 |
gnu*) |
|
15076 |
;; |
|
15077 |
||
15078 |
haiku*) |
|
15079 |
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
15080 |
link_all_deplibs_CXX=yes |
|
15081 |
;; |
|
15082 |
||
15083 |
hpux9*) |
|
15084 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
15085 |
hardcode_libdir_separator_CXX=: |
|
15086 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
15087 |
hardcode_direct_CXX=yes |
|
15088 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
15089 |
# but as the default |
|
15090 |
# location of the library. |
|
15091 |
||
15092 |
case $cc_basename in |
|
15093 |
CC*) |
|
15094 |
# FIXME: insert proper C++ library support |
|
15095 |
ld_shlibs_CXX=no |
|
15096 |
;; |
|
15097 |
aCC*) |
|
15098 |
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' |
|
15099 |
# Commands to make compiler produce verbose output that lists |
|
15100 |
# what "hidden" libraries, object files and flags are used when |
|
15101 |
# linking a shared library. |
|
15102 |
# |
|
15103 |
# There doesn't appear to be a way to prevent this compiler from |
|
15104 |
# explicitly linking system object files so we need to strip them |
|
15105 |
# from the output so that they don't get included in the library |
|
15106 |
# dependencies. |
|
15107 |
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"' |
|
15108 |
;; |
|
15109 |
*) |
|
15110 |
if test "$GXX" = yes; then |
|
15111 |
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' |
|
15112 |
else |
|
15113 |
# FIXME: insert proper C++ library support |
|
15114 |
ld_shlibs_CXX=no |
|
15115 |
fi |
|
15116 |
;; |
|
15117 |
esac |
|
15118 |
;; |
|
15119 |
||
15120 |
hpux10*|hpux11*) |
|
15121 |
if test $with_gnu_ld = no; then |
|
15122 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
15123 |
hardcode_libdir_separator_CXX=: |
|
15124 |
||
15125 |
case $host_cpu in |
|
15126 |
hppa*64*|ia64*) |
|
15127 |
;; |
|
15128 |
*) |
|
15129 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
15130 |
;; |
|
15131 |
esac |
|
15132 |
fi |
|
15133 |
case $host_cpu in |
|
15134 |
hppa*64*|ia64*) |
|
15135 |
hardcode_direct_CXX=no |
|
15136 |
hardcode_shlibpath_var_CXX=no |
|
15137 |
;; |
|
15138 |
*) |
|
15139 |
hardcode_direct_CXX=yes |
|
15140 |
hardcode_direct_absolute_CXX=yes |
|
15141 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
15142 |
# but as the default |
|
15143 |
# location of the library. |
|
15144 |
;; |
|
15145 |
esac |
|
15146 |
||
15147 |
case $cc_basename in |
|
15148 |
CC*) |
|
15149 |
# FIXME: insert proper C++ library support |
|
15150 |
ld_shlibs_CXX=no |
|
15151 |
;; |
|
15152 |
aCC*) |
|
15153 |
case $host_cpu in |
|
15154 |
hppa*64*) |
|
15155 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15156 |
;; |
|
15157 |
ia64*) |
|
15158 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15159 |
;; |
|
15160 |
*) |
|
15161 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15162 |
;; |
|
15163 |
esac |
|
15164 |
# Commands to make compiler produce verbose output that lists |
|
15165 |
# what "hidden" libraries, object files and flags are used when |
|
15166 |
# linking a shared library. |
|
15167 |
# |
|
15168 |
# There doesn't appear to be a way to prevent this compiler from |
|
15169 |
# explicitly linking system object files so we need to strip them |
|
15170 |
# from the output so that they don't get included in the library |
|
15171 |
# dependencies. |
|
15172 |
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"' |
|
15173 |
;; |
|
15174 |
*) |
|
15175 |
if test "$GXX" = yes; then |
|
15176 |
if test $with_gnu_ld = no; then |
|
15177 |
case $host_cpu in |
|
15178 |
hppa*64*) |
|
15179 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15180 |
;; |
|
15181 |
ia64*) |
|
15182 |
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15183 |
;; |
|
15184 |
*) |
|
15185 |
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' |
|
15186 |
;; |
|
15187 |
esac |
|
15188 |
fi |
|
15189 |
else |
|
15190 |
# FIXME: insert proper C++ library support |
|
15191 |
ld_shlibs_CXX=no |
|
15192 |
fi |
|
15193 |
;; |
|
15194 |
esac |
|
15195 |
;; |
|
15196 |
||
15197 |
interix[3-9]*) |
|
15198 |
hardcode_direct_CXX=no |
|
15199 |
hardcode_shlibpath_var_CXX=no |
|
15200 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15201 |
export_dynamic_flag_spec_CXX='${wl}-E' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15202 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
15203 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
15204 |
# default) and relocated if they conflict, which is a slow very memory |
|
15205 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
15206 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
15207 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
15208 |
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' |
|
15209 |
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' |
|
15210 |
;; |
|
15211 |
irix5* | irix6*) |
|
15212 |
case $cc_basename in |
|
15213 |
CC*) |
|
15214 |
# SGI C++ |
|
15215 |
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' |
|
15216 |
||
15217 |
# Archives containing C++ object files must be created using |
|
15218 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
|
15219 |
# necessary to make sure instantiated templates are included |
|
15220 |
# in the archive. |
|
15221 |
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
|
15222 |
;; |
|
15223 |
*) |
|
15224 |
if test "$GXX" = yes; then |
|
15225 |
if test "$with_gnu_ld" = no; then |
|
15226 |
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' |
|
15227 |
else |
|
15228 |
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' |
|
15229 |
fi |
|
15230 |
fi |
|
15231 |
link_all_deplibs_CXX=yes |
|
15232 |
;; |
|
15233 |
esac |
|
15234 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
15235 |
hardcode_libdir_separator_CXX=: |
|
15236 |
inherit_rpath_CXX=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15237 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15238 |
|
15239 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
15240 |
case $cc_basename in |
|
15241 |
KCC*) |
|
15242 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
15243 |
||
15244 |
# KCC will only create a shared library if the output file |
|
15245 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
15246 |
# to its proper name (with version) after linking. |
|
15247 |
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' |
|
15248 |
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' |
|
15249 |
# Commands to make compiler produce verbose output that lists |
|
15250 |
# what "hidden" libraries, object files and flags are used when |
|
15251 |
# linking a shared library. |
|
15252 |
# |
|
15253 |
# There doesn't appear to be a way to prevent this compiler from |
|
15254 |
# explicitly linking system object files so we need to strip them |
|
15255 |
# from the output so that they don't get included in the library |
|
15256 |
# dependencies. |
|
15257 |
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"' |
|
15258 |
||
15259 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
15260 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
15261 |
||
15262 |
# Archives containing C++ object files must be created using |
|
15263 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
15264 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
15265 |
;; |
|
15266 |
icpc* | ecpc* ) |
|
15267 |
# Intel C++ |
|
15268 |
with_gnu_ld=yes |
|
15269 |
# version 8.0 and above of icpc choke on multiply defined symbols |
|
15270 |
# if we add $predep_objects and $postdep_objects, however 7.1 and |
|
15271 |
# earlier do not add the objects themselves. |
|
15272 |
case `$CC -V 2>&1` in |
|
15273 |
*"Version 7."*) |
|
15274 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
15275 |
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' |
|
15276 |
;; |
|
15277 |
*) # Version 8.0 or newer |
|
15278 |
tmp_idyn= |
|
15279 |
case $host_cpu in |
|
15280 |
ia64*) tmp_idyn=' -i_dynamic';; |
|
15281 |
esac |
|
15282 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
15283 |
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' |
|
15284 |
;; |
|
15285 |
esac |
|
15286 |
archive_cmds_need_lc_CXX=no |
|
15287 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
15288 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
15289 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
15290 |
;; |
|
15291 |
pgCC* | pgcpp*) |
|
15292 |
# Portland Group C++ compiler |
|
15293 |
case `$CC -V` in |
|
15294 |
*pgCC\ [1-5].* | *pgcpp\ [1-5].*) |
|
15295 |
prelink_cmds_CXX='tpldir=Template.dir~ |
|
15296 |
rm -rf $tpldir~ |
|
15297 |
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
|
15298 |
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
|
15299 |
old_archive_cmds_CXX='tpldir=Template.dir~ |
|
15300 |
rm -rf $tpldir~ |
|
15301 |
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
|
15302 |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
|
15303 |
$RANLIB $oldlib' |
|
15304 |
archive_cmds_CXX='tpldir=Template.dir~ |
|
15305 |
rm -rf $tpldir~ |
|
15306 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
15307 |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
15308 |
archive_expsym_cmds_CXX='tpldir=Template.dir~ |
|
15309 |
rm -rf $tpldir~ |
|
15310 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
15311 |
$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' |
|
15312 |
;; |
|
15313 |
*) # Version 6 and above use weak symbols |
|
15314 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
15315 |
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' |
|
15316 |
;; |
|
15317 |
esac |
|
15318 |
||
15319 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
15320 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
15321 |
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' |
|
15322 |
;; |
|
15323 |
cxx*) |
|
15324 |
# Compaq C++ |
|
15325 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
15326 |
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' |
|
15327 |
||
15328 |
runpath_var=LD_RUN_PATH |
|
15329 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
15330 |
hardcode_libdir_separator_CXX=: |
|
15331 |
||
15332 |
# Commands to make compiler produce verbose output that lists |
|
15333 |
# what "hidden" libraries, object files and flags are used when |
|
15334 |
# linking a shared library. |
|
15335 |
# |
|
15336 |
# There doesn't appear to be a way to prevent this compiler from |
|
15337 |
# explicitly linking system object files so we need to strip them |
|
15338 |
# from the output so that they don't get included in the library |
|
15339 |
# dependencies. |
|
15340 |
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' |
|
15341 |
;; |
|
15342 |
xl* | mpixl* | bgxl*) |
|
15343 |
# IBM XL 8.0 on PPC, with GNU ld |
|
15344 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
15345 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
15346 |
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
15347 |
if test "x$supports_anon_versioning" = xyes; then |
|
15348 |
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ |
|
15349 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
15350 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
15351 |
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
15352 |
fi |
|
15353 |
;; |
|
15354 |
*) |
|
15355 |
case `$CC -V 2>&1 | sed 5q` in |
|
15356 |
*Sun\ C*) |
|
15357 |
# Sun C++ 5.9 |
|
15358 |
no_undefined_flag_CXX=' -zdefs' |
|
15359 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15360 |
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' |
|
15361 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
15362 |
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' |
|
15363 |
compiler_needs_object_CXX=yes |
|
15364 |
||
15365 |
# Not sure whether something based on |
|
15366 |
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
|
15367 |
# would be better. |
|
15368 |
output_verbose_link_cmd='func_echo_all' |
|
15369 |
||
15370 |
# Archives containing C++ object files must be created using |
|
15371 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
15372 |
# necessary to make sure instantiated templates are included |
|
15373 |
# in the archive. |
|
15374 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
15375 |
;; |
|
15376 |
esac |
|
15377 |
;; |
|
15378 |
esac |
|
15379 |
;; |
|
15380 |
||
15381 |
lynxos*) |
|
15382 |
# FIXME: insert proper C++ library support |
|
15383 |
ld_shlibs_CXX=no |
|
15384 |
;; |
|
15385 |
||
15386 |
m88k*) |
|
15387 |
# FIXME: insert proper C++ library support |
|
15388 |
ld_shlibs_CXX=no |
|
15389 |
;; |
|
15390 |
||
15391 |
mvs*) |
|
15392 |
case $cc_basename in |
|
15393 |
cxx*) |
|
15394 |
# FIXME: insert proper C++ library support |
|
15395 |
ld_shlibs_CXX=no |
|
15396 |
;; |
|
15397 |
*) |
|
15398 |
# FIXME: insert proper C++ library support |
|
15399 |
ld_shlibs_CXX=no |
|
15400 |
;; |
|
15401 |
esac |
|
15402 |
;; |
|
15403 |
||
15404 |
netbsd*) |
|
15405 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
15406 |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
|
15407 |
wlarc= |
|
15408 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
15409 |
hardcode_direct_CXX=yes |
|
15410 |
hardcode_shlibpath_var_CXX=no |
|
15411 |
fi |
|
15412 |
# Workaround some broken pre-1.5 toolchains |
|
15413 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
|
15414 |
;; |
|
15415 |
||
15416 |
*nto* | *qnx*) |
|
15417 |
ld_shlibs_CXX=yes |
|
15418 |
;; |
|
15419 |
||
15420 |
openbsd2*) |
|
15421 |
# C++ shared libraries are fairly broken |
|
15422 |
ld_shlibs_CXX=no |
|
15423 |
;; |
|
15424 |
||
15425 |
openbsd*) |
|
15426 |
if test -f /usr/libexec/ld.so; then |
|
15427 |
hardcode_direct_CXX=yes |
|
15428 |
hardcode_shlibpath_var_CXX=no |
|
15429 |
hardcode_direct_absolute_CXX=yes |
|
15430 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
15431 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
15432 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
15433 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
15434 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
15435 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15436 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15437 |
output_verbose_link_cmd=func_echo_all |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15438 |
else |
15439 |
ld_shlibs_CXX=no |
|
15440 |
fi |
|
15441 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15442 |
|
15443 |
osf3* | osf4* | osf5*) |
|
15444 |
case $cc_basename in |
|
15445 |
KCC*) |
|
15446 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
15447 |
||
15448 |
# KCC will only create a shared library if the output file |
|
15449 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
15450 |
# to its proper name (with version) after linking. |
|
15451 |
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' |
|
15452 |
||
15453 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
15454 |
hardcode_libdir_separator_CXX=: |
|
15455 |
||
15456 |
# Archives containing C++ object files must be created using |
|
15457 |
# the KAI C++ compiler. |
|
15458 |
case $host in |
|
15459 |
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; |
|
15460 |
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; |
|
15461 |
esac |
|
15462 |
;; |
|
15463 |
RCC*) |
|
15464 |
# Rational C++ 2.4.1 |
|
15465 |
# FIXME: insert proper C++ library support |
|
15466 |
ld_shlibs_CXX=no |
|
15467 |
;; |
|
15468 |
cxx*) |
|
15469 |
case $host in |
|
15470 |
osf3*) |
|
15471 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
15472 |
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' |
|
15473 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
15474 |
;; |
|
15475 |
*) |
|
15476 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
|
15477 |
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' |
|
15478 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
|
15479 |
echo "-hidden">> $lib.exp~ |
|
15480 |
$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~ |
|
15481 |
$RM $lib.exp' |
|
15482 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
15483 |
;; |
|
15484 |
esac |
|
15485 |
||
15486 |
hardcode_libdir_separator_CXX=: |
|
15487 |
||
15488 |
# Commands to make compiler produce verbose output that lists |
|
15489 |
# what "hidden" libraries, object files and flags are used when |
|
15490 |
# linking a shared library. |
|
15491 |
# |
|
15492 |
# There doesn't appear to be a way to prevent this compiler from |
|
15493 |
# explicitly linking system object files so we need to strip them |
|
15494 |
# from the output so that they don't get included in the library |
|
15495 |
# dependencies. |
|
15496 |
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"' |
|
15497 |
;; |
|
15498 |
*) |
|
15499 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
15500 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
15501 |
case $host in |
|
15502 |
osf3*) |
|
15503 |
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' |
|
15504 |
;; |
|
15505 |
*) |
|
15506 |
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' |
|
15507 |
;; |
|
15508 |
esac |
|
15509 |
||
15510 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
15511 |
hardcode_libdir_separator_CXX=: |
|
15512 |
||
15513 |
# Commands to make compiler produce verbose output that lists |
|
15514 |
# what "hidden" libraries, object files and flags are used when |
|
15515 |
# linking a shared library. |
|
15516 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
|
15517 |
||
15518 |
else |
|
15519 |
# FIXME: insert proper C++ library support |
|
15520 |
ld_shlibs_CXX=no |
|
15521 |
fi |
|
15522 |
;; |
|
15523 |
esac |
|
15524 |
;; |
|
15525 |
||
15526 |
psos*) |
|
15527 |
# FIXME: insert proper C++ library support |
|
15528 |
ld_shlibs_CXX=no |
|
15529 |
;; |
|
15530 |
||
15531 |
sunos4*) |
|
15532 |
case $cc_basename in |
|
15533 |
CC*) |
|
15534 |
# Sun C++ 4.x |
|
15535 |
# FIXME: insert proper C++ library support |
|
15536 |
ld_shlibs_CXX=no |
|
15537 |
;; |
|
15538 |
lcc*) |
|
15539 |
# Lucid |
|
15540 |
# FIXME: insert proper C++ library support |
|
15541 |
ld_shlibs_CXX=no |
|
15542 |
;; |
|
15543 |
*) |
|
15544 |
# FIXME: insert proper C++ library support |
|
15545 |
ld_shlibs_CXX=no |
|
15546 |
;; |
|
15547 |
esac |
|
15548 |
;; |
|
15549 |
||
15550 |
solaris*) |
|
15551 |
case $cc_basename in |
|
15552 |
CC* | sunCC*) |
|
15553 |
# Sun C++ 4.2, 5.x and Centerline C++ |
|
15554 |
archive_cmds_need_lc_CXX=yes |
|
15555 |
no_undefined_flag_CXX=' -zdefs' |
|
15556 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
15557 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
15558 |
$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' |
|
15559 |
||
15560 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
15561 |
hardcode_shlibpath_var_CXX=no |
|
15562 |
case $host_os in |
|
15563 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
15564 |
*) |
|
15565 |
# The compiler driver will combine and reorder linker options, |
|
15566 |
# but understands `-z linker_flag'. |
|
15567 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
15568 |
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
|
15569 |
;; |
|
15570 |
esac |
|
15571 |
link_all_deplibs_CXX=yes |
|
15572 |
||
15573 |
output_verbose_link_cmd='func_echo_all' |
|
15574 |
||
15575 |
# Archives containing C++ object files must be created using |
|
15576 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
15577 |
# necessary to make sure instantiated templates are included |
|
15578 |
# in the archive. |
|
15579 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
15580 |
;; |
|
15581 |
gcx*) |
|
15582 |
# Green Hills C++ Compiler |
|
15583 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
15584 |
||
15585 |
# The C++ compiler must be used to create the archive. |
|
15586 |
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
|
15587 |
;; |
|
15588 |
*) |
|
15589 |
# GNU C++ compiler with Solaris linker |
|
15590 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
15591 |
no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
|
15592 |
if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
|
15593 |
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
15594 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
15595 |
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
15596 |
||
15597 |
# Commands to make compiler produce verbose output that lists |
|
15598 |
# what "hidden" libraries, object files and flags are used when |
|
15599 |
# linking a shared library. |
|
15600 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
|
15601 |
else |
|
15602 |
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
|
15603 |
# platform. |
|
15604 |
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
15605 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
15606 |
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
15607 |
||
15608 |
# Commands to make compiler produce verbose output that lists |
|
15609 |
# what "hidden" libraries, object files and flags are used when |
|
15610 |
# linking a shared library. |
|
15611 |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
|
15612 |
fi |
|
15613 |
||
15614 |
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
|
15615 |
case $host_os in |
|
15616 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
15617 |
*) |
|
15618 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
15619 |
;; |
|
15620 |
esac |
|
15621 |
fi |
|
15622 |
;; |
|
15623 |
esac |
|
15624 |
;; |
|
15625 |
||
15626 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
15627 |
no_undefined_flag_CXX='${wl}-z,text' |
|
15628 |
archive_cmds_need_lc_CXX=no |
|
15629 |
hardcode_shlibpath_var_CXX=no |
|
15630 |
runpath_var='LD_RUN_PATH' |
|
15631 |
||
15632 |
case $cc_basename in |
|
15633 |
CC*) |
|
15634 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15635 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15636 |
;; |
|
15637 |
*) |
|
15638 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15639 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15640 |
;; |
|
15641 |
esac |
|
15642 |
;; |
|
15643 |
||
15644 |
sysv5* | sco3.2v5* | sco5v6*) |
|
15645 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
15646 |
# link with -lc, and that would cause any symbols used from libc to |
|
15647 |
# always be unresolved, which means just about no library would |
|
15648 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
15649 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
15650 |
# as -z defs. |
|
15651 |
no_undefined_flag_CXX='${wl}-z,text' |
|
15652 |
allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15653 |
archive_cmds_need_lc_CXX=no |
15654 |
hardcode_shlibpath_var_CXX=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15655 |
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' |
15656 |
hardcode_libdir_separator_CXX=':' |
|
15657 |
link_all_deplibs_CXX=yes |
|
15658 |
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
15659 |
runpath_var='LD_RUN_PATH' |
|
15660 |
||
15661 |
case $cc_basename in |
|
15662 |
CC*) |
|
15663 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15664 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15665 |
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ |
|
15666 |
'"$old_archive_cmds_CXX" |
|
15667 |
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ |
|
15668 |
'"$reload_cmds_CXX" |
|
15669 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15670 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15671 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
15672 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15673 |
;; |
15674 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15675 |
;; |
15676 |
||
15677 |
tandem*) |
|
15678 |
case $cc_basename in |
|
15679 |
NCC*) |
|
15680 |
# NonStop-UX NCC 3.20 |
|
15681 |
# FIXME: insert proper C++ library support |
|
15682 |
ld_shlibs_CXX=no |
|
15683 |
;; |
|
15684 |
*) |
|
15685 |
# FIXME: insert proper C++ library support |
|
15686 |
ld_shlibs_CXX=no |
|
15687 |
;; |
|
15688 |
esac |
|
15689 |
;; |
|
15690 |
||
15691 |
vxworks*) |
|
15692 |
# FIXME: insert proper C++ library support |
|
15693 |
ld_shlibs_CXX=no |
|
15694 |
;; |
|
15695 |
||
15696 |
*) |
|
15697 |
# FIXME: insert proper C++ library support |
|
15698 |
ld_shlibs_CXX=no |
|
15699 |
;; |
|
15700 |
esac |
|
15701 |
||
15702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
|
15703 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
15704 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
|
15705 |
||
15706 |
GCC_CXX="$GXX" |
|
15707 |
LD_CXX="$LD" |
|
15708 |
||
15709 |
## CAVEAT EMPTOR: |
|
15710 |
## There is no encapsulation within the following macros, do not change |
|
15711 |
## the running order or otherwise move them around unless you know exactly |
|
15712 |
## what you are doing... |
|
15713 |
# Dependencies to place before and after the object being linked: |
|
15714 |
predep_objects_CXX= |
|
15715 |
postdep_objects_CXX= |
|
15716 |
predeps_CXX= |
|
15717 |
postdeps_CXX= |
|
15718 |
compiler_lib_search_path_CXX= |
|
15719 |
||
15720 |
cat > conftest.$ac_ext <<_LT_EOF |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15721 |
class Foo |
15722 |
{ |
|
15723 |
public: |
|
15724 |
Foo (void) { a = 0; } |
|
15725 |
private: |
|
15726 |
int a; |
|
15727 |
}; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15728 |
_LT_EOF |
15729 |
||
15730 |
||
15731 |
_lt_libdeps_save_CFLAGS=$CFLAGS |
|
15732 |
case "$CC $CFLAGS " in #( |
|
15733 |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
|
15734 |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
|
15735 |
esac |
|
15736 |
||
15737 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15738 |
(eval $ac_compile) 2>&5 |
15739 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15740 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15741 |
test $ac_status = 0; }; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15742 |
# Parse the compiler output and extract the necessary |
15743 |
# objects, libraries and library flags. |
|
15744 |
||
15745 |
# Sentinel used to keep track of whether or not we are before |
|
15746 |
# the conftest object file. |
|
15747 |
pre_test_object_deps_done=no |
|
15748 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15749 |
for p in `eval "$output_verbose_link_cmd"`; do |
15750 |
case ${prev}${p} in |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15751 |
|
15752 |
-L* | -R* | -l*) |
|
15753 |
# Some compilers place space between "-{L,R}" and the path. |
|
15754 |
# Remove the space. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15755 |
if test $p = "-L" || |
15756 |
test $p = "-R"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15757 |
prev=$p |
15758 |
continue |
|
15759 |
fi |
|
15760 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15761 |
# Expand the sysroot to ease extracting the directories later. |
15762 |
if test -z "$prev"; then |
|
15763 |
case $p in |
|
15764 |
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
|
15765 |
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
|
15766 |
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
|
15767 |
esac |
|
15768 |
fi |
|
15769 |
case $p in |
|
15770 |
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
|
15771 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15772 |
if test "$pre_test_object_deps_done" = no; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15773 |
case ${prev} in |
15774 |
-L | -R) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15775 |
# Internal compiler library paths should come after those |
15776 |
# provided the user. The postdeps already come after the |
|
15777 |
# user supplied libs so there is no need to process them. |
|
15778 |
if test -z "$compiler_lib_search_path_CXX"; then |
|
15779 |
compiler_lib_search_path_CXX="${prev}${p}" |
|
15780 |
else |
|
15781 |
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" |
|
15782 |
fi |
|
15783 |
;; |
|
15784 |
# The "-l" case would never come before the object being |
|
15785 |
# linked, so don't bother handling this case. |
|
15786 |
esac |
|
15787 |
else |
|
15788 |
if test -z "$postdeps_CXX"; then |
|
15789 |
postdeps_CXX="${prev}${p}" |
|
15790 |
else |
|
15791 |
postdeps_CXX="${postdeps_CXX} ${prev}${p}" |
|
15792 |
fi |
|
15793 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15794 |
prev= |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15795 |
;; |
15796 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15797 |
*.lto.$objext) ;; # Ignore GCC LTO objects |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15798 |
*.$objext) |
15799 |
# This assumes that the test object file only shows up |
|
15800 |
# once in the compiler output. |
|
15801 |
if test "$p" = "conftest.$objext"; then |
|
15802 |
pre_test_object_deps_done=yes |
|
15803 |
continue |
|
15804 |
fi |
|
15805 |
||
15806 |
if test "$pre_test_object_deps_done" = no; then |
|
15807 |
if test -z "$predep_objects_CXX"; then |
|
15808 |
predep_objects_CXX="$p" |
|
15809 |
else |
|
15810 |
predep_objects_CXX="$predep_objects_CXX $p" |
|
15811 |
fi |
|
15812 |
else |
|
15813 |
if test -z "$postdep_objects_CXX"; then |
|
15814 |
postdep_objects_CXX="$p" |
|
15815 |
else |
|
15816 |
postdep_objects_CXX="$postdep_objects_CXX $p" |
|
15817 |
fi |
|
15818 |
fi |
|
15819 |
;; |
|
15820 |
||
15821 |
*) ;; # Ignore the rest. |
|
15822 |
||
15823 |
esac |
|
15824 |
done |
|
15825 |
||
15826 |
# Clean up. |
|
15827 |
rm -f a.out a.exe |
|
15828 |
else |
|
15829 |
echo "libtool.m4: error: problem compiling CXX test program" |
|
15830 |
fi |
|
15831 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15832 |
$RM -f confest.$objext |
15833 |
CFLAGS=$_lt_libdeps_save_CFLAGS |
|
15834 |
||
15835 |
# PORTME: override above test on systems where it is broken |
|
15836 |
case $host_os in |
|
15837 |
interix[3-9]*) |
|
15838 |
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
15839 |
# hack all around it, let's just trust "g++" to DTRT. |
|
15840 |
predep_objects_CXX= |
|
15841 |
postdep_objects_CXX= |
|
15842 |
postdeps_CXX= |
|
15843 |
;; |
|
15844 |
||
15845 |
linux*) |
|
15846 |
case `$CC -V 2>&1 | sed 5q` in |
|
15847 |
*Sun\ C*) |
|
15848 |
# Sun C++ 5.9 |
|
15849 |
||
15850 |
# The more standards-conforming stlport4 library is |
|
15851 |
# incompatible with the Cstd library. Avoid specifying |
|
15852 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
15853 |
# -library=stlport4 depends on it. |
|
15854 |
case " $CXX $CXXFLAGS " in |
|
15855 |
*" -library=stlport4 "*) |
|
15856 |
solaris_use_stlport4=yes |
|
15857 |
;; |
|
15858 |
esac |
|
15859 |
||
15860 |
if test "$solaris_use_stlport4" != yes; then |
|
15861 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
15862 |
fi |
|
15863 |
;; |
|
15864 |
esac |
|
15865 |
;; |
|
15866 |
||
15867 |
solaris*) |
|
15868 |
case $cc_basename in |
|
15869 |
CC* | sunCC*) |
|
15870 |
# The more standards-conforming stlport4 library is |
|
15871 |
# incompatible with the Cstd library. Avoid specifying |
|
15872 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
15873 |
# -library=stlport4 depends on it. |
|
15874 |
case " $CXX $CXXFLAGS " in |
|
15875 |
*" -library=stlport4 "*) |
|
15876 |
solaris_use_stlport4=yes |
|
15877 |
;; |
|
15878 |
esac |
|
15879 |
||
15880 |
# Adding this requires a known-good setup of shared libraries for |
|
15881 |
# Sun compiler versions before 5.6, else PIC objects from an old |
|
15882 |
# archive will be linked into the output, leading to subtle bugs. |
|
15883 |
if test "$solaris_use_stlport4" != yes; then |
|
15884 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
15885 |
fi |
|
15886 |
;; |
|
15887 |
esac |
|
15888 |
;; |
|
15889 |
esac |
|
15890 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15891 |
|
15892 |
case " $postdeps_CXX " in |
|
15893 |
*" -lc "*) archive_cmds_need_lc_CXX=no ;; |
|
15894 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15895 |
compiler_lib_search_dirs_CXX= |
15896 |
if test -n "${compiler_lib_search_path_CXX}"; then |
|
15897 |
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
|
15898 |
fi |
|
15899 |
||
15900 |
||
15901 |
||
15902 |
||
15903 |
||
15904 |
||
15905 |
||
15906 |
||
15907 |
||
15908 |
||
15909 |
||
15910 |
||
15911 |
||
15912 |
||
15913 |
||
15914 |
||
15915 |
||
15916 |
||
15917 |
||
15918 |
||
15919 |
||
15920 |
||
15921 |
||
15922 |
||
15923 |
||
15924 |
||
15925 |
||
15926 |
||
15927 |
||
15928 |
||
15929 |
||
15930 |
lt_prog_compiler_wl_CXX= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15931 |
lt_prog_compiler_pic_CXX= |
15932 |
lt_prog_compiler_static_CXX= |
|
15933 |
||
15934 |
||
15935 |
# C++ specific cases for pic, static, wl, etc. |
|
15936 |
if test "$GXX" = yes; then |
|
15937 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15938 |
lt_prog_compiler_static_CXX='-static' |
|
15939 |
||
15940 |
case $host_os in |
|
15941 |
aix*) |
|
15942 |
# All AIX code is PIC. |
|
15943 |
if test "$host_cpu" = ia64; then |
|
15944 |
# AIX 5 now supports IA64 processor |
|
15945 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15946 |
fi |
|
15947 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15948 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15949 |
amigaos*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15950 |
case $host_cpu in |
15951 |
powerpc) |
|
15952 |
# see comment about AmigaOS4 .so support |
|
15953 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15954 |
;; |
|
15955 |
m68k) |
|
15956 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
15957 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
15958 |
# like `-m68040'. |
|
15959 |
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
|
15960 |
;; |
|
15961 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15962 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15963 |
|
15964 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15965 |
# PIC is the default for these OSes. |
15966 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15967 |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15968 |
# This hack is so that the source file can tell whether it is being |
15969 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15970 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
15971 |
# (--disable-auto-import) libraries |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15972 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
15973 |
;; |
|
15974 |
darwin* | rhapsody*) |
|
15975 |
# PIC is the default on this platform |
|
15976 |
# Common symbols not allowed in MH_DYLIB files |
|
15977 |
lt_prog_compiler_pic_CXX='-fno-common' |
|
15978 |
;; |
|
15979 |
*djgpp*) |
|
15980 |
# DJGPP does not support shared libraries at all |
|
15981 |
lt_prog_compiler_pic_CXX= |
|
15982 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15983 |
haiku*) |
15984 |
# PIC is the default for Haiku. |
|
15985 |
# The "-static" flag exists, but is broken. |
|
15986 |
lt_prog_compiler_static_CXX= |
|
15987 |
;; |
|
15988 |
interix[3-9]*) |
|
15989 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
15990 |
# Instead, we relocate shared libraries at runtime. |
|
15991 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
15992 |
sysv4*MP*) |
15993 |
if test -d /usr/nec; then |
|
15994 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
|
15995 |
fi |
|
15996 |
;; |
|
15997 |
hpux*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
15998 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
15999 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
16000 |
# sets the default TLS model and affects inlining. |
|
16001 |
case $host_cpu in |
|
16002 |
hppa*64*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16003 |
;; |
16004 |
*) |
|
16005 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
16006 |
;; |
|
16007 |
esac |
|
16008 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16009 |
*qnx* | *nto*) |
16010 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
16011 |
# it will coredump. |
|
16012 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
16013 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16014 |
*) |
16015 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
16016 |
;; |
|
16017 |
esac |
|
16018 |
else |
|
16019 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16020 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16021 |
# All AIX code is PIC. |
16022 |
if test "$host_cpu" = ia64; then |
|
16023 |
# AIX 5 now supports IA64 processor |
|
16024 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16025 |
else |
|
16026 |
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
|
16027 |
fi |
|
16028 |
;; |
|
16029 |
chorus*) |
|
16030 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16031 |
cxch68*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16032 |
# Green Hills C++ Compiler |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16033 |
# _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" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16034 |
;; |
16035 |
esac |
|
16036 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16037 |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
16038 |
# This hack is so that the source file can tell whether it is being |
|
16039 |
# built for inclusion in a dll (and should export symbols for example). |
|
16040 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
|
16041 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16042 |
dgux*) |
16043 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16044 |
ec++*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16045 |
lt_prog_compiler_pic_CXX='-KPIC' |
16046 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16047 |
ghcx*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16048 |
# Green Hills C++ Compiler |
16049 |
lt_prog_compiler_pic_CXX='-pic' |
|
16050 |
;; |
|
16051 |
*) |
|
16052 |
;; |
|
16053 |
esac |
|
16054 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16055 |
freebsd* | dragonfly*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16056 |
# FreeBSD uses GNU C++ |
16057 |
;; |
|
16058 |
hpux9* | hpux10* | hpux11*) |
|
16059 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16060 |
CC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16061 |
lt_prog_compiler_wl_CXX='-Wl,' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16062 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16063 |
if test "$host_cpu" != ia64; then |
16064 |
lt_prog_compiler_pic_CXX='+Z' |
|
16065 |
fi |
|
16066 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16067 |
aCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16068 |
lt_prog_compiler_wl_CXX='-Wl,' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16069 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
16070 |
case $host_cpu in |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16071 |
hppa*64*|ia64*) |
16072 |
# +Z the default |
|
16073 |
;; |
|
16074 |
*) |
|
16075 |
lt_prog_compiler_pic_CXX='+Z' |
|
16076 |
;; |
|
16077 |
esac |
|
16078 |
;; |
|
16079 |
*) |
|
16080 |
;; |
|
16081 |
esac |
|
16082 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16083 |
interix*) |
16084 |
# This is c89, which is MS Visual C++ (no shared libs) |
|
16085 |
# Anyone wants to do a port? |
|
16086 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16087 |
irix5* | irix6* | nonstopux*) |
16088 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16089 |
CC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16090 |
lt_prog_compiler_wl_CXX='-Wl,' |
16091 |
lt_prog_compiler_static_CXX='-non_shared' |
|
16092 |
# CC pic flag -KPIC is the default. |
|
16093 |
;; |
|
16094 |
*) |
|
16095 |
;; |
|
16096 |
esac |
|
16097 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16098 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16099 |
case $cc_basename in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16100 |
KCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16101 |
# KAI C++ Compiler |
16102 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
16103 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
16104 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16105 |
ecpc* ) |
16106 |
# old Intel C++ for x86_64 which still supported -KPIC. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16107 |
lt_prog_compiler_wl_CXX='-Wl,' |
16108 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
16109 |
lt_prog_compiler_static_CXX='-static' |
|
16110 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16111 |
icpc* ) |
16112 |
# Intel C++, used to be incompatible with GCC. |
|
16113 |
# ICC 10 doesn't accept -KPIC any more. |
|
16114 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
16115 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
16116 |
lt_prog_compiler_static_CXX='-static' |
|
16117 |
;; |
|
16118 |
pgCC* | pgcpp*) |
|
16119 |
# Portland Group C++ compiler |
|
16120 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
16121 |
lt_prog_compiler_pic_CXX='-fpic' |
|
16122 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16123 |
;; |
|
16124 |
cxx*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16125 |
# Compaq C++ |
16126 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
16127 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
16128 |
lt_prog_compiler_pic_CXX= |
|
16129 |
lt_prog_compiler_static_CXX='-non_shared' |
|
16130 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16131 |
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
16132 |
# IBM XL 8.0, 9.0 on PPC and BlueGene |
|
16133 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
16134 |
lt_prog_compiler_pic_CXX='-qpic' |
|
16135 |
lt_prog_compiler_static_CXX='-qstaticlink' |
|
16136 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16137 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16138 |
case `$CC -V 2>&1 | sed 5q` in |
16139 |
*Sun\ C*) |
|
16140 |
# Sun C++ 5.9 |
|
16141 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
16142 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16143 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
16144 |
;; |
|
16145 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16146 |
;; |
16147 |
esac |
|
16148 |
;; |
|
16149 |
lynxos*) |
|
16150 |
;; |
|
16151 |
m88k*) |
|
16152 |
;; |
|
16153 |
mvs*) |
|
16154 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16155 |
cxx*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16156 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
16157 |
;; |
|
16158 |
*) |
|
16159 |
;; |
|
16160 |
esac |
|
16161 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16162 |
netbsd* | netbsdelf*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16163 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16164 |
*qnx* | *nto*) |
16165 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
16166 |
# it will coredump. |
|
16167 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
16168 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16169 |
osf3* | osf4* | osf5*) |
16170 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16171 |
KCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16172 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
16173 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16174 |
RCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16175 |
# Rational C++ 2.4.1 |
16176 |
lt_prog_compiler_pic_CXX='-pic' |
|
16177 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16178 |
cxx*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16179 |
# Digital/Compaq C++ |
16180 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
16181 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
16182 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
16183 |
lt_prog_compiler_pic_CXX= |
|
16184 |
lt_prog_compiler_static_CXX='-non_shared' |
|
16185 |
;; |
|
16186 |
*) |
|
16187 |
;; |
|
16188 |
esac |
|
16189 |
;; |
|
16190 |
psos*) |
|
16191 |
;; |
|
16192 |
solaris*) |
|
16193 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16194 |
CC* | sunCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16195 |
# Sun C++ 4.2, 5.x and Centerline C++ |
16196 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
16197 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16198 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
16199 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16200 |
gcx*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16201 |
# Green Hills C++ Compiler |
16202 |
lt_prog_compiler_pic_CXX='-PIC' |
|
16203 |
;; |
|
16204 |
*) |
|
16205 |
;; |
|
16206 |
esac |
|
16207 |
;; |
|
16208 |
sunos4*) |
|
16209 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16210 |
CC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16211 |
# Sun C++ 4.x |
16212 |
lt_prog_compiler_pic_CXX='-pic' |
|
16213 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16214 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16215 |
lcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16216 |
# Lucid |
16217 |
lt_prog_compiler_pic_CXX='-pic' |
|
16218 |
;; |
|
16219 |
*) |
|
16220 |
;; |
|
16221 |
esac |
|
16222 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16223 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
16224 |
case $cc_basename in |
|
16225 |
CC*) |
|
16226 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
16227 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
16228 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
16229 |
;; |
|
16230 |
esac |
|
16231 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16232 |
tandem*) |
16233 |
case $cc_basename in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16234 |
NCC*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16235 |
# NonStop-UX NCC 3.20 |
16236 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
16237 |
;; |
|
16238 |
*) |
|
16239 |
;; |
|
16240 |
esac |
|
16241 |
;; |
|
16242 |
vxworks*) |
|
16243 |
;; |
|
16244 |
*) |
|
16245 |
lt_prog_compiler_can_build_shared_CXX=no |
|
16246 |
;; |
|
16247 |
esac |
|
16248 |
fi |
|
16249 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16250 |
case $host_os in |
16251 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
16252 |
*djgpp*) |
|
16253 |
lt_prog_compiler_pic_CXX= |
|
16254 |
;; |
|
16255 |
*) |
|
16256 |
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
|
16257 |
;; |
|
16258 |
esac |
|
16259 |
||
16260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
16261 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
16262 |
if ${lt_cv_prog_compiler_pic_CXX+:} false; then : |
|
16263 |
$as_echo_n "(cached) " >&6 |
|
16264 |
else |
|
16265 |
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX |
|
16266 |
fi |
|
16267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
|
16268 |
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } |
|
16269 |
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16270 |
|
16271 |
# |
|
16272 |
# Check to make sure the PIC flag actually works. |
|
16273 |
# |
|
16274 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
16276 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
|
16277 |
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : |
|
16278 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16279 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16280 |
lt_cv_prog_compiler_pic_works_CXX=no |
16281 |
ac_outfile=conftest.$ac_objext |
|
16282 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16283 |
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" |
16284 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
16285 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
16286 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
16287 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
16288 |
# The option is referenced via a variable to avoid confusing sed. |
|
16289 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16290 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16291 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16292 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16293 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16294 |
(eval "$lt_compile" 2>conftest.err) |
16295 |
ac_status=$? |
|
16296 |
cat conftest.err >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16297 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16298 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16299 |
# The compiler can only warn and ignore the option if not recognized |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16300 |
# So say no if there are warnings other than the usual output. |
16301 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
16302 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
16303 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
16304 |
lt_cv_prog_compiler_pic_works_CXX=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16305 |
fi |
16306 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16307 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16308 |
|
16309 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16310 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
16311 |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16312 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16313 |
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16314 |
case $lt_prog_compiler_pic_CXX in |
16315 |
"" | " "*) ;; |
|
16316 |
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
|
16317 |
esac |
|
16318 |
else |
|
16319 |
lt_prog_compiler_pic_CXX= |
|
16320 |
lt_prog_compiler_can_build_shared_CXX=no |
|
16321 |
fi |
|
16322 |
||
16323 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16324 |
|
16325 |
||
16326 |
||
16327 |
||
16328 |
||
16329 |
# |
|
16330 |
# Check to make sure the static flag actually works. |
|
16331 |
# |
|
16332 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
16333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
16334 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
16335 |
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : |
|
16336 |
$as_echo_n "(cached) " >&6 |
|
16337 |
else |
|
16338 |
lt_cv_prog_compiler_static_works_CXX=no |
|
16339 |
save_LDFLAGS="$LDFLAGS" |
|
16340 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
16341 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
16342 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
16343 |
# The linker can only warn and ignore the option if not recognized |
|
16344 |
# So say no if there are warnings |
|
16345 |
if test -s conftest.err; then |
|
16346 |
# Append any errors to the config.log. |
|
16347 |
cat conftest.err 1>&5 |
|
16348 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
16349 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
16350 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
16351 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
16352 |
fi |
|
16353 |
else |
|
16354 |
lt_cv_prog_compiler_static_works_CXX=yes |
|
16355 |
fi |
|
16356 |
fi |
|
16357 |
$RM -r conftest* |
|
16358 |
LDFLAGS="$save_LDFLAGS" |
|
16359 |
||
16360 |
fi |
|
16361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
|
16362 |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
|
16363 |
||
16364 |
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then |
|
16365 |
: |
|
16366 |
else |
|
16367 |
lt_prog_compiler_static_CXX= |
|
16368 |
fi |
|
16369 |
||
16370 |
||
16371 |
||
16372 |
||
16373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
16374 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
16375 |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : |
|
16376 |
$as_echo_n "(cached) " >&6 |
|
16377 |
else |
|
16378 |
lt_cv_prog_compiler_c_o_CXX=no |
|
16379 |
$RM -r conftest 2>/dev/null |
|
16380 |
mkdir conftest |
|
16381 |
cd conftest |
|
16382 |
mkdir out |
|
16383 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
16384 |
||
16385 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
16386 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
16387 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
16388 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
16389 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
16390 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
16391 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
16392 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
16393 |
-e 's:$: $lt_compiler_flag:'` |
|
16394 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
16395 |
(eval "$lt_compile" 2>out/conftest.err) |
|
16396 |
ac_status=$? |
|
16397 |
cat out/conftest.err >&5 |
|
16398 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
16399 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
16400 |
then |
|
16401 |
# The compiler can only warn and ignore the option if not recognized |
|
16402 |
# So say no if there are warnings |
|
16403 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
16404 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
16405 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
16406 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
16407 |
fi |
|
16408 |
fi |
|
16409 |
chmod u+w . 2>&5 |
|
16410 |
$RM conftest* |
|
16411 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
16412 |
# template instantiation |
|
16413 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
16414 |
$RM out/* && rmdir out |
|
16415 |
cd .. |
|
16416 |
$RM -r conftest |
|
16417 |
$RM conftest* |
|
16418 |
||
16419 |
fi |
|
16420 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
16421 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
16422 |
||
16423 |
||
16424 |
||
16425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
16426 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
16427 |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : |
|
16428 |
$as_echo_n "(cached) " >&6 |
|
16429 |
else |
|
16430 |
lt_cv_prog_compiler_c_o_CXX=no |
|
16431 |
$RM -r conftest 2>/dev/null |
|
16432 |
mkdir conftest |
|
16433 |
cd conftest |
|
16434 |
mkdir out |
|
16435 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
16436 |
||
16437 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
16438 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
16439 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
16440 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
16441 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
16442 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
16443 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
16444 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
16445 |
-e 's:$: $lt_compiler_flag:'` |
|
16446 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
16447 |
(eval "$lt_compile" 2>out/conftest.err) |
|
16448 |
ac_status=$? |
|
16449 |
cat out/conftest.err >&5 |
|
16450 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
16451 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
16452 |
then |
|
16453 |
# The compiler can only warn and ignore the option if not recognized |
|
16454 |
# So say no if there are warnings |
|
16455 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
16456 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
16457 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
16458 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
16459 |
fi |
|
16460 |
fi |
|
16461 |
chmod u+w . 2>&5 |
|
16462 |
$RM conftest* |
|
16463 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
16464 |
# template instantiation |
|
16465 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
16466 |
$RM out/* && rmdir out |
|
16467 |
cd .. |
|
16468 |
$RM -r conftest |
|
16469 |
$RM conftest* |
|
16470 |
||
16471 |
fi |
|
16472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
16473 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
16474 |
||
16475 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16476 |
|
16477 |
||
16478 |
hard_links="nottested" |
|
16479 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
|
16480 |
# do not overwrite the value of need_locks provided by the user |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
16482 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16483 |
hard_links=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16484 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16485 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
16486 |
touch conftest.a |
|
16487 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
16488 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
16490 |
$as_echo "$hard_links" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16491 |
if test "$hard_links" = no; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
16493 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16494 |
need_locks=warn |
16495 |
fi |
|
16496 |
else |
|
16497 |
need_locks=no |
|
16498 |
fi |
|
16499 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16500 |
|
16501 |
||
16502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
16503 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16504 |
|
16505 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16506 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16507 |
case $host_os in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16508 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16509 |
# If we're using GNU nm, then we don't want the "-C" option. |
16510 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16511 |
# Also, AIX nm treats weak defined symbols like other global defined |
16512 |
# symbols, whereas GNU nm marks them as "W". |
|
16513 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
16514 |
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' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16515 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16516 |
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' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16517 |
fi |
16518 |
;; |
|
16519 |
pw32*) |
|
16520 |
export_symbols_cmds_CXX="$ltdll_cmds" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16521 |
;; |
16522 |
cygwin* | mingw* | cegcc*) |
|
16523 |
case $cc_basename in |
|
16524 |
cl*) ;; |
|
16525 |
*) |
|
16526 |
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' |
|
16527 |
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
16528 |
;; |
|
16529 |
esac |
|
16530 |
;; |
|
16531 |
linux* | k*bsd*-gnu | gnu*) |
|
16532 |
link_all_deplibs_CXX=no |
|
16533 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16534 |
*) |
16535 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16536 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16537 |
esac |
16538 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
16540 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16541 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
16542 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16543 |
with_gnu_ld_CXX=$with_gnu_ld |
16544 |
||
16545 |
||
16546 |
||
16547 |
||
16548 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16549 |
|
16550 |
# |
|
16551 |
# Do we need to explicitly link libc? |
|
16552 |
# |
|
16553 |
case "x$archive_cmds_need_lc_CXX" in |
|
16554 |
x|xyes) |
|
16555 |
# Assume -lc should be added |
|
16556 |
archive_cmds_need_lc_CXX=yes |
|
16557 |
||
16558 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
16559 |
case $archive_cmds_CXX in |
|
16560 |
*'~'*) |
|
16561 |
# FIXME: we may have to deal with multi-command sequences. |
|
16562 |
;; |
|
16563 |
'$CC '*) |
|
16564 |
# Test whether the compiler implicitly links with -lc since on some |
|
16565 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
16566 |
# to ld, don't add -lc before -lgcc. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
16568 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
16569 |
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : |
|
16570 |
$as_echo_n "(cached) " >&6 |
|
16571 |
else |
|
16572 |
$RM conftest* |
|
16573 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16574 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16575 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16576 |
(eval $ac_compile) 2>&5 |
16577 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16578 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16579 |
test $ac_status = 0; } 2>conftest.err; then |
|
16580 |
soname=conftest |
|
16581 |
lib=conftest |
|
16582 |
libobjs=conftest.$ac_objext |
|
16583 |
deplibs= |
|
16584 |
wl=$lt_prog_compiler_wl_CXX |
|
16585 |
pic_flag=$lt_prog_compiler_pic_CXX |
|
16586 |
compiler_flags=-v |
|
16587 |
linker_flags=-v |
|
16588 |
verstring= |
|
16589 |
output_objdir=. |
|
16590 |
libname=conftest |
|
16591 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
|
16592 |
allow_undefined_flag_CXX= |
|
16593 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
16594 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16595 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16596 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16597 |
test $ac_status = 0; } |
|
16598 |
then |
|
16599 |
lt_cv_archive_cmds_need_lc_CXX=no |
|
16600 |
else |
|
16601 |
lt_cv_archive_cmds_need_lc_CXX=yes |
|
16602 |
fi |
|
16603 |
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
|
16604 |
else |
|
16605 |
cat conftest.err 1>&5 |
|
16606 |
fi |
|
16607 |
$RM conftest* |
|
16608 |
||
16609 |
fi |
|
16610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 |
|
16611 |
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } |
|
16612 |
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16613 |
;; |
16614 |
esac |
|
16615 |
fi |
|
16616 |
;; |
|
16617 |
esac |
|
16618 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16619 |
|
16620 |
||
16621 |
||
16622 |
||
16623 |
||
16624 |
||
16625 |
||
16626 |
||
16627 |
||
16628 |
||
16629 |
||
16630 |
||
16631 |
||
16632 |
||
16633 |
||
16634 |
||
16635 |
||
16636 |
||
16637 |
||
16638 |
||
16639 |
||
16640 |
||
16641 |
||
16642 |
||
16643 |
||
16644 |
||
16645 |
||
16646 |
||
16647 |
||
16648 |
||
16649 |
||
16650 |
||
16651 |
||
16652 |
||
16653 |
||
16654 |
||
16655 |
||
16656 |
||
16657 |
||
16658 |
||
16659 |
||
16660 |
||
16661 |
||
16662 |
||
16663 |
||
16664 |
||
16665 |
||
16666 |
||
16667 |
||
16668 |
||
16669 |
||
16670 |
||
16671 |
||
16672 |
||
16673 |
||
16674 |
||
16675 |
||
16676 |
||
16677 |
||
16678 |
||
16679 |
||
16680 |
||
16681 |
||
16682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
16683 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
16684 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16685 |
library_names_spec= |
16686 |
libname_spec='lib$name' |
|
16687 |
soname_spec= |
|
16688 |
shrext_cmds=".so" |
|
16689 |
postinstall_cmds= |
|
16690 |
postuninstall_cmds= |
|
16691 |
finish_cmds= |
|
16692 |
finish_eval= |
|
16693 |
shlibpath_var= |
|
16694 |
shlibpath_overrides_runpath=unknown |
|
16695 |
version_type=none |
|
16696 |
dynamic_linker="$host_os ld.so" |
|
16697 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
16698 |
need_lib_prefix=unknown |
|
16699 |
hardcode_into_libs=no |
|
16700 |
||
16701 |
# when you set need_version to no, make sure it does not cause -set_version |
|
16702 |
# flags to be left without arguments |
|
16703 |
need_version=unknown |
|
16704 |
||
16705 |
case $host_os in |
|
16706 |
aix3*) |
|
16707 |
version_type=linux |
|
16708 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
16709 |
shlibpath_var=LIBPATH |
|
16710 |
||
16711 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
16712 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16713 |
;; |
|
16714 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16715 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16716 |
version_type=linux |
16717 |
need_lib_prefix=no |
|
16718 |
need_version=no |
|
16719 |
hardcode_into_libs=yes |
|
16720 |
if test "$host_cpu" = ia64; then |
|
16721 |
# AIX 5 supports IA64 |
|
16722 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
16723 |
shlibpath_var=LD_LIBRARY_PATH |
|
16724 |
else |
|
16725 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
16726 |
# for dependence libraries. The import file would start with |
|
16727 |
# the line `#! .'. This would cause the generated library to |
|
16728 |
# depend on `.', always an invalid library. This was fixed in |
|
16729 |
# development snapshots of GCC prior to 3.0. |
|
16730 |
case $host_os in |
|
16731 |
aix4 | aix4.[01] | aix4.[01].*) |
|
16732 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
16733 |
echo ' yes ' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16734 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16735 |
: |
16736 |
else |
|
16737 |
can_build_shared=no |
|
16738 |
fi |
|
16739 |
;; |
|
16740 |
esac |
|
16741 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
16742 |
# soname into executable. Probably we can add versioning support to |
|
16743 |
# collect2, so additional links can be useful in future. |
|
16744 |
if test "$aix_use_runtimelinking" = yes; then |
|
16745 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
16746 |
# instead of lib<name>.a to let people know that these are not |
|
16747 |
# typical AIX shared libraries. |
|
16748 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16749 |
else |
|
16750 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
16751 |
# and later when we are not doing run time linking. |
|
16752 |
library_names_spec='${libname}${release}.a $libname.a' |
|
16753 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16754 |
fi |
|
16755 |
shlibpath_var=LIBPATH |
|
16756 |
fi |
|
16757 |
;; |
|
16758 |
||
16759 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16760 |
case $host_cpu in |
16761 |
powerpc) |
|
16762 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
16763 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
16764 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16765 |
;; |
|
16766 |
m68k) |
|
16767 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
16768 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
16769 |
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' |
|
16770 |
;; |
|
16771 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16772 |
;; |
16773 |
||
16774 |
beos*) |
|
16775 |
library_names_spec='${libname}${shared_ext}' |
|
16776 |
dynamic_linker="$host_os ld.so" |
|
16777 |
shlibpath_var=LIBRARY_PATH |
|
16778 |
;; |
|
16779 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16780 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16781 |
version_type=linux |
16782 |
need_version=no |
|
16783 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16784 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16785 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
16786 |
shlibpath_var=LD_LIBRARY_PATH |
|
16787 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
16788 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
16789 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
16790 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
16791 |
# libtool to hard-code these into programs |
|
16792 |
;; |
|
16793 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16794 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16795 |
version_type=windows |
16796 |
shrext_cmds=".dll" |
|
16797 |
need_version=no |
|
16798 |
need_lib_prefix=no |
|
16799 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16800 |
case $GCC,$cc_basename in |
16801 |
yes,*) |
|
16802 |
# gcc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16803 |
library_names_spec='$libname.dll.a' |
16804 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
16805 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16806 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16807 |
dldir=$destdir/`dirname \$dlpath`~ |
16808 |
test -d \$dldir || mkdir -p \$dldir~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16809 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
16810 |
chmod a+x \$dldir/$dlname~ |
|
16811 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
16812 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
16813 |
fi' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16814 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
16815 |
dlpath=$dir/\$dldll~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16816 |
$RM \$dlpath' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16817 |
shlibpath_overrides_runpath=yes |
16818 |
||
16819 |
case $host_os in |
|
16820 |
cygwin*) |
|
16821 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
16822 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16823 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16824 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16825 |
mingw* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16826 |
# MinGW DLLs use traditional 'lib' prefix |
16827 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
16828 |
;; |
|
16829 |
pw32*) |
|
16830 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16831 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
16832 |
;; |
|
16833 |
esac |
|
16834 |
dynamic_linker='Win32 ld.exe' |
|
16835 |
;; |
|
16836 |
||
16837 |
*,cl*) |
|
16838 |
# Native MSVC |
|
16839 |
libname_spec='$name' |
|
16840 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
16841 |
library_names_spec='${libname}.dll.lib' |
|
16842 |
||
16843 |
case $build_os in |
|
16844 |
mingw*) |
|
16845 |
sys_lib_search_path_spec= |
|
16846 |
lt_save_ifs=$IFS |
|
16847 |
IFS=';' |
|
16848 |
for lt_path in $LIB |
|
16849 |
do |
|
16850 |
IFS=$lt_save_ifs |
|
16851 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
16852 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
16853 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
16854 |
done |
|
16855 |
IFS=$lt_save_ifs |
|
16856 |
# Convert to MSYS style. |
|
16857 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
16858 |
;; |
|
16859 |
cygwin*) |
|
16860 |
# Convert to unix form, then to dos form, then back to unix form |
|
16861 |
# but this time dos style (no spaces!) so that the unix form looks |
|
16862 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
16863 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
16864 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
16865 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
16866 |
;; |
|
16867 |
*) |
|
16868 |
sys_lib_search_path_spec="$LIB" |
|
16869 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
16870 |
# It is most probably a Windows format PATH. |
|
16871 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
16872 |
else |
|
16873 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
16874 |
fi |
|
16875 |
# FIXME: find the short name or the path components, as spaces are |
|
16876 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
16877 |
;; |
|
16878 |
esac |
|
16879 |
||
16880 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
16881 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
16882 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
16883 |
dldir=$destdir/`dirname \$dlpath`~ |
|
16884 |
test -d \$dldir || mkdir -p \$dldir~ |
|
16885 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
16886 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
16887 |
dlpath=$dir/\$dldll~ |
|
16888 |
$RM \$dlpath' |
|
16889 |
shlibpath_overrides_runpath=yes |
|
16890 |
dynamic_linker='Win32 link.exe' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16891 |
;; |
16892 |
||
16893 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16894 |
# Assume MSVC wrapper |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16895 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16896 |
dynamic_linker='Win32 ld.exe' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16897 |
;; |
16898 |
esac |
|
16899 |
# FIXME: first we should search . and the directory the executable is in |
|
16900 |
shlibpath_var=PATH |
|
16901 |
;; |
|
16902 |
||
16903 |
darwin* | rhapsody*) |
|
16904 |
dynamic_linker="$host_os dyld" |
|
16905 |
version_type=darwin |
|
16906 |
need_lib_prefix=no |
|
16907 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16908 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16909 |
soname_spec='${libname}${release}${major}$shared_ext' |
16910 |
shlibpath_overrides_runpath=yes |
|
16911 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16912 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
16913 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16914 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
16915 |
;; |
|
16916 |
||
16917 |
dgux*) |
|
16918 |
version_type=linux |
|
16919 |
need_lib_prefix=no |
|
16920 |
need_version=no |
|
16921 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
16922 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16923 |
shlibpath_var=LD_LIBRARY_PATH |
|
16924 |
;; |
|
16925 |
||
16926 |
freebsd1*) |
|
16927 |
dynamic_linker=no |
|
16928 |
;; |
|
16929 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16930 |
freebsd* | dragonfly*) |
16931 |
# DragonFly does not have aout. When/if they implement a new |
|
16932 |
# versioning mechanism, adjust this. |
|
16933 |
if test -x /usr/bin/objformat; then |
|
16934 |
objformat=`/usr/bin/objformat` |
|
16935 |
else |
|
16936 |
case $host_os in |
|
16937 |
freebsd[123]*) objformat=aout ;; |
|
16938 |
*) objformat=elf ;; |
|
16939 |
esac |
|
16940 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16941 |
version_type=freebsd-$objformat |
16942 |
case $version_type in |
|
16943 |
freebsd-elf*) |
|
16944 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16945 |
need_version=no |
|
16946 |
need_lib_prefix=no |
|
16947 |
;; |
|
16948 |
freebsd-*) |
|
16949 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
16950 |
need_version=yes |
|
16951 |
;; |
|
16952 |
esac |
|
16953 |
shlibpath_var=LD_LIBRARY_PATH |
|
16954 |
case $host_os in |
|
16955 |
freebsd2*) |
|
16956 |
shlibpath_overrides_runpath=yes |
|
16957 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16958 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16959 |
shlibpath_overrides_runpath=yes |
16960 |
hardcode_into_libs=yes |
|
16961 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16962 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
16963 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16964 |
shlibpath_overrides_runpath=no |
16965 |
hardcode_into_libs=yes |
|
16966 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16967 |
*) # from 4.6 on, and DragonFly |
16968 |
shlibpath_overrides_runpath=yes |
|
16969 |
hardcode_into_libs=yes |
|
16970 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16971 |
esac |
16972 |
;; |
|
16973 |
||
16974 |
gnu*) |
|
16975 |
version_type=linux |
|
16976 |
need_lib_prefix=no |
|
16977 |
need_version=no |
|
16978 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
16979 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16980 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
16981 |
shlibpath_overrides_runpath=no |
16982 |
hardcode_into_libs=yes |
|
16983 |
;; |
|
16984 |
||
16985 |
haiku*) |
|
16986 |
version_type=linux |
|
16987 |
need_lib_prefix=no |
|
16988 |
need_version=no |
|
16989 |
dynamic_linker="$host_os runtime_loader" |
|
16990 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
16991 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16992 |
shlibpath_var=LIBRARY_PATH |
|
16993 |
shlibpath_overrides_runpath=yes |
|
16994 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
16995 |
hardcode_into_libs=yes |
16996 |
;; |
|
16997 |
||
16998 |
hpux9* | hpux10* | hpux11*) |
|
16999 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
17000 |
# link against other versions. |
|
17001 |
version_type=sunos |
|
17002 |
need_lib_prefix=no |
|
17003 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17004 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17005 |
ia64*) |
17006 |
shrext_cmds='.so' |
|
17007 |
hardcode_into_libs=yes |
|
17008 |
dynamic_linker="$host_os dld.so" |
|
17009 |
shlibpath_var=LD_LIBRARY_PATH |
|
17010 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
17011 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17012 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17013 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
17014 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
17015 |
else |
|
17016 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
17017 |
fi |
|
17018 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
17019 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17020 |
hppa*64*) |
17021 |
shrext_cmds='.sl' |
|
17022 |
hardcode_into_libs=yes |
|
17023 |
dynamic_linker="$host_os dld.sl" |
|
17024 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
17025 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
17026 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17027 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17028 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
17029 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
17030 |
;; |
|
17031 |
*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17032 |
shrext_cmds='.sl' |
17033 |
dynamic_linker="$host_os dld.sl" |
|
17034 |
shlibpath_var=SHLIB_PATH |
|
17035 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
17036 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17037 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17038 |
;; |
|
17039 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17040 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17041 |
postinstall_cmds='chmod 555 $lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17042 |
# or fails outright, so override atomically: |
17043 |
install_override_mode=555 |
|
17044 |
;; |
|
17045 |
||
17046 |
interix[3-9]*) |
|
17047 |
version_type=linux |
|
17048 |
need_lib_prefix=no |
|
17049 |
need_version=no |
|
17050 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
17051 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17052 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
17053 |
shlibpath_var=LD_LIBRARY_PATH |
|
17054 |
shlibpath_overrides_runpath=no |
|
17055 |
hardcode_into_libs=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17056 |
;; |
17057 |
||
17058 |
irix5* | irix6* | nonstopux*) |
|
17059 |
case $host_os in |
|
17060 |
nonstopux*) version_type=nonstopux ;; |
|
17061 |
*) |
|
17062 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
17063 |
version_type=linux |
|
17064 |
else |
|
17065 |
version_type=irix |
|
17066 |
fi ;; |
|
17067 |
esac |
|
17068 |
need_lib_prefix=no |
|
17069 |
need_version=no |
|
17070 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17071 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
17072 |
case $host_os in |
|
17073 |
irix5* | nonstopux*) |
|
17074 |
libsuff= shlibsuff= |
|
17075 |
;; |
|
17076 |
*) |
|
17077 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
17078 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
17079 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
17080 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
17081 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
17082 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
17083 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
17084 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
17085 |
esac |
|
17086 |
;; |
|
17087 |
esac |
|
17088 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
17089 |
shlibpath_overrides_runpath=no |
|
17090 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
17091 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
17092 |
hardcode_into_libs=yes |
|
17093 |
;; |
|
17094 |
||
17095 |
# No shared lib support for Linux oldld, aout, or coff. |
|
17096 |
linux*oldld* | linux*aout* | linux*coff*) |
|
17097 |
dynamic_linker=no |
|
17098 |
;; |
|
17099 |
||
17100 |
# This must be Linux ELF. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17101 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17102 |
version_type=linux |
17103 |
need_lib_prefix=no |
|
17104 |
need_version=no |
|
17105 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17106 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17107 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
17108 |
shlibpath_var=LD_LIBRARY_PATH |
|
17109 |
shlibpath_overrides_runpath=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17110 |
|
17111 |
# Some binutils ld are patched to set DT_RUNPATH |
|
17112 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
17113 |
$as_echo_n "(cached) " >&6 |
|
17114 |
else |
|
17115 |
lt_cv_shlibpath_overrides_runpath=no |
|
17116 |
save_LDFLAGS=$LDFLAGS |
|
17117 |
save_libdir=$libdir |
|
17118 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ |
|
17119 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" |
|
17120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
17121 |
/* end confdefs.h. */ |
|
17122 |
||
17123 |
int |
|
17124 |
main () |
|
17125 |
{ |
|
17126 |
||
17127 |
; |
|
17128 |
return 0; |
|
17129 |
} |
|
17130 |
_ACEOF |
|
17131 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
17132 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
17133 |
lt_cv_shlibpath_overrides_runpath=yes |
|
17134 |
fi |
|
17135 |
fi |
|
17136 |
rm -f core conftest.err conftest.$ac_objext \ |
|
17137 |
conftest$ac_exeext conftest.$ac_ext |
|
17138 |
LDFLAGS=$save_LDFLAGS |
|
17139 |
libdir=$save_libdir |
|
17140 |
||
17141 |
fi |
|
17142 |
||
17143 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
17144 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17145 |
# This implies no fast_install, which is unacceptable. |
17146 |
# Some rework will be needed to allow for fast_install |
|
17147 |
# before this can be enabled. |
|
17148 |
hardcode_into_libs=yes |
|
17149 |
||
17150 |
# Append ld.so.conf contents to the search path |
|
17151 |
if test -f /etc/ld.so.conf; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17152 |
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' ' '` |
17153 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17154 |
fi |
17155 |
||
17156 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
17157 |
# powerpc, because MkLinux only supported shared libraries with the |
|
17158 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
17159 |
# most powerpc-linux boxes support dynamic linking these days and |
|
17160 |
# people can always --disable-shared, the test was removed, and we |
|
17161 |
# assume the GNU/Linux dynamic linker is in use. |
|
17162 |
dynamic_linker='GNU/Linux ld.so' |
|
17163 |
;; |
|
17164 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17165 |
netbsdelf*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17166 |
version_type=linux |
17167 |
need_lib_prefix=no |
|
17168 |
need_version=no |
|
17169 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
17170 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17171 |
shlibpath_var=LD_LIBRARY_PATH |
|
17172 |
shlibpath_overrides_runpath=no |
|
17173 |
hardcode_into_libs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17174 |
dynamic_linker='NetBSD ld.elf_so' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17175 |
;; |
17176 |
||
17177 |
netbsd*) |
|
17178 |
version_type=sunos |
|
17179 |
need_lib_prefix=no |
|
17180 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17181 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17182 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17183 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
17184 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
17185 |
else |
|
17186 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
17187 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17188 |
dynamic_linker='NetBSD ld.elf_so' |
|
17189 |
fi |
|
17190 |
shlibpath_var=LD_LIBRARY_PATH |
|
17191 |
shlibpath_overrides_runpath=yes |
|
17192 |
hardcode_into_libs=yes |
|
17193 |
;; |
|
17194 |
||
17195 |
newsos6) |
|
17196 |
version_type=linux |
|
17197 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17198 |
shlibpath_var=LD_LIBRARY_PATH |
|
17199 |
shlibpath_overrides_runpath=yes |
|
17200 |
;; |
|
17201 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17202 |
*nto* | *qnx*) |
17203 |
version_type=qnx |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17204 |
need_lib_prefix=no |
17205 |
need_version=no |
|
17206 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17207 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17208 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17209 |
shlibpath_overrides_runpath=no |
17210 |
hardcode_into_libs=yes |
|
17211 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17212 |
;; |
17213 |
||
17214 |
openbsd*) |
|
17215 |
version_type=sunos |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17216 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17217 |
need_lib_prefix=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17218 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
17219 |
case $host_os in |
|
17220 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
17221 |
*) need_version=no ;; |
|
17222 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17223 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17224 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
17225 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17226 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17227 |
case $host_os in |
17228 |
openbsd2.[89] | openbsd2.[89].*) |
|
17229 |
shlibpath_overrides_runpath=no |
|
17230 |
;; |
|
17231 |
*) |
|
17232 |
shlibpath_overrides_runpath=yes |
|
17233 |
;; |
|
17234 |
esac |
|
17235 |
else |
|
17236 |
shlibpath_overrides_runpath=yes |
|
17237 |
fi |
|
17238 |
;; |
|
17239 |
||
17240 |
os2*) |
|
17241 |
libname_spec='$name' |
|
17242 |
shrext_cmds=".dll" |
|
17243 |
need_lib_prefix=no |
|
17244 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
17245 |
dynamic_linker='OS/2 ld.exe' |
|
17246 |
shlibpath_var=LIBPATH |
|
17247 |
;; |
|
17248 |
||
17249 |
osf3* | osf4* | osf5*) |
|
17250 |
version_type=osf |
|
17251 |
need_lib_prefix=no |
|
17252 |
need_version=no |
|
17253 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17254 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17255 |
shlibpath_var=LD_LIBRARY_PATH |
|
17256 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
17257 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
17258 |
;; |
|
17259 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17260 |
rdos*) |
17261 |
dynamic_linker=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17262 |
;; |
17263 |
||
17264 |
solaris*) |
|
17265 |
version_type=linux |
|
17266 |
need_lib_prefix=no |
|
17267 |
need_version=no |
|
17268 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17269 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17270 |
shlibpath_var=LD_LIBRARY_PATH |
|
17271 |
shlibpath_overrides_runpath=yes |
|
17272 |
hardcode_into_libs=yes |
|
17273 |
# ldd complains unless libraries are executable |
|
17274 |
postinstall_cmds='chmod +x $lib' |
|
17275 |
;; |
|
17276 |
||
17277 |
sunos4*) |
|
17278 |
version_type=sunos |
|
17279 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
17280 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
17281 |
shlibpath_var=LD_LIBRARY_PATH |
|
17282 |
shlibpath_overrides_runpath=yes |
|
17283 |
if test "$with_gnu_ld" = yes; then |
|
17284 |
need_lib_prefix=no |
|
17285 |
fi |
|
17286 |
need_version=yes |
|
17287 |
;; |
|
17288 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17289 |
sysv4 | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17290 |
version_type=linux |
17291 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17292 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17293 |
shlibpath_var=LD_LIBRARY_PATH |
|
17294 |
case $host_vendor in |
|
17295 |
sni) |
|
17296 |
shlibpath_overrides_runpath=no |
|
17297 |
need_lib_prefix=no |
|
17298 |
runpath_var=LD_RUN_PATH |
|
17299 |
;; |
|
17300 |
siemens) |
|
17301 |
need_lib_prefix=no |
|
17302 |
;; |
|
17303 |
motorola) |
|
17304 |
need_lib_prefix=no |
|
17305 |
need_version=no |
|
17306 |
shlibpath_overrides_runpath=no |
|
17307 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
17308 |
;; |
|
17309 |
esac |
|
17310 |
;; |
|
17311 |
||
17312 |
sysv4*MP*) |
|
17313 |
if test -d /usr/nec ;then |
|
17314 |
version_type=linux |
|
17315 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
17316 |
soname_spec='$libname${shared_ext}.$major' |
|
17317 |
shlibpath_var=LD_LIBRARY_PATH |
|
17318 |
fi |
|
17319 |
;; |
|
17320 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17321 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
17322 |
version_type=freebsd-elf |
|
17323 |
need_lib_prefix=no |
|
17324 |
need_version=no |
|
17325 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
17326 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17327 |
shlibpath_var=LD_LIBRARY_PATH |
|
17328 |
shlibpath_overrides_runpath=yes |
|
17329 |
hardcode_into_libs=yes |
|
17330 |
if test "$with_gnu_ld" = yes; then |
|
17331 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
17332 |
else |
|
17333 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
17334 |
case $host_os in |
|
17335 |
sco3.2v5*) |
|
17336 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
17337 |
;; |
|
17338 |
esac |
|
17339 |
fi |
|
17340 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
17341 |
;; |
|
17342 |
||
17343 |
tpf*) |
|
17344 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
17345 |
version_type=linux |
|
17346 |
need_lib_prefix=no |
|
17347 |
need_version=no |
|
17348 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17349 |
shlibpath_var=LD_LIBRARY_PATH |
|
17350 |
shlibpath_overrides_runpath=no |
|
17351 |
hardcode_into_libs=yes |
|
17352 |
;; |
|
17353 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17354 |
uts4*) |
17355 |
version_type=linux |
|
17356 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
17357 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
17358 |
shlibpath_var=LD_LIBRARY_PATH |
|
17359 |
;; |
|
17360 |
||
17361 |
*) |
|
17362 |
dynamic_linker=no |
|
17363 |
;; |
|
17364 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
17366 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17367 |
test "$dynamic_linker" = no && can_build_shared=no |
17368 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17369 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
17370 |
if test "$GCC" = yes; then |
|
17371 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
17372 |
fi |
|
17373 |
||
17374 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
17375 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
17376 |
fi |
|
17377 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
17378 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
17379 |
fi |
|
17380 |
||
17381 |
||
17382 |
||
17383 |
||
17384 |
||
17385 |
||
17386 |
||
17387 |
||
17388 |
||
17389 |
||
17390 |
||
17391 |
||
17392 |
||
17393 |
||
17394 |
||
17395 |
||
17396 |
||
17397 |
||
17398 |
||
17399 |
||
17400 |
||
17401 |
||
17402 |
||
17403 |
||
17404 |
||
17405 |
||
17406 |
||
17407 |
||
17408 |
||
17409 |
||
17410 |
||
17411 |
||
17412 |
||
17413 |
||
17414 |
||
17415 |
||
17416 |
||
17417 |
||
17418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
17419 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17420 |
hardcode_action_CXX= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17421 |
if test -n "$hardcode_libdir_flag_spec_CXX" || |
17422 |
test -n "$runpath_var_CXX" || |
|
17423 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17424 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17425 |
# We can hardcode non-existent directories. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17426 |
if test "$hardcode_direct_CXX" != no && |
17427 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
17428 |
# have to relink, otherwise we might link with an installed library |
|
17429 |
# when we should be linking with a yet-to-be-installed one |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17430 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17431 |
test "$hardcode_minus_L_CXX" != no; then |
17432 |
# Linking always hardcodes the temporary library directory. |
|
17433 |
hardcode_action_CXX=relink |
|
17434 |
else |
|
17435 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
17436 |
hardcode_action_CXX=immediate |
|
17437 |
fi |
|
17438 |
else |
|
17439 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
17440 |
# directories. |
|
17441 |
hardcode_action_CXX=unsupported |
|
17442 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 |
17444 |
$as_echo "$hardcode_action_CXX" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17445 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17446 |
if test "$hardcode_action_CXX" = relink || |
17447 |
test "$inherit_rpath_CXX" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17448 |
# Fast installation is not supported |
17449 |
enable_fast_install=no |
|
17450 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
17451 |
test "$enable_shared" = no; then |
|
17452 |
# Fast installation is not necessary |
|
17453 |
enable_fast_install=needless |
|
17454 |
fi |
|
17455 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17456 |
|
17457 |
||
17458 |
||
17459 |
||
17460 |
||
17461 |
||
17462 |
fi # test -n "$compiler" |
|
17463 |
||
17464 |
CC=$lt_save_CC |
|
17465 |
CFLAGS=$lt_save_CFLAGS |
|
17466 |
LDCXX=$LD |
|
17467 |
LD=$lt_save_LD |
|
17468 |
GCC=$lt_save_GCC |
|
17469 |
with_gnu_ld=$lt_save_with_gnu_ld |
|
17470 |
lt_cv_path_LDCXX=$lt_cv_path_LD |
|
17471 |
lt_cv_path_LD=$lt_save_path_LD |
|
17472 |
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
|
17473 |
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
|
17474 |
fi # test "$_lt_caught_CXX_error" != yes |
|
17475 |
||
17476 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17477 |
ac_cpp='$CXXCPP $CPPFLAGS' |
17478 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
17479 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
17480 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
17481 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17482 |
|
17483 |
||
17484 |
ac_ext=f |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17485 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
17486 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
17487 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
17488 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17489 |
if test -z "$F77" || test "X$F77" = "Xno"; then |
17490 |
_lt_disable_F77=yes |
|
17491 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17492 |
|
17493 |
archive_cmds_need_lc_F77=no |
|
17494 |
allow_undefined_flag_F77= |
|
17495 |
always_export_symbols_F77=no |
|
17496 |
archive_expsym_cmds_F77= |
|
17497 |
export_dynamic_flag_spec_F77= |
|
17498 |
hardcode_direct_F77=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17499 |
hardcode_direct_absolute_F77=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17500 |
hardcode_libdir_flag_spec_F77= |
17501 |
hardcode_libdir_flag_spec_ld_F77= |
|
17502 |
hardcode_libdir_separator_F77= |
|
17503 |
hardcode_minus_L_F77=no |
|
17504 |
hardcode_automatic_F77=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17505 |
inherit_rpath_F77=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17506 |
module_cmds_F77= |
17507 |
module_expsym_cmds_F77= |
|
17508 |
link_all_deplibs_F77=unknown |
|
17509 |
old_archive_cmds_F77=$old_archive_cmds |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17510 |
reload_flag_F77=$reload_flag |
17511 |
reload_cmds_F77=$reload_cmds |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17512 |
no_undefined_flag_F77= |
17513 |
whole_archive_flag_spec_F77= |
|
17514 |
enable_shared_with_static_runtimes_F77=no |
|
17515 |
||
17516 |
# Source file extension for f77 test sources. |
|
17517 |
ac_ext=f |
|
17518 |
||
17519 |
# Object file extension for compiled f77 test sources. |
|
17520 |
objext=o |
|
17521 |
objext_F77=$objext |
|
17522 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17523 |
# No sense in running all these tests if we already determined that |
17524 |
# the F77 compiler isn't working. Some variables (like enable_shared) |
|
17525 |
# are currently assumed to apply to all compilers on this platform, |
|
17526 |
# and will be corrupted by setting them based on a non-working compiler. |
|
17527 |
if test "$_lt_disable_F77" != yes; then |
|
17528 |
# Code to be used in simple compile tests |
|
17529 |
lt_simple_compile_test_code="\ |
|
17530 |
subroutine t |
|
17531 |
return |
|
17532 |
end |
|
17533 |
" |
|
17534 |
||
17535 |
# Code to be used in simple link tests |
|
17536 |
lt_simple_link_test_code="\ |
|
17537 |
program t |
|
17538 |
end |
|
17539 |
" |
|
17540 |
||
17541 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
17542 |
||
17543 |
||
17544 |
||
17545 |
||
17546 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17547 |
|
17548 |
# If no C compiler was specified, use CC. |
|
17549 |
LTCC=${LTCC-"$CC"} |
|
17550 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17551 |
# If no C compiler flags were specified, use CFLAGS. |
17552 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
17553 |
||
17554 |
# Allow CC to be a program name with arguments. |
|
17555 |
compiler=$CC |
|
17556 |
||
17557 |
||
17558 |
# save warnings/boilerplate of simple test code |
|
17559 |
ac_outfile=conftest.$ac_objext |
|
17560 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
17561 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
17562 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
17563 |
$RM conftest* |
|
17564 |
||
17565 |
ac_outfile=conftest.$ac_objext |
|
17566 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
17567 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
17568 |
_lt_linker_boilerplate=`cat conftest.err` |
|
17569 |
$RM -r conftest* |
|
17570 |
||
17571 |
||
17572 |
# Allow CC to be a program name with arguments. |
|
17573 |
lt_save_CC="$CC" |
|
17574 |
lt_save_GCC=$GCC |
|
17575 |
lt_save_CFLAGS=$CFLAGS |
|
17576 |
CC=${F77-"f77"} |
|
17577 |
CFLAGS=$FFLAGS |
|
17578 |
compiler=$CC |
|
17579 |
compiler_F77=$CC |
|
17580 |
for cc_temp in $compiler""; do |
|
17581 |
case $cc_temp in |
|
17582 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
17583 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
17584 |
\-*) ;; |
|
17585 |
*) break;; |
|
17586 |
esac |
|
17587 |
done |
|
17588 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
17589 |
||
17590 |
GCC=$G77 |
|
17591 |
if test -n "$compiler"; then |
|
17592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
17593 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
17594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
17595 |
$as_echo "$can_build_shared" >&6; } |
|
17596 |
||
17597 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
17598 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
17599 |
test "$can_build_shared" = "no" && enable_shared=no |
|
17600 |
||
17601 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
17602 |
# are all built from PIC. |
|
17603 |
case $host_os in |
|
17604 |
aix3*) |
|
17605 |
test "$enable_shared" = yes && enable_static=no |
|
17606 |
if test -n "$RANLIB"; then |
|
17607 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
17608 |
postinstall_cmds='$RANLIB $lib' |
|
17609 |
fi |
|
17610 |
;; |
|
17611 |
aix[4-9]*) |
|
17612 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
17613 |
test "$enable_shared" = yes && enable_static=no |
|
17614 |
fi |
|
17615 |
;; |
|
17616 |
esac |
|
17617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
17618 |
$as_echo "$enable_shared" >&6; } |
|
17619 |
||
17620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
17621 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
17622 |
# Make sure either enable_shared or enable_static is yes. |
|
17623 |
test "$enable_shared" = yes || enable_static=yes |
|
17624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
17625 |
$as_echo "$enable_static" >&6; } |
|
17626 |
||
17627 |
GCC_F77="$G77" |
|
17628 |
LD_F77="$LD" |
|
17629 |
||
17630 |
## CAVEAT EMPTOR: |
|
17631 |
## There is no encapsulation within the following macros, do not change |
|
17632 |
## the running order or otherwise move them around unless you know exactly |
|
17633 |
## what you are doing... |
|
17634 |
lt_prog_compiler_wl_F77= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17635 |
lt_prog_compiler_pic_F77= |
17636 |
lt_prog_compiler_static_F77= |
|
17637 |
||
17638 |
||
17639 |
if test "$GCC" = yes; then |
|
17640 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17641 |
lt_prog_compiler_static_F77='-static' |
|
17642 |
||
17643 |
case $host_os in |
|
17644 |
aix*) |
|
17645 |
# All AIX code is PIC. |
|
17646 |
if test "$host_cpu" = ia64; then |
|
17647 |
# AIX 5 now supports IA64 processor |
|
17648 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17649 |
fi |
|
17650 |
;; |
|
17651 |
||
17652 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17653 |
case $host_cpu in |
17654 |
powerpc) |
|
17655 |
# see comment about AmigaOS4 .so support |
|
17656 |
lt_prog_compiler_pic_F77='-fPIC' |
|
17657 |
;; |
|
17658 |
m68k) |
|
17659 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
17660 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
17661 |
# like `-m68040'. |
|
17662 |
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' |
|
17663 |
;; |
|
17664 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17665 |
;; |
17666 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17667 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17668 |
# PIC is the default for these OSes. |
17669 |
;; |
|
17670 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17671 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17672 |
# This hack is so that the source file can tell whether it is being |
17673 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17674 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
17675 |
# (--disable-auto-import) libraries |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17676 |
lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
17677 |
;; |
|
17678 |
||
17679 |
darwin* | rhapsody*) |
|
17680 |
# PIC is the default on this platform |
|
17681 |
# Common symbols not allowed in MH_DYLIB files |
|
17682 |
lt_prog_compiler_pic_F77='-fno-common' |
|
17683 |
;; |
|
17684 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17685 |
haiku*) |
17686 |
# PIC is the default for Haiku. |
|
17687 |
# The "-static" flag exists, but is broken. |
|
17688 |
lt_prog_compiler_static_F77= |
|
17689 |
;; |
|
17690 |
||
17691 |
hpux*) |
|
17692 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
17693 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
17694 |
# sets the default TLS model and affects inlining. |
|
17695 |
case $host_cpu in |
|
17696 |
hppa*64*) |
|
17697 |
# +Z the default |
|
17698 |
;; |
|
17699 |
*) |
|
17700 |
lt_prog_compiler_pic_F77='-fPIC' |
|
17701 |
;; |
|
17702 |
esac |
|
17703 |
;; |
|
17704 |
||
17705 |
interix[3-9]*) |
|
17706 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
17707 |
# Instead, we relocate shared libraries at runtime. |
|
17708 |
;; |
|
17709 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17710 |
msdosdjgpp*) |
17711 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
17712 |
# on systems that don't support them. |
|
17713 |
lt_prog_compiler_can_build_shared_F77=no |
|
17714 |
enable_shared=no |
|
17715 |
;; |
|
17716 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17717 |
*nto* | *qnx*) |
17718 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
17719 |
# it will coredump. |
|
17720 |
lt_prog_compiler_pic_F77='-fPIC -shared' |
|
17721 |
;; |
|
17722 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17723 |
sysv4*MP*) |
17724 |
if test -d /usr/nec; then |
|
17725 |
lt_prog_compiler_pic_F77=-Kconform_pic |
|
17726 |
fi |
|
17727 |
;; |
|
17728 |
||
17729 |
*) |
|
17730 |
lt_prog_compiler_pic_F77='-fPIC' |
|
17731 |
;; |
|
17732 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17733 |
|
17734 |
case $cc_basename in |
|
17735 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
17736 |
lt_prog_compiler_wl_F77='-Xlinker ' |
|
17737 |
lt_prog_compiler_pic_F77='-Xcompiler -fPIC' |
|
17738 |
;; |
|
17739 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17740 |
else |
17741 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
17742 |
case $host_os in |
|
17743 |
aix*) |
|
17744 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17745 |
if test "$host_cpu" = ia64; then |
|
17746 |
# AIX 5 now supports IA64 processor |
|
17747 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17748 |
else |
|
17749 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
|
17750 |
fi |
|
17751 |
;; |
|
17752 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17753 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17754 |
# This hack is so that the source file can tell whether it is being |
17755 |
# built for inclusion in a dll (and should export symbols for example). |
|
17756 |
lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
|
17757 |
;; |
|
17758 |
||
17759 |
hpux9* | hpux10* | hpux11*) |
|
17760 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17761 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
17762 |
# not for PA HP-UX. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17763 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17764 |
hppa*64*|ia64*) |
17765 |
# +Z the default |
|
17766 |
;; |
|
17767 |
*) |
|
17768 |
lt_prog_compiler_pic_F77='+Z' |
|
17769 |
;; |
|
17770 |
esac |
|
17771 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
17772 |
lt_prog_compiler_static_F77='${wl}-a ${wl}archive' |
|
17773 |
;; |
|
17774 |
||
17775 |
irix5* | irix6* | nonstopux*) |
|
17776 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17777 |
# PIC (with -KPIC) is the default. |
|
17778 |
lt_prog_compiler_static_F77='-non_shared' |
|
17779 |
;; |
|
17780 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17781 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
17782 |
case $cc_basename in |
|
17783 |
# old Intel for x86_64 which still supported -KPIC. |
|
17784 |
ecc*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17785 |
lt_prog_compiler_wl_F77='-Wl,' |
17786 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17787 |
lt_prog_compiler_static_F77='-static' |
|
17788 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17789 |
# icc used to be incompatible with GCC. |
17790 |
# ICC 10 doesn't accept -KPIC any more. |
|
17791 |
icc* | ifort*) |
|
17792 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17793 |
lt_prog_compiler_pic_F77='-fPIC' |
|
17794 |
lt_prog_compiler_static_F77='-static' |
|
17795 |
;; |
|
17796 |
# Lahey Fortran 8.1. |
|
17797 |
lf95*) |
|
17798 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17799 |
lt_prog_compiler_pic_F77='--shared' |
|
17800 |
lt_prog_compiler_static_F77='--static' |
|
17801 |
;; |
|
17802 |
nagfor*) |
|
17803 |
# NAG Fortran compiler |
|
17804 |
lt_prog_compiler_wl_F77='-Wl,-Wl,,' |
|
17805 |
lt_prog_compiler_pic_F77='-PIC' |
|
17806 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17807 |
;; |
|
17808 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
17809 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
17810 |
# which looks to be a dead project) |
|
17811 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17812 |
lt_prog_compiler_pic_F77='-fpic' |
|
17813 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17814 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17815 |
ccc*) |
17816 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17817 |
# All Alpha code is PIC. |
|
17818 |
lt_prog_compiler_static_F77='-non_shared' |
|
17819 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17820 |
xl* | bgxl* | bgf* | mpixl*) |
17821 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
17822 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17823 |
lt_prog_compiler_pic_F77='-qpic' |
|
17824 |
lt_prog_compiler_static_F77='-qstaticlink' |
|
17825 |
;; |
|
17826 |
*) |
|
17827 |
case `$CC -V 2>&1 | sed 5q` in |
|
17828 |
*Sun\ F* | *Sun*Fortran*) |
|
17829 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
17830 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17831 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17832 |
lt_prog_compiler_wl_F77='' |
|
17833 |
;; |
|
17834 |
*Sun\ C*) |
|
17835 |
# Sun C 5.9 |
|
17836 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17837 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17838 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17839 |
;; |
|
17840 |
esac |
|
17841 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17842 |
esac |
17843 |
;; |
|
17844 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17845 |
newsos6) |
17846 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17847 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17848 |
;; |
|
17849 |
||
17850 |
*nto* | *qnx*) |
|
17851 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
17852 |
# it will coredump. |
|
17853 |
lt_prog_compiler_pic_F77='-fPIC -shared' |
|
17854 |
;; |
|
17855 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17856 |
osf3* | osf4* | osf5*) |
17857 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17858 |
# All OSF/1 code is PIC. |
|
17859 |
lt_prog_compiler_static_F77='-non_shared' |
|
17860 |
;; |
|
17861 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17862 |
rdos*) |
17863 |
lt_prog_compiler_static_F77='-non_shared' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17864 |
;; |
17865 |
||
17866 |
solaris*) |
|
17867 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17868 |
lt_prog_compiler_static_F77='-Bstatic' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17869 |
case $cc_basename in |
17870 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
|
17871 |
lt_prog_compiler_wl_F77='-Qoption ld ';; |
|
17872 |
*) |
|
17873 |
lt_prog_compiler_wl_F77='-Wl,';; |
|
17874 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17875 |
;; |
17876 |
||
17877 |
sunos4*) |
|
17878 |
lt_prog_compiler_wl_F77='-Qoption ld ' |
|
17879 |
lt_prog_compiler_pic_F77='-PIC' |
|
17880 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17881 |
;; |
|
17882 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17883 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17884 |
lt_prog_compiler_wl_F77='-Wl,' |
17885 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17886 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17887 |
;; |
|
17888 |
||
17889 |
sysv4*MP*) |
|
17890 |
if test -d /usr/nec ;then |
|
17891 |
lt_prog_compiler_pic_F77='-Kconform_pic' |
|
17892 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17893 |
fi |
|
17894 |
;; |
|
17895 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17896 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
17897 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17898 |
lt_prog_compiler_pic_F77='-KPIC' |
|
17899 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17900 |
;; |
|
17901 |
||
17902 |
unicos*) |
|
17903 |
lt_prog_compiler_wl_F77='-Wl,' |
|
17904 |
lt_prog_compiler_can_build_shared_F77=no |
|
17905 |
;; |
|
17906 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17907 |
uts4*) |
17908 |
lt_prog_compiler_pic_F77='-pic' |
|
17909 |
lt_prog_compiler_static_F77='-Bstatic' |
|
17910 |
;; |
|
17911 |
||
17912 |
*) |
|
17913 |
lt_prog_compiler_can_build_shared_F77=no |
|
17914 |
;; |
|
17915 |
esac |
|
17916 |
fi |
|
17917 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17918 |
case $host_os in |
17919 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
17920 |
*djgpp*) |
|
17921 |
lt_prog_compiler_pic_F77= |
|
17922 |
;; |
|
17923 |
*) |
|
17924 |
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
|
17925 |
;; |
|
17926 |
esac |
|
17927 |
||
17928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
17929 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
17930 |
if ${lt_cv_prog_compiler_pic_F77+:} false; then : |
|
17931 |
$as_echo_n "(cached) " >&6 |
|
17932 |
else |
|
17933 |
lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77 |
|
17934 |
fi |
|
17935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5 |
|
17936 |
$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; } |
|
17937 |
lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17938 |
|
17939 |
# |
|
17940 |
# Check to make sure the PIC flag actually works. |
|
17941 |
# |
|
17942 |
if test -n "$lt_prog_compiler_pic_F77"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
17944 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } |
|
17945 |
if ${lt_cv_prog_compiler_pic_works_F77+:} false; then : |
|
17946 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17947 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17948 |
lt_cv_prog_compiler_pic_works_F77=no |
17949 |
ac_outfile=conftest.$ac_objext |
|
17950 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17951 |
lt_compiler_flag="$lt_prog_compiler_pic_F77" |
17952 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
17953 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
17954 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
17955 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
17956 |
# The option is referenced via a variable to avoid confusing sed. |
|
17957 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17958 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17959 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17960 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17961 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17962 |
(eval "$lt_compile" 2>conftest.err) |
17963 |
ac_status=$? |
|
17964 |
cat conftest.err >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17965 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17966 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
17967 |
# The compiler can only warn and ignore the option if not recognized |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17968 |
# So say no if there are warnings other than the usual output. |
17969 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
17970 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
17971 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
17972 |
lt_cv_prog_compiler_pic_works_F77=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17973 |
fi |
17974 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17975 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17976 |
|
17977 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5 |
17979 |
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17980 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17981 |
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
17982 |
case $lt_prog_compiler_pic_F77 in |
17983 |
"" | " "*) ;; |
|
17984 |
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
|
17985 |
esac |
|
17986 |
else |
|
17987 |
lt_prog_compiler_pic_F77= |
|
17988 |
lt_prog_compiler_can_build_shared_F77=no |
|
17989 |
fi |
|
17990 |
||
17991 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
17992 |
|
17993 |
||
17994 |
||
17995 |
||
17996 |
||
17997 |
# |
|
17998 |
# Check to make sure the static flag actually works. |
|
17999 |
# |
|
18000 |
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
|
18001 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
18002 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
18003 |
if ${lt_cv_prog_compiler_static_works_F77+:} false; then : |
|
18004 |
$as_echo_n "(cached) " >&6 |
|
18005 |
else |
|
18006 |
lt_cv_prog_compiler_static_works_F77=no |
|
18007 |
save_LDFLAGS="$LDFLAGS" |
|
18008 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
18009 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
18010 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
18011 |
# The linker can only warn and ignore the option if not recognized |
|
18012 |
# So say no if there are warnings |
|
18013 |
if test -s conftest.err; then |
|
18014 |
# Append any errors to the config.log. |
|
18015 |
cat conftest.err 1>&5 |
|
18016 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
18017 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
18018 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
18019 |
lt_cv_prog_compiler_static_works_F77=yes |
|
18020 |
fi |
|
18021 |
else |
|
18022 |
lt_cv_prog_compiler_static_works_F77=yes |
|
18023 |
fi |
|
18024 |
fi |
|
18025 |
$RM -r conftest* |
|
18026 |
LDFLAGS="$save_LDFLAGS" |
|
18027 |
||
18028 |
fi |
|
18029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5 |
|
18030 |
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; } |
|
18031 |
||
18032 |
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then |
|
18033 |
: |
|
18034 |
else |
|
18035 |
lt_prog_compiler_static_F77= |
|
18036 |
fi |
|
18037 |
||
18038 |
||
18039 |
||
18040 |
||
18041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
18042 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
18043 |
if ${lt_cv_prog_compiler_c_o_F77+:} false; then : |
|
18044 |
$as_echo_n "(cached) " >&6 |
|
18045 |
else |
|
18046 |
lt_cv_prog_compiler_c_o_F77=no |
|
18047 |
$RM -r conftest 2>/dev/null |
|
18048 |
mkdir conftest |
|
18049 |
cd conftest |
|
18050 |
mkdir out |
|
18051 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
18052 |
||
18053 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
18054 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
18055 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
18056 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
18057 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
18058 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
18059 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
18060 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
18061 |
-e 's:$: $lt_compiler_flag:'` |
|
18062 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
18063 |
(eval "$lt_compile" 2>out/conftest.err) |
|
18064 |
ac_status=$? |
|
18065 |
cat out/conftest.err >&5 |
|
18066 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
18067 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
18068 |
then |
|
18069 |
# The compiler can only warn and ignore the option if not recognized |
|
18070 |
# So say no if there are warnings |
|
18071 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
18072 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
18073 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
18074 |
lt_cv_prog_compiler_c_o_F77=yes |
|
18075 |
fi |
|
18076 |
fi |
|
18077 |
chmod u+w . 2>&5 |
|
18078 |
$RM conftest* |
|
18079 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
18080 |
# template instantiation |
|
18081 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
18082 |
$RM out/* && rmdir out |
|
18083 |
cd .. |
|
18084 |
$RM -r conftest |
|
18085 |
$RM conftest* |
|
18086 |
||
18087 |
fi |
|
18088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
|
18089 |
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } |
|
18090 |
||
18091 |
||
18092 |
||
18093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
18094 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
18095 |
if ${lt_cv_prog_compiler_c_o_F77+:} false; then : |
|
18096 |
$as_echo_n "(cached) " >&6 |
|
18097 |
else |
|
18098 |
lt_cv_prog_compiler_c_o_F77=no |
|
18099 |
$RM -r conftest 2>/dev/null |
|
18100 |
mkdir conftest |
|
18101 |
cd conftest |
|
18102 |
mkdir out |
|
18103 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
18104 |
||
18105 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
18106 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
18107 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
18108 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
18109 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
18110 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
18111 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
18112 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
18113 |
-e 's:$: $lt_compiler_flag:'` |
|
18114 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
18115 |
(eval "$lt_compile" 2>out/conftest.err) |
|
18116 |
ac_status=$? |
|
18117 |
cat out/conftest.err >&5 |
|
18118 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
18119 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
18120 |
then |
|
18121 |
# The compiler can only warn and ignore the option if not recognized |
|
18122 |
# So say no if there are warnings |
|
18123 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
18124 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
18125 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
18126 |
lt_cv_prog_compiler_c_o_F77=yes |
|
18127 |
fi |
|
18128 |
fi |
|
18129 |
chmod u+w . 2>&5 |
|
18130 |
$RM conftest* |
|
18131 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
18132 |
# template instantiation |
|
18133 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
18134 |
$RM out/* && rmdir out |
|
18135 |
cd .. |
|
18136 |
$RM -r conftest |
|
18137 |
$RM conftest* |
|
18138 |
||
18139 |
fi |
|
18140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
|
18141 |
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } |
|
18142 |
||
18143 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18144 |
|
18145 |
||
18146 |
hard_links="nottested" |
|
18147 |
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
|
18148 |
# do not overwrite the value of need_locks provided by the user |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
18150 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18151 |
hard_links=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18152 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18153 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
18154 |
touch conftest.a |
|
18155 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
18156 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18157 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
18158 |
$as_echo "$hard_links" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18159 |
if test "$hard_links" = no; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
18161 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18162 |
need_locks=warn |
18163 |
fi |
|
18164 |
else |
|
18165 |
need_locks=no |
|
18166 |
fi |
|
18167 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18168 |
|
18169 |
||
18170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
18171 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18172 |
|
18173 |
runpath_var= |
|
18174 |
allow_undefined_flag_F77= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18175 |
always_export_symbols_F77=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18176 |
archive_cmds_F77= |
18177 |
archive_expsym_cmds_F77= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18178 |
compiler_needs_object_F77=no |
18179 |
enable_shared_with_static_runtimes_F77=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18180 |
export_dynamic_flag_spec_F77= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18181 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
18182 |
hardcode_automatic_F77=no |
|
18183 |
hardcode_direct_F77=no |
|
18184 |
hardcode_direct_absolute_F77=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18185 |
hardcode_libdir_flag_spec_F77= |
18186 |
hardcode_libdir_flag_spec_ld_F77= |
|
18187 |
hardcode_libdir_separator_F77= |
|
18188 |
hardcode_minus_L_F77=no |
|
18189 |
hardcode_shlibpath_var_F77=unsupported |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18190 |
inherit_rpath_F77=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18191 |
link_all_deplibs_F77=unknown |
18192 |
module_cmds_F77= |
|
18193 |
module_expsym_cmds_F77= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18194 |
old_archive_from_new_cmds_F77= |
18195 |
old_archive_from_expsyms_cmds_F77= |
|
18196 |
thread_safe_flag_spec_F77= |
|
18197 |
whole_archive_flag_spec_F77= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18198 |
# include_expsyms should be a list of space-separated symbols to be *always* |
18199 |
# included in the symbol list |
|
18200 |
include_expsyms_F77= |
|
18201 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
18202 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
18203 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
18204 |
# as well as any symbol that contains `d'. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18205 |
exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18206 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
18207 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
18208 |
# the symbol is explicitly referenced. Since portable code cannot |
|
18209 |
# rely on this symbol name, it's probably fine to never include it in |
|
18210 |
# preloaded symbol tables. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18211 |
# Exclude shared library initialization/finalization symbols. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18212 |
extract_expsyms_cmds= |
18213 |
||
18214 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18215 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18216 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
18217 |
# When not using gcc, we currently assume that we are using |
|
18218 |
# Microsoft Visual C++. |
|
18219 |
if test "$GCC" != yes; then |
|
18220 |
with_gnu_ld=no |
|
18221 |
fi |
|
18222 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18223 |
interix*) |
18224 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
18225 |
with_gnu_ld=yes |
|
18226 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18227 |
openbsd*) |
18228 |
with_gnu_ld=no |
|
18229 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18230 |
linux* | k*bsd*-gnu | gnu*) |
18231 |
link_all_deplibs_F77=no |
|
18232 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18233 |
esac |
18234 |
||
18235 |
ld_shlibs_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18236 |
|
18237 |
# On some targets, GNU ld is compatible enough with the native linker |
|
18238 |
# that we're better off using the native interface for both. |
|
18239 |
lt_use_gnu_ld_interface=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18240 |
if test "$with_gnu_ld" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18241 |
case $host_os in |
18242 |
aix*) |
|
18243 |
# The AIX port of GNU ld has always aspired to compatibility |
|
18244 |
# with the native linker. However, as the warning in the GNU ld |
|
18245 |
# block says, versions before 2.19.5* couldn't really create working |
|
18246 |
# shared libraries, regardless of the interface used. |
|
18247 |
case `$LD -v 2>&1` in |
|
18248 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
18249 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
18250 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
18251 |
*) |
|
18252 |
lt_use_gnu_ld_interface=yes |
|
18253 |
;; |
|
18254 |
esac |
|
18255 |
;; |
|
18256 |
*) |
|
18257 |
lt_use_gnu_ld_interface=yes |
|
18258 |
;; |
|
18259 |
esac |
|
18260 |
fi |
|
18261 |
||
18262 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18263 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
18264 |
wlarc='${wl}' |
|
18265 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18266 |
# Set some defaults for GNU ld with shared library support. These |
18267 |
# are reset later if shared libraries are not supported. Putting them |
|
18268 |
# here allows them to be overridden if necessary. |
|
18269 |
runpath_var=LD_RUN_PATH |
|
18270 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
18271 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
|
18272 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
18273 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
18274 |
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
18275 |
else |
|
18276 |
whole_archive_flag_spec_F77= |
|
18277 |
fi |
|
18278 |
supports_anon_versioning=no |
|
18279 |
case `$LD -v 2>&1` in |
|
18280 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
18281 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
18282 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
18283 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
18284 |
*\ 2.11.*) ;; # other 2.11 versions |
|
18285 |
*) supports_anon_versioning=yes ;; |
|
18286 |
esac |
|
18287 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18288 |
# See if GNU ld supports shared libraries. |
18289 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18290 |
aix[3-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18291 |
# On AIX/PPC, the GNU linker is very broken |
18292 |
if test "$host_cpu" != ia64; then |
|
18293 |
ld_shlibs_F77=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18294 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18295 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18296 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18297 |
*** to be unable to reliably create shared libraries on AIX. |
18298 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18299 |
*** really care for shared libraries, you may want to install binutils |
18300 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
18301 |
*** You will then need to restart the configuration process. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18302 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18303 |
_LT_EOF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18304 |
fi |
18305 |
;; |
|
18306 |
||
18307 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18308 |
case $host_cpu in |
18309 |
powerpc) |
|
18310 |
# see comment about AmigaOS4 .so support |
|
18311 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18312 |
archive_expsym_cmds_F77='' |
|
18313 |
;; |
|
18314 |
m68k) |
|
18315 |
archive_cmds_F77='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
18316 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
18317 |
hardcode_minus_L_F77=yes |
|
18318 |
;; |
|
18319 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18320 |
;; |
18321 |
||
18322 |
beos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18323 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18324 |
allow_undefined_flag_F77=unsupported |
18325 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
18326 |
# support --undefined. This deserves some investigation. FIXME |
|
18327 |
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18328 |
else |
|
18329 |
ld_shlibs_F77=no |
|
18330 |
fi |
|
18331 |
;; |
|
18332 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18333 |
cygwin* | mingw* | pw32* | cegcc*) |
18334 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18335 |
# as there is no search path for DLLs. |
18336 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18337 |
export_dynamic_flag_spec_F77='${wl}--export-all-symbols' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18338 |
allow_undefined_flag_F77=unsupported |
18339 |
always_export_symbols_F77=no |
|
18340 |
enable_shared_with_static_runtimes_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18341 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
18342 |
exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18343 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18344 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
18345 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18346 |
# If the export-symbols file already is a .def file (1st line |
18347 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
18348 |
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
18349 |
cp $export_symbols $output_objdir/$soname.def; |
|
18350 |
else |
|
18351 |
echo EXPORTS > $output_objdir/$soname.def; |
|
18352 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
18353 |
fi~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18354 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
18355 |
else |
|
18356 |
ld_shlibs_F77=no |
|
18357 |
fi |
|
18358 |
;; |
|
18359 |
||
18360 |
haiku*) |
|
18361 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18362 |
link_all_deplibs_F77=yes |
|
18363 |
;; |
|
18364 |
||
18365 |
interix[3-9]*) |
|
18366 |
hardcode_direct_F77=no |
|
18367 |
hardcode_shlibpath_var_F77=no |
|
18368 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
18369 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
18370 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
18371 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
18372 |
# default) and relocated if they conflict, which is a slow very memory |
|
18373 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
18374 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
18375 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
18376 |
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
18377 |
archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
18378 |
;; |
|
18379 |
||
18380 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
18381 |
tmp_diet=no |
|
18382 |
if test "$host_os" = linux-dietlibc; then |
|
18383 |
case $cc_basename in |
|
18384 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
18385 |
esac |
|
18386 |
fi |
|
18387 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
18388 |
&& test "$tmp_diet" = no |
|
18389 |
then |
|
18390 |
tmp_addflag=' $pic_flag' |
|
18391 |
tmp_sharedflag='-shared' |
|
18392 |
case $cc_basename,$host_cpu in |
|
18393 |
pgcc*) # Portland Group C compiler |
|
18394 |
whole_archive_flag_spec_F77='${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' |
|
18395 |
tmp_addflag=' $pic_flag' |
|
18396 |
;; |
|
18397 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
|
18398 |
# Portland Group f77 and f90 compilers |
|
18399 |
whole_archive_flag_spec_F77='${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' |
|
18400 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
18401 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
18402 |
tmp_addflag=' -i_dynamic' ;; |
|
18403 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
18404 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
18405 |
ifc* | ifort*) # Intel Fortran compiler |
|
18406 |
tmp_addflag=' -nofor_main' ;; |
|
18407 |
lf95*) # Lahey Fortran 8.1 |
|
18408 |
whole_archive_flag_spec_F77= |
|
18409 |
tmp_sharedflag='--shared' ;; |
|
18410 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
18411 |
tmp_sharedflag='-qmkshrobj' |
|
18412 |
tmp_addflag= ;; |
|
18413 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
18414 |
whole_archive_flag_spec_F77='${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' |
|
18415 |
compiler_needs_object_F77=yes |
|
18416 |
;; |
|
18417 |
esac |
|
18418 |
case `$CC -V 2>&1 | sed 5q` in |
|
18419 |
*Sun\ C*) # Sun C 5.9 |
|
18420 |
whole_archive_flag_spec_F77='${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' |
|
18421 |
compiler_needs_object_F77=yes |
|
18422 |
tmp_sharedflag='-G' ;; |
|
18423 |
*Sun\ F*) # Sun Fortran 8.3 |
|
18424 |
tmp_sharedflag='-G' ;; |
|
18425 |
esac |
|
18426 |
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18427 |
||
18428 |
if test "x$supports_anon_versioning" = xyes; then |
|
18429 |
archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~ |
|
18430 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
18431 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
18432 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
18433 |
fi |
|
18434 |
||
18435 |
case $cc_basename in |
|
18436 |
xlf* | bgf* | bgxlf* | mpixlf*) |
|
18437 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
18438 |
whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive' |
|
18439 |
hardcode_libdir_flag_spec_F77= |
|
18440 |
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' |
|
18441 |
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
18442 |
if test "x$supports_anon_versioning" = xyes; then |
|
18443 |
archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~ |
|
18444 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
18445 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
18446 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
18447 |
fi |
|
18448 |
;; |
|
18449 |
esac |
|
18450 |
else |
|
18451 |
ld_shlibs_F77=no |
|
18452 |
fi |
|
18453 |
;; |
|
18454 |
||
18455 |
netbsd* | netbsdelf*-gnu) |
|
18456 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18457 |
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
18458 |
wlarc= |
|
18459 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18460 |
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
18461 |
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18462 |
fi |
18463 |
;; |
|
18464 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18465 |
solaris*) |
18466 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18467 |
ld_shlibs_F77=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18468 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18469 |
|
18470 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
18471 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
18472 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
18473 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
18474 |
*** your PATH or compiler configuration so that the native linker is |
|
18475 |
*** used, and then restart. |
|
18476 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18477 |
_LT_EOF |
18478 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
18479 |
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18480 |
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18481 |
else |
18482 |
ld_shlibs_F77=no |
|
18483 |
fi |
|
18484 |
;; |
|
18485 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18486 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
18487 |
case `$LD -v 2>&1` in |
|
18488 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
18489 |
ld_shlibs_F77=no |
|
18490 |
cat <<_LT_EOF 1>&2 |
|
18491 |
||
18492 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
18493 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
18494 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
18495 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
18496 |
*** your PATH or compiler configuration so that the native linker is |
|
18497 |
*** used, and then restart. |
|
18498 |
||
18499 |
_LT_EOF |
|
18500 |
;; |
|
18501 |
*) |
|
18502 |
# For security reasons, it is highly recommended that you always |
|
18503 |
# use absolute paths for naming shared libraries, and exclude the |
|
18504 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
18505 |
# requires that you compile everything twice, which is a pain. |
|
18506 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
18507 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
18508 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18509 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
18510 |
else |
|
18511 |
ld_shlibs_F77=no |
|
18512 |
fi |
|
18513 |
;; |
|
18514 |
esac |
|
18515 |
;; |
|
18516 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18517 |
sunos4*) |
18518 |
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
18519 |
wlarc= |
|
18520 |
hardcode_direct_F77=yes |
|
18521 |
hardcode_shlibpath_var_F77=no |
|
18522 |
;; |
|
18523 |
||
18524 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18525 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
18526 |
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18527 |
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18528 |
else |
18529 |
ld_shlibs_F77=no |
|
18530 |
fi |
|
18531 |
;; |
|
18532 |
esac |
|
18533 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18534 |
if test "$ld_shlibs_F77" = no; then |
18535 |
runpath_var= |
|
18536 |
hardcode_libdir_flag_spec_F77= |
|
18537 |
export_dynamic_flag_spec_F77= |
|
18538 |
whole_archive_flag_spec_F77= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18539 |
fi |
18540 |
else |
|
18541 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
18542 |
case $host_os in |
|
18543 |
aix3*) |
|
18544 |
allow_undefined_flag_F77=unsupported |
|
18545 |
always_export_symbols_F77=yes |
|
18546 |
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
18547 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
18548 |
# are no directories specified by -L. |
|
18549 |
hardcode_minus_L_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18550 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18551 |
# Neither direct hardcoding nor static linking is supported with a |
18552 |
# broken collect2. |
|
18553 |
hardcode_direct_F77=unsupported |
|
18554 |
fi |
|
18555 |
;; |
|
18556 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18557 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18558 |
if test "$host_cpu" = ia64; then |
18559 |
# On IA64, the linker does run time linking by default, so we don't |
|
18560 |
# have to do anything special. |
|
18561 |
aix_use_runtimelinking=no |
|
18562 |
exp_sym_flag='-Bexport' |
|
18563 |
no_entry_flag="" |
|
18564 |
else |
|
18565 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
18566 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18567 |
# Also, AIX nm treats weak defined symbols like other global |
18568 |
# defined symbols, whereas GNU nm marks them as "W". |
|
18569 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
18570 |
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18571 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18572 |
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18573 |
fi |
18574 |
aix_use_runtimelinking=no |
|
18575 |
||
18576 |
# Test if we are trying to use run time linking or normal |
|
18577 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
18578 |
# need to do runtime linking. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18579 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18580 |
for ld_flag in $LDFLAGS; do |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18581 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
18582 |
aix_use_runtimelinking=yes |
|
18583 |
break |
|
18584 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18585 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18586 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18587 |
esac |
18588 |
||
18589 |
exp_sym_flag='-bexport' |
|
18590 |
no_entry_flag='-bnoentry' |
|
18591 |
fi |
|
18592 |
||
18593 |
# When large executables or shared objects are built, AIX ld can |
|
18594 |
# have problems creating the table of contents. If linking a library |
|
18595 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
18596 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
18597 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
18598 |
||
18599 |
archive_cmds_F77='' |
|
18600 |
hardcode_direct_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18601 |
hardcode_direct_absolute_F77=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18602 |
hardcode_libdir_separator_F77=':' |
18603 |
link_all_deplibs_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18604 |
file_list_spec_F77='${wl}-f,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18605 |
|
18606 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18607 |
case $host_os in aix4.[012]|aix4.[012].*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18608 |
# We only want to do this on AIX 4.2 and lower, the check |
18609 |
# below for broken collect2 doesn't work under 4.3+ |
|
18610 |
collect2name=`${CC} -print-prog-name=collect2` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18611 |
if test -f "$collect2name" && |
18612 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18613 |
then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18614 |
# We have reworked collect2 |
18615 |
: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18616 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18617 |
# We have old collect2 |
18618 |
hardcode_direct_F77=unsupported |
|
18619 |
# It fails to find uninstalled libraries when the uninstalled |
|
18620 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
18621 |
# to unsupported forces relinking |
|
18622 |
hardcode_minus_L_F77=yes |
|
18623 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
18624 |
hardcode_libdir_separator_F77= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18625 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18626 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18627 |
esac |
18628 |
shared_flag='-shared' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18629 |
if test "$aix_use_runtimelinking" = yes; then |
18630 |
shared_flag="$shared_flag "'${wl}-G' |
|
18631 |
fi |
|
18632 |
link_all_deplibs_F77=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18633 |
else |
18634 |
# not using gcc |
|
18635 |
if test "$host_cpu" = ia64; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18636 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
18637 |
# chokes on -Wl,-G. The following line is correct: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18638 |
shared_flag='-G' |
18639 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18640 |
if test "$aix_use_runtimelinking" = yes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18641 |
shared_flag='${wl}-G' |
18642 |
else |
|
18643 |
shared_flag='${wl}-bM:SRE' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18644 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18645 |
fi |
18646 |
fi |
|
18647 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18648 |
export_dynamic_flag_spec_F77='${wl}-bexpall' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18649 |
# It seems that -bexpall does not export symbols beginning with |
18650 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
18651 |
always_export_symbols_F77=yes |
|
18652 |
if test "$aix_use_runtimelinking" = yes; then |
|
18653 |
# Warning - without using the other runtime loading flags (-brtl), |
|
18654 |
# -berok will link without error, but may produce a broken library. |
|
18655 |
allow_undefined_flag_F77='-berok' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18656 |
# Determine the default libpath from the value encoded in an |
18657 |
# empty executable. |
|
18658 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
18659 |
aix_libpath=$lt_cv_aix_libpath |
|
18660 |
else |
|
18661 |
if ${lt_cv_aix_libpath__F77+:} false; then : |
|
18662 |
$as_echo_n "(cached) " >&6 |
|
18663 |
else |
|
18664 |
cat > conftest.$ac_ext <<_ACEOF |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18665 |
program main |
18666 |
||
18667 |
end |
|
18668 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18669 |
if ac_fn_f77_try_link "$LINENO"; then : |
18670 |
||
18671 |
lt_aix_libpath_sed=' |
|
18672 |
/Import File Strings/,/^$/ { |
|
18673 |
/^0/ { |
|
18674 |
s/^0 *\([^ ]*\) *$/\1/ |
|
18675 |
p |
|
18676 |
} |
|
18677 |
}' |
|
18678 |
lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
18679 |
# Check for a 64-bit object if we didn't find anything. |
|
18680 |
if test -z "$lt_cv_aix_libpath__F77"; then |
|
18681 |
lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
18682 |
fi |
|
18683 |
fi |
|
18684 |
rm -f core conftest.err conftest.$ac_objext \ |
|
18685 |
conftest$ac_exeext conftest.$ac_ext |
|
18686 |
if test -z "$lt_cv_aix_libpath__F77"; then |
|
18687 |
lt_cv_aix_libpath__F77="/usr/lib:/lib" |
|
18688 |
fi |
|
18689 |
||
18690 |
fi |
|
18691 |
||
18692 |
aix_libpath=$lt_cv_aix_libpath__F77 |
|
18693 |
fi |
|
18694 |
||
18695 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
18696 |
archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
18697 |
else |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18698 |
if test "$host_cpu" = ia64; then |
18699 |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
|
18700 |
allow_undefined_flag_F77="-z nodefs" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18701 |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18702 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18703 |
# Determine the default libpath from the value encoded in an |
18704 |
# empty executable. |
|
18705 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
18706 |
aix_libpath=$lt_cv_aix_libpath |
|
18707 |
else |
|
18708 |
if ${lt_cv_aix_libpath__F77+:} false; then : |
|
18709 |
$as_echo_n "(cached) " >&6 |
|
18710 |
else |
|
18711 |
cat > conftest.$ac_ext <<_ACEOF |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18712 |
program main |
18713 |
||
18714 |
end |
|
18715 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18716 |
if ac_fn_f77_try_link "$LINENO"; then : |
18717 |
||
18718 |
lt_aix_libpath_sed=' |
|
18719 |
/Import File Strings/,/^$/ { |
|
18720 |
/^0/ { |
|
18721 |
s/^0 *\([^ ]*\) *$/\1/ |
|
18722 |
p |
|
18723 |
} |
|
18724 |
}' |
|
18725 |
lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
18726 |
# Check for a 64-bit object if we didn't find anything. |
|
18727 |
if test -z "$lt_cv_aix_libpath__F77"; then |
|
18728 |
lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
18729 |
fi |
|
18730 |
fi |
|
18731 |
rm -f core conftest.err conftest.$ac_objext \ |
|
18732 |
conftest$ac_exeext conftest.$ac_ext |
|
18733 |
if test -z "$lt_cv_aix_libpath__F77"; then |
|
18734 |
lt_cv_aix_libpath__F77="/usr/lib:/lib" |
|
18735 |
fi |
|
18736 |
||
18737 |
fi |
|
18738 |
||
18739 |
aix_libpath=$lt_cv_aix_libpath__F77 |
|
18740 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18741 |
|
18742 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
18743 |
# Warning - without using the other run time loading flags, |
|
18744 |
# -berok will link without error, but may produce a broken library. |
|
18745 |
no_undefined_flag_F77=' ${wl}-bernotok' |
|
18746 |
allow_undefined_flag_F77=' ${wl}-berok' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18747 |
if test "$with_gnu_ld" = yes; then |
18748 |
# We only use this code for GNU lds that support --whole-archive. |
|
18749 |
whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
18750 |
else |
|
18751 |
# Exported symbols can be pulled into shared objects from archives |
|
18752 |
whole_archive_flag_spec_F77='$convenience' |
|
18753 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18754 |
archive_cmds_need_lc_F77=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18755 |
# This is similar to how AIX traditionally builds its shared libraries. |
18756 |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18757 |
fi |
18758 |
fi |
|
18759 |
;; |
|
18760 |
||
18761 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18762 |
case $host_cpu in |
18763 |
powerpc) |
|
18764 |
# see comment about AmigaOS4 .so support |
|
18765 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
18766 |
archive_expsym_cmds_F77='' |
|
18767 |
;; |
|
18768 |
m68k) |
|
18769 |
archive_cmds_F77='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
18770 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
18771 |
hardcode_minus_L_F77=yes |
|
18772 |
;; |
|
18773 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18774 |
;; |
18775 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18776 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18777 |
export_dynamic_flag_spec_F77=-rdynamic |
18778 |
;; |
|
18779 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18780 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18781 |
# When not using gcc, we currently assume that we are using |
18782 |
# Microsoft Visual C++. |
|
18783 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
18784 |
# no search path for DLLs. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18785 |
case $cc_basename in |
18786 |
cl*) |
|
18787 |
# Native MSVC |
|
18788 |
hardcode_libdir_flag_spec_F77=' ' |
|
18789 |
allow_undefined_flag_F77=unsupported |
|
18790 |
always_export_symbols_F77=yes |
|
18791 |
file_list_spec_F77='@' |
|
18792 |
# Tell ltmain to make .lib files, not .a files. |
|
18793 |
libext=lib |
|
18794 |
# Tell ltmain to make .dll files, not .so files. |
|
18795 |
shrext_cmds=".dll" |
|
18796 |
# FIXME: Setting linknames here is a bad hack. |
|
18797 |
archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
18798 |
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
18799 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
18800 |
else |
|
18801 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
18802 |
fi~ |
|
18803 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
18804 |
linknames=' |
|
18805 |
# The linker will not automatically build a static lib if we build a DLL. |
|
18806 |
# _LT_TAGVAR(old_archive_from_new_cmds, F77)='true' |
|
18807 |
enable_shared_with_static_runtimes_F77=yes |
|
18808 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
18809 |
# Don't use ranlib |
|
18810 |
old_postinstall_cmds_F77='chmod 644 $oldlib' |
|
18811 |
postlink_cmds_F77='lt_outputfile="@OUTPUT@"~ |
|
18812 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
18813 |
case $lt_outputfile in |
|
18814 |
*.exe|*.EXE) ;; |
|
18815 |
*) |
|
18816 |
lt_outputfile="$lt_outputfile.exe" |
|
18817 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
18818 |
;; |
|
18819 |
esac~ |
|
18820 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
18821 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
18822 |
$RM "$lt_outputfile.manifest"; |
|
18823 |
fi' |
|
18824 |
;; |
|
18825 |
*) |
|
18826 |
# Assume MSVC wrapper |
|
18827 |
hardcode_libdir_flag_spec_F77=' ' |
|
18828 |
allow_undefined_flag_F77=unsupported |
|
18829 |
# Tell ltmain to make .lib files, not .a files. |
|
18830 |
libext=lib |
|
18831 |
# Tell ltmain to make .dll files, not .so files. |
|
18832 |
shrext_cmds=".dll" |
|
18833 |
# FIXME: Setting linknames here is a bad hack. |
|
18834 |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
18835 |
# The linker will automatically build a .lib file if we build a DLL. |
|
18836 |
old_archive_from_new_cmds_F77='true' |
|
18837 |
# FIXME: Should let the user specify the lib program. |
|
18838 |
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
18839 |
enable_shared_with_static_runtimes_F77=yes |
|
18840 |
;; |
|
18841 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18842 |
;; |
18843 |
||
18844 |
darwin* | rhapsody*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18845 |
|
18846 |
||
18847 |
archive_cmds_need_lc_F77=no |
|
18848 |
hardcode_direct_F77=no |
|
18849 |
hardcode_automatic_F77=yes |
|
18850 |
hardcode_shlibpath_var_F77=unsupported |
|
18851 |
if test "$lt_cv_ld_force_load" = "yes"; then |
|
18852 |
whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
18853 |
else |
|
18854 |
whole_archive_flag_spec_F77='' |
|
18855 |
fi |
|
18856 |
link_all_deplibs_F77=yes |
|
18857 |
allow_undefined_flag_F77="$_lt_dar_allow_undefined" |
|
18858 |
case $cc_basename in |
|
18859 |
ifort*) _lt_dar_can_shared=yes ;; |
|
18860 |
*) _lt_dar_can_shared=$GCC ;; |
|
18861 |
esac |
|
18862 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
18863 |
output_verbose_link_cmd=func_echo_all |
|
18864 |
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
18865 |
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
18866 |
archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
|
18867 |
module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
|
18868 |
||
18869 |
else |
|
18870 |
ld_shlibs_F77=no |
|
18871 |
fi |
|
18872 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18873 |
;; |
18874 |
||
18875 |
dgux*) |
|
18876 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18877 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
18878 |
hardcode_shlibpath_var_F77=no |
|
18879 |
;; |
|
18880 |
||
18881 |
freebsd1*) |
|
18882 |
ld_shlibs_F77=no |
|
18883 |
;; |
|
18884 |
||
18885 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
18886 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
18887 |
# does not break anything, and helps significantly (at the cost of a little |
|
18888 |
# extra space). |
|
18889 |
freebsd2.2*) |
|
18890 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
18891 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
18892 |
hardcode_direct_F77=yes |
|
18893 |
hardcode_shlibpath_var_F77=no |
|
18894 |
;; |
|
18895 |
||
18896 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
18897 |
freebsd2*) |
|
18898 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
18899 |
hardcode_direct_F77=yes |
|
18900 |
hardcode_minus_L_F77=yes |
|
18901 |
hardcode_shlibpath_var_F77=no |
|
18902 |
;; |
|
18903 |
||
18904 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18905 |
freebsd* | dragonfly*) |
18906 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18907 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
18908 |
hardcode_direct_F77=yes |
|
18909 |
hardcode_shlibpath_var_F77=no |
|
18910 |
;; |
|
18911 |
||
18912 |
hpux9*) |
|
18913 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18914 |
archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18915 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18916 |
archive_cmds_F77='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18917 |
fi |
18918 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
18919 |
hardcode_libdir_separator_F77=: |
|
18920 |
hardcode_direct_F77=yes |
|
18921 |
||
18922 |
# hardcode_minus_L: Not really in the search PATH, |
|
18923 |
# but as the default location of the library. |
|
18924 |
hardcode_minus_L_F77=yes |
|
18925 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
18926 |
;; |
|
18927 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18928 |
hpux10*) |
18929 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
18930 |
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
18931 |
else |
|
18932 |
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
18933 |
fi |
|
18934 |
if test "$with_gnu_ld" = no; then |
|
18935 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
18936 |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
|
18937 |
hardcode_libdir_separator_F77=: |
|
18938 |
hardcode_direct_F77=yes |
|
18939 |
hardcode_direct_absolute_F77=yes |
|
18940 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
18941 |
# hardcode_minus_L: Not really in the search PATH, |
|
18942 |
# but as the default location of the library. |
|
18943 |
hardcode_minus_L_F77=yes |
|
18944 |
fi |
|
18945 |
;; |
|
18946 |
||
18947 |
hpux11*) |
|
18948 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
18949 |
case $host_cpu in |
|
18950 |
hppa*64*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18951 |
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
18952 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18953 |
ia64*) |
18954 |
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
18955 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18956 |
*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18957 |
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18958 |
;; |
18959 |
esac |
|
18960 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18961 |
case $host_cpu in |
18962 |
hppa*64*) |
|
18963 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18964 |
;; |
|
18965 |
ia64*) |
|
18966 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18967 |
;; |
18968 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18969 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18970 |
;; |
18971 |
esac |
|
18972 |
fi |
|
18973 |
if test "$with_gnu_ld" = no; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18974 |
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
18975 |
hardcode_libdir_separator_F77=: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18976 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18977 |
case $host_cpu in |
18978 |
hppa*64*|ia64*) |
|
18979 |
hardcode_direct_F77=no |
|
18980 |
hardcode_shlibpath_var_F77=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18981 |
;; |
18982 |
*) |
|
18983 |
hardcode_direct_F77=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18984 |
hardcode_direct_absolute_F77=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
18985 |
export_dynamic_flag_spec_F77='${wl}-E' |
18986 |
||
18987 |
# hardcode_minus_L: Not really in the search PATH, |
|
18988 |
# but as the default location of the library. |
|
18989 |
hardcode_minus_L_F77=yes |
|
18990 |
;; |
|
18991 |
esac |
|
18992 |
fi |
|
18993 |
;; |
|
18994 |
||
18995 |
irix5* | irix6* | nonstopux*) |
|
18996 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
18997 |
archive_cmds_F77='$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' |
18998 |
# Try to use the -exported_symbol ld option, if it does not |
|
18999 |
# work, assume that -exports_file does not work either and |
|
19000 |
# implicitly export all symbols. |
|
19001 |
# This should be the same for all languages, so no per-tag cache variable. |
|
19002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
19003 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
19004 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
19005 |
$as_echo_n "(cached) " >&6 |
|
19006 |
else |
|
19007 |
save_LDFLAGS="$LDFLAGS" |
|
19008 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
19009 |
cat > conftest.$ac_ext <<_ACEOF |
|
19010 |
||
19011 |
subroutine foo |
|
19012 |
end |
|
19013 |
_ACEOF |
|
19014 |
if ac_fn_f77_try_link "$LINENO"; then : |
|
19015 |
lt_cv_irix_exported_symbol=yes |
|
19016 |
else |
|
19017 |
lt_cv_irix_exported_symbol=no |
|
19018 |
fi |
|
19019 |
rm -f core conftest.err conftest.$ac_objext \ |
|
19020 |
conftest$ac_exeext conftest.$ac_ext |
|
19021 |
LDFLAGS="$save_LDFLAGS" |
|
19022 |
fi |
|
19023 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
19024 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
19025 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
19026 |
archive_expsym_cmds_F77='$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' |
|
19027 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19028 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19029 |
archive_cmds_F77='$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' |
19030 |
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19031 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19032 |
archive_cmds_need_lc_F77='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19033 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
19034 |
hardcode_libdir_separator_F77=: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19035 |
inherit_rpath_F77=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19036 |
link_all_deplibs_F77=yes |
19037 |
;; |
|
19038 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19039 |
netbsd* | netbsdelf*-gnu) |
19040 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19041 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
19042 |
else |
|
19043 |
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
19044 |
fi |
|
19045 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
19046 |
hardcode_direct_F77=yes |
|
19047 |
hardcode_shlibpath_var_F77=no |
|
19048 |
;; |
|
19049 |
||
19050 |
newsos6) |
|
19051 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19052 |
hardcode_direct_F77=yes |
|
19053 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
19054 |
hardcode_libdir_separator_F77=: |
|
19055 |
hardcode_shlibpath_var_F77=no |
|
19056 |
;; |
|
19057 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19058 |
*nto* | *qnx*) |
19059 |
;; |
|
19060 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19061 |
openbsd*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19062 |
if test -f /usr/libexec/ld.so; then |
19063 |
hardcode_direct_F77=yes |
|
19064 |
hardcode_shlibpath_var_F77=no |
|
19065 |
hardcode_direct_absolute_F77=yes |
|
19066 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
19067 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
19068 |
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
19069 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
19070 |
export_dynamic_flag_spec_F77='${wl}-E' |
|
19071 |
else |
|
19072 |
case $host_os in |
|
19073 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
19074 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
19075 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
19076 |
;; |
|
19077 |
*) |
|
19078 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
19079 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
19080 |
;; |
|
19081 |
esac |
|
19082 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19083 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19084 |
ld_shlibs_F77=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19085 |
fi |
19086 |
;; |
|
19087 |
||
19088 |
os2*) |
|
19089 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
19090 |
hardcode_minus_L_F77=yes |
|
19091 |
allow_undefined_flag_F77=unsupported |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19092 |
archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
19093 |
old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19094 |
;; |
19095 |
||
19096 |
osf3*) |
|
19097 |
if test "$GCC" = yes; then |
|
19098 |
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19099 |
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19100 |
else |
19101 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19102 |
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19103 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19104 |
archive_cmds_need_lc_F77='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19105 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
19106 |
hardcode_libdir_separator_F77=: |
|
19107 |
;; |
|
19108 |
||
19109 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
19110 |
if test "$GCC" = yes; then |
|
19111 |
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19112 |
archive_cmds_F77='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19113 |
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
19114 |
else |
|
19115 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19116 |
archive_cmds_F77='$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' |
19117 |
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
|
19118 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19119 |
|
19120 |
# Both c and cxx compiler support -rpath directly |
|
19121 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
|
19122 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19123 |
archive_cmds_need_lc_F77='no' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19124 |
hardcode_libdir_separator_F77=: |
19125 |
;; |
|
19126 |
||
19127 |
solaris*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19128 |
no_undefined_flag_F77=' -z defs' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19129 |
if test "$GCC" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19130 |
wlarc='${wl}' |
19131 |
archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19132 |
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
19133 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19134 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19135 |
case `$CC -V 2>&1` in |
19136 |
*"Compilers 5.0"*) |
|
19137 |
wlarc='' |
|
19138 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19139 |
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
19140 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
19141 |
;; |
|
19142 |
*) |
|
19143 |
wlarc='${wl}' |
|
19144 |
archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19145 |
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
19146 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
19147 |
;; |
|
19148 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19149 |
fi |
19150 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
|
19151 |
hardcode_shlibpath_var_F77=no |
|
19152 |
case $host_os in |
|
19153 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19154 |
*) |
19155 |
# The compiler driver will combine and reorder linker options, |
|
19156 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
19157 |
# but is careful enough not to reorder. |
|
19158 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
19159 |
if test "$GCC" = yes; then |
|
19160 |
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
19161 |
else |
|
19162 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' |
|
19163 |
fi |
|
19164 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19165 |
esac |
19166 |
link_all_deplibs_F77=yes |
|
19167 |
;; |
|
19168 |
||
19169 |
sunos4*) |
|
19170 |
if test "x$host_vendor" = xsequent; then |
|
19171 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
19172 |
# files that make .init and .fini sections work. |
|
19173 |
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19174 |
else |
|
19175 |
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
19176 |
fi |
|
19177 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
19178 |
hardcode_direct_F77=yes |
|
19179 |
hardcode_minus_L_F77=yes |
|
19180 |
hardcode_shlibpath_var_F77=no |
|
19181 |
;; |
|
19182 |
||
19183 |
sysv4) |
|
19184 |
case $host_vendor in |
|
19185 |
sni) |
|
19186 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19187 |
hardcode_direct_F77=yes # is this really true??? |
|
19188 |
;; |
|
19189 |
siemens) |
|
19190 |
## LD is ld it makes a PLAMLIB |
|
19191 |
## CC just makes a GrossModule. |
|
19192 |
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
19193 |
reload_cmds_F77='$CC -r -o $output$reload_objs' |
|
19194 |
hardcode_direct_F77=no |
|
19195 |
;; |
|
19196 |
motorola) |
|
19197 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19198 |
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie |
|
19199 |
;; |
|
19200 |
esac |
|
19201 |
runpath_var='LD_RUN_PATH' |
|
19202 |
hardcode_shlibpath_var_F77=no |
|
19203 |
;; |
|
19204 |
||
19205 |
sysv4.3*) |
|
19206 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19207 |
hardcode_shlibpath_var_F77=no |
|
19208 |
export_dynamic_flag_spec_F77='-Bexport' |
|
19209 |
;; |
|
19210 |
||
19211 |
sysv4*MP*) |
|
19212 |
if test -d /usr/nec; then |
|
19213 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19214 |
hardcode_shlibpath_var_F77=no |
|
19215 |
runpath_var=LD_RUN_PATH |
|
19216 |
hardcode_runpath_var=yes |
|
19217 |
ld_shlibs_F77=yes |
|
19218 |
fi |
|
19219 |
;; |
|
19220 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19221 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
19222 |
no_undefined_flag_F77='${wl}-z,text' |
|
19223 |
archive_cmds_need_lc_F77=no |
|
19224 |
hardcode_shlibpath_var_F77=no |
|
19225 |
runpath_var='LD_RUN_PATH' |
|
19226 |
||
19227 |
if test "$GCC" = yes; then |
|
19228 |
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19229 |
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19230 |
else |
|
19231 |
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19232 |
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19233 |
fi |
|
19234 |
;; |
|
19235 |
||
19236 |
sysv5* | sco3.2v5* | sco5v6*) |
|
19237 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
19238 |
# link with -lc, and that would cause any symbols used from libc to |
|
19239 |
# always be unresolved, which means just about no library would |
|
19240 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
19241 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
19242 |
# as -z defs. |
|
19243 |
no_undefined_flag_F77='${wl}-z,text' |
|
19244 |
allow_undefined_flag_F77='${wl}-z,nodefs' |
|
19245 |
archive_cmds_need_lc_F77=no |
|
19246 |
hardcode_shlibpath_var_F77=no |
|
19247 |
hardcode_libdir_flag_spec_F77='${wl}-R,$libdir' |
|
19248 |
hardcode_libdir_separator_F77=':' |
|
19249 |
link_all_deplibs_F77=yes |
|
19250 |
export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
19251 |
runpath_var='LD_RUN_PATH' |
|
19252 |
||
19253 |
if test "$GCC" = yes; then |
|
19254 |
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19255 |
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19256 |
else |
|
19257 |
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19258 |
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
19259 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19260 |
;; |
19261 |
||
19262 |
uts4*) |
|
19263 |
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
19264 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
19265 |
hardcode_shlibpath_var_F77=no |
|
19266 |
;; |
|
19267 |
||
19268 |
*) |
|
19269 |
ld_shlibs_F77=no |
|
19270 |
;; |
|
19271 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19272 |
|
19273 |
if test x$host_vendor = xsni; then |
|
19274 |
case $host in |
|
19275 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
19276 |
export_dynamic_flag_spec_F77='${wl}-Blargedynsym' |
|
19277 |
;; |
|
19278 |
esac |
|
19279 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19280 |
fi |
19281 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5 |
19283 |
$as_echo "$ld_shlibs_F77" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19284 |
test "$ld_shlibs_F77" = no && can_build_shared=no |
19285 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19286 |
with_gnu_ld_F77=$with_gnu_ld |
19287 |
||
19288 |
||
19289 |
||
19290 |
||
19291 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19292 |
|
19293 |
# |
|
19294 |
# Do we need to explicitly link libc? |
|
19295 |
# |
|
19296 |
case "x$archive_cmds_need_lc_F77" in |
|
19297 |
x|xyes) |
|
19298 |
# Assume -lc should be added |
|
19299 |
archive_cmds_need_lc_F77=yes |
|
19300 |
||
19301 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
19302 |
case $archive_cmds_F77 in |
|
19303 |
*'~'*) |
|
19304 |
# FIXME: we may have to deal with multi-command sequences. |
|
19305 |
;; |
|
19306 |
'$CC '*) |
|
19307 |
# Test whether the compiler implicitly links with -lc since on some |
|
19308 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
19309 |
# to ld, don't add -lc before -lgcc. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19310 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
19311 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
19312 |
if ${lt_cv_archive_cmds_need_lc_F77+:} false; then : |
|
19313 |
$as_echo_n "(cached) " >&6 |
|
19314 |
else |
|
19315 |
$RM conftest* |
|
19316 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19317 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19318 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19319 |
(eval $ac_compile) 2>&5 |
19320 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19321 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
19322 |
test $ac_status = 0; } 2>conftest.err; then |
|
19323 |
soname=conftest |
|
19324 |
lib=conftest |
|
19325 |
libobjs=conftest.$ac_objext |
|
19326 |
deplibs= |
|
19327 |
wl=$lt_prog_compiler_wl_F77 |
|
19328 |
pic_flag=$lt_prog_compiler_pic_F77 |
|
19329 |
compiler_flags=-v |
|
19330 |
linker_flags=-v |
|
19331 |
verstring= |
|
19332 |
output_objdir=. |
|
19333 |
libname=conftest |
|
19334 |
lt_save_allow_undefined_flag=$allow_undefined_flag_F77 |
|
19335 |
allow_undefined_flag_F77= |
|
19336 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
19337 |
(eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19338 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19339 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
19340 |
test $ac_status = 0; } |
|
19341 |
then |
|
19342 |
lt_cv_archive_cmds_need_lc_F77=no |
|
19343 |
else |
|
19344 |
lt_cv_archive_cmds_need_lc_F77=yes |
|
19345 |
fi |
|
19346 |
allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
|
19347 |
else |
|
19348 |
cat conftest.err 1>&5 |
|
19349 |
fi |
|
19350 |
$RM conftest* |
|
19351 |
||
19352 |
fi |
|
19353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5 |
|
19354 |
$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; } |
|
19355 |
archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19356 |
;; |
19357 |
esac |
|
19358 |
fi |
|
19359 |
;; |
|
19360 |
esac |
|
19361 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19362 |
|
19363 |
||
19364 |
||
19365 |
||
19366 |
||
19367 |
||
19368 |
||
19369 |
||
19370 |
||
19371 |
||
19372 |
||
19373 |
||
19374 |
||
19375 |
||
19376 |
||
19377 |
||
19378 |
||
19379 |
||
19380 |
||
19381 |
||
19382 |
||
19383 |
||
19384 |
||
19385 |
||
19386 |
||
19387 |
||
19388 |
||
19389 |
||
19390 |
||
19391 |
||
19392 |
||
19393 |
||
19394 |
||
19395 |
||
19396 |
||
19397 |
||
19398 |
||
19399 |
||
19400 |
||
19401 |
||
19402 |
||
19403 |
||
19404 |
||
19405 |
||
19406 |
||
19407 |
||
19408 |
||
19409 |
||
19410 |
||
19411 |
||
19412 |
||
19413 |
||
19414 |
||
19415 |
||
19416 |
||
19417 |
||
19418 |
||
19419 |
||
19420 |
||
19421 |
||
19422 |
||
19423 |
||
19424 |
||
19425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
19426 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
19427 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19428 |
library_names_spec= |
19429 |
libname_spec='lib$name' |
|
19430 |
soname_spec= |
|
19431 |
shrext_cmds=".so" |
|
19432 |
postinstall_cmds= |
|
19433 |
postuninstall_cmds= |
|
19434 |
finish_cmds= |
|
19435 |
finish_eval= |
|
19436 |
shlibpath_var= |
|
19437 |
shlibpath_overrides_runpath=unknown |
|
19438 |
version_type=none |
|
19439 |
dynamic_linker="$host_os ld.so" |
|
19440 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
19441 |
need_lib_prefix=unknown |
|
19442 |
hardcode_into_libs=no |
|
19443 |
||
19444 |
# when you set need_version to no, make sure it does not cause -set_version |
|
19445 |
# flags to be left without arguments |
|
19446 |
need_version=unknown |
|
19447 |
||
19448 |
case $host_os in |
|
19449 |
aix3*) |
|
19450 |
version_type=linux |
|
19451 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
19452 |
shlibpath_var=LIBPATH |
|
19453 |
||
19454 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
19455 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19456 |
;; |
|
19457 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19458 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19459 |
version_type=linux |
19460 |
need_lib_prefix=no |
|
19461 |
need_version=no |
|
19462 |
hardcode_into_libs=yes |
|
19463 |
if test "$host_cpu" = ia64; then |
|
19464 |
# AIX 5 supports IA64 |
|
19465 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
19466 |
shlibpath_var=LD_LIBRARY_PATH |
|
19467 |
else |
|
19468 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
19469 |
# for dependence libraries. The import file would start with |
|
19470 |
# the line `#! .'. This would cause the generated library to |
|
19471 |
# depend on `.', always an invalid library. This was fixed in |
|
19472 |
# development snapshots of GCC prior to 3.0. |
|
19473 |
case $host_os in |
|
19474 |
aix4 | aix4.[01] | aix4.[01].*) |
|
19475 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
19476 |
echo ' yes ' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19477 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19478 |
: |
19479 |
else |
|
19480 |
can_build_shared=no |
|
19481 |
fi |
|
19482 |
;; |
|
19483 |
esac |
|
19484 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
19485 |
# soname into executable. Probably we can add versioning support to |
|
19486 |
# collect2, so additional links can be useful in future. |
|
19487 |
if test "$aix_use_runtimelinking" = yes; then |
|
19488 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
19489 |
# instead of lib<name>.a to let people know that these are not |
|
19490 |
# typical AIX shared libraries. |
|
19491 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19492 |
else |
|
19493 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
19494 |
# and later when we are not doing run time linking. |
|
19495 |
library_names_spec='${libname}${release}.a $libname.a' |
|
19496 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19497 |
fi |
|
19498 |
shlibpath_var=LIBPATH |
|
19499 |
fi |
|
19500 |
;; |
|
19501 |
||
19502 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19503 |
case $host_cpu in |
19504 |
powerpc) |
|
19505 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
19506 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
19507 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19508 |
;; |
|
19509 |
m68k) |
|
19510 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
19511 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
19512 |
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' |
|
19513 |
;; |
|
19514 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19515 |
;; |
19516 |
||
19517 |
beos*) |
|
19518 |
library_names_spec='${libname}${shared_ext}' |
|
19519 |
dynamic_linker="$host_os ld.so" |
|
19520 |
shlibpath_var=LIBRARY_PATH |
|
19521 |
;; |
|
19522 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19523 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19524 |
version_type=linux |
19525 |
need_version=no |
|
19526 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19527 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19528 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
19529 |
shlibpath_var=LD_LIBRARY_PATH |
|
19530 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
19531 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
19532 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
19533 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
19534 |
# libtool to hard-code these into programs |
|
19535 |
;; |
|
19536 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19537 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19538 |
version_type=windows |
19539 |
shrext_cmds=".dll" |
|
19540 |
need_version=no |
|
19541 |
need_lib_prefix=no |
|
19542 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19543 |
case $GCC,$cc_basename in |
19544 |
yes,*) |
|
19545 |
# gcc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19546 |
library_names_spec='$libname.dll.a' |
19547 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
19548 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19549 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19550 |
dldir=$destdir/`dirname \$dlpath`~ |
19551 |
test -d \$dldir || mkdir -p \$dldir~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19552 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
19553 |
chmod a+x \$dldir/$dlname~ |
|
19554 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
19555 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
19556 |
fi' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19557 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
19558 |
dlpath=$dir/\$dldll~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19559 |
$RM \$dlpath' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19560 |
shlibpath_overrides_runpath=yes |
19561 |
||
19562 |
case $host_os in |
|
19563 |
cygwin*) |
|
19564 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
19565 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19566 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19567 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19568 |
mingw* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19569 |
# MinGW DLLs use traditional 'lib' prefix |
19570 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
19571 |
;; |
|
19572 |
pw32*) |
|
19573 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19574 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
19575 |
;; |
|
19576 |
esac |
|
19577 |
dynamic_linker='Win32 ld.exe' |
|
19578 |
;; |
|
19579 |
||
19580 |
*,cl*) |
|
19581 |
# Native MSVC |
|
19582 |
libname_spec='$name' |
|
19583 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
19584 |
library_names_spec='${libname}.dll.lib' |
|
19585 |
||
19586 |
case $build_os in |
|
19587 |
mingw*) |
|
19588 |
sys_lib_search_path_spec= |
|
19589 |
lt_save_ifs=$IFS |
|
19590 |
IFS=';' |
|
19591 |
for lt_path in $LIB |
|
19592 |
do |
|
19593 |
IFS=$lt_save_ifs |
|
19594 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
19595 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
19596 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
19597 |
done |
|
19598 |
IFS=$lt_save_ifs |
|
19599 |
# Convert to MSYS style. |
|
19600 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
19601 |
;; |
|
19602 |
cygwin*) |
|
19603 |
# Convert to unix form, then to dos form, then back to unix form |
|
19604 |
# but this time dos style (no spaces!) so that the unix form looks |
|
19605 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
19606 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
19607 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
19608 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
19609 |
;; |
|
19610 |
*) |
|
19611 |
sys_lib_search_path_spec="$LIB" |
|
19612 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
19613 |
# It is most probably a Windows format PATH. |
|
19614 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
19615 |
else |
|
19616 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
19617 |
fi |
|
19618 |
# FIXME: find the short name or the path components, as spaces are |
|
19619 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
19620 |
;; |
|
19621 |
esac |
|
19622 |
||
19623 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
19624 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
19625 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
19626 |
dldir=$destdir/`dirname \$dlpath`~ |
|
19627 |
test -d \$dldir || mkdir -p \$dldir~ |
|
19628 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
19629 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
19630 |
dlpath=$dir/\$dldll~ |
|
19631 |
$RM \$dlpath' |
|
19632 |
shlibpath_overrides_runpath=yes |
|
19633 |
dynamic_linker='Win32 link.exe' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19634 |
;; |
19635 |
||
19636 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19637 |
# Assume MSVC wrapper |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19638 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19639 |
dynamic_linker='Win32 ld.exe' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19640 |
;; |
19641 |
esac |
|
19642 |
# FIXME: first we should search . and the directory the executable is in |
|
19643 |
shlibpath_var=PATH |
|
19644 |
;; |
|
19645 |
||
19646 |
darwin* | rhapsody*) |
|
19647 |
dynamic_linker="$host_os dyld" |
|
19648 |
version_type=darwin |
|
19649 |
need_lib_prefix=no |
|
19650 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19651 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19652 |
soname_spec='${libname}${release}${major}$shared_ext' |
19653 |
shlibpath_overrides_runpath=yes |
|
19654 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19655 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
19656 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19657 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
19658 |
;; |
|
19659 |
||
19660 |
dgux*) |
|
19661 |
version_type=linux |
|
19662 |
need_lib_prefix=no |
|
19663 |
need_version=no |
|
19664 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
19665 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19666 |
shlibpath_var=LD_LIBRARY_PATH |
|
19667 |
;; |
|
19668 |
||
19669 |
freebsd1*) |
|
19670 |
dynamic_linker=no |
|
19671 |
;; |
|
19672 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19673 |
freebsd* | dragonfly*) |
19674 |
# DragonFly does not have aout. When/if they implement a new |
|
19675 |
# versioning mechanism, adjust this. |
|
19676 |
if test -x /usr/bin/objformat; then |
|
19677 |
objformat=`/usr/bin/objformat` |
|
19678 |
else |
|
19679 |
case $host_os in |
|
19680 |
freebsd[123]*) objformat=aout ;; |
|
19681 |
*) objformat=elf ;; |
|
19682 |
esac |
|
19683 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19684 |
version_type=freebsd-$objformat |
19685 |
case $version_type in |
|
19686 |
freebsd-elf*) |
|
19687 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
19688 |
need_version=no |
|
19689 |
need_lib_prefix=no |
|
19690 |
;; |
|
19691 |
freebsd-*) |
|
19692 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
19693 |
need_version=yes |
|
19694 |
;; |
|
19695 |
esac |
|
19696 |
shlibpath_var=LD_LIBRARY_PATH |
|
19697 |
case $host_os in |
|
19698 |
freebsd2*) |
|
19699 |
shlibpath_overrides_runpath=yes |
|
19700 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19701 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19702 |
shlibpath_overrides_runpath=yes |
19703 |
hardcode_into_libs=yes |
|
19704 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19705 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
19706 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19707 |
shlibpath_overrides_runpath=no |
19708 |
hardcode_into_libs=yes |
|
19709 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19710 |
*) # from 4.6 on, and DragonFly |
19711 |
shlibpath_overrides_runpath=yes |
|
19712 |
hardcode_into_libs=yes |
|
19713 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19714 |
esac |
19715 |
;; |
|
19716 |
||
19717 |
gnu*) |
|
19718 |
version_type=linux |
|
19719 |
need_lib_prefix=no |
|
19720 |
need_version=no |
|
19721 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
19722 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19723 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19724 |
shlibpath_overrides_runpath=no |
19725 |
hardcode_into_libs=yes |
|
19726 |
;; |
|
19727 |
||
19728 |
haiku*) |
|
19729 |
version_type=linux |
|
19730 |
need_lib_prefix=no |
|
19731 |
need_version=no |
|
19732 |
dynamic_linker="$host_os runtime_loader" |
|
19733 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
19734 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19735 |
shlibpath_var=LIBRARY_PATH |
|
19736 |
shlibpath_overrides_runpath=yes |
|
19737 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19738 |
hardcode_into_libs=yes |
19739 |
;; |
|
19740 |
||
19741 |
hpux9* | hpux10* | hpux11*) |
|
19742 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
19743 |
# link against other versions. |
|
19744 |
version_type=sunos |
|
19745 |
need_lib_prefix=no |
|
19746 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19747 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19748 |
ia64*) |
19749 |
shrext_cmds='.so' |
|
19750 |
hardcode_into_libs=yes |
|
19751 |
dynamic_linker="$host_os dld.so" |
|
19752 |
shlibpath_var=LD_LIBRARY_PATH |
|
19753 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
19754 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19755 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19756 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
19757 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
19758 |
else |
|
19759 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
19760 |
fi |
|
19761 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
19762 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19763 |
hppa*64*) |
19764 |
shrext_cmds='.sl' |
|
19765 |
hardcode_into_libs=yes |
|
19766 |
dynamic_linker="$host_os dld.sl" |
|
19767 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
19768 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
19769 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19770 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19771 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
19772 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
19773 |
;; |
|
19774 |
*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19775 |
shrext_cmds='.sl' |
19776 |
dynamic_linker="$host_os dld.sl" |
|
19777 |
shlibpath_var=SHLIB_PATH |
|
19778 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
19779 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19780 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19781 |
;; |
|
19782 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19783 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19784 |
postinstall_cmds='chmod 555 $lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19785 |
# or fails outright, so override atomically: |
19786 |
install_override_mode=555 |
|
19787 |
;; |
|
19788 |
||
19789 |
interix[3-9]*) |
|
19790 |
version_type=linux |
|
19791 |
need_lib_prefix=no |
|
19792 |
need_version=no |
|
19793 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
19794 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19795 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
19796 |
shlibpath_var=LD_LIBRARY_PATH |
|
19797 |
shlibpath_overrides_runpath=no |
|
19798 |
hardcode_into_libs=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19799 |
;; |
19800 |
||
19801 |
irix5* | irix6* | nonstopux*) |
|
19802 |
case $host_os in |
|
19803 |
nonstopux*) version_type=nonstopux ;; |
|
19804 |
*) |
|
19805 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
19806 |
version_type=linux |
|
19807 |
else |
|
19808 |
version_type=irix |
|
19809 |
fi ;; |
|
19810 |
esac |
|
19811 |
need_lib_prefix=no |
|
19812 |
need_version=no |
|
19813 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19814 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
19815 |
case $host_os in |
|
19816 |
irix5* | nonstopux*) |
|
19817 |
libsuff= shlibsuff= |
|
19818 |
;; |
|
19819 |
*) |
|
19820 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
19821 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
19822 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
19823 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
19824 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
19825 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
19826 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
19827 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
19828 |
esac |
|
19829 |
;; |
|
19830 |
esac |
|
19831 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
19832 |
shlibpath_overrides_runpath=no |
|
19833 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
19834 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
19835 |
hardcode_into_libs=yes |
|
19836 |
;; |
|
19837 |
||
19838 |
# No shared lib support for Linux oldld, aout, or coff. |
|
19839 |
linux*oldld* | linux*aout* | linux*coff*) |
|
19840 |
dynamic_linker=no |
|
19841 |
;; |
|
19842 |
||
19843 |
# This must be Linux ELF. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19844 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19845 |
version_type=linux |
19846 |
need_lib_prefix=no |
|
19847 |
need_version=no |
|
19848 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19849 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19850 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
19851 |
shlibpath_var=LD_LIBRARY_PATH |
|
19852 |
shlibpath_overrides_runpath=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19853 |
|
19854 |
# Some binutils ld are patched to set DT_RUNPATH |
|
19855 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
19856 |
$as_echo_n "(cached) " >&6 |
|
19857 |
else |
|
19858 |
lt_cv_shlibpath_overrides_runpath=no |
|
19859 |
save_LDFLAGS=$LDFLAGS |
|
19860 |
save_libdir=$libdir |
|
19861 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \ |
|
19862 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\"" |
|
19863 |
cat > conftest.$ac_ext <<_ACEOF |
|
19864 |
program main |
|
19865 |
||
19866 |
end |
|
19867 |
_ACEOF |
|
19868 |
if ac_fn_f77_try_link "$LINENO"; then : |
|
19869 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
19870 |
lt_cv_shlibpath_overrides_runpath=yes |
|
19871 |
fi |
|
19872 |
fi |
|
19873 |
rm -f core conftest.err conftest.$ac_objext \ |
|
19874 |
conftest$ac_exeext conftest.$ac_ext |
|
19875 |
LDFLAGS=$save_LDFLAGS |
|
19876 |
libdir=$save_libdir |
|
19877 |
||
19878 |
fi |
|
19879 |
||
19880 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
19881 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19882 |
# This implies no fast_install, which is unacceptable. |
19883 |
# Some rework will be needed to allow for fast_install |
|
19884 |
# before this can be enabled. |
|
19885 |
hardcode_into_libs=yes |
|
19886 |
||
19887 |
# Append ld.so.conf contents to the search path |
|
19888 |
if test -f /etc/ld.so.conf; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19889 |
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' ' '` |
19890 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19891 |
fi |
19892 |
||
19893 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
19894 |
# powerpc, because MkLinux only supported shared libraries with the |
|
19895 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
19896 |
# most powerpc-linux boxes support dynamic linking these days and |
|
19897 |
# people can always --disable-shared, the test was removed, and we |
|
19898 |
# assume the GNU/Linux dynamic linker is in use. |
|
19899 |
dynamic_linker='GNU/Linux ld.so' |
|
19900 |
;; |
|
19901 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19902 |
netbsdelf*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19903 |
version_type=linux |
19904 |
need_lib_prefix=no |
|
19905 |
need_version=no |
|
19906 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
19907 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19908 |
shlibpath_var=LD_LIBRARY_PATH |
|
19909 |
shlibpath_overrides_runpath=no |
|
19910 |
hardcode_into_libs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19911 |
dynamic_linker='NetBSD ld.elf_so' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19912 |
;; |
19913 |
||
19914 |
netbsd*) |
|
19915 |
version_type=sunos |
|
19916 |
need_lib_prefix=no |
|
19917 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19918 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19919 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
19920 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
19921 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
19922 |
else |
|
19923 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
19924 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19925 |
dynamic_linker='NetBSD ld.elf_so' |
|
19926 |
fi |
|
19927 |
shlibpath_var=LD_LIBRARY_PATH |
|
19928 |
shlibpath_overrides_runpath=yes |
|
19929 |
hardcode_into_libs=yes |
|
19930 |
;; |
|
19931 |
||
19932 |
newsos6) |
|
19933 |
version_type=linux |
|
19934 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19935 |
shlibpath_var=LD_LIBRARY_PATH |
|
19936 |
shlibpath_overrides_runpath=yes |
|
19937 |
;; |
|
19938 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19939 |
*nto* | *qnx*) |
19940 |
version_type=qnx |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19941 |
need_lib_prefix=no |
19942 |
need_version=no |
|
19943 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19944 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19945 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19946 |
shlibpath_overrides_runpath=no |
19947 |
hardcode_into_libs=yes |
|
19948 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19949 |
;; |
19950 |
||
19951 |
openbsd*) |
|
19952 |
version_type=sunos |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19953 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19954 |
need_lib_prefix=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19955 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
19956 |
case $host_os in |
|
19957 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
19958 |
*) need_version=no ;; |
|
19959 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19960 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
19961 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
19962 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19963 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19964 |
case $host_os in |
19965 |
openbsd2.[89] | openbsd2.[89].*) |
|
19966 |
shlibpath_overrides_runpath=no |
|
19967 |
;; |
|
19968 |
*) |
|
19969 |
shlibpath_overrides_runpath=yes |
|
19970 |
;; |
|
19971 |
esac |
|
19972 |
else |
|
19973 |
shlibpath_overrides_runpath=yes |
|
19974 |
fi |
|
19975 |
;; |
|
19976 |
||
19977 |
os2*) |
|
19978 |
libname_spec='$name' |
|
19979 |
shrext_cmds=".dll" |
|
19980 |
need_lib_prefix=no |
|
19981 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
19982 |
dynamic_linker='OS/2 ld.exe' |
|
19983 |
shlibpath_var=LIBPATH |
|
19984 |
;; |
|
19985 |
||
19986 |
osf3* | osf4* | osf5*) |
|
19987 |
version_type=osf |
|
19988 |
need_lib_prefix=no |
|
19989 |
need_version=no |
|
19990 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
19991 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
19992 |
shlibpath_var=LD_LIBRARY_PATH |
|
19993 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
19994 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
19995 |
;; |
|
19996 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
19997 |
rdos*) |
19998 |
dynamic_linker=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
19999 |
;; |
20000 |
||
20001 |
solaris*) |
|
20002 |
version_type=linux |
|
20003 |
need_lib_prefix=no |
|
20004 |
need_version=no |
|
20005 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
20006 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
20007 |
shlibpath_var=LD_LIBRARY_PATH |
|
20008 |
shlibpath_overrides_runpath=yes |
|
20009 |
hardcode_into_libs=yes |
|
20010 |
# ldd complains unless libraries are executable |
|
20011 |
postinstall_cmds='chmod +x $lib' |
|
20012 |
;; |
|
20013 |
||
20014 |
sunos4*) |
|
20015 |
version_type=sunos |
|
20016 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
20017 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
20018 |
shlibpath_var=LD_LIBRARY_PATH |
|
20019 |
shlibpath_overrides_runpath=yes |
|
20020 |
if test "$with_gnu_ld" = yes; then |
|
20021 |
need_lib_prefix=no |
|
20022 |
fi |
|
20023 |
need_version=yes |
|
20024 |
;; |
|
20025 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20026 |
sysv4 | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20027 |
version_type=linux |
20028 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
20029 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
20030 |
shlibpath_var=LD_LIBRARY_PATH |
|
20031 |
case $host_vendor in |
|
20032 |
sni) |
|
20033 |
shlibpath_overrides_runpath=no |
|
20034 |
need_lib_prefix=no |
|
20035 |
runpath_var=LD_RUN_PATH |
|
20036 |
;; |
|
20037 |
siemens) |
|
20038 |
need_lib_prefix=no |
|
20039 |
;; |
|
20040 |
motorola) |
|
20041 |
need_lib_prefix=no |
|
20042 |
need_version=no |
|
20043 |
shlibpath_overrides_runpath=no |
|
20044 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
20045 |
;; |
|
20046 |
esac |
|
20047 |
;; |
|
20048 |
||
20049 |
sysv4*MP*) |
|
20050 |
if test -d /usr/nec ;then |
|
20051 |
version_type=linux |
|
20052 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
20053 |
soname_spec='$libname${shared_ext}.$major' |
|
20054 |
shlibpath_var=LD_LIBRARY_PATH |
|
20055 |
fi |
|
20056 |
;; |
|
20057 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20058 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
20059 |
version_type=freebsd-elf |
|
20060 |
need_lib_prefix=no |
|
20061 |
need_version=no |
|
20062 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
20063 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
20064 |
shlibpath_var=LD_LIBRARY_PATH |
|
20065 |
shlibpath_overrides_runpath=yes |
|
20066 |
hardcode_into_libs=yes |
|
20067 |
if test "$with_gnu_ld" = yes; then |
|
20068 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
20069 |
else |
|
20070 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
20071 |
case $host_os in |
|
20072 |
sco3.2v5*) |
|
20073 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
20074 |
;; |
|
20075 |
esac |
|
20076 |
fi |
|
20077 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
20078 |
;; |
|
20079 |
||
20080 |
tpf*) |
|
20081 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
20082 |
version_type=linux |
|
20083 |
need_lib_prefix=no |
|
20084 |
need_version=no |
|
20085 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
20086 |
shlibpath_var=LD_LIBRARY_PATH |
|
20087 |
shlibpath_overrides_runpath=no |
|
20088 |
hardcode_into_libs=yes |
|
20089 |
;; |
|
20090 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20091 |
uts4*) |
20092 |
version_type=linux |
|
20093 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
20094 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
20095 |
shlibpath_var=LD_LIBRARY_PATH |
|
20096 |
;; |
|
20097 |
||
20098 |
*) |
|
20099 |
dynamic_linker=no |
|
20100 |
;; |
|
20101 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
20103 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20104 |
test "$dynamic_linker" = no && can_build_shared=no |
20105 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20106 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
20107 |
if test "$GCC" = yes; then |
|
20108 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
20109 |
fi |
|
20110 |
||
20111 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
20112 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
20113 |
fi |
|
20114 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
20115 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
20116 |
fi |
|
20117 |
||
20118 |
||
20119 |
||
20120 |
||
20121 |
||
20122 |
||
20123 |
||
20124 |
||
20125 |
||
20126 |
||
20127 |
||
20128 |
||
20129 |
||
20130 |
||
20131 |
||
20132 |
||
20133 |
||
20134 |
||
20135 |
||
20136 |
||
20137 |
||
20138 |
||
20139 |
||
20140 |
||
20141 |
||
20142 |
||
20143 |
||
20144 |
||
20145 |
||
20146 |
||
20147 |
||
20148 |
||
20149 |
||
20150 |
||
20151 |
||
20152 |
||
20153 |
||
20154 |
||
20155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
20156 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20157 |
hardcode_action_F77= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20158 |
if test -n "$hardcode_libdir_flag_spec_F77" || |
20159 |
test -n "$runpath_var_F77" || |
|
20160 |
test "X$hardcode_automatic_F77" = "Xyes" ; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20161 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20162 |
# We can hardcode non-existent directories. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20163 |
if test "$hardcode_direct_F77" != no && |
20164 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
20165 |
# have to relink, otherwise we might link with an installed library |
|
20166 |
# when we should be linking with a yet-to-be-installed one |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20167 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no && |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20168 |
test "$hardcode_minus_L_F77" != no; then |
20169 |
# Linking always hardcodes the temporary library directory. |
|
20170 |
hardcode_action_F77=relink |
|
20171 |
else |
|
20172 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
20173 |
hardcode_action_F77=immediate |
|
20174 |
fi |
|
20175 |
else |
|
20176 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
20177 |
# directories. |
|
20178 |
hardcode_action_F77=unsupported |
|
20179 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5 |
20181 |
$as_echo "$hardcode_action_F77" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20182 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20183 |
if test "$hardcode_action_F77" = relink || |
20184 |
test "$inherit_rpath_F77" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20185 |
# Fast installation is not supported |
20186 |
enable_fast_install=no |
|
20187 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
20188 |
test "$enable_shared" = no; then |
|
20189 |
# Fast installation is not necessary |
|
20190 |
enable_fast_install=needless |
|
20191 |
fi |
|
20192 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20193 |
|
20194 |
||
20195 |
||
20196 |
||
20197 |
||
20198 |
||
20199 |
fi # test -n "$compiler" |
|
20200 |
||
20201 |
GCC=$lt_save_GCC |
|
20202 |
CC="$lt_save_CC" |
|
20203 |
CFLAGS="$lt_save_CFLAGS" |
|
20204 |
fi # test "$_lt_disable_F77" != yes |
|
20205 |
||
20206 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20207 |
ac_cpp='$CXXCPP $CPPFLAGS' |
20208 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
20209 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
20210 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
20211 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20212 |
|
20213 |
||
20214 |
ac_ext=${ac_fc_srcext-f} |
|
20215 |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
|
20216 |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
|
20217 |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
|
20218 |
||
20219 |
||
20220 |
if test -z "$FC" || test "X$FC" = "Xno"; then |
|
20221 |
_lt_disable_FC=yes |
|
20222 |
fi |
|
20223 |
||
20224 |
archive_cmds_need_lc_FC=no |
|
20225 |
allow_undefined_flag_FC= |
|
20226 |
always_export_symbols_FC=no |
|
20227 |
archive_expsym_cmds_FC= |
|
20228 |
export_dynamic_flag_spec_FC= |
|
20229 |
hardcode_direct_FC=no |
|
20230 |
hardcode_direct_absolute_FC=no |
|
20231 |
hardcode_libdir_flag_spec_FC= |
|
20232 |
hardcode_libdir_flag_spec_ld_FC= |
|
20233 |
hardcode_libdir_separator_FC= |
|
20234 |
hardcode_minus_L_FC=no |
|
20235 |
hardcode_automatic_FC=no |
|
20236 |
inherit_rpath_FC=no |
|
20237 |
module_cmds_FC= |
|
20238 |
module_expsym_cmds_FC= |
|
20239 |
link_all_deplibs_FC=unknown |
|
20240 |
old_archive_cmds_FC=$old_archive_cmds |
|
20241 |
reload_flag_FC=$reload_flag |
|
20242 |
reload_cmds_FC=$reload_cmds |
|
20243 |
no_undefined_flag_FC= |
|
20244 |
whole_archive_flag_spec_FC= |
|
20245 |
enable_shared_with_static_runtimes_FC=no |
|
20246 |
||
20247 |
# Source file extension for fc test sources. |
|
20248 |
ac_ext=${ac_fc_srcext-f} |
|
20249 |
||
20250 |
# Object file extension for compiled fc test sources. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20251 |
objext=o |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20252 |
objext_FC=$objext |
20253 |
||
20254 |
# No sense in running all these tests if we already determined that |
|
20255 |
# the FC compiler isn't working. Some variables (like enable_shared) |
|
20256 |
# are currently assumed to apply to all compilers on this platform, |
|
20257 |
# and will be corrupted by setting them based on a non-working compiler. |
|
20258 |
if test "$_lt_disable_FC" != yes; then |
|
20259 |
# Code to be used in simple compile tests |
|
20260 |
lt_simple_compile_test_code="\ |
|
20261 |
subroutine t |
|
20262 |
return |
|
20263 |
end |
|
20264 |
" |
|
20265 |
||
20266 |
# Code to be used in simple link tests |
|
20267 |
lt_simple_link_test_code="\ |
|
20268 |
program t |
|
20269 |
end |
|
20270 |
" |
|
20271 |
||
20272 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
20273 |
||
20274 |
||
20275 |
||
20276 |
||
20277 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20278 |
|
20279 |
# If no C compiler was specified, use CC. |
|
20280 |
LTCC=${LTCC-"$CC"} |
|
20281 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20282 |
# If no C compiler flags were specified, use CFLAGS. |
20283 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
20284 |
||
20285 |
# Allow CC to be a program name with arguments. |
|
20286 |
compiler=$CC |
|
20287 |
||
20288 |
||
20289 |
# save warnings/boilerplate of simple test code |
|
20290 |
ac_outfile=conftest.$ac_objext |
|
20291 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
20292 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
20293 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
20294 |
$RM conftest* |
|
20295 |
||
20296 |
ac_outfile=conftest.$ac_objext |
|
20297 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
20298 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
20299 |
_lt_linker_boilerplate=`cat conftest.err` |
|
20300 |
$RM -r conftest* |
|
20301 |
||
20302 |
||
20303 |
# Allow CC to be a program name with arguments. |
|
20304 |
lt_save_CC="$CC" |
|
20305 |
lt_save_GCC=$GCC |
|
20306 |
lt_save_CFLAGS=$CFLAGS |
|
20307 |
CC=${FC-"f95"} |
|
20308 |
CFLAGS=$FCFLAGS |
|
20309 |
compiler=$CC |
|
20310 |
GCC=$ac_cv_fc_compiler_gnu |
|
20311 |
||
20312 |
compiler_FC=$CC |
|
20313 |
for cc_temp in $compiler""; do |
|
20314 |
case $cc_temp in |
|
20315 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
20316 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
20317 |
\-*) ;; |
|
20318 |
*) break;; |
|
20319 |
esac |
|
20320 |
done |
|
20321 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
20322 |
||
20323 |
||
20324 |
if test -n "$compiler"; then |
|
20325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
20326 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
20327 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
20328 |
$as_echo "$can_build_shared" >&6; } |
|
20329 |
||
20330 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
20331 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
20332 |
test "$can_build_shared" = "no" && enable_shared=no |
|
20333 |
||
20334 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
20335 |
# are all built from PIC. |
|
20336 |
case $host_os in |
|
20337 |
aix3*) |
|
20338 |
test "$enable_shared" = yes && enable_static=no |
|
20339 |
if test -n "$RANLIB"; then |
|
20340 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
20341 |
postinstall_cmds='$RANLIB $lib' |
|
20342 |
fi |
|
20343 |
;; |
|
20344 |
aix[4-9]*) |
|
20345 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
20346 |
test "$enable_shared" = yes && enable_static=no |
|
20347 |
fi |
|
20348 |
;; |
|
20349 |
esac |
|
20350 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
20351 |
$as_echo "$enable_shared" >&6; } |
|
20352 |
||
20353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
20354 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
20355 |
# Make sure either enable_shared or enable_static is yes. |
|
20356 |
test "$enable_shared" = yes || enable_static=yes |
|
20357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
20358 |
$as_echo "$enable_static" >&6; } |
|
20359 |
||
20360 |
GCC_FC="$ac_cv_fc_compiler_gnu" |
|
20361 |
LD_FC="$LD" |
|
20362 |
||
20363 |
## CAVEAT EMPTOR: |
|
20364 |
## There is no encapsulation within the following macros, do not change |
|
20365 |
## the running order or otherwise move them around unless you know exactly |
|
20366 |
## what you are doing... |
|
20367 |
# Dependencies to place before and after the object being linked: |
|
20368 |
predep_objects_FC= |
|
20369 |
postdep_objects_FC= |
|
20370 |
predeps_FC= |
|
20371 |
postdeps_FC= |
|
20372 |
compiler_lib_search_path_FC= |
|
20373 |
||
20374 |
cat > conftest.$ac_ext <<_LT_EOF |
|
20375 |
subroutine foo |
|
20376 |
implicit none |
|
20377 |
integer a |
|
20378 |
a=0 |
|
20379 |
return |
|
20380 |
end |
|
20381 |
_LT_EOF |
|
20382 |
||
20383 |
||
20384 |
_lt_libdeps_save_CFLAGS=$CFLAGS |
|
20385 |
case "$CC $CFLAGS " in #( |
|
20386 |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
|
20387 |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
|
20388 |
esac |
|
20389 |
||
20390 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
20391 |
(eval $ac_compile) 2>&5 |
|
20392 |
ac_status=$? |
|
20393 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
20394 |
test $ac_status = 0; }; then |
|
20395 |
# Parse the compiler output and extract the necessary |
|
20396 |
# objects, libraries and library flags. |
|
20397 |
||
20398 |
# Sentinel used to keep track of whether or not we are before |
|
20399 |
# the conftest object file. |
|
20400 |
pre_test_object_deps_done=no |
|
20401 |
||
20402 |
for p in `eval "$output_verbose_link_cmd"`; do |
|
20403 |
case ${prev}${p} in |
|
20404 |
||
20405 |
-L* | -R* | -l*) |
|
20406 |
# Some compilers place space between "-{L,R}" and the path. |
|
20407 |
# Remove the space. |
|
20408 |
if test $p = "-L" || |
|
20409 |
test $p = "-R"; then |
|
20410 |
prev=$p |
|
20411 |
continue |
|
20412 |
fi |
|
20413 |
||
20414 |
# Expand the sysroot to ease extracting the directories later. |
|
20415 |
if test -z "$prev"; then |
|
20416 |
case $p in |
|
20417 |
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
|
20418 |
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
|
20419 |
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
|
20420 |
esac |
|
20421 |
fi |
|
20422 |
case $p in |
|
20423 |
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
|
20424 |
esac |
|
20425 |
if test "$pre_test_object_deps_done" = no; then |
|
20426 |
case ${prev} in |
|
20427 |
-L | -R) |
|
20428 |
# Internal compiler library paths should come after those |
|
20429 |
# provided the user. The postdeps already come after the |
|
20430 |
# user supplied libs so there is no need to process them. |
|
20431 |
if test -z "$compiler_lib_search_path_FC"; then |
|
20432 |
compiler_lib_search_path_FC="${prev}${p}" |
|
20433 |
else |
|
20434 |
compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}" |
|
20435 |
fi |
|
20436 |
;; |
|
20437 |
# The "-l" case would never come before the object being |
|
20438 |
# linked, so don't bother handling this case. |
|
20439 |
esac |
|
20440 |
else |
|
20441 |
if test -z "$postdeps_FC"; then |
|
20442 |
postdeps_FC="${prev}${p}" |
|
20443 |
else |
|
20444 |
postdeps_FC="${postdeps_FC} ${prev}${p}" |
|
20445 |
fi |
|
20446 |
fi |
|
20447 |
prev= |
|
20448 |
;; |
|
20449 |
||
20450 |
*.lto.$objext) ;; # Ignore GCC LTO objects |
|
20451 |
*.$objext) |
|
20452 |
# This assumes that the test object file only shows up |
|
20453 |
# once in the compiler output. |
|
20454 |
if test "$p" = "conftest.$objext"; then |
|
20455 |
pre_test_object_deps_done=yes |
|
20456 |
continue |
|
20457 |
fi |
|
20458 |
||
20459 |
if test "$pre_test_object_deps_done" = no; then |
|
20460 |
if test -z "$predep_objects_FC"; then |
|
20461 |
predep_objects_FC="$p" |
|
20462 |
else |
|
20463 |
predep_objects_FC="$predep_objects_FC $p" |
|
20464 |
fi |
|
20465 |
else |
|
20466 |
if test -z "$postdep_objects_FC"; then |
|
20467 |
postdep_objects_FC="$p" |
|
20468 |
else |
|
20469 |
postdep_objects_FC="$postdep_objects_FC $p" |
|
20470 |
fi |
|
20471 |
fi |
|
20472 |
;; |
|
20473 |
||
20474 |
*) ;; # Ignore the rest. |
|
20475 |
||
20476 |
esac |
|
20477 |
done |
|
20478 |
||
20479 |
# Clean up. |
|
20480 |
rm -f a.out a.exe |
|
20481 |
else |
|
20482 |
echo "libtool.m4: error: problem compiling FC test program" |
|
20483 |
fi |
|
20484 |
||
20485 |
$RM -f confest.$objext |
|
20486 |
CFLAGS=$_lt_libdeps_save_CFLAGS |
|
20487 |
||
20488 |
# PORTME: override above test on systems where it is broken |
|
20489 |
||
20490 |
||
20491 |
case " $postdeps_FC " in |
|
20492 |
*" -lc "*) archive_cmds_need_lc_FC=no ;; |
|
20493 |
esac |
|
20494 |
compiler_lib_search_dirs_FC= |
|
20495 |
if test -n "${compiler_lib_search_path_FC}"; then |
|
20496 |
compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
|
20497 |
fi |
|
20498 |
||
20499 |
||
20500 |
||
20501 |
||
20502 |
||
20503 |
||
20504 |
||
20505 |
||
20506 |
||
20507 |
||
20508 |
||
20509 |
||
20510 |
||
20511 |
lt_prog_compiler_wl_FC= |
|
20512 |
lt_prog_compiler_pic_FC= |
|
20513 |
lt_prog_compiler_static_FC= |
|
20514 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20515 |
|
20516 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20517 |
lt_prog_compiler_wl_FC='-Wl,' |
20518 |
lt_prog_compiler_static_FC='-static' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20519 |
|
20520 |
case $host_os in |
|
20521 |
aix*) |
|
20522 |
# All AIX code is PIC. |
|
20523 |
if test "$host_cpu" = ia64; then |
|
20524 |
# AIX 5 now supports IA64 processor |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20525 |
lt_prog_compiler_static_FC='-Bstatic' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20526 |
fi |
20527 |
;; |
|
20528 |
||
20529 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20530 |
case $host_cpu in |
20531 |
powerpc) |
|
20532 |
# see comment about AmigaOS4 .so support |
|
20533 |
lt_prog_compiler_pic_FC='-fPIC' |
|
20534 |
;; |
|
20535 |
m68k) |
|
20536 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
20537 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
20538 |
# like `-m68040'. |
|
20539 |
lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4' |
|
20540 |
;; |
|
20541 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20542 |
;; |
20543 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20544 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20545 |
# PIC is the default for these OSes. |
20546 |
;; |
|
20547 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20548 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20549 |
# This hack is so that the source file can tell whether it is being |
20550 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20551 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
20552 |
# (--disable-auto-import) libraries |
|
20553 |
lt_prog_compiler_pic_FC='-DDLL_EXPORT' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20554 |
;; |
20555 |
||
20556 |
darwin* | rhapsody*) |
|
20557 |
# PIC is the default on this platform |
|
20558 |
# Common symbols not allowed in MH_DYLIB files |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20559 |
lt_prog_compiler_pic_FC='-fno-common' |
20560 |
;; |
|
20561 |
||
20562 |
haiku*) |
|
20563 |
# PIC is the default for Haiku. |
|
20564 |
# The "-static" flag exists, but is broken. |
|
20565 |
lt_prog_compiler_static_FC= |
|
20566 |
;; |
|
20567 |
||
20568 |
hpux*) |
|
20569 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
20570 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
20571 |
# sets the default TLS model and affects inlining. |
|
20572 |
case $host_cpu in |
|
20573 |
hppa*64*) |
|
20574 |
# +Z the default |
|
20575 |
;; |
|
20576 |
*) |
|
20577 |
lt_prog_compiler_pic_FC='-fPIC' |
|
20578 |
;; |
|
20579 |
esac |
|
20580 |
;; |
|
20581 |
||
20582 |
interix[3-9]*) |
|
20583 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
20584 |
# Instead, we relocate shared libraries at runtime. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20585 |
;; |
20586 |
||
20587 |
msdosdjgpp*) |
|
20588 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
20589 |
# on systems that don't support them. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20590 |
lt_prog_compiler_can_build_shared_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20591 |
enable_shared=no |
20592 |
;; |
|
20593 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20594 |
*nto* | *qnx*) |
20595 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
20596 |
# it will coredump. |
|
20597 |
lt_prog_compiler_pic_FC='-fPIC -shared' |
|
20598 |
;; |
|
20599 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20600 |
sysv4*MP*) |
20601 |
if test -d /usr/nec; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20602 |
lt_prog_compiler_pic_FC=-Kconform_pic |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20603 |
fi |
20604 |
;; |
|
20605 |
||
20606 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20607 |
lt_prog_compiler_pic_FC='-fPIC' |
20608 |
;; |
|
20609 |
esac |
|
20610 |
||
20611 |
case $cc_basename in |
|
20612 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
20613 |
lt_prog_compiler_wl_FC='-Xlinker ' |
|
20614 |
lt_prog_compiler_pic_FC='-Xcompiler -fPIC' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20615 |
;; |
20616 |
esac |
|
20617 |
else |
|
20618 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
20619 |
case $host_os in |
|
20620 |
aix*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20621 |
lt_prog_compiler_wl_FC='-Wl,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20622 |
if test "$host_cpu" = ia64; then |
20623 |
# AIX 5 now supports IA64 processor |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20624 |
lt_prog_compiler_static_FC='-Bstatic' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20625 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20626 |
lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20627 |
fi |
20628 |
;; |
|
20629 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20630 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20631 |
# This hack is so that the source file can tell whether it is being |
20632 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20633 |
lt_prog_compiler_pic_FC='-DDLL_EXPORT' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20634 |
;; |
20635 |
||
20636 |
hpux9* | hpux10* | hpux11*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20637 |
lt_prog_compiler_wl_FC='-Wl,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20638 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
20639 |
# not for PA HP-UX. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20640 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20641 |
hppa*64*|ia64*) |
20642 |
# +Z the default |
|
20643 |
;; |
|
20644 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20645 |
lt_prog_compiler_pic_FC='+Z' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20646 |
;; |
20647 |
esac |
|
20648 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20649 |
lt_prog_compiler_static_FC='${wl}-a ${wl}archive' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20650 |
;; |
20651 |
||
20652 |
irix5* | irix6* | nonstopux*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20653 |
lt_prog_compiler_wl_FC='-Wl,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20654 |
# PIC (with -KPIC) is the default. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20655 |
lt_prog_compiler_static_FC='-non_shared' |
20656 |
;; |
|
20657 |
||
20658 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
20659 |
case $cc_basename in |
|
20660 |
# old Intel for x86_64 which still supported -KPIC. |
|
20661 |
ecc*) |
|
20662 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20663 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20664 |
lt_prog_compiler_static_FC='-static' |
|
20665 |
;; |
|
20666 |
# icc used to be incompatible with GCC. |
|
20667 |
# ICC 10 doesn't accept -KPIC any more. |
|
20668 |
icc* | ifort*) |
|
20669 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20670 |
lt_prog_compiler_pic_FC='-fPIC' |
|
20671 |
lt_prog_compiler_static_FC='-static' |
|
20672 |
;; |
|
20673 |
# Lahey Fortran 8.1. |
|
20674 |
lf95*) |
|
20675 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20676 |
lt_prog_compiler_pic_FC='--shared' |
|
20677 |
lt_prog_compiler_static_FC='--static' |
|
20678 |
;; |
|
20679 |
nagfor*) |
|
20680 |
# NAG Fortran compiler |
|
20681 |
lt_prog_compiler_wl_FC='-Wl,-Wl,,' |
|
20682 |
lt_prog_compiler_pic_FC='-PIC' |
|
20683 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20684 |
;; |
|
20685 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
20686 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
20687 |
# which looks to be a dead project) |
|
20688 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20689 |
lt_prog_compiler_pic_FC='-fpic' |
|
20690 |
lt_prog_compiler_static_FC='-Bstatic' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20691 |
;; |
20692 |
ccc*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20693 |
lt_prog_compiler_wl_FC='-Wl,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20694 |
# All Alpha code is PIC. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20695 |
lt_prog_compiler_static_FC='-non_shared' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20696 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20697 |
xl* | bgxl* | bgf* | mpixl*) |
20698 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
20699 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20700 |
lt_prog_compiler_pic_FC='-qpic' |
|
20701 |
lt_prog_compiler_static_FC='-qstaticlink' |
|
20702 |
;; |
|
20703 |
*) |
|
20704 |
case `$CC -V 2>&1 | sed 5q` in |
|
20705 |
*Sun\ F* | *Sun*Fortran*) |
|
20706 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
20707 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20708 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20709 |
lt_prog_compiler_wl_FC='' |
|
20710 |
;; |
|
20711 |
*Sun\ C*) |
|
20712 |
# Sun C 5.9 |
|
20713 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20714 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20715 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20716 |
;; |
|
20717 |
esac |
|
20718 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20719 |
esac |
20720 |
;; |
|
20721 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20722 |
newsos6) |
20723 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20724 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20725 |
;; |
|
20726 |
||
20727 |
*nto* | *qnx*) |
|
20728 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
20729 |
# it will coredump. |
|
20730 |
lt_prog_compiler_pic_FC='-fPIC -shared' |
|
20731 |
;; |
|
20732 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20733 |
osf3* | osf4* | osf5*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20734 |
lt_prog_compiler_wl_FC='-Wl,' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20735 |
# All OSF/1 code is PIC. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20736 |
lt_prog_compiler_static_FC='-non_shared' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20737 |
;; |
20738 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20739 |
rdos*) |
20740 |
lt_prog_compiler_static_FC='-non_shared' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20741 |
;; |
20742 |
||
20743 |
solaris*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20744 |
lt_prog_compiler_pic_FC='-KPIC' |
20745 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20746 |
case $cc_basename in |
|
20747 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
|
20748 |
lt_prog_compiler_wl_FC='-Qoption ld ';; |
|
20749 |
*) |
|
20750 |
lt_prog_compiler_wl_FC='-Wl,';; |
|
20751 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20752 |
;; |
20753 |
||
20754 |
sunos4*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20755 |
lt_prog_compiler_wl_FC='-Qoption ld ' |
20756 |
lt_prog_compiler_pic_FC='-PIC' |
|
20757 |
lt_prog_compiler_static_FC='-Bstatic' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20758 |
;; |
20759 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20760 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
20761 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20762 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20763 |
lt_prog_compiler_static_FC='-Bstatic' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20764 |
;; |
20765 |
||
20766 |
sysv4*MP*) |
|
20767 |
if test -d /usr/nec ;then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20768 |
lt_prog_compiler_pic_FC='-Kconform_pic' |
20769 |
lt_prog_compiler_static_FC='-Bstatic' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20770 |
fi |
20771 |
;; |
|
20772 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20773 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
20774 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20775 |
lt_prog_compiler_pic_FC='-KPIC' |
|
20776 |
lt_prog_compiler_static_FC='-Bstatic' |
|
20777 |
;; |
|
20778 |
||
20779 |
unicos*) |
|
20780 |
lt_prog_compiler_wl_FC='-Wl,' |
|
20781 |
lt_prog_compiler_can_build_shared_FC=no |
|
20782 |
;; |
|
20783 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20784 |
uts4*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20785 |
lt_prog_compiler_pic_FC='-pic' |
20786 |
lt_prog_compiler_static_FC='-Bstatic' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20787 |
;; |
20788 |
||
20789 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20790 |
lt_prog_compiler_can_build_shared_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20791 |
;; |
20792 |
esac |
|
20793 |
fi |
|
20794 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20795 |
case $host_os in |
20796 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
20797 |
*djgpp*) |
|
20798 |
lt_prog_compiler_pic_FC= |
|
20799 |
;; |
|
20800 |
*) |
|
20801 |
lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC" |
|
20802 |
;; |
|
20803 |
esac |
|
20804 |
||
20805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
20806 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
20807 |
if ${lt_cv_prog_compiler_pic_FC+:} false; then : |
|
20808 |
$as_echo_n "(cached) " >&6 |
|
20809 |
else |
|
20810 |
lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC |
|
20811 |
fi |
|
20812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5 |
|
20813 |
$as_echo "$lt_cv_prog_compiler_pic_FC" >&6; } |
|
20814 |
lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20815 |
|
20816 |
# |
|
20817 |
# Check to make sure the PIC flag actually works. |
|
20818 |
# |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20819 |
if test -n "$lt_prog_compiler_pic_FC"; then |
20820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5 |
|
20821 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; } |
|
20822 |
if ${lt_cv_prog_compiler_pic_works_FC+:} false; then : |
|
20823 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20824 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20825 |
lt_cv_prog_compiler_pic_works_FC=no |
20826 |
ac_outfile=conftest.$ac_objext |
|
20827 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
20828 |
lt_compiler_flag="$lt_prog_compiler_pic_FC" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20829 |
# Insert the option either (1) after the last *FLAGS variable, or |
20830 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
20831 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
20832 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
20833 |
# The option is referenced via a variable to avoid confusing sed. |
|
20834 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20835 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20836 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
20837 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20838 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20839 |
(eval "$lt_compile" 2>conftest.err) |
20840 |
ac_status=$? |
|
20841 |
cat conftest.err >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20842 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20843 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
20844 |
# The compiler can only warn and ignore the option if not recognized |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20845 |
# So say no if there are warnings other than the usual output. |
20846 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
20847 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
20848 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
20849 |
lt_cv_prog_compiler_pic_works_FC=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20850 |
fi |
20851 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20852 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20853 |
|
20854 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5 |
20856 |
$as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20857 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20858 |
if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then |
20859 |
case $lt_prog_compiler_pic_FC in |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20860 |
"" | " "*) ;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20861 |
*) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
20862 |
esac |
20863 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
20864 |
lt_prog_compiler_pic_FC= |
20865 |
lt_prog_compiler_can_build_shared_FC=no |
|
20866 |
fi |
|
20867 |
||
20868 |
fi |
|
20869 |
||
20870 |
||
20871 |
||
20872 |
||
20873 |
||
20874 |
# |
|
20875 |
# Check to make sure the static flag actually works. |
|
20876 |
# |
|
20877 |
wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\" |
|
20878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
20879 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
20880 |
if ${lt_cv_prog_compiler_static_works_FC+:} false; then : |
|
20881 |
$as_echo_n "(cached) " >&6 |
|
20882 |
else |
|
20883 |
lt_cv_prog_compiler_static_works_FC=no |
|
20884 |
save_LDFLAGS="$LDFLAGS" |
|
20885 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
20886 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
20887 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
20888 |
# The linker can only warn and ignore the option if not recognized |
|
20889 |
# So say no if there are warnings |
|
20890 |
if test -s conftest.err; then |
|
20891 |
# Append any errors to the config.log. |
|
20892 |
cat conftest.err 1>&5 |
|
20893 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
20894 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
20895 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
20896 |
lt_cv_prog_compiler_static_works_FC=yes |
|
20897 |
fi |
|
20898 |
else |
|
20899 |
lt_cv_prog_compiler_static_works_FC=yes |
|
20900 |
fi |
|
20901 |
fi |
|
20902 |
$RM -r conftest* |
|
20903 |
LDFLAGS="$save_LDFLAGS" |
|
20904 |
||
20905 |
fi |
|
20906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5 |
|
20907 |
$as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; } |
|
20908 |
||
20909 |
if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then |
|
20910 |
: |
|
20911 |
else |
|
20912 |
lt_prog_compiler_static_FC= |
|
20913 |
fi |
|
20914 |
||
20915 |
||
20916 |
||
20917 |
||
20918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
20919 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
20920 |
if ${lt_cv_prog_compiler_c_o_FC+:} false; then : |
|
20921 |
$as_echo_n "(cached) " >&6 |
|
20922 |
else |
|
20923 |
lt_cv_prog_compiler_c_o_FC=no |
|
20924 |
$RM -r conftest 2>/dev/null |
|
20925 |
mkdir conftest |
|
20926 |
cd conftest |
|
20927 |
mkdir out |
|
20928 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
20929 |
||
20930 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
20931 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
20932 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
20933 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
20934 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
20935 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
20936 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
20937 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
20938 |
-e 's:$: $lt_compiler_flag:'` |
|
20939 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
20940 |
(eval "$lt_compile" 2>out/conftest.err) |
|
20941 |
ac_status=$? |
|
20942 |
cat out/conftest.err >&5 |
|
20943 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
20944 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
20945 |
then |
|
20946 |
# The compiler can only warn and ignore the option if not recognized |
|
20947 |
# So say no if there are warnings |
|
20948 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
20949 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
20950 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
20951 |
lt_cv_prog_compiler_c_o_FC=yes |
|
20952 |
fi |
|
20953 |
fi |
|
20954 |
chmod u+w . 2>&5 |
|
20955 |
$RM conftest* |
|
20956 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
20957 |
# template instantiation |
|
20958 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
20959 |
$RM out/* && rmdir out |
|
20960 |
cd .. |
|
20961 |
$RM -r conftest |
|
20962 |
$RM conftest* |
|
20963 |
||
20964 |
fi |
|
20965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 |
|
20966 |
$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } |
|
20967 |
||
20968 |
||
20969 |
||
20970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
20971 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
20972 |
if ${lt_cv_prog_compiler_c_o_FC+:} false; then : |
|
20973 |
$as_echo_n "(cached) " >&6 |
|
20974 |
else |
|
20975 |
lt_cv_prog_compiler_c_o_FC=no |
|
20976 |
$RM -r conftest 2>/dev/null |
|
20977 |
mkdir conftest |
|
20978 |
cd conftest |
|
20979 |
mkdir out |
|
20980 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
20981 |
||
20982 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
20983 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
20984 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
20985 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
20986 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
20987 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
20988 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
20989 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
20990 |
-e 's:$: $lt_compiler_flag:'` |
|
20991 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
20992 |
(eval "$lt_compile" 2>out/conftest.err) |
|
20993 |
ac_status=$? |
|
20994 |
cat out/conftest.err >&5 |
|
20995 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
20996 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
20997 |
then |
|
20998 |
# The compiler can only warn and ignore the option if not recognized |
|
20999 |
# So say no if there are warnings |
|
21000 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
21001 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
21002 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
21003 |
lt_cv_prog_compiler_c_o_FC=yes |
|
21004 |
fi |
|
21005 |
fi |
|
21006 |
chmod u+w . 2>&5 |
|
21007 |
$RM conftest* |
|
21008 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
21009 |
# template instantiation |
|
21010 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
21011 |
$RM out/* && rmdir out |
|
21012 |
cd .. |
|
21013 |
$RM -r conftest |
|
21014 |
$RM conftest* |
|
21015 |
||
21016 |
fi |
|
21017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 |
|
21018 |
$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } |
|
21019 |
||
21020 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21021 |
|
21022 |
||
21023 |
hard_links="nottested" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21024 |
if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21025 |
# do not overwrite the value of need_locks provided by the user |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21026 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
21027 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21028 |
hard_links=yes |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21029 |
$RM conftest* |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21030 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
21031 |
touch conftest.a |
|
21032 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
21033 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21034 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
21035 |
$as_echo "$hard_links" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21036 |
if test "$hard_links" = no; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21037 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
21038 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21039 |
need_locks=warn |
21040 |
fi |
|
21041 |
else |
|
21042 |
need_locks=no |
|
21043 |
fi |
|
21044 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21045 |
|
21046 |
||
21047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
21048 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21049 |
|
21050 |
runpath_var= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21051 |
allow_undefined_flag_FC= |
21052 |
always_export_symbols_FC=no |
|
21053 |
archive_cmds_FC= |
|
21054 |
archive_expsym_cmds_FC= |
|
21055 |
compiler_needs_object_FC=no |
|
21056 |
enable_shared_with_static_runtimes_FC=no |
|
21057 |
export_dynamic_flag_spec_FC= |
|
21058 |
export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
21059 |
hardcode_automatic_FC=no |
|
21060 |
hardcode_direct_FC=no |
|
21061 |
hardcode_direct_absolute_FC=no |
|
21062 |
hardcode_libdir_flag_spec_FC= |
|
21063 |
hardcode_libdir_flag_spec_ld_FC= |
|
21064 |
hardcode_libdir_separator_FC= |
|
21065 |
hardcode_minus_L_FC=no |
|
21066 |
hardcode_shlibpath_var_FC=unsupported |
|
21067 |
inherit_rpath_FC=no |
|
21068 |
link_all_deplibs_FC=unknown |
|
21069 |
module_cmds_FC= |
|
21070 |
module_expsym_cmds_FC= |
|
21071 |
old_archive_from_new_cmds_FC= |
|
21072 |
old_archive_from_expsyms_cmds_FC= |
|
21073 |
thread_safe_flag_spec_FC= |
|
21074 |
whole_archive_flag_spec_FC= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21075 |
# include_expsyms should be a list of space-separated symbols to be *always* |
21076 |
# included in the symbol list |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21077 |
include_expsyms_FC= |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21078 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
21079 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
21080 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
21081 |
# as well as any symbol that contains `d'. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21082 |
exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21083 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
21084 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
21085 |
# the symbol is explicitly referenced. Since portable code cannot |
|
21086 |
# rely on this symbol name, it's probably fine to never include it in |
|
21087 |
# preloaded symbol tables. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21088 |
# Exclude shared library initialization/finalization symbols. |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21089 |
extract_expsyms_cmds= |
21090 |
||
21091 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21092 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21093 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
21094 |
# When not using gcc, we currently assume that we are using |
|
21095 |
# Microsoft Visual C++. |
|
21096 |
if test "$GCC" != yes; then |
|
21097 |
with_gnu_ld=no |
|
21098 |
fi |
|
21099 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21100 |
interix*) |
21101 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
21102 |
with_gnu_ld=yes |
|
21103 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21104 |
openbsd*) |
21105 |
with_gnu_ld=no |
|
21106 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21107 |
linux* | k*bsd*-gnu | gnu*) |
21108 |
link_all_deplibs_FC=no |
|
21109 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21110 |
esac |
21111 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21112 |
ld_shlibs_FC=yes |
21113 |
||
21114 |
# On some targets, GNU ld is compatible enough with the native linker |
|
21115 |
# that we're better off using the native interface for both. |
|
21116 |
lt_use_gnu_ld_interface=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21117 |
if test "$with_gnu_ld" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21118 |
case $host_os in |
21119 |
aix*) |
|
21120 |
# The AIX port of GNU ld has always aspired to compatibility |
|
21121 |
# with the native linker. However, as the warning in the GNU ld |
|
21122 |
# block says, versions before 2.19.5* couldn't really create working |
|
21123 |
# shared libraries, regardless of the interface used. |
|
21124 |
case `$LD -v 2>&1` in |
|
21125 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
21126 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
21127 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
21128 |
*) |
|
21129 |
lt_use_gnu_ld_interface=yes |
|
21130 |
;; |
|
21131 |
esac |
|
21132 |
;; |
|
21133 |
*) |
|
21134 |
lt_use_gnu_ld_interface=yes |
|
21135 |
;; |
|
21136 |
esac |
|
21137 |
fi |
|
21138 |
||
21139 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21140 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
21141 |
wlarc='${wl}' |
|
21142 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21143 |
# Set some defaults for GNU ld with shared library support. These |
21144 |
# are reset later if shared libraries are not supported. Putting them |
|
21145 |
# here allows them to be overridden if necessary. |
|
21146 |
runpath_var=LD_RUN_PATH |
|
21147 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
21148 |
export_dynamic_flag_spec_FC='${wl}--export-dynamic' |
|
21149 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
21150 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
21151 |
whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
21152 |
else |
|
21153 |
whole_archive_flag_spec_FC= |
|
21154 |
fi |
|
21155 |
supports_anon_versioning=no |
|
21156 |
case `$LD -v 2>&1` in |
|
21157 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
21158 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
21159 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
21160 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
21161 |
*\ 2.11.*) ;; # other 2.11 versions |
|
21162 |
*) supports_anon_versioning=yes ;; |
|
21163 |
esac |
|
21164 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21165 |
# See if GNU ld supports shared libraries. |
21166 |
case $host_os in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21167 |
aix[3-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21168 |
# On AIX/PPC, the GNU linker is very broken |
21169 |
if test "$host_cpu" != ia64; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21170 |
ld_shlibs_FC=no |
21171 |
cat <<_LT_EOF 1>&2 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21172 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21173 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21174 |
*** to be unable to reliably create shared libraries on AIX. |
21175 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21176 |
*** really care for shared libraries, you may want to install binutils |
21177 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
21178 |
*** You will then need to restart the configuration process. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21179 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21180 |
_LT_EOF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21181 |
fi |
21182 |
;; |
|
21183 |
||
21184 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21185 |
case $host_cpu in |
21186 |
powerpc) |
|
21187 |
# see comment about AmigaOS4 .so support |
|
21188 |
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21189 |
archive_expsym_cmds_FC='' |
|
21190 |
;; |
|
21191 |
m68k) |
|
21192 |
archive_cmds_FC='$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)' |
|
21193 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
|
21194 |
hardcode_minus_L_FC=yes |
|
21195 |
;; |
|
21196 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21197 |
;; |
21198 |
||
21199 |
beos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21200 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
21201 |
allow_undefined_flag_FC=unsupported |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21202 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
21203 |
# support --undefined. This deserves some investigation. FIXME |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21204 |
archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21205 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21206 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21207 |
fi |
21208 |
;; |
|
21209 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21210 |
cygwin* | mingw* | pw32* | cegcc*) |
21211 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless, |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21212 |
# as there is no search path for DLLs. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21213 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
21214 |
export_dynamic_flag_spec_FC='${wl}--export-all-symbols' |
|
21215 |
allow_undefined_flag_FC=unsupported |
|
21216 |
always_export_symbols_FC=no |
|
21217 |
enable_shared_with_static_runtimes_FC=yes |
|
21218 |
export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
|
21219 |
exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21220 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21221 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
21222 |
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21223 |
# If the export-symbols file already is a .def file (1st line |
21224 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21225 |
archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21226 |
cp $export_symbols $output_objdir/$soname.def; |
21227 |
else |
|
21228 |
echo EXPORTS > $output_objdir/$soname.def; |
|
21229 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
21230 |
fi~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21231 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
21232 |
else |
|
21233 |
ld_shlibs_FC=no |
|
21234 |
fi |
|
21235 |
;; |
|
21236 |
||
21237 |
haiku*) |
|
21238 |
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21239 |
link_all_deplibs_FC=yes |
|
21240 |
;; |
|
21241 |
||
21242 |
interix[3-9]*) |
|
21243 |
hardcode_direct_FC=no |
|
21244 |
hardcode_shlibpath_var_FC=no |
|
21245 |
hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
|
21246 |
export_dynamic_flag_spec_FC='${wl}-E' |
|
21247 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
21248 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
21249 |
# default) and relocated if they conflict, which is a slow very memory |
|
21250 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
21251 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
21252 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
21253 |
archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
21254 |
archive_expsym_cmds_FC='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' |
|
21255 |
;; |
|
21256 |
||
21257 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
21258 |
tmp_diet=no |
|
21259 |
if test "$host_os" = linux-dietlibc; then |
|
21260 |
case $cc_basename in |
|
21261 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
21262 |
esac |
|
21263 |
fi |
|
21264 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
21265 |
&& test "$tmp_diet" = no |
|
21266 |
then |
|
21267 |
tmp_addflag=' $pic_flag' |
|
21268 |
tmp_sharedflag='-shared' |
|
21269 |
case $cc_basename,$host_cpu in |
|
21270 |
pgcc*) # Portland Group C compiler |
|
21271 |
whole_archive_flag_spec_FC='${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' |
|
21272 |
tmp_addflag=' $pic_flag' |
|
21273 |
;; |
|
21274 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
|
21275 |
# Portland Group f77 and f90 compilers |
|
21276 |
whole_archive_flag_spec_FC='${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' |
|
21277 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
21278 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
21279 |
tmp_addflag=' -i_dynamic' ;; |
|
21280 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
21281 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
21282 |
ifc* | ifort*) # Intel Fortran compiler |
|
21283 |
tmp_addflag=' -nofor_main' ;; |
|
21284 |
lf95*) # Lahey Fortran 8.1 |
|
21285 |
whole_archive_flag_spec_FC= |
|
21286 |
tmp_sharedflag='--shared' ;; |
|
21287 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
21288 |
tmp_sharedflag='-qmkshrobj' |
|
21289 |
tmp_addflag= ;; |
|
21290 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
21291 |
whole_archive_flag_spec_FC='${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' |
|
21292 |
compiler_needs_object_FC=yes |
|
21293 |
;; |
|
21294 |
esac |
|
21295 |
case `$CC -V 2>&1 | sed 5q` in |
|
21296 |
*Sun\ C*) # Sun C 5.9 |
|
21297 |
whole_archive_flag_spec_FC='${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' |
|
21298 |
compiler_needs_object_FC=yes |
|
21299 |
tmp_sharedflag='-G' ;; |
|
21300 |
*Sun\ F*) # Sun Fortran 8.3 |
|
21301 |
tmp_sharedflag='-G' ;; |
|
21302 |
esac |
|
21303 |
archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21304 |
||
21305 |
if test "x$supports_anon_versioning" = xyes; then |
|
21306 |
archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ |
|
21307 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
21308 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
21309 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
21310 |
fi |
|
21311 |
||
21312 |
case $cc_basename in |
|
21313 |
xlf* | bgf* | bgxlf* | mpixlf*) |
|
21314 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
21315 |
whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive' |
|
21316 |
hardcode_libdir_flag_spec_FC= |
|
21317 |
hardcode_libdir_flag_spec_ld_FC='-rpath $libdir' |
|
21318 |
archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
21319 |
if test "x$supports_anon_versioning" = xyes; then |
|
21320 |
archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ |
|
21321 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
21322 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
21323 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
21324 |
fi |
|
21325 |
;; |
|
21326 |
esac |
|
21327 |
else |
|
21328 |
ld_shlibs_FC=no |
|
21329 |
fi |
|
21330 |
;; |
|
21331 |
||
21332 |
netbsd* | netbsdelf*-gnu) |
|
21333 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
21334 |
archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21335 |
wlarc= |
21336 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21337 |
archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
21338 |
archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21339 |
fi |
21340 |
;; |
|
21341 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21342 |
solaris*) |
21343 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
21344 |
ld_shlibs_FC=no |
|
21345 |
cat <<_LT_EOF 1>&2 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21346 |
|
21347 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
21348 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
21349 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
21350 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
21351 |
*** your PATH or compiler configuration so that the native linker is |
|
21352 |
*** used, and then restart. |
|
21353 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21354 |
_LT_EOF |
21355 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
21356 |
archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21357 |
archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21358 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21359 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21360 |
fi |
21361 |
;; |
|
21362 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21363 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
21364 |
case `$LD -v 2>&1` in |
|
21365 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
21366 |
ld_shlibs_FC=no |
|
21367 |
cat <<_LT_EOF 1>&2 |
|
21368 |
||
21369 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
21370 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
21371 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
21372 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
21373 |
*** your PATH or compiler configuration so that the native linker is |
|
21374 |
*** used, and then restart. |
|
21375 |
||
21376 |
_LT_EOF |
|
21377 |
;; |
|
21378 |
*) |
|
21379 |
# For security reasons, it is highly recommended that you always |
|
21380 |
# use absolute paths for naming shared libraries, and exclude the |
|
21381 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
21382 |
# requires that you compile everything twice, which is a pain. |
|
21383 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
21384 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
21385 |
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21386 |
archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
21387 |
else |
|
21388 |
ld_shlibs_FC=no |
|
21389 |
fi |
|
21390 |
;; |
|
21391 |
esac |
|
21392 |
;; |
|
21393 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21394 |
sunos4*) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21395 |
archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21396 |
wlarc= |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21397 |
hardcode_direct_FC=yes |
21398 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21399 |
;; |
21400 |
||
21401 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21402 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
21403 |
archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21404 |
archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21405 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21406 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21407 |
fi |
21408 |
;; |
|
21409 |
esac |
|
21410 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21411 |
if test "$ld_shlibs_FC" = no; then |
21412 |
runpath_var= |
|
21413 |
hardcode_libdir_flag_spec_FC= |
|
21414 |
export_dynamic_flag_spec_FC= |
|
21415 |
whole_archive_flag_spec_FC= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21416 |
fi |
21417 |
else |
|
21418 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
21419 |
case $host_os in |
|
21420 |
aix3*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21421 |
allow_undefined_flag_FC=unsupported |
21422 |
always_export_symbols_FC=yes |
|
21423 |
archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21424 |
# Note: this linker hardcodes the directories in LIBPATH if there |
21425 |
# are no directories specified by -L. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21426 |
hardcode_minus_L_FC=yes |
21427 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21428 |
# Neither direct hardcoding nor static linking is supported with a |
21429 |
# broken collect2. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21430 |
hardcode_direct_FC=unsupported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21431 |
fi |
21432 |
;; |
|
21433 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21434 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21435 |
if test "$host_cpu" = ia64; then |
21436 |
# On IA64, the linker does run time linking by default, so we don't |
|
21437 |
# have to do anything special. |
|
21438 |
aix_use_runtimelinking=no |
|
21439 |
exp_sym_flag='-Bexport' |
|
21440 |
no_entry_flag="" |
|
21441 |
else |
|
21442 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
21443 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21444 |
# Also, AIX nm treats weak defined symbols like other global |
21445 |
# defined symbols, whereas GNU nm marks them as "W". |
|
21446 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
21447 |
export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21448 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21449 |
export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21450 |
fi |
21451 |
aix_use_runtimelinking=no |
|
21452 |
||
21453 |
# Test if we are trying to use run time linking or normal |
|
21454 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
21455 |
# need to do runtime linking. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21456 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21457 |
for ld_flag in $LDFLAGS; do |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21458 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
21459 |
aix_use_runtimelinking=yes |
|
21460 |
break |
|
21461 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21462 |
done |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21463 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21464 |
esac |
21465 |
||
21466 |
exp_sym_flag='-bexport' |
|
21467 |
no_entry_flag='-bnoentry' |
|
21468 |
fi |
|
21469 |
||
21470 |
# When large executables or shared objects are built, AIX ld can |
|
21471 |
# have problems creating the table of contents. If linking a library |
|
21472 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
21473 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
21474 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
21475 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21476 |
archive_cmds_FC='' |
21477 |
hardcode_direct_FC=yes |
|
21478 |
hardcode_direct_absolute_FC=yes |
|
21479 |
hardcode_libdir_separator_FC=':' |
|
21480 |
link_all_deplibs_FC=yes |
|
21481 |
file_list_spec_FC='${wl}-f,' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21482 |
|
21483 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21484 |
case $host_os in aix4.[012]|aix4.[012].*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21485 |
# We only want to do this on AIX 4.2 and lower, the check |
21486 |
# below for broken collect2 doesn't work under 4.3+ |
|
21487 |
collect2name=`${CC} -print-prog-name=collect2` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21488 |
if test -f "$collect2name" && |
21489 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21490 |
then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21491 |
# We have reworked collect2 |
21492 |
: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21493 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21494 |
# We have old collect2 |
21495 |
hardcode_direct_FC=unsupported |
|
21496 |
# It fails to find uninstalled libraries when the uninstalled |
|
21497 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
21498 |
# to unsupported forces relinking |
|
21499 |
hardcode_minus_L_FC=yes |
|
21500 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
|
21501 |
hardcode_libdir_separator_FC= |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21502 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21503 |
;; |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21504 |
esac |
21505 |
shared_flag='-shared' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21506 |
if test "$aix_use_runtimelinking" = yes; then |
21507 |
shared_flag="$shared_flag "'${wl}-G' |
|
21508 |
fi |
|
21509 |
link_all_deplibs_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21510 |
else |
21511 |
# not using gcc |
|
21512 |
if test "$host_cpu" = ia64; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21513 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
21514 |
# chokes on -Wl,-G. The following line is correct: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21515 |
shared_flag='-G' |
21516 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21517 |
if test "$aix_use_runtimelinking" = yes; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21518 |
shared_flag='${wl}-G' |
21519 |
else |
|
21520 |
shared_flag='${wl}-bM:SRE' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21521 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21522 |
fi |
21523 |
fi |
|
21524 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21525 |
export_dynamic_flag_spec_FC='${wl}-bexpall' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21526 |
# It seems that -bexpall does not export symbols beginning with |
21527 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21528 |
always_export_symbols_FC=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21529 |
if test "$aix_use_runtimelinking" = yes; then |
21530 |
# Warning - without using the other runtime loading flags (-brtl), |
|
21531 |
# -berok will link without error, but may produce a broken library. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21532 |
allow_undefined_flag_FC='-berok' |
21533 |
# Determine the default libpath from the value encoded in an |
|
21534 |
# empty executable. |
|
21535 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
21536 |
aix_libpath=$lt_cv_aix_libpath |
|
21537 |
else |
|
21538 |
if ${lt_cv_aix_libpath__FC+:} false; then : |
|
21539 |
$as_echo_n "(cached) " >&6 |
|
21540 |
else |
|
21541 |
cat > conftest.$ac_ext <<_ACEOF |
|
21542 |
program main |
|
21543 |
||
21544 |
end |
|
21545 |
_ACEOF |
|
21546 |
if ac_fn_fc_try_link "$LINENO"; then : |
|
21547 |
||
21548 |
lt_aix_libpath_sed=' |
|
21549 |
/Import File Strings/,/^$/ { |
|
21550 |
/^0/ { |
|
21551 |
s/^0 *\([^ ]*\) *$/\1/ |
|
21552 |
p |
|
21553 |
} |
|
21554 |
}' |
|
21555 |
lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
21556 |
# Check for a 64-bit object if we didn't find anything. |
|
21557 |
if test -z "$lt_cv_aix_libpath__FC"; then |
|
21558 |
lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
21559 |
fi |
|
21560 |
fi |
|
21561 |
rm -f core conftest.err conftest.$ac_objext \ |
|
21562 |
conftest$ac_exeext conftest.$ac_ext |
|
21563 |
if test -z "$lt_cv_aix_libpath__FC"; then |
|
21564 |
lt_cv_aix_libpath__FC="/usr/lib:/lib" |
|
21565 |
fi |
|
21566 |
||
21567 |
fi |
|
21568 |
||
21569 |
aix_libpath=$lt_cv_aix_libpath__FC |
|
21570 |
fi |
|
21571 |
||
21572 |
hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
21573 |
archive_expsym_cmds_FC='$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" |
|
21574 |
else |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21575 |
if test "$host_cpu" = ia64; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21576 |
hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib' |
21577 |
allow_undefined_flag_FC="-z nodefs" |
|
21578 |
archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21579 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21580 |
# Determine the default libpath from the value encoded in an |
21581 |
# empty executable. |
|
21582 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
21583 |
aix_libpath=$lt_cv_aix_libpath |
|
21584 |
else |
|
21585 |
if ${lt_cv_aix_libpath__FC+:} false; then : |
|
21586 |
$as_echo_n "(cached) " >&6 |
|
21587 |
else |
|
21588 |
cat > conftest.$ac_ext <<_ACEOF |
|
21589 |
program main |
|
21590 |
||
21591 |
end |
|
21592 |
_ACEOF |
|
21593 |
if ac_fn_fc_try_link "$LINENO"; then : |
|
21594 |
||
21595 |
lt_aix_libpath_sed=' |
|
21596 |
/Import File Strings/,/^$/ { |
|
21597 |
/^0/ { |
|
21598 |
s/^0 *\([^ ]*\) *$/\1/ |
|
21599 |
p |
|
21600 |
} |
|
21601 |
}' |
|
21602 |
lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
21603 |
# Check for a 64-bit object if we didn't find anything. |
|
21604 |
if test -z "$lt_cv_aix_libpath__FC"; then |
|
21605 |
lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
21606 |
fi |
|
21607 |
fi |
|
21608 |
rm -f core conftest.err conftest.$ac_objext \ |
|
21609 |
conftest$ac_exeext conftest.$ac_ext |
|
21610 |
if test -z "$lt_cv_aix_libpath__FC"; then |
|
21611 |
lt_cv_aix_libpath__FC="/usr/lib:/lib" |
|
21612 |
fi |
|
21613 |
||
21614 |
fi |
|
21615 |
||
21616 |
aix_libpath=$lt_cv_aix_libpath__FC |
|
21617 |
fi |
|
21618 |
||
21619 |
hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21620 |
# Warning - without using the other run time loading flags, |
21621 |
# -berok will link without error, but may produce a broken library. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21622 |
no_undefined_flag_FC=' ${wl}-bernotok' |
21623 |
allow_undefined_flag_FC=' ${wl}-berok' |
|
21624 |
if test "$with_gnu_ld" = yes; then |
|
21625 |
# We only use this code for GNU lds that support --whole-archive. |
|
21626 |
whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
21627 |
else |
|
21628 |
# Exported symbols can be pulled into shared objects from archives |
|
21629 |
whole_archive_flag_spec_FC='$convenience' |
|
21630 |
fi |
|
21631 |
archive_cmds_need_lc_FC=yes |
|
21632 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
21633 |
archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21634 |
fi |
21635 |
fi |
|
21636 |
;; |
|
21637 |
||
21638 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21639 |
case $host_cpu in |
21640 |
powerpc) |
|
21641 |
# see comment about AmigaOS4 .so support |
|
21642 |
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
21643 |
archive_expsym_cmds_FC='' |
|
21644 |
;; |
|
21645 |
m68k) |
|
21646 |
archive_cmds_FC='$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)' |
|
21647 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
|
21648 |
hardcode_minus_L_FC=yes |
|
21649 |
;; |
|
21650 |
esac |
|
21651 |
;; |
|
21652 |
||
21653 |
bsdi[45]*) |
|
21654 |
export_dynamic_flag_spec_FC=-rdynamic |
|
21655 |
;; |
|
21656 |
||
21657 |
cygwin* | mingw* | pw32* | cegcc*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21658 |
# When not using gcc, we currently assume that we are using |
21659 |
# Microsoft Visual C++. |
|
21660 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
21661 |
# no search path for DLLs. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21662 |
case $cc_basename in |
21663 |
cl*) |
|
21664 |
# Native MSVC |
|
21665 |
hardcode_libdir_flag_spec_FC=' ' |
|
21666 |
allow_undefined_flag_FC=unsupported |
|
21667 |
always_export_symbols_FC=yes |
|
21668 |
file_list_spec_FC='@' |
|
21669 |
# Tell ltmain to make .lib files, not .a files. |
|
21670 |
libext=lib |
|
21671 |
# Tell ltmain to make .dll files, not .so files. |
|
21672 |
shrext_cmds=".dll" |
|
21673 |
# FIXME: Setting linknames here is a bad hack. |
|
21674 |
archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
21675 |
archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
21676 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
21677 |
else |
|
21678 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
21679 |
fi~ |
|
21680 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
21681 |
linknames=' |
|
21682 |
# The linker will not automatically build a static lib if we build a DLL. |
|
21683 |
# _LT_TAGVAR(old_archive_from_new_cmds, FC)='true' |
|
21684 |
enable_shared_with_static_runtimes_FC=yes |
|
21685 |
export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
21686 |
# Don't use ranlib |
|
21687 |
old_postinstall_cmds_FC='chmod 644 $oldlib' |
|
21688 |
postlink_cmds_FC='lt_outputfile="@OUTPUT@"~ |
|
21689 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
21690 |
case $lt_outputfile in |
|
21691 |
*.exe|*.EXE) ;; |
|
21692 |
*) |
|
21693 |
lt_outputfile="$lt_outputfile.exe" |
|
21694 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
21695 |
;; |
|
21696 |
esac~ |
|
21697 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
21698 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
21699 |
$RM "$lt_outputfile.manifest"; |
|
21700 |
fi' |
|
21701 |
;; |
|
21702 |
*) |
|
21703 |
# Assume MSVC wrapper |
|
21704 |
hardcode_libdir_flag_spec_FC=' ' |
|
21705 |
allow_undefined_flag_FC=unsupported |
|
21706 |
# Tell ltmain to make .lib files, not .a files. |
|
21707 |
libext=lib |
|
21708 |
# Tell ltmain to make .dll files, not .so files. |
|
21709 |
shrext_cmds=".dll" |
|
21710 |
# FIXME: Setting linknames here is a bad hack. |
|
21711 |
archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
21712 |
# The linker will automatically build a .lib file if we build a DLL. |
|
21713 |
old_archive_from_new_cmds_FC='true' |
|
21714 |
# FIXME: Should let the user specify the lib program. |
|
21715 |
old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
21716 |
enable_shared_with_static_runtimes_FC=yes |
|
21717 |
;; |
|
21718 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21719 |
;; |
21720 |
||
21721 |
darwin* | rhapsody*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21722 |
|
21723 |
||
21724 |
archive_cmds_need_lc_FC=no |
|
21725 |
hardcode_direct_FC=no |
|
21726 |
hardcode_automatic_FC=yes |
|
21727 |
hardcode_shlibpath_var_FC=unsupported |
|
21728 |
if test "$lt_cv_ld_force_load" = "yes"; then |
|
21729 |
whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
21730 |
else |
|
21731 |
whole_archive_flag_spec_FC='' |
|
21732 |
fi |
|
21733 |
link_all_deplibs_FC=yes |
|
21734 |
allow_undefined_flag_FC="$_lt_dar_allow_undefined" |
|
21735 |
case $cc_basename in |
|
21736 |
ifort*) _lt_dar_can_shared=yes ;; |
|
21737 |
*) _lt_dar_can_shared=$GCC ;; |
|
21738 |
esac |
|
21739 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
21740 |
output_verbose_link_cmd=func_echo_all |
|
21741 |
archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
21742 |
module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
21743 |
archive_expsym_cmds_FC="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}" |
|
21744 |
module_expsym_cmds_FC="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}" |
|
21745 |
||
21746 |
else |
|
21747 |
ld_shlibs_FC=no |
|
21748 |
fi |
|
21749 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21750 |
;; |
21751 |
||
21752 |
dgux*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21753 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
21754 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
|
21755 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21756 |
;; |
21757 |
||
21758 |
freebsd1*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21759 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21760 |
;; |
21761 |
||
21762 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
21763 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
21764 |
# does not break anything, and helps significantly (at the cost of a little |
|
21765 |
# extra space). |
|
21766 |
freebsd2.2*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21767 |
archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
21768 |
hardcode_libdir_flag_spec_FC='-R$libdir' |
|
21769 |
hardcode_direct_FC=yes |
|
21770 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21771 |
;; |
21772 |
||
21773 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
21774 |
freebsd2*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21775 |
archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
21776 |
hardcode_direct_FC=yes |
|
21777 |
hardcode_minus_L_FC=yes |
|
21778 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21779 |
;; |
21780 |
||
21781 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21782 |
freebsd* | dragonfly*) |
21783 |
archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
21784 |
hardcode_libdir_flag_spec_FC='-R$libdir' |
|
21785 |
hardcode_direct_FC=yes |
|
21786 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21787 |
;; |
21788 |
||
21789 |
hpux9*) |
|
21790 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21791 |
archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21792 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21793 |
archive_cmds_FC='$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' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21794 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21795 |
hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
21796 |
hardcode_libdir_separator_FC=: |
|
21797 |
hardcode_direct_FC=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21798 |
|
21799 |
# hardcode_minus_L: Not really in the search PATH, |
|
21800 |
# but as the default location of the library. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21801 |
hardcode_minus_L_FC=yes |
21802 |
export_dynamic_flag_spec_FC='${wl}-E' |
|
21803 |
;; |
|
21804 |
||
21805 |
hpux10*) |
|
21806 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
21807 |
archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
21808 |
else |
|
21809 |
archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
21810 |
fi |
|
21811 |
if test "$with_gnu_ld" = no; then |
|
21812 |
hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
|
21813 |
hardcode_libdir_flag_spec_ld_FC='+b $libdir' |
|
21814 |
hardcode_libdir_separator_FC=: |
|
21815 |
hardcode_direct_FC=yes |
|
21816 |
hardcode_direct_absolute_FC=yes |
|
21817 |
export_dynamic_flag_spec_FC='${wl}-E' |
|
21818 |
# hardcode_minus_L: Not really in the search PATH, |
|
21819 |
# but as the default location of the library. |
|
21820 |
hardcode_minus_L_FC=yes |
|
21821 |
fi |
|
21822 |
;; |
|
21823 |
||
21824 |
hpux11*) |
|
21825 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
21826 |
case $host_cpu in |
|
21827 |
hppa*64*) |
|
21828 |
archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
21829 |
;; |
|
21830 |
ia64*) |
|
21831 |
archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
21832 |
;; |
|
21833 |
*) |
|
21834 |
archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
21835 |
;; |
|
21836 |
esac |
|
21837 |
else |
|
21838 |
case $host_cpu in |
|
21839 |
hppa*64*) |
|
21840 |
archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
21841 |
;; |
|
21842 |
ia64*) |
|
21843 |
archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
21844 |
;; |
|
21845 |
*) |
|
21846 |
archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
21847 |
;; |
|
21848 |
esac |
|
21849 |
fi |
|
21850 |
if test "$with_gnu_ld" = no; then |
|
21851 |
hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
|
21852 |
hardcode_libdir_separator_FC=: |
|
21853 |
||
21854 |
case $host_cpu in |
|
21855 |
hppa*64*|ia64*) |
|
21856 |
hardcode_direct_FC=no |
|
21857 |
hardcode_shlibpath_var_FC=no |
|
21858 |
;; |
|
21859 |
*) |
|
21860 |
hardcode_direct_FC=yes |
|
21861 |
hardcode_direct_absolute_FC=yes |
|
21862 |
export_dynamic_flag_spec_FC='${wl}-E' |
|
21863 |
||
21864 |
# hardcode_minus_L: Not really in the search PATH, |
|
21865 |
# but as the default location of the library. |
|
21866 |
hardcode_minus_L_FC=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21867 |
;; |
21868 |
esac |
|
21869 |
fi |
|
21870 |
;; |
|
21871 |
||
21872 |
irix5* | irix6* | nonstopux*) |
|
21873 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21874 |
archive_cmds_FC='$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' |
21875 |
# Try to use the -exported_symbol ld option, if it does not |
|
21876 |
# work, assume that -exports_file does not work either and |
|
21877 |
# implicitly export all symbols. |
|
21878 |
# This should be the same for all languages, so no per-tag cache variable. |
|
21879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
21880 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
21881 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
21882 |
$as_echo_n "(cached) " >&6 |
|
21883 |
else |
|
21884 |
save_LDFLAGS="$LDFLAGS" |
|
21885 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
21886 |
cat > conftest.$ac_ext <<_ACEOF |
|
21887 |
||
21888 |
subroutine foo |
|
21889 |
end |
|
21890 |
_ACEOF |
|
21891 |
if ac_fn_fc_try_link "$LINENO"; then : |
|
21892 |
lt_cv_irix_exported_symbol=yes |
|
21893 |
else |
|
21894 |
lt_cv_irix_exported_symbol=no |
|
21895 |
fi |
|
21896 |
rm -f core conftest.err conftest.$ac_objext \ |
|
21897 |
conftest$ac_exeext conftest.$ac_ext |
|
21898 |
LDFLAGS="$save_LDFLAGS" |
|
21899 |
fi |
|
21900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
21901 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
21902 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
21903 |
archive_expsym_cmds_FC='$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' |
|
21904 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21905 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21906 |
archive_cmds_FC='$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' |
21907 |
archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21908 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21909 |
archive_cmds_need_lc_FC='no' |
21910 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
21911 |
hardcode_libdir_separator_FC=: |
|
21912 |
inherit_rpath_FC=yes |
|
21913 |
link_all_deplibs_FC=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21914 |
;; |
21915 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21916 |
netbsd* | netbsdelf*-gnu) |
21917 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
21918 |
archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21919 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21920 |
archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21921 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21922 |
hardcode_libdir_flag_spec_FC='-R$libdir' |
21923 |
hardcode_direct_FC=yes |
|
21924 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21925 |
;; |
21926 |
||
21927 |
newsos6) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21928 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
21929 |
hardcode_direct_FC=yes |
|
21930 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
21931 |
hardcode_libdir_separator_FC=: |
|
21932 |
hardcode_shlibpath_var_FC=no |
|
21933 |
;; |
|
21934 |
||
21935 |
*nto* | *qnx*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21936 |
;; |
21937 |
||
21938 |
openbsd*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21939 |
if test -f /usr/libexec/ld.so; then |
21940 |
hardcode_direct_FC=yes |
|
21941 |
hardcode_shlibpath_var_FC=no |
|
21942 |
hardcode_direct_absolute_FC=yes |
|
21943 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
21944 |
archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
21945 |
archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
21946 |
hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
|
21947 |
export_dynamic_flag_spec_FC='${wl}-E' |
|
21948 |
else |
|
21949 |
case $host_os in |
|
21950 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
21951 |
archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
21952 |
hardcode_libdir_flag_spec_FC='-R$libdir' |
|
21953 |
;; |
|
21954 |
*) |
|
21955 |
archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
21956 |
hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
|
21957 |
;; |
|
21958 |
esac |
|
21959 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21960 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21961 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21962 |
fi |
21963 |
;; |
|
21964 |
||
21965 |
os2*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21966 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
21967 |
hardcode_minus_L_FC=yes |
|
21968 |
allow_undefined_flag_FC=unsupported |
|
21969 |
archive_cmds_FC='$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' |
|
21970 |
old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21971 |
;; |
21972 |
||
21973 |
osf3*) |
|
21974 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21975 |
allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' |
21976 |
archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21977 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21978 |
allow_undefined_flag_FC=' -expect_unresolved \*' |
21979 |
archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21980 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21981 |
archive_cmds_need_lc_FC='no' |
21982 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
21983 |
hardcode_libdir_separator_FC=: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21984 |
;; |
21985 |
||
21986 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
21987 |
if test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21988 |
allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' |
21989 |
archive_cmds_FC='$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' |
|
21990 |
hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21991 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21992 |
allow_undefined_flag_FC=' -expect_unresolved \*' |
21993 |
archive_cmds_FC='$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' |
|
21994 |
archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
|
21995 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21996 |
|
21997 |
# Both c and cxx compiler support -rpath directly |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
21998 |
hardcode_libdir_flag_spec_FC='-rpath $libdir' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
21999 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22000 |
archive_cmds_need_lc_FC='no' |
22001 |
hardcode_libdir_separator_FC=: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22002 |
;; |
22003 |
||
22004 |
solaris*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22005 |
no_undefined_flag_FC=' -z defs' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22006 |
if test "$GCC" = yes; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22007 |
wlarc='${wl}' |
22008 |
archive_cmds_FC='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22009 |
archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
22010 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22011 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22012 |
case `$CC -V 2>&1` in |
22013 |
*"Compilers 5.0"*) |
|
22014 |
wlarc='' |
|
22015 |
archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
22016 |
archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
22017 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
22018 |
;; |
|
22019 |
*) |
|
22020 |
wlarc='${wl}' |
|
22021 |
archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22022 |
archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
22023 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
22024 |
;; |
|
22025 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22026 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22027 |
hardcode_libdir_flag_spec_FC='-R$libdir' |
22028 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22029 |
case $host_os in |
22030 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22031 |
*) |
22032 |
# The compiler driver will combine and reorder linker options, |
|
22033 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
22034 |
# but is careful enough not to reorder. |
|
22035 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
22036 |
if test "$GCC" = yes; then |
|
22037 |
whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
22038 |
else |
|
22039 |
whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract' |
|
22040 |
fi |
|
22041 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22042 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22043 |
link_all_deplibs_FC=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22044 |
;; |
22045 |
||
22046 |
sunos4*) |
|
22047 |
if test "x$host_vendor" = xsequent; then |
|
22048 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
22049 |
# files that make .init and .fini sections work. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22050 |
archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22051 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22052 |
archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22053 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22054 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
22055 |
hardcode_direct_FC=yes |
|
22056 |
hardcode_minus_L_FC=yes |
|
22057 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22058 |
;; |
22059 |
||
22060 |
sysv4) |
|
22061 |
case $host_vendor in |
|
22062 |
sni) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22063 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
22064 |
hardcode_direct_FC=yes # is this really true??? |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22065 |
;; |
22066 |
siemens) |
|
22067 |
## LD is ld it makes a PLAMLIB |
|
22068 |
## CC just makes a GrossModule. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22069 |
archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
22070 |
reload_cmds_FC='$CC -r -o $output$reload_objs' |
|
22071 |
hardcode_direct_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22072 |
;; |
22073 |
motorola) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22074 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
22075 |
hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22076 |
;; |
22077 |
esac |
|
22078 |
runpath_var='LD_RUN_PATH' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22079 |
hardcode_shlibpath_var_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22080 |
;; |
22081 |
||
22082 |
sysv4.3*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22083 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
22084 |
hardcode_shlibpath_var_FC=no |
|
22085 |
export_dynamic_flag_spec_FC='-Bexport' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22086 |
;; |
22087 |
||
22088 |
sysv4*MP*) |
|
22089 |
if test -d /usr/nec; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22090 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
22091 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22092 |
runpath_var=LD_RUN_PATH |
22093 |
hardcode_runpath_var=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22094 |
ld_shlibs_FC=yes |
22095 |
fi |
|
22096 |
;; |
|
22097 |
||
22098 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
22099 |
no_undefined_flag_FC='${wl}-z,text' |
|
22100 |
archive_cmds_need_lc_FC=no |
|
22101 |
hardcode_shlibpath_var_FC=no |
|
22102 |
runpath_var='LD_RUN_PATH' |
|
22103 |
||
22104 |
if test "$GCC" = yes; then |
|
22105 |
archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22106 |
archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22107 |
else |
|
22108 |
archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22109 |
archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22110 |
fi |
|
22111 |
;; |
|
22112 |
||
22113 |
sysv5* | sco3.2v5* | sco5v6*) |
|
22114 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
22115 |
# link with -lc, and that would cause any symbols used from libc to |
|
22116 |
# always be unresolved, which means just about no library would |
|
22117 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
22118 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
22119 |
# as -z defs. |
|
22120 |
no_undefined_flag_FC='${wl}-z,text' |
|
22121 |
allow_undefined_flag_FC='${wl}-z,nodefs' |
|
22122 |
archive_cmds_need_lc_FC=no |
|
22123 |
hardcode_shlibpath_var_FC=no |
|
22124 |
hardcode_libdir_flag_spec_FC='${wl}-R,$libdir' |
|
22125 |
hardcode_libdir_separator_FC=':' |
|
22126 |
link_all_deplibs_FC=yes |
|
22127 |
export_dynamic_flag_spec_FC='${wl}-Bexport' |
|
22128 |
runpath_var='LD_RUN_PATH' |
|
22129 |
||
22130 |
if test "$GCC" = yes; then |
|
22131 |
archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22132 |
archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22133 |
else |
|
22134 |
archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22135 |
archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
22136 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22137 |
;; |
22138 |
||
22139 |
uts4*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22140 |
archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
22141 |
hardcode_libdir_flag_spec_FC='-L$libdir' |
|
22142 |
hardcode_shlibpath_var_FC=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22143 |
;; |
22144 |
||
22145 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22146 |
ld_shlibs_FC=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22147 |
;; |
22148 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22149 |
|
22150 |
if test x$host_vendor = xsni; then |
|
22151 |
case $host in |
|
22152 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
22153 |
export_dynamic_flag_spec_FC='${wl}-Blargedynsym' |
|
22154 |
;; |
|
22155 |
esac |
|
22156 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22157 |
fi |
22158 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5 |
22160 |
$as_echo "$ld_shlibs_FC" >&6; } |
|
22161 |
test "$ld_shlibs_FC" = no && can_build_shared=no |
|
22162 |
||
22163 |
with_gnu_ld_FC=$with_gnu_ld |
|
22164 |
||
22165 |
||
22166 |
||
22167 |
||
22168 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22169 |
|
22170 |
# |
|
22171 |
# Do we need to explicitly link libc? |
|
22172 |
# |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22173 |
case "x$archive_cmds_need_lc_FC" in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22174 |
x|xyes) |
22175 |
# Assume -lc should be added |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22176 |
archive_cmds_need_lc_FC=yes |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22177 |
|
22178 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22179 |
case $archive_cmds_FC in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22180 |
*'~'*) |
22181 |
# FIXME: we may have to deal with multi-command sequences. |
|
22182 |
;; |
|
22183 |
'$CC '*) |
|
22184 |
# Test whether the compiler implicitly links with -lc since on some |
|
22185 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
22186 |
# to ld, don't add -lc before -lgcc. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
22188 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
22189 |
if ${lt_cv_archive_cmds_need_lc_FC+:} false; then : |
|
22190 |
$as_echo_n "(cached) " >&6 |
|
22191 |
else |
|
22192 |
$RM conftest* |
|
22193 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22194 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22195 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22196 |
(eval $ac_compile) 2>&5 |
22197 |
ac_status=$? |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22198 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
22199 |
test $ac_status = 0; } 2>conftest.err; then |
|
22200 |
soname=conftest |
|
22201 |
lib=conftest |
|
22202 |
libobjs=conftest.$ac_objext |
|
22203 |
deplibs= |
|
22204 |
wl=$lt_prog_compiler_wl_FC |
|
22205 |
pic_flag=$lt_prog_compiler_pic_FC |
|
22206 |
compiler_flags=-v |
|
22207 |
linker_flags=-v |
|
22208 |
verstring= |
|
22209 |
output_objdir=. |
|
22210 |
libname=conftest |
|
22211 |
lt_save_allow_undefined_flag=$allow_undefined_flag_FC |
|
22212 |
allow_undefined_flag_FC= |
|
22213 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
22214 |
(eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22215 |
ac_status=$? |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22216 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
22217 |
test $ac_status = 0; } |
|
22218 |
then |
|
22219 |
lt_cv_archive_cmds_need_lc_FC=no |
|
22220 |
else |
|
22221 |
lt_cv_archive_cmds_need_lc_FC=yes |
|
22222 |
fi |
|
22223 |
allow_undefined_flag_FC=$lt_save_allow_undefined_flag |
|
22224 |
else |
|
22225 |
cat conftest.err 1>&5 |
|
22226 |
fi |
|
22227 |
$RM conftest* |
|
22228 |
||
22229 |
fi |
|
22230 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5 |
|
22231 |
$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; } |
|
22232 |
archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22233 |
;; |
22234 |
esac |
|
22235 |
fi |
|
22236 |
;; |
|
22237 |
esac |
|
22238 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22239 |
|
22240 |
||
22241 |
||
22242 |
||
22243 |
||
22244 |
||
22245 |
||
22246 |
||
22247 |
||
22248 |
||
22249 |
||
22250 |
||
22251 |
||
22252 |
||
22253 |
||
22254 |
||
22255 |
||
22256 |
||
22257 |
||
22258 |
||
22259 |
||
22260 |
||
22261 |
||
22262 |
||
22263 |
||
22264 |
||
22265 |
||
22266 |
||
22267 |
||
22268 |
||
22269 |
||
22270 |
||
22271 |
||
22272 |
||
22273 |
||
22274 |
||
22275 |
||
22276 |
||
22277 |
||
22278 |
||
22279 |
||
22280 |
||
22281 |
||
22282 |
||
22283 |
||
22284 |
||
22285 |
||
22286 |
||
22287 |
||
22288 |
||
22289 |
||
22290 |
||
22291 |
||
22292 |
||
22293 |
||
22294 |
||
22295 |
||
22296 |
||
22297 |
||
22298 |
||
22299 |
||
22300 |
||
22301 |
||
22302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
22303 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
22304 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22305 |
library_names_spec= |
22306 |
libname_spec='lib$name' |
|
22307 |
soname_spec= |
|
22308 |
shrext_cmds=".so" |
|
22309 |
postinstall_cmds= |
|
22310 |
postuninstall_cmds= |
|
22311 |
finish_cmds= |
|
22312 |
finish_eval= |
|
22313 |
shlibpath_var= |
|
22314 |
shlibpath_overrides_runpath=unknown |
|
22315 |
version_type=none |
|
22316 |
dynamic_linker="$host_os ld.so" |
|
22317 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
22318 |
need_lib_prefix=unknown |
|
22319 |
hardcode_into_libs=no |
|
22320 |
||
22321 |
# when you set need_version to no, make sure it does not cause -set_version |
|
22322 |
# flags to be left without arguments |
|
22323 |
need_version=unknown |
|
22324 |
||
22325 |
case $host_os in |
|
22326 |
aix3*) |
|
22327 |
version_type=linux |
|
22328 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
22329 |
shlibpath_var=LIBPATH |
|
22330 |
||
22331 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
22332 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22333 |
;; |
|
22334 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22335 |
aix[4-9]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22336 |
version_type=linux |
22337 |
need_lib_prefix=no |
|
22338 |
need_version=no |
|
22339 |
hardcode_into_libs=yes |
|
22340 |
if test "$host_cpu" = ia64; then |
|
22341 |
# AIX 5 supports IA64 |
|
22342 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
22343 |
shlibpath_var=LD_LIBRARY_PATH |
|
22344 |
else |
|
22345 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
22346 |
# for dependence libraries. The import file would start with |
|
22347 |
# the line `#! .'. This would cause the generated library to |
|
22348 |
# depend on `.', always an invalid library. This was fixed in |
|
22349 |
# development snapshots of GCC prior to 3.0. |
|
22350 |
case $host_os in |
|
22351 |
aix4 | aix4.[01] | aix4.[01].*) |
|
22352 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
22353 |
echo ' yes ' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22354 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22355 |
: |
22356 |
else |
|
22357 |
can_build_shared=no |
|
22358 |
fi |
|
22359 |
;; |
|
22360 |
esac |
|
22361 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
22362 |
# soname into executable. Probably we can add versioning support to |
|
22363 |
# collect2, so additional links can be useful in future. |
|
22364 |
if test "$aix_use_runtimelinking" = yes; then |
|
22365 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
22366 |
# instead of lib<name>.a to let people know that these are not |
|
22367 |
# typical AIX shared libraries. |
|
22368 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22369 |
else |
|
22370 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
22371 |
# and later when we are not doing run time linking. |
|
22372 |
library_names_spec='${libname}${release}.a $libname.a' |
|
22373 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22374 |
fi |
|
22375 |
shlibpath_var=LIBPATH |
|
22376 |
fi |
|
22377 |
;; |
|
22378 |
||
22379 |
amigaos*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22380 |
case $host_cpu in |
22381 |
powerpc) |
|
22382 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
22383 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
22384 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22385 |
;; |
|
22386 |
m68k) |
|
22387 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
22388 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
22389 |
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' |
|
22390 |
;; |
|
22391 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22392 |
;; |
22393 |
||
22394 |
beos*) |
|
22395 |
library_names_spec='${libname}${shared_ext}' |
|
22396 |
dynamic_linker="$host_os ld.so" |
|
22397 |
shlibpath_var=LIBRARY_PATH |
|
22398 |
;; |
|
22399 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22400 |
bsdi[45]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22401 |
version_type=linux |
22402 |
need_version=no |
|
22403 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22404 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22405 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
22406 |
shlibpath_var=LD_LIBRARY_PATH |
|
22407 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
22408 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
22409 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
22410 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
22411 |
# libtool to hard-code these into programs |
|
22412 |
;; |
|
22413 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22414 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22415 |
version_type=windows |
22416 |
shrext_cmds=".dll" |
|
22417 |
need_version=no |
|
22418 |
need_lib_prefix=no |
|
22419 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22420 |
case $GCC,$cc_basename in |
22421 |
yes,*) |
|
22422 |
# gcc |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22423 |
library_names_spec='$libname.dll.a' |
22424 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
22425 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22426 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22427 |
dldir=$destdir/`dirname \$dlpath`~ |
22428 |
test -d \$dldir || mkdir -p \$dldir~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22429 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
22430 |
chmod a+x \$dldir/$dlname~ |
|
22431 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
22432 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
22433 |
fi' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22434 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
22435 |
dlpath=$dir/\$dldll~ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22436 |
$RM \$dlpath' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22437 |
shlibpath_overrides_runpath=yes |
22438 |
||
22439 |
case $host_os in |
|
22440 |
cygwin*) |
|
22441 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
22442 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22443 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22444 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22445 |
mingw* | cegcc*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22446 |
# MinGW DLLs use traditional 'lib' prefix |
22447 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
22448 |
;; |
|
22449 |
pw32*) |
|
22450 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22451 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
22452 |
;; |
|
22453 |
esac |
|
22454 |
dynamic_linker='Win32 ld.exe' |
|
22455 |
;; |
|
22456 |
||
22457 |
*,cl*) |
|
22458 |
# Native MSVC |
|
22459 |
libname_spec='$name' |
|
22460 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
22461 |
library_names_spec='${libname}.dll.lib' |
|
22462 |
||
22463 |
case $build_os in |
|
22464 |
mingw*) |
|
22465 |
sys_lib_search_path_spec= |
|
22466 |
lt_save_ifs=$IFS |
|
22467 |
IFS=';' |
|
22468 |
for lt_path in $LIB |
|
22469 |
do |
|
22470 |
IFS=$lt_save_ifs |
|
22471 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
22472 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
22473 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
22474 |
done |
|
22475 |
IFS=$lt_save_ifs |
|
22476 |
# Convert to MSYS style. |
|
22477 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
22478 |
;; |
|
22479 |
cygwin*) |
|
22480 |
# Convert to unix form, then to dos form, then back to unix form |
|
22481 |
# but this time dos style (no spaces!) so that the unix form looks |
|
22482 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
22483 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
22484 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
22485 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
22486 |
;; |
|
22487 |
*) |
|
22488 |
sys_lib_search_path_spec="$LIB" |
|
22489 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
22490 |
# It is most probably a Windows format PATH. |
|
22491 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
22492 |
else |
|
22493 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
22494 |
fi |
|
22495 |
# FIXME: find the short name or the path components, as spaces are |
|
22496 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
22497 |
;; |
|
22498 |
esac |
|
22499 |
||
22500 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
22501 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
22502 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
22503 |
dldir=$destdir/`dirname \$dlpath`~ |
|
22504 |
test -d \$dldir || mkdir -p \$dldir~ |
|
22505 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
22506 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
22507 |
dlpath=$dir/\$dldll~ |
|
22508 |
$RM \$dlpath' |
|
22509 |
shlibpath_overrides_runpath=yes |
|
22510 |
dynamic_linker='Win32 link.exe' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22511 |
;; |
22512 |
||
22513 |
*) |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22514 |
# Assume MSVC wrapper |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22515 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22516 |
dynamic_linker='Win32 ld.exe' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22517 |
;; |
22518 |
esac |
|
22519 |
# FIXME: first we should search . and the directory the executable is in |
|
22520 |
shlibpath_var=PATH |
|
22521 |
;; |
|
22522 |
||
22523 |
darwin* | rhapsody*) |
|
22524 |
dynamic_linker="$host_os dyld" |
|
22525 |
version_type=darwin |
|
22526 |
need_lib_prefix=no |
|
22527 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22528 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22529 |
soname_spec='${libname}${release}${major}$shared_ext' |
22530 |
shlibpath_overrides_runpath=yes |
|
22531 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22532 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
22533 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22534 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
22535 |
;; |
|
22536 |
||
22537 |
dgux*) |
|
22538 |
version_type=linux |
|
22539 |
need_lib_prefix=no |
|
22540 |
need_version=no |
|
22541 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
22542 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22543 |
shlibpath_var=LD_LIBRARY_PATH |
|
22544 |
;; |
|
22545 |
||
22546 |
freebsd1*) |
|
22547 |
dynamic_linker=no |
|
22548 |
;; |
|
22549 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22550 |
freebsd* | dragonfly*) |
22551 |
# DragonFly does not have aout. When/if they implement a new |
|
22552 |
# versioning mechanism, adjust this. |
|
22553 |
if test -x /usr/bin/objformat; then |
|
22554 |
objformat=`/usr/bin/objformat` |
|
22555 |
else |
|
22556 |
case $host_os in |
|
22557 |
freebsd[123]*) objformat=aout ;; |
|
22558 |
*) objformat=elf ;; |
|
22559 |
esac |
|
22560 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22561 |
version_type=freebsd-$objformat |
22562 |
case $version_type in |
|
22563 |
freebsd-elf*) |
|
22564 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
22565 |
need_version=no |
|
22566 |
need_lib_prefix=no |
|
22567 |
;; |
|
22568 |
freebsd-*) |
|
22569 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
22570 |
need_version=yes |
|
22571 |
;; |
|
22572 |
esac |
|
22573 |
shlibpath_var=LD_LIBRARY_PATH |
|
22574 |
case $host_os in |
|
22575 |
freebsd2*) |
|
22576 |
shlibpath_overrides_runpath=yes |
|
22577 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22578 |
freebsd3.[01]* | freebsdelf3.[01]*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22579 |
shlibpath_overrides_runpath=yes |
22580 |
hardcode_into_libs=yes |
|
22581 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22582 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
22583 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22584 |
shlibpath_overrides_runpath=no |
22585 |
hardcode_into_libs=yes |
|
22586 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22587 |
*) # from 4.6 on, and DragonFly |
22588 |
shlibpath_overrides_runpath=yes |
|
22589 |
hardcode_into_libs=yes |
|
22590 |
;; |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22591 |
esac |
22592 |
;; |
|
22593 |
||
22594 |
gnu*) |
|
22595 |
version_type=linux |
|
22596 |
need_lib_prefix=no |
|
22597 |
need_version=no |
|
22598 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
22599 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22600 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22601 |
shlibpath_overrides_runpath=no |
22602 |
hardcode_into_libs=yes |
|
22603 |
;; |
|
22604 |
||
22605 |
haiku*) |
|
22606 |
version_type=linux |
|
22607 |
need_lib_prefix=no |
|
22608 |
need_version=no |
|
22609 |
dynamic_linker="$host_os runtime_loader" |
|
22610 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
22611 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22612 |
shlibpath_var=LIBRARY_PATH |
|
22613 |
shlibpath_overrides_runpath=yes |
|
22614 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22615 |
hardcode_into_libs=yes |
22616 |
;; |
|
22617 |
||
22618 |
hpux9* | hpux10* | hpux11*) |
|
22619 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
22620 |
# link against other versions. |
|
22621 |
version_type=sunos |
|
22622 |
need_lib_prefix=no |
|
22623 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22624 |
case $host_cpu in |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22625 |
ia64*) |
22626 |
shrext_cmds='.so' |
|
22627 |
hardcode_into_libs=yes |
|
22628 |
dynamic_linker="$host_os dld.so" |
|
22629 |
shlibpath_var=LD_LIBRARY_PATH |
|
22630 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
22631 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22632 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22633 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
22634 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
22635 |
else |
|
22636 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
22637 |
fi |
|
22638 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
22639 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22640 |
hppa*64*) |
22641 |
shrext_cmds='.sl' |
|
22642 |
hardcode_into_libs=yes |
|
22643 |
dynamic_linker="$host_os dld.sl" |
|
22644 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
22645 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
22646 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22647 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22648 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
22649 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
22650 |
;; |
|
22651 |
*) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22652 |
shrext_cmds='.sl' |
22653 |
dynamic_linker="$host_os dld.sl" |
|
22654 |
shlibpath_var=SHLIB_PATH |
|
22655 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
22656 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22657 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22658 |
;; |
|
22659 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22660 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22661 |
postinstall_cmds='chmod 555 $lib' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22662 |
# or fails outright, so override atomically: |
22663 |
install_override_mode=555 |
|
22664 |
;; |
|
22665 |
||
22666 |
interix[3-9]*) |
|
22667 |
version_type=linux |
|
22668 |
need_lib_prefix=no |
|
22669 |
need_version=no |
|
22670 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
22671 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22672 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
22673 |
shlibpath_var=LD_LIBRARY_PATH |
|
22674 |
shlibpath_overrides_runpath=no |
|
22675 |
hardcode_into_libs=yes |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22676 |
;; |
22677 |
||
22678 |
irix5* | irix6* | nonstopux*) |
|
22679 |
case $host_os in |
|
22680 |
nonstopux*) version_type=nonstopux ;; |
|
22681 |
*) |
|
22682 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
22683 |
version_type=linux |
|
22684 |
else |
|
22685 |
version_type=irix |
|
22686 |
fi ;; |
|
22687 |
esac |
|
22688 |
need_lib_prefix=no |
|
22689 |
need_version=no |
|
22690 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22691 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
22692 |
case $host_os in |
|
22693 |
irix5* | nonstopux*) |
|
22694 |
libsuff= shlibsuff= |
|
22695 |
;; |
|
22696 |
*) |
|
22697 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
22698 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
22699 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
22700 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
22701 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
22702 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
22703 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
22704 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
22705 |
esac |
|
22706 |
;; |
|
22707 |
esac |
|
22708 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
22709 |
shlibpath_overrides_runpath=no |
|
22710 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
22711 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
22712 |
hardcode_into_libs=yes |
|
22713 |
;; |
|
22714 |
||
22715 |
# No shared lib support for Linux oldld, aout, or coff. |
|
22716 |
linux*oldld* | linux*aout* | linux*coff*) |
|
22717 |
dynamic_linker=no |
|
22718 |
;; |
|
22719 |
||
22720 |
# This must be Linux ELF. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22721 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22722 |
version_type=linux |
22723 |
need_lib_prefix=no |
|
22724 |
need_version=no |
|
22725 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22726 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22727 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
22728 |
shlibpath_var=LD_LIBRARY_PATH |
|
22729 |
shlibpath_overrides_runpath=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22730 |
|
22731 |
# Some binutils ld are patched to set DT_RUNPATH |
|
22732 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
22733 |
$as_echo_n "(cached) " >&6 |
|
22734 |
else |
|
22735 |
lt_cv_shlibpath_overrides_runpath=no |
|
22736 |
save_LDFLAGS=$LDFLAGS |
|
22737 |
save_libdir=$libdir |
|
22738 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \ |
|
22739 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\"" |
|
22740 |
cat > conftest.$ac_ext <<_ACEOF |
|
22741 |
program main |
|
22742 |
||
22743 |
end |
|
22744 |
_ACEOF |
|
22745 |
if ac_fn_fc_try_link "$LINENO"; then : |
|
22746 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
22747 |
lt_cv_shlibpath_overrides_runpath=yes |
|
22748 |
fi |
|
22749 |
fi |
|
22750 |
rm -f core conftest.err conftest.$ac_objext \ |
|
22751 |
conftest$ac_exeext conftest.$ac_ext |
|
22752 |
LDFLAGS=$save_LDFLAGS |
|
22753 |
libdir=$save_libdir |
|
22754 |
||
22755 |
fi |
|
22756 |
||
22757 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
22758 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22759 |
# This implies no fast_install, which is unacceptable. |
22760 |
# Some rework will be needed to allow for fast_install |
|
22761 |
# before this can be enabled. |
|
22762 |
hardcode_into_libs=yes |
|
22763 |
||
22764 |
# Append ld.so.conf contents to the search path |
|
22765 |
if test -f /etc/ld.so.conf; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22766 |
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' ' '` |
22767 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22768 |
fi |
22769 |
||
22770 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
22771 |
# powerpc, because MkLinux only supported shared libraries with the |
|
22772 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
22773 |
# most powerpc-linux boxes support dynamic linking these days and |
|
22774 |
# people can always --disable-shared, the test was removed, and we |
|
22775 |
# assume the GNU/Linux dynamic linker is in use. |
|
22776 |
dynamic_linker='GNU/Linux ld.so' |
|
22777 |
;; |
|
22778 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22779 |
netbsdelf*-gnu) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22780 |
version_type=linux |
22781 |
need_lib_prefix=no |
|
22782 |
need_version=no |
|
22783 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
22784 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22785 |
shlibpath_var=LD_LIBRARY_PATH |
|
22786 |
shlibpath_overrides_runpath=no |
|
22787 |
hardcode_into_libs=yes |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22788 |
dynamic_linker='NetBSD ld.elf_so' |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22789 |
;; |
22790 |
||
22791 |
netbsd*) |
|
22792 |
version_type=sunos |
|
22793 |
need_lib_prefix=no |
|
22794 |
need_version=no |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22795 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22796 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
22797 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
22798 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
22799 |
else |
|
22800 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
22801 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22802 |
dynamic_linker='NetBSD ld.elf_so' |
|
22803 |
fi |
|
22804 |
shlibpath_var=LD_LIBRARY_PATH |
|
22805 |
shlibpath_overrides_runpath=yes |
|
22806 |
hardcode_into_libs=yes |
|
22807 |
;; |
|
22808 |
||
22809 |
newsos6) |
|
22810 |
version_type=linux |
|
22811 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22812 |
shlibpath_var=LD_LIBRARY_PATH |
|
22813 |
shlibpath_overrides_runpath=yes |
|
22814 |
;; |
|
22815 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22816 |
*nto* | *qnx*) |
22817 |
version_type=qnx |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22818 |
need_lib_prefix=no |
22819 |
need_version=no |
|
22820 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22821 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22822 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22823 |
shlibpath_overrides_runpath=no |
22824 |
hardcode_into_libs=yes |
|
22825 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22826 |
;; |
22827 |
||
22828 |
openbsd*) |
|
22829 |
version_type=sunos |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22830 |
sys_lib_dlsearch_path_spec="/usr/lib" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22831 |
need_lib_prefix=no |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22832 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
22833 |
case $host_os in |
|
22834 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
22835 |
*) need_version=no ;; |
|
22836 |
esac |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22837 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
22838 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
22839 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22840 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22841 |
case $host_os in |
22842 |
openbsd2.[89] | openbsd2.[89].*) |
|
22843 |
shlibpath_overrides_runpath=no |
|
22844 |
;; |
|
22845 |
*) |
|
22846 |
shlibpath_overrides_runpath=yes |
|
22847 |
;; |
|
22848 |
esac |
|
22849 |
else |
|
22850 |
shlibpath_overrides_runpath=yes |
|
22851 |
fi |
|
22852 |
;; |
|
22853 |
||
22854 |
os2*) |
|
22855 |
libname_spec='$name' |
|
22856 |
shrext_cmds=".dll" |
|
22857 |
need_lib_prefix=no |
|
22858 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
22859 |
dynamic_linker='OS/2 ld.exe' |
|
22860 |
shlibpath_var=LIBPATH |
|
22861 |
;; |
|
22862 |
||
22863 |
osf3* | osf4* | osf5*) |
|
22864 |
version_type=osf |
|
22865 |
need_lib_prefix=no |
|
22866 |
need_version=no |
|
22867 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22868 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22869 |
shlibpath_var=LD_LIBRARY_PATH |
|
22870 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
22871 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
22872 |
;; |
|
22873 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22874 |
rdos*) |
22875 |
dynamic_linker=no |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22876 |
;; |
22877 |
||
22878 |
solaris*) |
|
22879 |
version_type=linux |
|
22880 |
need_lib_prefix=no |
|
22881 |
need_version=no |
|
22882 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22883 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22884 |
shlibpath_var=LD_LIBRARY_PATH |
|
22885 |
shlibpath_overrides_runpath=yes |
|
22886 |
hardcode_into_libs=yes |
|
22887 |
# ldd complains unless libraries are executable |
|
22888 |
postinstall_cmds='chmod +x $lib' |
|
22889 |
;; |
|
22890 |
||
22891 |
sunos4*) |
|
22892 |
version_type=sunos |
|
22893 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
22894 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
22895 |
shlibpath_var=LD_LIBRARY_PATH |
|
22896 |
shlibpath_overrides_runpath=yes |
|
22897 |
if test "$with_gnu_ld" = yes; then |
|
22898 |
need_lib_prefix=no |
|
22899 |
fi |
|
22900 |
need_version=yes |
|
22901 |
;; |
|
22902 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22903 |
sysv4 | sysv4.3*) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22904 |
version_type=linux |
22905 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22906 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22907 |
shlibpath_var=LD_LIBRARY_PATH |
|
22908 |
case $host_vendor in |
|
22909 |
sni) |
|
22910 |
shlibpath_overrides_runpath=no |
|
22911 |
need_lib_prefix=no |
|
22912 |
runpath_var=LD_RUN_PATH |
|
22913 |
;; |
|
22914 |
siemens) |
|
22915 |
need_lib_prefix=no |
|
22916 |
;; |
|
22917 |
motorola) |
|
22918 |
need_lib_prefix=no |
|
22919 |
need_version=no |
|
22920 |
shlibpath_overrides_runpath=no |
|
22921 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
22922 |
;; |
|
22923 |
esac |
|
22924 |
;; |
|
22925 |
||
22926 |
sysv4*MP*) |
|
22927 |
if test -d /usr/nec ;then |
|
22928 |
version_type=linux |
|
22929 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
22930 |
soname_spec='$libname${shared_ext}.$major' |
|
22931 |
shlibpath_var=LD_LIBRARY_PATH |
|
22932 |
fi |
|
22933 |
;; |
|
22934 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22935 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
22936 |
version_type=freebsd-elf |
|
22937 |
need_lib_prefix=no |
|
22938 |
need_version=no |
|
22939 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
22940 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22941 |
shlibpath_var=LD_LIBRARY_PATH |
|
22942 |
shlibpath_overrides_runpath=yes |
|
22943 |
hardcode_into_libs=yes |
|
22944 |
if test "$with_gnu_ld" = yes; then |
|
22945 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
22946 |
else |
|
22947 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
22948 |
case $host_os in |
|
22949 |
sco3.2v5*) |
|
22950 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
22951 |
;; |
|
22952 |
esac |
|
22953 |
fi |
|
22954 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
22955 |
;; |
|
22956 |
||
22957 |
tpf*) |
|
22958 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
22959 |
version_type=linux |
|
22960 |
need_lib_prefix=no |
|
22961 |
need_version=no |
|
22962 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22963 |
shlibpath_var=LD_LIBRARY_PATH |
|
22964 |
shlibpath_overrides_runpath=no |
|
22965 |
hardcode_into_libs=yes |
|
22966 |
;; |
|
22967 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22968 |
uts4*) |
22969 |
version_type=linux |
|
22970 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
22971 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
22972 |
shlibpath_var=LD_LIBRARY_PATH |
|
22973 |
;; |
|
22974 |
||
22975 |
*) |
|
22976 |
dynamic_linker=no |
|
22977 |
;; |
|
22978 |
esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
22980 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
22981 |
test "$dynamic_linker" = no && can_build_shared=no |
22982 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
22983 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
22984 |
if test "$GCC" = yes; then |
|
22985 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
22986 |
fi |
|
22987 |
||
22988 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
22989 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
22990 |
fi |
|
22991 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
22992 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
22993 |
fi |
|
22994 |
||
22995 |
||
22996 |
||
22997 |
||
22998 |
||
22999 |
||
23000 |
||
23001 |
||
23002 |
||
23003 |
||
23004 |
||
23005 |
||
23006 |
||
23007 |
||
23008 |
||
23009 |
||
23010 |
||
23011 |
||
23012 |
||
23013 |
||
23014 |
||
23015 |
||
23016 |
||
23017 |
||
23018 |
||
23019 |
||
23020 |
||
23021 |
||
23022 |
||
23023 |
||
23024 |
||
23025 |
||
23026 |
||
23027 |
||
23028 |
||
23029 |
||
23030 |
||
23031 |
||
23032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
23033 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
23034 |
hardcode_action_FC= |
|
23035 |
if test -n "$hardcode_libdir_flag_spec_FC" || |
|
23036 |
test -n "$runpath_var_FC" || |
|
23037 |
test "X$hardcode_automatic_FC" = "Xyes" ; then |
|
23038 |
||
23039 |
# We can hardcode non-existent directories. |
|
23040 |
if test "$hardcode_direct_FC" != no && |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23041 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
23042 |
# have to relink, otherwise we might link with an installed library |
|
23043 |
# when we should be linking with a yet-to-be-installed one |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23044 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no && |
23045 |
test "$hardcode_minus_L_FC" != no; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23046 |
# Linking always hardcodes the temporary library directory. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23047 |
hardcode_action_FC=relink |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23048 |
else |
23049 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23050 |
hardcode_action_FC=immediate |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23051 |
fi |
23052 |
else |
|
23053 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
23054 |
# directories. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23055 |
hardcode_action_FC=unsupported |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23056 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5 |
23058 |
$as_echo "$hardcode_action_FC" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23059 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23060 |
if test "$hardcode_action_FC" = relink || |
23061 |
test "$inherit_rpath_FC" = yes; then |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23062 |
# Fast installation is not supported |
23063 |
enable_fast_install=no |
|
23064 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
23065 |
test "$enable_shared" = no; then |
|
23066 |
# Fast installation is not necessary |
|
23067 |
enable_fast_install=needless |
|
23068 |
fi |
|
23069 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23070 |
|
23071 |
||
23072 |
||
23073 |
||
23074 |
||
23075 |
||
23076 |
fi # test -n "$compiler" |
|
23077 |
||
23078 |
GCC=$lt_save_GCC |
|
23079 |
CC=$lt_save_CC |
|
23080 |
CFLAGS=$lt_save_CFLAGS |
|
23081 |
fi # test "$_lt_disable_FC" != yes |
|
23082 |
||
23083 |
ac_ext=cpp |
|
23084 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23085 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23086 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23087 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23088 |
||
23089 |
||
23090 |
||
23091 |
||
23092 |
||
23093 |
||
23094 |
||
23095 |
||
23096 |
||
23097 |
ac_config_commands="$ac_config_commands libtool" |
|
23098 |
||
23099 |
||
23100 |
||
23101 |
||
23102 |
# Only expand once: |
|
23103 |
||
23104 |
||
23105 |
||
23106 |
ac_fn_cxx_check_func "$LINENO" "sin" "ac_cv_func_sin" |
|
23107 |
if test "x$ac_cv_func_sin" = xyes; then : |
|
23108 |
||
23109 |
else |
|
23110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 |
|
23111 |
$as_echo_n "checking for sin in -lm... " >&6; } |
|
23112 |
if ${ac_cv_lib_m_sin+:} false; then : |
|
23113 |
$as_echo_n "(cached) " >&6 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23114 |
else |
23115 |
ac_check_lib_save_LIBS=$LIBS |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23116 |
LIBS="-lm $LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23117 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23118 |
/* end confdefs.h. */ |
23119 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23120 |
/* Override any GCC internal prototype to avoid an error. |
23121 |
Use char because int might match the return type of a GCC |
|
23122 |
builtin and then its argument prototype would still apply. */ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23123 |
#ifdef __cplusplus |
23124 |
extern "C" |
|
23125 |
#endif |
|
23126 |
char sin (); |
|
23127 |
int |
|
23128 |
main () |
|
23129 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23130 |
return sin (); |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23131 |
; |
23132 |
return 0; |
|
23133 |
} |
|
23134 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23135 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23136 |
ac_cv_lib_m_sin=yes |
1
by Andreas Rottmann
Import upstream version 20001213 |
23137 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23138 |
ac_cv_lib_m_sin=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23139 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23140 |
rm -f core conftest.err conftest.$ac_objext \ |
23141 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23142 |
LIBS=$ac_check_lib_save_LIBS |
23143 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 |
23145 |
$as_echo "$ac_cv_lib_m_sin" >&6; } |
|
23146 |
if test "x$ac_cv_lib_m_sin" = xyes; then : |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23147 |
cat >>confdefs.h <<_ACEOF |
23148 |
#define HAVE_LIBM 1 |
|
23149 |
_ACEOF |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23150 |
|
23151 |
LIBS="-lm $LIBS" |
|
23152 |
||
23153 |
fi |
|
23154 |
||
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
23155 |
fi |
23156 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
23157 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23158 |
|
23159 |
||
23160 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
23161 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23162 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23163 |
# Check whether --with-blas was given. |
23164 |
if test "${with_blas+set}" = set; then : |
|
23165 |
withval=$with_blas; BLASPATH=-L"$withval" |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23166 |
else |
23167 |
BLASPATH="" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23168 |
fi |
23169 |
||
23170 |
||
23171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23172 |
|
23173 |
Checking to see if there is a usable BLAS library kicking around... |
|
23174 |
(If so, Blitz++ will use BLAS library to run benchmarks against |
|
23175 |
if you build the benchmarks. Blitz++ itself does NOT use BLAS). |
|
23176 |
||
23177 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23178 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23179 |
|
23180 |
Checking to see if there is a usable BLAS library kicking around... |
|
23181 |
(If so, Blitz++ will use BLAS library to run benchmarks against |
|
23182 |
if you build the benchmarks. Blitz++ itself does NOT use BLAS). |
|
23183 |
||
23184 |
" >&6;} |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23185 |
|
23186 |
LDFLAGSsave=$LDFLAGS |
|
23187 |
LDFLAGS="$BLASPATH $LDFLAGS" |
|
23188 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daxpy_ in -lblas" >&5 |
23190 |
$as_echo_n "checking for daxpy_ in -lblas... " >&6; } |
|
23191 |
if ${ac_cv_lib_blas_daxpy_+:} false; then : |
|
23192 |
$as_echo_n "(cached) " >&6 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23193 |
else |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23194 |
ac_check_lib_save_LIBS=$LIBS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
23195 |
LIBS="-lblas $FLIBS $LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23196 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23197 |
/* end confdefs.h. */ |
23198 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23199 |
/* Override any GCC internal prototype to avoid an error. |
23200 |
Use char because int might match the return type of a GCC |
|
23201 |
builtin and then its argument prototype would still apply. */ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23202 |
#ifdef __cplusplus |
23203 |
extern "C" |
|
23204 |
#endif |
|
23205 |
char daxpy_ (); |
|
23206 |
int |
|
23207 |
main () |
|
23208 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23209 |
return daxpy_ (); |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23210 |
; |
23211 |
return 0; |
|
23212 |
} |
|
23213 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23214 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23215 |
ac_cv_lib_blas_daxpy_=yes |
1
by Andreas Rottmann
Import upstream version 20001213 |
23216 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23217 |
ac_cv_lib_blas_daxpy_=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23218 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23219 |
rm -f core conftest.err conftest.$ac_objext \ |
23220 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23221 |
LIBS=$ac_check_lib_save_LIBS |
23222 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_daxpy_" >&5 |
23224 |
$as_echo "$ac_cv_lib_blas_daxpy_" >&6; } |
|
23225 |
if test "x$ac_cv_lib_blas_daxpy_" = xyes; then : |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23226 |
CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -DUSE_LIBBLAS" |
23227 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERSCORES" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23228 |
if test -z "$BLASPATH" ; then |
23229 |
BLASLIB="-lblas" |
|
23230 |
else |
|
23231 |
BLASLIB="$BLASPATH -lblas" |
|
23232 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23233 |
fi |
23234 |
||
23235 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daxpy in -lblas" >&5 |
23237 |
$as_echo_n "checking for daxpy in -lblas... " >&6; } |
|
23238 |
if ${ac_cv_lib_blas_daxpy+:} false; then : |
|
23239 |
$as_echo_n "(cached) " >&6 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23240 |
else |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23241 |
ac_check_lib_save_LIBS=$LIBS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
23242 |
LIBS="-lblas $FLIBS $LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23243 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23244 |
/* end confdefs.h. */ |
23245 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23246 |
/* Override any GCC internal prototype to avoid an error. |
23247 |
Use char because int might match the return type of a GCC |
|
23248 |
builtin and then its argument prototype would still apply. */ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23249 |
#ifdef __cplusplus |
23250 |
extern "C" |
|
23251 |
#endif |
|
23252 |
char daxpy (); |
|
23253 |
int |
|
23254 |
main () |
|
23255 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23256 |
return daxpy (); |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23257 |
; |
23258 |
return 0; |
|
23259 |
} |
|
23260 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23261 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23262 |
ac_cv_lib_blas_daxpy=yes |
1
by Andreas Rottmann
Import upstream version 20001213 |
23263 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23264 |
ac_cv_lib_blas_daxpy=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23265 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23266 |
rm -f core conftest.err conftest.$ac_objext \ |
23267 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23268 |
LIBS=$ac_check_lib_save_LIBS |
23269 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_daxpy" >&5 |
23271 |
$as_echo "$ac_cv_lib_blas_daxpy" >&6; } |
|
23272 |
if test "x$ac_cv_lib_blas_daxpy" = xyes; then : |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23273 |
CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -DUSE_LIBBLAS" |
23274 |
CXXFFLAGS="" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23275 |
if test -z "$BLASPATH" ; then |
23276 |
BLASLIB="-lblas" |
|
23277 |
else |
|
23278 |
BLASLIB="$BLASPATH -lblas" |
|
23279 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23280 |
fi |
23281 |
||
23282 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DAXPY in -lblas" >&5 |
23284 |
$as_echo_n "checking for DAXPY in -lblas... " >&6; } |
|
23285 |
if ${ac_cv_lib_blas_DAXPY+:} false; then : |
|
23286 |
$as_echo_n "(cached) " >&6 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23287 |
else |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23288 |
ac_check_lib_save_LIBS=$LIBS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
23289 |
LIBS="-lblas $FLIBS $LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23290 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23291 |
/* end confdefs.h. */ |
23292 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23293 |
/* Override any GCC internal prototype to avoid an error. |
23294 |
Use char because int might match the return type of a GCC |
|
23295 |
builtin and then its argument prototype would still apply. */ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23296 |
#ifdef __cplusplus |
23297 |
extern "C" |
|
23298 |
#endif |
|
23299 |
char DAXPY (); |
|
23300 |
int |
|
23301 |
main () |
|
23302 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23303 |
return DAXPY (); |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23304 |
; |
23305 |
return 0; |
|
23306 |
} |
|
23307 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23308 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23309 |
ac_cv_lib_blas_DAXPY=yes |
1
by Andreas Rottmann
Import upstream version 20001213 |
23310 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23311 |
ac_cv_lib_blas_DAXPY=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23312 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23313 |
rm -f core conftest.err conftest.$ac_objext \ |
23314 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23315 |
LIBS=$ac_check_lib_save_LIBS |
23316 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_DAXPY" >&5 |
23318 |
$as_echo "$ac_cv_lib_blas_DAXPY" >&6; } |
|
23319 |
if test "x$ac_cv_lib_blas_DAXPY" = xyes; then : |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23320 |
CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -DUSE_LIBBLAS" |
23321 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_CAPS" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23322 |
if test -z "$BLASPATH" ; then |
23323 |
BLASLIB="-lblas" |
|
23324 |
else |
|
23325 |
BLASLIB="$BLASPATH -lblas" |
|
23326 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23327 |
fi |
23328 |
||
23329 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23330 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daxpy__ in -lblas" >&5 |
23331 |
$as_echo_n "checking for daxpy__ in -lblas... " >&6; } |
|
23332 |
if ${ac_cv_lib_blas_daxpy__+:} false; then : |
|
23333 |
$as_echo_n "(cached) " >&6 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23334 |
else |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23335 |
ac_check_lib_save_LIBS=$LIBS |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
23336 |
LIBS="-lblas $FLIBS $LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23337 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23338 |
/* end confdefs.h. */ |
23339 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23340 |
/* Override any GCC internal prototype to avoid an error. |
23341 |
Use char because int might match the return type of a GCC |
|
23342 |
builtin and then its argument prototype would still apply. */ |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23343 |
#ifdef __cplusplus |
23344 |
extern "C" |
|
23345 |
#endif |
|
23346 |
char daxpy__ (); |
|
23347 |
int |
|
23348 |
main () |
|
23349 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23350 |
return daxpy__ (); |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23351 |
; |
23352 |
return 0; |
|
23353 |
} |
|
23354 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23355 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23356 |
ac_cv_lib_blas_daxpy__=yes |
1
by Andreas Rottmann
Import upstream version 20001213 |
23357 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23358 |
ac_cv_lib_blas_daxpy__=no |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23359 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23360 |
rm -f core conftest.err conftest.$ac_objext \ |
23361 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
23362 |
LIBS=$ac_check_lib_save_LIBS |
23363 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_daxpy__" >&5 |
23365 |
$as_echo "$ac_cv_lib_blas_daxpy__" >&6; } |
|
23366 |
if test "x$ac_cv_lib_blas_daxpy__" = xyes; then : |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23367 |
CXX_OPTIMIZE_FLAGS="$CXX_OPTIMIZE_FLAGS -DUSE_LIBBLAS" |
23368 |
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_DOUBLE_TRAILING_UNDERSCORES" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23369 |
if test -z "$BLASPATH" ; then |
23370 |
BLASLIB="-lblas" |
|
23371 |
else |
|
23372 |
BLASLIB="$BLASPATH -lblas" |
|
23373 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
23374 |
fi |
23375 |
||
23376 |
||
23377 |
LDFLAGS=$LDFLAGSsave |
|
23378 |
||
23379 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23380 |
|
23381 |
# Check if the script was called with --enable-optimize or |
|
23382 |
# --enable-debug, and if so modify the compilation flags. |
|
23383 |
||
23384 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23385 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable $CXX optimization flags" >&5 |
23386 |
$as_echo_n "checking whether to enable $CXX optimization flags... " >&6; } |
|
23387 |
# Check whether --enable-optimize was given. |
|
23388 |
if test "${enable_optimize+set}" = set; then : |
|
23389 |
enableval=$enable_optimize; if test "$enableval" = yes; then |
|
23390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23391 |
$as_echo "yes" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23392 |
CXXFLAGS="$CXXFLAGS $CXX_OPTIMIZE_FLAGS" |
23393 |
fi |
|
23394 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23396 |
$as_echo "no" >&6; } |
|
23397 |
fi |
|
23398 |
||
23399 |
||
23400 |
||
23401 |
||
23402 |
||
23403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable $CXX debug flags" >&5 |
|
23404 |
$as_echo_n "checking whether to enable $CXX debug flags... " >&6; } |
|
23405 |
# Check whether --enable-debug was given. |
|
23406 |
if test "${enable_debug+set}" = set; then : |
|
23407 |
enableval=$enable_debug; if test "$enableval" = yes; then |
|
23408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23409 |
$as_echo "yes" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
23410 |
CXXFLAGS="$CXXFLAGS $CXX_DEBUG_FLAGS" |
23411 |
fi |
|
23412 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
23413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23414 |
$as_echo "no" >&6; } |
|
23415 |
fi |
|
23416 |
||
23417 |
||
23418 |
||
23419 |
||
23420 |
# Option to enable thread-safety (requires thread support or OpenMP) |
|
23421 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blitz thread-safety features" >&5 |
|
23422 |
$as_echo_n "checking whether to enable Blitz thread-safety features... " >&6; } |
|
23423 |
# Check whether --enable-threadsafe was given. |
|
23424 |
if test "${enable_threadsafe+set}" = set; then : |
|
23425 |
enableval=$enable_threadsafe; |
|
23426 |
else |
|
23427 |
||
23428 |
enable_threadsafe="no" |
|
23429 |
fi |
|
23430 |
||
23431 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_threadsafe" >&5 |
|
23432 |
$as_echo "$enable_threadsafe" >&6; } |
|
23433 |
if test "$enable_threadsafe" = yes; then |
|
23434 |
||
23435 |
$as_echo "#define THREADSAFE 1" >>confdefs.h |
|
23436 |
||
23437 |
fi |
|
23438 |
||
23439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using Intel Threading Building Blocks" >&5 |
|
23440 |
$as_echo_n "checking if we are using Intel Threading Building Blocks... " >&6; } |
|
23441 |
||
23442 |
||
23443 |
# Check whether --with-tbb was given. |
|
23444 |
if test "${with_tbb+set}" = set; then : |
|
23445 |
withval=$with_tbb; |
|
23446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23447 |
$as_echo "yes" >&6; } |
|
23448 |
for ac_header in tbb/atomic.h |
|
23449 |
do : |
|
23450 |
ac_fn_cxx_check_header_mongrel "$LINENO" "tbb/atomic.h" "ac_cv_header_tbb_atomic_h" "$ac_includes_default" |
|
23451 |
if test "x$ac_cv_header_tbb_atomic_h" = xyes; then : |
|
23452 |
cat >>confdefs.h <<_ACEOF |
|
23453 |
#define HAVE_TBB_ATOMIC_H 1 |
|
23454 |
_ACEOF |
|
23455 |
||
23456 |
else |
|
23457 |
as_fn_error $? "tbb/atomic.h not found" "$LINENO" 5 |
|
23458 |
fi |
|
23459 |
||
23460 |
done |
|
23461 |
||
23462 |
||
23463 |
$as_echo "#define THREADSAFE_USE_TBB 1" >>confdefs.h |
|
23464 |
||
23465 |
||
23466 |
else |
|
23467 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
23468 |
$as_echo "no" >&6; } |
|
23469 |
fi |
|
23470 |
||
23471 |
||
23472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIMD instruction width" >&5 |
|
23473 |
$as_echo_n "checking for SIMD instruction width... " >&6; } |
|
23474 |
# Check whether --enable-simd-width was given. |
|
23475 |
if test "${enable_simd_width+set}" = set; then : |
|
23476 |
enableval=$enable_simd_width; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports structure alignment hints" >&5 |
|
23477 |
$as_echo_n "checking whether the compiler supports structure alignment hints... " >&6; } |
|
23478 |
if ${ac_cv_alignment_directive+:} false; then : |
|
23479 |
$as_echo_n "(cached) " >&6 |
|
23480 |
else |
|
23481 |
||
23482 |
ac_ext=cpp |
|
23483 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23484 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23485 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23486 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23487 |
||
23488 |
||
23489 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23490 |
/* end confdefs.h. */ |
|
23491 |
||
23492 |
int |
|
23493 |
main () |
|
23494 |
{ |
|
23495 |
||
23496 |
__declspec(align(16)) |
|
23497 |
int var; var=0; |
|
23498 |
; |
|
23499 |
return 0; |
|
23500 |
} |
|
23501 |
_ACEOF |
|
23502 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
23503 |
ac_cv_alignment_directive="__declspec(align(alignment)) vartype varname;" |
|
23504 |
else |
|
23505 |
ac_cv_alignment_directive="no" |
|
23506 |
fi |
|
23507 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
23508 |
#echo intel test got $ac_cv_alignment_directive |
|
23509 |
||
23510 |
if test "$ac_cv_alignment_directive" == "no"; then |
|
23511 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23512 |
/* end confdefs.h. */ |
|
23513 |
||
23514 |
int |
|
23515 |
main () |
|
23516 |
{ |
|
23517 |
int __attribute__ ((aligned (16))) var;var=0; |
|
23518 |
; |
|
23519 |
return 0; |
|
23520 |
} |
|
23521 |
_ACEOF |
|
23522 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
23523 |
ac_cv_alignment_directive="vartype __attribute__ ((aligned (alignment))) varname;" |
|
23524 |
fi |
|
23525 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
23526 |
#echo gcc test got $ac_cv_alignment_directive |
|
23527 |
fi |
|
23528 |
ac_ext=cpp |
|
23529 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23530 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23531 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23532 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23533 |
||
23534 |
||
23535 |
||
23536 |
fi |
|
23537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignment_directive" >&5 |
|
23538 |
$as_echo "$ac_cv_alignment_directive" >&6; } |
|
23539 |
||
23540 |
if test "$ac_cv_alignment_directive" == "no"; then |
|
23541 |
align_variable_macro="vartype varname;" |
|
23542 |
else |
|
23543 |
align_variable_macro="$ac_cv_alignment_directive" |
|
23544 |
fi |
|
23545 |
||
23546 |
||
23547 |
cat >>confdefs.h <<_ACEOF |
|
23548 |
#define ALIGN_VARIABLE(vartype,varname,alignment) $align_variable_macro |
|
23549 |
_ACEOF |
|
23550 |
||
23551 |
||
23552 |
||
23553 |
$as_echo "#define USE_ALIGNMENT_PRAGMAS 1" >>confdefs.h |
|
23554 |
||
23555 |
else |
|
23556 |
enable_simd_width=no |
|
23557 |
||
23558 |
fi |
|
23559 |
||
23560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_simd_width" >&5 |
|
23561 |
$as_echo "$enable_simd_width" >&6; } |
|
23562 |
if test "$enable_simd_width" == no ; then |
|
23563 |
enable_simd_width=1 |
|
23564 |
# if not set, also define ALIGN_VARIABLE to just declare a variable |
|
23565 |
$as_echo "#define ALIGN_VARIABLE(vartype,varname,alignment) vartype varname;" >>confdefs.h |
|
23566 |
||
23567 |
fi |
|
23568 |
||
23569 |
cat >>confdefs.h <<_ACEOF |
|
23570 |
#define SIMD_WIDTH $enable_simd_width |
|
23571 |
_ACEOF |
|
23572 |
||
23573 |
||
23574 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to pad array lengths to SIMD instruction width" >&5 |
|
23575 |
$as_echo_n "checking whether to pad array lengths to SIMD instruction width... " >&6; } |
|
23576 |
# Check whether --enable-array-length-padding was given. |
|
23577 |
if test "${enable_array_length_padding+set}" = set; then : |
|
23578 |
enableval=$enable_array_length_padding; |
|
23579 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23580 |
$as_echo "yes" >&6; } |
|
23581 |
if test "$enable_simd_width" == 1 ; then |
|
23582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This option is useless without a SIMD width >1." >&5 |
|
23583 |
$as_echo "$as_me: WARNING: This option is useless without a SIMD width >1." >&2;} |
|
23584 |
fi |
|
23585 |
||
23586 |
$as_echo "#define PAD_ARRAYS 1" >>confdefs.h |
|
23587 |
||
23588 |
||
23589 |
else |
|
23590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
23591 |
$as_echo "no" >&6; } |
|
23592 |
fi |
|
23593 |
||
23594 |
||
23595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blitz 64-bit dimensions" >&5 |
|
23596 |
$as_echo_n "checking whether to enable Blitz 64-bit dimensions... " >&6; } |
|
23597 |
# Check whether --enable-64-bit-dimensions was given. |
|
23598 |
if test "${enable_64_bit_dimensions+set}" = set; then : |
|
23599 |
enableval=$enable_64_bit_dimensions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dimensions with > 2^31 elements are not yet implemented" >&5 |
|
23600 |
$as_echo "$as_me: WARNING: Dimensions with > 2^31 elements are not yet implemented" >&2;} |
|
23601 |
||
23602 |
$as_echo "#define FULLY64BIT 1" >>confdefs.h |
|
23603 |
||
23604 |
else |
|
23605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
23606 |
$as_echo "no" >&6; } |
|
23607 |
fi |
|
23608 |
||
23609 |
||
23610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable serialization support" >&5 |
|
23611 |
$as_echo_n "checking whether to enable serialization support... " >&6; } |
|
23612 |
# Check whether --enable-serialization was given. |
|
23613 |
if test "${enable_serialization+set}" = set; then : |
|
23614 |
enableval=$enable_serialization; |
|
23615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23616 |
$as_echo "yes" >&6; } |
|
23617 |
||
23618 |
||
23619 |
# Check whether --with-boost was given. |
|
23620 |
if test "${with_boost+set}" = set; then : |
|
23621 |
withval=$with_boost; |
|
23622 |
if test "$withval" = "no"; then |
|
23623 |
want_boost="no" |
|
23624 |
elif test "$withval" = "yes"; then |
|
23625 |
want_boost="yes" |
|
23626 |
ac_boost_path="" |
|
23627 |
else |
|
23628 |
want_boost="yes" |
|
23629 |
ac_boost_path="$withval" |
|
23630 |
fi |
|
23631 |
||
23632 |
else |
|
23633 |
want_boost="yes" |
|
23634 |
fi |
|
23635 |
||
23636 |
||
23637 |
||
23638 |
||
23639 |
# Check whether --with-boost-libdir was given. |
|
23640 |
if test "${with_boost_libdir+set}" = set; then : |
|
23641 |
withval=$with_boost_libdir; |
|
23642 |
if test -d "$withval" |
|
23643 |
then |
|
23644 |
ac_boost_lib_path="$withval" |
|
23645 |
else |
|
23646 |
as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5 |
|
23647 |
fi |
|
23648 |
||
23649 |
else |
|
23650 |
ac_boost_lib_path="" |
|
23651 |
||
23652 |
fi |
|
23653 |
||
23654 |
||
23655 |
if test "x$want_boost" = "xyes"; then |
|
23656 |
boost_lib_version_req=1.40.0 |
|
23657 |
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'` |
|
23658 |
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'` |
|
23659 |
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'` |
|
23660 |
boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'` |
|
23661 |
if test "x$boost_lib_version_req_sub_minor" = "x" ; then |
|
23662 |
boost_lib_version_req_sub_minor="0" |
|
23663 |
fi |
|
23664 |
WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` |
|
23665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5 |
|
23666 |
$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; } |
|
23667 |
succeeded=no |
|
23668 |
||
23669 |
libsubdirs="lib" |
|
23670 |
ax_arch=`uname -m` |
|
23671 |
if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then |
|
23672 |
libsubdirs="lib64 lib lib64" |
|
23673 |
fi |
|
23674 |
||
23675 |
if test "$ac_boost_path" != ""; then |
|
23676 |
BOOST_CPPFLAGS="-I$ac_boost_path/include" |
|
23677 |
for ac_boost_path_tmp in $libsubdirs; do |
|
23678 |
if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then |
|
23679 |
BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp" |
|
23680 |
break |
|
23681 |
fi |
|
23682 |
done |
|
23683 |
elif test "$cross_compiling" != yes; then |
|
23684 |
for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do |
|
23685 |
if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then |
|
23686 |
for libsubdir in $libsubdirs ; do |
|
23687 |
if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi |
|
23688 |
done |
|
23689 |
BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir" |
|
23690 |
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" |
|
23691 |
break; |
|
23692 |
fi |
|
23693 |
done |
|
23694 |
fi |
|
23695 |
||
23696 |
if test "$ac_boost_lib_path" != ""; then |
|
23697 |
BOOST_LDFLAGS="-L$ac_boost_lib_path" |
|
23698 |
fi |
|
23699 |
||
23700 |
CPPFLAGS_SAVED="$CPPFLAGS" |
|
23701 |
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" |
|
23702 |
export CPPFLAGS |
|
23703 |
||
23704 |
LDFLAGS_SAVED="$LDFLAGS" |
|
23705 |
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" |
|
23706 |
export LDFLAGS |
|
23707 |
||
23708 |
||
23709 |
ac_ext=cpp |
|
23710 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23711 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23712 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23713 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23714 |
||
23715 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23716 |
/* end confdefs.h. */ |
|
23717 |
||
23718 |
#include <boost/version.hpp> |
|
23719 |
||
23720 |
int |
|
23721 |
main () |
|
23722 |
{ |
|
23723 |
||
23724 |
#if BOOST_VERSION >= $WANT_BOOST_VERSION |
|
23725 |
// Everything is okay |
|
23726 |
#else |
|
23727 |
# error Boost version is too old |
|
23728 |
#endif |
|
23729 |
||
23730 |
; |
|
23731 |
return 0; |
|
23732 |
} |
|
23733 |
_ACEOF |
|
23734 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
23735 |
||
23736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23737 |
$as_echo "yes" >&6; } |
|
23738 |
succeeded=yes |
|
23739 |
found_system=yes |
|
23740 |
||
23741 |
fi |
|
23742 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
23743 |
ac_ext=cpp |
|
23744 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23745 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23746 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23747 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23748 |
||
23749 |
||
23750 |
||
23751 |
||
23752 |
if test "x$succeeded" != "xyes"; then |
|
23753 |
_version=0 |
|
23754 |
if test "$ac_boost_path" != ""; then |
|
23755 |
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then |
|
23756 |
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do |
|
23757 |
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` |
|
23758 |
V_CHECK=`expr $_version_tmp \> $_version` |
|
23759 |
if test "$V_CHECK" = "1" ; then |
|
23760 |
_version=$_version_tmp |
|
23761 |
fi |
|
23762 |
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` |
|
23763 |
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" |
|
23764 |
done |
|
23765 |
fi |
|
23766 |
else |
|
23767 |
if test "$cross_compiling" != yes; then |
|
23768 |
for ac_boost_path in /usr /usr/local /opt /opt/local ; do |
|
23769 |
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then |
|
23770 |
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do |
|
23771 |
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` |
|
23772 |
V_CHECK=`expr $_version_tmp \> $_version` |
|
23773 |
if test "$V_CHECK" = "1" ; then |
|
23774 |
_version=$_version_tmp |
|
23775 |
best_path=$ac_boost_path |
|
23776 |
fi |
|
23777 |
done |
|
23778 |
fi |
|
23779 |
done |
|
23780 |
||
23781 |
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` |
|
23782 |
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" |
|
23783 |
if test "$ac_boost_lib_path" = ""; then |
|
23784 |
for libsubdir in $libsubdirs ; do |
|
23785 |
if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi |
|
23786 |
done |
|
23787 |
BOOST_LDFLAGS="-L$best_path/$libsubdir" |
|
23788 |
fi |
|
23789 |
fi |
|
23790 |
||
23791 |
if test "x$BOOST_ROOT" != "x"; then |
|
23792 |
for libsubdir in $libsubdirs ; do |
|
23793 |
if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi |
|
23794 |
done |
|
23795 |
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then |
|
23796 |
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` |
|
23797 |
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` |
|
23798 |
stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'` |
|
23799 |
V_CHECK=`expr $stage_version_shorten \>\= $_version` |
|
23800 |
if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then |
|
23801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5 |
|
23802 |
$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;} |
|
23803 |
BOOST_CPPFLAGS="-I$BOOST_ROOT" |
|
23804 |
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir" |
|
23805 |
fi |
|
23806 |
fi |
|
23807 |
fi |
|
23808 |
fi |
|
23809 |
||
23810 |
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" |
|
23811 |
export CPPFLAGS |
|
23812 |
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" |
|
23813 |
export LDFLAGS |
|
23814 |
||
23815 |
ac_ext=cpp |
|
23816 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23817 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23818 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23819 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23820 |
||
23821 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23822 |
/* end confdefs.h. */ |
|
23823 |
||
23824 |
#include <boost/version.hpp> |
|
23825 |
||
23826 |
int |
|
23827 |
main () |
|
23828 |
{ |
|
23829 |
||
23830 |
#if BOOST_VERSION >= $WANT_BOOST_VERSION |
|
23831 |
// Everything is okay |
|
23832 |
#else |
|
23833 |
# error Boost version is too old |
|
23834 |
#endif |
|
23835 |
||
23836 |
; |
|
23837 |
return 0; |
|
23838 |
} |
|
23839 |
_ACEOF |
|
23840 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
23841 |
||
23842 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
23843 |
$as_echo "yes" >&6; } |
|
23844 |
succeeded=yes |
|
23845 |
found_system=yes |
|
23846 |
||
23847 |
fi |
|
23848 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
23849 |
ac_ext=cpp |
|
23850 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23851 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23852 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23853 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23854 |
||
23855 |
fi |
|
23856 |
||
23857 |
if test "$succeeded" != "yes" ; then |
|
23858 |
if test "$_version" = "0" ; then |
|
23859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5 |
|
23860 |
$as_echo "$as_me: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;} |
|
23861 |
else |
|
23862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5 |
|
23863 |
$as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;} |
|
23864 |
fi |
|
23865 |
# execute ACTION-IF-NOT-FOUND (if present): |
|
23866 |
: |
|
23867 |
else |
|
23868 |
||
23869 |
||
23870 |
||
23871 |
$as_echo "#define HAVE_BOOST /**/" >>confdefs.h |
|
23872 |
||
23873 |
# execute ACTION-IF-FOUND (if present): |
|
23874 |
: |
|
23875 |
fi |
|
23876 |
||
23877 |
CPPFLAGS="$CPPFLAGS_SAVED" |
|
23878 |
LDFLAGS="$LDFLAGS_SAVED" |
|
23879 |
fi |
|
23880 |
||
23881 |
||
23882 |
||
23883 |
||
23884 |
# Check whether --with-boost-serialization was given. |
|
23885 |
if test "${with_boost_serialization+set}" = set; then : |
|
23886 |
withval=$with_boost_serialization; |
|
23887 |
if test "$withval" = "no"; then |
|
23888 |
want_boost="no" |
|
23889 |
elif test "$withval" = "yes"; then |
|
23890 |
want_boost="yes" |
|
23891 |
ax_boost_user_serialization_lib="" |
|
23892 |
else |
|
23893 |
want_boost="yes" |
|
23894 |
ax_boost_user_serialization_lib="$withval" |
|
23895 |
fi |
|
23896 |
||
23897 |
else |
|
23898 |
want_boost="yes" |
|
23899 |
||
23900 |
fi |
|
23901 |
||
23902 |
||
23903 |
if test "x$want_boost" = "xyes"; then |
|
23904 |
||
23905 |
CPPFLAGS_SAVED="$CPPFLAGS" |
|
23906 |
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" |
|
23907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BOOST_CPPFLAGS $BOOST_CPPFLAGS" >&5 |
|
23908 |
$as_echo "$as_me: WARNING: BOOST_CPPFLAGS $BOOST_CPPFLAGS" >&2;} |
|
23909 |
export CPPFLAGS |
|
23910 |
||
23911 |
LDFLAGS_SAVED="$LDFLAGS" |
|
23912 |
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" |
|
23913 |
export LDFLAGS |
|
23914 |
||
23915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Serialization library is available" >&5 |
|
23916 |
$as_echo_n "checking whether the Boost::Serialization library is available... " >&6; } |
|
23917 |
if ${ax_cv_boost_serialization+:} false; then : |
|
23918 |
$as_echo_n "(cached) " >&6 |
|
23919 |
else |
|
23920 |
ac_ext=cpp |
|
23921 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23922 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23923 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23924 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23925 |
||
23926 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23927 |
/* end confdefs.h. */ |
|
23928 |
#include <fstream> |
|
23929 |
#include <boost/archive/text_oarchive.hpp> |
|
23930 |
#include <boost/archive/text_iarchive.hpp> |
|
23931 |
||
23932 |
int |
|
23933 |
main () |
|
23934 |
{ |
|
23935 |
std::ofstream ofs("filename"); |
|
23936 |
boost::archive::text_oarchive oa(ofs); |
|
23937 |
return 0; |
|
23938 |
||
23939 |
; |
|
23940 |
return 0; |
|
23941 |
} |
|
23942 |
_ACEOF |
|
23943 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
23944 |
ax_cv_boost_serialization=yes |
|
23945 |
else |
|
23946 |
ax_cv_boost_serialization=no |
|
23947 |
fi |
|
23948 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
23949 |
ac_ext=cpp |
|
23950 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
23951 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
23952 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
23953 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
23954 |
||
23955 |
||
23956 |
fi |
|
23957 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_serialization" >&5 |
|
23958 |
$as_echo "$ax_cv_boost_serialization" >&6; } |
|
23959 |
if test "x$ax_cv_boost_serialization" = "xyes"; then |
|
23960 |
||
23961 |
$as_echo "#define HAVE_BOOST_SERIALIZATION /**/" >>confdefs.h |
|
23962 |
||
23963 |
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` |
|
23964 |
if test "x$ax_boost_user_serialization_lib" = "x"; then |
|
23965 |
for libextension in `ls $BOOSTLIBDIR/libboost_serialization*.so* $BOOSTLIBDIR/libboost_serialization*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_serialization.*\)\.so.*$;\1;' -e 's;^lib\(boost_serialization.*\)\.a*$;\1;'` ; do |
|
23966 |
ax_lib=${libextension} |
|
23967 |
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh` |
|
23968 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5 |
|
23969 |
$as_echo_n "checking for main in -l$ax_lib... " >&6; } |
|
23970 |
if eval \${$as_ac_Lib+:} false; then : |
|
23971 |
$as_echo_n "(cached) " >&6 |
|
23972 |
else |
|
23973 |
ac_check_lib_save_LIBS=$LIBS |
|
23974 |
LIBS="-l$ax_lib $LIBS" |
|
23975 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
23976 |
/* end confdefs.h. */ |
|
23977 |
||
23978 |
||
23979 |
int |
|
23980 |
main () |
|
23981 |
{ |
|
23982 |
return main (); |
|
23983 |
; |
|
23984 |
return 0; |
|
23985 |
} |
|
23986 |
_ACEOF |
|
23987 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
23988 |
eval "$as_ac_Lib=yes" |
|
23989 |
else |
|
23990 |
eval "$as_ac_Lib=no" |
|
23991 |
fi |
|
23992 |
rm -f core conftest.err conftest.$ac_objext \ |
|
23993 |
conftest$ac_exeext conftest.$ac_ext |
|
23994 |
LIBS=$ac_check_lib_save_LIBS |
|
23995 |
fi |
|
23996 |
eval ac_res=\$$as_ac_Lib |
|
23997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
23998 |
$as_echo "$ac_res" >&6; } |
|
23999 |
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
|
24000 |
BOOST_SERIALIZATION_LIB="-l$ax_lib"; link_serialization="yes"; break |
|
24001 |
else |
|
24002 |
link_serialization="no" |
|
24003 |
fi |
|
24004 |
||
24005 |
done |
|
24006 |
if test "x$link_serialization" != "xyes"; then |
|
24007 |
for libextension in `ls $BOOSTLIBDIR/boost_serialization*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_serialization.*\)\.dll.*$;\1;' -e 's;^\(boost_serialization.*\)\.a*$;\1;'` ; do |
|
24008 |
ax_lib=${libextension} |
|
24009 |
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh` |
|
24010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5 |
|
24011 |
$as_echo_n "checking for main in -l$ax_lib... " >&6; } |
|
24012 |
if eval \${$as_ac_Lib+:} false; then : |
|
24013 |
$as_echo_n "(cached) " >&6 |
|
24014 |
else |
|
24015 |
ac_check_lib_save_LIBS=$LIBS |
|
24016 |
LIBS="-l$ax_lib $LIBS" |
|
24017 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
24018 |
/* end confdefs.h. */ |
|
24019 |
||
24020 |
||
24021 |
int |
|
24022 |
main () |
|
24023 |
{ |
|
24024 |
return main (); |
|
24025 |
; |
|
24026 |
return 0; |
|
24027 |
} |
|
24028 |
_ACEOF |
|
24029 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
24030 |
eval "$as_ac_Lib=yes" |
|
24031 |
else |
|
24032 |
eval "$as_ac_Lib=no" |
|
24033 |
fi |
|
24034 |
rm -f core conftest.err conftest.$ac_objext \ |
|
24035 |
conftest$ac_exeext conftest.$ac_ext |
|
24036 |
LIBS=$ac_check_lib_save_LIBS |
|
24037 |
fi |
|
24038 |
eval ac_res=\$$as_ac_Lib |
|
24039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
24040 |
$as_echo "$ac_res" >&6; } |
|
24041 |
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
|
24042 |
BOOST_SERIALIZATION_LIB="-l$ax_lib"; link_serialization="yes"; break |
|
24043 |
else |
|
24044 |
link_serialization="no" |
|
24045 |
fi |
|
24046 |
||
24047 |
done |
|
24048 |
fi |
|
24049 |
||
24050 |
else |
|
24051 |
for ax_lib in $ax_boost_user_serialization_lib boost_serialization-$ax_boost_user_serialization_lib; do |
|
24052 |
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh` |
|
24053 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5 |
|
24054 |
$as_echo_n "checking for main in -l$ax_lib... " >&6; } |
|
24055 |
if eval \${$as_ac_Lib+:} false; then : |
|
24056 |
$as_echo_n "(cached) " >&6 |
|
24057 |
else |
|
24058 |
ac_check_lib_save_LIBS=$LIBS |
|
24059 |
LIBS="-l$ax_lib $LIBS" |
|
24060 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
24061 |
/* end confdefs.h. */ |
|
24062 |
||
24063 |
||
24064 |
int |
|
24065 |
main () |
|
24066 |
{ |
|
24067 |
return main (); |
|
24068 |
; |
|
24069 |
return 0; |
|
24070 |
} |
|
24071 |
_ACEOF |
|
24072 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
24073 |
eval "$as_ac_Lib=yes" |
|
24074 |
else |
|
24075 |
eval "$as_ac_Lib=no" |
|
24076 |
fi |
|
24077 |
rm -f core conftest.err conftest.$ac_objext \ |
|
24078 |
conftest$ac_exeext conftest.$ac_ext |
|
24079 |
LIBS=$ac_check_lib_save_LIBS |
|
24080 |
fi |
|
24081 |
eval ac_res=\$$as_ac_Lib |
|
24082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
24083 |
$as_echo "$ac_res" >&6; } |
|
24084 |
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
|
24085 |
BOOST_SERIALIZATION_LIB="-l$ax_lib"; link_serialization="yes"; break |
|
24086 |
else |
|
24087 |
link_serialization="no" |
|
24088 |
fi |
|
24089 |
||
24090 |
done |
|
24091 |
||
24092 |
fi |
|
24093 |
if test "x$ax_lib" = "x"; then |
|
24094 |
as_fn_error $? "Could not find a version of the library!" "$LINENO" 5 |
|
24095 |
fi |
|
24096 |
if test "x$link_serialization" != "xyes"; then |
|
24097 |
as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5 |
|
24098 |
fi |
|
24099 |
fi |
|
24100 |
||
24101 |
CPPFLAGS="$CPPFLAGS_SAVED" |
|
24102 |
LDFLAGS="$LDFLAGS_SAVED" |
|
24103 |
fi |
|
24104 |
||
24105 |
for ac_header in boost/mpi.hpp |
|
24106 |
do : |
|
24107 |
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/mpi.hpp" "ac_cv_header_boost_mpi_hpp" "$ac_includes_default" |
|
24108 |
if test "x$ac_cv_header_boost_mpi_hpp" = xyes; then : |
|
24109 |
cat >>confdefs.h <<_ACEOF |
|
24110 |
#define HAVE_BOOST_MPI_HPP 1 |
|
24111 |
_ACEOF |
|
24112 |
||
24113 |
fi |
|
24114 |
||
24115 |
done |
|
24116 |
||
24117 |
||
24118 |
else |
|
24119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
24120 |
$as_echo "no" >&6; } |
|
24121 |
fi |
|
24122 |
||
24123 |
||
24124 |
# check for PAPI library |
|
24125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpapi" >&5 |
|
24126 |
$as_echo_n "checking for main in -lpapi... " >&6; } |
|
24127 |
if ${ac_cv_lib_papi_main+:} false; then : |
|
24128 |
$as_echo_n "(cached) " >&6 |
|
24129 |
else |
|
24130 |
ac_check_lib_save_LIBS=$LIBS |
|
24131 |
LIBS="-lpapi $LIBS" |
|
24132 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
24133 |
/* end confdefs.h. */ |
|
24134 |
||
24135 |
||
24136 |
int |
|
24137 |
main () |
|
24138 |
{ |
|
24139 |
return main (); |
|
24140 |
; |
|
24141 |
return 0; |
|
24142 |
} |
|
24143 |
_ACEOF |
|
24144 |
if ac_fn_cxx_try_link "$LINENO"; then : |
|
24145 |
ac_cv_lib_papi_main=yes |
|
24146 |
else |
|
24147 |
ac_cv_lib_papi_main=no |
|
24148 |
fi |
|
24149 |
rm -f core conftest.err conftest.$ac_objext \ |
|
24150 |
conftest$ac_exeext conftest.$ac_ext |
|
24151 |
LIBS=$ac_check_lib_save_LIBS |
|
24152 |
fi |
|
24153 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_main" >&5 |
|
24154 |
$as_echo "$ac_cv_lib_papi_main" >&6; } |
|
24155 |
if test "x$ac_cv_lib_papi_main" = xyes; then : |
|
24156 |
cat >>confdefs.h <<_ACEOF |
|
24157 |
#define HAVE_LIBPAPI 1 |
|
24158 |
_ACEOF |
|
24159 |
||
24160 |
LIBS="-lpapi $LIBS" |
|
24161 |
||
24162 |
fi |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24163 |
|
24164 |
||
24165 |
# autoconf replacement of bzconfig |
|
24166 |
||
24167 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24169 |
|
24170 |
C++ compiler ($CXX $CXXFLAGS $LDFLAGS) characteristics |
|
24171 |
||
24172 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24173 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24174 |
|
24175 |
C++ compiler ($CXX $CXXFLAGS $LDFLAGS) characteristics |
|
24176 |
||
24177 |
" >&6;} |
|
24178 |
||
24179 |
OS=`uname -a` |
|
24180 |
||
24181 |
DATE=`date` |
|
24182 |
||
24183 |
||
24184 |
||
24185 |
||
24186 |
||
24187 |
cat >>confdefs.h <<_ACEOF |
|
24188 |
#define _compiler_name "$CXX" |
|
24189 |
_ACEOF |
|
24190 |
||
24191 |
||
24192 |
cat >>confdefs.h <<_ACEOF |
|
24193 |
#define _compiler_options "$CXXFLAGS" |
|
24194 |
_ACEOF |
|
24195 |
||
24196 |
||
24197 |
cat >>confdefs.h <<_ACEOF |
|
24198 |
#define _os_name "$OS" |
|
24199 |
_ACEOF |
|
24200 |
||
24201 |
||
24202 |
cat >>confdefs.h <<_ACEOF |
|
24203 |
#define _config_date "$DATE" |
|
24204 |
_ACEOF |
|
24205 |
||
24206 |
||
24207 |
cat >>confdefs.h <<_ACEOF |
|
24208 |
#define _platform "$target" |
|
24209 |
_ACEOF |
|
24210 |
||
24211 |
||
24212 |
||
24213 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24215 |
|
24216 |
Checking major C++ language features |
|
24217 |
||
24218 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24219 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24220 |
|
24221 |
Checking major C++ language features |
|
24222 |
||
24223 |
" >&6;} |
|
24224 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 |
24226 |
$as_echo_n "checking whether the compiler implements namespaces... " >&6; } |
|
24227 |
if ${ac_cv_cxx_namespaces+:} false; then : |
|
24228 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24229 |
else |
24230 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24231 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24232 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24233 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24234 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24235 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24236 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24237 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24238 |
/* end confdefs.h. */ |
24239 |
namespace Outer { namespace Inner { int i = 0; }} |
|
24240 |
int |
|
24241 |
main () |
|
24242 |
{ |
|
24243 |
using namespace Outer::Inner; return i; |
|
24244 |
; |
|
24245 |
return 0; |
|
24246 |
} |
|
24247 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24248 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24249 |
ac_cv_cxx_namespaces=yes |
24250 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24251 |
ac_cv_cxx_namespaces=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24252 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24253 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24254 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24255 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24256 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24257 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24258 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24259 |
||
24260 |
||
24261 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 |
24263 |
$as_echo "$ac_cv_cxx_namespaces" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24264 |
if test "$ac_cv_cxx_namespaces" = yes; then |
24265 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24266 |
$as_echo "#define HAVE_NAMESPACES /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24267 |
|
24268 |
fi |
|
24269 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports exceptions" >&5 |
24271 |
$as_echo_n "checking whether the compiler supports exceptions... " >&6; } |
|
24272 |
if ${ac_cv_cxx_exceptions+:} false; then : |
|
24273 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24274 |
else |
24275 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24276 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24277 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24278 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24279 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24280 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24281 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24282 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24283 |
/* end confdefs.h. */ |
24284 |
||
24285 |
int |
|
24286 |
main () |
|
24287 |
{ |
|
24288 |
try { throw 1; } catch (int i) { return i; } |
|
24289 |
; |
|
24290 |
return 0; |
|
24291 |
} |
|
24292 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24293 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24294 |
ac_cv_cxx_exceptions=yes |
24295 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24296 |
ac_cv_cxx_exceptions=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24297 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24298 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24299 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24300 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24301 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24302 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24303 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24304 |
||
24305 |
||
24306 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_exceptions" >&5 |
24308 |
$as_echo "$ac_cv_cxx_exceptions" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24309 |
if test "$ac_cv_cxx_exceptions" = yes; then |
24310 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24311 |
$as_echo "#define HAVE_EXCEPTIONS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24312 |
|
24313 |
fi |
|
24314 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Run-Time Type Identification" >&5 |
24316 |
$as_echo_n "checking whether the compiler supports Run-Time Type Identification... " >&6; } |
|
24317 |
if ${ac_cv_cxx_rtti+:} false; then : |
|
24318 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24319 |
else |
24320 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24321 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24322 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24323 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24324 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24325 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24326 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24327 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24328 |
/* end confdefs.h. */ |
24329 |
#include <typeinfo> |
|
24330 |
class Base { public : |
|
24331 |
Base () {} |
|
24332 |
virtual int f () { return 0; } |
|
24333 |
}; |
|
24334 |
class Derived : public Base { public : |
|
24335 |
Derived () {} |
|
24336 |
virtual int f () { return 1; } |
|
24337 |
}; |
|
24338 |
||
24339 |
int |
|
24340 |
main () |
|
24341 |
{ |
|
24342 |
Derived d; |
|
24343 |
Base *ptr = &d; |
|
24344 |
return typeid (*ptr) == typeid (Derived); |
|
24345 |
||
24346 |
; |
|
24347 |
return 0; |
|
24348 |
} |
|
24349 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24350 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24351 |
ac_cv_cxx_rtti=yes |
24352 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24353 |
ac_cv_cxx_rtti=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24354 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24355 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24356 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24357 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24358 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24359 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24360 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24361 |
||
24362 |
||
24363 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_rtti" >&5 |
24365 |
$as_echo "$ac_cv_cxx_rtti" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24366 |
if test "$ac_cv_cxx_rtti" = yes; then |
24367 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24368 |
$as_echo "#define HAVE_RTTI /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24369 |
|
24370 |
fi |
|
24371 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports member constants" >&5 |
24373 |
$as_echo_n "checking whether the compiler supports member constants... " >&6; } |
|
24374 |
if ${ac_cv_cxx_member_constants+:} false; then : |
|
24375 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24376 |
else |
24377 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24378 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24379 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24380 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24381 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24382 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24383 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24384 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24385 |
/* end confdefs.h. */ |
24386 |
class C {public: static const int i = 0;}; const int C::i; |
|
24387 |
int |
|
24388 |
main () |
|
24389 |
{ |
|
24390 |
return C::i; |
|
24391 |
; |
|
24392 |
return 0; |
|
24393 |
} |
|
24394 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24395 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24396 |
ac_cv_cxx_member_constants=yes |
24397 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24398 |
ac_cv_cxx_member_constants=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24399 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24400 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24401 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24402 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24403 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24404 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24405 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24406 |
||
24407 |
||
24408 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_member_constants" >&5 |
24410 |
$as_echo "$ac_cv_cxx_member_constants" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24411 |
if test "$ac_cv_cxx_member_constants" = yes; then |
24412 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24413 |
$as_echo "#define HAVE_MEMBER_CONSTANTS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24414 |
|
24415 |
fi |
|
24416 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts the old for scoping rules" >&5 |
24418 |
$as_echo_n "checking whether the compiler accepts the old for scoping rules... " >&6; } |
|
24419 |
if ${ac_cv_cxx_old_for_scoping+:} false; then : |
|
24420 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24421 |
else |
24422 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24423 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24424 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24425 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24426 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24427 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24428 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24429 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24430 |
/* end confdefs.h. */ |
24431 |
||
24432 |
int |
|
24433 |
main () |
|
24434 |
{ |
|
24435 |
int z;for (int i=0; i < 10; ++i)z=z+i;z=i;return z; |
|
24436 |
; |
|
24437 |
return 0; |
|
24438 |
} |
|
24439 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24440 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24441 |
ac_cv_cxx_old_for_scoping=yes |
24442 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24443 |
ac_cv_cxx_old_for_scoping=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24444 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24445 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24446 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24447 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24448 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24449 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24450 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24451 |
||
24452 |
||
24453 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24454 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_old_for_scoping" >&5 |
24455 |
$as_echo "$ac_cv_cxx_old_for_scoping" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24456 |
if test "$ac_cv_cxx_old_for_scoping" = yes; then |
24457 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24458 |
$as_echo "#define HAVE_OLD_FOR_SCOPING /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24459 |
|
24460 |
fi |
|
24461 |
||
24462 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24464 |
|
24465 |
Now for some of the new keywords |
|
24466 |
||
24467 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24468 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24469 |
|
24470 |
Now for some of the new keywords |
|
24471 |
||
24472 |
" >&6;} |
|
24473 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24474 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the explicit keyword" >&5 |
24475 |
$as_echo_n "checking whether the compiler supports the explicit keyword... " >&6; } |
|
24476 |
if ${ac_cv_cxx_explicit+:} false; then : |
|
24477 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24478 |
else |
24479 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24480 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24481 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24482 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24483 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24484 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24485 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24486 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24487 |
/* end confdefs.h. */ |
24488 |
class A{public:explicit A(double){}}; |
|
24489 |
int |
|
24490 |
main () |
|
24491 |
{ |
|
24492 |
double c = 5.0;A x(c);return 0; |
|
24493 |
; |
|
24494 |
return 0; |
|
24495 |
} |
|
24496 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24497 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24498 |
ac_cv_cxx_explicit=yes |
24499 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24500 |
ac_cv_cxx_explicit=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24501 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24502 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24503 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24504 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24505 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24506 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24507 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24508 |
||
24509 |
||
24510 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24511 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_explicit" >&5 |
24512 |
$as_echo "$ac_cv_cxx_explicit" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24513 |
if test "$ac_cv_cxx_explicit" = yes; then |
24514 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24515 |
$as_echo "#define HAVE_EXPLICIT /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24516 |
|
24517 |
fi |
|
24518 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the mutable keyword" >&5 |
24520 |
$as_echo_n "checking whether the compiler supports the mutable keyword... " >&6; } |
|
24521 |
if ${ac_cv_cxx_mutable+:} false; then : |
|
24522 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24523 |
else |
24524 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24525 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24526 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24527 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24528 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24529 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24530 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24531 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24532 |
/* end confdefs.h. */ |
24533 |
||
24534 |
class A { mutable int i; |
|
24535 |
public: |
|
24536 |
int f (int n) const { i = n; return i; } |
|
24537 |
}; |
|
24538 |
||
24539 |
int |
|
24540 |
main () |
|
24541 |
{ |
|
24542 |
A a; return a.f (1); |
|
24543 |
; |
|
24544 |
return 0; |
|
24545 |
} |
|
24546 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24547 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24548 |
ac_cv_cxx_mutable=yes |
24549 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24550 |
ac_cv_cxx_mutable=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24551 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24552 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24553 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24554 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24555 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24556 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24557 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24558 |
||
24559 |
||
24560 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_mutable" >&5 |
24562 |
$as_echo "$ac_cv_cxx_mutable" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24563 |
if test "$ac_cv_cxx_mutable" = yes; then |
24564 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24565 |
$as_echo "#define HAVE_MUTABLE /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24566 |
|
24567 |
fi |
|
24568 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes typename" >&5 |
24570 |
$as_echo_n "checking whether the compiler recognizes typename... " >&6; } |
|
24571 |
if ${ac_cv_cxx_typename+:} false; then : |
|
24572 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24573 |
else |
24574 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24575 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24576 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24577 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24578 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24579 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24580 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24581 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24582 |
/* end confdefs.h. */ |
24583 |
template<typename T>class X {public:X(){}}; |
|
24584 |
int |
|
24585 |
main () |
|
24586 |
{ |
|
24587 |
X<float> z; return 0; |
|
24588 |
; |
|
24589 |
return 0; |
|
24590 |
} |
|
24591 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24592 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24593 |
ac_cv_cxx_typename=yes |
24594 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24595 |
ac_cv_cxx_typename=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24596 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24597 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24598 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24599 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24600 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24601 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24602 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24603 |
||
24604 |
||
24605 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_typename" >&5 |
24607 |
$as_echo "$ac_cv_cxx_typename" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24608 |
if test "$ac_cv_cxx_typename" = yes; then |
24609 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24610 |
$as_echo "#define HAVE_TYPENAME /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24611 |
|
24612 |
fi |
|
24613 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the Numerical C Extensions Group restrict keyword" >&5 |
24615 |
$as_echo_n "checking whether the compiler supports the Numerical C Extensions Group restrict keyword... " >&6; } |
|
24616 |
if ${ac_cv_cxx_nceg_restrict+:} false; then : |
|
24617 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24618 |
else |
24619 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24620 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24621 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24622 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24623 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24624 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24625 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24626 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24627 |
/* end confdefs.h. */ |
24628 |
||
24629 |
void add(int length, double * restrict a, |
|
24630 |
const double * restrict b, const double * restrict c) |
|
24631 |
{ for (int i=0; i < length; ++i) a[i] = b[i] + c[i]; } |
|
24632 |
||
24633 |
int |
|
24634 |
main () |
|
24635 |
{ |
|
24636 |
double a[10], b[10], c[10]; |
|
24637 |
for (int i=0; i < 10; ++i) { a[i] = 0.0; b[i] = 0.0; c[i] = 0.0; } |
|
24638 |
add(10,a,b,c); |
|
24639 |
return 0; |
|
24640 |
; |
|
24641 |
return 0; |
|
24642 |
} |
|
24643 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24644 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24645 |
ac_cv_cxx_nceg_restrict=yes |
24646 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24647 |
ac_cv_cxx_nceg_restrict=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24648 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24649 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24650 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24651 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24652 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24653 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24654 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24655 |
||
24656 |
||
24657 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_nceg_restrict" >&5 |
24659 |
$as_echo "$ac_cv_cxx_nceg_restrict" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24660 |
if test "$ac_cv_cxx_nceg_restrict" = yes; then |
24661 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24662 |
$as_echo "#define HAVE_NCEG_RESTRICT /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24663 |
|
24664 |
fi |
|
24665 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes the '__restrict__' keyword" >&5 |
24667 |
$as_echo_n "checking whether the compiler recognizes the '__restrict__' keyword... " >&6; } |
|
24668 |
if ${ac_cv_cxx_nceg_restrict_egcs+:} false; then : |
|
24669 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24670 |
else |
24671 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24672 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24673 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24674 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24675 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24676 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24677 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24678 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24679 |
/* end confdefs.h. */ |
24680 |
||
24681 |
void add(int length, double * __restrict__ a, |
|
24682 |
const double * __restrict__ b, const double * __restrict__ c) |
|
24683 |
{ for (int i=0; i < length; ++i) a[i] = b[i] + c[i]; } |
|
24684 |
||
24685 |
int |
|
24686 |
main () |
|
24687 |
{ |
|
24688 |
double a[10], b[10], c[10]; |
|
24689 |
for (int i=0; i < 10; ++i) { a[i] = 0.0; b[i] = 0.0; c[i] = 0.0; } |
|
24690 |
add(10,a,b,c); |
|
24691 |
return 0; |
|
24692 |
; |
|
24693 |
return 0; |
|
24694 |
} |
|
24695 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24696 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24697 |
ac_cv_cxx_nceg_restrict_egcs=yes |
24698 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24699 |
ac_cv_cxx_nceg_restrict_egcs=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24700 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24701 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24702 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24703 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24704 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24705 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24706 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24707 |
||
24708 |
||
24709 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24710 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_nceg_restrict_egcs" >&5 |
24711 |
$as_echo "$ac_cv_cxx_nceg_restrict_egcs" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24712 |
if test "$ac_cv_cxx_nceg_restrict_egcs" = yes; then |
24713 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24714 |
$as_echo "#define HAVE_NCEG_RESTRICT_EGCS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24715 |
|
24716 |
fi |
|
24717 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes bool as a built-in type" >&5 |
24719 |
$as_echo_n "checking whether the compiler recognizes bool as a built-in type... " >&6; } |
|
24720 |
if ${ac_cv_cxx_bool+:} false; then : |
|
24721 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24722 |
else |
24723 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24724 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24725 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24726 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24727 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24728 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24729 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24730 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24731 |
/* end confdefs.h. */ |
24732 |
||
24733 |
int f(int x){return 1;} |
|
24734 |
int f(char x){return 1;} |
|
24735 |
int f(bool x){return 1;} |
|
24736 |
||
24737 |
int |
|
24738 |
main () |
|
24739 |
{ |
|
24740 |
bool b = true; return f(b); |
|
24741 |
; |
|
24742 |
return 0; |
|
24743 |
} |
|
24744 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24745 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24746 |
ac_cv_cxx_bool=yes |
24747 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24748 |
ac_cv_cxx_bool=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24749 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24750 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24751 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24752 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24753 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24754 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24755 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24756 |
||
24757 |
||
24758 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_bool" >&5 |
24760 |
$as_echo "$ac_cv_cxx_bool" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24761 |
if test "$ac_cv_cxx_bool" = yes; then |
24762 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24763 |
$as_echo "#define HAVE_BOOL /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24764 |
|
24765 |
fi |
|
24766 |
||
24767 |
||
24768 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24769 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24770 |
|
24771 |
Does your compiler understand the newfangled casting syntax? |
|
24772 |
||
24773 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24774 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24775 |
|
24776 |
Does your compiler understand the newfangled casting syntax? |
|
24777 |
||
24778 |
" >&6;} |
|
24779 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports const_cast<>" >&5 |
24781 |
$as_echo_n "checking whether the compiler supports const_cast<>... " >&6; } |
|
24782 |
if ${ac_cv_cxx_const_cast+:} false; then : |
|
24783 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24784 |
else |
24785 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24786 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24787 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24788 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24789 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24790 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24791 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24792 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24793 |
/* end confdefs.h. */ |
24794 |
||
24795 |
int |
|
24796 |
main () |
|
24797 |
{ |
|
24798 |
int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z; |
|
24799 |
; |
|
24800 |
return 0; |
|
24801 |
} |
|
24802 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24803 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24804 |
ac_cv_cxx_const_cast=yes |
24805 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24806 |
ac_cv_cxx_const_cast=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24807 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24808 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24809 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24810 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24811 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24812 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24813 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24814 |
||
24815 |
||
24816 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_const_cast" >&5 |
24818 |
$as_echo "$ac_cv_cxx_const_cast" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24819 |
if test "$ac_cv_cxx_const_cast" = yes; then |
24820 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24821 |
$as_echo "#define HAVE_CONST_CAST /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24822 |
|
24823 |
fi |
|
24824 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports static_cast<>" >&5 |
24826 |
$as_echo_n "checking whether the compiler supports static_cast<>... " >&6; } |
|
24827 |
if ${ac_cv_cxx_static_cast+:} false; then : |
|
24828 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24829 |
else |
24830 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24831 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24832 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24833 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24834 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24835 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24836 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24838 |
/* end confdefs.h. */ |
24839 |
#include <typeinfo> |
|
24840 |
class Base { public : Base () {} virtual void f () = 0; }; |
|
24841 |
class Derived : public Base { public : Derived () {} virtual void f () {} }; |
|
24842 |
int g (Derived&) { return 0; } |
|
24843 |
int |
|
24844 |
main () |
|
24845 |
{ |
|
24846 |
||
24847 |
Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s); |
|
24848 |
; |
|
24849 |
return 0; |
|
24850 |
} |
|
24851 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24852 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24853 |
ac_cv_cxx_static_cast=yes |
24854 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24855 |
ac_cv_cxx_static_cast=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24856 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24857 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24858 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24859 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24860 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24861 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24862 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24863 |
||
24864 |
||
24865 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_static_cast" >&5 |
24867 |
$as_echo "$ac_cv_cxx_static_cast" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24868 |
if test "$ac_cv_cxx_static_cast" = yes; then |
24869 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24870 |
$as_echo "#define HAVE_STATIC_CAST /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24871 |
|
24872 |
fi |
|
24873 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24874 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports reinterpret_cast<>" >&5 |
24875 |
$as_echo_n "checking whether the compiler supports reinterpret_cast<>... " >&6; } |
|
24876 |
if ${ac_cv_cxx_reinterpret_cast+:} false; then : |
|
24877 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24878 |
else |
24879 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24880 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24881 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24882 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24883 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24884 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24885 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24886 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24887 |
/* end confdefs.h. */ |
24888 |
#include <typeinfo> |
|
24889 |
class Base { public : Base () {} virtual void f () = 0;}; |
|
24890 |
class Derived : public Base { public : Derived () {} virtual void f () {} }; |
|
24891 |
class Unrelated { public : Unrelated () {} }; |
|
24892 |
int g (Unrelated&) { return 0; } |
|
24893 |
int |
|
24894 |
main () |
|
24895 |
{ |
|
24896 |
||
24897 |
Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e); |
|
24898 |
; |
|
24899 |
return 0; |
|
24900 |
} |
|
24901 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24902 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24903 |
ac_cv_cxx_reinterpret_cast=yes |
24904 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24905 |
ac_cv_cxx_reinterpret_cast=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24906 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24907 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24908 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24909 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24910 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24911 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24912 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24913 |
||
24914 |
||
24915 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24916 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_reinterpret_cast" >&5 |
24917 |
$as_echo "$ac_cv_cxx_reinterpret_cast" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24918 |
if test "$ac_cv_cxx_reinterpret_cast" = yes; then |
24919 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24920 |
$as_echo "#define HAVE_REINTERPRET_CAST /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24921 |
|
24922 |
fi |
|
24923 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports dynamic_cast<>" >&5 |
24925 |
$as_echo_n "checking whether the compiler supports dynamic_cast<>... " >&6; } |
|
24926 |
if ${ac_cv_cxx_dynamic_cast+:} false; then : |
|
24927 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24928 |
else |
24929 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24930 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24931 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24932 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24933 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24934 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24935 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24936 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24937 |
/* end confdefs.h. */ |
24938 |
#include <typeinfo> |
|
24939 |
class Base { public : Base () {} virtual void f () = 0;}; |
|
24940 |
class Derived : public Base { public : Derived () {} virtual void f () {} }; |
|
24941 |
int |
|
24942 |
main () |
|
24943 |
{ |
|
24944 |
||
24945 |
Derived d; Base& b=d; return dynamic_cast<Derived*>(&b) ? 0 : 1; |
|
24946 |
; |
|
24947 |
return 0; |
|
24948 |
} |
|
24949 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24950 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24951 |
ac_cv_cxx_dynamic_cast=yes |
24952 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24953 |
ac_cv_cxx_dynamic_cast=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24954 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24955 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24956 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24957 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24958 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24959 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24960 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24961 |
||
24962 |
||
24963 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_dynamic_cast" >&5 |
24965 |
$as_echo "$ac_cv_cxx_dynamic_cast" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24966 |
if test "$ac_cv_cxx_dynamic_cast" = yes; then |
24967 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24968 |
$as_echo "#define HAVE_DYNAMIC_CAST /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24969 |
|
24970 |
fi |
|
24971 |
||
24972 |
||
24973 |
||
24974 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24976 |
|
24977 |
Okay, now the important stuff -- templates |
|
24978 |
||
24979 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24980 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24981 |
|
24982 |
Okay, now the important stuff -- templates |
|
24983 |
||
24984 |
" >&6;} |
|
24985 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24986 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports basic templates" >&5 |
24987 |
$as_echo_n "checking whether the compiler supports basic templates... " >&6; } |
|
24988 |
if ${ac_cv_cxx_templates+:} false; then : |
|
24989 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24990 |
else |
24991 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24992 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24993 |
ac_cpp='$CXXCPP $CPPFLAGS' |
24994 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
24995 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
24996 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
24997 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
24998 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
24999 |
/* end confdefs.h. */ |
25000 |
template<class T> class A {public:A(){}}; |
|
25001 |
template<class T> void f(const A<T>& ){} |
|
25002 |
int |
|
25003 |
main () |
|
25004 |
{ |
|
25005 |
||
25006 |
A<double> d; A<int> i; f(d); f(i); return 0; |
|
25007 |
; |
|
25008 |
return 0; |
|
25009 |
} |
|
25010 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25011 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25012 |
ac_cv_cxx_templates=yes |
25013 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25014 |
ac_cv_cxx_templates=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25015 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25016 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25017 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25018 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25019 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25020 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25021 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25022 |
||
25023 |
||
25024 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25025 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_templates" >&5 |
25026 |
$as_echo "$ac_cv_cxx_templates" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25027 |
if test "$ac_cv_cxx_templates" = yes; then |
25028 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25029 |
$as_echo "#define HAVE_TEMPLATES /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25030 |
|
25031 |
fi |
|
25032 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25033 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports partial specialization" >&5 |
25034 |
$as_echo_n "checking whether the compiler supports partial specialization... " >&6; } |
|
25035 |
if ${ac_cv_cxx_partial_specialization+:} false; then : |
|
25036 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25037 |
else |
25038 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25039 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25040 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25041 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25042 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25043 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25044 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25045 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25046 |
/* end confdefs.h. */ |
25047 |
||
25048 |
template<class T, int N> class A { public : enum e { z = 0 }; }; |
|
25049 |
template<int N> class A<double, N> { public : enum e { z = 1 }; }; |
|
25050 |
template<class T> class A<T, 2> { public : enum e { z = 2 }; }; |
|
25051 |
||
25052 |
int |
|
25053 |
main () |
|
25054 |
{ |
|
25055 |
return (A<int,3>::z == 0) && (A<double,3>::z == 1) && (A<float,2>::z == 2); |
|
25056 |
; |
|
25057 |
return 0; |
|
25058 |
} |
|
25059 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25060 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25061 |
ac_cv_cxx_partial_specialization=yes |
25062 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25063 |
ac_cv_cxx_partial_specialization=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25064 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25065 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25066 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25067 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25068 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25069 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25070 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25071 |
||
25072 |
||
25073 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_partial_specialization" >&5 |
25075 |
$as_echo "$ac_cv_cxx_partial_specialization" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25076 |
if test "$ac_cv_cxx_partial_specialization" = yes; then |
25077 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25078 |
$as_echo "#define HAVE_PARTIAL_SPECIALIZATION /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25079 |
|
25080 |
fi |
|
25081 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports partial ordering" >&5 |
25083 |
$as_echo_n "checking whether the compiler supports partial ordering... " >&6; } |
|
25084 |
if ${ac_cv_cxx_partial_ordering+:} false; then : |
|
25085 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25086 |
else |
25087 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25088 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25089 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25090 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25091 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25092 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25093 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25094 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25095 |
/* end confdefs.h. */ |
25096 |
||
25097 |
template<int N> struct I {}; |
|
25098 |
template<class T> struct A |
|
25099 |
{ int r; |
|
25100 |
template<class T1, class T2> int operator() (T1, T2) { r = 0; return r; } |
|
25101 |
template<int N1, int N2> int operator() (I<N1>, I<N2>) { r = 1; return r; } |
|
25102 |
}; |
|
25103 |
int |
|
25104 |
main () |
|
25105 |
{ |
|
25106 |
A<float> x, y; I<0> a; I<1> b; return x (a,b) + y (float(), double()); |
|
25107 |
; |
|
25108 |
return 0; |
|
25109 |
} |
|
25110 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25111 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25112 |
ac_cv_cxx_partial_ordering=yes |
25113 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25114 |
ac_cv_cxx_partial_ordering=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25115 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25116 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25117 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25118 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25119 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25120 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25121 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25122 |
||
25123 |
||
25124 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_partial_ordering" >&5 |
25126 |
$as_echo "$ac_cv_cxx_partial_ordering" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25127 |
if test "$ac_cv_cxx_partial_ordering" = yes; then |
25128 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25129 |
$as_echo "#define HAVE_PARTIAL_ORDERING /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25130 |
|
25131 |
fi |
|
25132 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports default template parameters" >&5 |
25134 |
$as_echo_n "checking whether the compiler supports default template parameters... " >&6; } |
|
25135 |
if ${ac_cv_cxx_default_template_parameters+:} false; then : |
|
25136 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25137 |
else |
25138 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25139 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25140 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25141 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25142 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25143 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25144 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25145 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25146 |
/* end confdefs.h. */ |
25147 |
||
25148 |
template<class T = double, int N = 10> class A {public: int f() {return 0;}}; |
|
25149 |
||
25150 |
int |
|
25151 |
main () |
|
25152 |
{ |
|
25153 |
A<float> a; return a.f(); |
|
25154 |
; |
|
25155 |
return 0; |
|
25156 |
} |
|
25157 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25158 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25159 |
ac_cv_cxx_default_template_parameters=yes |
25160 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25161 |
ac_cv_cxx_default_template_parameters=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25162 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25163 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25164 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25165 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25166 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25167 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25168 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25169 |
||
25170 |
||
25171 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_default_template_parameters" >&5 |
25173 |
$as_echo "$ac_cv_cxx_default_template_parameters" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25174 |
if test "$ac_cv_cxx_default_template_parameters" = yes; then |
25175 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25176 |
$as_echo "#define HAVE_DEFAULT_TEMPLATE_PARAMETERS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25177 |
|
25178 |
fi |
|
25179 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports member templates" >&5 |
25181 |
$as_echo_n "checking whether the compiler supports member templates... " >&6; } |
|
25182 |
if ${ac_cv_cxx_member_templates+:} false; then : |
|
25183 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25184 |
else |
25185 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25186 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25187 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25188 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25189 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25190 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25191 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25192 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25193 |
/* end confdefs.h. */ |
25194 |
||
25195 |
template<class T, int N> class A |
|
25196 |
{ public: |
|
25197 |
template<int N2> A<T,N> operator=(const A<T,N2>& z) { return A<T,N>(); } |
|
25198 |
}; |
|
25199 |
int |
|
25200 |
main () |
|
25201 |
{ |
|
25202 |
A<double,4> x; A<double,7> y; x = y; return 0; |
|
25203 |
; |
|
25204 |
return 0; |
|
25205 |
} |
|
25206 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25207 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25208 |
ac_cv_cxx_member_templates=yes |
25209 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25210 |
ac_cv_cxx_member_templates=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25211 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25212 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25213 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25214 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25215 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25216 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25217 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25218 |
||
25219 |
||
25220 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_member_templates" >&5 |
25222 |
$as_echo "$ac_cv_cxx_member_templates" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25223 |
if test "$ac_cv_cxx_member_templates" = yes; then |
25224 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25225 |
$as_echo "#define HAVE_MEMBER_TEMPLATES /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25226 |
|
25227 |
fi |
|
25228 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25229 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports member templates outside the class declaration" >&5 |
25230 |
$as_echo_n "checking whether the compiler supports member templates outside the class declaration... " >&6; } |
|
25231 |
if ${ac_cv_cxx_member_templates_outside_class+:} false; then : |
|
25232 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25233 |
else |
25234 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25235 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25236 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25237 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25238 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25239 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25240 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25241 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25242 |
/* end confdefs.h. */ |
25243 |
||
25244 |
template<class T, int N> class A |
|
25245 |
{ public : |
|
25246 |
template<int N2> A<T,N> operator=(const A<T,N2>& z); |
|
25247 |
}; |
|
25248 |
template<class T, int N> template<int N2> |
|
25249 |
A<T,N> A<T,N>::operator=(const A<T,N2>& z){ return A<T,N>(); } |
|
25250 |
int |
|
25251 |
main () |
|
25252 |
{ |
|
25253 |
||
25254 |
A<double,4> x; A<double,7> y; x = y; return 0; |
|
25255 |
; |
|
25256 |
return 0; |
|
25257 |
} |
|
25258 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25259 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25260 |
ac_cv_cxx_member_templates_outside_class=yes |
25261 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25262 |
ac_cv_cxx_member_templates_outside_class=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25263 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25264 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25265 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25266 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25267 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25268 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25269 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25270 |
||
25271 |
||
25272 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25273 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_member_templates_outside_class" >&5 |
25274 |
$as_echo "$ac_cv_cxx_member_templates_outside_class" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25275 |
if test "$ac_cv_cxx_member_templates_outside_class" = yes; then |
25276 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25277 |
$as_echo "#define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25278 |
|
25279 |
fi |
|
25280 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25281 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes the full specialization syntax" >&5 |
25282 |
$as_echo_n "checking whether the compiler recognizes the full specialization syntax... " >&6; } |
|
25283 |
if ${ac_cv_cxx_full_specialization_syntax+:} false; then : |
|
25284 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25285 |
else |
25286 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25287 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25288 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25289 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25290 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25291 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25292 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25293 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25294 |
/* end confdefs.h. */ |
25295 |
||
25296 |
template<class T> class A { public : int f () const { return 1; } }; |
|
25297 |
template<> class A<float> { public: int f () const { return 0; } }; |
|
25298 |
int |
|
25299 |
main () |
|
25300 |
{ |
|
25301 |
||
25302 |
A<float> a; return a.f(); |
|
25303 |
; |
|
25304 |
return 0; |
|
25305 |
} |
|
25306 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25307 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25308 |
ac_cv_cxx_full_specialization_syntax=yes |
25309 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25310 |
ac_cv_cxx_full_specialization_syntax=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25311 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25312 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25313 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25314 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25315 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25316 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25317 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25318 |
||
25319 |
||
25320 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_full_specialization_syntax" >&5 |
25322 |
$as_echo "$ac_cv_cxx_full_specialization_syntax" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25323 |
if test "$ac_cv_cxx_full_specialization_syntax" = yes; then |
25324 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25325 |
$as_echo "#define HAVE_FULL_SPECIALIZATION_SYNTAX /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25326 |
|
25327 |
fi |
|
25328 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports function templates with non-type parameters" >&5 |
25330 |
$as_echo_n "checking whether the compiler supports function templates with non-type parameters... " >&6; } |
|
25331 |
if ${ac_cv_cxx_function_nontype_parameters+:} false; then : |
|
25332 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25333 |
else |
25334 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25335 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25336 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25337 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25338 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25339 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25340 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25341 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25342 |
/* end confdefs.h. */ |
25343 |
||
25344 |
template<class T, int N> class A {}; |
|
25345 |
template<class T, int N> int f(const A<T,N>& x) { return 0; } |
|
25346 |
||
25347 |
int |
|
25348 |
main () |
|
25349 |
{ |
|
25350 |
A<double, 17> z; return f(z); |
|
25351 |
; |
|
25352 |
return 0; |
|
25353 |
} |
|
25354 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25355 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25356 |
ac_cv_cxx_function_nontype_parameters=yes |
25357 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25358 |
ac_cv_cxx_function_nontype_parameters=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25359 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25360 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25361 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25362 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25363 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25364 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25365 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25366 |
||
25367 |
||
25368 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25369 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_function_nontype_parameters" >&5 |
25370 |
$as_echo "$ac_cv_cxx_function_nontype_parameters" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25371 |
if test "$ac_cv_cxx_function_nontype_parameters" = yes; then |
25372 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25373 |
$as_echo "#define HAVE_FUNCTION_NONTYPE_PARAMETERS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25374 |
|
25375 |
fi |
|
25376 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25377 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports template-qualified base class specifiers" >&5 |
25378 |
$as_echo_n "checking whether the compiler supports template-qualified base class specifiers... " >&6; } |
|
25379 |
if ${ac_cv_cxx_template_qualified_base_class+:} false; then : |
|
25380 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25381 |
else |
25382 |
||
25383 |
||
25384 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25385 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25386 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25387 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25388 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25389 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25390 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25391 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25392 |
/* end confdefs.h. */ |
25393 |
||
25394 |
#ifndef HAVE_TYPENAME |
|
25395 |
#define typename |
|
25396 |
#endif |
|
25397 |
class Base1 { public : int f () const { return 1; } }; |
|
25398 |
class Base2 { public : int f () const { return 0; } }; |
|
25399 |
template<class X> struct base_trait { typedef Base1 base; }; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
25400 |
#ifdef HAVE_FULL_SPECIALIZATION_SYNTAX |
25401 |
template<> struct base_trait<float> { typedef Base2 base; }; |
|
25402 |
#else |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25403 |
struct base_trait<float> { typedef Base2 base; }; |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
25404 |
#endif |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25405 |
template<class T> class Weird : public base_trait<T>::base |
25406 |
{ public : |
|
25407 |
typedef typename base_trait<T>::base base; |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
25408 |
int g () const { return base::f (); } |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25409 |
}; |
25410 |
int |
|
25411 |
main () |
|
25412 |
{ |
|
25413 |
Weird<float> z; return z.g (); |
|
25414 |
; |
|
25415 |
return 0; |
|
25416 |
} |
|
25417 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25418 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25419 |
ac_cv_cxx_template_qualified_base_class=yes |
25420 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25421 |
ac_cv_cxx_template_qualified_base_class=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25422 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25423 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25424 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25425 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25426 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25427 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25428 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25429 |
||
25430 |
||
25431 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25432 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_qualified_base_class" >&5 |
25433 |
$as_echo "$ac_cv_cxx_template_qualified_base_class" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25434 |
if test "$ac_cv_cxx_template_qualified_base_class" = yes; then |
25435 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25436 |
$as_echo "#define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25437 |
|
25438 |
fi |
|
25439 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25440 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports template-qualified return types" >&5 |
25441 |
$as_echo_n "checking whether the compiler supports template-qualified return types... " >&6; } |
|
25442 |
if ${ac_cv_cxx_template_qualified_return_type+:} false; then : |
|
25443 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25444 |
else |
25445 |
||
25446 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25447 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25448 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25449 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25450 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25451 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25452 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25453 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25454 |
/* end confdefs.h. */ |
25455 |
||
25456 |
#ifndef HAVE_TYPENAME |
|
25457 |
#define typename |
|
25458 |
#endif |
|
25459 |
template<class X, class Y> struct promote_trait { typedef X T; }; |
|
25460 |
template<> struct promote_trait<int, float> { typedef float T; }; |
|
25461 |
template<class T> class A { public : A () {} }; |
|
25462 |
template<class X, class Y> |
|
25463 |
A<typename promote_trait<X,Y>::T> operator+ (const A<X>&, const A<Y>&) |
|
25464 |
{ return A<typename promote_trait<X,Y>::T>(); } |
|
25465 |
||
25466 |
int |
|
25467 |
main () |
|
25468 |
{ |
|
25469 |
A<int> x; A<float> y; A<float> z = x + y; return 0; |
|
25470 |
; |
|
25471 |
return 0; |
|
25472 |
} |
|
25473 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25474 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25475 |
ac_cv_cxx_template_qualified_return_type=yes |
25476 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25477 |
ac_cv_cxx_template_qualified_return_type=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25478 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25479 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25480 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25481 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25482 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25483 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25484 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25485 |
||
25486 |
||
25487 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25488 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_qualified_return_type" >&5 |
25489 |
$as_echo "$ac_cv_cxx_template_qualified_return_type" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25490 |
if test "$ac_cv_cxx_template_qualified_return_type" = yes; then |
25491 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25492 |
$as_echo "#define HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25493 |
|
25494 |
fi |
|
25495 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports explicit template function qualification" >&5 |
25497 |
$as_echo_n "checking whether the compiler supports explicit template function qualification... " >&6; } |
|
25498 |
if ${ac_cv_cxx_explicit_template_function_qualification+:} false; then : |
|
25499 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25500 |
else |
25501 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25502 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25503 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25504 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25505 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25506 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25507 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25508 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25509 |
/* end confdefs.h. */ |
25510 |
||
25511 |
template<class Z> class A { public : A() {} }; |
|
25512 |
template<class X, class Y> A<X> to (const A<Y>&) { return A<X>(); } |
|
25513 |
||
25514 |
int |
|
25515 |
main () |
|
25516 |
{ |
|
25517 |
A<float> x; A<double> y = to<double>(x); return 0; |
|
25518 |
; |
|
25519 |
return 0; |
|
25520 |
} |
|
25521 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25522 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25523 |
ac_cv_cxx_explicit_template_function_qualification=yes |
25524 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25525 |
ac_cv_cxx_explicit_template_function_qualification=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25526 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25527 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25528 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25529 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25530 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25531 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25532 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25533 |
||
25534 |
||
25535 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_explicit_template_function_qualification" >&5 |
25537 |
$as_echo "$ac_cv_cxx_explicit_template_function_qualification" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25538 |
if test "$ac_cv_cxx_explicit_template_function_qualification" = yes; then |
25539 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25540 |
$as_echo "#define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25541 |
|
25542 |
fi |
|
25543 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports templates as template arguments" >&5 |
25545 |
$as_echo_n "checking whether the compiler supports templates as template arguments... " >&6; } |
|
25546 |
if ${ac_cv_cxx_templates_as_template_arguments+:} false; then : |
|
25547 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25548 |
else |
25549 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25550 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25551 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25552 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25553 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25554 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25555 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25556 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25557 |
/* end confdefs.h. */ |
25558 |
||
25559 |
template<class T> class allocator { public : allocator() {}; }; |
|
25560 |
template<class X, template<class Y> class T_alloc> |
|
25561 |
class A { public : A() {} private : T_alloc<X> alloc_; }; |
|
25562 |
||
25563 |
int |
|
25564 |
main () |
|
25565 |
{ |
|
25566 |
A<double, allocator> x; return 0; |
|
25567 |
; |
|
25568 |
return 0; |
|
25569 |
} |
|
25570 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25571 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25572 |
ac_cv_cxx_templates_as_template_arguments=yes |
25573 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25574 |
ac_cv_cxx_templates_as_template_arguments=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25575 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25576 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25577 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25578 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25579 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25580 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25581 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25582 |
||
25583 |
||
25584 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25585 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_templates_as_template_arguments" >&5 |
25586 |
$as_echo "$ac_cv_cxx_templates_as_template_arguments" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25587 |
if test "$ac_cv_cxx_templates_as_template_arguments" = yes; then |
25588 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25589 |
$as_echo "#define HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25590 |
|
25591 |
fi |
|
25592 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports use of the template keyword as a qualifier" >&5 |
25594 |
$as_echo_n "checking whether the compiler supports use of the template keyword as a qualifier... " >&6; } |
|
25595 |
if ${ac_cv_cxx_template_keyword_qualifier+:} false; then : |
|
25596 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25597 |
else |
25598 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25599 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25600 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25601 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25602 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25603 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25604 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25605 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25606 |
/* end confdefs.h. */ |
25607 |
||
25608 |
class X |
|
25609 |
{ |
|
25610 |
public: |
|
25611 |
template<int> void member() {} |
|
25612 |
template<int> static void static_member() {} |
|
25613 |
}; |
|
25614 |
template<class T> void f(T* p) |
|
25615 |
{ |
|
25616 |
p->template member<200>(); // OK: < starts template argument |
|
25617 |
T::template static_member<100>(); // OK: < starts explicit qualification |
|
25618 |
} |
|
25619 |
||
25620 |
int |
|
25621 |
main () |
|
25622 |
{ |
|
25623 |
X x; f(&x); return 0; |
|
25624 |
; |
|
25625 |
return 0; |
|
25626 |
} |
|
25627 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25628 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25629 |
ac_cv_cxx_template_keyword_qualifier=yes |
25630 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25631 |
ac_cv_cxx_template_keyword_qualifier=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25632 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25633 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25634 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25635 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25636 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25637 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25638 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25639 |
||
25640 |
||
25641 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_keyword_qualifier" >&5 |
25643 |
$as_echo "$ac_cv_cxx_template_keyword_qualifier" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25644 |
if test "$ac_cv_cxx_template_keyword_qualifier" = yes; then |
25645 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25646 |
$as_echo "#define HAVE_TEMPLATE_KEYWORD_QUALIFIER /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25647 |
|
25648 |
fi |
|
25649 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports function matching with argument types which are template scope-qualified" >&5 |
25651 |
$as_echo_n "checking whether the compiler supports function matching with argument types which are template scope-qualified... " >&6; } |
|
25652 |
if ${ac_cv_cxx_template_scoped_argument_matching+:} false; then : |
|
25653 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25654 |
else |
25655 |
||
25656 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25657 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25658 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25659 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25660 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25661 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25662 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25663 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25664 |
/* end confdefs.h. */ |
25665 |
||
25666 |
#ifndef HAVE_TYPENAME |
|
25667 |
#define typename |
|
25668 |
#endif |
|
25669 |
template<class X> class A { public : typedef X W; }; |
|
25670 |
template<class Y> class B {}; |
|
25671 |
template<class Y> void operator+(B<Y> d1, typename Y::W d2) {} |
|
25672 |
||
25673 |
int |
|
25674 |
main () |
|
25675 |
{ |
|
25676 |
B<A<float> > z; z + 0.5f; return 0; |
|
25677 |
; |
|
25678 |
return 0; |
|
25679 |
} |
|
25680 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25681 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25682 |
ac_cv_cxx_template_scoped_argument_matching=yes |
25683 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25684 |
ac_cv_cxx_template_scoped_argument_matching=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25685 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25686 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25687 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25688 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25689 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25690 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25691 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25692 |
||
25693 |
||
25694 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25695 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_scoped_argument_matching" >&5 |
25696 |
$as_echo "$ac_cv_cxx_template_scoped_argument_matching" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25697 |
if test "$ac_cv_cxx_template_scoped_argument_matching" = yes; then |
25698 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25699 |
$as_echo "#define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25700 |
|
25701 |
fi |
|
25702 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler will support the vector type promotion mechanism" >&5 |
25704 |
$as_echo_n "checking whether the compiler will support the vector type promotion mechanism... " >&6; } |
|
25705 |
if ${ac_cv_cxx_type_promotion+:} false; then : |
|
25706 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25707 |
else |
25708 |
||
25709 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25710 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25711 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25712 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25713 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25714 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25715 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25716 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25717 |
/* end confdefs.h. */ |
25718 |
||
25719 |
#ifndef HAVE_TYPENAME |
|
25720 |
#define typename |
|
25721 |
#endif |
|
25722 |
template <class T> struct vec3 { T data_[3]; }; |
|
25723 |
template <class T1, class T2> struct promote_trait { typedef T1 T_promote; }; |
|
25724 |
template <> struct promote_trait<int,double> { typedef double T_promote; }; |
|
25725 |
template <class T1, class T2> vec3<typename promote_trait<T1,T2>::T_promote> |
|
25726 |
operator+(const vec3<T1>& a, const vec3<T2>& b) |
|
25727 |
{ vec3<typename promote_trait<T1,T2>::T_promote> c; |
|
25728 |
c.data_[0] = a.data_[0] + b.data_[0]; |
|
25729 |
c.data_[1] = a.data_[1] + b.data_[1]; |
|
25730 |
c.data_[2] = a.data_[2] + b.data_[2]; return c; } |
|
25731 |
int |
|
25732 |
main () |
|
25733 |
{ |
|
25734 |
||
25735 |
vec3<int> a,b; vec3<double> c,d,e; b=a+a; d=c+c; e=b+d; return 0; |
|
25736 |
; |
|
25737 |
return 0; |
|
25738 |
} |
|
25739 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25740 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25741 |
ac_cv_cxx_type_promotion=yes |
25742 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25743 |
ac_cv_cxx_type_promotion=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25744 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25745 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25746 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25747 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25748 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25749 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25750 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25751 |
||
25752 |
||
25753 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_type_promotion" >&5 |
25755 |
$as_echo "$ac_cv_cxx_type_promotion" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25756 |
if test "$ac_cv_cxx_type_promotion" = yes; then |
25757 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25758 |
$as_echo "#define HAVE_TYPE_PROMOTION /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25759 |
|
25760 |
fi |
|
25761 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports numeric traits promotions" >&5 |
25763 |
$as_echo_n "checking whether the compiler supports numeric traits promotions... " >&6; } |
|
25764 |
if ${ac_cv_cxx_use_numtrait+:} false; then : |
|
25765 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25766 |
else |
25767 |
||
25768 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25769 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25770 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25771 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25772 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25773 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25774 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25775 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25776 |
/* end confdefs.h. */ |
25777 |
||
25778 |
#ifndef HAVE_TYPENAME |
|
25779 |
#define typename |
|
25780 |
#endif |
|
25781 |
template<class T_numtype> class SumType { public : typedef T_numtype T_sumtype; }; |
|
25782 |
template<> class SumType<char> { public : typedef int T_sumtype; }; |
|
25783 |
template<class T> class A {}; |
|
25784 |
template<class T> A<typename SumType<T>::T_sumtype> sum(A<T>) |
|
25785 |
{ return A<typename SumType<T>::T_sumtype>(); } |
|
25786 |
||
25787 |
int |
|
25788 |
main () |
|
25789 |
{ |
|
25790 |
A<float> x; sum(x); return 0; |
|
25791 |
; |
|
25792 |
return 0; |
|
25793 |
} |
|
25794 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25795 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25796 |
ac_cv_cxx_use_numtrait=yes |
25797 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25798 |
ac_cv_cxx_use_numtrait=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25799 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25800 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25801 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25802 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25803 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25804 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25805 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25806 |
||
25807 |
||
25808 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_use_numtrait" >&5 |
25810 |
$as_echo "$ac_cv_cxx_use_numtrait" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25811 |
if test "$ac_cv_cxx_use_numtrait" = yes; then |
25812 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25813 |
$as_echo "#define HAVE_USE_NUMTRAIT /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25814 |
|
25815 |
fi |
|
25816 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler handle computations inside an enum" >&5 |
25818 |
$as_echo_n "checking whether the compiler handle computations inside an enum... " >&6; } |
|
25819 |
if ${ac_cv_cxx_enum_computations+:} false; then : |
|
25820 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25821 |
else |
25822 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25823 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25824 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25825 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25826 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25827 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25828 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25829 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25830 |
/* end confdefs.h. */ |
25831 |
||
25832 |
struct A { enum { a = 5, b = 7, c = 2 }; }; |
|
25833 |
struct B { enum { a = 1, b = 6, c = 9 }; }; |
|
25834 |
template<class T1, class T2> struct Z |
|
25835 |
{ enum { a = (T1::a > T2::a) ? T1::a : T2::b, |
|
25836 |
b = T1::b + T2::b, |
|
25837 |
c = (T1::c * T2::c + T2::a + T1::a) |
|
25838 |
}; |
|
25839 |
}; |
|
25840 |
int |
|
25841 |
main () |
|
25842 |
{ |
|
25843 |
||
25844 |
return (((int)Z<A,B>::a == 5) |
|
25845 |
&& ((int)Z<A,B>::b == 13) |
|
25846 |
&& ((int)Z<A,B>::c == 24)) ? 0 : 1; |
|
25847 |
; |
|
25848 |
return 0; |
|
25849 |
} |
|
25850 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25851 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25852 |
ac_cv_cxx_enum_computations=yes |
25853 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25854 |
ac_cv_cxx_enum_computations=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25855 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25856 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25857 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25858 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25859 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25860 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25861 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25862 |
||
25863 |
||
25864 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_enum_computations" >&5 |
25866 |
$as_echo "$ac_cv_cxx_enum_computations" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25867 |
if test "$ac_cv_cxx_enum_computations" = yes; then |
25868 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25869 |
$as_echo "#define HAVE_ENUM_COMPUTATIONS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25870 |
|
25871 |
fi |
|
25872 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25873 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler handles (int) casts in enum computations" >&5 |
25874 |
$as_echo_n "checking whether the compiler handles (int) casts in enum computations... " >&6; } |
|
25875 |
if ${ac_cv_cxx_enum_computations_with_cast+:} false; then : |
|
25876 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25877 |
else |
25878 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25879 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25880 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25881 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25882 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25883 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25884 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25885 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25886 |
/* end confdefs.h. */ |
25887 |
||
25888 |
struct A { enum { a = 5, b = 7, c = 2 }; }; |
|
25889 |
struct B { enum { a = 1, b = 6, c = 9 }; }; |
|
25890 |
template<class T1, class T2> struct Z |
|
25891 |
{ enum { a = ((int)T1::a > (int)T2::a) ? (int)T1::a : (int)T2::b, |
|
25892 |
b = (int)T1::b + (int)T2::b, |
|
25893 |
c = ((int)T1::c * (int)T2::c + (int)T2::a + (int)T1::a) |
|
25894 |
}; |
|
25895 |
}; |
|
25896 |
int |
|
25897 |
main () |
|
25898 |
{ |
|
25899 |
||
25900 |
return (((int)Z<A,B>::a == 5) |
|
25901 |
&& ((int)Z<A,B>::b == 13) |
|
25902 |
&& ((int)Z<A,B>::c == 24)) ? 0 : 1; |
|
25903 |
; |
|
25904 |
return 0; |
|
25905 |
} |
|
25906 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25907 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25908 |
ac_cv_cxx_enum_computations_with_cast=yes |
25909 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25910 |
ac_cv_cxx_enum_computations_with_cast=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25911 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25912 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25913 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25914 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25915 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25916 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25917 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25918 |
||
25919 |
||
25920 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25921 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_enum_computations_with_cast" >&5 |
25922 |
$as_echo "$ac_cv_cxx_enum_computations_with_cast" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25923 |
if test "$ac_cv_cxx_enum_computations_with_cast" = yes; then |
25924 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25925 |
$as_echo "#define HAVE_ENUM_COMPUTATIONS_WITH_CAST /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25926 |
|
25927 |
fi |
|
25928 |
||
25929 |
||
25930 |
||
25931 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25933 |
|
25934 |
Which library features does your compiler provide? |
|
25935 |
||
25936 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25937 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25938 |
|
25939 |
Which library features does your compiler provide? |
|
25940 |
||
25941 |
" >&6;} |
|
25942 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has complex<T>" >&5 |
25944 |
$as_echo_n "checking whether the compiler has complex<T>... " >&6; } |
|
25945 |
if ${ac_cv_cxx_have_complex+:} false; then : |
|
25946 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25947 |
else |
25948 |
||
25949 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25950 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25951 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25952 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25953 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25954 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25955 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25956 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25957 |
/* end confdefs.h. */ |
25958 |
#include <complex> |
|
25959 |
#ifdef HAVE_NAMESPACES |
|
25960 |
using namespace std; |
|
25961 |
#endif |
|
25962 |
int |
|
25963 |
main () |
|
25964 |
{ |
|
25965 |
complex<float> a; complex<double> b; return 0; |
|
25966 |
; |
|
25967 |
return 0; |
|
25968 |
} |
|
25969 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25970 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25971 |
ac_cv_cxx_have_complex=yes |
25972 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25973 |
ac_cv_cxx_have_complex=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25974 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25975 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25976 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25977 |
ac_cpp='$CXXCPP $CPPFLAGS' |
25978 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
25979 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
25980 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
25981 |
||
25982 |
||
25983 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_complex" >&5 |
25985 |
$as_echo "$ac_cv_cxx_have_complex" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25986 |
if test "$ac_cv_cxx_have_complex" = yes; then |
25987 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25988 |
$as_echo "#define HAVE_COMPLEX /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25989 |
|
25990 |
fi |
|
25991 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25992 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has standard complex<T> functions" >&5 |
25993 |
$as_echo_n "checking whether the compiler has standard complex<T> functions... " >&6; } |
|
25994 |
if ${ac_cv_cxx_have_complex_fcns+:} false; then : |
|
25995 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
25996 |
else |
25997 |
||
25998 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
25999 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26000 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26001 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26002 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26003 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26004 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26005 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26006 |
/* end confdefs.h. */ |
26007 |
#include <complex> |
|
26008 |
#ifdef HAVE_NAMESPACES |
|
26009 |
using namespace std; |
|
26010 |
#endif |
|
26011 |
int |
|
26012 |
main () |
|
26013 |
{ |
|
26014 |
complex<double> x(1.0, 1.0); |
|
26015 |
real(x); imag(x); abs(x); arg(x); norm(x); conj(x); polar(1.0,1.0); |
|
26016 |
return 0; |
|
26017 |
; |
|
26018 |
return 0; |
|
26019 |
} |
|
26020 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26021 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26022 |
ac_cv_cxx_have_complex_fcns=yes |
26023 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26024 |
ac_cv_cxx_have_complex_fcns=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26025 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26026 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26027 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26028 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26029 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26030 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26031 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26032 |
||
26033 |
||
26034 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_complex_fcns" >&5 |
26036 |
$as_echo "$ac_cv_cxx_have_complex_fcns" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26037 |
if test "$ac_cv_cxx_have_complex_fcns" = yes; then |
26038 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26039 |
$as_echo "#define HAVE_COMPLEX_FCNS /**/" >>confdefs.h |
26040 |
||
26041 |
fi |
|
26042 |
||
26043 |
||
26044 |
ac_ext=cpp |
|
26045 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
26046 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26047 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26048 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26049 |
||
26050 |
for ac_header in cstring |
|
26051 |
do : |
|
26052 |
ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" |
|
26053 |
if test "x$ac_cv_header_cstring" = xyes; then : |
|
26054 |
cat >>confdefs.h <<_ACEOF |
|
26055 |
#define HAVE_CSTRING 1 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26056 |
_ACEOF |
26057 |
||
26058 |
fi |
|
26059 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26060 |
done |
26061 |
||
26062 |
ac_ext=cpp |
|
26063 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
26064 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26065 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26066 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26067 |
||
26068 |
||
26069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has numeric_limits<T>" >&5 |
|
26070 |
$as_echo_n "checking whether the compiler has numeric_limits<T>... " >&6; } |
|
26071 |
if ${ac_cv_cxx_have_numeric_limits+:} false; then : |
|
26072 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26073 |
else |
26074 |
||
26075 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26076 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26077 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26078 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26079 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26080 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26081 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26082 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26083 |
/* end confdefs.h. */ |
26084 |
#include <limits> |
|
26085 |
#ifdef HAVE_NAMESPACES |
|
26086 |
using namespace std; |
|
26087 |
#endif |
|
26088 |
int |
|
26089 |
main () |
|
26090 |
{ |
|
26091 |
double e = numeric_limits<double>::epsilon(); return 0; |
|
26092 |
; |
|
26093 |
return 0; |
|
26094 |
} |
|
26095 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26096 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26097 |
ac_cv_cxx_have_numeric_limits=yes |
26098 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26099 |
ac_cv_cxx_have_numeric_limits=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26100 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26101 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26102 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26103 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26104 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26105 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26106 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26107 |
||
26108 |
||
26109 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_numeric_limits" >&5 |
26111 |
$as_echo "$ac_cv_cxx_have_numeric_limits" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26112 |
if test "$ac_cv_cxx_have_numeric_limits" = yes; then |
26113 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26114 |
$as_echo "#define HAVE_NUMERIC_LIMITS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26115 |
|
26116 |
fi |
|
26117 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has <climits> header" >&5 |
26119 |
$as_echo_n "checking whether the compiler has <climits> header... " >&6; } |
|
26120 |
if ${ac_cv_cxx_have_climits+:} false; then : |
|
26121 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26122 |
else |
26123 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26124 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26125 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26126 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26127 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26128 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26129 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26130 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26131 |
/* end confdefs.h. */ |
26132 |
#include <climits> |
|
26133 |
int |
|
26134 |
main () |
|
26135 |
{ |
|
26136 |
int i = INT_MIN; return 0; |
|
26137 |
; |
|
26138 |
return 0; |
|
26139 |
} |
|
26140 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26141 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26142 |
ac_cv_cxx_have_climits=yes |
26143 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26144 |
ac_cv_cxx_have_climits=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26145 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26146 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26147 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26148 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26149 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26150 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26151 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26152 |
||
26153 |
||
26154 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_climits" >&5 |
26156 |
$as_echo "$ac_cv_cxx_have_climits" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26157 |
if test "$ac_cv_cxx_have_climits" = yes; then |
26158 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26159 |
$as_echo "#define HAVE_CLIMITS /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26160 |
|
26161 |
fi |
|
26162 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has valarray<T>" >&5 |
26164 |
$as_echo_n "checking whether the compiler has valarray<T>... " >&6; } |
|
26165 |
if ${ac_cv_cxx_have_valarray+:} false; then : |
|
26166 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26167 |
else |
26168 |
||
26169 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26170 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26171 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26172 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26173 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26174 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26175 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26176 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26177 |
/* end confdefs.h. */ |
26178 |
#include <valarray> |
|
26179 |
#ifdef HAVE_NAMESPACES |
|
26180 |
using namespace std; |
|
26181 |
#endif |
|
26182 |
int |
|
26183 |
main () |
|
26184 |
{ |
|
26185 |
valarray<float> x(100); return 0; |
|
26186 |
; |
|
26187 |
return 0; |
|
26188 |
} |
|
26189 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26190 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26191 |
ac_cv_cxx_have_valarray=yes |
26192 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26193 |
ac_cv_cxx_have_valarray=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26194 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26195 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26196 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26197 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26198 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26199 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26200 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26201 |
||
26202 |
||
26203 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_valarray" >&5 |
26205 |
$as_echo "$ac_cv_cxx_have_valarray" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26206 |
if test "$ac_cv_cxx_have_valarray" = yes; then |
26207 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26208 |
$as_echo "#define HAVE_VALARRAY /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26209 |
|
26210 |
fi |
|
26211 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has complex math functions" >&5 |
26213 |
$as_echo_n "checking whether the compiler has complex math functions... " >&6; } |
|
26214 |
if ${ac_cv_cxx_have_complex_math1+:} false; then : |
|
26215 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26216 |
else |
26217 |
||
26218 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26219 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26220 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26221 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26222 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26223 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26224 |
||
26225 |
ac_save_LIBS="$LIBS" |
|
26226 |
LIBS="$LIBS -lm" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26227 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26228 |
/* end confdefs.h. */ |
26229 |
#include <complex> |
|
26230 |
#ifdef HAVE_NAMESPACES |
|
26231 |
using namespace std; |
|
26232 |
#endif |
|
26233 |
int |
|
26234 |
main () |
|
26235 |
{ |
|
26236 |
complex<double> x(1.0, 1.0), y(1.0, 1.0); |
|
26237 |
cos(x); cosh(x); exp(x); log(x); pow(x,1); pow(x,double(2.0)); |
|
26238 |
pow(x, y); pow(double(2.0), x); sin(x); sinh(x); sqrt(x); tan(x); tanh(x); |
|
26239 |
return 0; |
|
26240 |
; |
|
26241 |
return 0; |
|
26242 |
} |
|
26243 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26244 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26245 |
ac_cv_cxx_have_complex_math1=yes |
26246 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26247 |
ac_cv_cxx_have_complex_math1=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26248 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26249 |
rm -f core conftest.err conftest.$ac_objext \ |
26250 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26251 |
LIBS="$ac_save_LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26252 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26253 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26254 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26255 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26256 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26257 |
||
26258 |
||
26259 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_complex_math1" >&5 |
26261 |
$as_echo "$ac_cv_cxx_have_complex_math1" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26262 |
if test "$ac_cv_cxx_have_complex_math1" = yes; then |
26263 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26264 |
$as_echo "#define HAVE_COMPLEX_MATH1 /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26265 |
|
26266 |
fi |
|
26267 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has more complex math functions" >&5 |
26269 |
$as_echo_n "checking whether the compiler has more complex math functions... " >&6; } |
|
26270 |
if ${ac_cv_cxx_have_complex_math2+:} false; then : |
|
26271 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26272 |
else |
26273 |
||
26274 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26275 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26276 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26277 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26278 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26279 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26280 |
||
26281 |
ac_save_LIBS="$LIBS" |
|
26282 |
LIBS="$LIBS -lm" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26283 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26284 |
/* end confdefs.h. */ |
26285 |
#include <complex> |
|
26286 |
#ifdef HAVE_NAMESPACES |
|
26287 |
using namespace std; |
|
26288 |
#endif |
|
26289 |
int |
|
26290 |
main () |
|
26291 |
{ |
|
26292 |
complex<double> x(1.0, 1.0), y(1.0, 1.0); |
|
26293 |
acos(x); asin(x); atan(x); atan2(x,y); atan2(x, double(3.0)); |
|
26294 |
atan2(double(3.0), x); log10(x); return 0; |
|
26295 |
; |
|
26296 |
return 0; |
|
26297 |
} |
|
26298 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26299 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26300 |
ac_cv_cxx_have_complex_math2=yes |
26301 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26302 |
ac_cv_cxx_have_complex_math2=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26303 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26304 |
rm -f core conftest.err conftest.$ac_objext \ |
26305 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26306 |
LIBS="$ac_save_LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26307 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26308 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26309 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26310 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26311 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26312 |
||
26313 |
||
26314 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_complex_math2" >&5 |
26316 |
$as_echo "$ac_cv_cxx_have_complex_math2" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26317 |
if test "$ac_cv_cxx_have_complex_math2" = yes; then |
26318 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26319 |
$as_echo "#define HAVE_COMPLEX_MATH2 /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26320 |
|
26321 |
fi |
|
26322 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports IEEE math library" >&5 |
26324 |
$as_echo_n "checking whether the compiler supports IEEE math library... " >&6; } |
|
26325 |
if ${ac_cv_cxx_have_ieee_math+:} false; then : |
|
26326 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26327 |
else |
26328 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26329 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26330 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26331 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26332 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26333 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26334 |
||
26335 |
ac_save_LIBS="$LIBS" |
|
26336 |
LIBS="$LIBS -lm" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26337 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26338 |
/* end confdefs.h. */ |
26339 |
||
26340 |
#ifndef _ALL_SOURCE |
|
26341 |
#define _ALL_SOURCE |
|
26342 |
#endif |
|
26343 |
#ifndef _XOPEN_SOURCE |
|
26344 |
#define _XOPEN_SOURCE |
|
26345 |
#endif |
|
26346 |
#ifndef _XOPEN_SOURCE_EXTENDED |
|
26347 |
#define _XOPEN_SOURCE_EXTENDED 1 |
|
26348 |
#endif |
|
26349 |
#include <math.h> |
|
26350 |
int |
|
26351 |
main () |
|
26352 |
{ |
|
26353 |
double x = 1.0; double y = 1.0; int i = 1; |
|
26354 |
acosh(x); asinh(x); atanh(x); cbrt(x); expm1(x); erf(x); erfc(x); isnan(x); |
|
26355 |
j0(x); j1(x); jn(i,x); ilogb(x); logb(x); log1p(x); rint(x); |
|
26356 |
y0(x); y1(x); yn(i,x); |
|
26357 |
#ifdef _THREAD_SAFE |
|
26358 |
gamma_r(x,&i); |
|
26359 |
lgamma_r(x,&i); |
|
26360 |
#else |
|
26361 |
gamma(x); |
|
26362 |
lgamma(x); |
|
26363 |
#endif |
|
26364 |
hypot(x,y); nextafter(x,y); remainder(x,y); scalb(x,y); |
|
26365 |
return 0; |
|
26366 |
; |
|
26367 |
return 0; |
|
26368 |
} |
|
26369 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26370 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26371 |
ac_cv_cxx_have_ieee_math=yes |
26372 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26373 |
ac_cv_cxx_have_ieee_math=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26374 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26375 |
rm -f core conftest.err conftest.$ac_objext \ |
26376 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26377 |
LIBS="$ac_save_LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26378 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26379 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26380 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26381 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26382 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26383 |
||
26384 |
||
26385 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_ieee_math" >&5 |
26387 |
$as_echo "$ac_cv_cxx_have_ieee_math" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26388 |
if test "$ac_cv_cxx_have_ieee_math" = yes; then |
26389 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26390 |
$as_echo "#define HAVE_IEEE_MATH /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26391 |
|
26392 |
fi |
|
26393 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports System V math library" >&5 |
26395 |
$as_echo_n "checking whether the compiler supports System V math library... " >&6; } |
|
26396 |
if ${ac_cv_cxx_have_system_v_math+:} false; then : |
|
26397 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26398 |
else |
26399 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26400 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26401 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26402 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26403 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26404 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26405 |
||
26406 |
ac_save_LIBS="$LIBS" |
|
26407 |
LIBS="$LIBS -lm" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26408 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26409 |
/* end confdefs.h. */ |
26410 |
||
26411 |
#ifndef _ALL_SOURCE |
|
26412 |
#define _ALL_SOURCE |
|
26413 |
#endif |
|
26414 |
#ifndef _XOPEN_SOURCE |
|
26415 |
#define _XOPEN_SOURCE |
|
26416 |
#endif |
|
26417 |
#ifndef _XOPEN_SOURCE_EXTENDED |
|
26418 |
#define _XOPEN_SOURCE_EXTENDED 1 |
|
26419 |
#endif |
|
26420 |
#include <math.h> |
|
26421 |
int |
|
26422 |
main () |
|
26423 |
{ |
|
26424 |
double x = 1.0; double y = 1.0; |
|
26425 |
_class(x); trunc(x); finite(x); itrunc(x); nearest(x); rsqrt(x); uitrunc(x); |
|
26426 |
copysign(x,y); drem(x,y); unordered(x,y); |
|
26427 |
return 0; |
|
26428 |
; |
|
26429 |
return 0; |
|
26430 |
} |
|
26431 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26432 |
if ac_fn_cxx_try_link "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26433 |
ac_cv_cxx_have_system_v_math=yes |
26434 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26435 |
ac_cv_cxx_have_system_v_math=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26436 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26437 |
rm -f core conftest.err conftest.$ac_objext \ |
26438 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26439 |
LIBS="$ac_save_LIBS" |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26440 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26441 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26442 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26443 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26444 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26445 |
||
26446 |
||
26447 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_system_v_math" >&5 |
26449 |
$as_echo "$ac_cv_cxx_have_system_v_math" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26450 |
if test "$ac_cv_cxx_have_system_v_math" = yes; then |
26451 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26452 |
$as_echo "#define HAVE_SYSTEM_V_MATH /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26453 |
|
26454 |
fi |
|
26455 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has C math functions in namespace std" >&5 |
26457 |
$as_echo_n "checking whether the compiler has C math functions in namespace std... " >&6; } |
|
26458 |
if ${ac_cv_cxx_mathfn_std+:} false; then : |
|
26459 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26460 |
else |
26461 |
||
26462 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26463 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26464 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26465 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26466 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26467 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26468 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26469 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26470 |
/* end confdefs.h. */ |
26471 |
#include <cmath> |
|
26472 |
namespace blitz { double pow(double x, double y){ return std::pow(x,y); } }; |
|
26473 |
int |
|
26474 |
main () |
|
26475 |
{ |
|
26476 |
||
26477 |
using namespace blitz; double x = 1.0, y = 1.0; blitz::pow(x,y); return 0; |
|
26478 |
; |
|
26479 |
return 0; |
|
26480 |
} |
|
26481 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26482 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26483 |
ac_cv_cxx_mathfn_std=yes |
26484 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26485 |
ac_cv_cxx_mathfn_std=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26486 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26487 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26488 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26489 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26490 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26491 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26492 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26493 |
||
26494 |
||
26495 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_mathfn_std" >&5 |
26497 |
$as_echo "$ac_cv_cxx_mathfn_std" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26498 |
if test "$ac_cv_cxx_mathfn_std" = yes; then |
26499 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26500 |
$as_echo "#define MATH_FN_IN_NAMESPACE_STD /**/" >>confdefs.h |
26501 |
||
26502 |
fi |
|
26503 |
||
26504 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has C math abs(integer type) in namespace std" >&5 |
|
26505 |
$as_echo_n "checking whether the compiler has C math abs(integer type) in namespace std... " >&6; } |
|
26506 |
if ${ac_cv_cxx_mathabsint_std+:} false; then : |
|
26507 |
$as_echo_n "(cached) " >&6 |
|
26508 |
else |
|
26509 |
||
26510 |
||
26511 |
||
26512 |
ac_ext=cpp |
|
26513 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
26514 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26515 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26516 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26517 |
||
26518 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
26519 |
/* end confdefs.h. */ |
|
26520 |
#include <cstdlib> |
|
26521 |
int |
|
26522 |
main () |
|
26523 |
{ |
|
26524 |
||
26525 |
int i = std::abs(1); long j = std::labs(1L); long k = std::abs(1L); return 0; |
|
26526 |
; |
|
26527 |
return 0; |
|
26528 |
} |
|
26529 |
_ACEOF |
|
26530 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
26531 |
ac_cv_cxx_mathabsint_std=yes |
|
26532 |
else |
|
26533 |
ac_cv_cxx_mathabsint_std=no |
|
26534 |
fi |
|
26535 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
26536 |
ac_ext=cpp |
|
26537 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
26538 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26539 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26540 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26541 |
||
26542 |
||
26543 |
fi |
|
26544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_mathabsint_std" >&5 |
|
26545 |
$as_echo "$ac_cv_cxx_mathabsint_std" >&6; } |
|
26546 |
if test "$ac_cv_cxx_mathabsint_std" = yes; then |
|
26547 |
||
26548 |
$as_echo "#define MATH_ABSINT_IN_NAMESPACE_STD /**/" >>confdefs.h |
|
26549 |
||
26550 |
fi |
|
26551 |
||
26552 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether complex math functions are in namespace std" >&5 |
|
26553 |
$as_echo_n "checking whether complex math functions are in namespace std... " >&6; } |
|
26554 |
if ${ac_cv_cxx_complex_math_in_namespace_std+:} false; then : |
|
26555 |
$as_echo_n "(cached) " >&6 |
|
26556 |
else |
|
26557 |
||
26558 |
||
26559 |
ac_ext=cpp |
|
26560 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
26561 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26562 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26563 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26564 |
||
26565 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26566 |
/* end confdefs.h. */ |
26567 |
#include <complex> |
|
26568 |
namespace S { using namespace std; |
|
26569 |
complex<float> pow(complex<float> x, complex<float> y) |
|
26570 |
{ return std::pow(x,y); } |
|
26571 |
}; |
|
26572 |
||
26573 |
int |
|
26574 |
main () |
|
26575 |
{ |
|
26576 |
using namespace S; complex<float> x = 1.0, y = 1.0; S::pow(x,y); return 0; |
|
26577 |
; |
|
26578 |
return 0; |
|
26579 |
} |
|
26580 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26581 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26582 |
ac_cv_cxx_complex_math_in_namespace_std=yes |
26583 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26584 |
ac_cv_cxx_complex_math_in_namespace_std=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26585 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26586 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26587 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26588 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26589 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26590 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26591 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26592 |
||
26593 |
||
26594 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_complex_math_in_namespace_std" >&5 |
26596 |
$as_echo "$ac_cv_cxx_complex_math_in_namespace_std" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26597 |
if test "$ac_cv_cxx_complex_math_in_namespace_std" = yes; then |
26598 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26599 |
$as_echo "#define HAVE_COMPLEX_MATH_IN_NAMESPACE_STD /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26600 |
|
26601 |
fi |
|
26602 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has isnan function in namespace std" >&5 |
26604 |
$as_echo_n "checking whether the compiler has isnan function in namespace std... " >&6; } |
|
26605 |
if ${ac_cv_cxx_isnan_std+:} false; then : |
|
26606 |
$as_echo_n "(cached) " >&6 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26607 |
else |
26608 |
||
26609 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26610 |
ac_ext=cpp |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26611 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26612 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26613 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26614 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26615 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26616 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26617 |
/* end confdefs.h. */ |
26618 |
#include <cmath> |
|
26619 |
namespace blitz { int isnan(float x){ return std::isnan(x); } }; |
|
26620 |
int |
|
26621 |
main () |
|
26622 |
{ |
|
26623 |
||
26624 |
using namespace blitz; float x = 1.0; blitz::isnan(x); return 0; |
|
26625 |
; |
|
26626 |
return 0; |
|
26627 |
} |
|
26628 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26629 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26630 |
ac_cv_cxx_isnan_std=yes |
26631 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26632 |
ac_cv_cxx_isnan_std=no |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26633 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26634 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26635 |
ac_ext=cpp |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26636 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26637 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26638 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26639 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26640 |
||
26641 |
||
26642 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26643 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_isnan_std" >&5 |
26644 |
$as_echo "$ac_cv_cxx_isnan_std" >&6; } |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26645 |
if test "$ac_cv_cxx_isnan_std" = yes; then |
26646 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26647 |
$as_echo "#define ISNAN_IN_NAMESPACE_STD /**/" >>confdefs.h |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26648 |
|
26649 |
fi |
|
26650 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports ISO C++ standard library" >&5 |
26652 |
$as_echo_n "checking whether the compiler supports ISO C++ standard library... " >&6; } |
|
26653 |
if ${ac_cv_cxx_have_std+:} false; then : |
|
26654 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26655 |
else |
26656 |
||
26657 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26658 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26659 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26660 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26661 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26662 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26663 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26664 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26665 |
/* end confdefs.h. */ |
26666 |
#include <iostream> |
|
26667 |
#include <map> |
|
26668 |
#include <iomanip> |
|
26669 |
#include <cmath> |
|
26670 |
#ifdef HAVE_NAMESPACES |
|
26671 |
using namespace std; |
|
26672 |
#endif |
|
26673 |
int |
|
26674 |
main () |
|
26675 |
{ |
|
26676 |
return 0; |
|
26677 |
; |
|
26678 |
return 0; |
|
26679 |
} |
|
26680 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26681 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26682 |
ac_cv_cxx_have_std=yes |
26683 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26684 |
ac_cv_cxx_have_std=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26685 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26686 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26687 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26688 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26689 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26690 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26691 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26692 |
||
26693 |
||
26694 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26695 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_std" >&5 |
26696 |
$as_echo "$ac_cv_cxx_have_std" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26697 |
if test "$ac_cv_cxx_have_std" = yes; then |
26698 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26699 |
$as_echo "#define HAVE_STD /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26700 |
|
26701 |
fi |
|
26702 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5 |
26704 |
$as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; } |
|
26705 |
if ${ac_cv_cxx_have_stl+:} false; then : |
|
26706 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26707 |
else |
26708 |
||
26709 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26710 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26711 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26712 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26713 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26714 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26715 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26716 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26717 |
/* end confdefs.h. */ |
26718 |
#include <list> |
|
26719 |
#include <deque> |
|
26720 |
#ifdef HAVE_NAMESPACES |
|
26721 |
using namespace std; |
|
26722 |
#endif |
|
26723 |
int |
|
26724 |
main () |
|
26725 |
{ |
|
26726 |
list<int> x; x.push_back(5); |
|
26727 |
list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; |
|
26728 |
; |
|
26729 |
return 0; |
|
26730 |
} |
|
26731 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26732 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26733 |
ac_cv_cxx_have_stl=yes |
26734 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26735 |
ac_cv_cxx_have_stl=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26736 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26737 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26738 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26739 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26740 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26741 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26742 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26743 |
||
26744 |
||
26745 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5 |
26747 |
$as_echo "$ac_cv_cxx_have_stl" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26748 |
if test "$ac_cv_cxx_have_stl" = yes; then |
26749 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26750 |
$as_echo "#define HAVE_STL /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26751 |
|
26752 |
fi |
|
26753 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has getrusage() function" >&5 |
26755 |
$as_echo_n "checking whether the compiler has getrusage() function... " >&6; } |
|
26756 |
if ${ac_cv_cxx_have_rusage+:} false; then : |
|
26757 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26758 |
else |
26759 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26760 |
ac_ext=cpp |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26761 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26762 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26763 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26764 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26765 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26766 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26767 |
/* end confdefs.h. */ |
26768 |
#include <sys/resource.h> |
|
26769 |
int |
|
26770 |
main () |
|
26771 |
{ |
|
26772 |
||
26773 |
struct rusage resUsage; getrusage(RUSAGE_SELF, &resUsage); return 0; |
|
26774 |
; |
|
26775 |
return 0; |
|
26776 |
} |
|
26777 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26778 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26779 |
ac_cv_cxx_have_rusage=yes |
26780 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26781 |
ac_cv_cxx_have_rusage=no |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26782 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26783 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26784 |
ac_ext=cpp |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26785 |
ac_cpp='$CXXCPP $CPPFLAGS' |
26786 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
26787 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
26788 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
26789 |
||
26790 |
||
26791 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_rusage" >&5 |
26793 |
$as_echo "$ac_cv_cxx_have_rusage" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26794 |
if test "$ac_cv_cxx_have_rusage" = yes; then |
26795 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26796 |
$as_echo "#define HAVE_RUSAGE /**/" >>confdefs.h |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26797 |
|
26798 |
fi |
|
26799 |
||
26800 |
||
26801 |
||
26802 |
||
26803 |
||
26804 |
# Summarize variables |
|
26805 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26807 |
|
26808 |
CXX = $CXX |
|
26809 |
CXXFLAGS = $CXXFLAGS |
|
26810 |
CXX_OPTIMIZE_FLAGS = $CXX_OPTIMIZE_FLAGS |
|
26811 |
CXX_DEBUG_FLAGS = $CXX_DEBUG_FLAGS |
|
26812 |
CXXFFLAGS = $CXXFFLAGS |
|
26813 |
||
26814 |
F77 = $F77 |
|
26815 |
FFLAGS = $FFLAGS |
|
26816 |
F77_OPTIMIZE_FLAGS = $F77_OPTIMIZE_FLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26817 |
FLIBS = $FLIBS |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26818 |
|
26819 |
FC = $FC |
|
26820 |
FCFLAGS = $FCFLAGS |
|
26821 |
FC_OPTIMIZE_FLAGS = $FC_OPTIMIZE_FLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26822 |
FCLIBS = $FCLIBS |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26823 |
|
26824 |
BLASLIB = $BLASLIB |
|
26825 |
||
26826 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26827 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26828 |
|
26829 |
CXX = $CXX |
|
26830 |
CXXFLAGS = $CXXFLAGS |
|
26831 |
CXX_OPTIMIZE_FLAGS = $CXX_OPTIMIZE_FLAGS |
|
26832 |
CXX_DEBUG_FLAGS = $CXX_DEBUG_FLAGS |
|
26833 |
CXXFFLAGS = $CXXFFLAGS |
|
26834 |
||
26835 |
F77 = $F77 |
|
26836 |
FFLAGS = $FFLAGS |
|
26837 |
F77_OPTIMIZE_FLAGS = $F77_OPTIMIZE_FLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26838 |
FLIBS = $FLIBS |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26839 |
|
26840 |
FC = $FC |
|
26841 |
FCFLAGS = $FCFLAGS |
|
26842 |
FC_OPTIMIZE_FLAGS = $FC_OPTIMIZE_FLAGS |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26843 |
FCLIBS = $FCLIBS |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26844 |
|
26845 |
BLASLIB = $BLASLIB |
|
26846 |
||
26847 |
" >&6;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
26848 |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
26849 |
# Process the Makefile.in's |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26850 |
ac_config_files="$ac_config_files Makefile bin/Makefile blitz/Makefile blitz/array/Makefile blitz/generate/Makefile blitz/meta/Makefile random/Makefile lib/Makefile testsuite/Makefile examples/Makefile doc/Makefile doc/examples/Makefile doc/stencils/Makefile doc/doxygen/Makefile doc/doxygen/Doxyfile" |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
26851 |
|
26852 |
||
26853 |
# Benchmarks require Fortran compiler |
|
26854 |
if test $enable_fortran = yes; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26855 |
ac_config_files="$ac_config_files benchmarks/Makefile benchmarks/plot_benchmarks.m" |
26856 |
||
26857 |
fi |
|
26858 |
||
26859 |
# check for valgrind for extra tests |
|
26860 |
# Extract the first word of "valgrind", so it can be a program name with args. |
|
26861 |
set dummy valgrind; ac_word=$2 |
|
26862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
26863 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
26864 |
if ${ac_cv_prog_valgrind+:} false; then : |
|
26865 |
$as_echo_n "(cached) " >&6 |
|
26866 |
else |
|
26867 |
if test -n "$valgrind"; then |
|
26868 |
ac_cv_prog_valgrind="$valgrind" # Let the user override the test. |
|
26869 |
else |
|
26870 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
26871 |
for as_dir in $PATH |
|
26872 |
do |
|
26873 |
IFS=$as_save_IFS |
|
26874 |
test -z "$as_dir" && as_dir=. |
|
26875 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
26876 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
26877 |
ac_cv_prog_valgrind="yes" |
|
26878 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
26879 |
break 2 |
|
26880 |
fi |
|
26881 |
done |
|
26882 |
done |
|
26883 |
IFS=$as_save_IFS |
|
26884 |
||
26885 |
fi |
|
26886 |
fi |
|
26887 |
valgrind=$ac_cv_prog_valgrind |
|
26888 |
if test -n "$valgrind"; then |
|
26889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $valgrind" >&5 |
|
26890 |
$as_echo "$valgrind" >&6; } |
|
26891 |
else |
|
26892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
26893 |
$as_echo "no" >&6; } |
|
26894 |
fi |
|
26895 |
||
26896 |
||
26897 |
if test x$valgrind = xyes; then |
|
26898 |
HAVE_VALGRIND_TRUE= |
|
26899 |
HAVE_VALGRIND_FALSE='#' |
|
26900 |
else |
|
26901 |
HAVE_VALGRIND_TRUE='#' |
|
26902 |
HAVE_VALGRIND_FALSE= |
|
26903 |
fi |
|
26904 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26905 |
|
26906 |
# Obsolete makefiles |
|
26907 |
# |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
26908 |
# demos/Makefile |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26909 |
# compiler/Makefile |
26910 |
# manual/Makefile |
|
26911 |
# manual/examples/Makefile |
|
26912 |
# manual/stencils/Makefile |
|
26913 |
# src/Makefile |
|
26914 |
||
26915 |
||
26916 |
# we need the expanded forms... |
|
26917 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
26918 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
26919 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5 |
26921 |
$as_echo_n "checking our pkgconfig libname... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26922 |
test ".$ax_create_pkgconfig_libname" != "." || \ |
26923 |
ax_create_pkgconfig_libname="${PACKAGE_NAME}" |
|
26924 |
test ".$ax_create_pkgconfig_libname" != "." || \ |
|
26925 |
ax_create_pkgconfig_libname="$PACKAGE" |
|
26926 |
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"` |
|
26927 |
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5 |
26929 |
$as_echo "$ax_create_pkgconfig_libname" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26930 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26931 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5 |
26932 |
$as_echo_n "checking our pkgconfig version... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26933 |
test ".$ax_create_pkgconfig_version" != "." || \ |
26934 |
ax_create_pkgconfig_version="${PACKAGE_VERSION}" |
|
26935 |
test ".$ax_create_pkgconfig_version" != "." || \ |
|
26936 |
ax_create_pkgconfig_version="$VERSION" |
|
26937 |
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"` |
|
26938 |
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5 |
26940 |
$as_echo "$ax_create_pkgconfig_version" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26941 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5 |
26943 |
$as_echo_n "checking our pkgconfig_libdir... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26944 |
test ".$pkgconfig_libdir" = "." && \ |
26945 |
pkgconfig_libdir='${libdir}/pkgconfig' |
|
26946 |
ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"` |
|
26947 |
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"` |
|
26948 |
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5 |
26950 |
$as_echo "$pkgconfig_libdir" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26951 |
test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && ( |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5 |
26953 |
$as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; }) |
|
26954 |
||
26955 |
||
26956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5 |
|
26957 |
$as_echo_n "checking our pkgconfig_libfile... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26958 |
test ".$pkgconfig_libfile" != "." || \ |
26959 |
pkgconfig_libfile="$ax_create_pkgconfig_libname.pc" |
|
26960 |
ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"` |
|
26961 |
ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5 |
26963 |
$as_echo "$pkgconfig_libfile" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26964 |
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && ( |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5 |
26966 |
$as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; }) |
|
26967 |
||
26968 |
||
26969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5 |
|
26970 |
$as_echo_n "checking our pkgconfig description... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26971 |
ax_create_pkgconfig_description="$PACKAGE_SUMMARY" |
26972 |
test ".$ax_create_pkgconfig_description" != "." || \ |
|
26973 |
ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library" |
|
26974 |
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"` |
|
26975 |
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5 |
26977 |
$as_echo "$ax_create_pkgconfig_description" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26978 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5 |
26980 |
$as_echo_n "checking our pkgconfig requires... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26981 |
ax_create_pkgconfig_requires="$PACKAGE_REQUIRES" |
26982 |
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"` |
|
26983 |
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5 |
26985 |
$as_echo "$ax_create_pkgconfig_requires" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26986 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5 |
26988 |
$as_echo_n "checking our pkgconfig ext libs... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26989 |
ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS" |
26990 |
test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname" |
|
26991 |
ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS" |
|
26992 |
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"` |
|
26993 |
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5 |
26995 |
$as_echo "$ax_create_pkgconfig_libs" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26996 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
26997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5 |
26998 |
$as_echo_n "checking our pkgconfig cppflags... " >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
26999 |
ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS" |
27000 |
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"` |
|
27001 |
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5 |
27003 |
$as_echo "$ax_create_pkgconfig_cppflags" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27004 |
|
27005 |
test ".$ax_create_pkgconfig_generate" != "." || \ |
|
27006 |
ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc" |
|
27007 |
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"` |
|
27008 |
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"` |
|
27009 |
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && ( |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5 |
27011 |
$as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; }) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27012 |
|
27013 |
if test ".$ax_create_pkgconfig_src_libdir" = "." ; then |
|
27014 |
ax_create_pkgconfig_src_libdir=`pwd` |
|
27015 |
ax_create_pkgconfig_src_libdir=`echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" | |
|
27016 |
sed 's/\/[^\/:][^\/:]*\/..\//\//g |
|
27017 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27018 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27019 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27020 |
/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
27021 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
27022 |
/^X\(\/\/\)$/{ s//\1/; q; } |
|
27023 |
/^X\(\/\).*/{ s//\1/; q; } |
|
27024 |
s/.*/./; q'` |
|
27025 |
test ! -d $ax_create_pkgconfig_src_libdir/src || \ |
|
27026 |
ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src" |
|
27027 |
case ".$objdir" in |
|
27028 |
*libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5 |
27030 |
$as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27031 |
fi |
27032 |
||
27033 |
if test ".$ax_create_pkgconfig_src_headers" = "." ; then |
|
27034 |
ax_create_pkgconfig_src_headers=`pwd` |
|
27035 |
v="$ac_top_srcdir" ; |
|
27036 |
test ".$v" != "." || v="$ax_spec_dir" |
|
27037 |
test ".$v" != "." || v="$srcdir" |
|
27038 |
case "$v" in /*) PKG_CONFIG_src_headers="" ;; esac |
|
27039 |
ax_create_pkgconfig_src_headers=`echo X"$ax_create_pkgconfig_src_headers/$v/x" | |
|
27040 |
sed 's/\/[^\/:][^\/:]*\/..\//\//g |
|
27041 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27042 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27043 |
s/\/[^\/:][^\/:]*\/..\//\//g |
|
27044 |
/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
27045 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
27046 |
/^X\(\/\/\)$/{ s//\1/; q; } |
|
27047 |
/^X\(\/\).*/{ s//\1/; q; } |
|
27048 |
s/.*/./; q'` |
|
27049 |
test ! -d $ax_create_pkgconfig_src_headers/include || \ |
|
27050 |
ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5 |
27052 |
$as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; } |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27053 |
fi |
27054 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27055 |
ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27056 |
|
27057 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27058 |
cat >confcache <<\_ACEOF |
1
by Andreas Rottmann
Import upstream version 20001213 |
27059 |
# This file is a shell script that caches the results of configure |
27060 |
# tests run on this system so they can be shared between configure |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27061 |
# scripts and configure runs, see configure's option --config-cache. |
27062 |
# It is not useful on other systems. If it contains results you don't |
|
27063 |
# want to keep, you may remove or edit it. |
|
27064 |
# |
|
27065 |
# config.status only pays attention to the cache file if you give it |
|
27066 |
# the --recheck option to rerun configure. |
|
27067 |
# |
|
27068 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
27069 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
27070 |
# following values. |
|
27071 |
||
27072 |
_ACEOF |
|
27073 |
||
1
by Andreas Rottmann
Import upstream version 20001213 |
27074 |
# The following way of writing the cache mishandles newlines in values, |
27075 |
# but we know of no workaround that is simple, portable, and efficient. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27076 |
# So, we kill variables containing newlines. |
1
by Andreas Rottmann
Import upstream version 20001213 |
27077 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
27078 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27079 |
( |
27080 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
27081 |
eval ac_val=\$$ac_var |
|
27082 |
case $ac_val in #( |
|
27083 |
*${as_nl}*) |
|
27084 |
case $ac_var in #( |
|
27085 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
27086 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
27087 |
esac |
|
27088 |
case $ac_var in #( |
|
27089 |
_ | IFS | as_nl) ;; #( |
|
27090 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
27091 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
27092 |
esac ;; |
|
27093 |
esac |
|
27094 |
done |
|
27095 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27096 |
(set) 2>&1 | |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27097 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
27098 |
*${as_nl}ac_space=\ *) |
|
27099 |
# `set' does not quote correctly, so add quotes: double-quote |
|
27100 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27101 |
sed -n \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27102 |
"s/'/'\\\\''/g; |
27103 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27104 |
;; #( |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27105 |
*) |
27106 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27107 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27108 |
;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27109 |
esac | |
27110 |
sort |
|
27111 |
) | |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27112 |
sed ' |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27113 |
/^ac_cv_env_/b end |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27114 |
t clear |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27115 |
:clear |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27116 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
27117 |
t end |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27118 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
27119 |
:end' >>confcache |
|
27120 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
27121 |
if test -w "$cache_file"; then |
|
27122 |
if test "x$cache_file" != "x/dev/null"; then |
|
27123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
27124 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
27125 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
27126 |
cat confcache >"$cache_file" |
|
27127 |
else |
|
27128 |
case $cache_file in #( |
|
27129 |
*/* | ?:*) |
|
27130 |
mv -f confcache "$cache_file"$$ && |
|
27131 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
27132 |
*) |
|
27133 |
mv -f confcache "$cache_file" ;; |
|
27134 |
esac |
|
27135 |
fi |
|
27136 |
fi |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
27137 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
27139 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
27140 |
fi |
27141 |
fi |
|
27142 |
rm -f confcache |
|
27143 |
||
27144 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
27145 |
# Let make expand exec_prefix. |
|
27146 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
27147 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27148 |
DEFS=-DHAVE_CONFIG_H |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27149 |
|
27150 |
ac_libobjs= |
|
27151 |
ac_ltlibobjs= |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27152 |
U= |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27153 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
27154 |
# 1. Remove the extension, and $U if already installed. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27155 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
27156 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
27157 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
27158 |
# will be set to the directory where LIBOBJS objects are built. |
|
27159 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
27160 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27161 |
done |
27162 |
LIBOBJS=$ac_libobjs |
|
27163 |
||
27164 |
LTLIBOBJS=$ac_ltlibobjs |
|
27165 |
||
27166 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27167 |
if test -n "$EXEEXT"; then |
27168 |
am__EXEEXT_TRUE= |
|
27169 |
am__EXEEXT_FALSE='#' |
|
27170 |
else |
|
27171 |
am__EXEEXT_TRUE='#' |
|
27172 |
am__EXEEXT_FALSE= |
|
27173 |
fi |
|
27174 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27175 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27176 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
27177 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27178 |
fi |
27179 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27180 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
27181 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27182 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27183 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27184 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
27185 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27186 |
fi |
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
27187 |
if test -z "${FORTRAN_ENABLED_TRUE}" && test -z "${FORTRAN_ENABLED_FALSE}"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27188 |
as_fn_error $? "conditional \"FORTRAN_ENABLED\" was never defined. |
27189 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
27190 |
fi |
27191 |
if test -z "${F90_COMPILER_TRUE}" && test -z "${F90_COMPILER_FALSE}"; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27192 |
as_fn_error $? "conditional \"F90_COMPILER\" was never defined. |
27193 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
27194 |
fi |
|
27195 |
if test -z "${MAKEINFO_DOC_TRUE}" && test -z "${MAKEINFO_DOC_FALSE}"; then |
|
27196 |
as_fn_error $? "conditional \"MAKEINFO_DOC\" was never defined. |
|
27197 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
27198 |
fi |
|
27199 |
if test -z "${TEXI2HTML_DOC_TRUE}" && test -z "${TEXI2HTML_DOC_FALSE}"; then |
|
27200 |
as_fn_error $? "conditional \"TEXI2HTML_DOC\" was never defined. |
|
27201 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
27202 |
fi |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27203 |
if test -z "${DOXYGEN_DOC_TRUE}" && test -z "${DOXYGEN_DOC_FALSE}"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27204 |
as_fn_error $? "conditional \"DOXYGEN_DOC\" was never defined. |
27205 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27206 |
fi |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27207 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27208 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
27209 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
27210 |
fi |
|
27211 |
if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then |
|
27212 |
as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined. |
|
27213 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27214 |
fi |
27215 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27216 |
: "${CONFIG_STATUS=./config.status}" |
27217 |
ac_write_fail=0 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27218 |
ac_clean_files_save=$ac_clean_files |
27219 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27220 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
27221 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
27222 |
as_write_fail=0 |
|
27223 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27224 |
#! $SHELL |
27225 |
# Generated by $as_me. |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
27226 |
# Run this file to recreate the current configuration. |
27227 |
# Compiler output produced by configure, useful for debugging |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27228 |
# configure, is in config.log if it exists. |
27229 |
||
27230 |
debug=false |
|
27231 |
ac_cs_recheck=false |
|
27232 |
ac_cs_silent=false |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27233 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27234 |
SHELL=\${CONFIG_SHELL-$SHELL} |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27235 |
export SHELL |
27236 |
_ASEOF |
|
27237 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
27238 |
## -------------------- ## |
|
27239 |
## M4sh Initialization. ## |
|
27240 |
## -------------------- ## |
|
27241 |
||
27242 |
# Be more Bourne compatible |
|
27243 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
27244 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27245 |
emulate sh |
27246 |
NULLCMD=: |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27247 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27248 |
# is contrary to our usage. Disable this feature. |
27249 |
alias -g '${1+"$@"}'='"$@"' |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27250 |
setopt NO_GLOB_SUBST |
27251 |
else |
|
27252 |
case `(set -o) 2>/dev/null` in #( |
|
27253 |
*posix*) : |
|
27254 |
set -o posix ;; #( |
|
27255 |
*) : |
|
27256 |
;; |
|
27257 |
esac |
|
27258 |
fi |
|
27259 |
||
27260 |
||
27261 |
as_nl=' |
|
27262 |
' |
|
27263 |
export as_nl |
|
27264 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
27265 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
27266 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
27267 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
27268 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
27269 |
# but without wasting forks for bash or zsh. |
|
27270 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
27271 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
27272 |
as_echo='print -r --' |
|
27273 |
as_echo_n='print -rn --' |
|
27274 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
27275 |
as_echo='printf %s\n' |
|
27276 |
as_echo_n='printf %s' |
|
27277 |
else |
|
27278 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
27279 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
27280 |
as_echo_n='/usr/ucb/echo -n' |
|
27281 |
else |
|
27282 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
27283 |
as_echo_n_body='eval |
|
27284 |
arg=$1; |
|
27285 |
case $arg in #( |
|
27286 |
*"$as_nl"*) |
|
27287 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
27288 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
27289 |
esac; |
|
27290 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
27291 |
' |
|
27292 |
export as_echo_n_body |
|
27293 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
27294 |
fi |
|
27295 |
export as_echo_body |
|
27296 |
as_echo='sh -c $as_echo_body as_echo' |
|
27297 |
fi |
|
27298 |
||
27299 |
# The user is always right. |
|
27300 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
27301 |
PATH_SEPARATOR=: |
|
27302 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
27303 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
27304 |
PATH_SEPARATOR=';' |
|
27305 |
} |
|
27306 |
fi |
|
27307 |
||
27308 |
||
27309 |
# IFS |
|
27310 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
27311 |
# there to prevent editors from complaining about space-tab. |
|
27312 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
27313 |
# splitting by setting IFS to empty value.) |
|
27314 |
IFS=" "" $as_nl" |
|
27315 |
||
27316 |
# Find who we are. Look in the path if we contain no directory separator. |
|
27317 |
as_myself= |
|
27318 |
case $0 in #(( |
|
27319 |
*[\\/]* ) as_myself=$0 ;; |
|
27320 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
27321 |
for as_dir in $PATH |
|
27322 |
do |
|
27323 |
IFS=$as_save_IFS |
|
27324 |
test -z "$as_dir" && as_dir=. |
|
27325 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
27326 |
done |
|
27327 |
IFS=$as_save_IFS |
|
27328 |
||
27329 |
;; |
|
27330 |
esac |
|
27331 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
27332 |
# in which case we are not to be found in the path. |
|
27333 |
if test "x$as_myself" = x; then |
|
27334 |
as_myself=$0 |
|
27335 |
fi |
|
27336 |
if test ! -f "$as_myself"; then |
|
27337 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
27338 |
exit 1 |
|
27339 |
fi |
|
27340 |
||
27341 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
27342 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
27343 |
# suppresses any "Segmentation fault" message there. '((' could |
|
27344 |
# trigger a bug in pdksh 5.2.14. |
|
27345 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
27346 |
do eval test x\${$as_var+set} = xset \ |
|
27347 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
27348 |
done |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27349 |
PS1='$ ' |
27350 |
PS2='> ' |
|
27351 |
PS4='+ ' |
|
27352 |
||
27353 |
# NLS nuisances. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27354 |
LC_ALL=C |
27355 |
export LC_ALL |
|
27356 |
LANGUAGE=C |
|
27357 |
export LANGUAGE |
|
27358 |
||
27359 |
# CDPATH. |
|
27360 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
27361 |
||
27362 |
||
27363 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
27364 |
# ---------------------------------------- |
|
27365 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
27366 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
27367 |
# script with STATUS, using 1 if that was 0. |
|
27368 |
as_fn_error () |
|
27369 |
{ |
|
27370 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
27371 |
if test "$4"; then |
|
27372 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
27373 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27374 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27375 |
$as_echo "$as_me: error: $2" >&2 |
27376 |
as_fn_exit $as_status |
|
27377 |
} # as_fn_error |
|
27378 |
||
27379 |
||
27380 |
# as_fn_set_status STATUS |
|
27381 |
# ----------------------- |
|
27382 |
# Set $? to STATUS, without forking. |
|
27383 |
as_fn_set_status () |
|
27384 |
{ |
|
27385 |
return $1 |
|
27386 |
} # as_fn_set_status |
|
27387 |
||
27388 |
# as_fn_exit STATUS |
|
27389 |
# ----------------- |
|
27390 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
27391 |
as_fn_exit () |
|
27392 |
{ |
|
27393 |
set +e |
|
27394 |
as_fn_set_status $1 |
|
27395 |
exit $1 |
|
27396 |
} # as_fn_exit |
|
27397 |
||
27398 |
# as_fn_unset VAR |
|
27399 |
# --------------- |
|
27400 |
# Portably unset VAR. |
|
27401 |
as_fn_unset () |
|
27402 |
{ |
|
27403 |
{ eval $1=; unset $1;} |
|
27404 |
} |
|
27405 |
as_unset=as_fn_unset |
|
27406 |
# as_fn_append VAR VALUE |
|
27407 |
# ---------------------- |
|
27408 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
27409 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
27410 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
27411 |
# implementations. |
|
27412 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
27413 |
eval 'as_fn_append () |
|
27414 |
{ |
|
27415 |
eval $1+=\$2 |
|
27416 |
}' |
|
27417 |
else |
|
27418 |
as_fn_append () |
|
27419 |
{ |
|
27420 |
eval $1=\$$1\$2 |
|
27421 |
} |
|
27422 |
fi # as_fn_append |
|
27423 |
||
27424 |
# as_fn_arith ARG... |
|
27425 |
# ------------------ |
|
27426 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
27427 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
27428 |
# must be portable across $(()) and expr. |
|
27429 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
27430 |
eval 'as_fn_arith () |
|
27431 |
{ |
|
27432 |
as_val=$(( $* )) |
|
27433 |
}' |
|
27434 |
else |
|
27435 |
as_fn_arith () |
|
27436 |
{ |
|
27437 |
as_val=`expr "$@" || test $? -eq 1` |
|
27438 |
} |
|
27439 |
fi # as_fn_arith |
|
27440 |
||
27441 |
||
27442 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
27443 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27444 |
as_expr=expr |
27445 |
else |
|
27446 |
as_expr=false |
|
27447 |
fi |
|
27448 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27449 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27450 |
as_basename=basename |
27451 |
else |
|
27452 |
as_basename=false |
|
27453 |
fi |
|
27454 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27455 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
27456 |
as_dirname=dirname |
|
27457 |
else |
|
27458 |
as_dirname=false |
|
27459 |
fi |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27460 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27461 |
as_me=`$as_basename -- "$0" || |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27462 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
27463 |
X"$0" : 'X\(//\)$' \| \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27464 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
27465 |
$as_echo X/"$0" | |
|
27466 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
27467 |
s//\1/ |
|
27468 |
q |
|
27469 |
} |
|
27470 |
/^X\/\(\/\/\)$/{ |
|
27471 |
s//\1/ |
|
27472 |
q |
|
27473 |
} |
|
27474 |
/^X\/\(\/\).*/{ |
|
27475 |
s//\1/ |
|
27476 |
q |
|
27477 |
} |
|
27478 |
s/.*/./; q'` |
|
27479 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27480 |
# Avoid depending upon Character Ranges. |
27481 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
27482 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
27483 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
27484 |
as_cr_digits='0123456789' |
|
27485 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
27486 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27487 |
ECHO_C= ECHO_N= ECHO_T= |
27488 |
case `echo -n x` in #((((( |
|
27489 |
-n*) |
|
27490 |
case `echo 'xy\c'` in |
|
27491 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
27492 |
xy) ECHO_C='\c';; |
|
27493 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
27494 |
ECHO_T=' ';; |
|
27495 |
esac;; |
|
27496 |
*) |
|
27497 |
ECHO_N='-n';; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27498 |
esac |
27499 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27500 |
rm -f conf$$ conf$$.exe conf$$.file |
27501 |
if test -d conf$$.dir; then |
|
27502 |
rm -f conf$$.dir/conf$$.file |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27503 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27504 |
rm -f conf$$.dir |
27505 |
mkdir conf$$.dir 2>/dev/null |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27506 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27507 |
if (echo >conf$$.file) 2>/dev/null; then |
27508 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
27509 |
as_ln_s='ln -s' |
|
27510 |
# ... but there are two gotchas: |
|
27511 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
27512 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
27513 |
# In both cases, we have to default to `cp -p'. |
|
27514 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
27515 |
as_ln_s='cp -p' |
|
27516 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
27517 |
as_ln_s=ln |
|
27518 |
else |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27519 |
as_ln_s='cp -p' |
27520 |
fi |
|
27521 |
else |
|
27522 |
as_ln_s='cp -p' |
|
27523 |
fi |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27524 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
27525 |
rmdir conf$$.dir 2>/dev/null |
|
27526 |
||
27527 |
||
27528 |
# as_fn_mkdir_p |
|
27529 |
# ------------- |
|
27530 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
27531 |
as_fn_mkdir_p () |
|
27532 |
{ |
|
27533 |
||
27534 |
case $as_dir in #( |
|
27535 |
-*) as_dir=./$as_dir;; |
|
27536 |
esac |
|
27537 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
27538 |
as_dirs= |
|
27539 |
while :; do |
|
27540 |
case $as_dir in #( |
|
27541 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
27542 |
*) as_qdir=$as_dir;; |
|
27543 |
esac |
|
27544 |
as_dirs="'$as_qdir' $as_dirs" |
|
27545 |
as_dir=`$as_dirname -- "$as_dir" || |
|
27546 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
27547 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
27548 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
27549 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
27550 |
$as_echo X"$as_dir" | |
|
27551 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
27552 |
s//\1/ |
|
27553 |
q |
|
27554 |
} |
|
27555 |
/^X\(\/\/\)[^/].*/{ |
|
27556 |
s//\1/ |
|
27557 |
q |
|
27558 |
} |
|
27559 |
/^X\(\/\/\)$/{ |
|
27560 |
s//\1/ |
|
27561 |
q |
|
27562 |
} |
|
27563 |
/^X\(\/\).*/{ |
|
27564 |
s//\1/ |
|
27565 |
q |
|
27566 |
} |
|
27567 |
s/.*/./; q'` |
|
27568 |
test -d "$as_dir" && break |
|
27569 |
done |
|
27570 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
27571 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
27572 |
||
27573 |
||
27574 |
} # as_fn_mkdir_p |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27575 |
if mkdir -p . 2>/dev/null; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27576 |
as_mkdir_p='mkdir -p "$as_dir"' |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27577 |
else |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27578 |
test -d ./-p && rmdir ./-p |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27579 |
as_mkdir_p=false |
27580 |
fi |
|
27581 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27582 |
if test -x / >/dev/null 2>&1; then |
27583 |
as_test_x='test -x' |
|
27584 |
else |
|
27585 |
if ls -dL / >/dev/null 2>&1; then |
|
27586 |
as_ls_L_option=L |
|
27587 |
else |
|
27588 |
as_ls_L_option= |
|
27589 |
fi |
|
27590 |
as_test_x=' |
|
27591 |
eval sh -c '\'' |
|
27592 |
if test -d "$1"; then |
|
27593 |
test -d "$1/."; |
|
27594 |
else |
|
27595 |
case $1 in #( |
|
27596 |
-*)set "./$1";; |
|
27597 |
esac; |
|
27598 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
27599 |
???[sx]*):;;*)false;;esac;fi |
|
27600 |
'\'' sh |
|
27601 |
' |
|
27602 |
fi |
|
27603 |
as_executable_p=$as_test_x |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27604 |
|
27605 |
# Sed expression to map a string onto a valid CPP name. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27606 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27607 |
|
27608 |
# Sed expression to map a string onto a valid variable name. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27609 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27610 |
|
27611 |
||
27612 |
exec 6>&1 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27613 |
## ----------------------------------- ## |
27614 |
## Main body of $CONFIG_STATUS script. ## |
|
27615 |
## ----------------------------------- ## |
|
27616 |
_ASEOF |
|
27617 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27618 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27619 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27620 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27621 |
# report actual input values of CONFIG_FILES etc. instead of their |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27622 |
# values after options handling. |
27623 |
ac_log=" |
|
27624 |
This file was extended by blitz $as_me 0.10, which was |
|
27625 |
generated by GNU Autoconf 2.68. Invocation command line was |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27626 |
|
27627 |
CONFIG_FILES = $CONFIG_FILES |
|
27628 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
27629 |
CONFIG_LINKS = $CONFIG_LINKS |
|
27630 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
27631 |
$ $0 $@ |
|
27632 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27633 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
27634 |
" |
|
27635 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27636 |
_ACEOF |
27637 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27638 |
case $ac_config_files in *" |
27639 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
27640 |
esac |
|
27641 |
||
27642 |
case $ac_config_headers in *" |
|
27643 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
27644 |
esac |
|
27645 |
||
27646 |
||
27647 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27648 |
# Files that config.status was made for. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27649 |
config_files="$ac_config_files" |
27650 |
config_headers="$ac_config_headers" |
|
27651 |
config_commands="$ac_config_commands" |
|
27652 |
||
27653 |
_ACEOF |
|
27654 |
||
27655 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27656 |
ac_cs_usage="\ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27657 |
\`$as_me' instantiates files and other configuration actions |
27658 |
from templates according to the current configuration. Unless the files |
|
27659 |
and actions are specified as TAGs, all are instantiated by default. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27660 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27661 |
Usage: $0 [OPTION]... [TAG]... |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27662 |
|
27663 |
-h, --help print this help, then exit |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27664 |
-V, --version print version number and configuration settings, then exit |
27665 |
--config print configuration, then exit |
|
27666 |
-q, --quiet, --silent |
|
27667 |
do not print progress messages |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27668 |
-d, --debug don't remove temporary files |
27669 |
--recheck update $as_me by reconfiguring in the same conditions |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27670 |
--file=FILE[:TEMPLATE] |
27671 |
instantiate the configuration file FILE |
|
27672 |
--header=FILE[:TEMPLATE] |
|
27673 |
instantiate the configuration header FILE |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27674 |
|
27675 |
Configuration files: |
|
27676 |
$config_files |
|
27677 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27678 |
Configuration headers: |
27679 |
$config_headers |
|
27680 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27681 |
Configuration commands: |
27682 |
$config_commands |
|
27683 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27684 |
Report bugs to <blitz-support@lists.sourceforge.net>." |
27685 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27686 |
_ACEOF |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27687 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
27688 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27689 |
ac_cs_version="\\ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27690 |
blitz config.status 0.10 |
27691 |
configured by $0, generated by GNU Autoconf 2.68, |
|
27692 |
with options \\"\$ac_cs_config\\" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27693 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27694 |
Copyright (C) 2010 Free Software Foundation, Inc. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27695 |
This config.status script is free software; the Free Software Foundation |
27696 |
gives unlimited permission to copy, distribute and modify it." |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27697 |
|
27698 |
ac_pwd='$ac_pwd' |
|
27699 |
srcdir='$srcdir' |
|
27700 |
INSTALL='$INSTALL' |
|
27701 |
MKDIR_P='$MKDIR_P' |
|
27702 |
AWK='$AWK' |
|
27703 |
test -n "\$AWK" || AWK=awk |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27704 |
_ACEOF |
27705 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27706 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27707 |
# The default lists apply if the user does not specify any file. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27708 |
ac_need_defaults=: |
27709 |
while test $# != 0 |
|
27710 |
do |
|
27711 |
case $1 in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27712 |
--*=?*) |
27713 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
27714 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
27715 |
ac_shift=: |
|
27716 |
;; |
|
27717 |
--*=) |
|
27718 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
27719 |
ac_optarg= |
|
27720 |
ac_shift=: |
|
27721 |
;; |
|
27722 |
*) |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27723 |
ac_option=$1 |
27724 |
ac_optarg=$2 |
|
27725 |
ac_shift=shift |
|
27726 |
;; |
|
27727 |
esac |
|
27728 |
||
27729 |
case $ac_option in |
|
27730 |
# Handling of the options. |
|
1
by Andreas Rottmann
Import upstream version 20001213 |
27731 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27732 |
ac_cs_recheck=: ;; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27733 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
27734 |
$as_echo "$ac_cs_version"; exit ;; |
|
27735 |
--config | --confi | --conf | --con | --co | --c ) |
|
27736 |
$as_echo "$ac_cs_config"; exit ;; |
|
27737 |
--debug | --debu | --deb | --de | --d | -d ) |
|
27738 |
debug=: ;; |
|
27739 |
--file | --fil | --fi | --f ) |
|
27740 |
$ac_shift |
|
27741 |
case $ac_optarg in |
|
27742 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
27743 |
'') as_fn_error $? "missing file argument" ;; |
|
27744 |
esac |
|
27745 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
27746 |
ac_need_defaults=false;; |
|
27747 |
--header | --heade | --head | --hea ) |
|
27748 |
$ac_shift |
|
27749 |
case $ac_optarg in |
|
27750 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
27751 |
esac |
|
27752 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
27753 |
ac_need_defaults=false;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27754 |
--he | --h) |
27755 |
# Conflict between --help and --header |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27756 |
as_fn_error $? "ambiguous option: \`$1' |
27757 |
Try \`$0 --help' for more information.";; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27758 |
--help | --hel | -h ) |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27759 |
$as_echo "$ac_cs_usage"; exit ;; |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27760 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
27761 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
27762 |
ac_cs_silent=: ;; |
|
27763 |
||
27764 |
# This is an error. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27765 |
-*) as_fn_error $? "unrecognized option: \`$1' |
27766 |
Try \`$0 --help' for more information." ;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27767 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27768 |
*) as_fn_append ac_config_targets " $1" |
27769 |
ac_need_defaults=false ;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27770 |
|
27771 |
esac |
|
27772 |
shift |
|
27773 |
done |
|
27774 |
||
27775 |
ac_configure_extra_args= |
|
27776 |
||
27777 |
if $ac_cs_silent; then |
|
27778 |
exec 6>/dev/null |
|
27779 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
27780 |
fi |
|
27781 |
||
27782 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27783 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27784 |
if \$ac_cs_recheck; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27785 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
27786 |
shift |
|
27787 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
27788 |
CONFIG_SHELL='$SHELL' |
|
27789 |
export CONFIG_SHELL |
|
27790 |
exec "\$@" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27791 |
fi |
27792 |
||
27793 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27794 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27795 |
exec 5>>config.log |
|
27796 |
{ |
|
27797 |
echo |
|
27798 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
27799 |
## Running $as_me. ## |
|
27800 |
_ASBOX |
|
27801 |
$as_echo "$ac_log" |
|
27802 |
} >&5 |
|
27803 |
||
27804 |
_ACEOF |
|
27805 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
27806 |
# |
|
27807 |
# INIT-COMMANDS |
|
27808 |
# |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
27809 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27810 |
PACKAGE="$PACKAGE" |
27811 |
PACKAGE="$PACKAGE" |
|
27812 |
PACKAGE="$PACKAGE" |
|
27813 |
PACKAGE="$PACKAGE" |
|
27814 |
PACKAGE="$PACKAGE" |
|
27815 |
PACKAGE="$PACKAGE" |
|
27816 |
PACKAGE="$PACKAGE" |
|
27817 |
PACKAGE="$PACKAGE" |
|
27818 |
PACKAGE="$PACKAGE" |
|
27819 |
PACKAGE="$PACKAGE" |
|
1.1.3
by Konstantinos Margaritis
Import upstream version 0.9 |
27820 |
PACKAGE="$PACKAGE" |
27821 |
PACKAGE="$PACKAGE" |
|
27822 |
PACKAGE="$PACKAGE" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
27823 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
27824 |
|
27825 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
27826 |
# if CDPATH is set. |
|
27827 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
27828 |
||
27829 |
sed_quote_subst='$sed_quote_subst' |
|
27830 |
double_quote_subst='$double_quote_subst' |
|
27831 |
delay_variable_subst='$delay_variable_subst' |
|
27832 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
|
27833 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
|
27834 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
|
27835 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
|
27836 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
|
27837 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
|
27838 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
|
27839 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
27840 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
|
27841 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
|
27842 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
|
27843 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
|
27844 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
|
27845 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
|
27846 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
|
27847 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
|
27848 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
|
27849 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
|
27850 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
|
27851 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
|
27852 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
|
27853 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
|
27854 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
|
27855 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
|
27856 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
|
27857 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
|
27858 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
|
27859 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
|
27860 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
27861 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
27862 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
|
27863 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
|
27864 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
|
27865 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
|
27866 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
27867 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
27868 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
27869 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
|
27870 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
|
27871 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
|
27872 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
27873 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
|
27874 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
|
27875 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
|
27876 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
27877 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
27878 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
27879 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
|
27880 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
|
27881 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
|
27882 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
|
27883 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
|
27884 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
|
27885 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
|
27886 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
|
27887 |
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"`' |
|
27888 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
27889 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
|
27890 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
|
27891 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
|
27892 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
|
27893 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
27894 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
27895 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
|
27896 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
|
27897 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
27898 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
|
27899 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
|
27900 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
|
27901 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
|
27902 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
|
27903 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
|
27904 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
|
27905 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
|
27906 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
27907 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
|
27908 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
|
27909 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
27910 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
27911 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
|
27912 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
|
27913 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
27914 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
27915 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
27916 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
|
27917 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
27918 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
|
27919 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
27920 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
27921 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
27922 |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
|
27923 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
|
27924 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
|
27925 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
|
27926 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
|
27927 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
27928 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
|
27929 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
|
27930 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
|
27931 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
|
27932 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
|
27933 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
|
27934 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
|
27935 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
27936 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
|
27937 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
27938 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
|
27939 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
27940 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
|
27941 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
|
27942 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
|
27943 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
27944 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
|
27945 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
|
27946 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
|
27947 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
|
27948 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
|
27949 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
27950 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
27951 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
|
27952 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
|
27953 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
|
27954 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
|
27955 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
|
27956 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
|
27957 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
|
27958 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
|
27959 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
|
27960 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
|
27961 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
27962 |
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' |
|
27963 |
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' |
|
27964 |
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' |
|
27965 |
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' |
|
27966 |
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' |
|
27967 |
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' |
|
27968 |
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' |
|
27969 |
LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`' |
|
27970 |
LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`' |
|
27971 |
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
27972 |
reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`' |
|
27973 |
reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`' |
|
27974 |
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
27975 |
reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
27976 |
reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
27977 |
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
27978 |
old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
27979 |
old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
27980 |
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' |
|
27981 |
compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`' |
|
27982 |
compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`' |
|
27983 |
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' |
|
27984 |
GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`' |
|
27985 |
GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`' |
|
27986 |
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
27987 |
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`' |
|
27988 |
lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`' |
|
27989 |
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' |
|
27990 |
lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`' |
|
27991 |
lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`' |
|
27992 |
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' |
|
27993 |
lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`' |
|
27994 |
lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`' |
|
27995 |
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' |
|
27996 |
lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`' |
|
27997 |
lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`' |
|
27998 |
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' |
|
27999 |
lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`' |
|
28000 |
lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`' |
|
28001 |
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' |
|
28002 |
archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`' |
|
28003 |
archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`' |
|
28004 |
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' |
|
28005 |
enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`' |
|
28006 |
enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`' |
|
28007 |
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
28008 |
export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`' |
|
28009 |
export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
|
28010 |
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
28011 |
whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`' |
|
28012 |
whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
|
28013 |
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' |
|
28014 |
compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`' |
|
28015 |
compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`' |
|
28016 |
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28017 |
old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28018 |
old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28019 |
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28020 |
old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28021 |
old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28022 |
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28023 |
archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28024 |
archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28025 |
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28026 |
archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28027 |
archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28028 |
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28029 |
module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28030 |
module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28031 |
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28032 |
module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28033 |
module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28034 |
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' |
|
28035 |
with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`' |
|
28036 |
with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`' |
|
28037 |
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
28038 |
allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`' |
|
28039 |
allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' |
|
28040 |
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
|
28041 |
no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`' |
|
28042 |
no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' |
|
28043 |
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
28044 |
hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`' |
|
28045 |
hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
|
28046 |
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' |
|
28047 |
hardcode_libdir_flag_spec_ld_F77='`$ECHO "$hardcode_libdir_flag_spec_ld_F77" | $SED "$delay_single_quote_subst"`' |
|
28048 |
hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`' |
|
28049 |
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
|
28050 |
hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`' |
|
28051 |
hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`' |
|
28052 |
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
|
28053 |
hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`' |
|
28054 |
hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`' |
|
28055 |
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
|
28056 |
hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`' |
|
28057 |
hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`' |
|
28058 |
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' |
|
28059 |
hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`' |
|
28060 |
hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`' |
|
28061 |
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' |
|
28062 |
hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`' |
|
28063 |
hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`' |
|
28064 |
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' |
|
28065 |
hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`' |
|
28066 |
hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`' |
|
28067 |
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' |
|
28068 |
inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`' |
|
28069 |
inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`' |
|
28070 |
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' |
|
28071 |
link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`' |
|
28072 |
link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`' |
|
28073 |
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' |
|
28074 |
always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`' |
|
28075 |
always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`' |
|
28076 |
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28077 |
export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28078 |
export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28079 |
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
|
28080 |
exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`' |
|
28081 |
exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`' |
|
28082 |
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
|
28083 |
include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`' |
|
28084 |
include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`' |
|
28085 |
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28086 |
prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28087 |
prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28088 |
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
|
28089 |
postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`' |
|
28090 |
postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`' |
|
28091 |
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' |
|
28092 |
file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`' |
|
28093 |
file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`' |
|
28094 |
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' |
|
28095 |
hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`' |
|
28096 |
hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`' |
|
28097 |
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' |
|
28098 |
compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`' |
|
28099 |
compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`' |
|
28100 |
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
|
28101 |
predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`' |
|
28102 |
predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`' |
|
28103 |
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
|
28104 |
postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`' |
|
28105 |
postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`' |
|
28106 |
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' |
|
28107 |
predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`' |
|
28108 |
predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`' |
|
28109 |
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' |
|
28110 |
postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`' |
|
28111 |
postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`' |
|
28112 |
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' |
|
28113 |
compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`' |
|
28114 |
compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`' |
|
28115 |
||
28116 |
LTCC='$LTCC' |
|
28117 |
LTCFLAGS='$LTCFLAGS' |
|
28118 |
compiler='$compiler_DEFAULT' |
|
28119 |
||
28120 |
# A function that is used when there is no print builtin or printf. |
|
28121 |
func_fallback_echo () |
|
28122 |
{ |
|
28123 |
eval 'cat <<_LTECHO_EOF |
|
28124 |
\$1 |
|
28125 |
_LTECHO_EOF' |
|
28126 |
} |
|
28127 |
||
28128 |
# Quote evaled strings. |
|
28129 |
for var in SHELL \ |
|
28130 |
ECHO \ |
|
28131 |
SED \ |
|
28132 |
GREP \ |
|
28133 |
EGREP \ |
|
28134 |
FGREP \ |
|
28135 |
LD \ |
|
28136 |
NM \ |
|
28137 |
LN_S \ |
|
28138 |
lt_SP2NL \ |
|
28139 |
lt_NL2SP \ |
|
28140 |
reload_flag \ |
|
28141 |
OBJDUMP \ |
|
28142 |
deplibs_check_method \ |
|
28143 |
file_magic_cmd \ |
|
28144 |
file_magic_glob \ |
|
28145 |
want_nocaseglob \ |
|
28146 |
DLLTOOL \ |
|
28147 |
sharedlib_from_linklib_cmd \ |
|
28148 |
AR \ |
|
28149 |
AR_FLAGS \ |
|
28150 |
archiver_list_spec \ |
|
28151 |
STRIP \ |
|
28152 |
RANLIB \ |
|
28153 |
CC \ |
|
28154 |
CFLAGS \ |
|
28155 |
compiler \ |
|
28156 |
lt_cv_sys_global_symbol_pipe \ |
|
28157 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
28158 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
28159 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
28160 |
nm_file_list_spec \ |
|
28161 |
lt_prog_compiler_no_builtin_flag \ |
|
28162 |
lt_prog_compiler_pic \ |
|
28163 |
lt_prog_compiler_wl \ |
|
28164 |
lt_prog_compiler_static \ |
|
28165 |
lt_cv_prog_compiler_c_o \ |
|
28166 |
need_locks \ |
|
28167 |
MANIFEST_TOOL \ |
|
28168 |
DSYMUTIL \ |
|
28169 |
NMEDIT \ |
|
28170 |
LIPO \ |
|
28171 |
OTOOL \ |
|
28172 |
OTOOL64 \ |
|
28173 |
shrext_cmds \ |
|
28174 |
export_dynamic_flag_spec \ |
|
28175 |
whole_archive_flag_spec \ |
|
28176 |
compiler_needs_object \ |
|
28177 |
with_gnu_ld \ |
|
28178 |
allow_undefined_flag \ |
|
28179 |
no_undefined_flag \ |
|
28180 |
hardcode_libdir_flag_spec \ |
|
28181 |
hardcode_libdir_flag_spec_ld \ |
|
28182 |
hardcode_libdir_separator \ |
|
28183 |
exclude_expsyms \ |
|
28184 |
include_expsyms \ |
|
28185 |
file_list_spec \ |
|
28186 |
variables_saved_for_relink \ |
|
28187 |
libname_spec \ |
|
28188 |
library_names_spec \ |
|
28189 |
soname_spec \ |
|
28190 |
install_override_mode \ |
|
28191 |
finish_eval \ |
|
28192 |
old_striplib \ |
|
28193 |
striplib \ |
|
28194 |
compiler_lib_search_dirs \ |
|
28195 |
predep_objects \ |
|
28196 |
postdep_objects \ |
|
28197 |
predeps \ |
|
28198 |
postdeps \ |
|
28199 |
compiler_lib_search_path \ |
|
28200 |
LD_CXX \ |
|
28201 |
LD_F77 \ |
|
28202 |
LD_FC \ |
|
28203 |
reload_flag_CXX \ |
|
28204 |
reload_flag_F77 \ |
|
28205 |
reload_flag_FC \ |
|
28206 |
compiler_CXX \ |
|
28207 |
compiler_F77 \ |
|
28208 |
compiler_FC \ |
|
28209 |
lt_prog_compiler_no_builtin_flag_CXX \ |
|
28210 |
lt_prog_compiler_no_builtin_flag_F77 \ |
|
28211 |
lt_prog_compiler_no_builtin_flag_FC \ |
|
28212 |
lt_prog_compiler_pic_CXX \ |
|
28213 |
lt_prog_compiler_pic_F77 \ |
|
28214 |
lt_prog_compiler_pic_FC \ |
|
28215 |
lt_prog_compiler_wl_CXX \ |
|
28216 |
lt_prog_compiler_wl_F77 \ |
|
28217 |
lt_prog_compiler_wl_FC \ |
|
28218 |
lt_prog_compiler_static_CXX \ |
|
28219 |
lt_prog_compiler_static_F77 \ |
|
28220 |
lt_prog_compiler_static_FC \ |
|
28221 |
lt_cv_prog_compiler_c_o_CXX \ |
|
28222 |
lt_cv_prog_compiler_c_o_F77 \ |
|
28223 |
lt_cv_prog_compiler_c_o_FC \ |
|
28224 |
export_dynamic_flag_spec_CXX \ |
|
28225 |
export_dynamic_flag_spec_F77 \ |
|
28226 |
export_dynamic_flag_spec_FC \ |
|
28227 |
whole_archive_flag_spec_CXX \ |
|
28228 |
whole_archive_flag_spec_F77 \ |
|
28229 |
whole_archive_flag_spec_FC \ |
|
28230 |
compiler_needs_object_CXX \ |
|
28231 |
compiler_needs_object_F77 \ |
|
28232 |
compiler_needs_object_FC \ |
|
28233 |
with_gnu_ld_CXX \ |
|
28234 |
with_gnu_ld_F77 \ |
|
28235 |
with_gnu_ld_FC \ |
|
28236 |
allow_undefined_flag_CXX \ |
|
28237 |
allow_undefined_flag_F77 \ |
|
28238 |
allow_undefined_flag_FC \ |
|
28239 |
no_undefined_flag_CXX \ |
|
28240 |
no_undefined_flag_F77 \ |
|
28241 |
no_undefined_flag_FC \ |
|
28242 |
hardcode_libdir_flag_spec_CXX \ |
|
28243 |
hardcode_libdir_flag_spec_F77 \ |
|
28244 |
hardcode_libdir_flag_spec_FC \ |
|
28245 |
hardcode_libdir_flag_spec_ld_CXX \ |
|
28246 |
hardcode_libdir_flag_spec_ld_F77 \ |
|
28247 |
hardcode_libdir_flag_spec_ld_FC \ |
|
28248 |
hardcode_libdir_separator_CXX \ |
|
28249 |
hardcode_libdir_separator_F77 \ |
|
28250 |
hardcode_libdir_separator_FC \ |
|
28251 |
exclude_expsyms_CXX \ |
|
28252 |
exclude_expsyms_F77 \ |
|
28253 |
exclude_expsyms_FC \ |
|
28254 |
include_expsyms_CXX \ |
|
28255 |
include_expsyms_F77 \ |
|
28256 |
include_expsyms_FC \ |
|
28257 |
file_list_spec_CXX \ |
|
28258 |
file_list_spec_F77 \ |
|
28259 |
file_list_spec_FC \ |
|
28260 |
compiler_lib_search_dirs_CXX \ |
|
28261 |
compiler_lib_search_dirs_F77 \ |
|
28262 |
compiler_lib_search_dirs_FC \ |
|
28263 |
predep_objects_CXX \ |
|
28264 |
predep_objects_F77 \ |
|
28265 |
predep_objects_FC \ |
|
28266 |
postdep_objects_CXX \ |
|
28267 |
postdep_objects_F77 \ |
|
28268 |
postdep_objects_FC \ |
|
28269 |
predeps_CXX \ |
|
28270 |
predeps_F77 \ |
|
28271 |
predeps_FC \ |
|
28272 |
postdeps_CXX \ |
|
28273 |
postdeps_F77 \ |
|
28274 |
postdeps_FC \ |
|
28275 |
compiler_lib_search_path_CXX \ |
|
28276 |
compiler_lib_search_path_F77 \ |
|
28277 |
compiler_lib_search_path_FC; do |
|
28278 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
28279 |
*[\\\\\\\`\\"\\\$]*) |
|
28280 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
28281 |
;; |
|
28282 |
*) |
|
28283 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
28284 |
;; |
|
28285 |
esac |
|
28286 |
done |
|
28287 |
||
28288 |
# Double-quote double-evaled strings. |
|
28289 |
for var in reload_cmds \ |
|
28290 |
old_postinstall_cmds \ |
|
28291 |
old_postuninstall_cmds \ |
|
28292 |
old_archive_cmds \ |
|
28293 |
extract_expsyms_cmds \ |
|
28294 |
old_archive_from_new_cmds \ |
|
28295 |
old_archive_from_expsyms_cmds \ |
|
28296 |
archive_cmds \ |
|
28297 |
archive_expsym_cmds \ |
|
28298 |
module_cmds \ |
|
28299 |
module_expsym_cmds \ |
|
28300 |
export_symbols_cmds \ |
|
28301 |
prelink_cmds \ |
|
28302 |
postlink_cmds \ |
|
28303 |
postinstall_cmds \ |
|
28304 |
postuninstall_cmds \ |
|
28305 |
finish_cmds \ |
|
28306 |
sys_lib_search_path_spec \ |
|
28307 |
sys_lib_dlsearch_path_spec \ |
|
28308 |
reload_cmds_CXX \ |
|
28309 |
reload_cmds_F77 \ |
|
28310 |
reload_cmds_FC \ |
|
28311 |
old_archive_cmds_CXX \ |
|
28312 |
old_archive_cmds_F77 \ |
|
28313 |
old_archive_cmds_FC \ |
|
28314 |
old_archive_from_new_cmds_CXX \ |
|
28315 |
old_archive_from_new_cmds_F77 \ |
|
28316 |
old_archive_from_new_cmds_FC \ |
|
28317 |
old_archive_from_expsyms_cmds_CXX \ |
|
28318 |
old_archive_from_expsyms_cmds_F77 \ |
|
28319 |
old_archive_from_expsyms_cmds_FC \ |
|
28320 |
archive_cmds_CXX \ |
|
28321 |
archive_cmds_F77 \ |
|
28322 |
archive_cmds_FC \ |
|
28323 |
archive_expsym_cmds_CXX \ |
|
28324 |
archive_expsym_cmds_F77 \ |
|
28325 |
archive_expsym_cmds_FC \ |
|
28326 |
module_cmds_CXX \ |
|
28327 |
module_cmds_F77 \ |
|
28328 |
module_cmds_FC \ |
|
28329 |
module_expsym_cmds_CXX \ |
|
28330 |
module_expsym_cmds_F77 \ |
|
28331 |
module_expsym_cmds_FC \ |
|
28332 |
export_symbols_cmds_CXX \ |
|
28333 |
export_symbols_cmds_F77 \ |
|
28334 |
export_symbols_cmds_FC \ |
|
28335 |
prelink_cmds_CXX \ |
|
28336 |
prelink_cmds_F77 \ |
|
28337 |
prelink_cmds_FC \ |
|
28338 |
postlink_cmds_CXX \ |
|
28339 |
postlink_cmds_F77 \ |
|
28340 |
postlink_cmds_FC; do |
|
28341 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
28342 |
*[\\\\\\\`\\"\\\$]*) |
|
28343 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
28344 |
;; |
|
28345 |
*) |
|
28346 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
28347 |
;; |
|
28348 |
esac |
|
28349 |
done |
|
28350 |
||
28351 |
ac_aux_dir='$ac_aux_dir' |
|
28352 |
xsi_shell='$xsi_shell' |
|
28353 |
lt_shell_append='$lt_shell_append' |
|
28354 |
||
28355 |
# See if we are running on zsh, and set the options which allow our |
|
28356 |
# commands through without removal of \ escapes INIT. |
|
28357 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
28358 |
setopt NO_GLOB_SUBST |
|
28359 |
fi |
|
28360 |
||
28361 |
||
28362 |
PACKAGE='$PACKAGE' |
|
28363 |
VERSION='$VERSION' |
|
28364 |
TIMESTAMP='$TIMESTAMP' |
|
28365 |
RM='$RM' |
|
28366 |
ofile='$ofile' |
|
28367 |
||
28368 |
||
28369 |
||
28370 |
||
28371 |
||
28372 |
||
28373 |
||
28374 |
||
28375 |
||
28376 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28377 |
ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate" |
28378 |
pkgconfig_prefix='$prefix' |
|
28379 |
pkgconfig_execprefix='$exec_prefix' |
|
28380 |
pkgconfig_libdir='$libdir' |
|
28381 |
pkgconfig_includedir='$includedir' |
|
28382 |
pkgconfig_libname='$ax_create_pkgconfig_libname' |
|
28383 |
pkgconfig_description='$ax_create_pkgconfig_description' |
|
28384 |
pkgconfig_version='$ax_create_pkgconfig_version' |
|
28385 |
pkgconfig_requires='$ax_create_pkgconfig_requires' |
|
28386 |
pkgconfig_libs='$ax_create_pkgconfig_libs' |
|
28387 |
pkgconfig_cppflags='$ax_create_pkgconfig_cppflags' |
|
28388 |
pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir' |
|
28389 |
pkgconfig_src_headers='$ax_create_pkgconfig_src_headers' |
|
28390 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28391 |
|
28392 |
_ACEOF |
|
28393 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28394 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
28395 |
||
28396 |
# Handling of arguments. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28397 |
for ac_config_target in $ac_config_targets |
28398 |
do |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28399 |
case $ac_config_target in |
28400 |
"blitz/config.h") CONFIG_HEADERS="$CONFIG_HEADERS blitz/config.h" ;; |
|
28401 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
28402 |
"blitz/apple/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/apple/bzconfig.h" ;; |
|
28403 |
"blitz/intel/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/intel/bzconfig.h" ;; |
|
28404 |
"blitz/ibm/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/ibm/bzconfig.h" ;; |
|
28405 |
"blitz/compaq/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/compaq/bzconfig.h" ;; |
|
28406 |
"blitz/hp/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/hp/bzconfig.h" ;; |
|
28407 |
"blitz/gnu/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/gnu/bzconfig.h" ;; |
|
28408 |
"blitz/kai/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/kai/bzconfig.h" ;; |
|
28409 |
"blitz/pgi/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/pgi/bzconfig.h" ;; |
|
28410 |
"blitz/pathscale/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/pathscale/bzconfig.h" ;; |
|
28411 |
"blitz/sgi/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/sgi/bzconfig.h" ;; |
|
28412 |
"blitz/sun/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/sun/bzconfig.h" ;; |
|
28413 |
"blitz/cray/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/cray/bzconfig.h" ;; |
|
28414 |
"blitz/fujitsu/bzconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS blitz/fujitsu/bzconfig.h" ;; |
|
28415 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
28416 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
28417 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; |
|
28418 |
"blitz/Makefile") CONFIG_FILES="$CONFIG_FILES blitz/Makefile" ;; |
|
28419 |
"blitz/array/Makefile") CONFIG_FILES="$CONFIG_FILES blitz/array/Makefile" ;; |
|
28420 |
"blitz/generate/Makefile") CONFIG_FILES="$CONFIG_FILES blitz/generate/Makefile" ;; |
|
28421 |
"blitz/meta/Makefile") CONFIG_FILES="$CONFIG_FILES blitz/meta/Makefile" ;; |
|
28422 |
"random/Makefile") CONFIG_FILES="$CONFIG_FILES random/Makefile" ;; |
|
28423 |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
|
28424 |
"testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; |
|
28425 |
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; |
|
28426 |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
|
28427 |
"doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;; |
|
28428 |
"doc/stencils/Makefile") CONFIG_FILES="$CONFIG_FILES doc/stencils/Makefile" ;; |
|
28429 |
"doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;; |
|
28430 |
"doc/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Doxyfile" ;; |
|
28431 |
"benchmarks/Makefile") CONFIG_FILES="$CONFIG_FILES benchmarks/Makefile" ;; |
|
28432 |
"benchmarks/plot_benchmarks.m") CONFIG_FILES="$CONFIG_FILES benchmarks/plot_benchmarks.m" ;; |
|
28433 |
"$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;; |
|
28434 |
||
28435 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28436 |
esac |
28437 |
done |
|
28438 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28439 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28440 |
# If the user did not use the arguments to specify the items to instantiate, |
28441 |
# then the envvar interface is used. Set only those that are not. |
|
28442 |
# We use the long form for the default assignment because of an extremely |
|
28443 |
# bizarre bug on SunOS 4.1.3. |
|
28444 |
if $ac_need_defaults; then |
|
28445 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28446 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28447 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
28448 |
fi |
|
28449 |
||
28450 |
# Have a temporary directory for convenience. Make it in the build tree |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28451 |
# simply because there is no reason against having it here, and in addition, |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28452 |
# creating and moving files from /tmp can sometimes cause problems. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28453 |
# Hook for its removal unless debugging. |
28454 |
# Note that there is a small window in which the directory will not be cleaned: |
|
28455 |
# after its creation but before its name has been assigned to `$tmp'. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28456 |
$debug || |
28457 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28458 |
tmp= ac_tmp= |
28459 |
trap 'exit_status=$? |
|
28460 |
: "${ac_tmp:=$tmp}" |
|
28461 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
28462 |
' 0 |
|
28463 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28464 |
} |
28465 |
# Create a (secure) tmp directory for tmp files. |
|
28466 |
||
28467 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28468 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
28469 |
test -d "$tmp" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28470 |
} || |
28471 |
{ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28472 |
tmp=./conf$$-$RANDOM |
28473 |
(umask 077 && mkdir "$tmp") |
|
28474 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
28475 |
ac_tmp=$tmp |
|
28476 |
||
28477 |
# Set up the scripts for CONFIG_FILES section. |
|
28478 |
# No need to generate them if there are no CONFIG_FILES. |
|
28479 |
# This happens for instance with `./config.status config.h'. |
|
28480 |
if test -n "$CONFIG_FILES"; then |
|
28481 |
||
28482 |
||
28483 |
ac_cr=`echo X | tr X '\015'` |
|
28484 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
28485 |
# But we know of no other shell where ac_cr would be empty at this |
|
28486 |
# point, so we can use a bashism as a fallback. |
|
28487 |
if test "x$ac_cr" = x; then |
|
28488 |
eval ac_cr=\$\'\\r\' |
|
28489 |
fi |
|
28490 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
28491 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
28492 |
ac_cs_awk_cr='\\r' |
|
28493 |
else |
|
28494 |
ac_cs_awk_cr=$ac_cr |
|
28495 |
fi |
|
28496 |
||
28497 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
28498 |
_ACEOF |
|
28499 |
||
28500 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28501 |
{ |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28502 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
28503 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
28504 |
echo "_ACEOF" |
|
28505 |
} >conf$$subs.sh || |
|
28506 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
28507 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
28508 |
ac_delim='%!_!# ' |
|
28509 |
for ac_last_try in false false false false false :; do |
|
28510 |
. ./conf$$subs.sh || |
|
28511 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
28512 |
||
28513 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
28514 |
if test $ac_delim_n = $ac_delim_num; then |
|
28515 |
break |
|
28516 |
elif $ac_last_try; then |
|
28517 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
28518 |
else |
|
28519 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28520 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28521 |
done |
28522 |
rm -f conf$$subs.sh |
|
28523 |
||
28524 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
28525 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
28526 |
_ACEOF |
|
28527 |
sed -n ' |
|
28528 |
h |
|
28529 |
s/^/S["/; s/!.*/"]=/ |
|
28530 |
p |
|
28531 |
g |
|
28532 |
s/^[^!]*!// |
|
28533 |
:repl |
|
28534 |
t repl |
|
28535 |
s/'"$ac_delim"'$// |
|
28536 |
t delim |
|
28537 |
:nl |
|
28538 |
h |
|
28539 |
s/\(.\{148\}\)..*/\1/ |
|
28540 |
t more1 |
|
28541 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
28542 |
p |
|
28543 |
n |
|
28544 |
b repl |
|
28545 |
:more1 |
|
28546 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
28547 |
p |
|
28548 |
g |
|
28549 |
s/.\{148\}// |
|
28550 |
t nl |
|
28551 |
:delim |
|
28552 |
h |
|
28553 |
s/\(.\{148\}\)..*/\1/ |
|
28554 |
t more2 |
|
28555 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
28556 |
p |
|
28557 |
b |
|
28558 |
:more2 |
|
28559 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
28560 |
p |
|
28561 |
g |
|
28562 |
s/.\{148\}// |
|
28563 |
t delim |
|
28564 |
' <conf$$subs.awk | sed ' |
|
28565 |
/^[^""]/{ |
|
28566 |
N |
|
28567 |
s/\n// |
|
28568 |
} |
|
28569 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
28570 |
rm -f conf$$subs.awk |
|
28571 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
28572 |
_ACAWK |
|
28573 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
28574 |
for (key in S) S_is_set[key] = 1 |
|
28575 |
FS = "" |
|
28576 |
||
28577 |
} |
|
28578 |
{ |
|
28579 |
line = $ 0 |
|
28580 |
nfields = split(line, field, "@") |
|
28581 |
substed = 0 |
|
28582 |
len = length(field[1]) |
|
28583 |
for (i = 2; i < nfields; i++) { |
|
28584 |
key = field[i] |
|
28585 |
keylen = length(key) |
|
28586 |
if (S_is_set[key]) { |
|
28587 |
value = S[key] |
|
28588 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
28589 |
len += length(value) + length(field[++i]) |
|
28590 |
substed = 1 |
|
28591 |
} else |
|
28592 |
len += 1 + keylen |
|
28593 |
} |
|
28594 |
||
28595 |
print line |
|
28596 |
} |
|
28597 |
||
28598 |
_ACAWK |
|
28599 |
_ACEOF |
|
28600 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
28601 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
28602 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
28603 |
else |
|
28604 |
cat |
|
28605 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
28606 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
28607 |
_ACEOF |
|
28608 |
||
28609 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
28610 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
28611 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
28612 |
# (actually we leave an empty line to preserve line numbers). |
|
28613 |
if test "x$srcdir" = x.; then |
|
28614 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
28615 |
h |
|
28616 |
s/// |
|
28617 |
s/^/:/ |
|
28618 |
s/[ ]*$/:/ |
|
28619 |
s/:\$(srcdir):/:/g |
|
28620 |
s/:\${srcdir}:/:/g |
|
28621 |
s/:@srcdir@:/:/g |
|
28622 |
s/^:*// |
|
28623 |
s/:*$// |
|
28624 |
x |
|
28625 |
s/\(=[ ]*\).*/\1/ |
|
28626 |
G |
|
28627 |
s/\n// |
|
28628 |
s/^[^=]*=[ ]*$// |
|
28629 |
}' |
|
28630 |
fi |
|
28631 |
||
28632 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28633 |
fi # test -n "$CONFIG_FILES" |
28634 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28635 |
# Set up the scripts for CONFIG_HEADERS section. |
28636 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
28637 |
# This happens for instance with `./config.status Makefile'. |
|
28638 |
if test -n "$CONFIG_HEADERS"; then |
|
28639 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
28640 |
BEGIN { |
|
28641 |
_ACEOF |
|
28642 |
||
28643 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
28644 |
# here-document in config.status, that substitutes the proper values into |
|
28645 |
# config.h.in to produce config.h. |
|
28646 |
||
28647 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
28648 |
# handling of long lines. |
|
28649 |
ac_delim='%!_!# ' |
|
28650 |
for ac_last_try in false false :; do |
|
28651 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
28652 |
if test -z "$ac_tt"; then |
|
28653 |
break |
|
28654 |
elif $ac_last_try; then |
|
28655 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
28656 |
else |
|
28657 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
28658 |
fi |
|
28659 |
done |
|
28660 |
||
28661 |
# For the awk script, D is an array of macro values keyed by name, |
|
28662 |
# likewise P contains macro parameters if any. Preserve backslash |
|
28663 |
# newline sequences. |
|
28664 |
||
28665 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
28666 |
sed -n ' |
|
28667 |
s/.\{148\}/&'"$ac_delim"'/g |
|
28668 |
t rset |
|
28669 |
:rset |
|
28670 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
28671 |
t def |
|
28672 |
d |
|
28673 |
:def |
|
28674 |
s/\\$// |
|
28675 |
t bsnl |
|
28676 |
s/["\\]/\\&/g |
|
28677 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
28678 |
D["\1"]=" \3"/p |
|
28679 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
28680 |
d |
|
28681 |
:bsnl |
|
28682 |
s/["\\]/\\&/g |
|
28683 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
28684 |
D["\1"]=" \3\\\\\\n"\\/p |
|
28685 |
t cont |
|
28686 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
28687 |
t cont |
|
28688 |
d |
|
28689 |
:cont |
|
28690 |
n |
|
28691 |
s/.\{148\}/&'"$ac_delim"'/g |
|
28692 |
t clear |
|
28693 |
:clear |
|
28694 |
s/\\$// |
|
28695 |
t bsnlc |
|
28696 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
28697 |
d |
|
28698 |
:bsnlc |
|
28699 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
28700 |
b cont |
|
28701 |
' <confdefs.h | sed ' |
|
28702 |
s/'"$ac_delim"'/"\\\ |
|
28703 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
28704 |
||
28705 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
28706 |
for (key in D) D_is_set[key] = 1 |
|
28707 |
FS = "" |
|
28708 |
} |
|
28709 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
28710 |
line = \$ 0 |
|
28711 |
split(line, arg, " ") |
|
28712 |
if (arg[1] == "#") { |
|
28713 |
defundef = arg[2] |
|
28714 |
mac1 = arg[3] |
|
28715 |
} else { |
|
28716 |
defundef = substr(arg[1], 2) |
|
28717 |
mac1 = arg[2] |
|
28718 |
} |
|
28719 |
split(mac1, mac2, "(") #) |
|
28720 |
macro = mac2[1] |
|
28721 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
28722 |
if (D_is_set[macro]) { |
|
28723 |
# Preserve the white space surrounding the "#". |
|
28724 |
print prefix "define", macro P[macro] D[macro] |
|
28725 |
next |
|
28726 |
} else { |
|
28727 |
# Replace #undef with comments. This is necessary, for example, |
|
28728 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
28729 |
# on some systems where configure will not decide to define it. |
|
28730 |
if (defundef == "undef") { |
|
28731 |
print "/*", prefix defundef, macro, "*/" |
|
28732 |
next |
|
28733 |
} |
|
28734 |
} |
|
28735 |
} |
|
28736 |
{ print } |
|
28737 |
_ACAWK |
|
28738 |
_ACEOF |
|
28739 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
28740 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
28741 |
fi # test -n "$CONFIG_HEADERS" |
|
28742 |
||
28743 |
||
28744 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
28745 |
shift |
|
28746 |
for ac_tag |
|
28747 |
do |
|
28748 |
case $ac_tag in |
|
28749 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
28750 |
esac |
|
28751 |
case $ac_mode$ac_tag in |
|
28752 |
:[FHL]*:*);; |
|
28753 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
28754 |
:[FH]-) ac_tag=-:-;; |
|
28755 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
28756 |
esac |
|
28757 |
ac_save_IFS=$IFS |
|
28758 |
IFS=: |
|
28759 |
set x $ac_tag |
|
28760 |
IFS=$ac_save_IFS |
|
28761 |
shift |
|
28762 |
ac_file=$1 |
|
28763 |
shift |
|
28764 |
||
28765 |
case $ac_mode in |
|
28766 |
:L) ac_source=$1;; |
|
28767 |
:[FH]) |
|
28768 |
ac_file_inputs= |
|
28769 |
for ac_f |
|
28770 |
do |
|
28771 |
case $ac_f in |
|
28772 |
-) ac_f="$ac_tmp/stdin";; |
|
28773 |
*) # Look for the file first in the build tree, then in the source tree |
|
28774 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
28775 |
# because $ac_f cannot contain `:'. |
|
28776 |
test -f "$ac_f" || |
|
28777 |
case $ac_f in |
|
28778 |
[\\/$]*) false;; |
|
28779 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
28780 |
esac || |
|
28781 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
28782 |
esac |
|
28783 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
28784 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
28785 |
done |
|
28786 |
||
28787 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
28788 |
# use $as_me), people would be surprised to read: |
|
28789 |
# /* config.h. Generated by config.status. */ |
|
28790 |
configure_input='Generated from '` |
|
28791 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
28792 |
`' by configure.' |
|
28793 |
if test x"$ac_file" != x-; then |
|
28794 |
configure_input="$ac_file. $configure_input" |
|
28795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
28796 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
28797 |
fi |
|
28798 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
28799 |
case $configure_input in #( |
|
28800 |
*\&* | *\|* | *\\* ) |
|
28801 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
28802 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
28803 |
*) ac_sed_conf_input=$configure_input;; |
|
28804 |
esac |
|
28805 |
||
28806 |
case $ac_tag in |
|
28807 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
28808 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
28809 |
esac |
|
28810 |
;; |
|
28811 |
esac |
|
28812 |
||
28813 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28814 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28815 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
28816 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28817 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
28818 |
$as_echo X"$ac_file" | |
|
28819 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
28820 |
s//\1/ |
|
28821 |
q |
|
28822 |
} |
|
28823 |
/^X\(\/\/\)[^/].*/{ |
|
28824 |
s//\1/ |
|
28825 |
q |
|
28826 |
} |
|
28827 |
/^X\(\/\/\)$/{ |
|
28828 |
s//\1/ |
|
28829 |
q |
|
28830 |
} |
|
28831 |
/^X\(\/\).*/{ |
|
28832 |
s//\1/ |
|
28833 |
q |
|
28834 |
} |
|
28835 |
s/.*/./; q'` |
|
28836 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28837 |
ac_builddir=. |
28838 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28839 |
case "$ac_dir" in |
28840 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
28841 |
*) |
|
28842 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
28843 |
# A ".." for each directory in $ac_dir_suffix. |
|
28844 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
28845 |
case $ac_top_builddir_sub in |
|
28846 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
28847 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
28848 |
esac ;; |
|
28849 |
esac |
|
28850 |
ac_abs_top_builddir=$ac_pwd |
|
28851 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
28852 |
# for backward compatibility: |
|
28853 |
ac_top_builddir=$ac_top_build_prefix |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28854 |
|
28855 |
case $srcdir in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28856 |
.) # We are building in place. |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28857 |
ac_srcdir=. |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28858 |
ac_top_srcdir=$ac_top_builddir_sub |
28859 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
28860 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28861 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28862 |
ac_top_srcdir=$srcdir |
28863 |
ac_abs_top_srcdir=$srcdir ;; |
|
28864 |
*) # Relative name. |
|
28865 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
28866 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
28867 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
28868 |
esac |
|
28869 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
28870 |
||
28871 |
||
28872 |
case $ac_mode in |
|
28873 |
:F) |
|
28874 |
# |
|
28875 |
# CONFIG_FILE |
|
28876 |
# |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28877 |
|
28878 |
case $INSTALL in |
|
28879 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28880 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
28881 |
esac |
|
28882 |
ac_MKDIR_P=$MKDIR_P |
|
28883 |
case $MKDIR_P in |
|
28884 |
[\\/$]* | ?:[\\/]* ) ;; |
|
28885 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
28886 |
esac |
|
28887 |
_ACEOF |
|
28888 |
||
28889 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
28890 |
# If the template does not know about datarootdir, expand it. |
|
28891 |
# FIXME: This hack should be removed a few years after 2.60. |
|
28892 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
28893 |
ac_sed_dataroot=' |
|
28894 |
/datarootdir/ { |
|
28895 |
p |
|
28896 |
q |
|
28897 |
} |
|
28898 |
/@datadir@/p |
|
28899 |
/@docdir@/p |
|
28900 |
/@infodir@/p |
|
28901 |
/@localedir@/p |
|
28902 |
/@mandir@/p' |
|
28903 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
28904 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
28905 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
28906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
28907 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
28908 |
_ACEOF |
|
28909 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
28910 |
ac_datarootdir_hack=' |
|
28911 |
s&@datadir@&$datadir&g |
|
28912 |
s&@docdir@&$docdir&g |
|
28913 |
s&@infodir@&$infodir&g |
|
28914 |
s&@localedir@&$localedir&g |
|
28915 |
s&@mandir@&$mandir&g |
|
28916 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
28917 |
esac |
|
28918 |
_ACEOF |
|
28919 |
||
28920 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
28921 |
# Shell code in configure.ac might set extrasub. |
|
28922 |
# FIXME: do we really want to maintain this feature? |
|
28923 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
28924 |
ac_sed_extra="$ac_vpsub |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28925 |
$extrasub |
28926 |
_ACEOF |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28927 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
28928 |
:t |
28929 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28930 |
s|@configure_input@|$ac_sed_conf_input|;t t |
28931 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
28932 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
28933 |
s&@srcdir@&$ac_srcdir&;t t |
|
28934 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
28935 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
28936 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
28937 |
s&@builddir@&$ac_builddir&;t t |
|
28938 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
28939 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
28940 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
28941 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
28942 |
$ac_datarootdir_hack |
|
28943 |
" |
|
28944 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
28945 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
28946 |
||
28947 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
28948 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
28949 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
28950 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
28951 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
28952 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
28953 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
28954 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
28955 |
||
28956 |
rm -f "$ac_tmp/stdin" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28957 |
case $ac_file in |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28958 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
28959 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
28960 |
esac \ |
|
28961 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
28962 |
;; |
|
28963 |
:H) |
|
28964 |
# |
|
28965 |
# CONFIG_HEADER |
|
28966 |
# |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28967 |
if test x"$ac_file" != x-; then |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28968 |
{ |
28969 |
$as_echo "/* $configure_input */" \ |
|
28970 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
28971 |
} >"$ac_tmp/config.h" \ |
|
28972 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
28973 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
28974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
28975 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28976 |
else |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28977 |
rm -f "$ac_file" |
28978 |
mv "$ac_tmp/config.h" "$ac_file" \ |
|
28979 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28980 |
fi |
28981 |
else |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28982 |
$as_echo "/* $configure_input */" \ |
28983 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
28984 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28985 |
fi |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28986 |
# Compute "$ac_file"'s index in $config_headers. |
28987 |
_am_arg="$ac_file" |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28988 |
_am_stamp_count=1 |
28989 |
for _am_header in $config_headers :; do |
|
28990 |
case $_am_header in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28991 |
$_am_arg | $_am_arg:* ) |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
28992 |
break ;; |
28993 |
* ) |
|
28994 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
28995 |
esac |
|
28996 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
28997 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
28998 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
28999 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
29000 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
29001 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
29002 |
$as_echo X"$_am_arg" | |
|
29003 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29004 |
s//\1/ |
|
29005 |
q |
|
29006 |
} |
|
29007 |
/^X\(\/\/\)[^/].*/{ |
|
29008 |
s//\1/ |
|
29009 |
q |
|
29010 |
} |
|
29011 |
/^X\(\/\/\)$/{ |
|
29012 |
s//\1/ |
|
29013 |
q |
|
29014 |
} |
|
29015 |
/^X\(\/\).*/{ |
|
29016 |
s//\1/ |
|
29017 |
q |
|
29018 |
} |
|
29019 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
29020 |
;; |
|
29021 |
||
29022 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
29023 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
29024 |
;; |
|
29025 |
esac |
|
29026 |
||
29027 |
||
29028 |
case $ac_file$ac_mode in |
|
29029 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
29030 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
29031 |
# are listed without --file. Let's play safe and only enable the eval |
|
29032 |
# if we detect the quoting. |
|
29033 |
case $CONFIG_FILES in |
|
29034 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
29035 |
*) set x $CONFIG_FILES ;; |
|
29036 |
esac |
|
29037 |
shift |
|
29038 |
for mf |
|
29039 |
do |
|
29040 |
# Strip MF so we end up with the name of the file. |
|
29041 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
29042 |
# Check whether this is an Automake generated Makefile or not. |
|
29043 |
# We used to match only the files named `Makefile.in', but |
|
29044 |
# some people rename them; so instead we look at the file content. |
|
29045 |
# Grep'ing the first line is not enough: some people post-process |
|
29046 |
# each Makefile.in and add a new line on top of each file to say so. |
|
29047 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
29048 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
29049 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
29050 |
dirpart=`$as_dirname -- "$mf" || |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
29051 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
29052 |
X"$mf" : 'X\(//\)[^/]' \| \ |
29053 |
X"$mf" : 'X\(//\)$' \| \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
29054 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
29055 |
$as_echo X"$mf" | |
|
29056 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29057 |
s//\1/ |
|
29058 |
q |
|
29059 |
} |
|
29060 |
/^X\(\/\/\)[^/].*/{ |
|
29061 |
s//\1/ |
|
29062 |
q |
|
29063 |
} |
|
29064 |
/^X\(\/\/\)$/{ |
|
29065 |
s//\1/ |
|
29066 |
q |
|
29067 |
} |
|
29068 |
/^X\(\/\).*/{ |
|
29069 |
s//\1/ |
|
29070 |
q |
|
29071 |
} |
|
29072 |
s/.*/./; q'` |
|
29073 |
else |
|
29074 |
continue |
|
29075 |
fi |
|
29076 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
29077 |
# from the Makefile without running `make'. |
|
29078 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
29079 |
test -z "$DEPDIR" && continue |
|
29080 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
29081 |
test -z "am__include" && continue |
|
29082 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
29083 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
29084 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
29085 |
# Find all dependency output files, they are included files with |
|
29086 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
29087 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
29088 |
# expansion. |
|
29089 |
for file in `sed -n " |
|
29090 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
29091 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
29092 |
# Make sure the directory exists. |
|
29093 |
test -f "$dirpart/$file" && continue |
|
29094 |
fdir=`$as_dirname -- "$file" || |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
29095 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
29096 |
X"$file" : 'X\(//\)[^/]' \| \ |
29097 |
X"$file" : 'X\(//\)$' \| \ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
29098 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
29099 |
$as_echo X"$file" | |
|
29100 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29101 |
s//\1/ |
|
29102 |
q |
|
29103 |
} |
|
29104 |
/^X\(\/\/\)[^/].*/{ |
|
29105 |
s//\1/ |
|
29106 |
q |
|
29107 |
} |
|
29108 |
/^X\(\/\/\)$/{ |
|
29109 |
s//\1/ |
|
29110 |
q |
|
29111 |
} |
|
29112 |
/^X\(\/\).*/{ |
|
29113 |
s//\1/ |
|
29114 |
q |
|
29115 |
} |
|
29116 |
s/.*/./; q'` |
|
29117 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
29118 |
# echo "creating $dirpart/$file" |
|
29119 |
echo '# dummy' > "$dirpart/$file" |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
29120 |
done |
29121 |
done |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
29122 |
} |
29123 |
;; |
|
29124 |
"blitz/apple/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/apple/bzconfig.h` |
|
29125 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29126 |
ac_prefix_conf_PKG=`echo BZ` |
|
29127 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29128 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29129 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29130 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29131 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29132 |
case "$ac_file" in |
|
29133 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29134 |
*) |
|
29135 |
esac |
|
29136 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29137 |
done |
|
29138 |
fi |
|
29139 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29140 |
case "$ac_prefix_conf_OUT" in |
|
29141 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29142 |
;; |
|
29143 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29144 |
;; |
|
29145 |
*) ac_prefix_conf_INP=config.h |
|
29146 |
;; |
|
29147 |
esac |
|
29148 |
fi |
|
29149 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29150 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29151 |
else |
|
29152 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29153 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29154 |
fi fi |
|
29155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29156 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29157 |
if test -f $ac_prefix_conf_INP ; then |
|
29158 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29159 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29160 |
# the substition of upper-case macros |
|
29161 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29162 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29163 |
echo "#endif/" >>conftest.prefix |
|
29164 |
# the substition of lower-case macros |
|
29165 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29166 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29167 |
echo "#endif/" >> conftest.prefix |
|
29168 |
# now executing _script on _DEF input to create _OUT output file |
|
29169 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29170 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29171 |
echo ' ' >>$tmp/pconfig.h |
|
29172 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29173 |
||
29174 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29175 |
echo ' ' >>$tmp/pconfig.h |
|
29176 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29177 |
echo "#endif" >>$tmp/pconfig.h |
|
29178 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29180 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29181 |
else |
|
29182 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29183 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29184 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29185 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29186 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29187 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29188 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29189 |
s//\1/ |
|
29190 |
q |
|
29191 |
} |
|
29192 |
/^X\(\/\/\)[^/].*/{ |
|
29193 |
s//\1/ |
|
29194 |
q |
|
29195 |
} |
|
29196 |
/^X\(\/\/\)$/{ |
|
29197 |
s//\1/ |
|
29198 |
q |
|
29199 |
} |
|
29200 |
/^X\(\/\).*/{ |
|
29201 |
s//\1/ |
|
29202 |
q |
|
29203 |
} |
|
29204 |
s/.*/./; q'` |
|
29205 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29206 |
rm -f "$ac_prefix_conf_OUT" |
|
29207 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29208 |
fi |
|
29209 |
else |
|
29210 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29211 |
fi |
|
29212 |
rm -f conftest.* |
|
29213 |
fi |
|
29214 |
;; |
|
29215 |
"blitz/intel/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/intel/bzconfig.h` |
|
29216 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29217 |
ac_prefix_conf_PKG=`echo BZ` |
|
29218 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29219 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29220 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29221 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29222 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29223 |
case "$ac_file" in |
|
29224 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29225 |
*) |
|
29226 |
esac |
|
29227 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29228 |
done |
|
29229 |
fi |
|
29230 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29231 |
case "$ac_prefix_conf_OUT" in |
|
29232 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29233 |
;; |
|
29234 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29235 |
;; |
|
29236 |
*) ac_prefix_conf_INP=config.h |
|
29237 |
;; |
|
29238 |
esac |
|
29239 |
fi |
|
29240 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29241 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29242 |
else |
|
29243 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29244 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29245 |
fi fi |
|
29246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29247 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29248 |
if test -f $ac_prefix_conf_INP ; then |
|
29249 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29250 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29251 |
# the substition of upper-case macros |
|
29252 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29253 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29254 |
echo "#endif/" >>conftest.prefix |
|
29255 |
# the substition of lower-case macros |
|
29256 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29257 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29258 |
echo "#endif/" >> conftest.prefix |
|
29259 |
# now executing _script on _DEF input to create _OUT output file |
|
29260 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29261 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29262 |
echo ' ' >>$tmp/pconfig.h |
|
29263 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29264 |
||
29265 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29266 |
echo ' ' >>$tmp/pconfig.h |
|
29267 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29268 |
echo "#endif" >>$tmp/pconfig.h |
|
29269 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29271 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29272 |
else |
|
29273 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29274 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29275 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29276 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29277 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29278 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29279 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29280 |
s//\1/ |
|
29281 |
q |
|
29282 |
} |
|
29283 |
/^X\(\/\/\)[^/].*/{ |
|
29284 |
s//\1/ |
|
29285 |
q |
|
29286 |
} |
|
29287 |
/^X\(\/\/\)$/{ |
|
29288 |
s//\1/ |
|
29289 |
q |
|
29290 |
} |
|
29291 |
/^X\(\/\).*/{ |
|
29292 |
s//\1/ |
|
29293 |
q |
|
29294 |
} |
|
29295 |
s/.*/./; q'` |
|
29296 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29297 |
rm -f "$ac_prefix_conf_OUT" |
|
29298 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29299 |
fi |
|
29300 |
else |
|
29301 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29302 |
fi |
|
29303 |
rm -f conftest.* |
|
29304 |
fi |
|
29305 |
;; |
|
29306 |
"blitz/ibm/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/ibm/bzconfig.h` |
|
29307 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29308 |
ac_prefix_conf_PKG=`echo BZ` |
|
29309 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29310 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29311 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29312 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29313 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29314 |
case "$ac_file" in |
|
29315 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29316 |
*) |
|
29317 |
esac |
|
29318 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29319 |
done |
|
29320 |
fi |
|
29321 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29322 |
case "$ac_prefix_conf_OUT" in |
|
29323 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29324 |
;; |
|
29325 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29326 |
;; |
|
29327 |
*) ac_prefix_conf_INP=config.h |
|
29328 |
;; |
|
29329 |
esac |
|
29330 |
fi |
|
29331 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29332 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29333 |
else |
|
29334 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29335 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29336 |
fi fi |
|
29337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29338 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29339 |
if test -f $ac_prefix_conf_INP ; then |
|
29340 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29341 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29342 |
# the substition of upper-case macros |
|
29343 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29344 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29345 |
echo "#endif/" >>conftest.prefix |
|
29346 |
# the substition of lower-case macros |
|
29347 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29348 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29349 |
echo "#endif/" >> conftest.prefix |
|
29350 |
# now executing _script on _DEF input to create _OUT output file |
|
29351 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29352 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29353 |
echo ' ' >>$tmp/pconfig.h |
|
29354 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29355 |
||
29356 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29357 |
echo ' ' >>$tmp/pconfig.h |
|
29358 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29359 |
echo "#endif" >>$tmp/pconfig.h |
|
29360 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29362 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29363 |
else |
|
29364 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29365 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29366 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29367 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29368 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29369 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29370 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29371 |
s//\1/ |
|
29372 |
q |
|
29373 |
} |
|
29374 |
/^X\(\/\/\)[^/].*/{ |
|
29375 |
s//\1/ |
|
29376 |
q |
|
29377 |
} |
|
29378 |
/^X\(\/\/\)$/{ |
|
29379 |
s//\1/ |
|
29380 |
q |
|
29381 |
} |
|
29382 |
/^X\(\/\).*/{ |
|
29383 |
s//\1/ |
|
29384 |
q |
|
29385 |
} |
|
29386 |
s/.*/./; q'` |
|
29387 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29388 |
rm -f "$ac_prefix_conf_OUT" |
|
29389 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29390 |
fi |
|
29391 |
else |
|
29392 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29393 |
fi |
|
29394 |
rm -f conftest.* |
|
29395 |
fi |
|
29396 |
;; |
|
29397 |
"blitz/compaq/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/compaq/bzconfig.h` |
|
29398 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29399 |
ac_prefix_conf_PKG=`echo BZ` |
|
29400 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29401 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29402 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29403 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29404 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29405 |
case "$ac_file" in |
|
29406 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29407 |
*) |
|
29408 |
esac |
|
29409 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29410 |
done |
|
29411 |
fi |
|
29412 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29413 |
case "$ac_prefix_conf_OUT" in |
|
29414 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29415 |
;; |
|
29416 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29417 |
;; |
|
29418 |
*) ac_prefix_conf_INP=config.h |
|
29419 |
;; |
|
29420 |
esac |
|
29421 |
fi |
|
29422 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29423 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29424 |
else |
|
29425 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29426 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29427 |
fi fi |
|
29428 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29429 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29430 |
if test -f $ac_prefix_conf_INP ; then |
|
29431 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29432 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29433 |
# the substition of upper-case macros |
|
29434 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29435 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29436 |
echo "#endif/" >>conftest.prefix |
|
29437 |
# the substition of lower-case macros |
|
29438 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29439 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29440 |
echo "#endif/" >> conftest.prefix |
|
29441 |
# now executing _script on _DEF input to create _OUT output file |
|
29442 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29443 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29444 |
echo ' ' >>$tmp/pconfig.h |
|
29445 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29446 |
||
29447 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29448 |
echo ' ' >>$tmp/pconfig.h |
|
29449 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29450 |
echo "#endif" >>$tmp/pconfig.h |
|
29451 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29453 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29454 |
else |
|
29455 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29456 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29457 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29458 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29459 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29460 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29461 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29462 |
s//\1/ |
|
29463 |
q |
|
29464 |
} |
|
29465 |
/^X\(\/\/\)[^/].*/{ |
|
29466 |
s//\1/ |
|
29467 |
q |
|
29468 |
} |
|
29469 |
/^X\(\/\/\)$/{ |
|
29470 |
s//\1/ |
|
29471 |
q |
|
29472 |
} |
|
29473 |
/^X\(\/\).*/{ |
|
29474 |
s//\1/ |
|
29475 |
q |
|
29476 |
} |
|
29477 |
s/.*/./; q'` |
|
29478 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29479 |
rm -f "$ac_prefix_conf_OUT" |
|
29480 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29481 |
fi |
|
29482 |
else |
|
29483 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29484 |
fi |
|
29485 |
rm -f conftest.* |
|
29486 |
fi |
|
29487 |
;; |
|
29488 |
"blitz/hp/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/hp/bzconfig.h` |
|
29489 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29490 |
ac_prefix_conf_PKG=`echo BZ` |
|
29491 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29492 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29493 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29494 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29495 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29496 |
case "$ac_file" in |
|
29497 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29498 |
*) |
|
29499 |
esac |
|
29500 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29501 |
done |
|
29502 |
fi |
|
29503 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29504 |
case "$ac_prefix_conf_OUT" in |
|
29505 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29506 |
;; |
|
29507 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29508 |
;; |
|
29509 |
*) ac_prefix_conf_INP=config.h |
|
29510 |
;; |
|
29511 |
esac |
|
29512 |
fi |
|
29513 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29514 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29515 |
else |
|
29516 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29517 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29518 |
fi fi |
|
29519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29520 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29521 |
if test -f $ac_prefix_conf_INP ; then |
|
29522 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29523 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29524 |
# the substition of upper-case macros |
|
29525 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29526 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29527 |
echo "#endif/" >>conftest.prefix |
|
29528 |
# the substition of lower-case macros |
|
29529 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29530 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29531 |
echo "#endif/" >> conftest.prefix |
|
29532 |
# now executing _script on _DEF input to create _OUT output file |
|
29533 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29534 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29535 |
echo ' ' >>$tmp/pconfig.h |
|
29536 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29537 |
||
29538 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29539 |
echo ' ' >>$tmp/pconfig.h |
|
29540 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29541 |
echo "#endif" >>$tmp/pconfig.h |
|
29542 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29544 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29545 |
else |
|
29546 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29547 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29548 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29549 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29550 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29551 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29552 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29553 |
s//\1/ |
|
29554 |
q |
|
29555 |
} |
|
29556 |
/^X\(\/\/\)[^/].*/{ |
|
29557 |
s//\1/ |
|
29558 |
q |
|
29559 |
} |
|
29560 |
/^X\(\/\/\)$/{ |
|
29561 |
s//\1/ |
|
29562 |
q |
|
29563 |
} |
|
29564 |
/^X\(\/\).*/{ |
|
29565 |
s//\1/ |
|
29566 |
q |
|
29567 |
} |
|
29568 |
s/.*/./; q'` |
|
29569 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29570 |
rm -f "$ac_prefix_conf_OUT" |
|
29571 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29572 |
fi |
|
29573 |
else |
|
29574 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29575 |
fi |
|
29576 |
rm -f conftest.* |
|
29577 |
fi |
|
29578 |
;; |
|
29579 |
"blitz/gnu/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/gnu/bzconfig.h` |
|
29580 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29581 |
ac_prefix_conf_PKG=`echo BZ` |
|
29582 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29583 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29584 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29585 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29586 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29587 |
case "$ac_file" in |
|
29588 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29589 |
*) |
|
29590 |
esac |
|
29591 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29592 |
done |
|
29593 |
fi |
|
29594 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29595 |
case "$ac_prefix_conf_OUT" in |
|
29596 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29597 |
;; |
|
29598 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29599 |
;; |
|
29600 |
*) ac_prefix_conf_INP=config.h |
|
29601 |
;; |
|
29602 |
esac |
|
29603 |
fi |
|
29604 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29605 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29606 |
else |
|
29607 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29608 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29609 |
fi fi |
|
29610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29611 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29612 |
if test -f $ac_prefix_conf_INP ; then |
|
29613 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29614 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29615 |
# the substition of upper-case macros |
|
29616 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29617 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29618 |
echo "#endif/" >>conftest.prefix |
|
29619 |
# the substition of lower-case macros |
|
29620 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29621 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29622 |
echo "#endif/" >> conftest.prefix |
|
29623 |
# now executing _script on _DEF input to create _OUT output file |
|
29624 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29625 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29626 |
echo ' ' >>$tmp/pconfig.h |
|
29627 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29628 |
||
29629 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29630 |
echo ' ' >>$tmp/pconfig.h |
|
29631 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29632 |
echo "#endif" >>$tmp/pconfig.h |
|
29633 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29635 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29636 |
else |
|
29637 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29638 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29639 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29640 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29641 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29642 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29643 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29644 |
s//\1/ |
|
29645 |
q |
|
29646 |
} |
|
29647 |
/^X\(\/\/\)[^/].*/{ |
|
29648 |
s//\1/ |
|
29649 |
q |
|
29650 |
} |
|
29651 |
/^X\(\/\/\)$/{ |
|
29652 |
s//\1/ |
|
29653 |
q |
|
29654 |
} |
|
29655 |
/^X\(\/\).*/{ |
|
29656 |
s//\1/ |
|
29657 |
q |
|
29658 |
} |
|
29659 |
s/.*/./; q'` |
|
29660 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29661 |
rm -f "$ac_prefix_conf_OUT" |
|
29662 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29663 |
fi |
|
29664 |
else |
|
29665 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29666 |
fi |
|
29667 |
rm -f conftest.* |
|
29668 |
fi |
|
29669 |
;; |
|
29670 |
"blitz/kai/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/kai/bzconfig.h` |
|
29671 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29672 |
ac_prefix_conf_PKG=`echo BZ` |
|
29673 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29674 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29675 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29676 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29677 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29678 |
case "$ac_file" in |
|
29679 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29680 |
*) |
|
29681 |
esac |
|
29682 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29683 |
done |
|
29684 |
fi |
|
29685 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29686 |
case "$ac_prefix_conf_OUT" in |
|
29687 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29688 |
;; |
|
29689 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29690 |
;; |
|
29691 |
*) ac_prefix_conf_INP=config.h |
|
29692 |
;; |
|
29693 |
esac |
|
29694 |
fi |
|
29695 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29696 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29697 |
else |
|
29698 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29699 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29700 |
fi fi |
|
29701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29702 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29703 |
if test -f $ac_prefix_conf_INP ; then |
|
29704 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29705 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29706 |
# the substition of upper-case macros |
|
29707 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29708 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29709 |
echo "#endif/" >>conftest.prefix |
|
29710 |
# the substition of lower-case macros |
|
29711 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29712 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29713 |
echo "#endif/" >> conftest.prefix |
|
29714 |
# now executing _script on _DEF input to create _OUT output file |
|
29715 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29716 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29717 |
echo ' ' >>$tmp/pconfig.h |
|
29718 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29719 |
||
29720 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29721 |
echo ' ' >>$tmp/pconfig.h |
|
29722 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29723 |
echo "#endif" >>$tmp/pconfig.h |
|
29724 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29726 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29727 |
else |
|
29728 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29729 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29730 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29731 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29732 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29733 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29734 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29735 |
s//\1/ |
|
29736 |
q |
|
29737 |
} |
|
29738 |
/^X\(\/\/\)[^/].*/{ |
|
29739 |
s//\1/ |
|
29740 |
q |
|
29741 |
} |
|
29742 |
/^X\(\/\/\)$/{ |
|
29743 |
s//\1/ |
|
29744 |
q |
|
29745 |
} |
|
29746 |
/^X\(\/\).*/{ |
|
29747 |
s//\1/ |
|
29748 |
q |
|
29749 |
} |
|
29750 |
s/.*/./; q'` |
|
29751 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29752 |
rm -f "$ac_prefix_conf_OUT" |
|
29753 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29754 |
fi |
|
29755 |
else |
|
29756 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29757 |
fi |
|
29758 |
rm -f conftest.* |
|
29759 |
fi |
|
29760 |
;; |
|
29761 |
"blitz/pgi/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/pgi/bzconfig.h` |
|
29762 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29763 |
ac_prefix_conf_PKG=`echo BZ` |
|
29764 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29765 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29766 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29767 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29768 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29769 |
case "$ac_file" in |
|
29770 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29771 |
*) |
|
29772 |
esac |
|
29773 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29774 |
done |
|
29775 |
fi |
|
29776 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29777 |
case "$ac_prefix_conf_OUT" in |
|
29778 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29779 |
;; |
|
29780 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29781 |
;; |
|
29782 |
*) ac_prefix_conf_INP=config.h |
|
29783 |
;; |
|
29784 |
esac |
|
29785 |
fi |
|
29786 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29787 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29788 |
else |
|
29789 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29790 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29791 |
fi fi |
|
29792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29793 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29794 |
if test -f $ac_prefix_conf_INP ; then |
|
29795 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29796 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29797 |
# the substition of upper-case macros |
|
29798 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29799 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29800 |
echo "#endif/" >>conftest.prefix |
|
29801 |
# the substition of lower-case macros |
|
29802 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29803 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29804 |
echo "#endif/" >> conftest.prefix |
|
29805 |
# now executing _script on _DEF input to create _OUT output file |
|
29806 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29807 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29808 |
echo ' ' >>$tmp/pconfig.h |
|
29809 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29810 |
||
29811 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29812 |
echo ' ' >>$tmp/pconfig.h |
|
29813 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29814 |
echo "#endif" >>$tmp/pconfig.h |
|
29815 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29817 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29818 |
else |
|
29819 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29820 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29821 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29822 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29823 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29824 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29825 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29826 |
s//\1/ |
|
29827 |
q |
|
29828 |
} |
|
29829 |
/^X\(\/\/\)[^/].*/{ |
|
29830 |
s//\1/ |
|
29831 |
q |
|
29832 |
} |
|
29833 |
/^X\(\/\/\)$/{ |
|
29834 |
s//\1/ |
|
29835 |
q |
|
29836 |
} |
|
29837 |
/^X\(\/\).*/{ |
|
29838 |
s//\1/ |
|
29839 |
q |
|
29840 |
} |
|
29841 |
s/.*/./; q'` |
|
29842 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29843 |
rm -f "$ac_prefix_conf_OUT" |
|
29844 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29845 |
fi |
|
29846 |
else |
|
29847 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29848 |
fi |
|
29849 |
rm -f conftest.* |
|
29850 |
fi |
|
29851 |
;; |
|
29852 |
"blitz/pathscale/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/pathscale/bzconfig.h` |
|
29853 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29854 |
ac_prefix_conf_PKG=`echo BZ` |
|
29855 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29856 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29857 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29858 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29859 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29860 |
case "$ac_file" in |
|
29861 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29862 |
*) |
|
29863 |
esac |
|
29864 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29865 |
done |
|
29866 |
fi |
|
29867 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29868 |
case "$ac_prefix_conf_OUT" in |
|
29869 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29870 |
;; |
|
29871 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29872 |
;; |
|
29873 |
*) ac_prefix_conf_INP=config.h |
|
29874 |
;; |
|
29875 |
esac |
|
29876 |
fi |
|
29877 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29878 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29879 |
else |
|
29880 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29881 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29882 |
fi fi |
|
29883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29884 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29885 |
if test -f $ac_prefix_conf_INP ; then |
|
29886 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29887 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29888 |
# the substition of upper-case macros |
|
29889 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29890 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29891 |
echo "#endif/" >>conftest.prefix |
|
29892 |
# the substition of lower-case macros |
|
29893 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29894 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29895 |
echo "#endif/" >> conftest.prefix |
|
29896 |
# now executing _script on _DEF input to create _OUT output file |
|
29897 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29898 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29899 |
echo ' ' >>$tmp/pconfig.h |
|
29900 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29901 |
||
29902 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29903 |
echo ' ' >>$tmp/pconfig.h |
|
29904 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29905 |
echo "#endif" >>$tmp/pconfig.h |
|
29906 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29908 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
29909 |
else |
|
29910 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
29911 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
29912 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
29913 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
29914 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
29915 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
29916 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
29917 |
s//\1/ |
|
29918 |
q |
|
29919 |
} |
|
29920 |
/^X\(\/\/\)[^/].*/{ |
|
29921 |
s//\1/ |
|
29922 |
q |
|
29923 |
} |
|
29924 |
/^X\(\/\/\)$/{ |
|
29925 |
s//\1/ |
|
29926 |
q |
|
29927 |
} |
|
29928 |
/^X\(\/\).*/{ |
|
29929 |
s//\1/ |
|
29930 |
q |
|
29931 |
} |
|
29932 |
s/.*/./; q'` |
|
29933 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
29934 |
rm -f "$ac_prefix_conf_OUT" |
|
29935 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
29936 |
fi |
|
29937 |
else |
|
29938 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
29939 |
fi |
|
29940 |
rm -f conftest.* |
|
29941 |
fi |
|
29942 |
;; |
|
29943 |
"blitz/sgi/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/sgi/bzconfig.h` |
|
29944 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
29945 |
ac_prefix_conf_PKG=`echo BZ` |
|
29946 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
29947 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
29948 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
29949 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29950 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
29951 |
case "$ac_file" in |
|
29952 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
29953 |
*) |
|
29954 |
esac |
|
29955 |
test ".$ac_prefix_conf_INP" != "." && break |
|
29956 |
done |
|
29957 |
fi |
|
29958 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
29959 |
case "$ac_prefix_conf_OUT" in |
|
29960 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
29961 |
;; |
|
29962 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
29963 |
;; |
|
29964 |
*) ac_prefix_conf_INP=config.h |
|
29965 |
;; |
|
29966 |
esac |
|
29967 |
fi |
|
29968 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
29969 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
29970 |
else |
|
29971 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
29972 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
29973 |
fi fi |
|
29974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
29975 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
29976 |
if test -f $ac_prefix_conf_INP ; then |
|
29977 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
29978 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
29979 |
# the substition of upper-case macros |
|
29980 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
29981 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
29982 |
echo "#endif/" >>conftest.prefix |
|
29983 |
# the substition of lower-case macros |
|
29984 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
29985 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
29986 |
echo "#endif/" >> conftest.prefix |
|
29987 |
# now executing _script on _DEF input to create _OUT output file |
|
29988 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
29989 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
29990 |
echo ' ' >>$tmp/pconfig.h |
|
29991 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
29992 |
||
29993 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
29994 |
echo ' ' >>$tmp/pconfig.h |
|
29995 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
29996 |
echo "#endif" >>$tmp/pconfig.h |
|
29997 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
29998 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
29999 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
30000 |
else |
|
30001 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
30002 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
30003 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
30004 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
30005 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
30006 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
30007 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
30008 |
s//\1/ |
|
30009 |
q |
|
30010 |
} |
|
30011 |
/^X\(\/\/\)[^/].*/{ |
|
30012 |
s//\1/ |
|
30013 |
q |
|
30014 |
} |
|
30015 |
/^X\(\/\/\)$/{ |
|
30016 |
s//\1/ |
|
30017 |
q |
|
30018 |
} |
|
30019 |
/^X\(\/\).*/{ |
|
30020 |
s//\1/ |
|
30021 |
q |
|
30022 |
} |
|
30023 |
s/.*/./; q'` |
|
30024 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
30025 |
rm -f "$ac_prefix_conf_OUT" |
|
30026 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
30027 |
fi |
|
30028 |
else |
|
30029 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
30030 |
fi |
|
30031 |
rm -f conftest.* |
|
30032 |
fi |
|
30033 |
;; |
|
30034 |
"blitz/sun/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/sun/bzconfig.h` |
|
30035 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
30036 |
ac_prefix_conf_PKG=`echo BZ` |
|
30037 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
30038 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
30039 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
30040 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30041 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
30042 |
case "$ac_file" in |
|
30043 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
30044 |
*) |
|
30045 |
esac |
|
30046 |
test ".$ac_prefix_conf_INP" != "." && break |
|
30047 |
done |
|
30048 |
fi |
|
30049 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30050 |
case "$ac_prefix_conf_OUT" in |
|
30051 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
30052 |
;; |
|
30053 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
30054 |
;; |
|
30055 |
*) ac_prefix_conf_INP=config.h |
|
30056 |
;; |
|
30057 |
esac |
|
30058 |
fi |
|
30059 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
30060 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
30061 |
else |
|
30062 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
30063 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
30064 |
fi fi |
|
30065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
30066 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
30067 |
if test -f $ac_prefix_conf_INP ; then |
|
30068 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
30069 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
30070 |
# the substition of upper-case macros |
|
30071 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
30072 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
30073 |
echo "#endif/" >>conftest.prefix |
|
30074 |
# the substition of lower-case macros |
|
30075 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
30076 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
30077 |
echo "#endif/" >> conftest.prefix |
|
30078 |
# now executing _script on _DEF input to create _OUT output file |
|
30079 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
30080 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
30081 |
echo ' ' >>$tmp/pconfig.h |
|
30082 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
30083 |
||
30084 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
30085 |
echo ' ' >>$tmp/pconfig.h |
|
30086 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
30087 |
echo "#endif" >>$tmp/pconfig.h |
|
30088 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
30089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
30090 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
30091 |
else |
|
30092 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
30093 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
30094 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
30095 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
30096 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
30097 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
30098 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
30099 |
s//\1/ |
|
30100 |
q |
|
30101 |
} |
|
30102 |
/^X\(\/\/\)[^/].*/{ |
|
30103 |
s//\1/ |
|
30104 |
q |
|
30105 |
} |
|
30106 |
/^X\(\/\/\)$/{ |
|
30107 |
s//\1/ |
|
30108 |
q |
|
30109 |
} |
|
30110 |
/^X\(\/\).*/{ |
|
30111 |
s//\1/ |
|
30112 |
q |
|
30113 |
} |
|
30114 |
s/.*/./; q'` |
|
30115 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
30116 |
rm -f "$ac_prefix_conf_OUT" |
|
30117 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
30118 |
fi |
|
30119 |
else |
|
30120 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
30121 |
fi |
|
30122 |
rm -f conftest.* |
|
30123 |
fi |
|
30124 |
;; |
|
30125 |
"blitz/cray/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/cray/bzconfig.h` |
|
30126 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
30127 |
ac_prefix_conf_PKG=`echo BZ` |
|
30128 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
30129 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
30130 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
30131 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30132 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
30133 |
case "$ac_file" in |
|
30134 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
30135 |
*) |
|
30136 |
esac |
|
30137 |
test ".$ac_prefix_conf_INP" != "." && break |
|
30138 |
done |
|
30139 |
fi |
|
30140 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30141 |
case "$ac_prefix_conf_OUT" in |
|
30142 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
30143 |
;; |
|
30144 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
30145 |
;; |
|
30146 |
*) ac_prefix_conf_INP=config.h |
|
30147 |
;; |
|
30148 |
esac |
|
30149 |
fi |
|
30150 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
30151 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
30152 |
else |
|
30153 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
30154 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
30155 |
fi fi |
|
30156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
30157 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
30158 |
if test -f $ac_prefix_conf_INP ; then |
|
30159 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
30160 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
30161 |
# the substition of upper-case macros |
|
30162 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
30163 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
30164 |
echo "#endif/" >>conftest.prefix |
|
30165 |
# the substition of lower-case macros |
|
30166 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
30167 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
30168 |
echo "#endif/" >> conftest.prefix |
|
30169 |
# now executing _script on _DEF input to create _OUT output file |
|
30170 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
30171 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
30172 |
echo ' ' >>$tmp/pconfig.h |
|
30173 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
30174 |
||
30175 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
30176 |
echo ' ' >>$tmp/pconfig.h |
|
30177 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
30178 |
echo "#endif" >>$tmp/pconfig.h |
|
30179 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
30180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
30181 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
30182 |
else |
|
30183 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
30184 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
30185 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
30186 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
30187 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
30188 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
30189 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
30190 |
s//\1/ |
|
30191 |
q |
|
30192 |
} |
|
30193 |
/^X\(\/\/\)[^/].*/{ |
|
30194 |
s//\1/ |
|
30195 |
q |
|
30196 |
} |
|
30197 |
/^X\(\/\/\)$/{ |
|
30198 |
s//\1/ |
|
30199 |
q |
|
30200 |
} |
|
30201 |
/^X\(\/\).*/{ |
|
30202 |
s//\1/ |
|
30203 |
q |
|
30204 |
} |
|
30205 |
s/.*/./; q'` |
|
30206 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
30207 |
rm -f "$ac_prefix_conf_OUT" |
|
30208 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
30209 |
fi |
|
30210 |
else |
|
30211 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
30212 |
fi |
|
30213 |
rm -f conftest.* |
|
30214 |
fi |
|
30215 |
;; |
|
30216 |
"blitz/fujitsu/bzconfig.h":C) ac_prefix_conf_OUT=`echo blitz/fujitsu/bzconfig.h` |
|
30217 |
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` |
|
30218 |
ac_prefix_conf_PKG=`echo BZ` |
|
30219 |
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` |
|
30220 |
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` |
|
30221 |
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'` |
|
30222 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30223 |
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue |
|
30224 |
case "$ac_file" in |
|
30225 |
*.h) ac_prefix_conf_INP=$ac_file ;; |
|
30226 |
*) |
|
30227 |
esac |
|
30228 |
test ".$ac_prefix_conf_INP" != "." && break |
|
30229 |
done |
|
30230 |
fi |
|
30231 |
if test ".$ac_prefix_conf_INP" = "."; then |
|
30232 |
case "$ac_prefix_conf_OUT" in |
|
30233 |
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` |
|
30234 |
;; |
|
30235 |
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` |
|
30236 |
;; |
|
30237 |
*) ac_prefix_conf_INP=config.h |
|
30238 |
;; |
|
30239 |
esac |
|
30240 |
fi |
|
30241 |
if test -z "$ac_prefix_conf_PKG" ; then |
|
30242 |
as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 |
|
30243 |
else |
|
30244 |
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then |
|
30245 |
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" |
|
30246 |
fi fi |
|
30247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 |
|
30248 |
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} |
|
30249 |
if test -f $ac_prefix_conf_INP ; then |
|
30250 |
echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix |
|
30251 |
echo "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix |
|
30252 |
# the substition of upper-case macros |
|
30253 |
echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix |
|
30254 |
echo "#define $ac_prefix_conf_UPP""_\\1\\2 \\" >> conftest.prefix |
|
30255 |
echo "#endif/" >>conftest.prefix |
|
30256 |
# the substition of lower-case macros |
|
30257 |
echo "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix |
|
30258 |
echo "#define $ac_prefix_conf_LOW""_\\1\\2 \\" >> conftest.prefix |
|
30259 |
echo "#endif/" >> conftest.prefix |
|
30260 |
# now executing _script on _DEF input to create _OUT output file |
|
30261 |
echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h |
|
30262 |
echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h |
|
30263 |
echo ' ' >>$tmp/pconfig.h |
|
30264 |
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h |
|
30265 |
||
30266 |
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h |
|
30267 |
echo ' ' >>$tmp/pconfig.h |
|
30268 |
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h |
|
30269 |
echo "#endif" >>$tmp/pconfig.h |
|
30270 |
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then |
|
30271 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 |
|
30272 |
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |
|
30273 |
else |
|
30274 |
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || |
|
30275 |
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
30276 |
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ |
|
30277 |
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ |
|
30278 |
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || |
|
30279 |
$as_echo X"$ac_prefix_conf_OUT" | |
|
30280 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
30281 |
s//\1/ |
|
30282 |
q |
|
30283 |
} |
|
30284 |
/^X\(\/\/\)[^/].*/{ |
|
30285 |
s//\1/ |
|
30286 |
q |
|
30287 |
} |
|
30288 |
/^X\(\/\/\)$/{ |
|
30289 |
s//\1/ |
|
30290 |
q |
|
30291 |
} |
|
30292 |
/^X\(\/\).*/{ |
|
30293 |
s//\1/ |
|
30294 |
q |
|
30295 |
} |
|
30296 |
s/.*/./; q'` |
|
30297 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
30298 |
rm -f "$ac_prefix_conf_OUT" |
|
30299 |
mv $tmp/pconfig.h "$ac_prefix_conf_OUT" |
|
30300 |
fi |
|
30301 |
else |
|
30302 |
as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 |
|
30303 |
fi |
|
30304 |
rm -f conftest.* |
|
30305 |
fi |
|
30306 |
;; |
|
30307 |
"libtool":C) |
|
30308 |
||
30309 |
# See if we are running on zsh, and set the options which allow our |
|
30310 |
# commands through without removal of \ escapes. |
|
30311 |
if test -n "${ZSH_VERSION+set}" ; then |
|
30312 |
setopt NO_GLOB_SUBST |
|
30313 |
fi |
|
30314 |
||
30315 |
cfgfile="${ofile}T" |
|
30316 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
30317 |
$RM "$cfgfile" |
|
30318 |
||
30319 |
cat <<_LT_EOF >> "$cfgfile" |
|
30320 |
#! $SHELL |
|
30321 |
||
30322 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
30323 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
30324 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
30325 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
30326 |
# |
|
30327 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
30328 |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
|
30329 |
# Inc. |
|
30330 |
# Written by Gordon Matzigkeit, 1996 |
|
30331 |
# |
|
30332 |
# This file is part of GNU Libtool. |
|
30333 |
# |
|
30334 |
# GNU Libtool is free software; you can redistribute it and/or |
|
30335 |
# modify it under the terms of the GNU General Public License as |
|
30336 |
# published by the Free Software Foundation; either version 2 of |
|
30337 |
# the License, or (at your option) any later version. |
|
30338 |
# |
|
30339 |
# As a special exception to the GNU General Public License, |
|
30340 |
# if you distribute this file as part of a program or library that |
|
30341 |
# is built using GNU Libtool, you may include this file under the |
|
30342 |
# same distribution terms that you use for the rest of that program. |
|
30343 |
# |
|
30344 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
30345 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
30346 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
30347 |
# GNU General Public License for more details. |
|
30348 |
# |
|
30349 |
# You should have received a copy of the GNU General Public License |
|
30350 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
30351 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
30352 |
# obtained by writing to the Free Software Foundation, Inc., |
|
30353 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
30354 |
||
30355 |
||
30356 |
# The names of the tagged configurations supported by this script. |
|
30357 |
available_tags="CXX F77 FC " |
|
30358 |
||
30359 |
# ### BEGIN LIBTOOL CONFIG |
|
30360 |
||
30361 |
# Whether or not to build shared libraries. |
|
30362 |
build_libtool_libs=$enable_shared |
|
30363 |
||
30364 |
# Which release of libtool.m4 was used? |
|
30365 |
macro_version=$macro_version |
|
30366 |
macro_revision=$macro_revision |
|
30367 |
||
30368 |
# Whether or not to build static libraries. |
|
30369 |
build_old_libs=$enable_static |
|
30370 |
||
30371 |
# What type of objects to build. |
|
30372 |
pic_mode=$pic_mode |
|
30373 |
||
30374 |
# Whether or not to optimize for fast installation. |
|
30375 |
fast_install=$enable_fast_install |
|
30376 |
||
30377 |
# Shell to use when invoking shell scripts. |
|
30378 |
SHELL=$lt_SHELL |
|
30379 |
||
30380 |
# An echo program that protects backslashes. |
|
30381 |
ECHO=$lt_ECHO |
|
30382 |
||
30383 |
# The host system. |
|
30384 |
host_alias=$host_alias |
|
30385 |
host=$host |
|
30386 |
host_os=$host_os |
|
30387 |
||
30388 |
# The build system. |
|
30389 |
build_alias=$build_alias |
|
30390 |
build=$build |
|
30391 |
build_os=$build_os |
|
30392 |
||
30393 |
# A sed program that does not truncate output. |
|
30394 |
SED=$lt_SED |
|
30395 |
||
30396 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
30397 |
Xsed="\$SED -e 1s/^X//" |
|
30398 |
||
30399 |
# A grep program that handles long lines. |
|
30400 |
GREP=$lt_GREP |
|
30401 |
||
30402 |
# An ERE matcher. |
|
30403 |
EGREP=$lt_EGREP |
|
30404 |
||
30405 |
# A literal string matcher. |
|
30406 |
FGREP=$lt_FGREP |
|
30407 |
||
30408 |
# A BSD- or MS-compatible name lister. |
|
30409 |
NM=$lt_NM |
|
30410 |
||
30411 |
# Whether we need soft or hard links. |
|
30412 |
LN_S=$lt_LN_S |
|
30413 |
||
30414 |
# What is the maximum length of a command? |
|
30415 |
max_cmd_len=$max_cmd_len |
|
30416 |
||
30417 |
# Object file suffix (normally "o"). |
|
30418 |
objext=$ac_objext |
|
30419 |
||
30420 |
# Executable file suffix (normally ""). |
|
30421 |
exeext=$exeext |
|
30422 |
||
30423 |
# whether the shell understands "unset". |
|
30424 |
lt_unset=$lt_unset |
|
30425 |
||
30426 |
# turn spaces into newlines. |
|
30427 |
SP2NL=$lt_lt_SP2NL |
|
30428 |
||
30429 |
# turn newlines into spaces. |
|
30430 |
NL2SP=$lt_lt_NL2SP |
|
30431 |
||
30432 |
# convert \$build file names to \$host format. |
|
30433 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
30434 |
||
30435 |
# convert \$build files to toolchain format. |
|
30436 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
30437 |
||
30438 |
# An object symbol dumper. |
|
30439 |
OBJDUMP=$lt_OBJDUMP |
|
30440 |
||
30441 |
# Method to check whether dependent libraries are shared objects. |
|
30442 |
deplibs_check_method=$lt_deplibs_check_method |
|
30443 |
||
30444 |
# Command to use when deplibs_check_method = "file_magic". |
|
30445 |
file_magic_cmd=$lt_file_magic_cmd |
|
30446 |
||
30447 |
# How to find potential files when deplibs_check_method = "file_magic". |
|
30448 |
file_magic_glob=$lt_file_magic_glob |
|
30449 |
||
30450 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
30451 |
want_nocaseglob=$lt_want_nocaseglob |
|
30452 |
||
30453 |
# DLL creation program. |
|
30454 |
DLLTOOL=$lt_DLLTOOL |
|
30455 |
||
30456 |
# Command to associate shared and link libraries. |
|
30457 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
30458 |
||
30459 |
# The archiver. |
|
30460 |
AR=$lt_AR |
|
30461 |
||
30462 |
# Flags to create an archive. |
|
30463 |
AR_FLAGS=$lt_AR_FLAGS |
|
30464 |
||
30465 |
# How to feed a file listing to the archiver. |
|
30466 |
archiver_list_spec=$lt_archiver_list_spec |
|
30467 |
||
30468 |
# A symbol stripping program. |
|
30469 |
STRIP=$lt_STRIP |
|
30470 |
||
30471 |
# Commands used to install an old-style archive. |
|
30472 |
RANLIB=$lt_RANLIB |
|
30473 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
30474 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
30475 |
||
30476 |
# Whether to use a lock for old archive extraction. |
|
30477 |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
30478 |
||
30479 |
# A C compiler. |
|
30480 |
LTCC=$lt_CC |
|
30481 |
||
30482 |
# LTCC compiler flags. |
|
30483 |
LTCFLAGS=$lt_CFLAGS |
|
30484 |
||
30485 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
30486 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
30487 |
||
30488 |
# Transform the output of nm in a proper C declaration. |
|
30489 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
30490 |
||
30491 |
# Transform the output of nm in a C name address pair. |
|
30492 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
30493 |
||
30494 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
30495 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
30496 |
||
30497 |
# Specify filename containing input files for \$NM. |
|
30498 |
nm_file_list_spec=$lt_nm_file_list_spec |
|
30499 |
||
30500 |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
30501 |
lt_sysroot=$lt_sysroot |
|
30502 |
||
30503 |
# The name of the directory that contains temporary libtool files. |
|
30504 |
objdir=$objdir |
|
30505 |
||
30506 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
30507 |
MAGIC_CMD=$MAGIC_CMD |
|
30508 |
||
30509 |
# Must we lock files when doing compilation? |
|
30510 |
need_locks=$lt_need_locks |
|
30511 |
||
30512 |
# Manifest tool. |
|
30513 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
30514 |
||
30515 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
|
30516 |
DSYMUTIL=$lt_DSYMUTIL |
|
30517 |
||
30518 |
# Tool to change global to local symbols on Mac OS X. |
|
30519 |
NMEDIT=$lt_NMEDIT |
|
30520 |
||
30521 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
30522 |
LIPO=$lt_LIPO |
|
30523 |
||
30524 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
30525 |
OTOOL=$lt_OTOOL |
|
30526 |
||
30527 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
30528 |
OTOOL64=$lt_OTOOL64 |
|
30529 |
||
30530 |
# Old archive suffix (normally "a"). |
|
30531 |
libext=$libext |
|
30532 |
||
30533 |
# Shared library suffix (normally ".so"). |
|
30534 |
shrext_cmds=$lt_shrext_cmds |
|
30535 |
||
30536 |
# The commands to extract the exported symbol list from a shared archive. |
|
30537 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
30538 |
||
30539 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
30540 |
# restored at link time. |
|
30541 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
30542 |
||
30543 |
# Do we need the "lib" prefix for modules? |
|
30544 |
need_lib_prefix=$need_lib_prefix |
|
30545 |
||
30546 |
# Do we need a version for libraries? |
|
30547 |
need_version=$need_version |
|
30548 |
||
30549 |
# Library versioning type. |
|
30550 |
version_type=$version_type |
|
30551 |
||
30552 |
# Shared library runtime path variable. |
|
30553 |
runpath_var=$runpath_var |
|
30554 |
||
30555 |
# Shared library path variable. |
|
30556 |
shlibpath_var=$shlibpath_var |
|
30557 |
||
30558 |
# Is shlibpath searched before the hard-coded library search path? |
|
30559 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
30560 |
||
30561 |
# Format of library name prefix. |
|
30562 |
libname_spec=$lt_libname_spec |
|
30563 |
||
30564 |
# List of archive names. First name is the real one, the rest are links. |
|
30565 |
# The last name is the one that the linker finds with -lNAME |
|
30566 |
library_names_spec=$lt_library_names_spec |
|
30567 |
||
30568 |
# The coded name of the library, if different from the real name. |
|
30569 |
soname_spec=$lt_soname_spec |
|
30570 |
||
30571 |
# Permission mode override for installation of shared libraries. |
|
30572 |
install_override_mode=$lt_install_override_mode |
|
30573 |
||
30574 |
# Command to use after installation of a shared archive. |
|
30575 |
postinstall_cmds=$lt_postinstall_cmds |
|
30576 |
||
30577 |
# Command to use after uninstallation of a shared archive. |
|
30578 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
30579 |
||
30580 |
# Commands used to finish a libtool library installation in a directory. |
|
30581 |
finish_cmds=$lt_finish_cmds |
|
30582 |
||
30583 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
30584 |
# not shown. |
|
30585 |
finish_eval=$lt_finish_eval |
|
30586 |
||
30587 |
# Whether we should hardcode library paths into libraries. |
|
30588 |
hardcode_into_libs=$hardcode_into_libs |
|
30589 |
||
30590 |
# Compile-time system search path for libraries. |
|
30591 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
30592 |
||
30593 |
# Run-time system search path for libraries. |
|
30594 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
30595 |
||
30596 |
# Whether dlopen is supported. |
|
30597 |
dlopen_support=$enable_dlopen |
|
30598 |
||
30599 |
# Whether dlopen of programs is supported. |
|
30600 |
dlopen_self=$enable_dlopen_self |
|
30601 |
||
30602 |
# Whether dlopen of statically linked programs is supported. |
|
30603 |
dlopen_self_static=$enable_dlopen_self_static |
|
30604 |
||
30605 |
# Commands to strip libraries. |
|
30606 |
old_striplib=$lt_old_striplib |
|
30607 |
striplib=$lt_striplib |
|
30608 |
||
30609 |
||
30610 |
# The linker used to build libraries. |
|
30611 |
LD=$lt_LD |
|
30612 |
||
30613 |
# How to create reloadable object files. |
|
30614 |
reload_flag=$lt_reload_flag |
|
30615 |
reload_cmds=$lt_reload_cmds |
|
30616 |
||
30617 |
# Commands used to build an old-style archive. |
|
30618 |
old_archive_cmds=$lt_old_archive_cmds |
|
30619 |
||
30620 |
# A language specific compiler. |
|
30621 |
CC=$lt_compiler |
|
30622 |
||
30623 |
# Is the compiler the GNU compiler? |
|
30624 |
with_gcc=$GCC |
|
30625 |
||
30626 |
# Compiler flag to turn off builtin functions. |
|
30627 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
30628 |
||
30629 |
# Additional compiler flags for building library objects. |
|
30630 |
pic_flag=$lt_lt_prog_compiler_pic |
|
30631 |
||
30632 |
# How to pass a linker flag through the compiler. |
|
30633 |
wl=$lt_lt_prog_compiler_wl |
|
30634 |
||
30635 |
# Compiler flag to prevent dynamic linking. |
|
30636 |
link_static_flag=$lt_lt_prog_compiler_static |
|
30637 |
||
30638 |
# Does compiler simultaneously support -c and -o options? |
|
30639 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
30640 |
||
30641 |
# Whether or not to add -lc for building shared libraries. |
|
30642 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
30643 |
||
30644 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
30645 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
30646 |
||
30647 |
# Compiler flag to allow reflexive dlopens. |
|
30648 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
30649 |
||
30650 |
# Compiler flag to generate shared objects directly from archives. |
|
30651 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
30652 |
||
30653 |
# Whether the compiler copes with passing no objects directly. |
|
30654 |
compiler_needs_object=$lt_compiler_needs_object |
|
30655 |
||
30656 |
# Create an old-style archive from a shared archive. |
|
30657 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
30658 |
||
30659 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
30660 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
30661 |
||
30662 |
# Commands used to build a shared archive. |
|
30663 |
archive_cmds=$lt_archive_cmds |
|
30664 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
30665 |
||
30666 |
# Commands used to build a loadable module if different from building |
|
30667 |
# a shared archive. |
|
30668 |
module_cmds=$lt_module_cmds |
|
30669 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
30670 |
||
30671 |
# Whether we are building with GNU ld or not. |
|
30672 |
with_gnu_ld=$lt_with_gnu_ld |
|
30673 |
||
30674 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
30675 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
30676 |
||
30677 |
# Flag that enforces no undefined symbols. |
|
30678 |
no_undefined_flag=$lt_no_undefined_flag |
|
30679 |
||
30680 |
# Flag to hardcode \$libdir into a binary during linking. |
|
30681 |
# This must work even if \$libdir does not exist |
|
30682 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
30683 |
||
30684 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
30685 |
# during linking. This must work even if \$libdir does not exist. |
|
30686 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
30687 |
||
30688 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
30689 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
30690 |
||
30691 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
30692 |
# DIR into the resulting binary. |
|
30693 |
hardcode_direct=$hardcode_direct |
|
30694 |
||
30695 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
30696 |
# DIR into the resulting binary and the resulting library dependency is |
|
30697 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
30698 |
# library is relocated. |
|
30699 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
30700 |
||
30701 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
30702 |
# into the resulting binary. |
|
30703 |
hardcode_minus_L=$hardcode_minus_L |
|
30704 |
||
30705 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
30706 |
# into the resulting binary. |
|
30707 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
30708 |
||
30709 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
30710 |
# into the library and all subsequent libraries and executables linked |
|
30711 |
# against it. |
|
30712 |
hardcode_automatic=$hardcode_automatic |
|
30713 |
||
30714 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
30715 |
# to runtime path list. |
|
30716 |
inherit_rpath=$inherit_rpath |
|
30717 |
||
30718 |
# Whether libtool must link a program against all its dependency libraries. |
|
30719 |
link_all_deplibs=$link_all_deplibs |
|
30720 |
||
30721 |
# Set to "yes" if exported symbols are required. |
|
30722 |
always_export_symbols=$always_export_symbols |
|
30723 |
||
30724 |
# The commands to list exported symbols. |
|
30725 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
30726 |
||
30727 |
# Symbols that should not be listed in the preloaded symbols. |
|
30728 |
exclude_expsyms=$lt_exclude_expsyms |
|
30729 |
||
30730 |
# Symbols that must always be exported. |
|
30731 |
include_expsyms=$lt_include_expsyms |
|
30732 |
||
30733 |
# Commands necessary for linking programs (against libraries) with templates. |
|
30734 |
prelink_cmds=$lt_prelink_cmds |
|
30735 |
||
30736 |
# Commands necessary for finishing linking programs. |
|
30737 |
postlink_cmds=$lt_postlink_cmds |
|
30738 |
||
30739 |
# Specify filename containing input files. |
|
30740 |
file_list_spec=$lt_file_list_spec |
|
30741 |
||
30742 |
# How to hardcode a shared library path into an executable. |
|
30743 |
hardcode_action=$hardcode_action |
|
30744 |
||
30745 |
# The directories searched by this compiler when creating a shared library. |
|
30746 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
30747 |
||
30748 |
# Dependencies to place before and after the objects being linked to |
|
30749 |
# create a shared library. |
|
30750 |
predep_objects=$lt_predep_objects |
|
30751 |
postdep_objects=$lt_postdep_objects |
|
30752 |
predeps=$lt_predeps |
|
30753 |
postdeps=$lt_postdeps |
|
30754 |
||
30755 |
# The library search path used internally by the compiler when linking |
|
30756 |
# a shared library. |
|
30757 |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
30758 |
||
30759 |
# ### END LIBTOOL CONFIG |
|
30760 |
||
30761 |
_LT_EOF |
|
30762 |
||
30763 |
case $host_os in |
|
30764 |
aix3*) |
|
30765 |
cat <<\_LT_EOF >> "$cfgfile" |
|
30766 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
30767 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
30768 |
# vanish in a puff of smoke. |
|
30769 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
30770 |
COLLECT_NAMES= |
|
30771 |
export COLLECT_NAMES |
|
30772 |
fi |
|
30773 |
_LT_EOF |
|
30774 |
;; |
|
30775 |
esac |
|
30776 |
||
30777 |
||
30778 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
30779 |
||
30780 |
||
30781 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
30782 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
30783 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
30784 |
# is reportedly fixed, but why not run on old versions too? |
|
30785 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
|
30786 |
|| (rm -f "$cfgfile"; exit 1) |
|
30787 |
||
30788 |
if test x"$xsi_shell" = xyes; then |
|
30789 |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
|
30790 |
func_dirname ()\ |
|
30791 |
{\ |
|
30792 |
\ case ${1} in\ |
|
30793 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
30794 |
\ * ) func_dirname_result="${3}" ;;\ |
|
30795 |
\ esac\ |
|
30796 |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30797 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30798 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30799 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30800 |
||
30801 |
||
30802 |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
|
30803 |
func_basename ()\ |
|
30804 |
{\ |
|
30805 |
\ func_basename_result="${1##*/}"\ |
|
30806 |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30807 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30808 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30809 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30810 |
||
30811 |
||
30812 |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
|
30813 |
func_dirname_and_basename ()\ |
|
30814 |
{\ |
|
30815 |
\ case ${1} in\ |
|
30816 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
30817 |
\ * ) func_dirname_result="${3}" ;;\ |
|
30818 |
\ esac\ |
|
30819 |
\ func_basename_result="${1##*/}"\ |
|
30820 |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30821 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30822 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30823 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30824 |
||
30825 |
||
30826 |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
|
30827 |
func_stripname ()\ |
|
30828 |
{\ |
|
30829 |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
|
30830 |
\ # positional parameters, so assign one to ordinary parameter first.\ |
|
30831 |
\ func_stripname_result=${3}\ |
|
30832 |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
|
30833 |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
|
30834 |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30835 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30836 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30837 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30838 |
||
30839 |
||
30840 |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
|
30841 |
func_split_long_opt ()\ |
|
30842 |
{\ |
|
30843 |
\ func_split_long_opt_name=${1%%=*}\ |
|
30844 |
\ func_split_long_opt_arg=${1#*=}\ |
|
30845 |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30846 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30847 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30848 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30849 |
||
30850 |
||
30851 |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
|
30852 |
func_split_short_opt ()\ |
|
30853 |
{\ |
|
30854 |
\ func_split_short_opt_arg=${1#??}\ |
|
30855 |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
|
30856 |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30857 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30858 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30859 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30860 |
||
30861 |
||
30862 |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
|
30863 |
func_lo2o ()\ |
|
30864 |
{\ |
|
30865 |
\ case ${1} in\ |
|
30866 |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
|
30867 |
\ *) func_lo2o_result=${1} ;;\ |
|
30868 |
\ esac\ |
|
30869 |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30870 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30871 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30872 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30873 |
||
30874 |
||
30875 |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
|
30876 |
func_xform ()\ |
|
30877 |
{\ |
|
30878 |
func_xform_result=${1%.*}.lo\ |
|
30879 |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30880 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30881 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30882 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30883 |
||
30884 |
||
30885 |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
|
30886 |
func_arith ()\ |
|
30887 |
{\ |
|
30888 |
func_arith_result=$(( $* ))\ |
|
30889 |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30890 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30891 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30892 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30893 |
||
30894 |
||
30895 |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
|
30896 |
func_len ()\ |
|
30897 |
{\ |
|
30898 |
func_len_result=${#1}\ |
|
30899 |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30900 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30901 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30902 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30903 |
||
30904 |
fi |
|
30905 |
||
30906 |
if test x"$lt_shell_append" = xyes; then |
|
30907 |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
|
30908 |
func_append ()\ |
|
30909 |
{\ |
|
30910 |
eval "${1}+=\\${2}"\ |
|
30911 |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30912 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30913 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30914 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30915 |
||
30916 |
||
30917 |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
|
30918 |
func_append_quoted ()\ |
|
30919 |
{\ |
|
30920 |
\ func_quote_for_eval "${2}"\ |
|
30921 |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
|
30922 |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
|
30923 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30924 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30925 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30926 |
||
30927 |
||
30928 |
# Save a `func_append' function call where possible by direct use of '+=' |
|
30929 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
|
30930 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30931 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30932 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30933 |
else |
|
30934 |
# Save a `func_append' function call even when '+=' is not available |
|
30935 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
|
30936 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
30937 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
30938 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
30939 |
fi |
|
30940 |
||
30941 |
if test x"$_lt_function_replace_fail" = x":"; then |
|
30942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
|
30943 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
|
30944 |
fi |
|
30945 |
||
30946 |
||
30947 |
mv -f "$cfgfile" "$ofile" || |
|
30948 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
30949 |
chmod +x "$ofile" |
|
30950 |
||
30951 |
||
30952 |
cat <<_LT_EOF >> "$ofile" |
|
30953 |
||
30954 |
# ### BEGIN LIBTOOL TAG CONFIG: CXX |
|
30955 |
||
30956 |
# The linker used to build libraries. |
|
30957 |
LD=$lt_LD_CXX |
|
30958 |
||
30959 |
# How to create reloadable object files. |
|
30960 |
reload_flag=$lt_reload_flag_CXX |
|
30961 |
reload_cmds=$lt_reload_cmds_CXX |
|
30962 |
||
30963 |
# Commands used to build an old-style archive. |
|
30964 |
old_archive_cmds=$lt_old_archive_cmds_CXX |
|
30965 |
||
30966 |
# A language specific compiler. |
|
30967 |
CC=$lt_compiler_CXX |
|
30968 |
||
30969 |
# Is the compiler the GNU compiler? |
|
30970 |
with_gcc=$GCC_CXX |
|
30971 |
||
30972 |
# Compiler flag to turn off builtin functions. |
|
30973 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
30974 |
||
30975 |
# Additional compiler flags for building library objects. |
|
30976 |
pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
30977 |
||
30978 |
# How to pass a linker flag through the compiler. |
|
30979 |
wl=$lt_lt_prog_compiler_wl_CXX |
|
30980 |
||
30981 |
# Compiler flag to prevent dynamic linking. |
|
30982 |
link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
30983 |
||
30984 |
# Does compiler simultaneously support -c and -o options? |
|
30985 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
30986 |
||
30987 |
# Whether or not to add -lc for building shared libraries. |
|
30988 |
build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
30989 |
||
30990 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
30991 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
30992 |
||
30993 |
# Compiler flag to allow reflexive dlopens. |
|
30994 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
30995 |
||
30996 |
# Compiler flag to generate shared objects directly from archives. |
|
30997 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
30998 |
||
30999 |
# Whether the compiler copes with passing no objects directly. |
|
31000 |
compiler_needs_object=$lt_compiler_needs_object_CXX |
|
31001 |
||
31002 |
# Create an old-style archive from a shared archive. |
|
31003 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
31004 |
||
31005 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
31006 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
31007 |
||
31008 |
# Commands used to build a shared archive. |
|
31009 |
archive_cmds=$lt_archive_cmds_CXX |
|
31010 |
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
31011 |
||
31012 |
# Commands used to build a loadable module if different from building |
|
31013 |
# a shared archive. |
|
31014 |
module_cmds=$lt_module_cmds_CXX |
|
31015 |
module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
31016 |
||
31017 |
# Whether we are building with GNU ld or not. |
|
31018 |
with_gnu_ld=$lt_with_gnu_ld_CXX |
|
31019 |
||
31020 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
31021 |
allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
31022 |
||
31023 |
# Flag that enforces no undefined symbols. |
|
31024 |
no_undefined_flag=$lt_no_undefined_flag_CXX |
|
31025 |
||
31026 |
# Flag to hardcode \$libdir into a binary during linking. |
|
31027 |
# This must work even if \$libdir does not exist |
|
31028 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
31029 |
||
31030 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
31031 |
# during linking. This must work even if \$libdir does not exist. |
|
31032 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
|
31033 |
||
31034 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
31035 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
31036 |
||
31037 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31038 |
# DIR into the resulting binary. |
|
31039 |
hardcode_direct=$hardcode_direct_CXX |
|
31040 |
||
31041 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31042 |
# DIR into the resulting binary and the resulting library dependency is |
|
31043 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
31044 |
# library is relocated. |
|
31045 |
hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
|
31046 |
||
31047 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
31048 |
# into the resulting binary. |
|
31049 |
hardcode_minus_L=$hardcode_minus_L_CXX |
|
31050 |
||
31051 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
31052 |
# into the resulting binary. |
|
31053 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
|
31054 |
||
31055 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
31056 |
# into the library and all subsequent libraries and executables linked |
|
31057 |
# against it. |
|
31058 |
hardcode_automatic=$hardcode_automatic_CXX |
|
31059 |
||
31060 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
31061 |
# to runtime path list. |
|
31062 |
inherit_rpath=$inherit_rpath_CXX |
|
31063 |
||
31064 |
# Whether libtool must link a program against all its dependency libraries. |
|
31065 |
link_all_deplibs=$link_all_deplibs_CXX |
|
31066 |
||
31067 |
# Set to "yes" if exported symbols are required. |
|
31068 |
always_export_symbols=$always_export_symbols_CXX |
|
31069 |
||
31070 |
# The commands to list exported symbols. |
|
31071 |
export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
31072 |
||
31073 |
# Symbols that should not be listed in the preloaded symbols. |
|
31074 |
exclude_expsyms=$lt_exclude_expsyms_CXX |
|
31075 |
||
31076 |
# Symbols that must always be exported. |
|
31077 |
include_expsyms=$lt_include_expsyms_CXX |
|
31078 |
||
31079 |
# Commands necessary for linking programs (against libraries) with templates. |
|
31080 |
prelink_cmds=$lt_prelink_cmds_CXX |
|
31081 |
||
31082 |
# Commands necessary for finishing linking programs. |
|
31083 |
postlink_cmds=$lt_postlink_cmds_CXX |
|
31084 |
||
31085 |
# Specify filename containing input files. |
|
31086 |
file_list_spec=$lt_file_list_spec_CXX |
|
31087 |
||
31088 |
# How to hardcode a shared library path into an executable. |
|
31089 |
hardcode_action=$hardcode_action_CXX |
|
31090 |
||
31091 |
# The directories searched by this compiler when creating a shared library. |
|
31092 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
|
31093 |
||
31094 |
# Dependencies to place before and after the objects being linked to |
|
31095 |
# create a shared library. |
|
31096 |
predep_objects=$lt_predep_objects_CXX |
|
31097 |
postdep_objects=$lt_postdep_objects_CXX |
|
31098 |
predeps=$lt_predeps_CXX |
|
31099 |
postdeps=$lt_postdeps_CXX |
|
31100 |
||
31101 |
# The library search path used internally by the compiler when linking |
|
31102 |
# a shared library. |
|
31103 |
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
31104 |
||
31105 |
# ### END LIBTOOL TAG CONFIG: CXX |
|
31106 |
_LT_EOF |
|
31107 |
||
31108 |
||
31109 |
cat <<_LT_EOF >> "$ofile" |
|
31110 |
||
31111 |
# ### BEGIN LIBTOOL TAG CONFIG: F77 |
|
31112 |
||
31113 |
# The linker used to build libraries. |
|
31114 |
LD=$lt_LD_F77 |
|
31115 |
||
31116 |
# How to create reloadable object files. |
|
31117 |
reload_flag=$lt_reload_flag_F77 |
|
31118 |
reload_cmds=$lt_reload_cmds_F77 |
|
31119 |
||
31120 |
# Commands used to build an old-style archive. |
|
31121 |
old_archive_cmds=$lt_old_archive_cmds_F77 |
|
31122 |
||
31123 |
# A language specific compiler. |
|
31124 |
CC=$lt_compiler_F77 |
|
31125 |
||
31126 |
# Is the compiler the GNU compiler? |
|
31127 |
with_gcc=$GCC_F77 |
|
31128 |
||
31129 |
# Compiler flag to turn off builtin functions. |
|
31130 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 |
|
31131 |
||
31132 |
# Additional compiler flags for building library objects. |
|
31133 |
pic_flag=$lt_lt_prog_compiler_pic_F77 |
|
31134 |
||
31135 |
# How to pass a linker flag through the compiler. |
|
31136 |
wl=$lt_lt_prog_compiler_wl_F77 |
|
31137 |
||
31138 |
# Compiler flag to prevent dynamic linking. |
|
31139 |
link_static_flag=$lt_lt_prog_compiler_static_F77 |
|
31140 |
||
31141 |
# Does compiler simultaneously support -c and -o options? |
|
31142 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
|
31143 |
||
31144 |
# Whether or not to add -lc for building shared libraries. |
|
31145 |
build_libtool_need_lc=$archive_cmds_need_lc_F77 |
|
31146 |
||
31147 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
31148 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 |
|
31149 |
||
31150 |
# Compiler flag to allow reflexive dlopens. |
|
31151 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 |
|
31152 |
||
31153 |
# Compiler flag to generate shared objects directly from archives. |
|
31154 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 |
|
31155 |
||
31156 |
# Whether the compiler copes with passing no objects directly. |
|
31157 |
compiler_needs_object=$lt_compiler_needs_object_F77 |
|
31158 |
||
31159 |
# Create an old-style archive from a shared archive. |
|
31160 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 |
|
31161 |
||
31162 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
31163 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 |
|
31164 |
||
31165 |
# Commands used to build a shared archive. |
|
31166 |
archive_cmds=$lt_archive_cmds_F77 |
|
31167 |
archive_expsym_cmds=$lt_archive_expsym_cmds_F77 |
|
31168 |
||
31169 |
# Commands used to build a loadable module if different from building |
|
31170 |
# a shared archive. |
|
31171 |
module_cmds=$lt_module_cmds_F77 |
|
31172 |
module_expsym_cmds=$lt_module_expsym_cmds_F77 |
|
31173 |
||
31174 |
# Whether we are building with GNU ld or not. |
|
31175 |
with_gnu_ld=$lt_with_gnu_ld_F77 |
|
31176 |
||
31177 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
31178 |
allow_undefined_flag=$lt_allow_undefined_flag_F77 |
|
31179 |
||
31180 |
# Flag that enforces no undefined symbols. |
|
31181 |
no_undefined_flag=$lt_no_undefined_flag_F77 |
|
31182 |
||
31183 |
# Flag to hardcode \$libdir into a binary during linking. |
|
31184 |
# This must work even if \$libdir does not exist |
|
31185 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 |
|
31186 |
||
31187 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
31188 |
# during linking. This must work even if \$libdir does not exist. |
|
31189 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 |
|
31190 |
||
31191 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
31192 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 |
|
31193 |
||
31194 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31195 |
# DIR into the resulting binary. |
|
31196 |
hardcode_direct=$hardcode_direct_F77 |
|
31197 |
||
31198 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31199 |
# DIR into the resulting binary and the resulting library dependency is |
|
31200 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
31201 |
# library is relocated. |
|
31202 |
hardcode_direct_absolute=$hardcode_direct_absolute_F77 |
|
31203 |
||
31204 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
31205 |
# into the resulting binary. |
|
31206 |
hardcode_minus_L=$hardcode_minus_L_F77 |
|
31207 |
||
31208 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
31209 |
# into the resulting binary. |
|
31210 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 |
|
31211 |
||
31212 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
31213 |
# into the library and all subsequent libraries and executables linked |
|
31214 |
# against it. |
|
31215 |
hardcode_automatic=$hardcode_automatic_F77 |
|
31216 |
||
31217 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
31218 |
# to runtime path list. |
|
31219 |
inherit_rpath=$inherit_rpath_F77 |
|
31220 |
||
31221 |
# Whether libtool must link a program against all its dependency libraries. |
|
31222 |
link_all_deplibs=$link_all_deplibs_F77 |
|
31223 |
||
31224 |
# Set to "yes" if exported symbols are required. |
|
31225 |
always_export_symbols=$always_export_symbols_F77 |
|
31226 |
||
31227 |
# The commands to list exported symbols. |
|
31228 |
export_symbols_cmds=$lt_export_symbols_cmds_F77 |
|
31229 |
||
31230 |
# Symbols that should not be listed in the preloaded symbols. |
|
31231 |
exclude_expsyms=$lt_exclude_expsyms_F77 |
|
31232 |
||
31233 |
# Symbols that must always be exported. |
|
31234 |
include_expsyms=$lt_include_expsyms_F77 |
|
31235 |
||
31236 |
# Commands necessary for linking programs (against libraries) with templates. |
|
31237 |
prelink_cmds=$lt_prelink_cmds_F77 |
|
31238 |
||
31239 |
# Commands necessary for finishing linking programs. |
|
31240 |
postlink_cmds=$lt_postlink_cmds_F77 |
|
31241 |
||
31242 |
# Specify filename containing input files. |
|
31243 |
file_list_spec=$lt_file_list_spec_F77 |
|
31244 |
||
31245 |
# How to hardcode a shared library path into an executable. |
|
31246 |
hardcode_action=$hardcode_action_F77 |
|
31247 |
||
31248 |
# The directories searched by this compiler when creating a shared library. |
|
31249 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 |
|
31250 |
||
31251 |
# Dependencies to place before and after the objects being linked to |
|
31252 |
# create a shared library. |
|
31253 |
predep_objects=$lt_predep_objects_F77 |
|
31254 |
postdep_objects=$lt_postdep_objects_F77 |
|
31255 |
predeps=$lt_predeps_F77 |
|
31256 |
postdeps=$lt_postdeps_F77 |
|
31257 |
||
31258 |
# The library search path used internally by the compiler when linking |
|
31259 |
# a shared library. |
|
31260 |
compiler_lib_search_path=$lt_compiler_lib_search_path_F77 |
|
31261 |
||
31262 |
# ### END LIBTOOL TAG CONFIG: F77 |
|
31263 |
_LT_EOF |
|
31264 |
||
31265 |
||
31266 |
cat <<_LT_EOF >> "$ofile" |
|
31267 |
||
31268 |
# ### BEGIN LIBTOOL TAG CONFIG: FC |
|
31269 |
||
31270 |
# The linker used to build libraries. |
|
31271 |
LD=$lt_LD_FC |
|
31272 |
||
31273 |
# How to create reloadable object files. |
|
31274 |
reload_flag=$lt_reload_flag_FC |
|
31275 |
reload_cmds=$lt_reload_cmds_FC |
|
31276 |
||
31277 |
# Commands used to build an old-style archive. |
|
31278 |
old_archive_cmds=$lt_old_archive_cmds_FC |
|
31279 |
||
31280 |
# A language specific compiler. |
|
31281 |
CC=$lt_compiler_FC |
|
31282 |
||
31283 |
# Is the compiler the GNU compiler? |
|
31284 |
with_gcc=$GCC_FC |
|
31285 |
||
31286 |
# Compiler flag to turn off builtin functions. |
|
31287 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC |
|
31288 |
||
31289 |
# Additional compiler flags for building library objects. |
|
31290 |
pic_flag=$lt_lt_prog_compiler_pic_FC |
|
31291 |
||
31292 |
# How to pass a linker flag through the compiler. |
|
31293 |
wl=$lt_lt_prog_compiler_wl_FC |
|
31294 |
||
31295 |
# Compiler flag to prevent dynamic linking. |
|
31296 |
link_static_flag=$lt_lt_prog_compiler_static_FC |
|
31297 |
||
31298 |
# Does compiler simultaneously support -c and -o options? |
|
31299 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC |
|
31300 |
||
31301 |
# Whether or not to add -lc for building shared libraries. |
|
31302 |
build_libtool_need_lc=$archive_cmds_need_lc_FC |
|
31303 |
||
31304 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
31305 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC |
|
31306 |
||
31307 |
# Compiler flag to allow reflexive dlopens. |
|
31308 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC |
|
31309 |
||
31310 |
# Compiler flag to generate shared objects directly from archives. |
|
31311 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC |
|
31312 |
||
31313 |
# Whether the compiler copes with passing no objects directly. |
|
31314 |
compiler_needs_object=$lt_compiler_needs_object_FC |
|
31315 |
||
31316 |
# Create an old-style archive from a shared archive. |
|
31317 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC |
|
31318 |
||
31319 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
31320 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC |
|
31321 |
||
31322 |
# Commands used to build a shared archive. |
|
31323 |
archive_cmds=$lt_archive_cmds_FC |
|
31324 |
archive_expsym_cmds=$lt_archive_expsym_cmds_FC |
|
31325 |
||
31326 |
# Commands used to build a loadable module if different from building |
|
31327 |
# a shared archive. |
|
31328 |
module_cmds=$lt_module_cmds_FC |
|
31329 |
module_expsym_cmds=$lt_module_expsym_cmds_FC |
|
31330 |
||
31331 |
# Whether we are building with GNU ld or not. |
|
31332 |
with_gnu_ld=$lt_with_gnu_ld_FC |
|
31333 |
||
31334 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
31335 |
allow_undefined_flag=$lt_allow_undefined_flag_FC |
|
31336 |
||
31337 |
# Flag that enforces no undefined symbols. |
|
31338 |
no_undefined_flag=$lt_no_undefined_flag_FC |
|
31339 |
||
31340 |
# Flag to hardcode \$libdir into a binary during linking. |
|
31341 |
# This must work even if \$libdir does not exist |
|
31342 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC |
|
31343 |
||
31344 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
31345 |
# during linking. This must work even if \$libdir does not exist. |
|
31346 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC |
|
31347 |
||
31348 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
31349 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC |
|
31350 |
||
31351 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31352 |
# DIR into the resulting binary. |
|
31353 |
hardcode_direct=$hardcode_direct_FC |
|
31354 |
||
31355 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
31356 |
# DIR into the resulting binary and the resulting library dependency is |
|
31357 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
31358 |
# library is relocated. |
|
31359 |
hardcode_direct_absolute=$hardcode_direct_absolute_FC |
|
31360 |
||
31361 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
31362 |
# into the resulting binary. |
|
31363 |
hardcode_minus_L=$hardcode_minus_L_FC |
|
31364 |
||
31365 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
31366 |
# into the resulting binary. |
|
31367 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_FC |
|
31368 |
||
31369 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
31370 |
# into the library and all subsequent libraries and executables linked |
|
31371 |
# against it. |
|
31372 |
hardcode_automatic=$hardcode_automatic_FC |
|
31373 |
||
31374 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
31375 |
# to runtime path list. |
|
31376 |
inherit_rpath=$inherit_rpath_FC |
|
31377 |
||
31378 |
# Whether libtool must link a program against all its dependency libraries. |
|
31379 |
link_all_deplibs=$link_all_deplibs_FC |
|
31380 |
||
31381 |
# Set to "yes" if exported symbols are required. |
|
31382 |
always_export_symbols=$always_export_symbols_FC |
|
31383 |
||
31384 |
# The commands to list exported symbols. |
|
31385 |
export_symbols_cmds=$lt_export_symbols_cmds_FC |
|
31386 |
||
31387 |
# Symbols that should not be listed in the preloaded symbols. |
|
31388 |
exclude_expsyms=$lt_exclude_expsyms_FC |
|
31389 |
||
31390 |
# Symbols that must always be exported. |
|
31391 |
include_expsyms=$lt_include_expsyms_FC |
|
31392 |
||
31393 |
# Commands necessary for linking programs (against libraries) with templates. |
|
31394 |
prelink_cmds=$lt_prelink_cmds_FC |
|
31395 |
||
31396 |
# Commands necessary for finishing linking programs. |
|
31397 |
postlink_cmds=$lt_postlink_cmds_FC |
|
31398 |
||
31399 |
# Specify filename containing input files. |
|
31400 |
file_list_spec=$lt_file_list_spec_FC |
|
31401 |
||
31402 |
# How to hardcode a shared library path into an executable. |
|
31403 |
hardcode_action=$hardcode_action_FC |
|
31404 |
||
31405 |
# The directories searched by this compiler when creating a shared library. |
|
31406 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC |
|
31407 |
||
31408 |
# Dependencies to place before and after the objects being linked to |
|
31409 |
# create a shared library. |
|
31410 |
predep_objects=$lt_predep_objects_FC |
|
31411 |
postdep_objects=$lt_postdep_objects_FC |
|
31412 |
predeps=$lt_predeps_FC |
|
31413 |
postdeps=$lt_postdeps_FC |
|
31414 |
||
31415 |
# The library search path used internally by the compiler when linking |
|
31416 |
# a shared library. |
|
31417 |
compiler_lib_search_path=$lt_compiler_lib_search_path_FC |
|
31418 |
||
31419 |
# ### END LIBTOOL TAG CONFIG: FC |
|
31420 |
_LT_EOF |
|
31421 |
||
31422 |
;; |
|
31423 |
"$ax_create_pkgconfig_generate":C) |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31424 |
pkgconfig_generate="$ax_create_pkgconfig_generate" |
31425 |
if test ! -f "$pkgconfig_generate.in" |
|
31426 |
then generate="true" |
|
31427 |
elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null |
|
31428 |
then generate="true" |
|
31429 |
else generate="false"; |
|
31430 |
fi |
|
31431 |
if $generate ; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31432 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5 |
31433 |
$as_echo "$as_me: creating $pkgconfig_generate.in" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31434 |
cat > $pkgconfig_generate.in <<_EOF |
31435 |
# generated by configure / remove this line to disable regeneration |
|
31436 |
prefix=@prefix@ |
|
31437 |
exec_prefix=@exec_prefix@ |
|
31438 |
libdir=@libdir@ |
|
31439 |
includedir=@includedir@ |
|
31440 |
||
31441 |
Name: @PACKAGE_NAME@ |
|
31442 |
Description: @PACKAGE_DESCRIPTION@ |
|
31443 |
Version: @PACKAGE_VERSION@ |
|
31444 |
Requires: @PACKAGE_REQUIRES@ |
|
31445 |
Libs: -L\${libdir} @LIBS@ |
|
31446 |
Cflags: -I\${includedir} @CPPFLAGS@ |
|
31447 |
_EOF |
|
31448 |
fi # DONE generate $pkgconfig_generate.in |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5 |
31450 |
$as_echo "$as_me: creating $pkgconfig_generate" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31451 |
sed -e "s|@prefix@|${pkgconfig_prefix}|" \ |
31452 |
-e "s|@exec_prefix@|${pkgconfig_execprefix}|" \ |
|
31453 |
-e "s|@libdir@|${pkgconfig_libdir}|" \ |
|
31454 |
-e "s|@includedir@|${pkgconfig_includedir}|" \ |
|
31455 |
-e "s|@PACKAGE_NAME@|${pkgconfig_libname}|" \ |
|
31456 |
-e "s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|" \ |
|
31457 |
-e "s|@PACKAGE_VERSION@|${pkgconfig_version}|" \ |
|
31458 |
-e "s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|" \ |
|
31459 |
-e "s|@LIBS@|${pkgconfig_libs}|" \ |
|
31460 |
-e "s|@CPPFLAGS@|${pkgconfig_cppflags}|" \ |
|
31461 |
$pkgconfig_generate.in > $pkgconfig_generate |
|
31462 |
if test ! -s $pkgconfig_generate ; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31463 |
as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31464 |
fi # DONE generate $pkgconfig_generate |
31465 |
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'` |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5 |
31467 |
$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;} |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31468 |
sed -e "s|@prefix@|${pkgconfig_prefix}|" \ |
31469 |
-e "s|@exec_prefix@|${pkgconfig_execprefix}|" \ |
|
31470 |
-e "s|@libdir@|${pkgconfig_src_libdir}|" \ |
|
31471 |
-e "s|@includedir@|${pkgconfig_src_headers}|" \ |
|
31472 |
-e "s|@PACKAGE_NAME@|${pkgconfig_libname}|" \ |
|
31473 |
-e "s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|" \ |
|
31474 |
-e "s|@PACKAGE_VERSION@|${pkgconfig_version}|" \ |
|
31475 |
-e "s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|" \ |
|
31476 |
-e "s|@LIBS@|${pkgconfig_libs}|" \ |
|
31477 |
-e "s|@CPPFLAGS@|${pkgconfig_cppflags}|" \ |
|
31478 |
$pkgconfig_generate.in > $pkgconfig_uninstalled |
|
31479 |
if test ! -s $pkgconfig_uninstalled ; then |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31480 |
as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5 |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31481 |
fi # DONE generate $pkgconfig_uninstalled |
31482 |
;; |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31483 |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
31484 |
esac |
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31485 |
done # for ac_tag |
31486 |
||
31487 |
||
31488 |
as_fn_exit 0 |
|
31489 |
_ACEOF |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
31490 |
ac_clean_files=$ac_clean_files_save |
31491 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31492 |
test $ac_write_fail = 0 || |
31493 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
31494 |
||
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
31495 |
|
31496 |
# configure is writing to config.log, and then calls config.status. |
|
31497 |
# config.status does its own redirection, appending to config.log. |
|
31498 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
31499 |
# by configure, so config.status won't be able to write to it; its |
|
31500 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
31501 |
# effectively closing config.log, so it can be properly (re)opened and |
|
31502 |
# appended to by config.status. When coming back to configure, we |
|
31503 |
# need to make the FD available again. |
|
31504 |
if test "$no_create" != yes; then |
|
31505 |
ac_cs_success=: |
|
31506 |
ac_config_status_args= |
|
31507 |
test "$silent" = yes && |
|
31508 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
31509 |
exec 5>/dev/null |
|
31510 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
31511 |
exec 5>>config.log |
|
31512 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
31513 |
# would make configure fail if this is the last instruction. |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31514 |
$ac_cs_success || as_fn_exit 1 |
31515 |
fi |
|
31516 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
31517 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
31518 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
1.1.1
by Konstantinos Margaritis
Import upstream version 0.7 |
31519 |
fi |
1
by Andreas Rottmann
Import upstream version 20001213 |
31520 |
|
31521 |
||
31522 |
# At some point in the future it would be nice to collect |
|
31523 |
# information about machines, OSes and compilers which |
|
31524 |
# people are using. Obviously this has to be handled in |
|
31525 |
# a sensitive way. Current idea: send the output |
|
31526 |
# of uname -a, $(target) and $(bz_compiler) via an |
|
31527 |
# anonymous remailer. Prompt the user and give them |
|
31528 |
# a chance to override this behaviour. |
|
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31529 |
# AC_SEND_CONFIG |
31530 |
||
31531 |
||
31532 |
||
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31534 |
|
31535 |
The configure script has generated makefiles for your platform. |
|
31536 |
You have several options now: |
|
31537 |
||
31538 |
make lib Check the compiler and create libblitz.a |
|
31539 |
make check-testsuite Build and check the testsuite |
|
31540 |
make check-examples Build and check the examples |
|
31541 |
make check-benchmarks Build and check the benchmarks (takes a long time) |
|
31542 |
make install Install Blitz++ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31543 |
make info Build Blitz++ texinfo documentation |
31544 |
make ps Build Blitz++ ps documentation |
|
31545 |
make pdf Build Blitz++ pdf documentation |
|
31546 |
make html Build Blitz++ html documentation |
|
31547 |
make install-info Install Blitz++ texinfo documentation |
|
31548 |
make install-ps Install Blitz++ ps documentation |
|
31549 |
make install-pdf Install Blitz++ pdf documentation |
|
31550 |
make install-html Install Blitz++ html documentation |
|
31551 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31552 |
|
31553 |
" >&5 |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31554 |
$as_echo "$as_me: |
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31555 |
|
31556 |
The configure script has generated makefiles for your platform. |
|
31557 |
You have several options now: |
|
31558 |
||
31559 |
make lib Check the compiler and create libblitz.a |
|
31560 |
make check-testsuite Build and check the testsuite |
|
31561 |
make check-examples Build and check the examples |
|
31562 |
make check-benchmarks Build and check the benchmarks (takes a long time) |
|
31563 |
make install Install Blitz++ |
|
1.1.4
by Christophe Trophime
Import upstream version 0.10 |
31564 |
make info Build Blitz++ texinfo documentation |
31565 |
make ps Build Blitz++ ps documentation |
|
31566 |
make pdf Build Blitz++ pdf documentation |
|
31567 |
make html Build Blitz++ html documentation |
|
31568 |
make install-info Install Blitz++ texinfo documentation |
|
31569 |
make install-ps Install Blitz++ ps documentation |
|
31570 |
make install-pdf Install Blitz++ pdf documentation |
|
31571 |
make install-html Install Blitz++ html documentation |
|
31572 |
||
1.1.2
by Konstantinos Margaritis
Import upstream version 0.8 |
31573 |
|
31574 |
" >&6;} |
|
31575 |